ada: Small housekeeping work in expansion of extension aggregates
[official-gcc.git] / libgfortran / configure
blob1cde8e8f025ea03c0d5c83dbfafc95d6922bbbfc
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 test.
7019 lt_cv_path_NM="$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"
7025 for lt_tmp_nm in $lt_nm_to_check; do
7026 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7027 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7028 IFS="$lt_save_ifs"
7029 test -z "$ac_dir" && ac_dir=.
7030 tmp_nm="$ac_dir/$lt_tmp_nm"
7031 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7032 # Check to see if the nm accepts a BSD-compat flag.
7033 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7034 # nm: unknown option "B" ignored
7035 # Tru64's nm complains that /dev/null is an invalid object file
7036 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7037 */dev/null* | *'Invalid file or object type'*)
7038 lt_cv_path_NM="$tmp_nm -B"
7039 break
7042 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7043 */dev/null*)
7044 lt_cv_path_NM="$tmp_nm -p"
7045 break
7048 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7049 continue # so that we can try to find one that supports BSD flags
7051 esac
7053 esac
7055 done
7056 IFS="$lt_save_ifs"
7057 done
7058 : ${lt_cv_path_NM=no}
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7062 $as_echo "$lt_cv_path_NM" >&6; }
7063 if test "$lt_cv_path_NM" != "no"; then
7064 NM="$lt_cv_path_NM"
7065 else
7066 # Didn't find any BSD compatible name lister, look for dumpbin.
7067 if test -n "$DUMPBIN"; then :
7068 # Let the user override the test.
7069 else
7070 if test -n "$ac_tool_prefix"; then
7071 for ac_prog in dumpbin "link -dump"
7073 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7074 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if ${ac_cv_prog_DUMPBIN+:} false; then :
7078 $as_echo_n "(cached) " >&6
7079 else
7080 if test -n "$DUMPBIN"; then
7081 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7082 else
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 for as_dir in $PATH
7086 IFS=$as_save_IFS
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092 break 2
7094 done
7095 done
7096 IFS=$as_save_IFS
7100 DUMPBIN=$ac_cv_prog_DUMPBIN
7101 if test -n "$DUMPBIN"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7103 $as_echo "$DUMPBIN" >&6; }
7104 else
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7110 test -n "$DUMPBIN" && break
7111 done
7113 if test -z "$DUMPBIN"; then
7114 ac_ct_DUMPBIN=$DUMPBIN
7115 for ac_prog in dumpbin "link -dump"
7117 # Extract the first word of "$ac_prog", so it can be a program name with args.
7118 set dummy $ac_prog; ac_word=$2
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 $as_echo_n "checking for $ac_word... " >&6; }
7121 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7122 $as_echo_n "(cached) " >&6
7123 else
7124 if test -n "$ac_ct_DUMPBIN"; then
7125 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7126 else
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 for as_dir in $PATH
7130 IFS=$as_save_IFS
7131 test -z "$as_dir" && as_dir=.
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7136 break 2
7138 done
7139 done
7140 IFS=$as_save_IFS
7144 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7145 if test -n "$ac_ct_DUMPBIN"; then
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7147 $as_echo "$ac_ct_DUMPBIN" >&6; }
7148 else
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7154 test -n "$ac_ct_DUMPBIN" && break
7155 done
7157 if test "x$ac_ct_DUMPBIN" = x; then
7158 DUMPBIN=":"
7159 else
7160 case $cross_compiling:$ac_tool_warned in
7161 yes:)
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7164 ac_tool_warned=yes ;;
7165 esac
7166 DUMPBIN=$ac_ct_DUMPBIN
7170 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7171 *COFF*)
7172 DUMPBIN="$DUMPBIN -symbols"
7175 DUMPBIN=:
7177 esac
7180 if test "$DUMPBIN" != ":"; then
7181 NM="$DUMPBIN"
7184 test -z "$NM" && NM=nm
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7192 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7193 if ${lt_cv_nm_interface+:} false; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 lt_cv_nm_interface="BSD nm"
7197 echo "int some_variable = 0;" > conftest.$ac_ext
7198 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7199 (eval "$ac_compile" 2>conftest.err)
7200 cat conftest.err >&5
7201 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7202 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7203 cat conftest.err >&5
7204 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7205 cat conftest.out >&5
7206 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7207 lt_cv_nm_interface="MS dumpbin"
7209 rm -f conftest*
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7212 $as_echo "$lt_cv_nm_interface" >&6; }
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7215 $as_echo_n "checking whether ln -s works... " >&6; }
7216 LN_S=$as_ln_s
7217 if test "$LN_S" = "ln -s"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7219 $as_echo "yes" >&6; }
7220 else
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7222 $as_echo "no, using $LN_S" >&6; }
7225 # find the maximum length of command line arguments
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7227 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7228 if ${lt_cv_sys_max_cmd_len+:} false; then :
7229 $as_echo_n "(cached) " >&6
7230 else
7232 teststring="ABCD"
7234 case $build_os in
7235 msdosdjgpp*)
7236 # On DJGPP, this test can blow up pretty badly due to problems in libc
7237 # (any single argument exceeding 2000 bytes causes a buffer overrun
7238 # during glob expansion). Even if it were fixed, the result of this
7239 # check would be larger than it should be.
7240 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7243 gnu*)
7244 # Under GNU Hurd, this test is not required because there is
7245 # no limit to the length of command line arguments.
7246 # Libtool will interpret -1 as no limit whatsoever
7247 lt_cv_sys_max_cmd_len=-1;
7250 cygwin* | mingw* | cegcc*)
7251 # On Win9x/ME, this test blows up -- it succeeds, but takes
7252 # about 5 minutes as the teststring grows exponentially.
7253 # Worse, since 9x/ME are not pre-emptively multitasking,
7254 # you end up with a "frozen" computer, even though with patience
7255 # the test eventually succeeds (with a max line length of 256k).
7256 # Instead, let's just punt: use the minimum linelength reported by
7257 # all of the supported platforms: 8192 (on NT/2K/XP).
7258 lt_cv_sys_max_cmd_len=8192;
7261 mint*)
7262 # On MiNT this can take a long time and run out of memory.
7263 lt_cv_sys_max_cmd_len=8192;
7266 amigaos*)
7267 # On AmigaOS with pdksh, this test takes hours, literally.
7268 # So we just punt and use a minimum line length of 8192.
7269 lt_cv_sys_max_cmd_len=8192;
7272 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7273 # This has been around since 386BSD, at least. Likely further.
7274 if test -x /sbin/sysctl; then
7275 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7276 elif test -x /usr/sbin/sysctl; then
7277 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7278 else
7279 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7281 # And add a safety zone
7282 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7283 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7286 interix*)
7287 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7288 lt_cv_sys_max_cmd_len=196608
7291 osf*)
7292 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7293 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7294 # nice to cause kernel panics so lets avoid the loop below.
7295 # First set a reasonable default.
7296 lt_cv_sys_max_cmd_len=16384
7298 if test -x /sbin/sysconfig; then
7299 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7300 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7301 esac
7304 sco3.2v5*)
7305 lt_cv_sys_max_cmd_len=102400
7307 sysv5* | sco5v6* | sysv4.2uw2*)
7308 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7309 if test -n "$kargmax"; then
7310 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7311 else
7312 lt_cv_sys_max_cmd_len=32768
7316 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7317 if test -n "$lt_cv_sys_max_cmd_len"; then
7318 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7320 else
7321 # Make teststring a little bigger before we do anything with it.
7322 # a 1K string should be a reasonable start.
7323 for i in 1 2 3 4 5 6 7 8 ; do
7324 teststring=$teststring$teststring
7325 done
7326 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7327 # If test is not a shell built-in, we'll probably end up computing a
7328 # maximum length that is only half of the actual maximum length, but
7329 # we can't tell.
7330 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7331 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7332 test $i != 17 # 1/2 MB should be enough
7334 i=`expr $i + 1`
7335 teststring=$teststring$teststring
7336 done
7337 # Only check the string length outside the loop.
7338 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7339 teststring=
7340 # Add a significant safety factor because C++ compilers can tack on
7341 # massive amounts of additional arguments before passing them to the
7342 # linker. It appears as though 1/2 is a usable value.
7343 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7346 esac
7350 if test -n $lt_cv_sys_max_cmd_len ; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7352 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7355 $as_echo "none" >&6; }
7357 max_cmd_len=$lt_cv_sys_max_cmd_len
7364 : ${CP="cp -f"}
7365 : ${MV="mv -f"}
7366 : ${RM="rm -f"}
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7369 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7370 # Try some XSI features
7371 xsi_shell=no
7372 ( _lt_dummy="a/b/c"
7373 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7374 = c,a/b,, \
7375 && eval 'test $(( 1 + 1 )) -eq 2 \
7376 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7377 && xsi_shell=yes
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7379 $as_echo "$xsi_shell" >&6; }
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7383 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7384 lt_shell_append=no
7385 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7386 >/dev/null 2>&1 \
7387 && lt_shell_append=yes
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7389 $as_echo "$lt_shell_append" >&6; }
7392 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7393 lt_unset=unset
7394 else
7395 lt_unset=false
7402 # test EBCDIC or ASCII
7403 case `echo X|tr X '\101'` in
7404 A) # ASCII based system
7405 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7406 lt_SP2NL='tr \040 \012'
7407 lt_NL2SP='tr \015\012 \040\040'
7409 *) # EBCDIC based system
7410 lt_SP2NL='tr \100 \n'
7411 lt_NL2SP='tr \r\n \100\100'
7413 esac
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7424 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7425 if ${lt_cv_ld_reload_flag+:} false; then :
7426 $as_echo_n "(cached) " >&6
7427 else
7428 lt_cv_ld_reload_flag='-r'
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7431 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7432 reload_flag=$lt_cv_ld_reload_flag
7433 case $reload_flag in
7434 "" | " "*) ;;
7435 *) reload_flag=" $reload_flag" ;;
7436 esac
7437 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7438 case $host_os in
7439 darwin*)
7440 if test "$GCC" = yes; then
7441 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7442 else
7443 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7446 esac
7456 if test -n "$ac_tool_prefix"; then
7457 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7458 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_OBJDUMP+:} false; then :
7462 $as_echo_n "(cached) " >&6
7463 else
7464 if test -n "$OBJDUMP"; then
7465 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7466 else
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 for as_dir in $PATH
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7478 done
7479 done
7480 IFS=$as_save_IFS
7484 OBJDUMP=$ac_cv_prog_OBJDUMP
7485 if test -n "$OBJDUMP"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7487 $as_echo "$OBJDUMP" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7495 if test -z "$ac_cv_prog_OBJDUMP"; then
7496 ac_ct_OBJDUMP=$OBJDUMP
7497 # Extract the first word of "objdump", so it can be a program name with args.
7498 set dummy objdump; ac_word=$2
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 if test -n "$ac_ct_OBJDUMP"; then
7505 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7506 else
7507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 for as_dir in $PATH
7510 IFS=$as_save_IFS
7511 test -z "$as_dir" && as_dir=.
7512 for ac_exec_ext in '' $ac_executable_extensions; do
7513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7514 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 break 2
7518 done
7519 done
7520 IFS=$as_save_IFS
7524 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7525 if test -n "$ac_ct_OBJDUMP"; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7527 $as_echo "$ac_ct_OBJDUMP" >&6; }
7528 else
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7533 if test "x$ac_ct_OBJDUMP" = x; then
7534 OBJDUMP="false"
7535 else
7536 case $cross_compiling:$ac_tool_warned in
7537 yes:)
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540 ac_tool_warned=yes ;;
7541 esac
7542 OBJDUMP=$ac_ct_OBJDUMP
7544 else
7545 OBJDUMP="$ac_cv_prog_OBJDUMP"
7548 test -z "$OBJDUMP" && OBJDUMP=objdump
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7559 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7560 if ${lt_cv_deplibs_check_method+:} false; then :
7561 $as_echo_n "(cached) " >&6
7562 else
7563 lt_cv_file_magic_cmd='$MAGIC_CMD'
7564 lt_cv_file_magic_test_file=
7565 lt_cv_deplibs_check_method='unknown'
7566 # Need to set the preceding variable on all platforms that support
7567 # interlibrary dependencies.
7568 # 'none' -- dependencies not supported.
7569 # `unknown' -- same as none, but documents that we really don't know.
7570 # 'pass_all' -- all dependencies passed with no checks.
7571 # 'test_compile' -- check by making test program.
7572 # 'file_magic [[regex]]' -- check by looking for files in library path
7573 # which responds to the $file_magic_cmd with a given extended regex.
7574 # If you have `file' or equivalent on your system and you're not sure
7575 # whether `pass_all' will *always* work, you probably want this one.
7577 case $host_os in
7578 aix[4-9]*)
7579 lt_cv_deplibs_check_method=pass_all
7582 beos*)
7583 lt_cv_deplibs_check_method=pass_all
7586 bsdi[45]*)
7587 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7588 lt_cv_file_magic_cmd='/usr/bin/file -L'
7589 lt_cv_file_magic_test_file=/shlib/libc.so
7592 cygwin*)
7593 # func_win32_libid is a shell function defined in ltmain.sh
7594 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7595 lt_cv_file_magic_cmd='func_win32_libid'
7598 mingw* | pw32*)
7599 # Base MSYS/MinGW do not provide the 'file' command needed by
7600 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7601 # unless we find 'file', for example because we are cross-compiling.
7602 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7603 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7604 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7605 lt_cv_file_magic_cmd='func_win32_libid'
7606 else
7607 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7608 lt_cv_file_magic_cmd='$OBJDUMP -f'
7612 cegcc*)
7613 # use the weaker test based on 'objdump'. See mingw*.
7614 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7615 lt_cv_file_magic_cmd='$OBJDUMP -f'
7618 darwin* | rhapsody*)
7619 lt_cv_deplibs_check_method=pass_all
7622 freebsd* | dragonfly*)
7623 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7624 case $host_cpu in
7625 i*86 )
7626 # Not sure whether the presence of OpenBSD here was a mistake.
7627 # Let's accept both of them until this is cleared up.
7628 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7629 lt_cv_file_magic_cmd=/usr/bin/file
7630 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7632 esac
7633 else
7634 lt_cv_deplibs_check_method=pass_all
7638 gnu*)
7639 lt_cv_deplibs_check_method=pass_all
7642 haiku*)
7643 lt_cv_deplibs_check_method=pass_all
7646 hpux10.20* | hpux11*)
7647 lt_cv_file_magic_cmd=/usr/bin/file
7648 case $host_cpu in
7649 ia64*)
7650 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7651 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7653 hppa*64*)
7654 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]'
7655 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7658 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7659 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7661 esac
7664 interix[3-9]*)
7665 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7666 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7669 irix5* | irix6* | nonstopux*)
7670 case $LD in
7671 *-32|*"-32 ") libmagic=32-bit;;
7672 *-n32|*"-n32 ") libmagic=N32;;
7673 *-64|*"-64 ") libmagic=64-bit;;
7674 *) libmagic=never-match;;
7675 esac
7676 lt_cv_deplibs_check_method=pass_all
7679 # This must be Linux ELF.
7680 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7681 lt_cv_deplibs_check_method=pass_all
7684 netbsd*)
7685 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7686 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7687 else
7688 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7692 newos6*)
7693 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7694 lt_cv_file_magic_cmd=/usr/bin/file
7695 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7698 *nto* | *qnx*)
7699 lt_cv_deplibs_check_method=pass_all
7702 openbsd*)
7703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7704 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7705 else
7706 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7710 osf3* | osf4* | osf5*)
7711 lt_cv_deplibs_check_method=pass_all
7714 rdos*)
7715 lt_cv_deplibs_check_method=pass_all
7718 solaris*)
7719 lt_cv_deplibs_check_method=pass_all
7722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7723 lt_cv_deplibs_check_method=pass_all
7726 sysv4 | sysv4.3*)
7727 case $host_vendor in
7728 motorola)
7729 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]'
7730 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7732 ncr)
7733 lt_cv_deplibs_check_method=pass_all
7735 sequent)
7736 lt_cv_file_magic_cmd='/bin/file'
7737 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7739 sni)
7740 lt_cv_file_magic_cmd='/bin/file'
7741 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7742 lt_cv_file_magic_test_file=/lib/libc.so
7744 siemens)
7745 lt_cv_deplibs_check_method=pass_all
7748 lt_cv_deplibs_check_method=pass_all
7750 esac
7753 tpf*)
7754 lt_cv_deplibs_check_method=pass_all
7756 vxworks*)
7757 # Assume VxWorks cross toolchains are built on Linux, possibly
7758 # as canadian for Windows hosts.
7759 lt_cv_deplibs_check_method=pass_all
7761 esac
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7765 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7766 file_magic_cmd=$lt_cv_file_magic_cmd
7767 deplibs_check_method=$lt_cv_deplibs_check_method
7768 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7781 if test -n "$ac_tool_prefix"; then
7782 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7783 set dummy ${ac_tool_prefix}ar; ac_word=$2
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7785 $as_echo_n "checking for $ac_word... " >&6; }
7786 if ${ac_cv_prog_AR+:} false; then :
7787 $as_echo_n "(cached) " >&6
7788 else
7789 if test -n "$AR"; then
7790 ac_cv_prog_AR="$AR" # Let the user override the test.
7791 else
7792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7793 for as_dir in $PATH
7795 IFS=$as_save_IFS
7796 test -z "$as_dir" && as_dir=.
7797 for ac_exec_ext in '' $ac_executable_extensions; do
7798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7799 ac_cv_prog_AR="${ac_tool_prefix}ar"
7800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7801 break 2
7803 done
7804 done
7805 IFS=$as_save_IFS
7809 AR=$ac_cv_prog_AR
7810 if test -n "$AR"; then
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7812 $as_echo "$AR" >&6; }
7813 else
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7815 $as_echo "no" >&6; }
7820 if test -z "$ac_cv_prog_AR"; then
7821 ac_ct_AR=$AR
7822 # Extract the first word of "ar", so it can be a program name with args.
7823 set dummy ar; ac_word=$2
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7825 $as_echo_n "checking for $ac_word... " >&6; }
7826 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7827 $as_echo_n "(cached) " >&6
7828 else
7829 if test -n "$ac_ct_AR"; then
7830 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7831 else
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833 for as_dir in $PATH
7835 IFS=$as_save_IFS
7836 test -z "$as_dir" && as_dir=.
7837 for ac_exec_ext in '' $ac_executable_extensions; do
7838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7839 ac_cv_prog_ac_ct_AR="ar"
7840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7841 break 2
7843 done
7844 done
7845 IFS=$as_save_IFS
7849 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7850 if test -n "$ac_ct_AR"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7852 $as_echo "$ac_ct_AR" >&6; }
7853 else
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7855 $as_echo "no" >&6; }
7858 if test "x$ac_ct_AR" = x; then
7859 AR="false"
7860 else
7861 case $cross_compiling:$ac_tool_warned in
7862 yes:)
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7865 ac_tool_warned=yes ;;
7866 esac
7867 AR=$ac_ct_AR
7869 else
7870 AR="$ac_cv_prog_AR"
7873 test -z "$AR" && AR=ar
7874 test -z "$AR_FLAGS" && AR_FLAGS=cru
7886 if test -n "$ac_tool_prefix"; then
7887 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7888 set dummy ${ac_tool_prefix}strip; ac_word=$2
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7890 $as_echo_n "checking for $ac_word... " >&6; }
7891 if ${ac_cv_prog_STRIP+:} false; then :
7892 $as_echo_n "(cached) " >&6
7893 else
7894 if test -n "$STRIP"; then
7895 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7896 else
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898 for as_dir in $PATH
7900 IFS=$as_save_IFS
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7904 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7906 break 2
7908 done
7909 done
7910 IFS=$as_save_IFS
7914 STRIP=$ac_cv_prog_STRIP
7915 if test -n "$STRIP"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7917 $as_echo "$STRIP" >&6; }
7918 else
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920 $as_echo "no" >&6; }
7925 if test -z "$ac_cv_prog_STRIP"; then
7926 ac_ct_STRIP=$STRIP
7927 # Extract the first word of "strip", so it can be a program name with args.
7928 set dummy strip; ac_word=$2
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7930 $as_echo_n "checking for $ac_word... " >&6; }
7931 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7932 $as_echo_n "(cached) " >&6
7933 else
7934 if test -n "$ac_ct_STRIP"; then
7935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7936 else
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 for as_dir in $PATH
7940 IFS=$as_save_IFS
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7944 ac_cv_prog_ac_ct_STRIP="strip"
7945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7946 break 2
7948 done
7949 done
7950 IFS=$as_save_IFS
7954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7955 if test -n "$ac_ct_STRIP"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7957 $as_echo "$ac_ct_STRIP" >&6; }
7958 else
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7960 $as_echo "no" >&6; }
7963 if test "x$ac_ct_STRIP" = x; then
7964 STRIP=":"
7965 else
7966 case $cross_compiling:$ac_tool_warned in
7967 yes:)
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7970 ac_tool_warned=yes ;;
7971 esac
7972 STRIP=$ac_ct_STRIP
7974 else
7975 STRIP="$ac_cv_prog_STRIP"
7978 test -z "$STRIP" && STRIP=:
7985 if test -n "$ac_tool_prefix"; then
7986 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7987 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if ${ac_cv_prog_RANLIB+:} false; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 if test -n "$RANLIB"; then
7994 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7995 else
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 for as_dir in $PATH
7999 IFS=$as_save_IFS
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 break 2
8007 done
8008 done
8009 IFS=$as_save_IFS
8013 RANLIB=$ac_cv_prog_RANLIB
8014 if test -n "$RANLIB"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8016 $as_echo "$RANLIB" >&6; }
8017 else
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8024 if test -z "$ac_cv_prog_RANLIB"; then
8025 ac_ct_RANLIB=$RANLIB
8026 # Extract the first word of "ranlib", so it can be a program name with args.
8027 set dummy ranlib; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 if test -n "$ac_ct_RANLIB"; then
8034 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8039 IFS=$as_save_IFS
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_ac_ct_RANLIB="ranlib"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 break 2
8047 done
8048 done
8049 IFS=$as_save_IFS
8053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8054 if test -n "$ac_ct_RANLIB"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8056 $as_echo "$ac_ct_RANLIB" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_ct_RANLIB" = x; then
8063 RANLIB=":"
8064 else
8065 case $cross_compiling:$ac_tool_warned in
8066 yes:)
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069 ac_tool_warned=yes ;;
8070 esac
8071 RANLIB=$ac_ct_RANLIB
8073 else
8074 RANLIB="$ac_cv_prog_RANLIB"
8077 test -z "$RANLIB" && RANLIB=:
8084 # Determine commands to create old-style static archives.
8085 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8086 old_postinstall_cmds='chmod 644 $oldlib'
8087 old_postuninstall_cmds=
8089 if test -n "$RANLIB"; then
8090 case $host_os in
8091 openbsd*)
8092 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8095 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8097 esac
8098 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8101 case $host_os in
8102 darwin*)
8103 lock_old_archive_extraction=yes ;;
8105 lock_old_archive_extraction=no ;;
8106 esac
8146 # If no C compiler was specified, use CC.
8147 LTCC=${LTCC-"$CC"}
8149 # If no C compiler flags were specified, use CFLAGS.
8150 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8152 # Allow CC to be a program name with arguments.
8153 compiler=$CC
8156 # Check for command to grab the raw symbol name followed by C symbol from nm.
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8158 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8159 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8160 $as_echo_n "(cached) " >&6
8161 else
8163 # These are sane defaults that work on at least a few old systems.
8164 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8166 # Character class describing NM global symbol codes.
8167 symcode='[BCDEGRST]'
8169 # Regexp to match symbols that can be accessed directly from C.
8170 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8172 # Define system-specific variables.
8173 case $host_os in
8174 aix*)
8175 symcode='[BCDT]'
8177 cygwin* | mingw* | pw32* | cegcc*)
8178 symcode='[ABCDGISTW]'
8180 hpux*)
8181 if test "$host_cpu" = ia64; then
8182 symcode='[ABCDEGRST]'
8185 irix* | nonstopux*)
8186 symcode='[BCDEGRST]'
8188 osf*)
8189 symcode='[BCDEGQRST]'
8191 solaris*)
8192 symcode='[BDRT]'
8194 sco3.2v5*)
8195 symcode='[DT]'
8197 sysv4.2uw2*)
8198 symcode='[DT]'
8200 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8201 symcode='[ABDT]'
8203 sysv4)
8204 symcode='[DFNSTU]'
8206 esac
8208 # If we're using GNU nm, then use its standard symbol codes.
8209 case `$NM -V 2>&1` in
8210 *GNU* | *'with BFD'*)
8211 symcode='[ABCDGIRSTW]' ;;
8212 esac
8214 # Transform an extracted symbol line into a proper C declaration.
8215 # Some systems (esp. on ia64) link data and code symbols differently,
8216 # so use this general approach.
8217 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8219 # Transform an extracted symbol line into symbol name and symbol address
8220 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8221 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'"
8223 # Handle CRLF in mingw tool chain
8224 opt_cr=
8225 case $build_os in
8226 mingw*)
8227 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8229 esac
8231 # Try without a prefix underscore, then with it.
8232 for ac_symprfx in "" "_"; do
8234 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8235 symxfrm="\\1 $ac_symprfx\\2 \\2"
8237 # Write the raw and C identifiers.
8238 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8239 # Fake it for dumpbin and say T for any non-static function
8240 # and D for any global variable.
8241 # Also find C++ and __fastcall symbols from MSVC++,
8242 # which start with @ or ?.
8243 lt_cv_sys_global_symbol_pipe="$AWK '"\
8244 " {last_section=section; section=\$ 3};"\
8245 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8246 " \$ 0!~/External *\|/{next};"\
8247 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8248 " {if(hide[section]) next};"\
8249 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8250 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8251 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8252 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8253 " ' prfx=^$ac_symprfx"
8254 else
8255 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8258 # Check to see that the pipe works correctly.
8259 pipe_works=no
8261 rm -f conftest*
8262 cat > conftest.$ac_ext <<_LT_EOF
8263 #ifdef __cplusplus
8264 extern "C" {
8265 #endif
8266 char nm_test_var;
8267 void nm_test_func(void);
8268 void nm_test_func(void){}
8269 #ifdef __cplusplus
8271 #endif
8272 int main(){nm_test_var='a';nm_test_func();return(0);}
8273 _LT_EOF
8275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8276 (eval $ac_compile) 2>&5
8277 ac_status=$?
8278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8279 test $ac_status = 0; }; then
8280 # Now try to grab the symbols.
8281 nlist=conftest.nm
8282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8283 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8284 ac_status=$?
8285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8286 test $ac_status = 0; } && test -s "$nlist"; then
8287 # Try sorting and uniquifying the output.
8288 if sort "$nlist" | uniq > "$nlist"T; then
8289 mv -f "$nlist"T "$nlist"
8290 else
8291 rm -f "$nlist"T
8294 # Make sure that we snagged all the symbols we need.
8295 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8296 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8297 cat <<_LT_EOF > conftest.$ac_ext
8298 #ifdef __cplusplus
8299 extern "C" {
8300 #endif
8302 _LT_EOF
8303 # Now generate the symbol file.
8304 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8306 cat <<_LT_EOF >> conftest.$ac_ext
8308 /* The mapping between symbol names and symbols. */
8309 const struct {
8310 const char *name;
8311 void *address;
8313 lt__PROGRAM__LTX_preloaded_symbols[] =
8315 { "@PROGRAM@", (void *) 0 },
8316 _LT_EOF
8317 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8318 cat <<\_LT_EOF >> conftest.$ac_ext
8319 {0, (void *) 0}
8322 /* This works around a problem in FreeBSD linker */
8323 #ifdef FREEBSD_WORKAROUND
8324 static const void *lt_preloaded_setup() {
8325 return lt__PROGRAM__LTX_preloaded_symbols;
8327 #endif
8329 #ifdef __cplusplus
8331 #endif
8332 _LT_EOF
8333 # Now try linking the two files.
8334 mv conftest.$ac_objext conftstm.$ac_objext
8335 lt_save_LIBS="$LIBS"
8336 lt_save_CFLAGS="$CFLAGS"
8337 LIBS="conftstm.$ac_objext"
8338 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8339 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8340 (eval $ac_link) 2>&5
8341 ac_status=$?
8342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8343 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8344 pipe_works=yes
8346 LIBS="$lt_save_LIBS"
8347 CFLAGS="$lt_save_CFLAGS"
8348 else
8349 echo "cannot find nm_test_func in $nlist" >&5
8351 else
8352 echo "cannot find nm_test_var in $nlist" >&5
8354 else
8355 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8357 else
8358 echo "$progname: failed program was:" >&5
8359 cat conftest.$ac_ext >&5
8361 rm -rf conftest* conftst*
8363 # Do not use the global_symbol_pipe unless it works.
8364 if test "$pipe_works" = yes; then
8365 break
8366 else
8367 lt_cv_sys_global_symbol_pipe=
8369 done
8373 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8374 lt_cv_sys_global_symbol_to_cdecl=
8376 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8378 $as_echo "failed" >&6; }
8379 else
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8381 $as_echo "ok" >&6; }
8405 # Check whether --enable-libtool-lock was given.
8406 if test "${enable_libtool_lock+set}" = set; then :
8407 enableval=$enable_libtool_lock;
8410 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8412 # Some flags need to be propagated to the compiler or linker for good
8413 # libtool support.
8414 case $host in
8415 ia64-*-hpux*)
8416 # Find out which ABI we are using.
8417 echo 'int i;' > conftest.$ac_ext
8418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8419 (eval $ac_compile) 2>&5
8420 ac_status=$?
8421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8422 test $ac_status = 0; }; then
8423 case `/usr/bin/file conftest.$ac_objext` in
8424 *ELF-32*)
8425 HPUX_IA64_MODE="32"
8427 *ELF-64*)
8428 HPUX_IA64_MODE="64"
8430 esac
8432 rm -rf conftest*
8434 *-*-irix6*)
8435 # Find out which ABI we are using.
8436 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8438 (eval $ac_compile) 2>&5
8439 ac_status=$?
8440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8441 test $ac_status = 0; }; then
8442 if test "$lt_cv_prog_gnu_ld" = yes; then
8443 case `/usr/bin/file conftest.$ac_objext` in
8444 *32-bit*)
8445 LD="${LD-ld} -melf32bsmip"
8447 *N32*)
8448 LD="${LD-ld} -melf32bmipn32"
8450 *64-bit*)
8451 LD="${LD-ld} -melf64bmip"
8453 esac
8454 else
8455 case `/usr/bin/file conftest.$ac_objext` in
8456 *32-bit*)
8457 LD="${LD-ld} -32"
8459 *N32*)
8460 LD="${LD-ld} -n32"
8462 *64-bit*)
8463 LD="${LD-ld} -64"
8465 esac
8468 rm -rf conftest*
8471 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8472 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8473 # Find out which ABI we are using.
8474 echo 'int i;' > 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 case `/usr/bin/file conftest.o` in
8481 *32-bit*)
8482 case $host in
8483 x86_64-*kfreebsd*-gnu)
8484 LD="${LD-ld} -m elf_i386_fbsd"
8486 x86_64-*linux*)
8487 case `/usr/bin/file conftest.o` in
8488 *x86-64*)
8489 LD="${LD-ld} -m elf32_x86_64"
8492 LD="${LD-ld} -m elf_i386"
8494 esac
8496 powerpc64le-*linux*)
8497 LD="${LD-ld} -m elf32lppclinux"
8499 powerpc64-*linux*)
8500 LD="${LD-ld} -m elf32ppclinux"
8502 s390x-*linux*)
8503 LD="${LD-ld} -m elf_s390"
8505 sparc64-*linux*)
8506 LD="${LD-ld} -m elf32_sparc"
8508 esac
8510 *64-bit*)
8511 case $host in
8512 x86_64-*kfreebsd*-gnu)
8513 LD="${LD-ld} -m elf_x86_64_fbsd"
8515 x86_64-*linux*)
8516 LD="${LD-ld} -m elf_x86_64"
8518 powerpcle-*linux*)
8519 LD="${LD-ld} -m elf64lppc"
8521 powerpc-*linux*)
8522 LD="${LD-ld} -m elf64ppc"
8524 s390*-*linux*|s390*-*tpf*)
8525 LD="${LD-ld} -m elf64_s390"
8527 sparc*-*linux*)
8528 LD="${LD-ld} -m elf64_sparc"
8530 esac
8532 esac
8534 rm -rf conftest*
8537 *-*-sco3.2v5*)
8538 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8539 SAVE_CFLAGS="$CFLAGS"
8540 CFLAGS="$CFLAGS -belf"
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8542 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8543 if ${lt_cv_cc_needs_belf+:} false; then :
8544 $as_echo_n "(cached) " >&6
8545 else
8546 ac_ext=c
8547 ac_cpp='$CPP $CPPFLAGS'
8548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8552 if test x$gcc_no_link = xyes; then
8553 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8559 main ()
8563 return 0;
8565 _ACEOF
8566 if ac_fn_c_try_link "$LINENO"; then :
8567 lt_cv_cc_needs_belf=yes
8568 else
8569 lt_cv_cc_needs_belf=no
8571 rm -f core conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 ac_ext=c
8574 ac_cpp='$CPP $CPPFLAGS'
8575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8581 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8582 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8583 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8584 CFLAGS="$SAVE_CFLAGS"
8587 sparc*-*solaris*)
8588 # Find out which ABI we are using.
8589 echo 'int i;' > conftest.$ac_ext
8590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8591 (eval $ac_compile) 2>&5
8592 ac_status=$?
8593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8594 test $ac_status = 0; }; then
8595 case `/usr/bin/file conftest.o` in
8596 *64-bit*)
8597 case $lt_cv_prog_gnu_ld in
8598 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8600 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8601 LD="${LD-ld} -64"
8604 esac
8606 esac
8608 rm -rf conftest*
8610 esac
8612 need_locks="$enable_libtool_lock"
8615 case $host_os in
8616 rhapsody* | darwin*)
8617 if test -n "$ac_tool_prefix"; then
8618 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8619 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8621 $as_echo_n "checking for $ac_word... " >&6; }
8622 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 if test -n "$DSYMUTIL"; then
8626 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8627 else
8628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8629 for as_dir in $PATH
8631 IFS=$as_save_IFS
8632 test -z "$as_dir" && as_dir=.
8633 for ac_exec_ext in '' $ac_executable_extensions; do
8634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8635 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8637 break 2
8639 done
8640 done
8641 IFS=$as_save_IFS
8645 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8646 if test -n "$DSYMUTIL"; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8648 $as_echo "$DSYMUTIL" >&6; }
8649 else
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8651 $as_echo "no" >&6; }
8656 if test -z "$ac_cv_prog_DSYMUTIL"; then
8657 ac_ct_DSYMUTIL=$DSYMUTIL
8658 # Extract the first word of "dsymutil", so it can be a program name with args.
8659 set dummy dsymutil; ac_word=$2
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8661 $as_echo_n "checking for $ac_word... " >&6; }
8662 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8663 $as_echo_n "(cached) " >&6
8664 else
8665 if test -n "$ac_ct_DSYMUTIL"; then
8666 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8667 else
8668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8669 for as_dir in $PATH
8671 IFS=$as_save_IFS
8672 test -z "$as_dir" && as_dir=.
8673 for ac_exec_ext in '' $ac_executable_extensions; do
8674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8675 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8677 break 2
8679 done
8680 done
8681 IFS=$as_save_IFS
8685 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8686 if test -n "$ac_ct_DSYMUTIL"; then
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8688 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8689 else
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8691 $as_echo "no" >&6; }
8694 if test "x$ac_ct_DSYMUTIL" = x; then
8695 DSYMUTIL=":"
8696 else
8697 case $cross_compiling:$ac_tool_warned in
8698 yes:)
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8701 ac_tool_warned=yes ;;
8702 esac
8703 DSYMUTIL=$ac_ct_DSYMUTIL
8705 else
8706 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8709 if test -n "$ac_tool_prefix"; then
8710 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8711 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713 $as_echo_n "checking for $ac_word... " >&6; }
8714 if ${ac_cv_prog_NMEDIT+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 if test -n "$NMEDIT"; then
8718 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8719 else
8720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8721 for as_dir in $PATH
8723 IFS=$as_save_IFS
8724 test -z "$as_dir" && as_dir=.
8725 for ac_exec_ext in '' $ac_executable_extensions; do
8726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8727 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8729 break 2
8731 done
8732 done
8733 IFS=$as_save_IFS
8737 NMEDIT=$ac_cv_prog_NMEDIT
8738 if test -n "$NMEDIT"; then
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8740 $as_echo "$NMEDIT" >&6; }
8741 else
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8743 $as_echo "no" >&6; }
8748 if test -z "$ac_cv_prog_NMEDIT"; then
8749 ac_ct_NMEDIT=$NMEDIT
8750 # Extract the first word of "nmedit", so it can be a program name with args.
8751 set dummy nmedit; ac_word=$2
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8753 $as_echo_n "checking for $ac_word... " >&6; }
8754 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8755 $as_echo_n "(cached) " >&6
8756 else
8757 if test -n "$ac_ct_NMEDIT"; then
8758 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8759 else
8760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8761 for as_dir in $PATH
8763 IFS=$as_save_IFS
8764 test -z "$as_dir" && as_dir=.
8765 for ac_exec_ext in '' $ac_executable_extensions; do
8766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8767 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8769 break 2
8771 done
8772 done
8773 IFS=$as_save_IFS
8777 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8778 if test -n "$ac_ct_NMEDIT"; then
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8780 $as_echo "$ac_ct_NMEDIT" >&6; }
8781 else
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8783 $as_echo "no" >&6; }
8786 if test "x$ac_ct_NMEDIT" = x; then
8787 NMEDIT=":"
8788 else
8789 case $cross_compiling:$ac_tool_warned in
8790 yes:)
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8793 ac_tool_warned=yes ;;
8794 esac
8795 NMEDIT=$ac_ct_NMEDIT
8797 else
8798 NMEDIT="$ac_cv_prog_NMEDIT"
8801 if test -n "$ac_tool_prefix"; then
8802 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8803 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_prog_LIPO+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 if test -n "$LIPO"; then
8810 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8811 else
8812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8813 for as_dir in $PATH
8815 IFS=$as_save_IFS
8816 test -z "$as_dir" && as_dir=.
8817 for ac_exec_ext in '' $ac_executable_extensions; do
8818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8821 break 2
8823 done
8824 done
8825 IFS=$as_save_IFS
8829 LIPO=$ac_cv_prog_LIPO
8830 if test -n "$LIPO"; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8832 $as_echo "$LIPO" >&6; }
8833 else
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8835 $as_echo "no" >&6; }
8840 if test -z "$ac_cv_prog_LIPO"; then
8841 ac_ct_LIPO=$LIPO
8842 # Extract the first word of "lipo", so it can be a program name with args.
8843 set dummy lipo; ac_word=$2
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8845 $as_echo_n "checking for $ac_word... " >&6; }
8846 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 if test -n "$ac_ct_LIPO"; then
8850 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8851 else
8852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 for as_dir in $PATH
8855 IFS=$as_save_IFS
8856 test -z "$as_dir" && as_dir=.
8857 for ac_exec_ext in '' $ac_executable_extensions; do
8858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8859 ac_cv_prog_ac_ct_LIPO="lipo"
8860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8861 break 2
8863 done
8864 done
8865 IFS=$as_save_IFS
8869 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8870 if test -n "$ac_ct_LIPO"; then
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8872 $as_echo "$ac_ct_LIPO" >&6; }
8873 else
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8878 if test "x$ac_ct_LIPO" = x; then
8879 LIPO=":"
8880 else
8881 case $cross_compiling:$ac_tool_warned in
8882 yes:)
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8885 ac_tool_warned=yes ;;
8886 esac
8887 LIPO=$ac_ct_LIPO
8889 else
8890 LIPO="$ac_cv_prog_LIPO"
8893 if test -n "$ac_tool_prefix"; then
8894 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8895 set dummy ${ac_tool_prefix}otool; ac_word=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 $as_echo_n "checking for $ac_word... " >&6; }
8898 if ${ac_cv_prog_OTOOL+:} false; then :
8899 $as_echo_n "(cached) " >&6
8900 else
8901 if test -n "$OTOOL"; then
8902 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8903 else
8904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8905 for as_dir in $PATH
8907 IFS=$as_save_IFS
8908 test -z "$as_dir" && as_dir=.
8909 for ac_exec_ext in '' $ac_executable_extensions; do
8910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8911 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8913 break 2
8915 done
8916 done
8917 IFS=$as_save_IFS
8921 OTOOL=$ac_cv_prog_OTOOL
8922 if test -n "$OTOOL"; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8924 $as_echo "$OTOOL" >&6; }
8925 else
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8927 $as_echo "no" >&6; }
8932 if test -z "$ac_cv_prog_OTOOL"; then
8933 ac_ct_OTOOL=$OTOOL
8934 # Extract the first word of "otool", so it can be a program name with args.
8935 set dummy otool; ac_word=$2
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8937 $as_echo_n "checking for $ac_word... " >&6; }
8938 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8939 $as_echo_n "(cached) " >&6
8940 else
8941 if test -n "$ac_ct_OTOOL"; then
8942 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8943 else
8944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945 for as_dir in $PATH
8947 IFS=$as_save_IFS
8948 test -z "$as_dir" && as_dir=.
8949 for ac_exec_ext in '' $ac_executable_extensions; do
8950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8951 ac_cv_prog_ac_ct_OTOOL="otool"
8952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8953 break 2
8955 done
8956 done
8957 IFS=$as_save_IFS
8961 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8962 if test -n "$ac_ct_OTOOL"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8964 $as_echo "$ac_ct_OTOOL" >&6; }
8965 else
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8967 $as_echo "no" >&6; }
8970 if test "x$ac_ct_OTOOL" = x; then
8971 OTOOL=":"
8972 else
8973 case $cross_compiling:$ac_tool_warned in
8974 yes:)
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8977 ac_tool_warned=yes ;;
8978 esac
8979 OTOOL=$ac_ct_OTOOL
8981 else
8982 OTOOL="$ac_cv_prog_OTOOL"
8985 if test -n "$ac_tool_prefix"; then
8986 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8987 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8989 $as_echo_n "checking for $ac_word... " >&6; }
8990 if ${ac_cv_prog_OTOOL64+:} false; then :
8991 $as_echo_n "(cached) " >&6
8992 else
8993 if test -n "$OTOOL64"; then
8994 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8995 else
8996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8997 for as_dir in $PATH
8999 IFS=$as_save_IFS
9000 test -z "$as_dir" && as_dir=.
9001 for ac_exec_ext in '' $ac_executable_extensions; do
9002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9003 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9005 break 2
9007 done
9008 done
9009 IFS=$as_save_IFS
9013 OTOOL64=$ac_cv_prog_OTOOL64
9014 if test -n "$OTOOL64"; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9016 $as_echo "$OTOOL64" >&6; }
9017 else
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9019 $as_echo "no" >&6; }
9024 if test -z "$ac_cv_prog_OTOOL64"; then
9025 ac_ct_OTOOL64=$OTOOL64
9026 # Extract the first word of "otool64", so it can be a program name with args.
9027 set dummy otool64; ac_word=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9031 $as_echo_n "(cached) " >&6
9032 else
9033 if test -n "$ac_ct_OTOOL64"; then
9034 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9035 else
9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9037 for as_dir in $PATH
9039 IFS=$as_save_IFS
9040 test -z "$as_dir" && as_dir=.
9041 for ac_exec_ext in '' $ac_executable_extensions; do
9042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9043 ac_cv_prog_ac_ct_OTOOL64="otool64"
9044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9045 break 2
9047 done
9048 done
9049 IFS=$as_save_IFS
9053 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9054 if test -n "$ac_ct_OTOOL64"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9056 $as_echo "$ac_ct_OTOOL64" >&6; }
9057 else
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9062 if test "x$ac_ct_OTOOL64" = x; then
9063 OTOOL64=":"
9064 else
9065 case $cross_compiling:$ac_tool_warned in
9066 yes:)
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9069 ac_tool_warned=yes ;;
9070 esac
9071 OTOOL64=$ac_ct_OTOOL64
9073 else
9074 OTOOL64="$ac_cv_prog_OTOOL64"
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9104 $as_echo_n "checking for -single_module linker flag... " >&6; }
9105 if ${lt_cv_apple_cc_single_mod+:} false; then :
9106 $as_echo_n "(cached) " >&6
9107 else
9108 lt_cv_apple_cc_single_mod=no
9109 if test -z "${LT_MULTI_MODULE}"; then
9110 # By default we will add the -single_module flag. You can override
9111 # by either setting the environment variable LT_MULTI_MODULE
9112 # non-empty at configure time, or by adding -multi_module to the
9113 # link flags.
9114 rm -rf libconftest.dylib*
9115 echo "int foo(void){return 1;}" > conftest.c
9116 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9117 -dynamiclib -Wl,-single_module conftest.c" >&5
9118 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9119 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9120 _lt_result=$?
9121 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9122 lt_cv_apple_cc_single_mod=yes
9123 else
9124 cat conftest.err >&5
9126 rm -rf libconftest.dylib*
9127 rm -f conftest.*
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9131 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9133 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9134 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9135 $as_echo_n "(cached) " >&6
9136 else
9137 lt_cv_ld_exported_symbols_list=no
9138 save_LDFLAGS=$LDFLAGS
9139 echo "_main" > conftest.sym
9140 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9141 if test x$gcc_no_link = xyes; then
9142 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9148 main ()
9152 return 0;
9154 _ACEOF
9155 if ac_fn_c_try_link "$LINENO"; then :
9156 lt_cv_ld_exported_symbols_list=yes
9157 else
9158 lt_cv_ld_exported_symbols_list=no
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LDFLAGS="$save_LDFLAGS"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9166 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9168 $as_echo_n "checking for -force_load linker flag... " >&6; }
9169 if ${lt_cv_ld_force_load+:} false; then :
9170 $as_echo_n "(cached) " >&6
9171 else
9172 lt_cv_ld_force_load=no
9173 cat > conftest.c << _LT_EOF
9174 int forced_loaded() { return 2;}
9175 _LT_EOF
9176 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9177 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9178 echo "$AR cru libconftest.a conftest.o" >&5
9179 $AR cru libconftest.a conftest.o 2>&5
9180 cat > conftest.c << _LT_EOF
9181 int main() { return 0;}
9182 _LT_EOF
9183 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9184 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9185 _lt_result=$?
9186 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9187 lt_cv_ld_force_load=yes
9188 else
9189 cat conftest.err >&5
9191 rm -f conftest.err libconftest.a conftest conftest.c
9192 rm -rf conftest.dSYM
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9196 $as_echo "$lt_cv_ld_force_load" >&6; }
9197 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9198 # build without first building modern cctools / linker.
9199 case $host_cpu-$host_os in
9200 *-rhapsody* | *-darwin1.[012])
9201 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9202 *-darwin1.*)
9203 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9204 *-darwin*)
9205 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9206 # deployment target is forced to an earlier version.
9207 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9208 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9210 10.[012][,.]*)
9211 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9215 esac
9217 esac
9218 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9219 _lt_dar_single_mod='$single_module'
9221 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9222 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9223 else
9224 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9226 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9227 _lt_dsymutil='~$DSYMUTIL $lib || :'
9228 else
9229 _lt_dsymutil=
9232 esac
9234 for ac_header in dlfcn.h
9235 do :
9236 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9238 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9239 cat >>confdefs.h <<_ACEOF
9240 #define HAVE_DLFCN_H 1
9241 _ACEOF
9245 done
9251 # Set options
9256 enable_win32_dll=no
9259 # Check whether --enable-shared was given.
9260 if test "${enable_shared+set}" = set; then :
9261 enableval=$enable_shared; p=${PACKAGE-default}
9262 case $enableval in
9263 yes) enable_shared=yes ;;
9264 no) enable_shared=no ;;
9266 enable_shared=no
9267 # Look at the argument we got. We use all the common list separators.
9268 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9269 for pkg in $enableval; do
9270 IFS="$lt_save_ifs"
9271 if test "X$pkg" = "X$p"; then
9272 enable_shared=yes
9274 done
9275 IFS="$lt_save_ifs"
9277 esac
9278 else
9279 enable_shared=yes
9290 # Check whether --enable-static was given.
9291 if test "${enable_static+set}" = set; then :
9292 enableval=$enable_static; p=${PACKAGE-default}
9293 case $enableval in
9294 yes) enable_static=yes ;;
9295 no) enable_static=no ;;
9297 enable_static=no
9298 # Look at the argument we got. We use all the common list separators.
9299 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9300 for pkg in $enableval; do
9301 IFS="$lt_save_ifs"
9302 if test "X$pkg" = "X$p"; then
9303 enable_static=yes
9305 done
9306 IFS="$lt_save_ifs"
9308 esac
9309 else
9310 enable_static=yes
9322 # Check whether --with-pic was given.
9323 if test "${with_pic+set}" = set; then :
9324 withval=$with_pic; pic_mode="$withval"
9325 else
9326 pic_mode=default
9330 test -z "$pic_mode" && pic_mode=default
9338 # Check whether --enable-fast-install was given.
9339 if test "${enable_fast_install+set}" = set; then :
9340 enableval=$enable_fast_install; p=${PACKAGE-default}
9341 case $enableval in
9342 yes) enable_fast_install=yes ;;
9343 no) enable_fast_install=no ;;
9345 enable_fast_install=no
9346 # Look at the argument we got. We use all the common list separators.
9347 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9348 for pkg in $enableval; do
9349 IFS="$lt_save_ifs"
9350 if test "X$pkg" = "X$p"; then
9351 enable_fast_install=yes
9353 done
9354 IFS="$lt_save_ifs"
9356 esac
9357 else
9358 enable_fast_install=yes
9371 # This can be used to rebuild libtool when needed
9372 LIBTOOL_DEPS="$ltmain"
9374 # Always use our own libtool.
9375 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9402 test -z "$LN_S" && LN_S="ln -s"
9417 if test -n "${ZSH_VERSION+set}" ; then
9418 setopt NO_GLOB_SUBST
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9422 $as_echo_n "checking for objdir... " >&6; }
9423 if ${lt_cv_objdir+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
9426 rm -f .libs 2>/dev/null
9427 mkdir .libs 2>/dev/null
9428 if test -d .libs; then
9429 lt_cv_objdir=.libs
9430 else
9431 # MS-DOS does not allow filenames that begin with a dot.
9432 lt_cv_objdir=_libs
9434 rmdir .libs 2>/dev/null
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9437 $as_echo "$lt_cv_objdir" >&6; }
9438 objdir=$lt_cv_objdir
9444 cat >>confdefs.h <<_ACEOF
9445 #define LT_OBJDIR "$lt_cv_objdir/"
9446 _ACEOF
9451 case $host_os in
9452 aix3*)
9453 # AIX sometimes has problems with the GCC collect2 program. For some
9454 # reason, if we set the COLLECT_NAMES environment variable, the problems
9455 # vanish in a puff of smoke.
9456 if test "X${COLLECT_NAMES+set}" != Xset; then
9457 COLLECT_NAMES=
9458 export COLLECT_NAMES
9461 esac
9463 # Global variables:
9464 ofile=libtool
9465 can_build_shared=yes
9467 # All known linkers require a `.a' archive for static linking (except MSVC,
9468 # which needs '.lib').
9469 libext=a
9471 with_gnu_ld="$lt_cv_prog_gnu_ld"
9473 old_CC="$CC"
9474 old_CFLAGS="$CFLAGS"
9476 # Set sane defaults for various variables
9477 test -z "$CC" && CC=cc
9478 test -z "$LTCC" && LTCC=$CC
9479 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9480 test -z "$LD" && LD=ld
9481 test -z "$ac_objext" && ac_objext=o
9483 for cc_temp in $compiler""; do
9484 case $cc_temp in
9485 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9486 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9487 \-*) ;;
9488 *) break;;
9489 esac
9490 done
9491 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9494 # Only perform the check for file, if the check method requires it
9495 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9496 case $deplibs_check_method in
9497 file_magic*)
9498 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9500 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9501 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9502 $as_echo_n "(cached) " >&6
9503 else
9504 case $MAGIC_CMD in
9505 [\\/*] | ?:[\\/]*)
9506 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9509 lt_save_MAGIC_CMD="$MAGIC_CMD"
9510 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9511 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9512 for ac_dir in $ac_dummy; do
9513 IFS="$lt_save_ifs"
9514 test -z "$ac_dir" && ac_dir=.
9515 if test -f $ac_dir/${ac_tool_prefix}file; then
9516 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9517 if test -n "$file_magic_test_file"; then
9518 case $deplibs_check_method in
9519 "file_magic "*)
9520 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9521 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9522 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9523 $EGREP "$file_magic_regex" > /dev/null; then
9525 else
9526 cat <<_LT_EOF 1>&2
9528 *** Warning: the command libtool uses to detect shared libraries,
9529 *** $file_magic_cmd, produces output that libtool cannot recognize.
9530 *** The result is that libtool may fail to recognize shared libraries
9531 *** as such. This will affect the creation of libtool libraries that
9532 *** depend on shared libraries, but programs linked with such libtool
9533 *** libraries will work regardless of this problem. Nevertheless, you
9534 *** may want to report the problem to your system manager and/or to
9535 *** bug-libtool@gnu.org
9537 _LT_EOF
9538 fi ;;
9539 esac
9541 break
9543 done
9544 IFS="$lt_save_ifs"
9545 MAGIC_CMD="$lt_save_MAGIC_CMD"
9547 esac
9550 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9551 if test -n "$MAGIC_CMD"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9553 $as_echo "$MAGIC_CMD" >&6; }
9554 else
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9563 if test -z "$lt_cv_path_MAGIC_CMD"; then
9564 if test -n "$ac_tool_prefix"; then
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9566 $as_echo_n "checking for file... " >&6; }
9567 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9568 $as_echo_n "(cached) " >&6
9569 else
9570 case $MAGIC_CMD in
9571 [\\/*] | ?:[\\/]*)
9572 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9575 lt_save_MAGIC_CMD="$MAGIC_CMD"
9576 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9577 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9578 for ac_dir in $ac_dummy; do
9579 IFS="$lt_save_ifs"
9580 test -z "$ac_dir" && ac_dir=.
9581 if test -f $ac_dir/file; then
9582 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9583 if test -n "$file_magic_test_file"; then
9584 case $deplibs_check_method in
9585 "file_magic "*)
9586 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9587 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9588 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9589 $EGREP "$file_magic_regex" > /dev/null; then
9591 else
9592 cat <<_LT_EOF 1>&2
9594 *** Warning: the command libtool uses to detect shared libraries,
9595 *** $file_magic_cmd, produces output that libtool cannot recognize.
9596 *** The result is that libtool may fail to recognize shared libraries
9597 *** as such. This will affect the creation of libtool libraries that
9598 *** depend on shared libraries, but programs linked with such libtool
9599 *** libraries will work regardless of this problem. Nevertheless, you
9600 *** may want to report the problem to your system manager and/or to
9601 *** bug-libtool@gnu.org
9603 _LT_EOF
9604 fi ;;
9605 esac
9607 break
9609 done
9610 IFS="$lt_save_ifs"
9611 MAGIC_CMD="$lt_save_MAGIC_CMD"
9613 esac
9616 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9617 if test -n "$MAGIC_CMD"; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9619 $as_echo "$MAGIC_CMD" >&6; }
9620 else
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9622 $as_echo "no" >&6; }
9626 else
9627 MAGIC_CMD=:
9633 esac
9635 # Use C for the default configuration in the libtool script
9637 lt_save_CC="$CC"
9638 ac_ext=c
9639 ac_cpp='$CPP $CPPFLAGS'
9640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9645 # Source file extension for C test sources.
9646 ac_ext=c
9648 # Object file extension for compiled C test sources.
9649 objext=o
9650 objext=$objext
9652 # Code to be used in simple compile tests
9653 lt_simple_compile_test_code="int some_variable = 0;"
9655 # Code to be used in simple link tests
9656 lt_simple_link_test_code='int main(){return(0);}'
9664 # If no C compiler was specified, use CC.
9665 LTCC=${LTCC-"$CC"}
9667 # If no C compiler flags were specified, use CFLAGS.
9668 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9670 # Allow CC to be a program name with arguments.
9671 compiler=$CC
9673 # Save the default compiler, since it gets overwritten when the other
9674 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9675 compiler_DEFAULT=$CC
9677 # save warnings/boilerplate of simple test code
9678 ac_outfile=conftest.$ac_objext
9679 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9680 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9681 _lt_compiler_boilerplate=`cat conftest.err`
9682 $RM conftest*
9684 ac_outfile=conftest.$ac_objext
9685 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9686 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9687 _lt_linker_boilerplate=`cat conftest.err`
9688 $RM -r conftest*
9691 ## CAVEAT EMPTOR:
9692 ## There is no encapsulation within the following macros, do not change
9693 ## the running order or otherwise move them around unless you know exactly
9694 ## what you are doing...
9695 if test -n "$compiler"; then
9697 lt_prog_compiler_no_builtin_flag=
9699 if test "$GCC" = yes; then
9700 case $cc_basename in
9701 nvcc*)
9702 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9704 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9705 esac
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9708 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9709 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9710 $as_echo_n "(cached) " >&6
9711 else
9712 lt_cv_prog_compiler_rtti_exceptions=no
9713 ac_outfile=conftest.$ac_objext
9714 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9715 lt_compiler_flag="-fno-rtti -fno-exceptions"
9716 # Insert the option either (1) after the last *FLAGS variable, or
9717 # (2) before a word containing "conftest.", or (3) at the end.
9718 # Note that $ac_compile itself does not contain backslashes and begins
9719 # with a dollar sign (not a hyphen), so the echo should work correctly.
9720 # The option is referenced via a variable to avoid confusing sed.
9721 lt_compile=`echo "$ac_compile" | $SED \
9722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9724 -e 's:$: $lt_compiler_flag:'`
9725 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9726 (eval "$lt_compile" 2>conftest.err)
9727 ac_status=$?
9728 cat conftest.err >&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 if (exit $ac_status) && test -s "$ac_outfile"; then
9731 # The compiler can only warn and ignore the option if not recognized
9732 # So say no if there are warnings other than the usual output.
9733 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9734 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9735 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9736 lt_cv_prog_compiler_rtti_exceptions=yes
9739 $RM conftest*
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9743 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9745 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9746 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9747 else
9758 lt_prog_compiler_wl=
9759 lt_prog_compiler_pic=
9760 lt_prog_compiler_static=
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9763 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9765 if test "$GCC" = yes; then
9766 lt_prog_compiler_wl='-Wl,'
9767 lt_prog_compiler_static='-static'
9769 case $host_os in
9770 aix*)
9771 # All AIX code is PIC.
9772 if test "$host_cpu" = ia64; then
9773 # AIX 5 now supports IA64 processor
9774 lt_prog_compiler_static='-Bstatic'
9776 lt_prog_compiler_pic='-fPIC'
9779 amigaos*)
9780 case $host_cpu in
9781 powerpc)
9782 # see comment about AmigaOS4 .so support
9783 lt_prog_compiler_pic='-fPIC'
9785 m68k)
9786 # FIXME: we need at least 68020 code to build shared libraries, but
9787 # adding the `-m68020' flag to GCC prevents building anything better,
9788 # like `-m68040'.
9789 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9791 esac
9794 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9795 # PIC is the default for these OSes.
9798 mingw* | cygwin* | pw32* | os2* | cegcc*)
9799 # This hack is so that the source file can tell whether it is being
9800 # built for inclusion in a dll (and should export symbols for example).
9801 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9802 # (--disable-auto-import) libraries
9803 lt_prog_compiler_pic='-DDLL_EXPORT'
9806 darwin* | rhapsody*)
9807 # PIC is the default on this platform
9808 # Common symbols not allowed in MH_DYLIB files
9809 lt_prog_compiler_pic='-fno-common'
9812 haiku*)
9813 # PIC is the default for Haiku.
9814 # The "-static" flag exists, but is broken.
9815 lt_prog_compiler_static=
9818 hpux*)
9819 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9820 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9821 # sets the default TLS model and affects inlining.
9822 case $host_cpu in
9823 hppa*64*)
9824 # +Z the default
9827 lt_prog_compiler_pic='-fPIC'
9829 esac
9832 interix[3-9]*)
9833 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9834 # Instead, we relocate shared libraries at runtime.
9837 msdosdjgpp*)
9838 # Just because we use GCC doesn't mean we suddenly get shared libraries
9839 # on systems that don't support them.
9840 lt_prog_compiler_can_build_shared=no
9841 enable_shared=no
9844 *nto* | *qnx*)
9845 # QNX uses GNU C++, but need to define -shared option too, otherwise
9846 # it will coredump.
9847 lt_prog_compiler_pic='-fPIC -shared'
9850 sysv4*MP*)
9851 if test -d /usr/nec; then
9852 lt_prog_compiler_pic=-Kconform_pic
9857 lt_prog_compiler_pic='-fPIC'
9859 esac
9861 case $cc_basename in
9862 nvcc*) # Cuda Compiler Driver 2.2
9863 lt_prog_compiler_wl='-Xlinker '
9864 lt_prog_compiler_pic='-Xcompiler -fPIC'
9866 esac
9867 else
9868 # PORTME Check for flag to pass linker flags through the system compiler.
9869 case $host_os in
9870 aix*)
9871 lt_prog_compiler_wl='-Wl,'
9872 if test "$host_cpu" = ia64; then
9873 # AIX 5 now supports IA64 processor
9874 lt_prog_compiler_static='-Bstatic'
9875 else
9876 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9880 mingw* | cygwin* | pw32* | os2* | cegcc*)
9881 # This hack is so that the source file can tell whether it is being
9882 # built for inclusion in a dll (and should export symbols for example).
9883 lt_prog_compiler_pic='-DDLL_EXPORT'
9886 hpux9* | hpux10* | hpux11*)
9887 lt_prog_compiler_wl='-Wl,'
9888 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9889 # not for PA HP-UX.
9890 case $host_cpu in
9891 hppa*64*|ia64*)
9892 # +Z the default
9895 lt_prog_compiler_pic='+Z'
9897 esac
9898 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9899 lt_prog_compiler_static='${wl}-a ${wl}archive'
9902 irix5* | irix6* | nonstopux*)
9903 lt_prog_compiler_wl='-Wl,'
9904 # PIC (with -KPIC) is the default.
9905 lt_prog_compiler_static='-non_shared'
9908 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9909 case $cc_basename in
9910 # old Intel for x86_64 which still supported -KPIC.
9911 ecc*)
9912 lt_prog_compiler_wl='-Wl,'
9913 lt_prog_compiler_pic='-KPIC'
9914 lt_prog_compiler_static='-static'
9916 # icc used to be incompatible with GCC.
9917 # ICC 10 doesn't accept -KPIC any more.
9918 icc* | ifort*)
9919 lt_prog_compiler_wl='-Wl,'
9920 lt_prog_compiler_pic='-fPIC'
9921 lt_prog_compiler_static='-static'
9923 # Lahey Fortran 8.1.
9924 lf95*)
9925 lt_prog_compiler_wl='-Wl,'
9926 lt_prog_compiler_pic='--shared'
9927 lt_prog_compiler_static='--static'
9929 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9930 # Portland Group compilers (*not* the Pentium gcc compiler,
9931 # which looks to be a dead project)
9932 lt_prog_compiler_wl='-Wl,'
9933 lt_prog_compiler_pic='-fpic'
9934 lt_prog_compiler_static='-Bstatic'
9936 ccc*)
9937 lt_prog_compiler_wl='-Wl,'
9938 # All Alpha code is PIC.
9939 lt_prog_compiler_static='-non_shared'
9941 xl* | bgxl* | bgf* | mpixl*)
9942 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9943 lt_prog_compiler_wl='-Wl,'
9944 lt_prog_compiler_pic='-qpic'
9945 lt_prog_compiler_static='-qstaticlink'
9948 case `$CC -V 2>&1 | sed 5q` in
9949 *Sun\ F* | *Sun*Fortran*)
9950 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9951 lt_prog_compiler_pic='-KPIC'
9952 lt_prog_compiler_static='-Bstatic'
9953 lt_prog_compiler_wl=''
9955 *Sun\ C*)
9956 # Sun C 5.9
9957 lt_prog_compiler_pic='-KPIC'
9958 lt_prog_compiler_static='-Bstatic'
9959 lt_prog_compiler_wl='-Wl,'
9961 esac
9963 esac
9966 newsos6)
9967 lt_prog_compiler_pic='-KPIC'
9968 lt_prog_compiler_static='-Bstatic'
9971 *nto* | *qnx*)
9972 # QNX uses GNU C++, but need to define -shared option too, otherwise
9973 # it will coredump.
9974 lt_prog_compiler_pic='-fPIC -shared'
9977 osf3* | osf4* | osf5*)
9978 lt_prog_compiler_wl='-Wl,'
9979 # All OSF/1 code is PIC.
9980 lt_prog_compiler_static='-non_shared'
9983 rdos*)
9984 lt_prog_compiler_static='-non_shared'
9987 solaris*)
9988 lt_prog_compiler_pic='-KPIC'
9989 lt_prog_compiler_static='-Bstatic'
9990 case $cc_basename in
9991 f77* | f90* | f95*)
9992 lt_prog_compiler_wl='-Qoption ld ';;
9994 lt_prog_compiler_wl='-Wl,';;
9995 esac
9998 sunos4*)
9999 lt_prog_compiler_wl='-Qoption ld '
10000 lt_prog_compiler_pic='-PIC'
10001 lt_prog_compiler_static='-Bstatic'
10004 sysv4 | sysv4.2uw2* | sysv4.3*)
10005 lt_prog_compiler_wl='-Wl,'
10006 lt_prog_compiler_pic='-KPIC'
10007 lt_prog_compiler_static='-Bstatic'
10010 sysv4*MP*)
10011 if test -d /usr/nec ;then
10012 lt_prog_compiler_pic='-Kconform_pic'
10013 lt_prog_compiler_static='-Bstatic'
10017 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10018 lt_prog_compiler_wl='-Wl,'
10019 lt_prog_compiler_pic='-KPIC'
10020 lt_prog_compiler_static='-Bstatic'
10023 unicos*)
10024 lt_prog_compiler_wl='-Wl,'
10025 lt_prog_compiler_can_build_shared=no
10028 uts4*)
10029 lt_prog_compiler_pic='-pic'
10030 lt_prog_compiler_static='-Bstatic'
10034 lt_prog_compiler_can_build_shared=no
10036 esac
10039 case $host_os in
10040 # For platforms which do not support PIC, -DPIC is meaningless:
10041 *djgpp*)
10042 lt_prog_compiler_pic=
10045 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10047 esac
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10049 $as_echo "$lt_prog_compiler_pic" >&6; }
10057 # Check to make sure the PIC flag actually works.
10059 if test -n "$lt_prog_compiler_pic"; then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10061 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10062 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10063 $as_echo_n "(cached) " >&6
10064 else
10065 lt_cv_prog_compiler_pic_works=no
10066 ac_outfile=conftest.$ac_objext
10067 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10068 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10069 # Insert the option either (1) after the last *FLAGS variable, or
10070 # (2) before a word containing "conftest.", or (3) at the end.
10071 # Note that $ac_compile itself does not contain backslashes and begins
10072 # with a dollar sign (not a hyphen), so the echo should work correctly.
10073 # The option is referenced via a variable to avoid confusing sed.
10074 lt_compile=`echo "$ac_compile" | $SED \
10075 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10076 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10077 -e 's:$: $lt_compiler_flag:'`
10078 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10079 (eval "$lt_compile" 2>conftest.err)
10080 ac_status=$?
10081 cat conftest.err >&5
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 if (exit $ac_status) && test -s "$ac_outfile"; then
10084 # The compiler can only warn and ignore the option if not recognized
10085 # So say no if there are warnings other than the usual output.
10086 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10087 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10088 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10089 lt_cv_prog_compiler_pic_works=yes
10092 $RM conftest*
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10096 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10098 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10099 case $lt_prog_compiler_pic in
10100 "" | " "*) ;;
10101 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10102 esac
10103 else
10104 lt_prog_compiler_pic=
10105 lt_prog_compiler_can_build_shared=no
10116 # Check to make sure the static flag actually works.
10118 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10120 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10121 if ${lt_cv_prog_compiler_static_works+:} false; then :
10122 $as_echo_n "(cached) " >&6
10123 else
10124 lt_cv_prog_compiler_static_works=no
10125 save_LDFLAGS="$LDFLAGS"
10126 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10127 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10128 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10129 # The linker can only warn and ignore the option if not recognized
10130 # So say no if there are warnings
10131 if test -s conftest.err; then
10132 # Append any errors to the config.log.
10133 cat conftest.err 1>&5
10134 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10135 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10136 if diff conftest.exp conftest.er2 >/dev/null; then
10137 lt_cv_prog_compiler_static_works=yes
10139 else
10140 lt_cv_prog_compiler_static_works=yes
10143 $RM -r conftest*
10144 LDFLAGS="$save_LDFLAGS"
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10148 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10150 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10152 else
10153 lt_prog_compiler_static=
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10163 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10164 if ${lt_cv_prog_compiler_c_o+:} false; then :
10165 $as_echo_n "(cached) " >&6
10166 else
10167 lt_cv_prog_compiler_c_o=no
10168 $RM -r conftest 2>/dev/null
10169 mkdir conftest
10170 cd conftest
10171 mkdir out
10172 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10174 lt_compiler_flag="-o out/conftest2.$ac_objext"
10175 # Insert the option either (1) after the last *FLAGS variable, or
10176 # (2) before a word containing "conftest.", or (3) at the end.
10177 # Note that $ac_compile itself does not contain backslashes and begins
10178 # with a dollar sign (not a hyphen), so the echo should work correctly.
10179 lt_compile=`echo "$ac_compile" | $SED \
10180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10182 -e 's:$: $lt_compiler_flag:'`
10183 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10184 (eval "$lt_compile" 2>out/conftest.err)
10185 ac_status=$?
10186 cat out/conftest.err >&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10189 then
10190 # The compiler can only warn and ignore the option if not recognized
10191 # So say no if there are warnings
10192 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10193 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10194 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10195 lt_cv_prog_compiler_c_o=yes
10198 chmod u+w . 2>&5
10199 $RM conftest*
10200 # SGI C++ compiler will create directory out/ii_files/ for
10201 # template instantiation
10202 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10203 $RM out/* && rmdir out
10204 cd ..
10205 $RM -r conftest
10206 $RM conftest*
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10210 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10218 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10219 if ${lt_cv_prog_compiler_c_o+:} false; then :
10220 $as_echo_n "(cached) " >&6
10221 else
10222 lt_cv_prog_compiler_c_o=no
10223 $RM -r conftest 2>/dev/null
10224 mkdir conftest
10225 cd conftest
10226 mkdir out
10227 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10229 lt_compiler_flag="-o out/conftest2.$ac_objext"
10230 # Insert the option either (1) after the last *FLAGS variable, or
10231 # (2) before a word containing "conftest.", or (3) at the end.
10232 # Note that $ac_compile itself does not contain backslashes and begins
10233 # with a dollar sign (not a hyphen), so the echo should work correctly.
10234 lt_compile=`echo "$ac_compile" | $SED \
10235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10237 -e 's:$: $lt_compiler_flag:'`
10238 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10239 (eval "$lt_compile" 2>out/conftest.err)
10240 ac_status=$?
10241 cat out/conftest.err >&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10244 then
10245 # The compiler can only warn and ignore the option if not recognized
10246 # So say no if there are warnings
10247 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10248 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10249 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10250 lt_cv_prog_compiler_c_o=yes
10253 chmod u+w . 2>&5
10254 $RM conftest*
10255 # SGI C++ compiler will create directory out/ii_files/ for
10256 # template instantiation
10257 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10258 $RM out/* && rmdir out
10259 cd ..
10260 $RM -r conftest
10261 $RM conftest*
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10265 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10270 hard_links="nottested"
10271 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10272 # do not overwrite the value of need_locks provided by the user
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10274 $as_echo_n "checking if we can lock with hard links... " >&6; }
10275 hard_links=yes
10276 $RM conftest*
10277 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10278 touch conftest.a
10279 ln conftest.a conftest.b 2>&5 || hard_links=no
10280 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10282 $as_echo "$hard_links" >&6; }
10283 if test "$hard_links" = no; then
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10285 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10286 need_locks=warn
10288 else
10289 need_locks=no
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10298 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10300 runpath_var=
10301 allow_undefined_flag=
10302 always_export_symbols=no
10303 archive_cmds=
10304 archive_expsym_cmds=
10305 compiler_needs_object=no
10306 enable_shared_with_static_runtimes=no
10307 export_dynamic_flag_spec=
10308 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10309 hardcode_automatic=no
10310 hardcode_direct=no
10311 hardcode_direct_absolute=no
10312 hardcode_libdir_flag_spec=
10313 hardcode_libdir_flag_spec_ld=
10314 hardcode_libdir_separator=
10315 hardcode_minus_L=no
10316 hardcode_shlibpath_var=unsupported
10317 inherit_rpath=no
10318 link_all_deplibs=unknown
10319 module_cmds=
10320 module_expsym_cmds=
10321 old_archive_from_new_cmds=
10322 old_archive_from_expsyms_cmds=
10323 thread_safe_flag_spec=
10324 whole_archive_flag_spec=
10325 # include_expsyms should be a list of space-separated symbols to be *always*
10326 # included in the symbol list
10327 include_expsyms=
10328 # exclude_expsyms can be an extended regexp of symbols to exclude
10329 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10330 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10331 # as well as any symbol that contains `d'.
10332 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10333 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10334 # platforms (ab)use it in PIC code, but their linkers get confused if
10335 # the symbol is explicitly referenced. Since portable code cannot
10336 # rely on this symbol name, it's probably fine to never include it in
10337 # preloaded symbol tables.
10338 # Exclude shared library initialization/finalization symbols.
10339 extract_expsyms_cmds=
10341 case $host_os in
10342 cygwin* | mingw* | pw32* | cegcc*)
10343 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10344 # When not using gcc, we currently assume that we are using
10345 # Microsoft Visual C++.
10346 if test "$GCC" != yes; then
10347 with_gnu_ld=no
10350 interix*)
10351 # we just hope/assume this is gcc and not c89 (= MSVC++)
10352 with_gnu_ld=yes
10354 openbsd*)
10355 with_gnu_ld=no
10357 esac
10359 ld_shlibs=yes
10361 # On some targets, GNU ld is compatible enough with the native linker
10362 # that we're better off using the native interface for both.
10363 lt_use_gnu_ld_interface=no
10364 if test "$with_gnu_ld" = yes; then
10365 case $host_os in
10366 aix*)
10367 # The AIX port of GNU ld has always aspired to compatibility
10368 # with the native linker. However, as the warning in the GNU ld
10369 # block says, versions before 2.19.5* couldn't really create working
10370 # shared libraries, regardless of the interface used.
10371 case `$LD -v 2>&1` in
10372 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10373 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10374 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10376 lt_use_gnu_ld_interface=yes
10378 esac
10381 lt_use_gnu_ld_interface=yes
10383 esac
10386 if test "$lt_use_gnu_ld_interface" = yes; then
10387 # If archive_cmds runs LD, not CC, wlarc should be empty
10388 wlarc='${wl}'
10390 # Set some defaults for GNU ld with shared library support. These
10391 # are reset later if shared libraries are not supported. Putting them
10392 # here allows them to be overridden if necessary.
10393 runpath_var=LD_RUN_PATH
10394 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10395 export_dynamic_flag_spec='${wl}--export-dynamic'
10396 # ancient GNU ld didn't support --whole-archive et. al.
10397 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10398 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10399 else
10400 whole_archive_flag_spec=
10402 supports_anon_versioning=no
10403 case `$LD -v 2>&1` in
10404 *GNU\ gold*) supports_anon_versioning=yes ;;
10405 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10406 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10407 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10408 *\ 2.11.*) ;; # other 2.11 versions
10409 *) supports_anon_versioning=yes ;;
10410 esac
10412 # See if GNU ld supports shared libraries.
10413 case $host_os in
10414 aix[3-9]*)
10415 # On AIX/PPC, the GNU linker is very broken
10416 if test "$host_cpu" != ia64; then
10417 ld_shlibs=no
10418 cat <<_LT_EOF 1>&2
10420 *** Warning: the GNU linker, at least up to release 2.19, is reported
10421 *** to be unable to reliably create shared libraries on AIX.
10422 *** Therefore, libtool is disabling shared libraries support. If you
10423 *** really care for shared libraries, you may want to install binutils
10424 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10425 *** You will then need to restart the configuration process.
10427 _LT_EOF
10431 amigaos*)
10432 case $host_cpu in
10433 powerpc)
10434 # see comment about AmigaOS4 .so support
10435 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10436 archive_expsym_cmds=''
10438 m68k)
10439 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)'
10440 hardcode_libdir_flag_spec='-L$libdir'
10441 hardcode_minus_L=yes
10443 esac
10446 beos*)
10447 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10448 allow_undefined_flag=unsupported
10449 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10450 # support --undefined. This deserves some investigation. FIXME
10451 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10452 else
10453 ld_shlibs=no
10457 cygwin* | mingw* | pw32* | cegcc*)
10458 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10459 # as there is no search path for DLLs.
10460 hardcode_libdir_flag_spec='-L$libdir'
10461 export_dynamic_flag_spec='${wl}--export-all-symbols'
10462 allow_undefined_flag=unsupported
10463 always_export_symbols=no
10464 enable_shared_with_static_runtimes=yes
10465 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10467 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10468 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10469 # If the export-symbols file already is a .def file (1st line
10470 # is EXPORTS), use it as is; otherwise, prepend...
10471 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10472 cp $export_symbols $output_objdir/$soname.def;
10473 else
10474 echo EXPORTS > $output_objdir/$soname.def;
10475 cat $export_symbols >> $output_objdir/$soname.def;
10477 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10478 else
10479 ld_shlibs=no
10483 haiku*)
10484 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10485 link_all_deplibs=yes
10488 interix[3-9]*)
10489 hardcode_direct=no
10490 hardcode_shlibpath_var=no
10491 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10492 export_dynamic_flag_spec='${wl}-E'
10493 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10494 # Instead, shared libraries are loaded at an image base (0x10000000 by
10495 # default) and relocated if they conflict, which is a slow very memory
10496 # consuming and fragmenting process. To avoid this, we pick a random,
10497 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10498 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10499 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10500 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'
10503 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10504 tmp_diet=no
10505 if test "$host_os" = linux-dietlibc; then
10506 case $cc_basename in
10507 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10508 esac
10510 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10511 && test "$tmp_diet" = no
10512 then
10513 tmp_addflag=' $pic_flag'
10514 tmp_sharedflag='-shared'
10515 case $cc_basename,$host_cpu in
10516 pgcc*) # Portland Group C compiler
10517 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'
10518 tmp_addflag=' $pic_flag'
10520 pgf77* | pgf90* | pgf95* | pgfortran*)
10521 # Portland Group f77 and f90 compilers
10522 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'
10523 tmp_addflag=' $pic_flag -Mnomain' ;;
10524 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10525 tmp_addflag=' -i_dynamic' ;;
10526 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10527 tmp_addflag=' -i_dynamic -nofor_main' ;;
10528 ifc* | ifort*) # Intel Fortran compiler
10529 tmp_addflag=' -nofor_main' ;;
10530 lf95*) # Lahey Fortran 8.1
10531 whole_archive_flag_spec=
10532 tmp_sharedflag='--shared' ;;
10533 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10534 tmp_sharedflag='-qmkshrobj'
10535 tmp_addflag= ;;
10536 nvcc*) # Cuda Compiler Driver 2.2
10537 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'
10538 compiler_needs_object=yes
10540 esac
10541 case `$CC -V 2>&1 | sed 5q` in
10542 *Sun\ C*) # Sun C 5.9
10543 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'
10544 compiler_needs_object=yes
10545 tmp_sharedflag='-G' ;;
10546 *Sun\ F*) # Sun Fortran 8.3
10547 tmp_sharedflag='-G' ;;
10548 esac
10549 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10551 if test "x$supports_anon_versioning" = xyes; then
10552 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10553 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10554 echo "local: *; };" >> $output_objdir/$libname.ver~
10555 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10558 case $cc_basename in
10559 xlf* | bgf* | bgxlf* | mpixlf*)
10560 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10561 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10562 hardcode_libdir_flag_spec=
10563 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10564 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10565 if test "x$supports_anon_versioning" = xyes; then
10566 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10567 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10568 echo "local: *; };" >> $output_objdir/$libname.ver~
10569 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10572 esac
10573 else
10574 ld_shlibs=no
10578 netbsd*)
10579 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10580 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10581 wlarc=
10582 else
10583 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10584 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10588 solaris*)
10589 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10590 ld_shlibs=no
10591 cat <<_LT_EOF 1>&2
10593 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10594 *** create shared libraries on Solaris systems. Therefore, libtool
10595 *** is disabling shared libraries support. We urge you to upgrade GNU
10596 *** binutils to release 2.9.1 or newer. Another option is to modify
10597 *** your PATH or compiler configuration so that the native linker is
10598 *** used, and then restart.
10600 _LT_EOF
10601 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10602 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10603 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10604 else
10605 ld_shlibs=no
10609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10610 case `$LD -v 2>&1` in
10611 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10612 ld_shlibs=no
10613 cat <<_LT_EOF 1>&2
10615 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10616 *** reliably create shared libraries on SCO systems. Therefore, libtool
10617 *** is disabling shared libraries support. We urge you to upgrade GNU
10618 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10619 *** your PATH or compiler configuration so that the native linker is
10620 *** used, and then restart.
10622 _LT_EOF
10625 # For security reasons, it is highly recommended that you always
10626 # use absolute paths for naming shared libraries, and exclude the
10627 # DT_RUNPATH tag from executables and libraries. But doing so
10628 # requires that you compile everything twice, which is a pain.
10629 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10630 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10631 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10632 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10633 else
10634 ld_shlibs=no
10637 esac
10640 sunos4*)
10641 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10642 wlarc=
10643 hardcode_direct=yes
10644 hardcode_shlibpath_var=no
10648 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10649 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10650 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10651 else
10652 ld_shlibs=no
10655 esac
10657 if test "$ld_shlibs" = no; then
10658 runpath_var=
10659 hardcode_libdir_flag_spec=
10660 export_dynamic_flag_spec=
10661 whole_archive_flag_spec=
10663 else
10664 # PORTME fill in a description of your system's linker (not GNU ld)
10665 case $host_os in
10666 aix3*)
10667 allow_undefined_flag=unsupported
10668 always_export_symbols=yes
10669 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'
10670 # Note: this linker hardcodes the directories in LIBPATH if there
10671 # are no directories specified by -L.
10672 hardcode_minus_L=yes
10673 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10674 # Neither direct hardcoding nor static linking is supported with a
10675 # broken collect2.
10676 hardcode_direct=unsupported
10680 aix[4-9]*)
10681 if test "$host_cpu" = ia64; then
10682 # On IA64, the linker does run time linking by default, so we don't
10683 # have to do anything special.
10684 aix_use_runtimelinking=no
10685 exp_sym_flag='-Bexport'
10686 no_entry_flag=""
10687 else
10688 # If we're using GNU nm, then we don't want the "-C" option.
10689 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10690 # Also, AIX nm treats weak defined symbols like other global
10691 # defined symbols, whereas GNU nm marks them as "W".
10692 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10693 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'
10694 else
10695 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'
10697 aix_use_runtimelinking=no
10699 # Test if we are trying to use run time linking or normal
10700 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10701 # need to do runtime linking.
10702 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10703 for ld_flag in $LDFLAGS; do
10704 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10705 aix_use_runtimelinking=yes
10706 break
10708 done
10710 esac
10712 exp_sym_flag='-bexport'
10713 no_entry_flag='-bnoentry'
10716 # When large executables or shared objects are built, AIX ld can
10717 # have problems creating the table of contents. If linking a library
10718 # or program results in "error TOC overflow" add -mminimal-toc to
10719 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10720 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10722 archive_cmds=''
10723 hardcode_direct=yes
10724 hardcode_direct_absolute=yes
10725 hardcode_libdir_separator=':'
10726 link_all_deplibs=yes
10727 file_list_spec='${wl}-f,'
10729 if test "$GCC" = yes; then
10730 case $host_os in aix4.[012]|aix4.[012].*)
10731 # We only want to do this on AIX 4.2 and lower, the check
10732 # below for broken collect2 doesn't work under 4.3+
10733 collect2name=`${CC} -print-prog-name=collect2`
10734 if test -f "$collect2name" &&
10735 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10736 then
10737 # We have reworked collect2
10739 else
10740 # We have old collect2
10741 hardcode_direct=unsupported
10742 # It fails to find uninstalled libraries when the uninstalled
10743 # path is not listed in the libpath. Setting hardcode_minus_L
10744 # to unsupported forces relinking
10745 hardcode_minus_L=yes
10746 hardcode_libdir_flag_spec='-L$libdir'
10747 hardcode_libdir_separator=
10750 esac
10751 shared_flag='-shared'
10752 if test "$aix_use_runtimelinking" = yes; then
10753 shared_flag="$shared_flag "'${wl}-G'
10755 else
10756 # not using gcc
10757 if test "$host_cpu" = ia64; then
10758 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10759 # chokes on -Wl,-G. The following line is correct:
10760 shared_flag='-G'
10761 else
10762 if test "$aix_use_runtimelinking" = yes; then
10763 shared_flag='${wl}-G'
10764 else
10765 shared_flag='${wl}-bM:SRE'
10770 export_dynamic_flag_spec='${wl}-bexpall'
10771 # It seems that -bexpall does not export symbols beginning with
10772 # underscore (_), so it is better to generate a list of symbols to export.
10773 always_export_symbols=yes
10774 if test "$aix_use_runtimelinking" = yes; then
10775 # Warning - without using the other runtime loading flags (-brtl),
10776 # -berok will link without error, but may produce a broken library.
10777 allow_undefined_flag='-berok'
10778 # Determine the default libpath from the value encoded in an
10779 # empty executable.
10780 if test x$gcc_no_link = xyes; then
10781 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10787 main ()
10791 return 0;
10793 _ACEOF
10794 if ac_fn_c_try_link "$LINENO"; then :
10796 lt_aix_libpath_sed='
10797 /Import File Strings/,/^$/ {
10798 /^0/ {
10799 s/^0 *\(.*\)$/\1/
10803 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10804 # Check for a 64-bit object if we didn't find anything.
10805 if test -z "$aix_libpath"; then
10806 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10809 rm -f core conftest.err conftest.$ac_objext \
10810 conftest$ac_exeext conftest.$ac_ext
10811 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10813 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10814 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"
10815 else
10816 if test "$host_cpu" = ia64; then
10817 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10818 allow_undefined_flag="-z nodefs"
10819 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"
10820 else
10821 # Determine the default libpath from the value encoded in an
10822 # empty executable.
10823 if test x$gcc_no_link = xyes; then
10824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10830 main ()
10834 return 0;
10836 _ACEOF
10837 if ac_fn_c_try_link "$LINENO"; then :
10839 lt_aix_libpath_sed='
10840 /Import File Strings/,/^$/ {
10841 /^0/ {
10842 s/^0 *\(.*\)$/\1/
10846 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10847 # Check for a 64-bit object if we didn't find anything.
10848 if test -z "$aix_libpath"; then
10849 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10856 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10857 # Warning - without using the other run time loading flags,
10858 # -berok will link without error, but may produce a broken library.
10859 no_undefined_flag=' ${wl}-bernotok'
10860 allow_undefined_flag=' ${wl}-berok'
10861 if test "$with_gnu_ld" = yes; then
10862 # We only use this code for GNU lds that support --whole-archive.
10863 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10864 else
10865 # Exported symbols can be pulled into shared objects from archives
10866 whole_archive_flag_spec='$convenience'
10868 archive_cmds_need_lc=yes
10869 # This is similar to how AIX traditionally builds its shared libraries.
10870 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'
10875 amigaos*)
10876 case $host_cpu in
10877 powerpc)
10878 # see comment about AmigaOS4 .so support
10879 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10880 archive_expsym_cmds=''
10882 m68k)
10883 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)'
10884 hardcode_libdir_flag_spec='-L$libdir'
10885 hardcode_minus_L=yes
10887 esac
10890 bsdi[45]*)
10891 export_dynamic_flag_spec=-rdynamic
10894 cygwin* | mingw* | pw32* | cegcc*)
10895 # When not using gcc, we currently assume that we are using
10896 # Microsoft Visual C++.
10897 # hardcode_libdir_flag_spec is actually meaningless, as there is
10898 # no search path for DLLs.
10899 hardcode_libdir_flag_spec=' '
10900 allow_undefined_flag=unsupported
10901 # Tell ltmain to make .lib files, not .a files.
10902 libext=lib
10903 # Tell ltmain to make .dll files, not .so files.
10904 shrext_cmds=".dll"
10905 # FIXME: Setting linknames here is a bad hack.
10906 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10907 # The linker will automatically build a .lib file if we build a DLL.
10908 old_archive_from_new_cmds='true'
10909 # FIXME: Should let the user specify the lib program.
10910 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10911 fix_srcfile_path='`cygpath -w "$srcfile"`'
10912 enable_shared_with_static_runtimes=yes
10915 darwin* | rhapsody*)
10918 archive_cmds_need_lc=no
10919 hardcode_direct=no
10920 hardcode_automatic=yes
10921 hardcode_shlibpath_var=unsupported
10922 if test "$lt_cv_ld_force_load" = "yes"; then
10923 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\"`'
10924 else
10925 whole_archive_flag_spec=''
10927 link_all_deplibs=yes
10928 allow_undefined_flag="$_lt_dar_allow_undefined"
10929 case $cc_basename in
10930 ifort*) _lt_dar_can_shared=yes ;;
10931 *) _lt_dar_can_shared=$GCC ;;
10932 esac
10933 if test "$_lt_dar_can_shared" = "yes"; then
10934 output_verbose_link_cmd=func_echo_all
10935 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10936 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10937 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}"
10938 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}"
10940 else
10941 ld_shlibs=no
10946 dgux*)
10947 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10948 hardcode_libdir_flag_spec='-L$libdir'
10949 hardcode_shlibpath_var=no
10952 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10953 # support. Future versions do this automatically, but an explicit c++rt0.o
10954 # does not break anything, and helps significantly (at the cost of a little
10955 # extra space).
10956 freebsd2.2*)
10957 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10958 hardcode_libdir_flag_spec='-R$libdir'
10959 hardcode_direct=yes
10960 hardcode_shlibpath_var=no
10963 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10964 freebsd2.*)
10965 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10966 hardcode_direct=yes
10967 hardcode_minus_L=yes
10968 hardcode_shlibpath_var=no
10971 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10972 freebsd* | dragonfly*)
10973 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10974 hardcode_libdir_flag_spec='-R$libdir'
10975 hardcode_direct=yes
10976 hardcode_shlibpath_var=no
10979 hpux9*)
10980 if test "$GCC" = yes; then
10981 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'
10982 else
10983 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'
10985 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10986 hardcode_libdir_separator=:
10987 hardcode_direct=yes
10989 # hardcode_minus_L: Not really in the search PATH,
10990 # but as the default location of the library.
10991 hardcode_minus_L=yes
10992 export_dynamic_flag_spec='${wl}-E'
10995 hpux10*)
10996 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10997 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10998 else
10999 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11001 if test "$with_gnu_ld" = no; then
11002 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11003 hardcode_libdir_flag_spec_ld='+b $libdir'
11004 hardcode_libdir_separator=:
11005 hardcode_direct=yes
11006 hardcode_direct_absolute=yes
11007 export_dynamic_flag_spec='${wl}-E'
11008 # hardcode_minus_L: Not really in the search PATH,
11009 # but as the default location of the library.
11010 hardcode_minus_L=yes
11014 hpux11*)
11015 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11016 case $host_cpu in
11017 hppa*64*)
11018 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11020 ia64*)
11021 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11024 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11026 esac
11027 else
11028 case $host_cpu in
11029 hppa*64*)
11030 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11032 ia64*)
11033 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11037 # Older versions of the 11.00 compiler do not understand -b yet
11038 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11040 $as_echo_n "checking if $CC understands -b... " >&6; }
11041 if ${lt_cv_prog_compiler__b+:} false; then :
11042 $as_echo_n "(cached) " >&6
11043 else
11044 lt_cv_prog_compiler__b=no
11045 save_LDFLAGS="$LDFLAGS"
11046 LDFLAGS="$LDFLAGS -b"
11047 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11048 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11049 # The linker can only warn and ignore the option if not recognized
11050 # So say no if there are warnings
11051 if test -s conftest.err; then
11052 # Append any errors to the config.log.
11053 cat conftest.err 1>&5
11054 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11055 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11056 if diff conftest.exp conftest.er2 >/dev/null; then
11057 lt_cv_prog_compiler__b=yes
11059 else
11060 lt_cv_prog_compiler__b=yes
11063 $RM -r conftest*
11064 LDFLAGS="$save_LDFLAGS"
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11068 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11070 if test x"$lt_cv_prog_compiler__b" = xyes; then
11071 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11072 else
11073 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11077 esac
11079 if test "$with_gnu_ld" = no; then
11080 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11081 hardcode_libdir_separator=:
11083 case $host_cpu in
11084 hppa*64*|ia64*)
11085 hardcode_direct=no
11086 hardcode_shlibpath_var=no
11089 hardcode_direct=yes
11090 hardcode_direct_absolute=yes
11091 export_dynamic_flag_spec='${wl}-E'
11093 # hardcode_minus_L: Not really in the search PATH,
11094 # but as the default location of the library.
11095 hardcode_minus_L=yes
11097 esac
11101 irix5* | irix6* | nonstopux*)
11102 if test "$GCC" = yes; then
11103 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'
11104 # Try to use the -exported_symbol ld option, if it does not
11105 # work, assume that -exports_file does not work either and
11106 # implicitly export all symbols.
11107 save_LDFLAGS="$LDFLAGS"
11108 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11109 if test x$gcc_no_link = xyes; then
11110 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11114 int foo(void) {}
11115 _ACEOF
11116 if ac_fn_c_try_link "$LINENO"; then :
11117 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'
11120 rm -f core conftest.err conftest.$ac_objext \
11121 conftest$ac_exeext conftest.$ac_ext
11122 LDFLAGS="$save_LDFLAGS"
11123 else
11124 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'
11125 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'
11127 archive_cmds_need_lc='no'
11128 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11129 hardcode_libdir_separator=:
11130 inherit_rpath=yes
11131 link_all_deplibs=yes
11134 netbsd*)
11135 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11136 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11137 else
11138 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11140 hardcode_libdir_flag_spec='-R$libdir'
11141 hardcode_direct=yes
11142 hardcode_shlibpath_var=no
11145 newsos6)
11146 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11147 hardcode_direct=yes
11148 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11149 hardcode_libdir_separator=:
11150 hardcode_shlibpath_var=no
11153 *nto* | *qnx*)
11156 openbsd*)
11157 if test -f /usr/libexec/ld.so; then
11158 hardcode_direct=yes
11159 hardcode_shlibpath_var=no
11160 hardcode_direct_absolute=yes
11161 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11162 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11163 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11164 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11165 export_dynamic_flag_spec='${wl}-E'
11166 else
11167 case $host_os in
11168 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11169 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11170 hardcode_libdir_flag_spec='-R$libdir'
11173 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11174 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11176 esac
11178 else
11179 ld_shlibs=no
11183 os2*)
11184 hardcode_libdir_flag_spec='-L$libdir'
11185 hardcode_minus_L=yes
11186 allow_undefined_flag=unsupported
11187 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'
11188 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11191 osf3*)
11192 if test "$GCC" = yes; then
11193 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11194 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'
11195 else
11196 allow_undefined_flag=' -expect_unresolved \*'
11197 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'
11199 archive_cmds_need_lc='no'
11200 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11201 hardcode_libdir_separator=:
11204 osf4* | osf5*) # as osf3* with the addition of -msym flag
11205 if test "$GCC" = yes; then
11206 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11207 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'
11208 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11209 else
11210 allow_undefined_flag=' -expect_unresolved \*'
11211 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'
11212 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~
11213 $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'
11215 # Both c and cxx compiler support -rpath directly
11216 hardcode_libdir_flag_spec='-rpath $libdir'
11218 archive_cmds_need_lc='no'
11219 hardcode_libdir_separator=:
11222 solaris*)
11223 no_undefined_flag=' -z defs'
11224 if test "$GCC" = yes; then
11225 wlarc='${wl}'
11226 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11227 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11228 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11229 else
11230 case `$CC -V 2>&1` in
11231 *"Compilers 5.0"*)
11232 wlarc=''
11233 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11234 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11235 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11238 wlarc='${wl}'
11239 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11240 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11241 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11243 esac
11245 hardcode_libdir_flag_spec='-R$libdir'
11246 hardcode_shlibpath_var=no
11247 case $host_os in
11248 solaris2.[0-5] | solaris2.[0-5].*) ;;
11250 # The compiler driver will combine and reorder linker options,
11251 # but understands `-z linker_flag'. GCC discards it without `$wl',
11252 # but is careful enough not to reorder.
11253 # Supported since Solaris 2.6 (maybe 2.5.1?)
11254 if test "$GCC" = yes; then
11255 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11256 else
11257 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11260 esac
11261 link_all_deplibs=yes
11264 sunos4*)
11265 if test "x$host_vendor" = xsequent; then
11266 # Use $CC to link under sequent, because it throws in some extra .o
11267 # files that make .init and .fini sections work.
11268 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11269 else
11270 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11272 hardcode_libdir_flag_spec='-L$libdir'
11273 hardcode_direct=yes
11274 hardcode_minus_L=yes
11275 hardcode_shlibpath_var=no
11278 sysv4)
11279 case $host_vendor in
11280 sni)
11281 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11282 hardcode_direct=yes # is this really true???
11284 siemens)
11285 ## LD is ld it makes a PLAMLIB
11286 ## CC just makes a GrossModule.
11287 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11288 reload_cmds='$CC -r -o $output$reload_objs'
11289 hardcode_direct=no
11291 motorola)
11292 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11293 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11295 esac
11296 runpath_var='LD_RUN_PATH'
11297 hardcode_shlibpath_var=no
11300 sysv4.3*)
11301 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11302 hardcode_shlibpath_var=no
11303 export_dynamic_flag_spec='-Bexport'
11306 sysv4*MP*)
11307 if test -d /usr/nec; then
11308 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11309 hardcode_shlibpath_var=no
11310 runpath_var=LD_RUN_PATH
11311 hardcode_runpath_var=yes
11312 ld_shlibs=yes
11316 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11317 no_undefined_flag='${wl}-z,text'
11318 archive_cmds_need_lc=no
11319 hardcode_shlibpath_var=no
11320 runpath_var='LD_RUN_PATH'
11322 if test "$GCC" = yes; then
11323 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11324 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11325 else
11326 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11327 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11331 sysv5* | sco3.2v5* | sco5v6*)
11332 # Note: We can NOT use -z defs as we might desire, because we do not
11333 # link with -lc, and that would cause any symbols used from libc to
11334 # always be unresolved, which means just about no library would
11335 # ever link correctly. If we're not using GNU ld we use -z text
11336 # though, which does catch some bad symbols but isn't as heavy-handed
11337 # as -z defs.
11338 no_undefined_flag='${wl}-z,text'
11339 allow_undefined_flag='${wl}-z,nodefs'
11340 archive_cmds_need_lc=no
11341 hardcode_shlibpath_var=no
11342 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11343 hardcode_libdir_separator=':'
11344 link_all_deplibs=yes
11345 export_dynamic_flag_spec='${wl}-Bexport'
11346 runpath_var='LD_RUN_PATH'
11348 if test "$GCC" = yes; then
11349 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11350 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11351 else
11352 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11353 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11357 uts4*)
11358 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11359 hardcode_libdir_flag_spec='-L$libdir'
11360 hardcode_shlibpath_var=no
11364 ld_shlibs=no
11366 esac
11368 if test x$host_vendor = xsni; then
11369 case $host in
11370 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11371 export_dynamic_flag_spec='${wl}-Blargedynsym'
11373 esac
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11378 $as_echo "$ld_shlibs" >&6; }
11379 test "$ld_shlibs" = no && can_build_shared=no
11381 with_gnu_ld=$with_gnu_ld
11398 # Do we need to explicitly link libc?
11400 case "x$archive_cmds_need_lc" in
11401 x|xyes)
11402 # Assume -lc should be added
11403 archive_cmds_need_lc=yes
11405 if test "$enable_shared" = yes && test "$GCC" = yes; then
11406 case $archive_cmds in
11407 *'~'*)
11408 # FIXME: we may have to deal with multi-command sequences.
11410 '$CC '*)
11411 # Test whether the compiler implicitly links with -lc since on some
11412 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11413 # to ld, don't add -lc before -lgcc.
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11415 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11416 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11417 $as_echo_n "(cached) " >&6
11418 else
11419 $RM conftest*
11420 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11423 (eval $ac_compile) 2>&5
11424 ac_status=$?
11425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11426 test $ac_status = 0; } 2>conftest.err; then
11427 soname=conftest
11428 lib=conftest
11429 libobjs=conftest.$ac_objext
11430 deplibs=
11431 wl=$lt_prog_compiler_wl
11432 pic_flag=$lt_prog_compiler_pic
11433 compiler_flags=-v
11434 linker_flags=-v
11435 verstring=
11436 output_objdir=.
11437 libname=conftest
11438 lt_save_allow_undefined_flag=$allow_undefined_flag
11439 allow_undefined_flag=
11440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11441 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11442 ac_status=$?
11443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11444 test $ac_status = 0; }
11445 then
11446 lt_cv_archive_cmds_need_lc=no
11447 else
11448 lt_cv_archive_cmds_need_lc=yes
11450 allow_undefined_flag=$lt_save_allow_undefined_flag
11451 else
11452 cat conftest.err 1>&5
11454 $RM conftest*
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11458 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11459 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11461 esac
11464 esac
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11623 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11625 if test "$GCC" = yes; then
11626 case $host_os in
11627 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11628 *) lt_awk_arg="/^libraries:/" ;;
11629 esac
11630 case $host_os in
11631 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11632 *) lt_sed_strip_eq="s,=/,/,g" ;;
11633 esac
11634 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11635 case $lt_search_path_spec in
11636 *\;*)
11637 # if the path contains ";" then we assume it to be the separator
11638 # otherwise default to the standard path separator (i.e. ":") - it is
11639 # assumed that no part of a normal pathname contains ";" but that should
11640 # okay in the real world where ";" in dirpaths is itself problematic.
11641 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11644 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11646 esac
11647 # Ok, now we have the path, separated by spaces, we can step through it
11648 # and add multilib dir if necessary.
11649 lt_tmp_lt_search_path_spec=
11650 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11651 for lt_sys_path in $lt_search_path_spec; do
11652 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11653 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11654 else
11655 test -d "$lt_sys_path" && \
11656 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11658 done
11659 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11660 BEGIN {RS=" "; FS="/|\n";} {
11661 lt_foo="";
11662 lt_count=0;
11663 for (lt_i = NF; lt_i > 0; lt_i--) {
11664 if ($lt_i != "" && $lt_i != ".") {
11665 if ($lt_i == "..") {
11666 lt_count++;
11667 } else {
11668 if (lt_count == 0) {
11669 lt_foo="/" $lt_i lt_foo;
11670 } else {
11671 lt_count--;
11676 if (lt_foo != "") { lt_freq[lt_foo]++; }
11677 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11679 # AWK program above erroneously prepends '/' to C:/dos/paths
11680 # for these hosts.
11681 case $host_os in
11682 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11683 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11684 esac
11685 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11686 else
11687 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11689 library_names_spec=
11690 libname_spec='lib$name'
11691 soname_spec=
11692 shrext_cmds=".so"
11693 postinstall_cmds=
11694 postuninstall_cmds=
11695 finish_cmds=
11696 finish_eval=
11697 shlibpath_var=
11698 shlibpath_overrides_runpath=unknown
11699 version_type=none
11700 dynamic_linker="$host_os ld.so"
11701 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11702 need_lib_prefix=unknown
11703 hardcode_into_libs=no
11705 # when you set need_version to no, make sure it does not cause -set_version
11706 # flags to be left without arguments
11707 need_version=unknown
11709 case $host_os in
11710 aix3*)
11711 version_type=linux
11712 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11713 shlibpath_var=LIBPATH
11715 # AIX 3 has no versioning support, so we append a major version to the name.
11716 soname_spec='${libname}${release}${shared_ext}$major'
11719 aix[4-9]*)
11720 version_type=linux
11721 need_lib_prefix=no
11722 need_version=no
11723 hardcode_into_libs=yes
11724 if test "$host_cpu" = ia64; then
11725 # AIX 5 supports IA64
11726 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11727 shlibpath_var=LD_LIBRARY_PATH
11728 else
11729 # With GCC up to 2.95.x, collect2 would create an import file
11730 # for dependence libraries. The import file would start with
11731 # the line `#! .'. This would cause the generated library to
11732 # depend on `.', always an invalid library. This was fixed in
11733 # development snapshots of GCC prior to 3.0.
11734 case $host_os in
11735 aix4 | aix4.[01] | aix4.[01].*)
11736 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11737 echo ' yes '
11738 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11740 else
11741 can_build_shared=no
11744 esac
11745 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11746 # soname into executable. Probably we can add versioning support to
11747 # collect2, so additional links can be useful in future.
11748 if test "$aix_use_runtimelinking" = yes; then
11749 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11750 # instead of lib<name>.a to let people know that these are not
11751 # typical AIX shared libraries.
11752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11753 else
11754 # We preserve .a as extension for shared libraries through AIX4.2
11755 # and later when we are not doing run time linking.
11756 library_names_spec='${libname}${release}.a $libname.a'
11757 soname_spec='${libname}${release}${shared_ext}$major'
11759 shlibpath_var=LIBPATH
11763 amigaos*)
11764 case $host_cpu in
11765 powerpc)
11766 # Since July 2007 AmigaOS4 officially supports .so libraries.
11767 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11770 m68k)
11771 library_names_spec='$libname.ixlibrary $libname.a'
11772 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11773 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'
11775 esac
11778 beos*)
11779 library_names_spec='${libname}${shared_ext}'
11780 dynamic_linker="$host_os ld.so"
11781 shlibpath_var=LIBRARY_PATH
11784 bsdi[45]*)
11785 version_type=linux
11786 need_version=no
11787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11788 soname_spec='${libname}${release}${shared_ext}$major'
11789 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11790 shlibpath_var=LD_LIBRARY_PATH
11791 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11792 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11793 # the default ld.so.conf also contains /usr/contrib/lib and
11794 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11795 # libtool to hard-code these into programs
11798 cygwin* | mingw* | pw32* | cegcc*)
11799 version_type=windows
11800 shrext_cmds=".dll"
11801 need_version=no
11802 need_lib_prefix=no
11804 case $GCC,$host_os in
11805 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11806 library_names_spec='$libname.dll.a'
11807 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11808 postinstall_cmds='base_file=`basename \${file}`~
11809 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11810 dldir=$destdir/`dirname \$dlpath`~
11811 test -d \$dldir || mkdir -p \$dldir~
11812 $install_prog $dir/$dlname \$dldir/$dlname~
11813 chmod a+x \$dldir/$dlname~
11814 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11815 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11817 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11818 dlpath=$dir/\$dldll~
11819 $RM \$dlpath'
11820 shlibpath_overrides_runpath=yes
11822 case $host_os in
11823 cygwin*)
11824 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11825 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11827 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11829 mingw* | cegcc*)
11830 # MinGW DLLs use traditional 'lib' prefix
11831 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11833 pw32*)
11834 # pw32 DLLs use 'pw' prefix rather than 'lib'
11835 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11837 esac
11841 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11843 esac
11844 dynamic_linker='Win32 ld.exe'
11845 # FIXME: first we should search . and the directory the executable is in
11846 shlibpath_var=PATH
11849 darwin* | rhapsody*)
11850 dynamic_linker="$host_os dyld"
11851 version_type=darwin
11852 need_lib_prefix=no
11853 need_version=no
11854 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11855 soname_spec='${libname}${release}${major}$shared_ext'
11856 shlibpath_overrides_runpath=yes
11857 shlibpath_var=DYLD_LIBRARY_PATH
11858 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11860 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11861 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11864 dgux*)
11865 version_type=linux
11866 need_lib_prefix=no
11867 need_version=no
11868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11869 soname_spec='${libname}${release}${shared_ext}$major'
11870 shlibpath_var=LD_LIBRARY_PATH
11873 freebsd* | dragonfly*)
11874 # DragonFly does not have aout. When/if they implement a new
11875 # versioning mechanism, adjust this.
11876 if test -x /usr/bin/objformat; then
11877 objformat=`/usr/bin/objformat`
11878 else
11879 case $host_os in
11880 freebsd[23].*) objformat=aout ;;
11881 *) objformat=elf ;;
11882 esac
11884 version_type=freebsd-$objformat
11885 case $version_type in
11886 freebsd-elf*)
11887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11888 need_version=no
11889 need_lib_prefix=no
11891 freebsd-*)
11892 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11893 need_version=yes
11895 esac
11896 shlibpath_var=LD_LIBRARY_PATH
11897 case $host_os in
11898 freebsd2.*)
11899 shlibpath_overrides_runpath=yes
11901 freebsd3.[01]* | freebsdelf3.[01]*)
11902 shlibpath_overrides_runpath=yes
11903 hardcode_into_libs=yes
11905 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11906 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11907 shlibpath_overrides_runpath=no
11908 hardcode_into_libs=yes
11910 *) # from 4.6 on, and DragonFly
11911 shlibpath_overrides_runpath=yes
11912 hardcode_into_libs=yes
11914 esac
11917 haiku*)
11918 version_type=linux
11919 need_lib_prefix=no
11920 need_version=no
11921 dynamic_linker="$host_os runtime_loader"
11922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11923 soname_spec='${libname}${release}${shared_ext}$major'
11924 shlibpath_var=LIBRARY_PATH
11925 shlibpath_overrides_runpath=yes
11926 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11927 hardcode_into_libs=yes
11930 hpux9* | hpux10* | hpux11*)
11931 # Give a soname corresponding to the major version so that dld.sl refuses to
11932 # link against other versions.
11933 version_type=sunos
11934 need_lib_prefix=no
11935 need_version=no
11936 case $host_cpu in
11937 ia64*)
11938 shrext_cmds='.so'
11939 hardcode_into_libs=yes
11940 dynamic_linker="$host_os dld.so"
11941 shlibpath_var=LD_LIBRARY_PATH
11942 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11944 soname_spec='${libname}${release}${shared_ext}$major'
11945 if test "X$HPUX_IA64_MODE" = X32; then
11946 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11947 else
11948 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11950 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11952 hppa*64*)
11953 shrext_cmds='.sl'
11954 hardcode_into_libs=yes
11955 dynamic_linker="$host_os dld.sl"
11956 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11957 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11959 soname_spec='${libname}${release}${shared_ext}$major'
11960 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11961 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11964 shrext_cmds='.sl'
11965 dynamic_linker="$host_os dld.sl"
11966 shlibpath_var=SHLIB_PATH
11967 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11969 soname_spec='${libname}${release}${shared_ext}$major'
11971 esac
11972 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11973 postinstall_cmds='chmod 555 $lib'
11974 # or fails outright, so override atomically:
11975 install_override_mode=555
11978 interix[3-9]*)
11979 version_type=linux
11980 need_lib_prefix=no
11981 need_version=no
11982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11983 soname_spec='${libname}${release}${shared_ext}$major'
11984 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11985 shlibpath_var=LD_LIBRARY_PATH
11986 shlibpath_overrides_runpath=no
11987 hardcode_into_libs=yes
11990 irix5* | irix6* | nonstopux*)
11991 case $host_os in
11992 nonstopux*) version_type=nonstopux ;;
11994 if test "$lt_cv_prog_gnu_ld" = yes; then
11995 version_type=linux
11996 else
11997 version_type=irix
11998 fi ;;
11999 esac
12000 need_lib_prefix=no
12001 need_version=no
12002 soname_spec='${libname}${release}${shared_ext}$major'
12003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12004 case $host_os in
12005 irix5* | nonstopux*)
12006 libsuff= shlibsuff=
12009 case $LD in # libtool.m4 will add one of these switches to LD
12010 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12011 libsuff= shlibsuff= libmagic=32-bit;;
12012 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12013 libsuff=32 shlibsuff=N32 libmagic=N32;;
12014 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12015 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12016 *) libsuff= shlibsuff= libmagic=never-match;;
12017 esac
12019 esac
12020 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12021 shlibpath_overrides_runpath=no
12022 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12023 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12024 hardcode_into_libs=yes
12027 # No shared lib support for Linux oldld, aout, or coff.
12028 linux*oldld* | linux*aout* | linux*coff*)
12029 dynamic_linker=no
12032 # This must be Linux ELF.
12034 # uclinux* changes (here and below) have been submitted to the libtool
12035 # project, but have not yet been accepted: they are GCC-local changes
12036 # for the time being. (See
12037 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12038 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12039 version_type=linux
12040 need_lib_prefix=no
12041 need_version=no
12042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12043 soname_spec='${libname}${release}${shared_ext}$major'
12044 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12045 shlibpath_var=LD_LIBRARY_PATH
12046 shlibpath_overrides_runpath=no
12048 # Some binutils ld are patched to set DT_RUNPATH
12049 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12050 $as_echo_n "(cached) " >&6
12051 else
12052 lt_cv_shlibpath_overrides_runpath=no
12053 save_LDFLAGS=$LDFLAGS
12054 save_libdir=$libdir
12055 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12056 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12057 if test x$gcc_no_link = xyes; then
12058 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12064 main ()
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"; then :
12072 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12073 lt_cv_shlibpath_overrides_runpath=yes
12076 rm -f core conftest.err conftest.$ac_objext \
12077 conftest$ac_exeext conftest.$ac_ext
12078 LDFLAGS=$save_LDFLAGS
12079 libdir=$save_libdir
12083 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12085 # This implies no fast_install, which is unacceptable.
12086 # Some rework will be needed to allow for fast_install
12087 # before this can be enabled.
12088 hardcode_into_libs=yes
12090 # Append ld.so.conf contents to the search path
12091 if test -f /etc/ld.so.conf; then
12092 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' ' '`
12093 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12096 # We used to test for /lib/ld.so.1 and disable shared libraries on
12097 # powerpc, because MkLinux only supported shared libraries with the
12098 # GNU dynamic linker. Since this was broken with cross compilers,
12099 # most powerpc-linux boxes support dynamic linking these days and
12100 # people can always --disable-shared, the test was removed, and we
12101 # assume the GNU/Linux dynamic linker is in use.
12102 dynamic_linker='GNU/Linux ld.so'
12105 netbsd*)
12106 version_type=sunos
12107 need_lib_prefix=no
12108 need_version=no
12109 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12111 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12112 dynamic_linker='NetBSD (a.out) ld.so'
12113 else
12114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12115 soname_spec='${libname}${release}${shared_ext}$major'
12116 dynamic_linker='NetBSD ld.elf_so'
12118 shlibpath_var=LD_LIBRARY_PATH
12119 shlibpath_overrides_runpath=yes
12120 hardcode_into_libs=yes
12123 newsos6)
12124 version_type=linux
12125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12126 shlibpath_var=LD_LIBRARY_PATH
12127 shlibpath_overrides_runpath=yes
12130 *nto* | *qnx*)
12131 version_type=qnx
12132 need_lib_prefix=no
12133 need_version=no
12134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12135 soname_spec='${libname}${release}${shared_ext}$major'
12136 shlibpath_var=LD_LIBRARY_PATH
12137 shlibpath_overrides_runpath=no
12138 hardcode_into_libs=yes
12139 dynamic_linker='ldqnx.so'
12142 openbsd*)
12143 version_type=sunos
12144 sys_lib_dlsearch_path_spec="/usr/lib"
12145 need_lib_prefix=no
12146 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12147 case $host_os in
12148 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12149 *) need_version=no ;;
12150 esac
12151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12152 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12153 shlibpath_var=LD_LIBRARY_PATH
12154 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12155 case $host_os in
12156 openbsd2.[89] | openbsd2.[89].*)
12157 shlibpath_overrides_runpath=no
12160 shlibpath_overrides_runpath=yes
12162 esac
12163 else
12164 shlibpath_overrides_runpath=yes
12168 os2*)
12169 libname_spec='$name'
12170 shrext_cmds=".dll"
12171 need_lib_prefix=no
12172 library_names_spec='$libname${shared_ext} $libname.a'
12173 dynamic_linker='OS/2 ld.exe'
12174 shlibpath_var=LIBPATH
12177 osf3* | osf4* | osf5*)
12178 version_type=osf
12179 need_lib_prefix=no
12180 need_version=no
12181 soname_spec='${libname}${release}${shared_ext}$major'
12182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12183 shlibpath_var=LD_LIBRARY_PATH
12184 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12185 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12188 rdos*)
12189 dynamic_linker=no
12192 solaris*)
12193 version_type=linux
12194 need_lib_prefix=no
12195 need_version=no
12196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12197 soname_spec='${libname}${release}${shared_ext}$major'
12198 shlibpath_var=LD_LIBRARY_PATH
12199 shlibpath_overrides_runpath=yes
12200 hardcode_into_libs=yes
12201 # ldd complains unless libraries are executable
12202 postinstall_cmds='chmod +x $lib'
12205 sunos4*)
12206 version_type=sunos
12207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12208 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12209 shlibpath_var=LD_LIBRARY_PATH
12210 shlibpath_overrides_runpath=yes
12211 if test "$with_gnu_ld" = yes; then
12212 need_lib_prefix=no
12214 need_version=yes
12217 sysv4 | sysv4.3*)
12218 version_type=linux
12219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12220 soname_spec='${libname}${release}${shared_ext}$major'
12221 shlibpath_var=LD_LIBRARY_PATH
12222 case $host_vendor in
12223 sni)
12224 shlibpath_overrides_runpath=no
12225 need_lib_prefix=no
12226 runpath_var=LD_RUN_PATH
12228 siemens)
12229 need_lib_prefix=no
12231 motorola)
12232 need_lib_prefix=no
12233 need_version=no
12234 shlibpath_overrides_runpath=no
12235 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12237 esac
12240 sysv4*MP*)
12241 if test -d /usr/nec ;then
12242 version_type=linux
12243 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12244 soname_spec='$libname${shared_ext}.$major'
12245 shlibpath_var=LD_LIBRARY_PATH
12249 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12250 version_type=freebsd-elf
12251 need_lib_prefix=no
12252 need_version=no
12253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12254 soname_spec='${libname}${release}${shared_ext}$major'
12255 shlibpath_var=LD_LIBRARY_PATH
12256 shlibpath_overrides_runpath=yes
12257 hardcode_into_libs=yes
12258 if test "$with_gnu_ld" = yes; then
12259 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12260 else
12261 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12262 case $host_os in
12263 sco3.2v5*)
12264 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12266 esac
12268 sys_lib_dlsearch_path_spec='/usr/lib'
12271 tpf*)
12272 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12273 version_type=linux
12274 need_lib_prefix=no
12275 need_version=no
12276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12277 shlibpath_var=LD_LIBRARY_PATH
12278 shlibpath_overrides_runpath=no
12279 hardcode_into_libs=yes
12282 uts4*)
12283 version_type=linux
12284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12285 soname_spec='${libname}${release}${shared_ext}$major'
12286 shlibpath_var=LD_LIBRARY_PATH
12289 # Shared libraries for VwWorks, >= 7 only at this stage
12290 # and (fpic) still incompatible with "large" code models
12291 # in a few configurations. Only for RTP mode in any case,
12292 # and upon explicit request at configure time.
12293 vxworks7*)
12294 dynamic_linker=no
12295 case ${with_multisubdir}-${enable_shared} in
12296 *large*)
12298 *mrtp*-yes)
12299 version_type=linux
12300 need_lib_prefix=no
12301 need_version=no
12302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12303 soname_spec='${libname}${release}${shared_ext}$major'
12304 dynamic_linker="$host_os module_loader"
12306 esac
12309 dynamic_linker=no
12311 esac
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12313 $as_echo "$dynamic_linker" >&6; }
12314 test "$dynamic_linker" = no && can_build_shared=no
12316 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12317 if test "$GCC" = yes; then
12318 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12321 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12322 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12324 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12325 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12420 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12421 hardcode_action=
12422 if test -n "$hardcode_libdir_flag_spec" ||
12423 test -n "$runpath_var" ||
12424 test "X$hardcode_automatic" = "Xyes" ; then
12426 # We can hardcode non-existent directories.
12427 if test "$hardcode_direct" != no &&
12428 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12429 # have to relink, otherwise we might link with an installed library
12430 # when we should be linking with a yet-to-be-installed one
12431 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12432 test "$hardcode_minus_L" != no; then
12433 # Linking always hardcodes the temporary library directory.
12434 hardcode_action=relink
12435 else
12436 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12437 hardcode_action=immediate
12439 else
12440 # We cannot hardcode anything, or else we can only hardcode existing
12441 # directories.
12442 hardcode_action=unsupported
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12445 $as_echo "$hardcode_action" >&6; }
12447 if test "$hardcode_action" = relink ||
12448 test "$inherit_rpath" = yes; then
12449 # Fast installation is not supported
12450 enable_fast_install=no
12451 elif test "$shlibpath_overrides_runpath" = yes ||
12452 test "$enable_shared" = no; then
12453 # Fast installation is not necessary
12454 enable_fast_install=needless
12462 if test "x$enable_dlopen" != xyes; then
12463 enable_dlopen=unknown
12464 enable_dlopen_self=unknown
12465 enable_dlopen_self_static=unknown
12466 else
12467 lt_cv_dlopen=no
12468 lt_cv_dlopen_libs=
12470 case $host_os in
12471 beos*)
12472 lt_cv_dlopen="load_add_on"
12473 lt_cv_dlopen_libs=
12474 lt_cv_dlopen_self=yes
12477 mingw* | pw32* | cegcc*)
12478 lt_cv_dlopen="LoadLibrary"
12479 lt_cv_dlopen_libs=
12482 cygwin*)
12483 lt_cv_dlopen="dlopen"
12484 lt_cv_dlopen_libs=
12487 darwin*)
12488 # if libdl is installed we need to link against it
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12490 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12491 if ${ac_cv_lib_dl_dlopen+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_check_lib_save_LIBS=$LIBS
12495 LIBS="-ldl $LIBS"
12496 if test x$gcc_no_link = xyes; then
12497 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12502 /* Override any GCC internal prototype to avoid an error.
12503 Use char because int might match the return type of a GCC
12504 builtin and then its argument prototype would still apply. */
12505 #ifdef __cplusplus
12506 extern "C"
12507 #endif
12508 char dlopen ();
12510 main ()
12512 return dlopen ();
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_link "$LINENO"; then :
12518 ac_cv_lib_dl_dlopen=yes
12519 else
12520 ac_cv_lib_dl_dlopen=no
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 LIBS=$ac_check_lib_save_LIBS
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12527 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12528 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12529 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12530 else
12532 lt_cv_dlopen="dyld"
12533 lt_cv_dlopen_libs=
12534 lt_cv_dlopen_self=yes
12541 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12542 if test "x$ac_cv_func_shl_load" = xyes; then :
12543 lt_cv_dlopen="shl_load"
12544 else
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12546 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12547 if ${ac_cv_lib_dld_shl_load+:} false; then :
12548 $as_echo_n "(cached) " >&6
12549 else
12550 ac_check_lib_save_LIBS=$LIBS
12551 LIBS="-ldld $LIBS"
12552 if test x$gcc_no_link = xyes; then
12553 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12561 #ifdef __cplusplus
12562 extern "C"
12563 #endif
12564 char shl_load ();
12566 main ()
12568 return shl_load ();
12570 return 0;
12572 _ACEOF
12573 if ac_fn_c_try_link "$LINENO"; then :
12574 ac_cv_lib_dld_shl_load=yes
12575 else
12576 ac_cv_lib_dld_shl_load=no
12578 rm -f core conftest.err conftest.$ac_objext \
12579 conftest$ac_exeext conftest.$ac_ext
12580 LIBS=$ac_check_lib_save_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12583 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12584 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12585 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12586 else
12587 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12588 if test "x$ac_cv_func_dlopen" = xyes; then :
12589 lt_cv_dlopen="dlopen"
12590 else
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12592 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12593 if ${ac_cv_lib_dl_dlopen+:} false; then :
12594 $as_echo_n "(cached) " >&6
12595 else
12596 ac_check_lib_save_LIBS=$LIBS
12597 LIBS="-ldl $LIBS"
12598 if test x$gcc_no_link = xyes; then
12599 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12604 /* Override any GCC internal prototype to avoid an error.
12605 Use char because int might match the return type of a GCC
12606 builtin and then its argument prototype would still apply. */
12607 #ifdef __cplusplus
12608 extern "C"
12609 #endif
12610 char dlopen ();
12612 main ()
12614 return dlopen ();
12616 return 0;
12618 _ACEOF
12619 if ac_fn_c_try_link "$LINENO"; then :
12620 ac_cv_lib_dl_dlopen=yes
12621 else
12622 ac_cv_lib_dl_dlopen=no
12624 rm -f core conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
12626 LIBS=$ac_check_lib_save_LIBS
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12629 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12630 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12631 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12632 else
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12634 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12635 if ${ac_cv_lib_svld_dlopen+:} false; then :
12636 $as_echo_n "(cached) " >&6
12637 else
12638 ac_check_lib_save_LIBS=$LIBS
12639 LIBS="-lsvld $LIBS"
12640 if test x$gcc_no_link = xyes; then
12641 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12649 #ifdef __cplusplus
12650 extern "C"
12651 #endif
12652 char dlopen ();
12654 main ()
12656 return dlopen ();
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"; then :
12662 ac_cv_lib_svld_dlopen=yes
12663 else
12664 ac_cv_lib_svld_dlopen=no
12666 rm -f core conftest.err conftest.$ac_objext \
12667 conftest$ac_exeext conftest.$ac_ext
12668 LIBS=$ac_check_lib_save_LIBS
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12671 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12672 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12673 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12674 else
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12676 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12677 if ${ac_cv_lib_dld_dld_link+:} false; then :
12678 $as_echo_n "(cached) " >&6
12679 else
12680 ac_check_lib_save_LIBS=$LIBS
12681 LIBS="-ldld $LIBS"
12682 if test x$gcc_no_link = xyes; then
12683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char dld_link ();
12696 main ()
12698 return dld_link ();
12700 return 0;
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704 ac_cv_lib_dld_dld_link=yes
12705 else
12706 ac_cv_lib_dld_dld_link=no
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12713 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12714 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12715 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12734 esac
12736 if test "x$lt_cv_dlopen" != xno; then
12737 enable_dlopen=yes
12738 else
12739 enable_dlopen=no
12742 case $lt_cv_dlopen in
12743 dlopen)
12744 save_CPPFLAGS="$CPPFLAGS"
12745 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12747 save_LDFLAGS="$LDFLAGS"
12748 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12750 save_LIBS="$LIBS"
12751 LIBS="$lt_cv_dlopen_libs $LIBS"
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12754 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12755 if ${lt_cv_dlopen_self+:} false; then :
12756 $as_echo_n "(cached) " >&6
12757 else
12758 if test "$cross_compiling" = yes; then :
12759 lt_cv_dlopen_self=cross
12760 else
12761 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12762 lt_status=$lt_dlunknown
12763 cat > conftest.$ac_ext <<_LT_EOF
12764 #line 12764 "configure"
12765 #include "confdefs.h"
12767 #if HAVE_DLFCN_H
12768 #include <dlfcn.h>
12769 #endif
12771 #include <stdio.h>
12773 #ifdef RTLD_GLOBAL
12774 # define LT_DLGLOBAL RTLD_GLOBAL
12775 #else
12776 # ifdef DL_GLOBAL
12777 # define LT_DLGLOBAL DL_GLOBAL
12778 # else
12779 # define LT_DLGLOBAL 0
12780 # endif
12781 #endif
12783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12784 find out it does not work in some platform. */
12785 #ifndef LT_DLLAZY_OR_NOW
12786 # ifdef RTLD_LAZY
12787 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12788 # else
12789 # ifdef DL_LAZY
12790 # define LT_DLLAZY_OR_NOW DL_LAZY
12791 # else
12792 # ifdef RTLD_NOW
12793 # define LT_DLLAZY_OR_NOW RTLD_NOW
12794 # else
12795 # ifdef DL_NOW
12796 # define LT_DLLAZY_OR_NOW DL_NOW
12797 # else
12798 # define LT_DLLAZY_OR_NOW 0
12799 # endif
12800 # endif
12801 # endif
12802 # endif
12803 #endif
12805 /* When -fvisbility=hidden is used, assume the code has been annotated
12806 correspondingly for the symbols needed. */
12807 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12808 void fnord () __attribute__((visibility("default")));
12809 #endif
12811 void fnord () { int i=42; }
12812 int main ()
12814 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12815 int status = $lt_dlunknown;
12817 if (self)
12819 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12820 else
12822 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12823 else puts (dlerror ());
12825 /* dlclose (self); */
12827 else
12828 puts (dlerror ());
12830 return status;
12832 _LT_EOF
12833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12834 (eval $ac_link) 2>&5
12835 ac_status=$?
12836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12837 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12838 (./conftest; exit; ) >&5 2>/dev/null
12839 lt_status=$?
12840 case x$lt_status in
12841 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12842 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12843 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12844 esac
12845 else :
12846 # compilation failed
12847 lt_cv_dlopen_self=no
12850 rm -fr conftest*
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12855 $as_echo "$lt_cv_dlopen_self" >&6; }
12857 if test "x$lt_cv_dlopen_self" = xyes; then
12858 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12860 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12861 if ${lt_cv_dlopen_self_static+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 if test "$cross_compiling" = yes; then :
12865 lt_cv_dlopen_self_static=cross
12866 else
12867 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12868 lt_status=$lt_dlunknown
12869 cat > conftest.$ac_ext <<_LT_EOF
12870 #line 12870 "configure"
12871 #include "confdefs.h"
12873 #if HAVE_DLFCN_H
12874 #include <dlfcn.h>
12875 #endif
12877 #include <stdio.h>
12879 #ifdef RTLD_GLOBAL
12880 # define LT_DLGLOBAL RTLD_GLOBAL
12881 #else
12882 # ifdef DL_GLOBAL
12883 # define LT_DLGLOBAL DL_GLOBAL
12884 # else
12885 # define LT_DLGLOBAL 0
12886 # endif
12887 #endif
12889 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12890 find out it does not work in some platform. */
12891 #ifndef LT_DLLAZY_OR_NOW
12892 # ifdef RTLD_LAZY
12893 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12894 # else
12895 # ifdef DL_LAZY
12896 # define LT_DLLAZY_OR_NOW DL_LAZY
12897 # else
12898 # ifdef RTLD_NOW
12899 # define LT_DLLAZY_OR_NOW RTLD_NOW
12900 # else
12901 # ifdef DL_NOW
12902 # define LT_DLLAZY_OR_NOW DL_NOW
12903 # else
12904 # define LT_DLLAZY_OR_NOW 0
12905 # endif
12906 # endif
12907 # endif
12908 # endif
12909 #endif
12911 /* When -fvisbility=hidden is used, assume the code has been annotated
12912 correspondingly for the symbols needed. */
12913 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12914 void fnord () __attribute__((visibility("default")));
12915 #endif
12917 void fnord () { int i=42; }
12918 int main ()
12920 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12921 int status = $lt_dlunknown;
12923 if (self)
12925 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12926 else
12928 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12929 else puts (dlerror ());
12931 /* dlclose (self); */
12933 else
12934 puts (dlerror ());
12936 return status;
12938 _LT_EOF
12939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12940 (eval $ac_link) 2>&5
12941 ac_status=$?
12942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12944 (./conftest; exit; ) >&5 2>/dev/null
12945 lt_status=$?
12946 case x$lt_status in
12947 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12948 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12949 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12950 esac
12951 else :
12952 # compilation failed
12953 lt_cv_dlopen_self_static=no
12956 rm -fr conftest*
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12961 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12964 CPPFLAGS="$save_CPPFLAGS"
12965 LDFLAGS="$save_LDFLAGS"
12966 LIBS="$save_LIBS"
12968 esac
12970 case $lt_cv_dlopen_self in
12971 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12972 *) enable_dlopen_self=unknown ;;
12973 esac
12975 case $lt_cv_dlopen_self_static in
12976 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12977 *) enable_dlopen_self_static=unknown ;;
12978 esac
12997 striplib=
12998 old_striplib=
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13000 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13001 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13002 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13003 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13005 $as_echo "yes" >&6; }
13006 else
13007 # FIXME - insert some real tests, host_os isn't really good enough
13008 case $host_os in
13009 darwin*)
13010 if test -n "$STRIP" ; then
13011 striplib="$STRIP -x"
13012 old_striplib="$STRIP -S"
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13014 $as_echo "yes" >&6; }
13015 else
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13017 $as_echo "no" >&6; }
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13022 $as_echo "no" >&6; }
13024 esac
13038 # Report which library types will actually be built
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13040 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13042 $as_echo "$can_build_shared" >&6; }
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13045 $as_echo_n "checking whether to build shared libraries... " >&6; }
13046 test "$can_build_shared" = "no" && enable_shared=no
13048 # On AIX, shared libraries and static libraries use the same namespace, and
13049 # are all built from PIC.
13050 case $host_os in
13051 aix3*)
13052 test "$enable_shared" = yes && enable_static=no
13053 if test -n "$RANLIB"; then
13054 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13055 postinstall_cmds='$RANLIB $lib'
13059 aix[4-9]*)
13060 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13061 test "$enable_shared" = yes && enable_static=no
13064 esac
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13066 $as_echo "$enable_shared" >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13069 $as_echo_n "checking whether to build static libraries... " >&6; }
13070 # Make sure either enable_shared or enable_static is yes.
13071 test "$enable_shared" = yes || enable_static=yes
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13073 $as_echo "$enable_static" >&6; }
13079 ac_ext=c
13080 ac_cpp='$CPP $CPPFLAGS'
13081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13085 CC="$lt_save_CC"
13099 ac_config_commands="$ac_config_commands libtool"
13104 # Only expand once:
13107 LIBM=
13108 case $host in
13109 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13110 # These system don't have libm, or don't need it
13112 *-ncr-sysv4.3*)
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13114 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13115 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13116 $as_echo_n "(cached) " >&6
13117 else
13118 ac_check_lib_save_LIBS=$LIBS
13119 LIBS="-lmw $LIBS"
13120 if test x$gcc_no_link = xyes; then
13121 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 #ifdef __cplusplus
13130 extern "C"
13131 #endif
13132 char _mwvalidcheckl ();
13134 main ()
13136 return _mwvalidcheckl ();
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_link "$LINENO"; then :
13142 ac_cv_lib_mw__mwvalidcheckl=yes
13143 else
13144 ac_cv_lib_mw__mwvalidcheckl=no
13146 rm -f core conftest.err conftest.$ac_objext \
13147 conftest$ac_exeext conftest.$ac_ext
13148 LIBS=$ac_check_lib_save_LIBS
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13151 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13152 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13153 LIBM="-lmw"
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13157 $as_echo_n "checking for cos in -lm... " >&6; }
13158 if ${ac_cv_lib_m_cos+:} false; then :
13159 $as_echo_n "(cached) " >&6
13160 else
13161 ac_check_lib_save_LIBS=$LIBS
13162 LIBS="-lm $LIBS"
13163 if test x$gcc_no_link = xyes; then
13164 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13169 /* Override any GCC internal prototype to avoid an error.
13170 Use char because int might match the return type of a GCC
13171 builtin and then its argument prototype would still apply. */
13172 #ifdef __cplusplus
13173 extern "C"
13174 #endif
13175 char cos ();
13177 main ()
13179 return cos ();
13181 return 0;
13183 _ACEOF
13184 if ac_fn_c_try_link "$LINENO"; then :
13185 ac_cv_lib_m_cos=yes
13186 else
13187 ac_cv_lib_m_cos=no
13189 rm -f core conftest.err conftest.$ac_objext \
13190 conftest$ac_exeext conftest.$ac_ext
13191 LIBS=$ac_check_lib_save_LIBS
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13194 $as_echo "$ac_cv_lib_m_cos" >&6; }
13195 if test "x$ac_cv_lib_m_cos" = xyes; then :
13196 LIBM="$LIBM -lm"
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13202 $as_echo_n "checking for cos in -lm... " >&6; }
13203 if ${ac_cv_lib_m_cos+:} false; then :
13204 $as_echo_n "(cached) " >&6
13205 else
13206 ac_check_lib_save_LIBS=$LIBS
13207 LIBS="-lm $LIBS"
13208 if test x$gcc_no_link = xyes; then
13209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13217 #ifdef __cplusplus
13218 extern "C"
13219 #endif
13220 char cos ();
13222 main ()
13224 return cos ();
13226 return 0;
13228 _ACEOF
13229 if ac_fn_c_try_link "$LINENO"; then :
13230 ac_cv_lib_m_cos=yes
13231 else
13232 ac_cv_lib_m_cos=no
13234 rm -f core conftest.err conftest.$ac_objext \
13235 conftest$ac_exeext conftest.$ac_ext
13236 LIBS=$ac_check_lib_save_LIBS
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13239 $as_echo "$ac_cv_lib_m_cos" >&6; }
13240 if test "x$ac_cv_lib_m_cos" = xyes; then :
13241 LIBM="-lm"
13245 esac
13251 case $host in
13252 *-cygwin* | *-mingw*)
13253 # 'host' will be top-level target in the case of a target lib,
13254 # we must compare to with_cross_host to decide if this is a native
13255 # or cross-compiler and select where to install dlls appropriately.
13256 if test -n "$with_cross_host" &&
13257 test x"$with_cross_host" != x"no"; then
13258 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13259 else
13260 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13264 lt_host_flags=
13266 esac
13272 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13274 # We need gfortran to compile parts of the library
13275 #AC_PROG_FC(gfortran)
13276 FC="$GFORTRAN"
13277 ac_ext=${ac_fc_srcext-f}
13278 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13279 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13280 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13281 if test -n "$ac_tool_prefix"; then
13282 for ac_prog in gfortran
13284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13285 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13287 $as_echo_n "checking for $ac_word... " >&6; }
13288 if ${ac_cv_prog_FC+:} false; then :
13289 $as_echo_n "(cached) " >&6
13290 else
13291 if test -n "$FC"; then
13292 ac_cv_prog_FC="$FC" # Let the user override the test.
13293 else
13294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13295 for as_dir in $PATH
13297 IFS=$as_save_IFS
13298 test -z "$as_dir" && as_dir=.
13299 for ac_exec_ext in '' $ac_executable_extensions; do
13300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13301 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13303 break 2
13305 done
13306 done
13307 IFS=$as_save_IFS
13311 FC=$ac_cv_prog_FC
13312 if test -n "$FC"; then
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13314 $as_echo "$FC" >&6; }
13315 else
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13317 $as_echo "no" >&6; }
13321 test -n "$FC" && break
13322 done
13324 if test -z "$FC"; then
13325 ac_ct_FC=$FC
13326 for ac_prog in gfortran
13328 # Extract the first word of "$ac_prog", so it can be a program name with args.
13329 set dummy $ac_prog; ac_word=$2
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13331 $as_echo_n "checking for $ac_word... " >&6; }
13332 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13333 $as_echo_n "(cached) " >&6
13334 else
13335 if test -n "$ac_ct_FC"; then
13336 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13337 else
13338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13339 for as_dir in $PATH
13341 IFS=$as_save_IFS
13342 test -z "$as_dir" && as_dir=.
13343 for ac_exec_ext in '' $ac_executable_extensions; do
13344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13345 ac_cv_prog_ac_ct_FC="$ac_prog"
13346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13347 break 2
13349 done
13350 done
13351 IFS=$as_save_IFS
13355 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13356 if test -n "$ac_ct_FC"; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13358 $as_echo "$ac_ct_FC" >&6; }
13359 else
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13361 $as_echo "no" >&6; }
13365 test -n "$ac_ct_FC" && break
13366 done
13368 if test "x$ac_ct_FC" = x; then
13369 FC=""
13370 else
13371 case $cross_compiling:$ac_tool_warned in
13372 yes:)
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13375 ac_tool_warned=yes ;;
13376 esac
13377 FC=$ac_ct_FC
13382 # Provide some information about the compiler.
13383 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13384 set X $ac_compile
13385 ac_compiler=$2
13386 for ac_option in --version -v -V -qversion; do
13387 { { ac_try="$ac_compiler $ac_option >&5"
13388 case "(($ac_try" in
13389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13390 *) ac_try_echo=$ac_try;;
13391 esac
13392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13393 $as_echo "$ac_try_echo"; } >&5
13394 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13395 ac_status=$?
13396 if test -s conftest.err; then
13397 sed '10a\
13398 ... rest of stderr output deleted ...
13399 10q' conftest.err >conftest.er1
13400 cat conftest.er1 >&5
13402 rm -f conftest.er1 conftest.err
13403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13404 test $ac_status = 0; }
13405 done
13406 rm -f a.out
13408 # If we don't use `.F' as extension, the preprocessor is not run on the
13409 # input file. (Note that this only needs to work for GNU compilers.)
13410 ac_save_ext=$ac_ext
13411 ac_ext=F
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13413 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13414 if ${ac_cv_fc_compiler_gnu+:} false; then :
13415 $as_echo_n "(cached) " >&6
13416 else
13417 cat > conftest.$ac_ext <<_ACEOF
13418 program main
13419 #ifndef __GNUC__
13420 choke me
13421 #endif
13424 _ACEOF
13425 if ac_fn_fc_try_compile "$LINENO"; then :
13426 ac_compiler_gnu=yes
13427 else
13428 ac_compiler_gnu=no
13430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13431 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13435 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13436 ac_ext=$ac_save_ext
13437 ac_test_FCFLAGS=${FCFLAGS+set}
13438 ac_save_FCFLAGS=$FCFLAGS
13439 FCFLAGS=
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13441 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13442 if ${ac_cv_prog_fc_g+:} false; then :
13443 $as_echo_n "(cached) " >&6
13444 else
13445 FCFLAGS=-g
13446 cat > conftest.$ac_ext <<_ACEOF
13447 program main
13450 _ACEOF
13451 if ac_fn_fc_try_compile "$LINENO"; then :
13452 ac_cv_prog_fc_g=yes
13453 else
13454 ac_cv_prog_fc_g=no
13456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13460 $as_echo "$ac_cv_prog_fc_g" >&6; }
13461 if test "$ac_test_FCFLAGS" = set; then
13462 FCFLAGS=$ac_save_FCFLAGS
13463 elif test $ac_cv_prog_fc_g = yes; then
13464 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13465 FCFLAGS="-g -O2"
13466 else
13467 FCFLAGS="-g"
13469 else
13470 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13471 FCFLAGS="-O2"
13472 else
13473 FCFLAGS=
13477 if test $ac_compiler_gnu = yes; then
13478 GFC=yes
13479 else
13480 GFC=
13482 ac_ext=c
13483 ac_cpp='$CPP $CPPFLAGS'
13484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13488 ac_ext=${ac_fc_srcext-f}
13489 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13490 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13491 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13494 if test -z "$FC" || test "X$FC" = "Xno"; then
13495 _lt_disable_FC=yes
13498 archive_cmds_need_lc_FC=no
13499 allow_undefined_flag_FC=
13500 always_export_symbols_FC=no
13501 archive_expsym_cmds_FC=
13502 export_dynamic_flag_spec_FC=
13503 hardcode_direct_FC=no
13504 hardcode_direct_absolute_FC=no
13505 hardcode_libdir_flag_spec_FC=
13506 hardcode_libdir_flag_spec_ld_FC=
13507 hardcode_libdir_separator_FC=
13508 hardcode_minus_L_FC=no
13509 hardcode_automatic_FC=no
13510 inherit_rpath_FC=no
13511 module_cmds_FC=
13512 module_expsym_cmds_FC=
13513 link_all_deplibs_FC=unknown
13514 old_archive_cmds_FC=$old_archive_cmds
13515 reload_flag_FC=$reload_flag
13516 reload_cmds_FC=$reload_cmds
13517 no_undefined_flag_FC=
13518 whole_archive_flag_spec_FC=
13519 enable_shared_with_static_runtimes_FC=no
13521 # Source file extension for fc test sources.
13522 ac_ext=${ac_fc_srcext-f}
13524 # Object file extension for compiled fc test sources.
13525 objext=o
13526 objext_FC=$objext
13528 # No sense in running all these tests if we already determined that
13529 # the FC compiler isn't working. Some variables (like enable_shared)
13530 # are currently assumed to apply to all compilers on this platform,
13531 # and will be corrupted by setting them based on a non-working compiler.
13532 if test "$_lt_disable_FC" != yes; then
13533 # Code to be used in simple compile tests
13534 lt_simple_compile_test_code="\
13535 subroutine t
13536 return
13540 # Code to be used in simple link tests
13541 lt_simple_link_test_code="\
13542 program t
13546 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13553 # If no C compiler was specified, use CC.
13554 LTCC=${LTCC-"$CC"}
13556 # If no C compiler flags were specified, use CFLAGS.
13557 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13559 # Allow CC to be a program name with arguments.
13560 compiler=$CC
13563 # save warnings/boilerplate of simple test code
13564 ac_outfile=conftest.$ac_objext
13565 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13566 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13567 _lt_compiler_boilerplate=`cat conftest.err`
13568 $RM conftest*
13570 ac_outfile=conftest.$ac_objext
13571 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13572 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13573 _lt_linker_boilerplate=`cat conftest.err`
13574 $RM -r conftest*
13577 # Allow CC to be a program name with arguments.
13578 lt_save_CC="$CC"
13579 lt_save_GCC=$GCC
13580 CC=${FC-"f95"}
13581 compiler=$CC
13582 GCC=$ac_cv_fc_compiler_gnu
13584 compiler_FC=$CC
13585 for cc_temp in $compiler""; do
13586 case $cc_temp in
13587 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13588 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13589 \-*) ;;
13590 *) break;;
13591 esac
13592 done
13593 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13596 if test -n "$compiler"; then
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13598 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13600 $as_echo "$can_build_shared" >&6; }
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13603 $as_echo_n "checking whether to build shared libraries... " >&6; }
13604 test "$can_build_shared" = "no" && enable_shared=no
13606 # On AIX, shared libraries and static libraries use the same namespace, and
13607 # are all built from PIC.
13608 case $host_os in
13609 aix3*)
13610 test "$enable_shared" = yes && enable_static=no
13611 if test -n "$RANLIB"; then
13612 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13613 postinstall_cmds='$RANLIB $lib'
13616 aix[4-9]*)
13617 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13618 test "$enable_shared" = yes && enable_static=no
13621 esac
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13623 $as_echo "$enable_shared" >&6; }
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13626 $as_echo_n "checking whether to build static libraries... " >&6; }
13627 # Make sure either enable_shared or enable_static is yes.
13628 test "$enable_shared" = yes || enable_static=yes
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13630 $as_echo "$enable_static" >&6; }
13632 GCC_FC="$ac_cv_fc_compiler_gnu"
13633 LD_FC="$LD"
13635 ## CAVEAT EMPTOR:
13636 ## There is no encapsulation within the following macros, do not change
13637 ## the running order or otherwise move them around unless you know exactly
13638 ## what you are doing...
13639 # Dependencies to place before and after the object being linked:
13640 predep_objects_FC=
13641 postdep_objects_FC=
13642 predeps_FC=
13643 postdeps_FC=
13644 compiler_lib_search_path_FC=
13646 cat > conftest.$ac_ext <<_LT_EOF
13647 subroutine foo
13648 implicit none
13649 integer a
13651 return
13653 _LT_EOF
13655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13656 (eval $ac_compile) 2>&5
13657 ac_status=$?
13658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13659 test $ac_status = 0; }; then
13660 # Parse the compiler output and extract the necessary
13661 # objects, libraries and library flags.
13663 # Sentinel used to keep track of whether or not we are before
13664 # the conftest object file.
13665 pre_test_object_deps_done=no
13667 for p in `eval "$output_verbose_link_cmd"`; do
13668 case $p in
13670 -L* | -R* | -l*)
13671 # Some compilers place space between "-{L,R}" and the path.
13672 # Remove the space.
13673 if test $p = "-L" ||
13674 test $p = "-R"; then
13675 prev=$p
13676 continue
13677 else
13678 prev=
13681 if test "$pre_test_object_deps_done" = no; then
13682 case $p in
13683 -L* | -R*)
13684 # Internal compiler library paths should come after those
13685 # provided the user. The postdeps already come after the
13686 # user supplied libs so there is no need to process them.
13687 if test -z "$compiler_lib_search_path_FC"; then
13688 compiler_lib_search_path_FC="${prev}${p}"
13689 else
13690 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13693 # The "-l" case would never come before the object being
13694 # linked, so don't bother handling this case.
13695 esac
13696 else
13697 if test -z "$postdeps_FC"; then
13698 postdeps_FC="${prev}${p}"
13699 else
13700 postdeps_FC="${postdeps_FC} ${prev}${p}"
13705 *.$objext)
13706 # This assumes that the test object file only shows up
13707 # once in the compiler output.
13708 if test "$p" = "conftest.$objext"; then
13709 pre_test_object_deps_done=yes
13710 continue
13713 if test "$pre_test_object_deps_done" = no; then
13714 if test -z "$predep_objects_FC"; then
13715 predep_objects_FC="$p"
13716 else
13717 predep_objects_FC="$predep_objects_FC $p"
13719 else
13720 if test -z "$postdep_objects_FC"; then
13721 postdep_objects_FC="$p"
13722 else
13723 postdep_objects_FC="$postdep_objects_FC $p"
13728 *) ;; # Ignore the rest.
13730 esac
13731 done
13733 # Clean up.
13734 rm -f a.out a.exe
13735 else
13736 echo "libtool.m4: error: problem compiling FC test program"
13739 $RM -f confest.$objext
13741 # PORTME: override above test on systems where it is broken
13744 case " $postdeps_FC " in
13745 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13746 esac
13747 compiler_lib_search_dirs_FC=
13748 if test -n "${compiler_lib_search_path_FC}"; then
13749 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13782 lt_prog_compiler_wl_FC=
13783 lt_prog_compiler_pic_FC=
13784 lt_prog_compiler_static_FC=
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13787 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13789 if test "$GCC" = yes; then
13790 lt_prog_compiler_wl_FC='-Wl,'
13791 lt_prog_compiler_static_FC='-static'
13793 case $host_os in
13794 aix*)
13795 # All AIX code is PIC.
13796 if test "$host_cpu" = ia64; then
13797 # AIX 5 now supports IA64 processor
13798 lt_prog_compiler_static_FC='-Bstatic'
13800 lt_prog_compiler_pic_FC='-fPIC'
13803 amigaos*)
13804 case $host_cpu in
13805 powerpc)
13806 # see comment about AmigaOS4 .so support
13807 lt_prog_compiler_pic_FC='-fPIC'
13809 m68k)
13810 # FIXME: we need at least 68020 code to build shared libraries, but
13811 # adding the `-m68020' flag to GCC prevents building anything better,
13812 # like `-m68040'.
13813 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13815 esac
13818 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13819 # PIC is the default for these OSes.
13822 mingw* | cygwin* | pw32* | os2* | cegcc*)
13823 # This hack is so that the source file can tell whether it is being
13824 # built for inclusion in a dll (and should export symbols for example).
13825 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13826 # (--disable-auto-import) libraries
13827 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13830 darwin* | rhapsody*)
13831 # PIC is the default on this platform
13832 # Common symbols not allowed in MH_DYLIB files
13833 lt_prog_compiler_pic_FC='-fno-common'
13836 haiku*)
13837 # PIC is the default for Haiku.
13838 # The "-static" flag exists, but is broken.
13839 lt_prog_compiler_static_FC=
13842 hpux*)
13843 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13844 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13845 # sets the default TLS model and affects inlining.
13846 case $host_cpu in
13847 hppa*64*)
13848 # +Z the default
13851 lt_prog_compiler_pic_FC='-fPIC'
13853 esac
13856 interix[3-9]*)
13857 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13858 # Instead, we relocate shared libraries at runtime.
13861 msdosdjgpp*)
13862 # Just because we use GCC doesn't mean we suddenly get shared libraries
13863 # on systems that don't support them.
13864 lt_prog_compiler_can_build_shared_FC=no
13865 enable_shared=no
13868 *nto* | *qnx*)
13869 # QNX uses GNU C++, but need to define -shared option too, otherwise
13870 # it will coredump.
13871 lt_prog_compiler_pic_FC='-fPIC -shared'
13874 sysv4*MP*)
13875 if test -d /usr/nec; then
13876 lt_prog_compiler_pic_FC=-Kconform_pic
13881 lt_prog_compiler_pic_FC='-fPIC'
13883 esac
13885 case $cc_basename in
13886 nvcc*) # Cuda Compiler Driver 2.2
13887 lt_prog_compiler_wl_FC='-Xlinker '
13888 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13890 esac
13891 else
13892 # PORTME Check for flag to pass linker flags through the system compiler.
13893 case $host_os in
13894 aix*)
13895 lt_prog_compiler_wl_FC='-Wl,'
13896 if test "$host_cpu" = ia64; then
13897 # AIX 5 now supports IA64 processor
13898 lt_prog_compiler_static_FC='-Bstatic'
13899 else
13900 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13904 mingw* | cygwin* | pw32* | os2* | cegcc*)
13905 # This hack is so that the source file can tell whether it is being
13906 # built for inclusion in a dll (and should export symbols for example).
13907 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13910 hpux9* | hpux10* | hpux11*)
13911 lt_prog_compiler_wl_FC='-Wl,'
13912 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13913 # not for PA HP-UX.
13914 case $host_cpu in
13915 hppa*64*|ia64*)
13916 # +Z the default
13919 lt_prog_compiler_pic_FC='+Z'
13921 esac
13922 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13923 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13926 irix5* | irix6* | nonstopux*)
13927 lt_prog_compiler_wl_FC='-Wl,'
13928 # PIC (with -KPIC) is the default.
13929 lt_prog_compiler_static_FC='-non_shared'
13932 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13933 case $cc_basename in
13934 # old Intel for x86_64 which still supported -KPIC.
13935 ecc*)
13936 lt_prog_compiler_wl_FC='-Wl,'
13937 lt_prog_compiler_pic_FC='-KPIC'
13938 lt_prog_compiler_static_FC='-static'
13940 # icc used to be incompatible with GCC.
13941 # ICC 10 doesn't accept -KPIC any more.
13942 icc* | ifort*)
13943 lt_prog_compiler_wl_FC='-Wl,'
13944 lt_prog_compiler_pic_FC='-fPIC'
13945 lt_prog_compiler_static_FC='-static'
13947 # Lahey Fortran 8.1.
13948 lf95*)
13949 lt_prog_compiler_wl_FC='-Wl,'
13950 lt_prog_compiler_pic_FC='--shared'
13951 lt_prog_compiler_static_FC='--static'
13953 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13954 # Portland Group compilers (*not* the Pentium gcc compiler,
13955 # which looks to be a dead project)
13956 lt_prog_compiler_wl_FC='-Wl,'
13957 lt_prog_compiler_pic_FC='-fpic'
13958 lt_prog_compiler_static_FC='-Bstatic'
13960 ccc*)
13961 lt_prog_compiler_wl_FC='-Wl,'
13962 # All Alpha code is PIC.
13963 lt_prog_compiler_static_FC='-non_shared'
13965 xl* | bgxl* | bgf* | mpixl*)
13966 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13967 lt_prog_compiler_wl_FC='-Wl,'
13968 lt_prog_compiler_pic_FC='-qpic'
13969 lt_prog_compiler_static_FC='-qstaticlink'
13972 case `$CC -V 2>&1 | sed 5q` in
13973 *Sun\ F* | *Sun*Fortran*)
13974 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13975 lt_prog_compiler_pic_FC='-KPIC'
13976 lt_prog_compiler_static_FC='-Bstatic'
13977 lt_prog_compiler_wl_FC=''
13979 *Sun\ C*)
13980 # Sun C 5.9
13981 lt_prog_compiler_pic_FC='-KPIC'
13982 lt_prog_compiler_static_FC='-Bstatic'
13983 lt_prog_compiler_wl_FC='-Wl,'
13985 esac
13987 esac
13990 newsos6)
13991 lt_prog_compiler_pic_FC='-KPIC'
13992 lt_prog_compiler_static_FC='-Bstatic'
13995 *nto* | *qnx*)
13996 # QNX uses GNU C++, but need to define -shared option too, otherwise
13997 # it will coredump.
13998 lt_prog_compiler_pic_FC='-fPIC -shared'
14001 osf3* | osf4* | osf5*)
14002 lt_prog_compiler_wl_FC='-Wl,'
14003 # All OSF/1 code is PIC.
14004 lt_prog_compiler_static_FC='-non_shared'
14007 rdos*)
14008 lt_prog_compiler_static_FC='-non_shared'
14011 solaris*)
14012 lt_prog_compiler_pic_FC='-KPIC'
14013 lt_prog_compiler_static_FC='-Bstatic'
14014 case $cc_basename in
14015 f77* | f90* | f95*)
14016 lt_prog_compiler_wl_FC='-Qoption ld ';;
14018 lt_prog_compiler_wl_FC='-Wl,';;
14019 esac
14022 sunos4*)
14023 lt_prog_compiler_wl_FC='-Qoption ld '
14024 lt_prog_compiler_pic_FC='-PIC'
14025 lt_prog_compiler_static_FC='-Bstatic'
14028 sysv4 | sysv4.2uw2* | sysv4.3*)
14029 lt_prog_compiler_wl_FC='-Wl,'
14030 lt_prog_compiler_pic_FC='-KPIC'
14031 lt_prog_compiler_static_FC='-Bstatic'
14034 sysv4*MP*)
14035 if test -d /usr/nec ;then
14036 lt_prog_compiler_pic_FC='-Kconform_pic'
14037 lt_prog_compiler_static_FC='-Bstatic'
14041 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14042 lt_prog_compiler_wl_FC='-Wl,'
14043 lt_prog_compiler_pic_FC='-KPIC'
14044 lt_prog_compiler_static_FC='-Bstatic'
14047 unicos*)
14048 lt_prog_compiler_wl_FC='-Wl,'
14049 lt_prog_compiler_can_build_shared_FC=no
14052 uts4*)
14053 lt_prog_compiler_pic_FC='-pic'
14054 lt_prog_compiler_static_FC='-Bstatic'
14058 lt_prog_compiler_can_build_shared_FC=no
14060 esac
14063 case $host_os in
14064 # For platforms which do not support PIC, -DPIC is meaningless:
14065 *djgpp*)
14066 lt_prog_compiler_pic_FC=
14069 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14071 esac
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14073 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14078 # Check to make sure the PIC flag actually works.
14080 if test -n "$lt_prog_compiler_pic_FC"; then
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14082 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14083 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14084 $as_echo_n "(cached) " >&6
14085 else
14086 lt_cv_prog_compiler_pic_works_FC=no
14087 ac_outfile=conftest.$ac_objext
14088 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14089 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14090 # Insert the option either (1) after the last *FLAGS variable, or
14091 # (2) before a word containing "conftest.", or (3) at the end.
14092 # Note that $ac_compile itself does not contain backslashes and begins
14093 # with a dollar sign (not a hyphen), so the echo should work correctly.
14094 # The option is referenced via a variable to avoid confusing sed.
14095 lt_compile=`echo "$ac_compile" | $SED \
14096 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14098 -e 's:$: $lt_compiler_flag:'`
14099 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14100 (eval "$lt_compile" 2>conftest.err)
14101 ac_status=$?
14102 cat conftest.err >&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 if (exit $ac_status) && test -s "$ac_outfile"; then
14105 # The compiler can only warn and ignore the option if not recognized
14106 # So say no if there are warnings other than the usual output.
14107 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14108 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14109 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14110 lt_cv_prog_compiler_pic_works_FC=yes
14113 $RM conftest*
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14117 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14119 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14120 case $lt_prog_compiler_pic_FC in
14121 "" | " "*) ;;
14122 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14123 esac
14124 else
14125 lt_prog_compiler_pic_FC=
14126 lt_prog_compiler_can_build_shared_FC=no
14134 # Check to make sure the static flag actually works.
14136 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14138 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14139 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14140 $as_echo_n "(cached) " >&6
14141 else
14142 lt_cv_prog_compiler_static_works_FC=no
14143 save_LDFLAGS="$LDFLAGS"
14144 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14145 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14146 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14147 # The linker can only warn and ignore the option if not recognized
14148 # So say no if there are warnings
14149 if test -s conftest.err; then
14150 # Append any errors to the config.log.
14151 cat conftest.err 1>&5
14152 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14153 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14154 if diff conftest.exp conftest.er2 >/dev/null; then
14155 lt_cv_prog_compiler_static_works_FC=yes
14157 else
14158 lt_cv_prog_compiler_static_works_FC=yes
14161 $RM -r conftest*
14162 LDFLAGS="$save_LDFLAGS"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14166 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14168 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14170 else
14171 lt_prog_compiler_static_FC=
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14178 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14179 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14180 $as_echo_n "(cached) " >&6
14181 else
14182 lt_cv_prog_compiler_c_o_FC=no
14183 $RM -r conftest 2>/dev/null
14184 mkdir conftest
14185 cd conftest
14186 mkdir out
14187 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14189 lt_compiler_flag="-o out/conftest2.$ac_objext"
14190 # Insert the option either (1) after the last *FLAGS variable, or
14191 # (2) before a word containing "conftest.", or (3) at the end.
14192 # Note that $ac_compile itself does not contain backslashes and begins
14193 # with a dollar sign (not a hyphen), so the echo should work correctly.
14194 lt_compile=`echo "$ac_compile" | $SED \
14195 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14196 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14197 -e 's:$: $lt_compiler_flag:'`
14198 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14199 (eval "$lt_compile" 2>out/conftest.err)
14200 ac_status=$?
14201 cat out/conftest.err >&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14204 then
14205 # The compiler can only warn and ignore the option if not recognized
14206 # So say no if there are warnings
14207 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14208 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14209 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14210 lt_cv_prog_compiler_c_o_FC=yes
14213 chmod u+w . 2>&5
14214 $RM conftest*
14215 # SGI C++ compiler will create directory out/ii_files/ for
14216 # template instantiation
14217 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14218 $RM out/* && rmdir out
14219 cd ..
14220 $RM -r conftest
14221 $RM conftest*
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14225 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14230 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14231 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14232 $as_echo_n "(cached) " >&6
14233 else
14234 lt_cv_prog_compiler_c_o_FC=no
14235 $RM -r conftest 2>/dev/null
14236 mkdir conftest
14237 cd conftest
14238 mkdir out
14239 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14241 lt_compiler_flag="-o out/conftest2.$ac_objext"
14242 # Insert the option either (1) after the last *FLAGS variable, or
14243 # (2) before a word containing "conftest.", or (3) at the end.
14244 # Note that $ac_compile itself does not contain backslashes and begins
14245 # with a dollar sign (not a hyphen), so the echo should work correctly.
14246 lt_compile=`echo "$ac_compile" | $SED \
14247 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14249 -e 's:$: $lt_compiler_flag:'`
14250 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14251 (eval "$lt_compile" 2>out/conftest.err)
14252 ac_status=$?
14253 cat out/conftest.err >&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14256 then
14257 # The compiler can only warn and ignore the option if not recognized
14258 # So say no if there are warnings
14259 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14260 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14261 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14262 lt_cv_prog_compiler_c_o_FC=yes
14265 chmod u+w . 2>&5
14266 $RM conftest*
14267 # SGI C++ compiler will create directory out/ii_files/ for
14268 # template instantiation
14269 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14270 $RM out/* && rmdir out
14271 cd ..
14272 $RM -r conftest
14273 $RM conftest*
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14277 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14282 hard_links="nottested"
14283 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14284 # do not overwrite the value of need_locks provided by the user
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14286 $as_echo_n "checking if we can lock with hard links... " >&6; }
14287 hard_links=yes
14288 $RM conftest*
14289 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14290 touch conftest.a
14291 ln conftest.a conftest.b 2>&5 || hard_links=no
14292 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14294 $as_echo "$hard_links" >&6; }
14295 if test "$hard_links" = no; then
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14297 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14298 need_locks=warn
14300 else
14301 need_locks=no
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14307 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14309 runpath_var=
14310 allow_undefined_flag_FC=
14311 always_export_symbols_FC=no
14312 archive_cmds_FC=
14313 archive_expsym_cmds_FC=
14314 compiler_needs_object_FC=no
14315 enable_shared_with_static_runtimes_FC=no
14316 export_dynamic_flag_spec_FC=
14317 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14318 hardcode_automatic_FC=no
14319 hardcode_direct_FC=no
14320 hardcode_direct_absolute_FC=no
14321 hardcode_libdir_flag_spec_FC=
14322 hardcode_libdir_flag_spec_ld_FC=
14323 hardcode_libdir_separator_FC=
14324 hardcode_minus_L_FC=no
14325 hardcode_shlibpath_var_FC=unsupported
14326 inherit_rpath_FC=no
14327 link_all_deplibs_FC=unknown
14328 module_cmds_FC=
14329 module_expsym_cmds_FC=
14330 old_archive_from_new_cmds_FC=
14331 old_archive_from_expsyms_cmds_FC=
14332 thread_safe_flag_spec_FC=
14333 whole_archive_flag_spec_FC=
14334 # include_expsyms should be a list of space-separated symbols to be *always*
14335 # included in the symbol list
14336 include_expsyms_FC=
14337 # exclude_expsyms can be an extended regexp of symbols to exclude
14338 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14339 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14340 # as well as any symbol that contains `d'.
14341 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14342 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14343 # platforms (ab)use it in PIC code, but their linkers get confused if
14344 # the symbol is explicitly referenced. Since portable code cannot
14345 # rely on this symbol name, it's probably fine to never include it in
14346 # preloaded symbol tables.
14347 # Exclude shared library initialization/finalization symbols.
14348 extract_expsyms_cmds=
14350 case $host_os in
14351 cygwin* | mingw* | pw32* | cegcc*)
14352 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14353 # When not using gcc, we currently assume that we are using
14354 # Microsoft Visual C++.
14355 if test "$GCC" != yes; then
14356 with_gnu_ld=no
14359 interix*)
14360 # we just hope/assume this is gcc and not c89 (= MSVC++)
14361 with_gnu_ld=yes
14363 openbsd*)
14364 with_gnu_ld=no
14366 esac
14368 ld_shlibs_FC=yes
14370 # On some targets, GNU ld is compatible enough with the native linker
14371 # that we're better off using the native interface for both.
14372 lt_use_gnu_ld_interface=no
14373 if test "$with_gnu_ld" = yes; then
14374 case $host_os in
14375 aix*)
14376 # The AIX port of GNU ld has always aspired to compatibility
14377 # with the native linker. However, as the warning in the GNU ld
14378 # block says, versions before 2.19.5* couldn't really create working
14379 # shared libraries, regardless of the interface used.
14380 case `$LD -v 2>&1` in
14381 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14382 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14383 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14385 lt_use_gnu_ld_interface=yes
14387 esac
14390 lt_use_gnu_ld_interface=yes
14392 esac
14395 if test "$lt_use_gnu_ld_interface" = yes; then
14396 # If archive_cmds runs LD, not CC, wlarc should be empty
14397 wlarc='${wl}'
14399 # Set some defaults for GNU ld with shared library support. These
14400 # are reset later if shared libraries are not supported. Putting them
14401 # here allows them to be overridden if necessary.
14402 runpath_var=LD_RUN_PATH
14403 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14404 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14405 # ancient GNU ld didn't support --whole-archive et. al.
14406 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14407 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14408 else
14409 whole_archive_flag_spec_FC=
14411 supports_anon_versioning=no
14412 case `$LD -v 2>&1` in
14413 *GNU\ gold*) supports_anon_versioning=yes ;;
14414 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14415 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14416 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14417 *\ 2.11.*) ;; # other 2.11 versions
14418 *) supports_anon_versioning=yes ;;
14419 esac
14421 # See if GNU ld supports shared libraries.
14422 case $host_os in
14423 aix[3-9]*)
14424 # On AIX/PPC, the GNU linker is very broken
14425 if test "$host_cpu" != ia64; then
14426 ld_shlibs_FC=no
14427 cat <<_LT_EOF 1>&2
14429 *** Warning: the GNU linker, at least up to release 2.19, is reported
14430 *** to be unable to reliably create shared libraries on AIX.
14431 *** Therefore, libtool is disabling shared libraries support. If you
14432 *** really care for shared libraries, you may want to install binutils
14433 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14434 *** You will then need to restart the configuration process.
14436 _LT_EOF
14440 amigaos*)
14441 case $host_cpu in
14442 powerpc)
14443 # see comment about AmigaOS4 .so support
14444 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14445 archive_expsym_cmds_FC=''
14447 m68k)
14448 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)'
14449 hardcode_libdir_flag_spec_FC='-L$libdir'
14450 hardcode_minus_L_FC=yes
14452 esac
14455 beos*)
14456 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14457 allow_undefined_flag_FC=unsupported
14458 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14459 # support --undefined. This deserves some investigation. FIXME
14460 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14461 else
14462 ld_shlibs_FC=no
14466 cygwin* | mingw* | pw32* | cegcc*)
14467 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14468 # as there is no search path for DLLs.
14469 hardcode_libdir_flag_spec_FC='-L$libdir'
14470 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14471 allow_undefined_flag_FC=unsupported
14472 always_export_symbols_FC=no
14473 enable_shared_with_static_runtimes_FC=yes
14474 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14476 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14477 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14478 # If the export-symbols file already is a .def file (1st line
14479 # is EXPORTS), use it as is; otherwise, prepend...
14480 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14481 cp $export_symbols $output_objdir/$soname.def;
14482 else
14483 echo EXPORTS > $output_objdir/$soname.def;
14484 cat $export_symbols >> $output_objdir/$soname.def;
14486 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14487 else
14488 ld_shlibs_FC=no
14492 haiku*)
14493 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14494 link_all_deplibs_FC=yes
14497 interix[3-9]*)
14498 hardcode_direct_FC=no
14499 hardcode_shlibpath_var_FC=no
14500 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14501 export_dynamic_flag_spec_FC='${wl}-E'
14502 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14503 # Instead, shared libraries are loaded at an image base (0x10000000 by
14504 # default) and relocated if they conflict, which is a slow very memory
14505 # consuming and fragmenting process. To avoid this, we pick a random,
14506 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14507 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14508 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'
14509 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'
14512 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14513 tmp_diet=no
14514 if test "$host_os" = linux-dietlibc; then
14515 case $cc_basename in
14516 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14517 esac
14519 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14520 && test "$tmp_diet" = no
14521 then
14522 tmp_addflag=' $pic_flag'
14523 tmp_sharedflag='-shared'
14524 case $cc_basename,$host_cpu in
14525 pgcc*) # Portland Group C compiler
14526 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'
14527 tmp_addflag=' $pic_flag'
14529 pgf77* | pgf90* | pgf95* | pgfortran*)
14530 # Portland Group f77 and f90 compilers
14531 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'
14532 tmp_addflag=' $pic_flag -Mnomain' ;;
14533 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14534 tmp_addflag=' -i_dynamic' ;;
14535 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14536 tmp_addflag=' -i_dynamic -nofor_main' ;;
14537 ifc* | ifort*) # Intel Fortran compiler
14538 tmp_addflag=' -nofor_main' ;;
14539 lf95*) # Lahey Fortran 8.1
14540 whole_archive_flag_spec_FC=
14541 tmp_sharedflag='--shared' ;;
14542 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14543 tmp_sharedflag='-qmkshrobj'
14544 tmp_addflag= ;;
14545 nvcc*) # Cuda Compiler Driver 2.2
14546 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'
14547 compiler_needs_object_FC=yes
14549 esac
14550 case `$CC -V 2>&1 | sed 5q` in
14551 *Sun\ C*) # Sun C 5.9
14552 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'
14553 compiler_needs_object_FC=yes
14554 tmp_sharedflag='-G' ;;
14555 *Sun\ F*) # Sun Fortran 8.3
14556 tmp_sharedflag='-G' ;;
14557 esac
14558 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14560 if test "x$supports_anon_versioning" = xyes; then
14561 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14562 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14563 echo "local: *; };" >> $output_objdir/$libname.ver~
14564 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14567 case $cc_basename in
14568 xlf* | bgf* | bgxlf* | mpixlf*)
14569 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14570 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14571 hardcode_libdir_flag_spec_FC=
14572 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14573 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14574 if test "x$supports_anon_versioning" = xyes; then
14575 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14576 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14577 echo "local: *; };" >> $output_objdir/$libname.ver~
14578 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14581 esac
14582 else
14583 ld_shlibs_FC=no
14587 netbsd*)
14588 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14589 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14590 wlarc=
14591 else
14592 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14593 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14597 solaris*)
14598 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14599 ld_shlibs_FC=no
14600 cat <<_LT_EOF 1>&2
14602 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14603 *** create shared libraries on Solaris systems. Therefore, libtool
14604 *** is disabling shared libraries support. We urge you to upgrade GNU
14605 *** binutils to release 2.9.1 or newer. Another option is to modify
14606 *** your PATH or compiler configuration so that the native linker is
14607 *** used, and then restart.
14609 _LT_EOF
14610 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14611 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14612 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14613 else
14614 ld_shlibs_FC=no
14618 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14619 case `$LD -v 2>&1` in
14620 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14621 ld_shlibs_FC=no
14622 cat <<_LT_EOF 1>&2
14624 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14625 *** reliably create shared libraries on SCO systems. Therefore, libtool
14626 *** is disabling shared libraries support. We urge you to upgrade GNU
14627 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14628 *** your PATH or compiler configuration so that the native linker is
14629 *** used, and then restart.
14631 _LT_EOF
14634 # For security reasons, it is highly recommended that you always
14635 # use absolute paths for naming shared libraries, and exclude the
14636 # DT_RUNPATH tag from executables and libraries. But doing so
14637 # requires that you compile everything twice, which is a pain.
14638 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14639 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14640 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14641 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14642 else
14643 ld_shlibs_FC=no
14646 esac
14649 sunos4*)
14650 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14651 wlarc=
14652 hardcode_direct_FC=yes
14653 hardcode_shlibpath_var_FC=no
14657 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14658 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14659 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14660 else
14661 ld_shlibs_FC=no
14664 esac
14666 if test "$ld_shlibs_FC" = no; then
14667 runpath_var=
14668 hardcode_libdir_flag_spec_FC=
14669 export_dynamic_flag_spec_FC=
14670 whole_archive_flag_spec_FC=
14672 else
14673 # PORTME fill in a description of your system's linker (not GNU ld)
14674 case $host_os in
14675 aix3*)
14676 allow_undefined_flag_FC=unsupported
14677 always_export_symbols_FC=yes
14678 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'
14679 # Note: this linker hardcodes the directories in LIBPATH if there
14680 # are no directories specified by -L.
14681 hardcode_minus_L_FC=yes
14682 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14683 # Neither direct hardcoding nor static linking is supported with a
14684 # broken collect2.
14685 hardcode_direct_FC=unsupported
14689 aix[4-9]*)
14690 if test "$host_cpu" = ia64; then
14691 # On IA64, the linker does run time linking by default, so we don't
14692 # have to do anything special.
14693 aix_use_runtimelinking=no
14694 exp_sym_flag='-Bexport'
14695 no_entry_flag=""
14696 else
14697 # If we're using GNU nm, then we don't want the "-C" option.
14698 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14699 # Also, AIX nm treats weak defined symbols like other global
14700 # defined symbols, whereas GNU nm marks them as "W".
14701 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14702 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'
14703 else
14704 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'
14706 aix_use_runtimelinking=no
14708 # Test if we are trying to use run time linking or normal
14709 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14710 # need to do runtime linking.
14711 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14712 for ld_flag in $LDFLAGS; do
14713 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14714 aix_use_runtimelinking=yes
14715 break
14717 done
14719 esac
14721 exp_sym_flag='-bexport'
14722 no_entry_flag='-bnoentry'
14725 # When large executables or shared objects are built, AIX ld can
14726 # have problems creating the table of contents. If linking a library
14727 # or program results in "error TOC overflow" add -mminimal-toc to
14728 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14729 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14731 archive_cmds_FC=''
14732 hardcode_direct_FC=yes
14733 hardcode_direct_absolute_FC=yes
14734 hardcode_libdir_separator_FC=':'
14735 link_all_deplibs_FC=yes
14736 file_list_spec_FC='${wl}-f,'
14738 if test "$GCC" = yes; then
14739 case $host_os in aix4.[012]|aix4.[012].*)
14740 # We only want to do this on AIX 4.2 and lower, the check
14741 # below for broken collect2 doesn't work under 4.3+
14742 collect2name=`${CC} -print-prog-name=collect2`
14743 if test -f "$collect2name" &&
14744 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14745 then
14746 # We have reworked collect2
14748 else
14749 # We have old collect2
14750 hardcode_direct_FC=unsupported
14751 # It fails to find uninstalled libraries when the uninstalled
14752 # path is not listed in the libpath. Setting hardcode_minus_L
14753 # to unsupported forces relinking
14754 hardcode_minus_L_FC=yes
14755 hardcode_libdir_flag_spec_FC='-L$libdir'
14756 hardcode_libdir_separator_FC=
14759 esac
14760 shared_flag='-shared'
14761 if test "$aix_use_runtimelinking" = yes; then
14762 shared_flag="$shared_flag "'${wl}-G'
14764 else
14765 # not using gcc
14766 if test "$host_cpu" = ia64; then
14767 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14768 # chokes on -Wl,-G. The following line is correct:
14769 shared_flag='-G'
14770 else
14771 if test "$aix_use_runtimelinking" = yes; then
14772 shared_flag='${wl}-G'
14773 else
14774 shared_flag='${wl}-bM:SRE'
14779 export_dynamic_flag_spec_FC='${wl}-bexpall'
14780 # It seems that -bexpall does not export symbols beginning with
14781 # underscore (_), so it is better to generate a list of symbols to export.
14782 always_export_symbols_FC=yes
14783 if test "$aix_use_runtimelinking" = yes; then
14784 # Warning - without using the other runtime loading flags (-brtl),
14785 # -berok will link without error, but may produce a broken library.
14786 allow_undefined_flag_FC='-berok'
14787 # Determine the default libpath from the value encoded in an
14788 # empty executable.
14789 if test x$gcc_no_link = xyes; then
14790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14792 cat > conftest.$ac_ext <<_ACEOF
14793 program main
14796 _ACEOF
14797 if ac_fn_fc_try_link "$LINENO"; then :
14799 lt_aix_libpath_sed='
14800 /Import File Strings/,/^$/ {
14801 /^0/ {
14802 s/^0 *\(.*\)$/\1/
14806 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14807 # Check for a 64-bit object if we didn't find anything.
14808 if test -z "$aix_libpath"; then
14809 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14812 rm -f core conftest.err conftest.$ac_objext \
14813 conftest$ac_exeext conftest.$ac_ext
14814 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14816 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14817 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"
14818 else
14819 if test "$host_cpu" = ia64; then
14820 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14821 allow_undefined_flag_FC="-z nodefs"
14822 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"
14823 else
14824 # Determine the default libpath from the value encoded in an
14825 # empty executable.
14826 if test x$gcc_no_link = xyes; then
14827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14829 cat > conftest.$ac_ext <<_ACEOF
14830 program main
14833 _ACEOF
14834 if ac_fn_fc_try_link "$LINENO"; then :
14836 lt_aix_libpath_sed='
14837 /Import File Strings/,/^$/ {
14838 /^0/ {
14839 s/^0 *\(.*\)$/\1/
14843 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14844 # Check for a 64-bit object if we didn't find anything.
14845 if test -z "$aix_libpath"; then
14846 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14853 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14854 # Warning - without using the other run time loading flags,
14855 # -berok will link without error, but may produce a broken library.
14856 no_undefined_flag_FC=' ${wl}-bernotok'
14857 allow_undefined_flag_FC=' ${wl}-berok'
14858 if test "$with_gnu_ld" = yes; then
14859 # We only use this code for GNU lds that support --whole-archive.
14860 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14861 else
14862 # Exported symbols can be pulled into shared objects from archives
14863 whole_archive_flag_spec_FC='$convenience'
14865 archive_cmds_need_lc_FC=yes
14866 # This is similar to how AIX traditionally builds its shared libraries.
14867 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'
14872 amigaos*)
14873 case $host_cpu in
14874 powerpc)
14875 # see comment about AmigaOS4 .so support
14876 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14877 archive_expsym_cmds_FC=''
14879 m68k)
14880 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)'
14881 hardcode_libdir_flag_spec_FC='-L$libdir'
14882 hardcode_minus_L_FC=yes
14884 esac
14887 bsdi[45]*)
14888 export_dynamic_flag_spec_FC=-rdynamic
14891 cygwin* | mingw* | pw32* | cegcc*)
14892 # When not using gcc, we currently assume that we are using
14893 # Microsoft Visual C++.
14894 # hardcode_libdir_flag_spec is actually meaningless, as there is
14895 # no search path for DLLs.
14896 hardcode_libdir_flag_spec_FC=' '
14897 allow_undefined_flag_FC=unsupported
14898 # Tell ltmain to make .lib files, not .a files.
14899 libext=lib
14900 # Tell ltmain to make .dll files, not .so files.
14901 shrext_cmds=".dll"
14902 # FIXME: Setting linknames here is a bad hack.
14903 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14904 # The linker will automatically build a .lib file if we build a DLL.
14905 old_archive_from_new_cmds_FC='true'
14906 # FIXME: Should let the user specify the lib program.
14907 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14908 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14909 enable_shared_with_static_runtimes_FC=yes
14912 darwin* | rhapsody*)
14915 archive_cmds_need_lc_FC=no
14916 hardcode_direct_FC=no
14917 hardcode_automatic_FC=yes
14918 hardcode_shlibpath_var_FC=unsupported
14919 if test "$lt_cv_ld_force_load" = "yes"; then
14920 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\"`'
14921 else
14922 whole_archive_flag_spec_FC=''
14924 link_all_deplibs_FC=yes
14925 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14926 case $cc_basename in
14927 ifort*) _lt_dar_can_shared=yes ;;
14928 *) _lt_dar_can_shared=$GCC ;;
14929 esac
14930 if test "$_lt_dar_can_shared" = "yes"; then
14931 output_verbose_link_cmd=func_echo_all
14932 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}"
14933 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14934 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}"
14935 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}"
14937 else
14938 ld_shlibs_FC=no
14943 dgux*)
14944 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14945 hardcode_libdir_flag_spec_FC='-L$libdir'
14946 hardcode_shlibpath_var_FC=no
14949 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14950 # support. Future versions do this automatically, but an explicit c++rt0.o
14951 # does not break anything, and helps significantly (at the cost of a little
14952 # extra space).
14953 freebsd2.2*)
14954 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14955 hardcode_libdir_flag_spec_FC='-R$libdir'
14956 hardcode_direct_FC=yes
14957 hardcode_shlibpath_var_FC=no
14960 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14961 freebsd2.*)
14962 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14963 hardcode_direct_FC=yes
14964 hardcode_minus_L_FC=yes
14965 hardcode_shlibpath_var_FC=no
14968 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14969 freebsd* | dragonfly*)
14970 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14971 hardcode_libdir_flag_spec_FC='-R$libdir'
14972 hardcode_direct_FC=yes
14973 hardcode_shlibpath_var_FC=no
14976 hpux9*)
14977 if test "$GCC" = yes; then
14978 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'
14979 else
14980 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'
14982 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14983 hardcode_libdir_separator_FC=:
14984 hardcode_direct_FC=yes
14986 # hardcode_minus_L: Not really in the search PATH,
14987 # but as the default location of the library.
14988 hardcode_minus_L_FC=yes
14989 export_dynamic_flag_spec_FC='${wl}-E'
14992 hpux10*)
14993 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14994 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14995 else
14996 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14998 if test "$with_gnu_ld" = no; then
14999 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15000 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15001 hardcode_libdir_separator_FC=:
15002 hardcode_direct_FC=yes
15003 hardcode_direct_absolute_FC=yes
15004 export_dynamic_flag_spec_FC='${wl}-E'
15005 # hardcode_minus_L: Not really in the search PATH,
15006 # but as the default location of the library.
15007 hardcode_minus_L_FC=yes
15011 hpux11*)
15012 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15013 case $host_cpu in
15014 hppa*64*)
15015 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15017 ia64*)
15018 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15021 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15023 esac
15024 else
15025 case $host_cpu in
15026 hppa*64*)
15027 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15029 ia64*)
15030 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15033 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15035 esac
15037 if test "$with_gnu_ld" = no; then
15038 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15039 hardcode_libdir_separator_FC=:
15041 case $host_cpu in
15042 hppa*64*|ia64*)
15043 hardcode_direct_FC=no
15044 hardcode_shlibpath_var_FC=no
15047 hardcode_direct_FC=yes
15048 hardcode_direct_absolute_FC=yes
15049 export_dynamic_flag_spec_FC='${wl}-E'
15051 # hardcode_minus_L: Not really in the search PATH,
15052 # but as the default location of the library.
15053 hardcode_minus_L_FC=yes
15055 esac
15059 irix5* | irix6* | nonstopux*)
15060 if test "$GCC" = yes; then
15061 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'
15062 # Try to use the -exported_symbol ld option, if it does not
15063 # work, assume that -exports_file does not work either and
15064 # implicitly export all symbols.
15065 save_LDFLAGS="$LDFLAGS"
15066 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15067 if test x$gcc_no_link = xyes; then
15068 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15070 cat > conftest.$ac_ext <<_ACEOF
15071 int foo(void) {}
15072 _ACEOF
15073 if ac_fn_fc_try_link "$LINENO"; then :
15074 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'
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15079 LDFLAGS="$save_LDFLAGS"
15080 else
15081 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'
15082 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'
15084 archive_cmds_need_lc_FC='no'
15085 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15086 hardcode_libdir_separator_FC=:
15087 inherit_rpath_FC=yes
15088 link_all_deplibs_FC=yes
15091 netbsd*)
15092 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15093 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15094 else
15095 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15097 hardcode_libdir_flag_spec_FC='-R$libdir'
15098 hardcode_direct_FC=yes
15099 hardcode_shlibpath_var_FC=no
15102 newsos6)
15103 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15104 hardcode_direct_FC=yes
15105 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15106 hardcode_libdir_separator_FC=:
15107 hardcode_shlibpath_var_FC=no
15110 *nto* | *qnx*)
15113 openbsd*)
15114 if test -f /usr/libexec/ld.so; then
15115 hardcode_direct_FC=yes
15116 hardcode_shlibpath_var_FC=no
15117 hardcode_direct_absolute_FC=yes
15118 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15119 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15120 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15121 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15122 export_dynamic_flag_spec_FC='${wl}-E'
15123 else
15124 case $host_os in
15125 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15126 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15127 hardcode_libdir_flag_spec_FC='-R$libdir'
15130 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15131 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15133 esac
15135 else
15136 ld_shlibs_FC=no
15140 os2*)
15141 hardcode_libdir_flag_spec_FC='-L$libdir'
15142 hardcode_minus_L_FC=yes
15143 allow_undefined_flag_FC=unsupported
15144 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'
15145 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15148 osf3*)
15149 if test "$GCC" = yes; then
15150 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15151 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'
15152 else
15153 allow_undefined_flag_FC=' -expect_unresolved \*'
15154 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'
15156 archive_cmds_need_lc_FC='no'
15157 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15158 hardcode_libdir_separator_FC=:
15161 osf4* | osf5*) # as osf3* with the addition of -msym flag
15162 if test "$GCC" = yes; then
15163 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15164 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'
15165 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15166 else
15167 allow_undefined_flag_FC=' -expect_unresolved \*'
15168 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'
15169 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~
15170 $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'
15172 # Both c and cxx compiler support -rpath directly
15173 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15175 archive_cmds_need_lc_FC='no'
15176 hardcode_libdir_separator_FC=:
15179 solaris*)
15180 no_undefined_flag_FC=' -z defs'
15181 if test "$GCC" = yes; then
15182 wlarc='${wl}'
15183 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15184 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15185 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15186 else
15187 case `$CC -V 2>&1` in
15188 *"Compilers 5.0"*)
15189 wlarc=''
15190 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15191 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15192 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15195 wlarc='${wl}'
15196 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15197 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15198 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15200 esac
15202 hardcode_libdir_flag_spec_FC='-R$libdir'
15203 hardcode_shlibpath_var_FC=no
15204 case $host_os in
15205 solaris2.[0-5] | solaris2.[0-5].*) ;;
15207 # The compiler driver will combine and reorder linker options,
15208 # but understands `-z linker_flag'. GCC discards it without `$wl',
15209 # but is careful enough not to reorder.
15210 # Supported since Solaris 2.6 (maybe 2.5.1?)
15211 if test "$GCC" = yes; then
15212 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15213 else
15214 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15217 esac
15218 link_all_deplibs_FC=yes
15221 sunos4*)
15222 if test "x$host_vendor" = xsequent; then
15223 # Use $CC to link under sequent, because it throws in some extra .o
15224 # files that make .init and .fini sections work.
15225 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15226 else
15227 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15229 hardcode_libdir_flag_spec_FC='-L$libdir'
15230 hardcode_direct_FC=yes
15231 hardcode_minus_L_FC=yes
15232 hardcode_shlibpath_var_FC=no
15235 sysv4)
15236 case $host_vendor in
15237 sni)
15238 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15239 hardcode_direct_FC=yes # is this really true???
15241 siemens)
15242 ## LD is ld it makes a PLAMLIB
15243 ## CC just makes a GrossModule.
15244 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15245 reload_cmds_FC='$CC -r -o $output$reload_objs'
15246 hardcode_direct_FC=no
15248 motorola)
15249 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15250 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15252 esac
15253 runpath_var='LD_RUN_PATH'
15254 hardcode_shlibpath_var_FC=no
15257 sysv4.3*)
15258 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15259 hardcode_shlibpath_var_FC=no
15260 export_dynamic_flag_spec_FC='-Bexport'
15263 sysv4*MP*)
15264 if test -d /usr/nec; then
15265 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15266 hardcode_shlibpath_var_FC=no
15267 runpath_var=LD_RUN_PATH
15268 hardcode_runpath_var=yes
15269 ld_shlibs_FC=yes
15273 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15274 no_undefined_flag_FC='${wl}-z,text'
15275 archive_cmds_need_lc_FC=no
15276 hardcode_shlibpath_var_FC=no
15277 runpath_var='LD_RUN_PATH'
15279 if test "$GCC" = yes; then
15280 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15281 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15282 else
15283 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15284 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15288 sysv5* | sco3.2v5* | sco5v6*)
15289 # Note: We can NOT use -z defs as we might desire, because we do not
15290 # link with -lc, and that would cause any symbols used from libc to
15291 # always be unresolved, which means just about no library would
15292 # ever link correctly. If we're not using GNU ld we use -z text
15293 # though, which does catch some bad symbols but isn't as heavy-handed
15294 # as -z defs.
15295 no_undefined_flag_FC='${wl}-z,text'
15296 allow_undefined_flag_FC='${wl}-z,nodefs'
15297 archive_cmds_need_lc_FC=no
15298 hardcode_shlibpath_var_FC=no
15299 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15300 hardcode_libdir_separator_FC=':'
15301 link_all_deplibs_FC=yes
15302 export_dynamic_flag_spec_FC='${wl}-Bexport'
15303 runpath_var='LD_RUN_PATH'
15305 if test "$GCC" = yes; then
15306 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15307 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15308 else
15309 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15310 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15314 uts4*)
15315 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15316 hardcode_libdir_flag_spec_FC='-L$libdir'
15317 hardcode_shlibpath_var_FC=no
15321 ld_shlibs_FC=no
15323 esac
15325 if test x$host_vendor = xsni; then
15326 case $host in
15327 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15328 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15330 esac
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15335 $as_echo "$ld_shlibs_FC" >&6; }
15336 test "$ld_shlibs_FC" = no && can_build_shared=no
15338 with_gnu_ld_FC=$with_gnu_ld
15346 # Do we need to explicitly link libc?
15348 case "x$archive_cmds_need_lc_FC" in
15349 x|xyes)
15350 # Assume -lc should be added
15351 archive_cmds_need_lc_FC=yes
15353 if test "$enable_shared" = yes && test "$GCC" = yes; then
15354 case $archive_cmds_FC in
15355 *'~'*)
15356 # FIXME: we may have to deal with multi-command sequences.
15358 '$CC '*)
15359 # Test whether the compiler implicitly links with -lc since on some
15360 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15361 # to ld, don't add -lc before -lgcc.
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15363 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15364 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15365 $as_echo_n "(cached) " >&6
15366 else
15367 $RM conftest*
15368 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15371 (eval $ac_compile) 2>&5
15372 ac_status=$?
15373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15374 test $ac_status = 0; } 2>conftest.err; then
15375 soname=conftest
15376 lib=conftest
15377 libobjs=conftest.$ac_objext
15378 deplibs=
15379 wl=$lt_prog_compiler_wl_FC
15380 pic_flag=$lt_prog_compiler_pic_FC
15381 compiler_flags=-v
15382 linker_flags=-v
15383 verstring=
15384 output_objdir=.
15385 libname=conftest
15386 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15387 allow_undefined_flag_FC=
15388 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15389 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15390 ac_status=$?
15391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15392 test $ac_status = 0; }
15393 then
15394 lt_cv_archive_cmds_need_lc_FC=no
15395 else
15396 lt_cv_archive_cmds_need_lc_FC=yes
15398 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15399 else
15400 cat conftest.err 1>&5
15402 $RM conftest*
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15406 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15407 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15409 esac
15412 esac
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15478 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15480 library_names_spec=
15481 libname_spec='lib$name'
15482 soname_spec=
15483 shrext_cmds=".so"
15484 postinstall_cmds=
15485 postuninstall_cmds=
15486 finish_cmds=
15487 finish_eval=
15488 shlibpath_var=
15489 shlibpath_overrides_runpath=unknown
15490 version_type=none
15491 dynamic_linker="$host_os ld.so"
15492 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15493 need_lib_prefix=unknown
15494 hardcode_into_libs=no
15496 # when you set need_version to no, make sure it does not cause -set_version
15497 # flags to be left without arguments
15498 need_version=unknown
15500 case $host_os in
15501 aix3*)
15502 version_type=linux
15503 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15504 shlibpath_var=LIBPATH
15506 # AIX 3 has no versioning support, so we append a major version to the name.
15507 soname_spec='${libname}${release}${shared_ext}$major'
15510 aix[4-9]*)
15511 version_type=linux
15512 need_lib_prefix=no
15513 need_version=no
15514 hardcode_into_libs=yes
15515 if test "$host_cpu" = ia64; then
15516 # AIX 5 supports IA64
15517 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15518 shlibpath_var=LD_LIBRARY_PATH
15519 else
15520 # With GCC up to 2.95.x, collect2 would create an import file
15521 # for dependence libraries. The import file would start with
15522 # the line `#! .'. This would cause the generated library to
15523 # depend on `.', always an invalid library. This was fixed in
15524 # development snapshots of GCC prior to 3.0.
15525 case $host_os in
15526 aix4 | aix4.[01] | aix4.[01].*)
15527 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15528 echo ' yes '
15529 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15531 else
15532 can_build_shared=no
15535 esac
15536 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15537 # soname into executable. Probably we can add versioning support to
15538 # collect2, so additional links can be useful in future.
15539 if test "$aix_use_runtimelinking" = yes; then
15540 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15541 # instead of lib<name>.a to let people know that these are not
15542 # typical AIX shared libraries.
15543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15544 else
15545 # We preserve .a as extension for shared libraries through AIX4.2
15546 # and later when we are not doing run time linking.
15547 library_names_spec='${libname}${release}.a $libname.a'
15548 soname_spec='${libname}${release}${shared_ext}$major'
15550 shlibpath_var=LIBPATH
15554 amigaos*)
15555 case $host_cpu in
15556 powerpc)
15557 # Since July 2007 AmigaOS4 officially supports .so libraries.
15558 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15561 m68k)
15562 library_names_spec='$libname.ixlibrary $libname.a'
15563 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15564 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'
15566 esac
15569 beos*)
15570 library_names_spec='${libname}${shared_ext}'
15571 dynamic_linker="$host_os ld.so"
15572 shlibpath_var=LIBRARY_PATH
15575 bsdi[45]*)
15576 version_type=linux
15577 need_version=no
15578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15579 soname_spec='${libname}${release}${shared_ext}$major'
15580 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15581 shlibpath_var=LD_LIBRARY_PATH
15582 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15583 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15584 # the default ld.so.conf also contains /usr/contrib/lib and
15585 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15586 # libtool to hard-code these into programs
15589 cygwin* | mingw* | pw32* | cegcc*)
15590 version_type=windows
15591 shrext_cmds=".dll"
15592 need_version=no
15593 need_lib_prefix=no
15595 case $GCC,$host_os in
15596 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15597 library_names_spec='$libname.dll.a'
15598 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15599 postinstall_cmds='base_file=`basename \${file}`~
15600 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15601 dldir=$destdir/`dirname \$dlpath`~
15602 test -d \$dldir || mkdir -p \$dldir~
15603 $install_prog $dir/$dlname \$dldir/$dlname~
15604 chmod a+x \$dldir/$dlname~
15605 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15606 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15608 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15609 dlpath=$dir/\$dldll~
15610 $RM \$dlpath'
15611 shlibpath_overrides_runpath=yes
15613 case $host_os in
15614 cygwin*)
15615 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15616 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15619 mingw* | cegcc*)
15620 # MinGW DLLs use traditional 'lib' prefix
15621 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15623 pw32*)
15624 # pw32 DLLs use 'pw' prefix rather than 'lib'
15625 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15627 esac
15631 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15633 esac
15634 dynamic_linker='Win32 ld.exe'
15635 # FIXME: first we should search . and the directory the executable is in
15636 shlibpath_var=PATH
15639 darwin* | rhapsody*)
15640 dynamic_linker="$host_os dyld"
15641 version_type=darwin
15642 need_lib_prefix=no
15643 need_version=no
15644 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15645 soname_spec='${libname}${release}${major}$shared_ext'
15646 shlibpath_overrides_runpath=yes
15647 shlibpath_var=DYLD_LIBRARY_PATH
15648 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15650 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15653 dgux*)
15654 version_type=linux
15655 need_lib_prefix=no
15656 need_version=no
15657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15658 soname_spec='${libname}${release}${shared_ext}$major'
15659 shlibpath_var=LD_LIBRARY_PATH
15662 freebsd* | dragonfly*)
15663 # DragonFly does not have aout. When/if they implement a new
15664 # versioning mechanism, adjust this.
15665 if test -x /usr/bin/objformat; then
15666 objformat=`/usr/bin/objformat`
15667 else
15668 case $host_os in
15669 freebsd[23].*) objformat=aout ;;
15670 *) objformat=elf ;;
15671 esac
15673 version_type=freebsd-$objformat
15674 case $version_type in
15675 freebsd-elf*)
15676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15677 need_version=no
15678 need_lib_prefix=no
15680 freebsd-*)
15681 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15682 need_version=yes
15684 esac
15685 shlibpath_var=LD_LIBRARY_PATH
15686 case $host_os in
15687 freebsd2.*)
15688 shlibpath_overrides_runpath=yes
15690 freebsd3.[01]* | freebsdelf3.[01]*)
15691 shlibpath_overrides_runpath=yes
15692 hardcode_into_libs=yes
15694 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15695 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15696 shlibpath_overrides_runpath=no
15697 hardcode_into_libs=yes
15699 *) # from 4.6 on, and DragonFly
15700 shlibpath_overrides_runpath=yes
15701 hardcode_into_libs=yes
15703 esac
15706 haiku*)
15707 version_type=linux
15708 need_lib_prefix=no
15709 need_version=no
15710 dynamic_linker="$host_os runtime_loader"
15711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15712 soname_spec='${libname}${release}${shared_ext}$major'
15713 shlibpath_var=LIBRARY_PATH
15714 shlibpath_overrides_runpath=yes
15715 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15716 hardcode_into_libs=yes
15719 hpux9* | hpux10* | hpux11*)
15720 # Give a soname corresponding to the major version so that dld.sl refuses to
15721 # link against other versions.
15722 version_type=sunos
15723 need_lib_prefix=no
15724 need_version=no
15725 case $host_cpu in
15726 ia64*)
15727 shrext_cmds='.so'
15728 hardcode_into_libs=yes
15729 dynamic_linker="$host_os dld.so"
15730 shlibpath_var=LD_LIBRARY_PATH
15731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15733 soname_spec='${libname}${release}${shared_ext}$major'
15734 if test "X$HPUX_IA64_MODE" = X32; then
15735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15736 else
15737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15741 hppa*64*)
15742 shrext_cmds='.sl'
15743 hardcode_into_libs=yes
15744 dynamic_linker="$host_os dld.sl"
15745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15748 soname_spec='${libname}${release}${shared_ext}$major'
15749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15753 shrext_cmds='.sl'
15754 dynamic_linker="$host_os dld.sl"
15755 shlibpath_var=SHLIB_PATH
15756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15758 soname_spec='${libname}${release}${shared_ext}$major'
15760 esac
15761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15762 postinstall_cmds='chmod 555 $lib'
15763 # or fails outright, so override atomically:
15764 install_override_mode=555
15767 interix[3-9]*)
15768 version_type=linux
15769 need_lib_prefix=no
15770 need_version=no
15771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15772 soname_spec='${libname}${release}${shared_ext}$major'
15773 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15774 shlibpath_var=LD_LIBRARY_PATH
15775 shlibpath_overrides_runpath=no
15776 hardcode_into_libs=yes
15779 irix5* | irix6* | nonstopux*)
15780 case $host_os in
15781 nonstopux*) version_type=nonstopux ;;
15783 if test "$lt_cv_prog_gnu_ld" = yes; then
15784 version_type=linux
15785 else
15786 version_type=irix
15787 fi ;;
15788 esac
15789 need_lib_prefix=no
15790 need_version=no
15791 soname_spec='${libname}${release}${shared_ext}$major'
15792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15793 case $host_os in
15794 irix5* | nonstopux*)
15795 libsuff= shlibsuff=
15798 case $LD in # libtool.m4 will add one of these switches to LD
15799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15800 libsuff= shlibsuff= libmagic=32-bit;;
15801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15802 libsuff=32 shlibsuff=N32 libmagic=N32;;
15803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15805 *) libsuff= shlibsuff= libmagic=never-match;;
15806 esac
15808 esac
15809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15810 shlibpath_overrides_runpath=no
15811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15813 hardcode_into_libs=yes
15816 # No shared lib support for Linux oldld, aout, or coff.
15817 linux*oldld* | linux*aout* | linux*coff*)
15818 dynamic_linker=no
15821 # This must be Linux ELF.
15823 # uclinux* changes (here and below) have been submitted to the libtool
15824 # project, but have not yet been accepted: they are GCC-local changes
15825 # for the time being. (See
15826 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15827 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15828 version_type=linux
15829 need_lib_prefix=no
15830 need_version=no
15831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15832 soname_spec='${libname}${release}${shared_ext}$major'
15833 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15834 shlibpath_var=LD_LIBRARY_PATH
15835 shlibpath_overrides_runpath=no
15837 # Some binutils ld are patched to set DT_RUNPATH
15838 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15839 $as_echo_n "(cached) " >&6
15840 else
15841 lt_cv_shlibpath_overrides_runpath=no
15842 save_LDFLAGS=$LDFLAGS
15843 save_libdir=$libdir
15844 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15845 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15846 if test x$gcc_no_link = xyes; then
15847 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15849 cat > conftest.$ac_ext <<_ACEOF
15850 program main
15853 _ACEOF
15854 if ac_fn_fc_try_link "$LINENO"; then :
15855 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15856 lt_cv_shlibpath_overrides_runpath=yes
15859 rm -f core conftest.err conftest.$ac_objext \
15860 conftest$ac_exeext conftest.$ac_ext
15861 LDFLAGS=$save_LDFLAGS
15862 libdir=$save_libdir
15866 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15868 # This implies no fast_install, which is unacceptable.
15869 # Some rework will be needed to allow for fast_install
15870 # before this can be enabled.
15871 hardcode_into_libs=yes
15873 # Append ld.so.conf contents to the search path
15874 if test -f /etc/ld.so.conf; then
15875 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' ' '`
15876 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15879 # We used to test for /lib/ld.so.1 and disable shared libraries on
15880 # powerpc, because MkLinux only supported shared libraries with the
15881 # GNU dynamic linker. Since this was broken with cross compilers,
15882 # most powerpc-linux boxes support dynamic linking these days and
15883 # people can always --disable-shared, the test was removed, and we
15884 # assume the GNU/Linux dynamic linker is in use.
15885 dynamic_linker='GNU/Linux ld.so'
15888 netbsd*)
15889 version_type=sunos
15890 need_lib_prefix=no
15891 need_version=no
15892 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15894 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15895 dynamic_linker='NetBSD (a.out) ld.so'
15896 else
15897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15898 soname_spec='${libname}${release}${shared_ext}$major'
15899 dynamic_linker='NetBSD ld.elf_so'
15901 shlibpath_var=LD_LIBRARY_PATH
15902 shlibpath_overrides_runpath=yes
15903 hardcode_into_libs=yes
15906 newsos6)
15907 version_type=linux
15908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15909 shlibpath_var=LD_LIBRARY_PATH
15910 shlibpath_overrides_runpath=yes
15913 *nto* | *qnx*)
15914 version_type=qnx
15915 need_lib_prefix=no
15916 need_version=no
15917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15918 soname_spec='${libname}${release}${shared_ext}$major'
15919 shlibpath_var=LD_LIBRARY_PATH
15920 shlibpath_overrides_runpath=no
15921 hardcode_into_libs=yes
15922 dynamic_linker='ldqnx.so'
15925 openbsd*)
15926 version_type=sunos
15927 sys_lib_dlsearch_path_spec="/usr/lib"
15928 need_lib_prefix=no
15929 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15930 case $host_os in
15931 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15932 *) need_version=no ;;
15933 esac
15934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15935 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15936 shlibpath_var=LD_LIBRARY_PATH
15937 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15938 case $host_os in
15939 openbsd2.[89] | openbsd2.[89].*)
15940 shlibpath_overrides_runpath=no
15943 shlibpath_overrides_runpath=yes
15945 esac
15946 else
15947 shlibpath_overrides_runpath=yes
15951 os2*)
15952 libname_spec='$name'
15953 shrext_cmds=".dll"
15954 need_lib_prefix=no
15955 library_names_spec='$libname${shared_ext} $libname.a'
15956 dynamic_linker='OS/2 ld.exe'
15957 shlibpath_var=LIBPATH
15960 osf3* | osf4* | osf5*)
15961 version_type=osf
15962 need_lib_prefix=no
15963 need_version=no
15964 soname_spec='${libname}${release}${shared_ext}$major'
15965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15966 shlibpath_var=LD_LIBRARY_PATH
15967 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15968 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15971 rdos*)
15972 dynamic_linker=no
15975 solaris*)
15976 version_type=linux
15977 need_lib_prefix=no
15978 need_version=no
15979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15980 soname_spec='${libname}${release}${shared_ext}$major'
15981 shlibpath_var=LD_LIBRARY_PATH
15982 shlibpath_overrides_runpath=yes
15983 hardcode_into_libs=yes
15984 # ldd complains unless libraries are executable
15985 postinstall_cmds='chmod +x $lib'
15988 sunos4*)
15989 version_type=sunos
15990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15991 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15992 shlibpath_var=LD_LIBRARY_PATH
15993 shlibpath_overrides_runpath=yes
15994 if test "$with_gnu_ld" = yes; then
15995 need_lib_prefix=no
15997 need_version=yes
16000 sysv4 | sysv4.3*)
16001 version_type=linux
16002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16003 soname_spec='${libname}${release}${shared_ext}$major'
16004 shlibpath_var=LD_LIBRARY_PATH
16005 case $host_vendor in
16006 sni)
16007 shlibpath_overrides_runpath=no
16008 need_lib_prefix=no
16009 runpath_var=LD_RUN_PATH
16011 siemens)
16012 need_lib_prefix=no
16014 motorola)
16015 need_lib_prefix=no
16016 need_version=no
16017 shlibpath_overrides_runpath=no
16018 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16020 esac
16023 sysv4*MP*)
16024 if test -d /usr/nec ;then
16025 version_type=linux
16026 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16027 soname_spec='$libname${shared_ext}.$major'
16028 shlibpath_var=LD_LIBRARY_PATH
16032 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16033 version_type=freebsd-elf
16034 need_lib_prefix=no
16035 need_version=no
16036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16037 soname_spec='${libname}${release}${shared_ext}$major'
16038 shlibpath_var=LD_LIBRARY_PATH
16039 shlibpath_overrides_runpath=yes
16040 hardcode_into_libs=yes
16041 if test "$with_gnu_ld" = yes; then
16042 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16043 else
16044 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16045 case $host_os in
16046 sco3.2v5*)
16047 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16049 esac
16051 sys_lib_dlsearch_path_spec='/usr/lib'
16054 tpf*)
16055 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16056 version_type=linux
16057 need_lib_prefix=no
16058 need_version=no
16059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16060 shlibpath_var=LD_LIBRARY_PATH
16061 shlibpath_overrides_runpath=no
16062 hardcode_into_libs=yes
16065 uts4*)
16066 version_type=linux
16067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16068 soname_spec='${libname}${release}${shared_ext}$major'
16069 shlibpath_var=LD_LIBRARY_PATH
16072 # Shared libraries for VwWorks, >= 7 only at this stage
16073 # and (fpic) still incompatible with "large" code models
16074 # in a few configurations. Only for RTP mode in any case,
16075 # and upon explicit request at configure time.
16076 vxworks7*)
16077 dynamic_linker=no
16078 case ${with_multisubdir}-${enable_shared} in
16079 *large*)
16081 *mrtp*-yes)
16082 version_type=linux
16083 need_lib_prefix=no
16084 need_version=no
16085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16086 soname_spec='${libname}${release}${shared_ext}$major'
16087 dynamic_linker="$host_os module_loader"
16089 esac
16092 dynamic_linker=no
16094 esac
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16096 $as_echo "$dynamic_linker" >&6; }
16097 test "$dynamic_linker" = no && can_build_shared=no
16099 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16100 if test "$GCC" = yes; then
16101 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16104 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16105 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16107 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16108 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16149 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16150 hardcode_action_FC=
16151 if test -n "$hardcode_libdir_flag_spec_FC" ||
16152 test -n "$runpath_var_FC" ||
16153 test "X$hardcode_automatic_FC" = "Xyes" ; then
16155 # We can hardcode non-existent directories.
16156 if test "$hardcode_direct_FC" != no &&
16157 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16158 # have to relink, otherwise we might link with an installed library
16159 # when we should be linking with a yet-to-be-installed one
16160 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16161 test "$hardcode_minus_L_FC" != no; then
16162 # Linking always hardcodes the temporary library directory.
16163 hardcode_action_FC=relink
16164 else
16165 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16166 hardcode_action_FC=immediate
16168 else
16169 # We cannot hardcode anything, or else we can only hardcode existing
16170 # directories.
16171 hardcode_action_FC=unsupported
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16174 $as_echo "$hardcode_action_FC" >&6; }
16176 if test "$hardcode_action_FC" = relink ||
16177 test "$inherit_rpath_FC" = yes; then
16178 # Fast installation is not supported
16179 enable_fast_install=no
16180 elif test "$shlibpath_overrides_runpath" = yes ||
16181 test "$enable_shared" = no; then
16182 # Fast installation is not necessary
16183 enable_fast_install=needless
16192 fi # test -n "$compiler"
16194 GCC=$lt_save_GCC
16195 CC="$lt_save_CC"
16196 fi # test "$_lt_disable_FC" != yes
16198 ac_ext=c
16199 ac_cpp='$CPP $CPPFLAGS'
16200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206 # extra LD Flags which are required for targets
16207 case "${host}" in
16208 *-darwin*)
16209 # Darwin needs -single_module when linking libgfortran
16210 extra_ldflags_libgfortran=-Wl,-single_module
16212 esac
16215 # We need a working compiler at that point, otherwise give a clear
16216 # error message and bail out.
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16219 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16220 ac_ext=${ac_fc_srcext-f}
16221 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16222 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16223 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16225 cat > conftest.$ac_ext <<_ACEOF
16227 program foo
16228 real, parameter :: bar = sin (12.34 / 2.5)
16229 end program foo
16230 _ACEOF
16231 if ac_fn_fc_try_compile "$LINENO"; then :
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16233 $as_echo "yes" >&6; }
16234 else
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16236 $as_echo "no" >&6; }
16237 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16241 ac_ext=c
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16249 # Check whether --enable-largefile was given.
16250 if test "${enable_largefile+set}" = set; then :
16251 enableval=$enable_largefile;
16254 if test "$enable_largefile" != no; then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16257 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16258 if ${ac_cv_sys_largefile_CC+:} false; then :
16259 $as_echo_n "(cached) " >&6
16260 else
16261 ac_cv_sys_largefile_CC=no
16262 if test "$GCC" != yes; then
16263 ac_save_CC=$CC
16264 while :; do
16265 # IRIX 6.2 and later do not support large files by default,
16266 # so use the C compiler's -n32 option if that helps.
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16269 #include <sys/types.h>
16270 /* Check that off_t can represent 2**63 - 1 correctly.
16271 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16272 since some C++ compilers masquerading as C compilers
16273 incorrectly reject 9223372036854775807. */
16274 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16275 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16276 && LARGE_OFF_T % 2147483647 == 1)
16277 ? 1 : -1];
16279 main ()
16283 return 0;
16285 _ACEOF
16286 if ac_fn_c_try_compile "$LINENO"; then :
16287 break
16289 rm -f core conftest.err conftest.$ac_objext
16290 CC="$CC -n32"
16291 if ac_fn_c_try_compile "$LINENO"; then :
16292 ac_cv_sys_largefile_CC=' -n32'; break
16294 rm -f core conftest.err conftest.$ac_objext
16295 break
16296 done
16297 CC=$ac_save_CC
16298 rm -f conftest.$ac_ext
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16302 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16303 if test "$ac_cv_sys_largefile_CC" != no; then
16304 CC=$CC$ac_cv_sys_largefile_CC
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16308 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16309 if ${ac_cv_sys_file_offset_bits+:} false; then :
16310 $as_echo_n "(cached) " >&6
16311 else
16312 while :; do
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16315 #include <sys/types.h>
16316 /* Check that off_t can represent 2**63 - 1 correctly.
16317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16318 since some C++ compilers masquerading as C compilers
16319 incorrectly reject 9223372036854775807. */
16320 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16322 && LARGE_OFF_T % 2147483647 == 1)
16323 ? 1 : -1];
16325 main ()
16329 return 0;
16331 _ACEOF
16332 if ac_fn_c_try_compile "$LINENO"; then :
16333 ac_cv_sys_file_offset_bits=no; break
16335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16338 #define _FILE_OFFSET_BITS 64
16339 #include <sys/types.h>
16340 /* Check that off_t can represent 2**63 - 1 correctly.
16341 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16342 since some C++ compilers masquerading as C compilers
16343 incorrectly reject 9223372036854775807. */
16344 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16345 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16346 && LARGE_OFF_T % 2147483647 == 1)
16347 ? 1 : -1];
16349 main ()
16353 return 0;
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357 ac_cv_sys_file_offset_bits=64; break
16359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16360 ac_cv_sys_file_offset_bits=unknown
16361 break
16362 done
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16365 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16366 case $ac_cv_sys_file_offset_bits in #(
16367 no | unknown) ;;
16369 cat >>confdefs.h <<_ACEOF
16370 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16371 _ACEOF
16373 esac
16374 rm -rf conftest*
16375 if test $ac_cv_sys_file_offset_bits = unknown; then
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16377 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16378 if ${ac_cv_sys_large_files+:} false; then :
16379 $as_echo_n "(cached) " >&6
16380 else
16381 while :; do
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16384 #include <sys/types.h>
16385 /* Check that off_t can represent 2**63 - 1 correctly.
16386 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16387 since some C++ compilers masquerading as C compilers
16388 incorrectly reject 9223372036854775807. */
16389 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16390 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16391 && LARGE_OFF_T % 2147483647 == 1)
16392 ? 1 : -1];
16394 main ()
16398 return 0;
16400 _ACEOF
16401 if ac_fn_c_try_compile "$LINENO"; then :
16402 ac_cv_sys_large_files=no; break
16404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 #define _LARGE_FILES 1
16408 #include <sys/types.h>
16409 /* Check that off_t can represent 2**63 - 1 correctly.
16410 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16411 since some C++ compilers masquerading as C compilers
16412 incorrectly reject 9223372036854775807. */
16413 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16414 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16415 && LARGE_OFF_T % 2147483647 == 1)
16416 ? 1 : -1];
16418 main ()
16422 return 0;
16424 _ACEOF
16425 if ac_fn_c_try_compile "$LINENO"; then :
16426 ac_cv_sys_large_files=1; break
16428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16429 ac_cv_sys_large_files=unknown
16430 break
16431 done
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16434 $as_echo "$ac_cv_sys_large_files" >&6; }
16435 case $ac_cv_sys_large_files in #(
16436 no | unknown) ;;
16438 cat >>confdefs.h <<_ACEOF
16439 #define _LARGE_FILES $ac_cv_sys_large_files
16440 _ACEOF
16442 esac
16443 rm -rf conftest*
16450 # Types
16451 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16452 if test "x$ac_cv_type_off_t" = xyes; then :
16454 else
16456 cat >>confdefs.h <<_ACEOF
16457 #define off_t long int
16458 _ACEOF
16463 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16464 if test "x$ac_cv_type_intptr_t" = xyes; then :
16466 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16468 else
16469 for ac_type in 'int' 'long int' 'long long int'; do
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16472 $ac_includes_default
16474 main ()
16476 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16477 test_array [0] = 0;
16478 return test_array [0];
16481 return 0;
16483 _ACEOF
16484 if ac_fn_c_try_compile "$LINENO"; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define intptr_t $ac_type
16488 _ACEOF
16490 ac_type=
16492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16493 test -z "$ac_type" && break
16494 done
16499 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16500 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16502 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16504 else
16505 for ac_type in 'unsigned int' 'unsigned long int' \
16506 'unsigned long long int'; do
16507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16508 /* end confdefs.h. */
16509 $ac_includes_default
16511 main ()
16513 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16514 test_array [0] = 0;
16515 return test_array [0];
16518 return 0;
16520 _ACEOF
16521 if ac_fn_c_try_compile "$LINENO"; then :
16523 cat >>confdefs.h <<_ACEOF
16524 #define uintptr_t $ac_type
16525 _ACEOF
16527 ac_type=
16529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16530 test -z "$ac_type" && break
16531 done
16535 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16536 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16538 cat >>confdefs.h <<_ACEOF
16539 #define HAVE_PTRDIFF_T 1
16540 _ACEOF
16546 # check header files (we assume C89 is available, so don't check for that)
16550 for ac_header in $ac_header_list
16551 do :
16552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16553 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16555 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16556 cat >>confdefs.h <<_ACEOF
16557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16558 _ACEOF
16562 done
16602 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16604 acx_cv_header_stdint=stddef.h
16605 acx_cv_header_stdint_kind="(already complete)"
16606 for i in stdint.h $inttype_headers; do
16607 unset ac_cv_type_uintptr_t
16608 unset ac_cv_type_uintmax_t
16609 unset ac_cv_type_int_least32_t
16610 unset ac_cv_type_int_fast32_t
16611 unset ac_cv_type_uint64_t
16612 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16613 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16614 #include <$i>
16616 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16617 acx_cv_header_stdint=$i
16618 else
16619 continue
16622 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16623 #include <$i>
16625 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16627 else
16628 acx_cv_header_stdint_kind="(mostly complete)"
16631 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16632 #include <$i>
16634 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16636 else
16637 acx_cv_header_stdint_kind="(mostly complete)"
16640 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16641 #include <$i>
16643 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16645 else
16646 acx_cv_header_stdint_kind="(mostly complete)"
16649 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16650 #include <$i>
16652 if test "x$ac_cv_type_uint64_t" = xyes; then :
16654 else
16655 acx_cv_header_stdint_kind="(lacks uint64_t)"
16658 break
16659 done
16660 if test "$acx_cv_header_stdint" = stddef.h; then
16661 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16662 for i in stdint.h $inttype_headers; do
16663 unset ac_cv_type_uintptr_t
16664 unset ac_cv_type_uint32_t
16665 unset ac_cv_type_uint64_t
16666 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16667 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16668 #include <$i>
16670 if test "x$ac_cv_type_uint32_t" = xyes; then :
16671 acx_cv_header_stdint=$i
16672 else
16673 continue
16676 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16677 #include <$i>
16679 if test "x$ac_cv_type_uint64_t" = xyes; then :
16683 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16684 #include <$i>
16686 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16690 break
16691 done
16693 if test "$acx_cv_header_stdint" = stddef.h; then
16694 acx_cv_header_stdint_kind="(u_intXX_t style)"
16695 for i in sys/types.h $inttype_headers; do
16696 unset ac_cv_type_u_int32_t
16697 unset ac_cv_type_u_int64_t
16698 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16699 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16700 #include <$i>
16702 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16703 acx_cv_header_stdint=$i
16704 else
16705 continue
16708 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16709 #include <$i>
16711 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16715 break
16716 done
16718 if test "$acx_cv_header_stdint" = stddef.h; then
16719 acx_cv_header_stdint_kind="(using manual detection)"
16722 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16723 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16724 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16725 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16726 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16728 # ----------------- Summarize what we found so far
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16731 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16733 case `$as_basename -- gstdint.h ||
16734 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16735 Xgstdint.h : 'X\(//\)$' \| \
16736 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16737 $as_echo X/gstdint.h |
16738 sed '/^.*\/\([^/][^/]*\)\/*$/{
16739 s//\1/
16742 /^X\/\(\/\/\)$/{
16743 s//\1/
16746 /^X\/\(\/\).*/{
16747 s//\1/
16750 s/.*/./; q'` in
16751 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16752 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16753 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16754 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16755 *) ;;
16756 esac
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16759 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16761 # ----------------- done included file, check C basic types --------
16763 # Lacking an uintptr_t? Test size of void *
16764 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16765 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16768 # This bug is HP SR number 8606223364.
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16770 $as_echo_n "checking size of void *... " >&6; }
16771 if ${ac_cv_sizeof_void_p+:} false; then :
16772 $as_echo_n "(cached) " >&6
16773 else
16774 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16776 else
16777 if test "$ac_cv_type_void_p" = yes; then
16778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16780 as_fn_error 77 "cannot compute sizeof (void *)
16781 See \`config.log' for more details" "$LINENO" 5; }
16782 else
16783 ac_cv_sizeof_void_p=0
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16789 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16793 cat >>confdefs.h <<_ACEOF
16794 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16795 _ACEOF
16798 esac
16800 # Lacking an uint64_t? Test size of long
16801 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16802 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16805 # This bug is HP SR number 8606223364.
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16807 $as_echo_n "checking size of long... " >&6; }
16808 if ${ac_cv_sizeof_long+:} false; then :
16809 $as_echo_n "(cached) " >&6
16810 else
16811 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16813 else
16814 if test "$ac_cv_type_long" = yes; then
16815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16817 as_fn_error 77 "cannot compute sizeof (long)
16818 See \`config.log' for more details" "$LINENO" 5; }
16819 else
16820 ac_cv_sizeof_long=0
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16826 $as_echo "$ac_cv_sizeof_long" >&6; }
16830 cat >>confdefs.h <<_ACEOF
16831 #define SIZEOF_LONG $ac_cv_sizeof_long
16832 _ACEOF
16835 esac
16837 if test $acx_cv_header_stdint = stddef.h; then
16838 # Lacking a good header? Test size of everything and deduce all types.
16839 # The cast to long int works around a bug in the HP C Compiler
16840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16842 # This bug is HP SR number 8606223364.
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16844 $as_echo_n "checking size of int... " >&6; }
16845 if ${ac_cv_sizeof_int+:} false; then :
16846 $as_echo_n "(cached) " >&6
16847 else
16848 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16850 else
16851 if test "$ac_cv_type_int" = yes; then
16852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16854 as_fn_error 77 "cannot compute sizeof (int)
16855 See \`config.log' for more details" "$LINENO" 5; }
16856 else
16857 ac_cv_sizeof_int=0
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16863 $as_echo "$ac_cv_sizeof_int" >&6; }
16867 cat >>confdefs.h <<_ACEOF
16868 #define SIZEOF_INT $ac_cv_sizeof_int
16869 _ACEOF
16872 # The cast to long int works around a bug in the HP C Compiler
16873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16875 # This bug is HP SR number 8606223364.
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16877 $as_echo_n "checking size of short... " >&6; }
16878 if ${ac_cv_sizeof_short+:} false; then :
16879 $as_echo_n "(cached) " >&6
16880 else
16881 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16883 else
16884 if test "$ac_cv_type_short" = yes; then
16885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16887 as_fn_error 77 "cannot compute sizeof (short)
16888 See \`config.log' for more details" "$LINENO" 5; }
16889 else
16890 ac_cv_sizeof_short=0
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16896 $as_echo "$ac_cv_sizeof_short" >&6; }
16900 cat >>confdefs.h <<_ACEOF
16901 #define SIZEOF_SHORT $ac_cv_sizeof_short
16902 _ACEOF
16905 # The cast to long int works around a bug in the HP C Compiler
16906 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16907 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16908 # This bug is HP SR number 8606223364.
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16910 $as_echo_n "checking size of char... " >&6; }
16911 if ${ac_cv_sizeof_char+:} false; then :
16912 $as_echo_n "(cached) " >&6
16913 else
16914 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16916 else
16917 if test "$ac_cv_type_char" = yes; then
16918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16920 as_fn_error 77 "cannot compute sizeof (char)
16921 See \`config.log' for more details" "$LINENO" 5; }
16922 else
16923 ac_cv_sizeof_char=0
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16929 $as_echo "$ac_cv_sizeof_char" >&6; }
16933 cat >>confdefs.h <<_ACEOF
16934 #define SIZEOF_CHAR $ac_cv_sizeof_char
16935 _ACEOF
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16940 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16941 case "$ac_cv_sizeof_char" in
16942 1) acx_cv_type_int8_t=char ;;
16943 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
16944 esac
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16946 $as_echo "$acx_cv_type_int8_t" >&6; }
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16949 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16950 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16951 2:*) acx_cv_type_int16_t=int ;;
16952 *:2) acx_cv_type_int16_t=short ;;
16953 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
16954 esac
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16956 $as_echo "$acx_cv_type_int16_t" >&6; }
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16959 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16960 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16961 4:*) acx_cv_type_int32_t=int ;;
16962 *:4) acx_cv_type_int32_t=long ;;
16963 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
16964 esac
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16966 $as_echo "$acx_cv_type_int32_t" >&6; }
16969 # These tests are here to make the output prettier
16971 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16972 case "$ac_cv_sizeof_long" in
16973 8) acx_cv_type_int64_t=long ;;
16974 esac
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16976 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16978 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16981 # Now we can use the above types
16983 if test "$ac_cv_type_uintptr_t" != yes; then
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16985 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16986 case $ac_cv_sizeof_void_p in
16987 2) acx_cv_type_intptr_t=int16_t ;;
16988 4) acx_cv_type_intptr_t=int32_t ;;
16989 8) acx_cv_type_intptr_t=int64_t ;;
16990 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16991 esac
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16993 $as_echo "$acx_cv_type_intptr_t" >&6; }
16996 # ----------------- done all checks, emit header -------------
16997 ac_config_commands="$ac_config_commands gstdint.h"
17002 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17003 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
17005 cat >>confdefs.h <<_ACEOF
17006 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17007 _ACEOF
17011 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17012 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17014 cat >>confdefs.h <<_ACEOF
17015 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17016 _ACEOF
17020 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17021 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17023 cat >>confdefs.h <<_ACEOF
17024 #define HAVE_STRUCT_STAT_ST_RDEV 1
17025 _ACEOF
17031 case "${host}--x${with_newlib}" in
17032 mips*--xyes)
17033 hardwire_newlib=1;;
17034 nvptx*--xyes)
17035 hardwire_newlib=1;;
17036 esac
17038 # Check for library functions.
17039 if test "${hardwire_newlib:-0}" -eq 1; then
17040 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17041 # may not work correctly, because the compiler may not be able to
17042 # link executables.
17044 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17047 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17050 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17053 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17056 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17059 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17062 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17065 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17068 # At some point, we should differentiate between architectures
17069 # like x86, which have long double versions, and alpha/powerpc/etc.,
17070 # which don't. For the time being, punt.
17071 if test x"long_double_math_on_this_cpu" = x"yes"; then
17073 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17076 else
17080 for ac_func in $ac_func_list
17081 do :
17082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17084 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17085 cat >>confdefs.h <<_ACEOF
17086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17087 _ACEOF
17090 done
17207 # Check strerror_r, cannot be above as versions with two and three arguments exist
17209 ac_save_CFLAGS="$CFLAGS"
17210 CFLAGS="-Wimplicit-function-declaration -Werror"
17211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17213 #define _GNU_SOURCE 1
17214 #include <string.h>
17215 #include <locale.h>
17217 main ()
17219 char s[128]; strerror_r(5, s, 128);
17221 return 0;
17223 _ACEOF
17224 if ac_fn_c_try_compile "$LINENO"; then :
17226 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17230 CFLAGS="$ac_save_CFLAGS"
17232 ac_save_CFLAGS="$CFLAGS"
17233 CFLAGS="-Wimplicit-function-declaration -Werror"
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 #define _GNU_SOURCE 1
17237 #include <string.h>
17238 #include <locale.h>
17240 main ()
17242 char s[128]; strerror_r(5, s);
17244 return 0;
17246 _ACEOF
17247 if ac_fn_c_try_compile "$LINENO"; then :
17249 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253 CFLAGS="$ac_save_CFLAGS"
17256 # Check for C99 (and other IEEE) math functions
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17258 $as_echo_n "checking for sin in -lm... " >&6; }
17259 if ${ac_cv_lib_m_sin+:} false; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17262 ac_check_lib_save_LIBS=$LIBS
17263 LIBS="-lm $LIBS"
17264 if test x$gcc_no_link = xyes; then
17265 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17270 /* Override any GCC internal prototype to avoid an error.
17271 Use char because int might match the return type of a GCC
17272 builtin and then its argument prototype would still apply. */
17273 #ifdef __cplusplus
17274 extern "C"
17275 #endif
17276 char sin ();
17278 main ()
17280 return sin ();
17282 return 0;
17284 _ACEOF
17285 if ac_fn_c_try_link "$LINENO"; then :
17286 ac_cv_lib_m_sin=yes
17287 else
17288 ac_cv_lib_m_sin=no
17290 rm -f core conftest.err conftest.$ac_objext \
17291 conftest$ac_exeext conftest.$ac_ext
17292 LIBS=$ac_check_lib_save_LIBS
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17295 $as_echo "$ac_cv_lib_m_sin" >&6; }
17296 if test "x$ac_cv_lib_m_sin" = xyes; then :
17297 cat >>confdefs.h <<_ACEOF
17298 #define HAVE_LIBM 1
17299 _ACEOF
17301 LIBS="-lm $LIBS"
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17312 $as_echo_n "checking for acosf... " >&6; }
17313 if ${gcc_cv_math_func_acosf+:} false; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17316 if test x$gcc_no_link = xyes; then
17317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17322 #ifdef HAVE_COMPLEX_H
17323 #include <complex.h>
17324 #endif
17325 #ifdef HAVE_MATH_H
17326 #include <math.h>
17327 #endif
17329 int (*ptr)() = (int (*)())acosf;
17332 main ()
17334 return 0;
17337 _ACEOF
17338 if ac_fn_c_try_link "$LINENO"; then :
17339 gcc_cv_math_func_acosf=yes
17340 else
17341 gcc_cv_math_func_acosf=no
17343 rm -f core conftest.err conftest.$ac_objext \
17344 conftest$ac_exeext conftest.$ac_ext
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17347 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17348 if test $gcc_cv_math_func_acosf = yes; then
17350 cat >>confdefs.h <<_ACEOF
17351 #define HAVE_ACOSF 1
17352 _ACEOF
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17360 $as_echo_n "checking for acos... " >&6; }
17361 if ${gcc_cv_math_func_acos+:} false; then :
17362 $as_echo_n "(cached) " >&6
17363 else
17364 if test x$gcc_no_link = xyes; then
17365 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17370 #ifdef HAVE_COMPLEX_H
17371 #include <complex.h>
17372 #endif
17373 #ifdef HAVE_MATH_H
17374 #include <math.h>
17375 #endif
17377 int (*ptr)() = (int (*)())acos;
17380 main ()
17382 return 0;
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"; then :
17387 gcc_cv_math_func_acos=yes
17388 else
17389 gcc_cv_math_func_acos=no
17391 rm -f core conftest.err conftest.$ac_objext \
17392 conftest$ac_exeext conftest.$ac_ext
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17395 $as_echo "$gcc_cv_math_func_acos" >&6; }
17396 if test $gcc_cv_math_func_acos = yes; then
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_ACOS 1
17400 _ACEOF
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17408 $as_echo_n "checking for acosl... " >&6; }
17409 if ${gcc_cv_math_func_acosl+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 if test x$gcc_no_link = xyes; then
17413 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17418 #ifdef HAVE_COMPLEX_H
17419 #include <complex.h>
17420 #endif
17421 #ifdef HAVE_MATH_H
17422 #include <math.h>
17423 #endif
17425 int (*ptr)() = (int (*)())acosl;
17428 main ()
17430 return 0;
17433 _ACEOF
17434 if ac_fn_c_try_link "$LINENO"; then :
17435 gcc_cv_math_func_acosl=yes
17436 else
17437 gcc_cv_math_func_acosl=no
17439 rm -f core conftest.err conftest.$ac_objext \
17440 conftest$ac_exeext conftest.$ac_ext
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17443 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17444 if test $gcc_cv_math_func_acosl = yes; then
17446 cat >>confdefs.h <<_ACEOF
17447 #define HAVE_ACOSL 1
17448 _ACEOF
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17456 $as_echo_n "checking for acoshf... " >&6; }
17457 if ${gcc_cv_math_func_acoshf+:} false; then :
17458 $as_echo_n "(cached) " >&6
17459 else
17460 if test x$gcc_no_link = xyes; then
17461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17466 #ifdef HAVE_COMPLEX_H
17467 #include <complex.h>
17468 #endif
17469 #ifdef HAVE_MATH_H
17470 #include <math.h>
17471 #endif
17473 int (*ptr)() = (int (*)())acoshf;
17476 main ()
17478 return 0;
17481 _ACEOF
17482 if ac_fn_c_try_link "$LINENO"; then :
17483 gcc_cv_math_func_acoshf=yes
17484 else
17485 gcc_cv_math_func_acoshf=no
17487 rm -f core conftest.err conftest.$ac_objext \
17488 conftest$ac_exeext conftest.$ac_ext
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17491 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17492 if test $gcc_cv_math_func_acoshf = yes; then
17494 cat >>confdefs.h <<_ACEOF
17495 #define HAVE_ACOSHF 1
17496 _ACEOF
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17504 $as_echo_n "checking for acosh... " >&6; }
17505 if ${gcc_cv_math_func_acosh+:} false; then :
17506 $as_echo_n "(cached) " >&6
17507 else
17508 if test x$gcc_no_link = xyes; then
17509 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17514 #ifdef HAVE_COMPLEX_H
17515 #include <complex.h>
17516 #endif
17517 #ifdef HAVE_MATH_H
17518 #include <math.h>
17519 #endif
17521 int (*ptr)() = (int (*)())acosh;
17524 main ()
17526 return 0;
17529 _ACEOF
17530 if ac_fn_c_try_link "$LINENO"; then :
17531 gcc_cv_math_func_acosh=yes
17532 else
17533 gcc_cv_math_func_acosh=no
17535 rm -f core conftest.err conftest.$ac_objext \
17536 conftest$ac_exeext conftest.$ac_ext
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17539 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17540 if test $gcc_cv_math_func_acosh = yes; then
17542 cat >>confdefs.h <<_ACEOF
17543 #define HAVE_ACOSH 1
17544 _ACEOF
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17552 $as_echo_n "checking for acoshl... " >&6; }
17553 if ${gcc_cv_math_func_acoshl+:} false; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17556 if test x$gcc_no_link = xyes; then
17557 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17562 #ifdef HAVE_COMPLEX_H
17563 #include <complex.h>
17564 #endif
17565 #ifdef HAVE_MATH_H
17566 #include <math.h>
17567 #endif
17569 int (*ptr)() = (int (*)())acoshl;
17572 main ()
17574 return 0;
17577 _ACEOF
17578 if ac_fn_c_try_link "$LINENO"; then :
17579 gcc_cv_math_func_acoshl=yes
17580 else
17581 gcc_cv_math_func_acoshl=no
17583 rm -f core conftest.err conftest.$ac_objext \
17584 conftest$ac_exeext conftest.$ac_ext
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17587 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17588 if test $gcc_cv_math_func_acoshl = yes; then
17590 cat >>confdefs.h <<_ACEOF
17591 #define HAVE_ACOSHL 1
17592 _ACEOF
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17600 $as_echo_n "checking for asinf... " >&6; }
17601 if ${gcc_cv_math_func_asinf+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604 if test x$gcc_no_link = xyes; then
17605 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h. */
17610 #ifdef HAVE_COMPLEX_H
17611 #include <complex.h>
17612 #endif
17613 #ifdef HAVE_MATH_H
17614 #include <math.h>
17615 #endif
17617 int (*ptr)() = (int (*)())asinf;
17620 main ()
17622 return 0;
17625 _ACEOF
17626 if ac_fn_c_try_link "$LINENO"; then :
17627 gcc_cv_math_func_asinf=yes
17628 else
17629 gcc_cv_math_func_asinf=no
17631 rm -f core conftest.err conftest.$ac_objext \
17632 conftest$ac_exeext conftest.$ac_ext
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17635 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17636 if test $gcc_cv_math_func_asinf = yes; then
17638 cat >>confdefs.h <<_ACEOF
17639 #define HAVE_ASINF 1
17640 _ACEOF
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17648 $as_echo_n "checking for asin... " >&6; }
17649 if ${gcc_cv_math_func_asin+:} false; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17652 if test x$gcc_no_link = xyes; then
17653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17658 #ifdef HAVE_COMPLEX_H
17659 #include <complex.h>
17660 #endif
17661 #ifdef HAVE_MATH_H
17662 #include <math.h>
17663 #endif
17665 int (*ptr)() = (int (*)())asin;
17668 main ()
17670 return 0;
17673 _ACEOF
17674 if ac_fn_c_try_link "$LINENO"; then :
17675 gcc_cv_math_func_asin=yes
17676 else
17677 gcc_cv_math_func_asin=no
17679 rm -f core conftest.err conftest.$ac_objext \
17680 conftest$ac_exeext conftest.$ac_ext
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17683 $as_echo "$gcc_cv_math_func_asin" >&6; }
17684 if test $gcc_cv_math_func_asin = yes; then
17686 cat >>confdefs.h <<_ACEOF
17687 #define HAVE_ASIN 1
17688 _ACEOF
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17696 $as_echo_n "checking for asinl... " >&6; }
17697 if ${gcc_cv_math_func_asinl+:} false; then :
17698 $as_echo_n "(cached) " >&6
17699 else
17700 if test x$gcc_no_link = xyes; then
17701 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17706 #ifdef HAVE_COMPLEX_H
17707 #include <complex.h>
17708 #endif
17709 #ifdef HAVE_MATH_H
17710 #include <math.h>
17711 #endif
17713 int (*ptr)() = (int (*)())asinl;
17716 main ()
17718 return 0;
17721 _ACEOF
17722 if ac_fn_c_try_link "$LINENO"; then :
17723 gcc_cv_math_func_asinl=yes
17724 else
17725 gcc_cv_math_func_asinl=no
17727 rm -f core conftest.err conftest.$ac_objext \
17728 conftest$ac_exeext conftest.$ac_ext
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17731 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17732 if test $gcc_cv_math_func_asinl = yes; then
17734 cat >>confdefs.h <<_ACEOF
17735 #define HAVE_ASINL 1
17736 _ACEOF
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17744 $as_echo_n "checking for asinhf... " >&6; }
17745 if ${gcc_cv_math_func_asinhf+:} false; then :
17746 $as_echo_n "(cached) " >&6
17747 else
17748 if test x$gcc_no_link = xyes; then
17749 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17752 /* end confdefs.h. */
17754 #ifdef HAVE_COMPLEX_H
17755 #include <complex.h>
17756 #endif
17757 #ifdef HAVE_MATH_H
17758 #include <math.h>
17759 #endif
17761 int (*ptr)() = (int (*)())asinhf;
17764 main ()
17766 return 0;
17769 _ACEOF
17770 if ac_fn_c_try_link "$LINENO"; then :
17771 gcc_cv_math_func_asinhf=yes
17772 else
17773 gcc_cv_math_func_asinhf=no
17775 rm -f core conftest.err conftest.$ac_objext \
17776 conftest$ac_exeext conftest.$ac_ext
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17779 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17780 if test $gcc_cv_math_func_asinhf = yes; then
17782 cat >>confdefs.h <<_ACEOF
17783 #define HAVE_ASINHF 1
17784 _ACEOF
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17792 $as_echo_n "checking for asinh... " >&6; }
17793 if ${gcc_cv_math_func_asinh+:} false; then :
17794 $as_echo_n "(cached) " >&6
17795 else
17796 if test x$gcc_no_link = xyes; then
17797 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17802 #ifdef HAVE_COMPLEX_H
17803 #include <complex.h>
17804 #endif
17805 #ifdef HAVE_MATH_H
17806 #include <math.h>
17807 #endif
17809 int (*ptr)() = (int (*)())asinh;
17812 main ()
17814 return 0;
17817 _ACEOF
17818 if ac_fn_c_try_link "$LINENO"; then :
17819 gcc_cv_math_func_asinh=yes
17820 else
17821 gcc_cv_math_func_asinh=no
17823 rm -f core conftest.err conftest.$ac_objext \
17824 conftest$ac_exeext conftest.$ac_ext
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17827 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17828 if test $gcc_cv_math_func_asinh = yes; then
17830 cat >>confdefs.h <<_ACEOF
17831 #define HAVE_ASINH 1
17832 _ACEOF
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17840 $as_echo_n "checking for asinhl... " >&6; }
17841 if ${gcc_cv_math_func_asinhl+:} false; then :
17842 $as_echo_n "(cached) " >&6
17843 else
17844 if test x$gcc_no_link = xyes; then
17845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17850 #ifdef HAVE_COMPLEX_H
17851 #include <complex.h>
17852 #endif
17853 #ifdef HAVE_MATH_H
17854 #include <math.h>
17855 #endif
17857 int (*ptr)() = (int (*)())asinhl;
17860 main ()
17862 return 0;
17865 _ACEOF
17866 if ac_fn_c_try_link "$LINENO"; then :
17867 gcc_cv_math_func_asinhl=yes
17868 else
17869 gcc_cv_math_func_asinhl=no
17871 rm -f core conftest.err conftest.$ac_objext \
17872 conftest$ac_exeext conftest.$ac_ext
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17875 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17876 if test $gcc_cv_math_func_asinhl = yes; then
17878 cat >>confdefs.h <<_ACEOF
17879 #define HAVE_ASINHL 1
17880 _ACEOF
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17888 $as_echo_n "checking for atan2f... " >&6; }
17889 if ${gcc_cv_math_func_atan2f+:} false; then :
17890 $as_echo_n "(cached) " >&6
17891 else
17892 if test x$gcc_no_link = xyes; then
17893 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17898 #ifdef HAVE_COMPLEX_H
17899 #include <complex.h>
17900 #endif
17901 #ifdef HAVE_MATH_H
17902 #include <math.h>
17903 #endif
17905 int (*ptr)() = (int (*)())atan2f;
17908 main ()
17910 return 0;
17913 _ACEOF
17914 if ac_fn_c_try_link "$LINENO"; then :
17915 gcc_cv_math_func_atan2f=yes
17916 else
17917 gcc_cv_math_func_atan2f=no
17919 rm -f core conftest.err conftest.$ac_objext \
17920 conftest$ac_exeext conftest.$ac_ext
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17923 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17924 if test $gcc_cv_math_func_atan2f = yes; then
17926 cat >>confdefs.h <<_ACEOF
17927 #define HAVE_ATAN2F 1
17928 _ACEOF
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17936 $as_echo_n "checking for atan2... " >&6; }
17937 if ${gcc_cv_math_func_atan2+:} false; then :
17938 $as_echo_n "(cached) " >&6
17939 else
17940 if test x$gcc_no_link = xyes; then
17941 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17944 /* end confdefs.h. */
17946 #ifdef HAVE_COMPLEX_H
17947 #include <complex.h>
17948 #endif
17949 #ifdef HAVE_MATH_H
17950 #include <math.h>
17951 #endif
17953 int (*ptr)() = (int (*)())atan2;
17956 main ()
17958 return 0;
17961 _ACEOF
17962 if ac_fn_c_try_link "$LINENO"; then :
17963 gcc_cv_math_func_atan2=yes
17964 else
17965 gcc_cv_math_func_atan2=no
17967 rm -f core conftest.err conftest.$ac_objext \
17968 conftest$ac_exeext conftest.$ac_ext
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17971 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17972 if test $gcc_cv_math_func_atan2 = yes; then
17974 cat >>confdefs.h <<_ACEOF
17975 #define HAVE_ATAN2 1
17976 _ACEOF
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17984 $as_echo_n "checking for atan2l... " >&6; }
17985 if ${gcc_cv_math_func_atan2l+:} false; then :
17986 $as_echo_n "(cached) " >&6
17987 else
17988 if test x$gcc_no_link = xyes; then
17989 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17994 #ifdef HAVE_COMPLEX_H
17995 #include <complex.h>
17996 #endif
17997 #ifdef HAVE_MATH_H
17998 #include <math.h>
17999 #endif
18001 int (*ptr)() = (int (*)())atan2l;
18004 main ()
18006 return 0;
18009 _ACEOF
18010 if ac_fn_c_try_link "$LINENO"; then :
18011 gcc_cv_math_func_atan2l=yes
18012 else
18013 gcc_cv_math_func_atan2l=no
18015 rm -f core conftest.err conftest.$ac_objext \
18016 conftest$ac_exeext conftest.$ac_ext
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18019 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18020 if test $gcc_cv_math_func_atan2l = yes; then
18022 cat >>confdefs.h <<_ACEOF
18023 #define HAVE_ATAN2L 1
18024 _ACEOF
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18032 $as_echo_n "checking for atanf... " >&6; }
18033 if ${gcc_cv_math_func_atanf+:} false; then :
18034 $as_echo_n "(cached) " >&6
18035 else
18036 if test x$gcc_no_link = xyes; then
18037 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18042 #ifdef HAVE_COMPLEX_H
18043 #include <complex.h>
18044 #endif
18045 #ifdef HAVE_MATH_H
18046 #include <math.h>
18047 #endif
18049 int (*ptr)() = (int (*)())atanf;
18052 main ()
18054 return 0;
18057 _ACEOF
18058 if ac_fn_c_try_link "$LINENO"; then :
18059 gcc_cv_math_func_atanf=yes
18060 else
18061 gcc_cv_math_func_atanf=no
18063 rm -f core conftest.err conftest.$ac_objext \
18064 conftest$ac_exeext conftest.$ac_ext
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18067 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18068 if test $gcc_cv_math_func_atanf = yes; then
18070 cat >>confdefs.h <<_ACEOF
18071 #define HAVE_ATANF 1
18072 _ACEOF
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18080 $as_echo_n "checking for atan... " >&6; }
18081 if ${gcc_cv_math_func_atan+:} false; then :
18082 $as_echo_n "(cached) " >&6
18083 else
18084 if test x$gcc_no_link = xyes; then
18085 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18088 /* end confdefs.h. */
18090 #ifdef HAVE_COMPLEX_H
18091 #include <complex.h>
18092 #endif
18093 #ifdef HAVE_MATH_H
18094 #include <math.h>
18095 #endif
18097 int (*ptr)() = (int (*)())atan;
18100 main ()
18102 return 0;
18105 _ACEOF
18106 if ac_fn_c_try_link "$LINENO"; then :
18107 gcc_cv_math_func_atan=yes
18108 else
18109 gcc_cv_math_func_atan=no
18111 rm -f core conftest.err conftest.$ac_objext \
18112 conftest$ac_exeext conftest.$ac_ext
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18115 $as_echo "$gcc_cv_math_func_atan" >&6; }
18116 if test $gcc_cv_math_func_atan = yes; then
18118 cat >>confdefs.h <<_ACEOF
18119 #define HAVE_ATAN 1
18120 _ACEOF
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18128 $as_echo_n "checking for atanl... " >&6; }
18129 if ${gcc_cv_math_func_atanl+:} false; then :
18130 $as_echo_n "(cached) " >&6
18131 else
18132 if test x$gcc_no_link = xyes; then
18133 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18138 #ifdef HAVE_COMPLEX_H
18139 #include <complex.h>
18140 #endif
18141 #ifdef HAVE_MATH_H
18142 #include <math.h>
18143 #endif
18145 int (*ptr)() = (int (*)())atanl;
18148 main ()
18150 return 0;
18153 _ACEOF
18154 if ac_fn_c_try_link "$LINENO"; then :
18155 gcc_cv_math_func_atanl=yes
18156 else
18157 gcc_cv_math_func_atanl=no
18159 rm -f core conftest.err conftest.$ac_objext \
18160 conftest$ac_exeext conftest.$ac_ext
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18163 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18164 if test $gcc_cv_math_func_atanl = yes; then
18166 cat >>confdefs.h <<_ACEOF
18167 #define HAVE_ATANL 1
18168 _ACEOF
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18176 $as_echo_n "checking for atanhf... " >&6; }
18177 if ${gcc_cv_math_func_atanhf+:} false; then :
18178 $as_echo_n "(cached) " >&6
18179 else
18180 if test x$gcc_no_link = xyes; then
18181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18186 #ifdef HAVE_COMPLEX_H
18187 #include <complex.h>
18188 #endif
18189 #ifdef HAVE_MATH_H
18190 #include <math.h>
18191 #endif
18193 int (*ptr)() = (int (*)())atanhf;
18196 main ()
18198 return 0;
18201 _ACEOF
18202 if ac_fn_c_try_link "$LINENO"; then :
18203 gcc_cv_math_func_atanhf=yes
18204 else
18205 gcc_cv_math_func_atanhf=no
18207 rm -f core conftest.err conftest.$ac_objext \
18208 conftest$ac_exeext conftest.$ac_ext
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18211 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18212 if test $gcc_cv_math_func_atanhf = yes; then
18214 cat >>confdefs.h <<_ACEOF
18215 #define HAVE_ATANHF 1
18216 _ACEOF
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18224 $as_echo_n "checking for atanh... " >&6; }
18225 if ${gcc_cv_math_func_atanh+:} false; then :
18226 $as_echo_n "(cached) " >&6
18227 else
18228 if test x$gcc_no_link = xyes; then
18229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18234 #ifdef HAVE_COMPLEX_H
18235 #include <complex.h>
18236 #endif
18237 #ifdef HAVE_MATH_H
18238 #include <math.h>
18239 #endif
18241 int (*ptr)() = (int (*)())atanh;
18244 main ()
18246 return 0;
18249 _ACEOF
18250 if ac_fn_c_try_link "$LINENO"; then :
18251 gcc_cv_math_func_atanh=yes
18252 else
18253 gcc_cv_math_func_atanh=no
18255 rm -f core conftest.err conftest.$ac_objext \
18256 conftest$ac_exeext conftest.$ac_ext
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18259 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18260 if test $gcc_cv_math_func_atanh = yes; then
18262 cat >>confdefs.h <<_ACEOF
18263 #define HAVE_ATANH 1
18264 _ACEOF
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18272 $as_echo_n "checking for atanhl... " >&6; }
18273 if ${gcc_cv_math_func_atanhl+:} false; then :
18274 $as_echo_n "(cached) " >&6
18275 else
18276 if test x$gcc_no_link = xyes; then
18277 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18282 #ifdef HAVE_COMPLEX_H
18283 #include <complex.h>
18284 #endif
18285 #ifdef HAVE_MATH_H
18286 #include <math.h>
18287 #endif
18289 int (*ptr)() = (int (*)())atanhl;
18292 main ()
18294 return 0;
18297 _ACEOF
18298 if ac_fn_c_try_link "$LINENO"; then :
18299 gcc_cv_math_func_atanhl=yes
18300 else
18301 gcc_cv_math_func_atanhl=no
18303 rm -f core conftest.err conftest.$ac_objext \
18304 conftest$ac_exeext conftest.$ac_ext
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18307 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18308 if test $gcc_cv_math_func_atanhl = yes; then
18310 cat >>confdefs.h <<_ACEOF
18311 #define HAVE_ATANHL 1
18312 _ACEOF
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18320 $as_echo_n "checking for cargf... " >&6; }
18321 if ${gcc_cv_math_func_cargf+:} false; then :
18322 $as_echo_n "(cached) " >&6
18323 else
18324 if test x$gcc_no_link = xyes; then
18325 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18330 #ifdef HAVE_COMPLEX_H
18331 #include <complex.h>
18332 #endif
18333 #ifdef HAVE_MATH_H
18334 #include <math.h>
18335 #endif
18337 int (*ptr)() = (int (*)())cargf;
18340 main ()
18342 return 0;
18345 _ACEOF
18346 if ac_fn_c_try_link "$LINENO"; then :
18347 gcc_cv_math_func_cargf=yes
18348 else
18349 gcc_cv_math_func_cargf=no
18351 rm -f core conftest.err conftest.$ac_objext \
18352 conftest$ac_exeext conftest.$ac_ext
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18355 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18356 if test $gcc_cv_math_func_cargf = yes; then
18358 cat >>confdefs.h <<_ACEOF
18359 #define HAVE_CARGF 1
18360 _ACEOF
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18368 $as_echo_n "checking for carg... " >&6; }
18369 if ${gcc_cv_math_func_carg+:} false; then :
18370 $as_echo_n "(cached) " >&6
18371 else
18372 if test x$gcc_no_link = xyes; then
18373 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18378 #ifdef HAVE_COMPLEX_H
18379 #include <complex.h>
18380 #endif
18381 #ifdef HAVE_MATH_H
18382 #include <math.h>
18383 #endif
18385 int (*ptr)() = (int (*)())carg;
18388 main ()
18390 return 0;
18393 _ACEOF
18394 if ac_fn_c_try_link "$LINENO"; then :
18395 gcc_cv_math_func_carg=yes
18396 else
18397 gcc_cv_math_func_carg=no
18399 rm -f core conftest.err conftest.$ac_objext \
18400 conftest$ac_exeext conftest.$ac_ext
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18403 $as_echo "$gcc_cv_math_func_carg" >&6; }
18404 if test $gcc_cv_math_func_carg = yes; then
18406 cat >>confdefs.h <<_ACEOF
18407 #define HAVE_CARG 1
18408 _ACEOF
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18416 $as_echo_n "checking for cargl... " >&6; }
18417 if ${gcc_cv_math_func_cargl+:} false; then :
18418 $as_echo_n "(cached) " >&6
18419 else
18420 if test x$gcc_no_link = xyes; then
18421 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h. */
18426 #ifdef HAVE_COMPLEX_H
18427 #include <complex.h>
18428 #endif
18429 #ifdef HAVE_MATH_H
18430 #include <math.h>
18431 #endif
18433 int (*ptr)() = (int (*)())cargl;
18436 main ()
18438 return 0;
18441 _ACEOF
18442 if ac_fn_c_try_link "$LINENO"; then :
18443 gcc_cv_math_func_cargl=yes
18444 else
18445 gcc_cv_math_func_cargl=no
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18451 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18452 if test $gcc_cv_math_func_cargl = yes; then
18454 cat >>confdefs.h <<_ACEOF
18455 #define HAVE_CARGL 1
18456 _ACEOF
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18464 $as_echo_n "checking for ceilf... " >&6; }
18465 if ${gcc_cv_math_func_ceilf+:} false; then :
18466 $as_echo_n "(cached) " >&6
18467 else
18468 if test x$gcc_no_link = xyes; then
18469 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18474 #ifdef HAVE_COMPLEX_H
18475 #include <complex.h>
18476 #endif
18477 #ifdef HAVE_MATH_H
18478 #include <math.h>
18479 #endif
18481 int (*ptr)() = (int (*)())ceilf;
18484 main ()
18486 return 0;
18489 _ACEOF
18490 if ac_fn_c_try_link "$LINENO"; then :
18491 gcc_cv_math_func_ceilf=yes
18492 else
18493 gcc_cv_math_func_ceilf=no
18495 rm -f core conftest.err conftest.$ac_objext \
18496 conftest$ac_exeext conftest.$ac_ext
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18499 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18500 if test $gcc_cv_math_func_ceilf = yes; then
18502 cat >>confdefs.h <<_ACEOF
18503 #define HAVE_CEILF 1
18504 _ACEOF
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18512 $as_echo_n "checking for ceil... " >&6; }
18513 if ${gcc_cv_math_func_ceil+:} false; then :
18514 $as_echo_n "(cached) " >&6
18515 else
18516 if test x$gcc_no_link = xyes; then
18517 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18522 #ifdef HAVE_COMPLEX_H
18523 #include <complex.h>
18524 #endif
18525 #ifdef HAVE_MATH_H
18526 #include <math.h>
18527 #endif
18529 int (*ptr)() = (int (*)())ceil;
18532 main ()
18534 return 0;
18537 _ACEOF
18538 if ac_fn_c_try_link "$LINENO"; then :
18539 gcc_cv_math_func_ceil=yes
18540 else
18541 gcc_cv_math_func_ceil=no
18543 rm -f core conftest.err conftest.$ac_objext \
18544 conftest$ac_exeext conftest.$ac_ext
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18547 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18548 if test $gcc_cv_math_func_ceil = yes; then
18550 cat >>confdefs.h <<_ACEOF
18551 #define HAVE_CEIL 1
18552 _ACEOF
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18560 $as_echo_n "checking for ceill... " >&6; }
18561 if ${gcc_cv_math_func_ceill+:} false; then :
18562 $as_echo_n "(cached) " >&6
18563 else
18564 if test x$gcc_no_link = xyes; then
18565 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h. */
18570 #ifdef HAVE_COMPLEX_H
18571 #include <complex.h>
18572 #endif
18573 #ifdef HAVE_MATH_H
18574 #include <math.h>
18575 #endif
18577 int (*ptr)() = (int (*)())ceill;
18580 main ()
18582 return 0;
18585 _ACEOF
18586 if ac_fn_c_try_link "$LINENO"; then :
18587 gcc_cv_math_func_ceill=yes
18588 else
18589 gcc_cv_math_func_ceill=no
18591 rm -f core conftest.err conftest.$ac_objext \
18592 conftest$ac_exeext conftest.$ac_ext
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18595 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18596 if test $gcc_cv_math_func_ceill = yes; then
18598 cat >>confdefs.h <<_ACEOF
18599 #define HAVE_CEILL 1
18600 _ACEOF
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18608 $as_echo_n "checking for copysignf... " >&6; }
18609 if ${gcc_cv_math_func_copysignf+:} false; then :
18610 $as_echo_n "(cached) " >&6
18611 else
18612 if test x$gcc_no_link = xyes; then
18613 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18618 #ifdef HAVE_COMPLEX_H
18619 #include <complex.h>
18620 #endif
18621 #ifdef HAVE_MATH_H
18622 #include <math.h>
18623 #endif
18625 int (*ptr)() = (int (*)())copysignf;
18628 main ()
18630 return 0;
18633 _ACEOF
18634 if ac_fn_c_try_link "$LINENO"; then :
18635 gcc_cv_math_func_copysignf=yes
18636 else
18637 gcc_cv_math_func_copysignf=no
18639 rm -f core conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18643 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18644 if test $gcc_cv_math_func_copysignf = yes; then
18646 cat >>confdefs.h <<_ACEOF
18647 #define HAVE_COPYSIGNF 1
18648 _ACEOF
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18656 $as_echo_n "checking for copysign... " >&6; }
18657 if ${gcc_cv_math_func_copysign+:} false; then :
18658 $as_echo_n "(cached) " >&6
18659 else
18660 if test x$gcc_no_link = xyes; then
18661 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18666 #ifdef HAVE_COMPLEX_H
18667 #include <complex.h>
18668 #endif
18669 #ifdef HAVE_MATH_H
18670 #include <math.h>
18671 #endif
18673 int (*ptr)() = (int (*)())copysign;
18676 main ()
18678 return 0;
18681 _ACEOF
18682 if ac_fn_c_try_link "$LINENO"; then :
18683 gcc_cv_math_func_copysign=yes
18684 else
18685 gcc_cv_math_func_copysign=no
18687 rm -f core conftest.err conftest.$ac_objext \
18688 conftest$ac_exeext conftest.$ac_ext
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18691 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18692 if test $gcc_cv_math_func_copysign = yes; then
18694 cat >>confdefs.h <<_ACEOF
18695 #define HAVE_COPYSIGN 1
18696 _ACEOF
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18704 $as_echo_n "checking for copysignl... " >&6; }
18705 if ${gcc_cv_math_func_copysignl+:} false; then :
18706 $as_echo_n "(cached) " >&6
18707 else
18708 if test x$gcc_no_link = xyes; then
18709 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18712 /* end confdefs.h. */
18714 #ifdef HAVE_COMPLEX_H
18715 #include <complex.h>
18716 #endif
18717 #ifdef HAVE_MATH_H
18718 #include <math.h>
18719 #endif
18721 int (*ptr)() = (int (*)())copysignl;
18724 main ()
18726 return 0;
18729 _ACEOF
18730 if ac_fn_c_try_link "$LINENO"; then :
18731 gcc_cv_math_func_copysignl=yes
18732 else
18733 gcc_cv_math_func_copysignl=no
18735 rm -f core conftest.err conftest.$ac_objext \
18736 conftest$ac_exeext conftest.$ac_ext
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18739 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18740 if test $gcc_cv_math_func_copysignl = yes; then
18742 cat >>confdefs.h <<_ACEOF
18743 #define HAVE_COPYSIGNL 1
18744 _ACEOF
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18752 $as_echo_n "checking for cosf... " >&6; }
18753 if ${gcc_cv_math_func_cosf+:} false; then :
18754 $as_echo_n "(cached) " >&6
18755 else
18756 if test x$gcc_no_link = xyes; then
18757 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18762 #ifdef HAVE_COMPLEX_H
18763 #include <complex.h>
18764 #endif
18765 #ifdef HAVE_MATH_H
18766 #include <math.h>
18767 #endif
18769 int (*ptr)() = (int (*)())cosf;
18772 main ()
18774 return 0;
18777 _ACEOF
18778 if ac_fn_c_try_link "$LINENO"; then :
18779 gcc_cv_math_func_cosf=yes
18780 else
18781 gcc_cv_math_func_cosf=no
18783 rm -f core conftest.err conftest.$ac_objext \
18784 conftest$ac_exeext conftest.$ac_ext
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18787 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18788 if test $gcc_cv_math_func_cosf = yes; then
18790 cat >>confdefs.h <<_ACEOF
18791 #define HAVE_COSF 1
18792 _ACEOF
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18800 $as_echo_n "checking for cos... " >&6; }
18801 if ${gcc_cv_math_func_cos+:} false; then :
18802 $as_echo_n "(cached) " >&6
18803 else
18804 if test x$gcc_no_link = xyes; then
18805 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18810 #ifdef HAVE_COMPLEX_H
18811 #include <complex.h>
18812 #endif
18813 #ifdef HAVE_MATH_H
18814 #include <math.h>
18815 #endif
18817 int (*ptr)() = (int (*)())cos;
18820 main ()
18822 return 0;
18825 _ACEOF
18826 if ac_fn_c_try_link "$LINENO"; then :
18827 gcc_cv_math_func_cos=yes
18828 else
18829 gcc_cv_math_func_cos=no
18831 rm -f core conftest.err conftest.$ac_objext \
18832 conftest$ac_exeext conftest.$ac_ext
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18835 $as_echo "$gcc_cv_math_func_cos" >&6; }
18836 if test $gcc_cv_math_func_cos = yes; then
18838 cat >>confdefs.h <<_ACEOF
18839 #define HAVE_COS 1
18840 _ACEOF
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18848 $as_echo_n "checking for cosl... " >&6; }
18849 if ${gcc_cv_math_func_cosl+:} false; then :
18850 $as_echo_n "(cached) " >&6
18851 else
18852 if test x$gcc_no_link = xyes; then
18853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18858 #ifdef HAVE_COMPLEX_H
18859 #include <complex.h>
18860 #endif
18861 #ifdef HAVE_MATH_H
18862 #include <math.h>
18863 #endif
18865 int (*ptr)() = (int (*)())cosl;
18868 main ()
18870 return 0;
18873 _ACEOF
18874 if ac_fn_c_try_link "$LINENO"; then :
18875 gcc_cv_math_func_cosl=yes
18876 else
18877 gcc_cv_math_func_cosl=no
18879 rm -f core conftest.err conftest.$ac_objext \
18880 conftest$ac_exeext conftest.$ac_ext
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18883 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18884 if test $gcc_cv_math_func_cosl = yes; then
18886 cat >>confdefs.h <<_ACEOF
18887 #define HAVE_COSL 1
18888 _ACEOF
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18896 $as_echo_n "checking for ccosf... " >&6; }
18897 if ${gcc_cv_math_func_ccosf+:} false; then :
18898 $as_echo_n "(cached) " >&6
18899 else
18900 if test x$gcc_no_link = xyes; then
18901 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18904 /* end confdefs.h. */
18906 #ifdef HAVE_COMPLEX_H
18907 #include <complex.h>
18908 #endif
18909 #ifdef HAVE_MATH_H
18910 #include <math.h>
18911 #endif
18913 int (*ptr)() = (int (*)())ccosf;
18916 main ()
18918 return 0;
18921 _ACEOF
18922 if ac_fn_c_try_link "$LINENO"; then :
18923 gcc_cv_math_func_ccosf=yes
18924 else
18925 gcc_cv_math_func_ccosf=no
18927 rm -f core conftest.err conftest.$ac_objext \
18928 conftest$ac_exeext conftest.$ac_ext
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18931 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18932 if test $gcc_cv_math_func_ccosf = yes; then
18934 cat >>confdefs.h <<_ACEOF
18935 #define HAVE_CCOSF 1
18936 _ACEOF
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18944 $as_echo_n "checking for ccos... " >&6; }
18945 if ${gcc_cv_math_func_ccos+:} false; then :
18946 $as_echo_n "(cached) " >&6
18947 else
18948 if test x$gcc_no_link = xyes; then
18949 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18952 /* end confdefs.h. */
18954 #ifdef HAVE_COMPLEX_H
18955 #include <complex.h>
18956 #endif
18957 #ifdef HAVE_MATH_H
18958 #include <math.h>
18959 #endif
18961 int (*ptr)() = (int (*)())ccos;
18964 main ()
18966 return 0;
18969 _ACEOF
18970 if ac_fn_c_try_link "$LINENO"; then :
18971 gcc_cv_math_func_ccos=yes
18972 else
18973 gcc_cv_math_func_ccos=no
18975 rm -f core conftest.err conftest.$ac_objext \
18976 conftest$ac_exeext conftest.$ac_ext
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18979 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18980 if test $gcc_cv_math_func_ccos = yes; then
18982 cat >>confdefs.h <<_ACEOF
18983 #define HAVE_CCOS 1
18984 _ACEOF
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18992 $as_echo_n "checking for ccosl... " >&6; }
18993 if ${gcc_cv_math_func_ccosl+:} false; then :
18994 $as_echo_n "(cached) " >&6
18995 else
18996 if test x$gcc_no_link = xyes; then
18997 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19002 #ifdef HAVE_COMPLEX_H
19003 #include <complex.h>
19004 #endif
19005 #ifdef HAVE_MATH_H
19006 #include <math.h>
19007 #endif
19009 int (*ptr)() = (int (*)())ccosl;
19012 main ()
19014 return 0;
19017 _ACEOF
19018 if ac_fn_c_try_link "$LINENO"; then :
19019 gcc_cv_math_func_ccosl=yes
19020 else
19021 gcc_cv_math_func_ccosl=no
19023 rm -f core conftest.err conftest.$ac_objext \
19024 conftest$ac_exeext conftest.$ac_ext
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19027 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19028 if test $gcc_cv_math_func_ccosl = yes; then
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_CCOSL 1
19032 _ACEOF
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19040 $as_echo_n "checking for coshf... " >&6; }
19041 if ${gcc_cv_math_func_coshf+:} false; then :
19042 $as_echo_n "(cached) " >&6
19043 else
19044 if test x$gcc_no_link = xyes; then
19045 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19050 #ifdef HAVE_COMPLEX_H
19051 #include <complex.h>
19052 #endif
19053 #ifdef HAVE_MATH_H
19054 #include <math.h>
19055 #endif
19057 int (*ptr)() = (int (*)())coshf;
19060 main ()
19062 return 0;
19065 _ACEOF
19066 if ac_fn_c_try_link "$LINENO"; then :
19067 gcc_cv_math_func_coshf=yes
19068 else
19069 gcc_cv_math_func_coshf=no
19071 rm -f core conftest.err conftest.$ac_objext \
19072 conftest$ac_exeext conftest.$ac_ext
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19075 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19076 if test $gcc_cv_math_func_coshf = yes; then
19078 cat >>confdefs.h <<_ACEOF
19079 #define HAVE_COSHF 1
19080 _ACEOF
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19088 $as_echo_n "checking for cosh... " >&6; }
19089 if ${gcc_cv_math_func_cosh+:} false; then :
19090 $as_echo_n "(cached) " >&6
19091 else
19092 if test x$gcc_no_link = xyes; then
19093 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19098 #ifdef HAVE_COMPLEX_H
19099 #include <complex.h>
19100 #endif
19101 #ifdef HAVE_MATH_H
19102 #include <math.h>
19103 #endif
19105 int (*ptr)() = (int (*)())cosh;
19108 main ()
19110 return 0;
19113 _ACEOF
19114 if ac_fn_c_try_link "$LINENO"; then :
19115 gcc_cv_math_func_cosh=yes
19116 else
19117 gcc_cv_math_func_cosh=no
19119 rm -f core conftest.err conftest.$ac_objext \
19120 conftest$ac_exeext conftest.$ac_ext
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19123 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19124 if test $gcc_cv_math_func_cosh = yes; then
19126 cat >>confdefs.h <<_ACEOF
19127 #define HAVE_COSH 1
19128 _ACEOF
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19136 $as_echo_n "checking for coshl... " >&6; }
19137 if ${gcc_cv_math_func_coshl+:} false; then :
19138 $as_echo_n "(cached) " >&6
19139 else
19140 if test x$gcc_no_link = xyes; then
19141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19146 #ifdef HAVE_COMPLEX_H
19147 #include <complex.h>
19148 #endif
19149 #ifdef HAVE_MATH_H
19150 #include <math.h>
19151 #endif
19153 int (*ptr)() = (int (*)())coshl;
19156 main ()
19158 return 0;
19161 _ACEOF
19162 if ac_fn_c_try_link "$LINENO"; then :
19163 gcc_cv_math_func_coshl=yes
19164 else
19165 gcc_cv_math_func_coshl=no
19167 rm -f core conftest.err conftest.$ac_objext \
19168 conftest$ac_exeext conftest.$ac_ext
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19171 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19172 if test $gcc_cv_math_func_coshl = yes; then
19174 cat >>confdefs.h <<_ACEOF
19175 #define HAVE_COSHL 1
19176 _ACEOF
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19184 $as_echo_n "checking for ccoshf... " >&6; }
19185 if ${gcc_cv_math_func_ccoshf+:} false; then :
19186 $as_echo_n "(cached) " >&6
19187 else
19188 if test x$gcc_no_link = xyes; then
19189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19192 /* end confdefs.h. */
19194 #ifdef HAVE_COMPLEX_H
19195 #include <complex.h>
19196 #endif
19197 #ifdef HAVE_MATH_H
19198 #include <math.h>
19199 #endif
19201 int (*ptr)() = (int (*)())ccoshf;
19204 main ()
19206 return 0;
19209 _ACEOF
19210 if ac_fn_c_try_link "$LINENO"; then :
19211 gcc_cv_math_func_ccoshf=yes
19212 else
19213 gcc_cv_math_func_ccoshf=no
19215 rm -f core conftest.err conftest.$ac_objext \
19216 conftest$ac_exeext conftest.$ac_ext
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19219 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19220 if test $gcc_cv_math_func_ccoshf = yes; then
19222 cat >>confdefs.h <<_ACEOF
19223 #define HAVE_CCOSHF 1
19224 _ACEOF
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19232 $as_echo_n "checking for ccosh... " >&6; }
19233 if ${gcc_cv_math_func_ccosh+:} false; then :
19234 $as_echo_n "(cached) " >&6
19235 else
19236 if test x$gcc_no_link = xyes; then
19237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19242 #ifdef HAVE_COMPLEX_H
19243 #include <complex.h>
19244 #endif
19245 #ifdef HAVE_MATH_H
19246 #include <math.h>
19247 #endif
19249 int (*ptr)() = (int (*)())ccosh;
19252 main ()
19254 return 0;
19257 _ACEOF
19258 if ac_fn_c_try_link "$LINENO"; then :
19259 gcc_cv_math_func_ccosh=yes
19260 else
19261 gcc_cv_math_func_ccosh=no
19263 rm -f core conftest.err conftest.$ac_objext \
19264 conftest$ac_exeext conftest.$ac_ext
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19267 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19268 if test $gcc_cv_math_func_ccosh = yes; then
19270 cat >>confdefs.h <<_ACEOF
19271 #define HAVE_CCOSH 1
19272 _ACEOF
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19280 $as_echo_n "checking for ccoshl... " >&6; }
19281 if ${gcc_cv_math_func_ccoshl+:} false; then :
19282 $as_echo_n "(cached) " >&6
19283 else
19284 if test x$gcc_no_link = xyes; then
19285 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19290 #ifdef HAVE_COMPLEX_H
19291 #include <complex.h>
19292 #endif
19293 #ifdef HAVE_MATH_H
19294 #include <math.h>
19295 #endif
19297 int (*ptr)() = (int (*)())ccoshl;
19300 main ()
19302 return 0;
19305 _ACEOF
19306 if ac_fn_c_try_link "$LINENO"; then :
19307 gcc_cv_math_func_ccoshl=yes
19308 else
19309 gcc_cv_math_func_ccoshl=no
19311 rm -f core conftest.err conftest.$ac_objext \
19312 conftest$ac_exeext conftest.$ac_ext
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19315 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19316 if test $gcc_cv_math_func_ccoshl = yes; then
19318 cat >>confdefs.h <<_ACEOF
19319 #define HAVE_CCOSHL 1
19320 _ACEOF
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19328 $as_echo_n "checking for expf... " >&6; }
19329 if ${gcc_cv_math_func_expf+:} false; then :
19330 $as_echo_n "(cached) " >&6
19331 else
19332 if test x$gcc_no_link = xyes; then
19333 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19336 /* end confdefs.h. */
19338 #ifdef HAVE_COMPLEX_H
19339 #include <complex.h>
19340 #endif
19341 #ifdef HAVE_MATH_H
19342 #include <math.h>
19343 #endif
19345 int (*ptr)() = (int (*)())expf;
19348 main ()
19350 return 0;
19353 _ACEOF
19354 if ac_fn_c_try_link "$LINENO"; then :
19355 gcc_cv_math_func_expf=yes
19356 else
19357 gcc_cv_math_func_expf=no
19359 rm -f core conftest.err conftest.$ac_objext \
19360 conftest$ac_exeext conftest.$ac_ext
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19363 $as_echo "$gcc_cv_math_func_expf" >&6; }
19364 if test $gcc_cv_math_func_expf = yes; then
19366 cat >>confdefs.h <<_ACEOF
19367 #define HAVE_EXPF 1
19368 _ACEOF
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19376 $as_echo_n "checking for exp... " >&6; }
19377 if ${gcc_cv_math_func_exp+:} false; then :
19378 $as_echo_n "(cached) " >&6
19379 else
19380 if test x$gcc_no_link = xyes; then
19381 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19386 #ifdef HAVE_COMPLEX_H
19387 #include <complex.h>
19388 #endif
19389 #ifdef HAVE_MATH_H
19390 #include <math.h>
19391 #endif
19393 int (*ptr)() = (int (*)())exp;
19396 main ()
19398 return 0;
19401 _ACEOF
19402 if ac_fn_c_try_link "$LINENO"; then :
19403 gcc_cv_math_func_exp=yes
19404 else
19405 gcc_cv_math_func_exp=no
19407 rm -f core conftest.err conftest.$ac_objext \
19408 conftest$ac_exeext conftest.$ac_ext
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19411 $as_echo "$gcc_cv_math_func_exp" >&6; }
19412 if test $gcc_cv_math_func_exp = yes; then
19414 cat >>confdefs.h <<_ACEOF
19415 #define HAVE_EXP 1
19416 _ACEOF
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19424 $as_echo_n "checking for expl... " >&6; }
19425 if ${gcc_cv_math_func_expl+:} false; then :
19426 $as_echo_n "(cached) " >&6
19427 else
19428 if test x$gcc_no_link = xyes; then
19429 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19434 #ifdef HAVE_COMPLEX_H
19435 #include <complex.h>
19436 #endif
19437 #ifdef HAVE_MATH_H
19438 #include <math.h>
19439 #endif
19441 int (*ptr)() = (int (*)())expl;
19444 main ()
19446 return 0;
19449 _ACEOF
19450 if ac_fn_c_try_link "$LINENO"; then :
19451 gcc_cv_math_func_expl=yes
19452 else
19453 gcc_cv_math_func_expl=no
19455 rm -f core conftest.err conftest.$ac_objext \
19456 conftest$ac_exeext conftest.$ac_ext
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19459 $as_echo "$gcc_cv_math_func_expl" >&6; }
19460 if test $gcc_cv_math_func_expl = yes; then
19462 cat >>confdefs.h <<_ACEOF
19463 #define HAVE_EXPL 1
19464 _ACEOF
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19472 $as_echo_n "checking for cexpf... " >&6; }
19473 if ${gcc_cv_math_func_cexpf+:} false; then :
19474 $as_echo_n "(cached) " >&6
19475 else
19476 if test x$gcc_no_link = xyes; then
19477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19482 #ifdef HAVE_COMPLEX_H
19483 #include <complex.h>
19484 #endif
19485 #ifdef HAVE_MATH_H
19486 #include <math.h>
19487 #endif
19489 int (*ptr)() = (int (*)())cexpf;
19492 main ()
19494 return 0;
19497 _ACEOF
19498 if ac_fn_c_try_link "$LINENO"; then :
19499 gcc_cv_math_func_cexpf=yes
19500 else
19501 gcc_cv_math_func_cexpf=no
19503 rm -f core conftest.err conftest.$ac_objext \
19504 conftest$ac_exeext conftest.$ac_ext
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19507 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19508 if test $gcc_cv_math_func_cexpf = yes; then
19510 cat >>confdefs.h <<_ACEOF
19511 #define HAVE_CEXPF 1
19512 _ACEOF
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19520 $as_echo_n "checking for cexp... " >&6; }
19521 if ${gcc_cv_math_func_cexp+:} false; then :
19522 $as_echo_n "(cached) " >&6
19523 else
19524 if test x$gcc_no_link = xyes; then
19525 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19530 #ifdef HAVE_COMPLEX_H
19531 #include <complex.h>
19532 #endif
19533 #ifdef HAVE_MATH_H
19534 #include <math.h>
19535 #endif
19537 int (*ptr)() = (int (*)())cexp;
19540 main ()
19542 return 0;
19545 _ACEOF
19546 if ac_fn_c_try_link "$LINENO"; then :
19547 gcc_cv_math_func_cexp=yes
19548 else
19549 gcc_cv_math_func_cexp=no
19551 rm -f core conftest.err conftest.$ac_objext \
19552 conftest$ac_exeext conftest.$ac_ext
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19555 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19556 if test $gcc_cv_math_func_cexp = yes; then
19558 cat >>confdefs.h <<_ACEOF
19559 #define HAVE_CEXP 1
19560 _ACEOF
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19568 $as_echo_n "checking for cexpl... " >&6; }
19569 if ${gcc_cv_math_func_cexpl+:} false; then :
19570 $as_echo_n "(cached) " >&6
19571 else
19572 if test x$gcc_no_link = xyes; then
19573 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19578 #ifdef HAVE_COMPLEX_H
19579 #include <complex.h>
19580 #endif
19581 #ifdef HAVE_MATH_H
19582 #include <math.h>
19583 #endif
19585 int (*ptr)() = (int (*)())cexpl;
19588 main ()
19590 return 0;
19593 _ACEOF
19594 if ac_fn_c_try_link "$LINENO"; then :
19595 gcc_cv_math_func_cexpl=yes
19596 else
19597 gcc_cv_math_func_cexpl=no
19599 rm -f core conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext conftest.$ac_ext
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19603 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19604 if test $gcc_cv_math_func_cexpl = yes; then
19606 cat >>confdefs.h <<_ACEOF
19607 #define HAVE_CEXPL 1
19608 _ACEOF
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19616 $as_echo_n "checking for fabsf... " >&6; }
19617 if ${gcc_cv_math_func_fabsf+:} false; then :
19618 $as_echo_n "(cached) " >&6
19619 else
19620 if test x$gcc_no_link = xyes; then
19621 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19626 #ifdef HAVE_COMPLEX_H
19627 #include <complex.h>
19628 #endif
19629 #ifdef HAVE_MATH_H
19630 #include <math.h>
19631 #endif
19633 int (*ptr)() = (int (*)())fabsf;
19636 main ()
19638 return 0;
19641 _ACEOF
19642 if ac_fn_c_try_link "$LINENO"; then :
19643 gcc_cv_math_func_fabsf=yes
19644 else
19645 gcc_cv_math_func_fabsf=no
19647 rm -f core conftest.err conftest.$ac_objext \
19648 conftest$ac_exeext conftest.$ac_ext
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19651 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19652 if test $gcc_cv_math_func_fabsf = yes; then
19654 cat >>confdefs.h <<_ACEOF
19655 #define HAVE_FABSF 1
19656 _ACEOF
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19664 $as_echo_n "checking for fabs... " >&6; }
19665 if ${gcc_cv_math_func_fabs+:} false; then :
19666 $as_echo_n "(cached) " >&6
19667 else
19668 if test x$gcc_no_link = xyes; then
19669 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19674 #ifdef HAVE_COMPLEX_H
19675 #include <complex.h>
19676 #endif
19677 #ifdef HAVE_MATH_H
19678 #include <math.h>
19679 #endif
19681 int (*ptr)() = (int (*)())fabs;
19684 main ()
19686 return 0;
19689 _ACEOF
19690 if ac_fn_c_try_link "$LINENO"; then :
19691 gcc_cv_math_func_fabs=yes
19692 else
19693 gcc_cv_math_func_fabs=no
19695 rm -f core conftest.err conftest.$ac_objext \
19696 conftest$ac_exeext conftest.$ac_ext
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19699 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19700 if test $gcc_cv_math_func_fabs = yes; then
19702 cat >>confdefs.h <<_ACEOF
19703 #define HAVE_FABS 1
19704 _ACEOF
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19712 $as_echo_n "checking for fabsl... " >&6; }
19713 if ${gcc_cv_math_func_fabsl+:} false; then :
19714 $as_echo_n "(cached) " >&6
19715 else
19716 if test x$gcc_no_link = xyes; then
19717 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19720 /* end confdefs.h. */
19722 #ifdef HAVE_COMPLEX_H
19723 #include <complex.h>
19724 #endif
19725 #ifdef HAVE_MATH_H
19726 #include <math.h>
19727 #endif
19729 int (*ptr)() = (int (*)())fabsl;
19732 main ()
19734 return 0;
19737 _ACEOF
19738 if ac_fn_c_try_link "$LINENO"; then :
19739 gcc_cv_math_func_fabsl=yes
19740 else
19741 gcc_cv_math_func_fabsl=no
19743 rm -f core conftest.err conftest.$ac_objext \
19744 conftest$ac_exeext conftest.$ac_ext
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19747 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19748 if test $gcc_cv_math_func_fabsl = yes; then
19750 cat >>confdefs.h <<_ACEOF
19751 #define HAVE_FABSL 1
19752 _ACEOF
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19760 $as_echo_n "checking for cabsf... " >&6; }
19761 if ${gcc_cv_math_func_cabsf+:} false; then :
19762 $as_echo_n "(cached) " >&6
19763 else
19764 if test x$gcc_no_link = xyes; then
19765 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19768 /* end confdefs.h. */
19770 #ifdef HAVE_COMPLEX_H
19771 #include <complex.h>
19772 #endif
19773 #ifdef HAVE_MATH_H
19774 #include <math.h>
19775 #endif
19777 int (*ptr)() = (int (*)())cabsf;
19780 main ()
19782 return 0;
19785 _ACEOF
19786 if ac_fn_c_try_link "$LINENO"; then :
19787 gcc_cv_math_func_cabsf=yes
19788 else
19789 gcc_cv_math_func_cabsf=no
19791 rm -f core conftest.err conftest.$ac_objext \
19792 conftest$ac_exeext conftest.$ac_ext
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19795 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19796 if test $gcc_cv_math_func_cabsf = yes; then
19798 cat >>confdefs.h <<_ACEOF
19799 #define HAVE_CABSF 1
19800 _ACEOF
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19808 $as_echo_n "checking for cabs... " >&6; }
19809 if ${gcc_cv_math_func_cabs+:} false; then :
19810 $as_echo_n "(cached) " >&6
19811 else
19812 if test x$gcc_no_link = xyes; then
19813 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19818 #ifdef HAVE_COMPLEX_H
19819 #include <complex.h>
19820 #endif
19821 #ifdef HAVE_MATH_H
19822 #include <math.h>
19823 #endif
19825 int (*ptr)() = (int (*)())cabs;
19828 main ()
19830 return 0;
19833 _ACEOF
19834 if ac_fn_c_try_link "$LINENO"; then :
19835 gcc_cv_math_func_cabs=yes
19836 else
19837 gcc_cv_math_func_cabs=no
19839 rm -f core conftest.err conftest.$ac_objext \
19840 conftest$ac_exeext conftest.$ac_ext
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19843 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19844 if test $gcc_cv_math_func_cabs = yes; then
19846 cat >>confdefs.h <<_ACEOF
19847 #define HAVE_CABS 1
19848 _ACEOF
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19856 $as_echo_n "checking for cabsl... " >&6; }
19857 if ${gcc_cv_math_func_cabsl+:} false; then :
19858 $as_echo_n "(cached) " >&6
19859 else
19860 if test x$gcc_no_link = xyes; then
19861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19864 /* end confdefs.h. */
19866 #ifdef HAVE_COMPLEX_H
19867 #include <complex.h>
19868 #endif
19869 #ifdef HAVE_MATH_H
19870 #include <math.h>
19871 #endif
19873 int (*ptr)() = (int (*)())cabsl;
19876 main ()
19878 return 0;
19881 _ACEOF
19882 if ac_fn_c_try_link "$LINENO"; then :
19883 gcc_cv_math_func_cabsl=yes
19884 else
19885 gcc_cv_math_func_cabsl=no
19887 rm -f core conftest.err conftest.$ac_objext \
19888 conftest$ac_exeext conftest.$ac_ext
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19891 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19892 if test $gcc_cv_math_func_cabsl = yes; then
19894 cat >>confdefs.h <<_ACEOF
19895 #define HAVE_CABSL 1
19896 _ACEOF
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19904 $as_echo_n "checking for floorf... " >&6; }
19905 if ${gcc_cv_math_func_floorf+:} false; then :
19906 $as_echo_n "(cached) " >&6
19907 else
19908 if test x$gcc_no_link = xyes; then
19909 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19912 /* end confdefs.h. */
19914 #ifdef HAVE_COMPLEX_H
19915 #include <complex.h>
19916 #endif
19917 #ifdef HAVE_MATH_H
19918 #include <math.h>
19919 #endif
19921 int (*ptr)() = (int (*)())floorf;
19924 main ()
19926 return 0;
19929 _ACEOF
19930 if ac_fn_c_try_link "$LINENO"; then :
19931 gcc_cv_math_func_floorf=yes
19932 else
19933 gcc_cv_math_func_floorf=no
19935 rm -f core conftest.err conftest.$ac_objext \
19936 conftest$ac_exeext conftest.$ac_ext
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19939 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19940 if test $gcc_cv_math_func_floorf = yes; then
19942 cat >>confdefs.h <<_ACEOF
19943 #define HAVE_FLOORF 1
19944 _ACEOF
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19952 $as_echo_n "checking for floor... " >&6; }
19953 if ${gcc_cv_math_func_floor+:} false; then :
19954 $as_echo_n "(cached) " >&6
19955 else
19956 if test x$gcc_no_link = xyes; then
19957 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19962 #ifdef HAVE_COMPLEX_H
19963 #include <complex.h>
19964 #endif
19965 #ifdef HAVE_MATH_H
19966 #include <math.h>
19967 #endif
19969 int (*ptr)() = (int (*)())floor;
19972 main ()
19974 return 0;
19977 _ACEOF
19978 if ac_fn_c_try_link "$LINENO"; then :
19979 gcc_cv_math_func_floor=yes
19980 else
19981 gcc_cv_math_func_floor=no
19983 rm -f core conftest.err conftest.$ac_objext \
19984 conftest$ac_exeext conftest.$ac_ext
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19987 $as_echo "$gcc_cv_math_func_floor" >&6; }
19988 if test $gcc_cv_math_func_floor = yes; then
19990 cat >>confdefs.h <<_ACEOF
19991 #define HAVE_FLOOR 1
19992 _ACEOF
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20000 $as_echo_n "checking for floorl... " >&6; }
20001 if ${gcc_cv_math_func_floorl+:} false; then :
20002 $as_echo_n "(cached) " >&6
20003 else
20004 if test x$gcc_no_link = xyes; then
20005 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20010 #ifdef HAVE_COMPLEX_H
20011 #include <complex.h>
20012 #endif
20013 #ifdef HAVE_MATH_H
20014 #include <math.h>
20015 #endif
20017 int (*ptr)() = (int (*)())floorl;
20020 main ()
20022 return 0;
20025 _ACEOF
20026 if ac_fn_c_try_link "$LINENO"; then :
20027 gcc_cv_math_func_floorl=yes
20028 else
20029 gcc_cv_math_func_floorl=no
20031 rm -f core conftest.err conftest.$ac_objext \
20032 conftest$ac_exeext conftest.$ac_ext
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20035 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20036 if test $gcc_cv_math_func_floorl = yes; then
20038 cat >>confdefs.h <<_ACEOF
20039 #define HAVE_FLOORL 1
20040 _ACEOF
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20048 $as_echo_n "checking for fmaf... " >&6; }
20049 if ${gcc_cv_math_func_fmaf+:} false; then :
20050 $as_echo_n "(cached) " >&6
20051 else
20052 if test x$gcc_no_link = xyes; then
20053 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h. */
20058 #ifdef HAVE_COMPLEX_H
20059 #include <complex.h>
20060 #endif
20061 #ifdef HAVE_MATH_H
20062 #include <math.h>
20063 #endif
20065 int (*ptr)() = (int (*)())fmaf;
20068 main ()
20070 return 0;
20073 _ACEOF
20074 if ac_fn_c_try_link "$LINENO"; then :
20075 gcc_cv_math_func_fmaf=yes
20076 else
20077 gcc_cv_math_func_fmaf=no
20079 rm -f core conftest.err conftest.$ac_objext \
20080 conftest$ac_exeext conftest.$ac_ext
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20083 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20084 if test $gcc_cv_math_func_fmaf = yes; then
20086 cat >>confdefs.h <<_ACEOF
20087 #define HAVE_FMAF 1
20088 _ACEOF
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20096 $as_echo_n "checking for fma... " >&6; }
20097 if ${gcc_cv_math_func_fma+:} false; then :
20098 $as_echo_n "(cached) " >&6
20099 else
20100 if test x$gcc_no_link = xyes; then
20101 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20106 #ifdef HAVE_COMPLEX_H
20107 #include <complex.h>
20108 #endif
20109 #ifdef HAVE_MATH_H
20110 #include <math.h>
20111 #endif
20113 int (*ptr)() = (int (*)())fma;
20116 main ()
20118 return 0;
20121 _ACEOF
20122 if ac_fn_c_try_link "$LINENO"; then :
20123 gcc_cv_math_func_fma=yes
20124 else
20125 gcc_cv_math_func_fma=no
20127 rm -f core conftest.err conftest.$ac_objext \
20128 conftest$ac_exeext conftest.$ac_ext
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20131 $as_echo "$gcc_cv_math_func_fma" >&6; }
20132 if test $gcc_cv_math_func_fma = yes; then
20134 cat >>confdefs.h <<_ACEOF
20135 #define HAVE_FMA 1
20136 _ACEOF
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20144 $as_echo_n "checking for fmal... " >&6; }
20145 if ${gcc_cv_math_func_fmal+:} false; then :
20146 $as_echo_n "(cached) " >&6
20147 else
20148 if test x$gcc_no_link = xyes; then
20149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20152 /* end confdefs.h. */
20154 #ifdef HAVE_COMPLEX_H
20155 #include <complex.h>
20156 #endif
20157 #ifdef HAVE_MATH_H
20158 #include <math.h>
20159 #endif
20161 int (*ptr)() = (int (*)())fmal;
20164 main ()
20166 return 0;
20169 _ACEOF
20170 if ac_fn_c_try_link "$LINENO"; then :
20171 gcc_cv_math_func_fmal=yes
20172 else
20173 gcc_cv_math_func_fmal=no
20175 rm -f core conftest.err conftest.$ac_objext \
20176 conftest$ac_exeext conftest.$ac_ext
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20179 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20180 if test $gcc_cv_math_func_fmal = yes; then
20182 cat >>confdefs.h <<_ACEOF
20183 #define HAVE_FMAL 1
20184 _ACEOF
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20192 $as_echo_n "checking for fmodf... " >&6; }
20193 if ${gcc_cv_math_func_fmodf+:} false; then :
20194 $as_echo_n "(cached) " >&6
20195 else
20196 if test x$gcc_no_link = xyes; then
20197 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20200 /* end confdefs.h. */
20202 #ifdef HAVE_COMPLEX_H
20203 #include <complex.h>
20204 #endif
20205 #ifdef HAVE_MATH_H
20206 #include <math.h>
20207 #endif
20209 int (*ptr)() = (int (*)())fmodf;
20212 main ()
20214 return 0;
20217 _ACEOF
20218 if ac_fn_c_try_link "$LINENO"; then :
20219 gcc_cv_math_func_fmodf=yes
20220 else
20221 gcc_cv_math_func_fmodf=no
20223 rm -f core conftest.err conftest.$ac_objext \
20224 conftest$ac_exeext conftest.$ac_ext
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20227 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20228 if test $gcc_cv_math_func_fmodf = yes; then
20230 cat >>confdefs.h <<_ACEOF
20231 #define HAVE_FMODF 1
20232 _ACEOF
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20240 $as_echo_n "checking for fmod... " >&6; }
20241 if ${gcc_cv_math_func_fmod+:} false; then :
20242 $as_echo_n "(cached) " >&6
20243 else
20244 if test x$gcc_no_link = xyes; then
20245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20248 /* end confdefs.h. */
20250 #ifdef HAVE_COMPLEX_H
20251 #include <complex.h>
20252 #endif
20253 #ifdef HAVE_MATH_H
20254 #include <math.h>
20255 #endif
20257 int (*ptr)() = (int (*)())fmod;
20260 main ()
20262 return 0;
20265 _ACEOF
20266 if ac_fn_c_try_link "$LINENO"; then :
20267 gcc_cv_math_func_fmod=yes
20268 else
20269 gcc_cv_math_func_fmod=no
20271 rm -f core conftest.err conftest.$ac_objext \
20272 conftest$ac_exeext conftest.$ac_ext
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20275 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20276 if test $gcc_cv_math_func_fmod = yes; then
20278 cat >>confdefs.h <<_ACEOF
20279 #define HAVE_FMOD 1
20280 _ACEOF
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20288 $as_echo_n "checking for fmodl... " >&6; }
20289 if ${gcc_cv_math_func_fmodl+:} false; then :
20290 $as_echo_n "(cached) " >&6
20291 else
20292 if test x$gcc_no_link = xyes; then
20293 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20296 /* end confdefs.h. */
20298 #ifdef HAVE_COMPLEX_H
20299 #include <complex.h>
20300 #endif
20301 #ifdef HAVE_MATH_H
20302 #include <math.h>
20303 #endif
20305 int (*ptr)() = (int (*)())fmodl;
20308 main ()
20310 return 0;
20313 _ACEOF
20314 if ac_fn_c_try_link "$LINENO"; then :
20315 gcc_cv_math_func_fmodl=yes
20316 else
20317 gcc_cv_math_func_fmodl=no
20319 rm -f core conftest.err conftest.$ac_objext \
20320 conftest$ac_exeext conftest.$ac_ext
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20323 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20324 if test $gcc_cv_math_func_fmodl = yes; then
20326 cat >>confdefs.h <<_ACEOF
20327 #define HAVE_FMODL 1
20328 _ACEOF
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20336 $as_echo_n "checking for frexpf... " >&6; }
20337 if ${gcc_cv_math_func_frexpf+:} false; then :
20338 $as_echo_n "(cached) " >&6
20339 else
20340 if test x$gcc_no_link = xyes; then
20341 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20344 /* end confdefs.h. */
20346 #ifdef HAVE_COMPLEX_H
20347 #include <complex.h>
20348 #endif
20349 #ifdef HAVE_MATH_H
20350 #include <math.h>
20351 #endif
20353 int (*ptr)() = (int (*)())frexpf;
20356 main ()
20358 return 0;
20361 _ACEOF
20362 if ac_fn_c_try_link "$LINENO"; then :
20363 gcc_cv_math_func_frexpf=yes
20364 else
20365 gcc_cv_math_func_frexpf=no
20367 rm -f core conftest.err conftest.$ac_objext \
20368 conftest$ac_exeext conftest.$ac_ext
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20371 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20372 if test $gcc_cv_math_func_frexpf = yes; then
20374 cat >>confdefs.h <<_ACEOF
20375 #define HAVE_FREXPF 1
20376 _ACEOF
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20384 $as_echo_n "checking for frexp... " >&6; }
20385 if ${gcc_cv_math_func_frexp+:} false; then :
20386 $as_echo_n "(cached) " >&6
20387 else
20388 if test x$gcc_no_link = xyes; then
20389 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20392 /* end confdefs.h. */
20394 #ifdef HAVE_COMPLEX_H
20395 #include <complex.h>
20396 #endif
20397 #ifdef HAVE_MATH_H
20398 #include <math.h>
20399 #endif
20401 int (*ptr)() = (int (*)())frexp;
20404 main ()
20406 return 0;
20409 _ACEOF
20410 if ac_fn_c_try_link "$LINENO"; then :
20411 gcc_cv_math_func_frexp=yes
20412 else
20413 gcc_cv_math_func_frexp=no
20415 rm -f core conftest.err conftest.$ac_objext \
20416 conftest$ac_exeext conftest.$ac_ext
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20419 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20420 if test $gcc_cv_math_func_frexp = yes; then
20422 cat >>confdefs.h <<_ACEOF
20423 #define HAVE_FREXP 1
20424 _ACEOF
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20432 $as_echo_n "checking for frexpl... " >&6; }
20433 if ${gcc_cv_math_func_frexpl+:} false; then :
20434 $as_echo_n "(cached) " >&6
20435 else
20436 if test x$gcc_no_link = xyes; then
20437 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20440 /* end confdefs.h. */
20442 #ifdef HAVE_COMPLEX_H
20443 #include <complex.h>
20444 #endif
20445 #ifdef HAVE_MATH_H
20446 #include <math.h>
20447 #endif
20449 int (*ptr)() = (int (*)())frexpl;
20452 main ()
20454 return 0;
20457 _ACEOF
20458 if ac_fn_c_try_link "$LINENO"; then :
20459 gcc_cv_math_func_frexpl=yes
20460 else
20461 gcc_cv_math_func_frexpl=no
20463 rm -f core conftest.err conftest.$ac_objext \
20464 conftest$ac_exeext conftest.$ac_ext
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20467 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20468 if test $gcc_cv_math_func_frexpl = yes; then
20470 cat >>confdefs.h <<_ACEOF
20471 #define HAVE_FREXPL 1
20472 _ACEOF
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20480 $as_echo_n "checking for hypotf... " >&6; }
20481 if ${gcc_cv_math_func_hypotf+:} false; then :
20482 $as_echo_n "(cached) " >&6
20483 else
20484 if test x$gcc_no_link = xyes; then
20485 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20488 /* end confdefs.h. */
20490 #ifdef HAVE_COMPLEX_H
20491 #include <complex.h>
20492 #endif
20493 #ifdef HAVE_MATH_H
20494 #include <math.h>
20495 #endif
20497 int (*ptr)() = (int (*)())hypotf;
20500 main ()
20502 return 0;
20505 _ACEOF
20506 if ac_fn_c_try_link "$LINENO"; then :
20507 gcc_cv_math_func_hypotf=yes
20508 else
20509 gcc_cv_math_func_hypotf=no
20511 rm -f core conftest.err conftest.$ac_objext \
20512 conftest$ac_exeext conftest.$ac_ext
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20515 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20516 if test $gcc_cv_math_func_hypotf = yes; then
20518 cat >>confdefs.h <<_ACEOF
20519 #define HAVE_HYPOTF 1
20520 _ACEOF
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20528 $as_echo_n "checking for hypot... " >&6; }
20529 if ${gcc_cv_math_func_hypot+:} false; then :
20530 $as_echo_n "(cached) " >&6
20531 else
20532 if test x$gcc_no_link = xyes; then
20533 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20536 /* end confdefs.h. */
20538 #ifdef HAVE_COMPLEX_H
20539 #include <complex.h>
20540 #endif
20541 #ifdef HAVE_MATH_H
20542 #include <math.h>
20543 #endif
20545 int (*ptr)() = (int (*)())hypot;
20548 main ()
20550 return 0;
20553 _ACEOF
20554 if ac_fn_c_try_link "$LINENO"; then :
20555 gcc_cv_math_func_hypot=yes
20556 else
20557 gcc_cv_math_func_hypot=no
20559 rm -f core conftest.err conftest.$ac_objext \
20560 conftest$ac_exeext conftest.$ac_ext
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20563 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20564 if test $gcc_cv_math_func_hypot = yes; then
20566 cat >>confdefs.h <<_ACEOF
20567 #define HAVE_HYPOT 1
20568 _ACEOF
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20576 $as_echo_n "checking for hypotl... " >&6; }
20577 if ${gcc_cv_math_func_hypotl+:} false; then :
20578 $as_echo_n "(cached) " >&6
20579 else
20580 if test x$gcc_no_link = xyes; then
20581 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20584 /* end confdefs.h. */
20586 #ifdef HAVE_COMPLEX_H
20587 #include <complex.h>
20588 #endif
20589 #ifdef HAVE_MATH_H
20590 #include <math.h>
20591 #endif
20593 int (*ptr)() = (int (*)())hypotl;
20596 main ()
20598 return 0;
20601 _ACEOF
20602 if ac_fn_c_try_link "$LINENO"; then :
20603 gcc_cv_math_func_hypotl=yes
20604 else
20605 gcc_cv_math_func_hypotl=no
20607 rm -f core conftest.err conftest.$ac_objext \
20608 conftest$ac_exeext conftest.$ac_ext
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20611 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20612 if test $gcc_cv_math_func_hypotl = yes; then
20614 cat >>confdefs.h <<_ACEOF
20615 #define HAVE_HYPOTL 1
20616 _ACEOF
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20624 $as_echo_n "checking for ldexpf... " >&6; }
20625 if ${gcc_cv_math_func_ldexpf+:} false; then :
20626 $as_echo_n "(cached) " >&6
20627 else
20628 if test x$gcc_no_link = xyes; then
20629 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20634 #ifdef HAVE_COMPLEX_H
20635 #include <complex.h>
20636 #endif
20637 #ifdef HAVE_MATH_H
20638 #include <math.h>
20639 #endif
20641 int (*ptr)() = (int (*)())ldexpf;
20644 main ()
20646 return 0;
20649 _ACEOF
20650 if ac_fn_c_try_link "$LINENO"; then :
20651 gcc_cv_math_func_ldexpf=yes
20652 else
20653 gcc_cv_math_func_ldexpf=no
20655 rm -f core conftest.err conftest.$ac_objext \
20656 conftest$ac_exeext conftest.$ac_ext
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20659 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20660 if test $gcc_cv_math_func_ldexpf = yes; then
20662 cat >>confdefs.h <<_ACEOF
20663 #define HAVE_LDEXPF 1
20664 _ACEOF
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20672 $as_echo_n "checking for ldexp... " >&6; }
20673 if ${gcc_cv_math_func_ldexp+:} false; then :
20674 $as_echo_n "(cached) " >&6
20675 else
20676 if test x$gcc_no_link = xyes; then
20677 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20682 #ifdef HAVE_COMPLEX_H
20683 #include <complex.h>
20684 #endif
20685 #ifdef HAVE_MATH_H
20686 #include <math.h>
20687 #endif
20689 int (*ptr)() = (int (*)())ldexp;
20692 main ()
20694 return 0;
20697 _ACEOF
20698 if ac_fn_c_try_link "$LINENO"; then :
20699 gcc_cv_math_func_ldexp=yes
20700 else
20701 gcc_cv_math_func_ldexp=no
20703 rm -f core conftest.err conftest.$ac_objext \
20704 conftest$ac_exeext conftest.$ac_ext
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20707 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20708 if test $gcc_cv_math_func_ldexp = yes; then
20710 cat >>confdefs.h <<_ACEOF
20711 #define HAVE_LDEXP 1
20712 _ACEOF
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20720 $as_echo_n "checking for ldexpl... " >&6; }
20721 if ${gcc_cv_math_func_ldexpl+:} false; then :
20722 $as_echo_n "(cached) " >&6
20723 else
20724 if test x$gcc_no_link = xyes; then
20725 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20728 /* end confdefs.h. */
20730 #ifdef HAVE_COMPLEX_H
20731 #include <complex.h>
20732 #endif
20733 #ifdef HAVE_MATH_H
20734 #include <math.h>
20735 #endif
20737 int (*ptr)() = (int (*)())ldexpl;
20740 main ()
20742 return 0;
20745 _ACEOF
20746 if ac_fn_c_try_link "$LINENO"; then :
20747 gcc_cv_math_func_ldexpl=yes
20748 else
20749 gcc_cv_math_func_ldexpl=no
20751 rm -f core conftest.err conftest.$ac_objext \
20752 conftest$ac_exeext conftest.$ac_ext
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20755 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20756 if test $gcc_cv_math_func_ldexpl = yes; then
20758 cat >>confdefs.h <<_ACEOF
20759 #define HAVE_LDEXPL 1
20760 _ACEOF
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20768 $as_echo_n "checking for logf... " >&6; }
20769 if ${gcc_cv_math_func_logf+:} false; then :
20770 $as_echo_n "(cached) " >&6
20771 else
20772 if test x$gcc_no_link = xyes; then
20773 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20776 /* end confdefs.h. */
20778 #ifdef HAVE_COMPLEX_H
20779 #include <complex.h>
20780 #endif
20781 #ifdef HAVE_MATH_H
20782 #include <math.h>
20783 #endif
20785 int (*ptr)() = (int (*)())logf;
20788 main ()
20790 return 0;
20793 _ACEOF
20794 if ac_fn_c_try_link "$LINENO"; then :
20795 gcc_cv_math_func_logf=yes
20796 else
20797 gcc_cv_math_func_logf=no
20799 rm -f core conftest.err conftest.$ac_objext \
20800 conftest$ac_exeext conftest.$ac_ext
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20803 $as_echo "$gcc_cv_math_func_logf" >&6; }
20804 if test $gcc_cv_math_func_logf = yes; then
20806 cat >>confdefs.h <<_ACEOF
20807 #define HAVE_LOGF 1
20808 _ACEOF
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20816 $as_echo_n "checking for log... " >&6; }
20817 if ${gcc_cv_math_func_log+:} false; then :
20818 $as_echo_n "(cached) " >&6
20819 else
20820 if test x$gcc_no_link = xyes; then
20821 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20824 /* end confdefs.h. */
20826 #ifdef HAVE_COMPLEX_H
20827 #include <complex.h>
20828 #endif
20829 #ifdef HAVE_MATH_H
20830 #include <math.h>
20831 #endif
20833 int (*ptr)() = (int (*)())log;
20836 main ()
20838 return 0;
20841 _ACEOF
20842 if ac_fn_c_try_link "$LINENO"; then :
20843 gcc_cv_math_func_log=yes
20844 else
20845 gcc_cv_math_func_log=no
20847 rm -f core conftest.err conftest.$ac_objext \
20848 conftest$ac_exeext conftest.$ac_ext
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20851 $as_echo "$gcc_cv_math_func_log" >&6; }
20852 if test $gcc_cv_math_func_log = yes; then
20854 cat >>confdefs.h <<_ACEOF
20855 #define HAVE_LOG 1
20856 _ACEOF
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20864 $as_echo_n "checking for logl... " >&6; }
20865 if ${gcc_cv_math_func_logl+:} false; then :
20866 $as_echo_n "(cached) " >&6
20867 else
20868 if test x$gcc_no_link = xyes; then
20869 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20874 #ifdef HAVE_COMPLEX_H
20875 #include <complex.h>
20876 #endif
20877 #ifdef HAVE_MATH_H
20878 #include <math.h>
20879 #endif
20881 int (*ptr)() = (int (*)())logl;
20884 main ()
20886 return 0;
20889 _ACEOF
20890 if ac_fn_c_try_link "$LINENO"; then :
20891 gcc_cv_math_func_logl=yes
20892 else
20893 gcc_cv_math_func_logl=no
20895 rm -f core conftest.err conftest.$ac_objext \
20896 conftest$ac_exeext conftest.$ac_ext
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20899 $as_echo "$gcc_cv_math_func_logl" >&6; }
20900 if test $gcc_cv_math_func_logl = yes; then
20902 cat >>confdefs.h <<_ACEOF
20903 #define HAVE_LOGL 1
20904 _ACEOF
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20912 $as_echo_n "checking for clogf... " >&6; }
20913 if ${gcc_cv_math_func_clogf+:} false; then :
20914 $as_echo_n "(cached) " >&6
20915 else
20916 if test x$gcc_no_link = xyes; then
20917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20920 /* end confdefs.h. */
20922 #ifdef HAVE_COMPLEX_H
20923 #include <complex.h>
20924 #endif
20925 #ifdef HAVE_MATH_H
20926 #include <math.h>
20927 #endif
20929 int (*ptr)() = (int (*)())clogf;
20932 main ()
20934 return 0;
20937 _ACEOF
20938 if ac_fn_c_try_link "$LINENO"; then :
20939 gcc_cv_math_func_clogf=yes
20940 else
20941 gcc_cv_math_func_clogf=no
20943 rm -f core conftest.err conftest.$ac_objext \
20944 conftest$ac_exeext conftest.$ac_ext
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20947 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20948 if test $gcc_cv_math_func_clogf = yes; then
20950 cat >>confdefs.h <<_ACEOF
20951 #define HAVE_CLOGF 1
20952 _ACEOF
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20960 $as_echo_n "checking for clog... " >&6; }
20961 if ${gcc_cv_math_func_clog+:} false; then :
20962 $as_echo_n "(cached) " >&6
20963 else
20964 if test x$gcc_no_link = xyes; then
20965 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20968 /* end confdefs.h. */
20970 #ifdef HAVE_COMPLEX_H
20971 #include <complex.h>
20972 #endif
20973 #ifdef HAVE_MATH_H
20974 #include <math.h>
20975 #endif
20977 int (*ptr)() = (int (*)())clog;
20980 main ()
20982 return 0;
20985 _ACEOF
20986 if ac_fn_c_try_link "$LINENO"; then :
20987 gcc_cv_math_func_clog=yes
20988 else
20989 gcc_cv_math_func_clog=no
20991 rm -f core conftest.err conftest.$ac_objext \
20992 conftest$ac_exeext conftest.$ac_ext
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20995 $as_echo "$gcc_cv_math_func_clog" >&6; }
20996 if test $gcc_cv_math_func_clog = yes; then
20998 cat >>confdefs.h <<_ACEOF
20999 #define HAVE_CLOG 1
21000 _ACEOF
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21008 $as_echo_n "checking for clogl... " >&6; }
21009 if ${gcc_cv_math_func_clogl+:} false; then :
21010 $as_echo_n "(cached) " >&6
21011 else
21012 if test x$gcc_no_link = xyes; then
21013 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21016 /* end confdefs.h. */
21018 #ifdef HAVE_COMPLEX_H
21019 #include <complex.h>
21020 #endif
21021 #ifdef HAVE_MATH_H
21022 #include <math.h>
21023 #endif
21025 int (*ptr)() = (int (*)())clogl;
21028 main ()
21030 return 0;
21033 _ACEOF
21034 if ac_fn_c_try_link "$LINENO"; then :
21035 gcc_cv_math_func_clogl=yes
21036 else
21037 gcc_cv_math_func_clogl=no
21039 rm -f core conftest.err conftest.$ac_objext \
21040 conftest$ac_exeext conftest.$ac_ext
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21043 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21044 if test $gcc_cv_math_func_clogl = yes; then
21046 cat >>confdefs.h <<_ACEOF
21047 #define HAVE_CLOGL 1
21048 _ACEOF
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21056 $as_echo_n "checking for log10f... " >&6; }
21057 if ${gcc_cv_math_func_log10f+:} false; then :
21058 $as_echo_n "(cached) " >&6
21059 else
21060 if test x$gcc_no_link = xyes; then
21061 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21064 /* end confdefs.h. */
21066 #ifdef HAVE_COMPLEX_H
21067 #include <complex.h>
21068 #endif
21069 #ifdef HAVE_MATH_H
21070 #include <math.h>
21071 #endif
21073 int (*ptr)() = (int (*)())log10f;
21076 main ()
21078 return 0;
21081 _ACEOF
21082 if ac_fn_c_try_link "$LINENO"; then :
21083 gcc_cv_math_func_log10f=yes
21084 else
21085 gcc_cv_math_func_log10f=no
21087 rm -f core conftest.err conftest.$ac_objext \
21088 conftest$ac_exeext conftest.$ac_ext
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21091 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21092 if test $gcc_cv_math_func_log10f = yes; then
21094 cat >>confdefs.h <<_ACEOF
21095 #define HAVE_LOG10F 1
21096 _ACEOF
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21104 $as_echo_n "checking for log10... " >&6; }
21105 if ${gcc_cv_math_func_log10+:} false; then :
21106 $as_echo_n "(cached) " >&6
21107 else
21108 if test x$gcc_no_link = xyes; then
21109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h. */
21114 #ifdef HAVE_COMPLEX_H
21115 #include <complex.h>
21116 #endif
21117 #ifdef HAVE_MATH_H
21118 #include <math.h>
21119 #endif
21121 int (*ptr)() = (int (*)())log10;
21124 main ()
21126 return 0;
21129 _ACEOF
21130 if ac_fn_c_try_link "$LINENO"; then :
21131 gcc_cv_math_func_log10=yes
21132 else
21133 gcc_cv_math_func_log10=no
21135 rm -f core conftest.err conftest.$ac_objext \
21136 conftest$ac_exeext conftest.$ac_ext
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21139 $as_echo "$gcc_cv_math_func_log10" >&6; }
21140 if test $gcc_cv_math_func_log10 = yes; then
21142 cat >>confdefs.h <<_ACEOF
21143 #define HAVE_LOG10 1
21144 _ACEOF
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21152 $as_echo_n "checking for log10l... " >&6; }
21153 if ${gcc_cv_math_func_log10l+:} false; then :
21154 $as_echo_n "(cached) " >&6
21155 else
21156 if test x$gcc_no_link = xyes; then
21157 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21162 #ifdef HAVE_COMPLEX_H
21163 #include <complex.h>
21164 #endif
21165 #ifdef HAVE_MATH_H
21166 #include <math.h>
21167 #endif
21169 int (*ptr)() = (int (*)())log10l;
21172 main ()
21174 return 0;
21177 _ACEOF
21178 if ac_fn_c_try_link "$LINENO"; then :
21179 gcc_cv_math_func_log10l=yes
21180 else
21181 gcc_cv_math_func_log10l=no
21183 rm -f core conftest.err conftest.$ac_objext \
21184 conftest$ac_exeext conftest.$ac_ext
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21187 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21188 if test $gcc_cv_math_func_log10l = yes; then
21190 cat >>confdefs.h <<_ACEOF
21191 #define HAVE_LOG10L 1
21192 _ACEOF
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21200 $as_echo_n "checking for clog10f... " >&6; }
21201 if ${gcc_cv_math_func_clog10f+:} false; then :
21202 $as_echo_n "(cached) " >&6
21203 else
21204 if test x$gcc_no_link = xyes; then
21205 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21210 #ifdef HAVE_COMPLEX_H
21211 #include <complex.h>
21212 #endif
21213 #ifdef HAVE_MATH_H
21214 #include <math.h>
21215 #endif
21217 int (*ptr)() = (int (*)())clog10f;
21220 main ()
21222 return 0;
21225 _ACEOF
21226 if ac_fn_c_try_link "$LINENO"; then :
21227 gcc_cv_math_func_clog10f=yes
21228 else
21229 gcc_cv_math_func_clog10f=no
21231 rm -f core conftest.err conftest.$ac_objext \
21232 conftest$ac_exeext conftest.$ac_ext
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21235 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21236 if test $gcc_cv_math_func_clog10f = yes; then
21238 cat >>confdefs.h <<_ACEOF
21239 #define HAVE_CLOG10F 1
21240 _ACEOF
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21248 $as_echo_n "checking for clog10... " >&6; }
21249 if ${gcc_cv_math_func_clog10+:} false; then :
21250 $as_echo_n "(cached) " >&6
21251 else
21252 if test x$gcc_no_link = xyes; then
21253 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h. */
21258 #ifdef HAVE_COMPLEX_H
21259 #include <complex.h>
21260 #endif
21261 #ifdef HAVE_MATH_H
21262 #include <math.h>
21263 #endif
21265 int (*ptr)() = (int (*)())clog10;
21268 main ()
21270 return 0;
21273 _ACEOF
21274 if ac_fn_c_try_link "$LINENO"; then :
21275 gcc_cv_math_func_clog10=yes
21276 else
21277 gcc_cv_math_func_clog10=no
21279 rm -f core conftest.err conftest.$ac_objext \
21280 conftest$ac_exeext conftest.$ac_ext
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21283 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21284 if test $gcc_cv_math_func_clog10 = yes; then
21286 cat >>confdefs.h <<_ACEOF
21287 #define HAVE_CLOG10 1
21288 _ACEOF
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21296 $as_echo_n "checking for clog10l... " >&6; }
21297 if ${gcc_cv_math_func_clog10l+:} false; then :
21298 $as_echo_n "(cached) " >&6
21299 else
21300 if test x$gcc_no_link = xyes; then
21301 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21304 /* end confdefs.h. */
21306 #ifdef HAVE_COMPLEX_H
21307 #include <complex.h>
21308 #endif
21309 #ifdef HAVE_MATH_H
21310 #include <math.h>
21311 #endif
21313 int (*ptr)() = (int (*)())clog10l;
21316 main ()
21318 return 0;
21321 _ACEOF
21322 if ac_fn_c_try_link "$LINENO"; then :
21323 gcc_cv_math_func_clog10l=yes
21324 else
21325 gcc_cv_math_func_clog10l=no
21327 rm -f core conftest.err conftest.$ac_objext \
21328 conftest$ac_exeext conftest.$ac_ext
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21331 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21332 if test $gcc_cv_math_func_clog10l = yes; then
21334 cat >>confdefs.h <<_ACEOF
21335 #define HAVE_CLOG10L 1
21336 _ACEOF
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21344 $as_echo_n "checking for nextafterf... " >&6; }
21345 if ${gcc_cv_math_func_nextafterf+:} false; then :
21346 $as_echo_n "(cached) " >&6
21347 else
21348 if test x$gcc_no_link = xyes; then
21349 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21352 /* end confdefs.h. */
21354 #ifdef HAVE_COMPLEX_H
21355 #include <complex.h>
21356 #endif
21357 #ifdef HAVE_MATH_H
21358 #include <math.h>
21359 #endif
21361 int (*ptr)() = (int (*)())nextafterf;
21364 main ()
21366 return 0;
21369 _ACEOF
21370 if ac_fn_c_try_link "$LINENO"; then :
21371 gcc_cv_math_func_nextafterf=yes
21372 else
21373 gcc_cv_math_func_nextafterf=no
21375 rm -f core conftest.err conftest.$ac_objext \
21376 conftest$ac_exeext conftest.$ac_ext
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21379 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21380 if test $gcc_cv_math_func_nextafterf = yes; then
21382 cat >>confdefs.h <<_ACEOF
21383 #define HAVE_NEXTAFTERF 1
21384 _ACEOF
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21392 $as_echo_n "checking for nextafter... " >&6; }
21393 if ${gcc_cv_math_func_nextafter+:} false; then :
21394 $as_echo_n "(cached) " >&6
21395 else
21396 if test x$gcc_no_link = xyes; then
21397 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21400 /* end confdefs.h. */
21402 #ifdef HAVE_COMPLEX_H
21403 #include <complex.h>
21404 #endif
21405 #ifdef HAVE_MATH_H
21406 #include <math.h>
21407 #endif
21409 int (*ptr)() = (int (*)())nextafter;
21412 main ()
21414 return 0;
21417 _ACEOF
21418 if ac_fn_c_try_link "$LINENO"; then :
21419 gcc_cv_math_func_nextafter=yes
21420 else
21421 gcc_cv_math_func_nextafter=no
21423 rm -f core conftest.err conftest.$ac_objext \
21424 conftest$ac_exeext conftest.$ac_ext
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21427 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21428 if test $gcc_cv_math_func_nextafter = yes; then
21430 cat >>confdefs.h <<_ACEOF
21431 #define HAVE_NEXTAFTER 1
21432 _ACEOF
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21440 $as_echo_n "checking for nextafterl... " >&6; }
21441 if ${gcc_cv_math_func_nextafterl+:} false; then :
21442 $as_echo_n "(cached) " >&6
21443 else
21444 if test x$gcc_no_link = xyes; then
21445 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21448 /* end confdefs.h. */
21450 #ifdef HAVE_COMPLEX_H
21451 #include <complex.h>
21452 #endif
21453 #ifdef HAVE_MATH_H
21454 #include <math.h>
21455 #endif
21457 int (*ptr)() = (int (*)())nextafterl;
21460 main ()
21462 return 0;
21465 _ACEOF
21466 if ac_fn_c_try_link "$LINENO"; then :
21467 gcc_cv_math_func_nextafterl=yes
21468 else
21469 gcc_cv_math_func_nextafterl=no
21471 rm -f core conftest.err conftest.$ac_objext \
21472 conftest$ac_exeext conftest.$ac_ext
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21475 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21476 if test $gcc_cv_math_func_nextafterl = yes; then
21478 cat >>confdefs.h <<_ACEOF
21479 #define HAVE_NEXTAFTERL 1
21480 _ACEOF
21487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21488 $as_echo_n "checking for powf... " >&6; }
21489 if ${gcc_cv_math_func_powf+:} false; then :
21490 $as_echo_n "(cached) " >&6
21491 else
21492 if test x$gcc_no_link = xyes; then
21493 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21496 /* end confdefs.h. */
21498 #ifdef HAVE_COMPLEX_H
21499 #include <complex.h>
21500 #endif
21501 #ifdef HAVE_MATH_H
21502 #include <math.h>
21503 #endif
21505 int (*ptr)() = (int (*)())powf;
21508 main ()
21510 return 0;
21513 _ACEOF
21514 if ac_fn_c_try_link "$LINENO"; then :
21515 gcc_cv_math_func_powf=yes
21516 else
21517 gcc_cv_math_func_powf=no
21519 rm -f core conftest.err conftest.$ac_objext \
21520 conftest$ac_exeext conftest.$ac_ext
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21523 $as_echo "$gcc_cv_math_func_powf" >&6; }
21524 if test $gcc_cv_math_func_powf = yes; then
21526 cat >>confdefs.h <<_ACEOF
21527 #define HAVE_POWF 1
21528 _ACEOF
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21536 $as_echo_n "checking for pow... " >&6; }
21537 if ${gcc_cv_math_func_pow+:} false; then :
21538 $as_echo_n "(cached) " >&6
21539 else
21540 if test x$gcc_no_link = xyes; then
21541 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21544 /* end confdefs.h. */
21546 #ifdef HAVE_COMPLEX_H
21547 #include <complex.h>
21548 #endif
21549 #ifdef HAVE_MATH_H
21550 #include <math.h>
21551 #endif
21553 int (*ptr)() = (int (*)())pow;
21556 main ()
21558 return 0;
21561 _ACEOF
21562 if ac_fn_c_try_link "$LINENO"; then :
21563 gcc_cv_math_func_pow=yes
21564 else
21565 gcc_cv_math_func_pow=no
21567 rm -f core conftest.err conftest.$ac_objext \
21568 conftest$ac_exeext conftest.$ac_ext
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21571 $as_echo "$gcc_cv_math_func_pow" >&6; }
21572 if test $gcc_cv_math_func_pow = yes; then
21574 cat >>confdefs.h <<_ACEOF
21575 #define HAVE_POW 1
21576 _ACEOF
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21584 $as_echo_n "checking for cpowf... " >&6; }
21585 if ${gcc_cv_math_func_cpowf+:} false; then :
21586 $as_echo_n "(cached) " >&6
21587 else
21588 if test x$gcc_no_link = xyes; then
21589 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21592 /* end confdefs.h. */
21594 #ifdef HAVE_COMPLEX_H
21595 #include <complex.h>
21596 #endif
21597 #ifdef HAVE_MATH_H
21598 #include <math.h>
21599 #endif
21601 int (*ptr)() = (int (*)())cpowf;
21604 main ()
21606 return 0;
21609 _ACEOF
21610 if ac_fn_c_try_link "$LINENO"; then :
21611 gcc_cv_math_func_cpowf=yes
21612 else
21613 gcc_cv_math_func_cpowf=no
21615 rm -f core conftest.err conftest.$ac_objext \
21616 conftest$ac_exeext conftest.$ac_ext
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21619 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21620 if test $gcc_cv_math_func_cpowf = yes; then
21622 cat >>confdefs.h <<_ACEOF
21623 #define HAVE_CPOWF 1
21624 _ACEOF
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21632 $as_echo_n "checking for cpow... " >&6; }
21633 if ${gcc_cv_math_func_cpow+:} false; then :
21634 $as_echo_n "(cached) " >&6
21635 else
21636 if test x$gcc_no_link = xyes; then
21637 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21640 /* end confdefs.h. */
21642 #ifdef HAVE_COMPLEX_H
21643 #include <complex.h>
21644 #endif
21645 #ifdef HAVE_MATH_H
21646 #include <math.h>
21647 #endif
21649 int (*ptr)() = (int (*)())cpow;
21652 main ()
21654 return 0;
21657 _ACEOF
21658 if ac_fn_c_try_link "$LINENO"; then :
21659 gcc_cv_math_func_cpow=yes
21660 else
21661 gcc_cv_math_func_cpow=no
21663 rm -f core conftest.err conftest.$ac_objext \
21664 conftest$ac_exeext conftest.$ac_ext
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21667 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21668 if test $gcc_cv_math_func_cpow = yes; then
21670 cat >>confdefs.h <<_ACEOF
21671 #define HAVE_CPOW 1
21672 _ACEOF
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21680 $as_echo_n "checking for cpowl... " >&6; }
21681 if ${gcc_cv_math_func_cpowl+:} false; then :
21682 $as_echo_n "(cached) " >&6
21683 else
21684 if test x$gcc_no_link = xyes; then
21685 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21688 /* end confdefs.h. */
21690 #ifdef HAVE_COMPLEX_H
21691 #include <complex.h>
21692 #endif
21693 #ifdef HAVE_MATH_H
21694 #include <math.h>
21695 #endif
21697 int (*ptr)() = (int (*)())cpowl;
21700 main ()
21702 return 0;
21705 _ACEOF
21706 if ac_fn_c_try_link "$LINENO"; then :
21707 gcc_cv_math_func_cpowl=yes
21708 else
21709 gcc_cv_math_func_cpowl=no
21711 rm -f core conftest.err conftest.$ac_objext \
21712 conftest$ac_exeext conftest.$ac_ext
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21715 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21716 if test $gcc_cv_math_func_cpowl = yes; then
21718 cat >>confdefs.h <<_ACEOF
21719 #define HAVE_CPOWL 1
21720 _ACEOF
21727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21728 $as_echo_n "checking for roundf... " >&6; }
21729 if ${gcc_cv_math_func_roundf+:} false; then :
21730 $as_echo_n "(cached) " >&6
21731 else
21732 if test x$gcc_no_link = xyes; then
21733 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21736 /* end confdefs.h. */
21738 #ifdef HAVE_COMPLEX_H
21739 #include <complex.h>
21740 #endif
21741 #ifdef HAVE_MATH_H
21742 #include <math.h>
21743 #endif
21745 int (*ptr)() = (int (*)())roundf;
21748 main ()
21750 return 0;
21753 _ACEOF
21754 if ac_fn_c_try_link "$LINENO"; then :
21755 gcc_cv_math_func_roundf=yes
21756 else
21757 gcc_cv_math_func_roundf=no
21759 rm -f core conftest.err conftest.$ac_objext \
21760 conftest$ac_exeext conftest.$ac_ext
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21763 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21764 if test $gcc_cv_math_func_roundf = yes; then
21766 cat >>confdefs.h <<_ACEOF
21767 #define HAVE_ROUNDF 1
21768 _ACEOF
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21776 $as_echo_n "checking for round... " >&6; }
21777 if ${gcc_cv_math_func_round+:} false; then :
21778 $as_echo_n "(cached) " >&6
21779 else
21780 if test x$gcc_no_link = xyes; then
21781 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21784 /* end confdefs.h. */
21786 #ifdef HAVE_COMPLEX_H
21787 #include <complex.h>
21788 #endif
21789 #ifdef HAVE_MATH_H
21790 #include <math.h>
21791 #endif
21793 int (*ptr)() = (int (*)())round;
21796 main ()
21798 return 0;
21801 _ACEOF
21802 if ac_fn_c_try_link "$LINENO"; then :
21803 gcc_cv_math_func_round=yes
21804 else
21805 gcc_cv_math_func_round=no
21807 rm -f core conftest.err conftest.$ac_objext \
21808 conftest$ac_exeext conftest.$ac_ext
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21811 $as_echo "$gcc_cv_math_func_round" >&6; }
21812 if test $gcc_cv_math_func_round = yes; then
21814 cat >>confdefs.h <<_ACEOF
21815 #define HAVE_ROUND 1
21816 _ACEOF
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21824 $as_echo_n "checking for roundl... " >&6; }
21825 if ${gcc_cv_math_func_roundl+:} false; then :
21826 $as_echo_n "(cached) " >&6
21827 else
21828 if test x$gcc_no_link = xyes; then
21829 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21832 /* end confdefs.h. */
21834 #ifdef HAVE_COMPLEX_H
21835 #include <complex.h>
21836 #endif
21837 #ifdef HAVE_MATH_H
21838 #include <math.h>
21839 #endif
21841 int (*ptr)() = (int (*)())roundl;
21844 main ()
21846 return 0;
21849 _ACEOF
21850 if ac_fn_c_try_link "$LINENO"; then :
21851 gcc_cv_math_func_roundl=yes
21852 else
21853 gcc_cv_math_func_roundl=no
21855 rm -f core conftest.err conftest.$ac_objext \
21856 conftest$ac_exeext conftest.$ac_ext
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21859 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21860 if test $gcc_cv_math_func_roundl = yes; then
21862 cat >>confdefs.h <<_ACEOF
21863 #define HAVE_ROUNDL 1
21864 _ACEOF
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21872 $as_echo_n "checking for lroundf... " >&6; }
21873 if ${gcc_cv_math_func_lroundf+:} false; then :
21874 $as_echo_n "(cached) " >&6
21875 else
21876 if test x$gcc_no_link = xyes; then
21877 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21880 /* end confdefs.h. */
21882 #ifdef HAVE_COMPLEX_H
21883 #include <complex.h>
21884 #endif
21885 #ifdef HAVE_MATH_H
21886 #include <math.h>
21887 #endif
21889 int (*ptr)() = (int (*)())lroundf;
21892 main ()
21894 return 0;
21897 _ACEOF
21898 if ac_fn_c_try_link "$LINENO"; then :
21899 gcc_cv_math_func_lroundf=yes
21900 else
21901 gcc_cv_math_func_lroundf=no
21903 rm -f core conftest.err conftest.$ac_objext \
21904 conftest$ac_exeext conftest.$ac_ext
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21907 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21908 if test $gcc_cv_math_func_lroundf = yes; then
21910 cat >>confdefs.h <<_ACEOF
21911 #define HAVE_LROUNDF 1
21912 _ACEOF
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21920 $as_echo_n "checking for lround... " >&6; }
21921 if ${gcc_cv_math_func_lround+:} false; then :
21922 $as_echo_n "(cached) " >&6
21923 else
21924 if test x$gcc_no_link = xyes; then
21925 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21928 /* end confdefs.h. */
21930 #ifdef HAVE_COMPLEX_H
21931 #include <complex.h>
21932 #endif
21933 #ifdef HAVE_MATH_H
21934 #include <math.h>
21935 #endif
21937 int (*ptr)() = (int (*)())lround;
21940 main ()
21942 return 0;
21945 _ACEOF
21946 if ac_fn_c_try_link "$LINENO"; then :
21947 gcc_cv_math_func_lround=yes
21948 else
21949 gcc_cv_math_func_lround=no
21951 rm -f core conftest.err conftest.$ac_objext \
21952 conftest$ac_exeext conftest.$ac_ext
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21955 $as_echo "$gcc_cv_math_func_lround" >&6; }
21956 if test $gcc_cv_math_func_lround = yes; then
21958 cat >>confdefs.h <<_ACEOF
21959 #define HAVE_LROUND 1
21960 _ACEOF
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21968 $as_echo_n "checking for lroundl... " >&6; }
21969 if ${gcc_cv_math_func_lroundl+:} false; then :
21970 $as_echo_n "(cached) " >&6
21971 else
21972 if test x$gcc_no_link = xyes; then
21973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21976 /* end confdefs.h. */
21978 #ifdef HAVE_COMPLEX_H
21979 #include <complex.h>
21980 #endif
21981 #ifdef HAVE_MATH_H
21982 #include <math.h>
21983 #endif
21985 int (*ptr)() = (int (*)())lroundl;
21988 main ()
21990 return 0;
21993 _ACEOF
21994 if ac_fn_c_try_link "$LINENO"; then :
21995 gcc_cv_math_func_lroundl=yes
21996 else
21997 gcc_cv_math_func_lroundl=no
21999 rm -f core conftest.err conftest.$ac_objext \
22000 conftest$ac_exeext conftest.$ac_ext
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22003 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22004 if test $gcc_cv_math_func_lroundl = yes; then
22006 cat >>confdefs.h <<_ACEOF
22007 #define HAVE_LROUNDL 1
22008 _ACEOF
22015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22016 $as_echo_n "checking for llroundf... " >&6; }
22017 if ${gcc_cv_math_func_llroundf+:} false; then :
22018 $as_echo_n "(cached) " >&6
22019 else
22020 if test x$gcc_no_link = xyes; then
22021 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22024 /* end confdefs.h. */
22026 #ifdef HAVE_COMPLEX_H
22027 #include <complex.h>
22028 #endif
22029 #ifdef HAVE_MATH_H
22030 #include <math.h>
22031 #endif
22033 int (*ptr)() = (int (*)())llroundf;
22036 main ()
22038 return 0;
22041 _ACEOF
22042 if ac_fn_c_try_link "$LINENO"; then :
22043 gcc_cv_math_func_llroundf=yes
22044 else
22045 gcc_cv_math_func_llroundf=no
22047 rm -f core conftest.err conftest.$ac_objext \
22048 conftest$ac_exeext conftest.$ac_ext
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22051 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22052 if test $gcc_cv_math_func_llroundf = yes; then
22054 cat >>confdefs.h <<_ACEOF
22055 #define HAVE_LLROUNDF 1
22056 _ACEOF
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22064 $as_echo_n "checking for llround... " >&6; }
22065 if ${gcc_cv_math_func_llround+:} false; then :
22066 $as_echo_n "(cached) " >&6
22067 else
22068 if test x$gcc_no_link = xyes; then
22069 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22072 /* end confdefs.h. */
22074 #ifdef HAVE_COMPLEX_H
22075 #include <complex.h>
22076 #endif
22077 #ifdef HAVE_MATH_H
22078 #include <math.h>
22079 #endif
22081 int (*ptr)() = (int (*)())llround;
22084 main ()
22086 return 0;
22089 _ACEOF
22090 if ac_fn_c_try_link "$LINENO"; then :
22091 gcc_cv_math_func_llround=yes
22092 else
22093 gcc_cv_math_func_llround=no
22095 rm -f core conftest.err conftest.$ac_objext \
22096 conftest$ac_exeext conftest.$ac_ext
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22099 $as_echo "$gcc_cv_math_func_llround" >&6; }
22100 if test $gcc_cv_math_func_llround = yes; then
22102 cat >>confdefs.h <<_ACEOF
22103 #define HAVE_LLROUND 1
22104 _ACEOF
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22112 $as_echo_n "checking for llroundl... " >&6; }
22113 if ${gcc_cv_math_func_llroundl+:} false; then :
22114 $as_echo_n "(cached) " >&6
22115 else
22116 if test x$gcc_no_link = xyes; then
22117 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22120 /* end confdefs.h. */
22122 #ifdef HAVE_COMPLEX_H
22123 #include <complex.h>
22124 #endif
22125 #ifdef HAVE_MATH_H
22126 #include <math.h>
22127 #endif
22129 int (*ptr)() = (int (*)())llroundl;
22132 main ()
22134 return 0;
22137 _ACEOF
22138 if ac_fn_c_try_link "$LINENO"; then :
22139 gcc_cv_math_func_llroundl=yes
22140 else
22141 gcc_cv_math_func_llroundl=no
22143 rm -f core conftest.err conftest.$ac_objext \
22144 conftest$ac_exeext conftest.$ac_ext
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22147 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22148 if test $gcc_cv_math_func_llroundl = yes; then
22150 cat >>confdefs.h <<_ACEOF
22151 #define HAVE_LLROUNDL 1
22152 _ACEOF
22159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22160 $as_echo_n "checking for scalbnf... " >&6; }
22161 if ${gcc_cv_math_func_scalbnf+:} false; then :
22162 $as_echo_n "(cached) " >&6
22163 else
22164 if test x$gcc_no_link = xyes; then
22165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22168 /* end confdefs.h. */
22170 #ifdef HAVE_COMPLEX_H
22171 #include <complex.h>
22172 #endif
22173 #ifdef HAVE_MATH_H
22174 #include <math.h>
22175 #endif
22177 int (*ptr)() = (int (*)())scalbnf;
22180 main ()
22182 return 0;
22185 _ACEOF
22186 if ac_fn_c_try_link "$LINENO"; then :
22187 gcc_cv_math_func_scalbnf=yes
22188 else
22189 gcc_cv_math_func_scalbnf=no
22191 rm -f core conftest.err conftest.$ac_objext \
22192 conftest$ac_exeext conftest.$ac_ext
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22195 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22196 if test $gcc_cv_math_func_scalbnf = yes; then
22198 cat >>confdefs.h <<_ACEOF
22199 #define HAVE_SCALBNF 1
22200 _ACEOF
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22208 $as_echo_n "checking for scalbn... " >&6; }
22209 if ${gcc_cv_math_func_scalbn+:} false; then :
22210 $as_echo_n "(cached) " >&6
22211 else
22212 if test x$gcc_no_link = xyes; then
22213 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22216 /* end confdefs.h. */
22218 #ifdef HAVE_COMPLEX_H
22219 #include <complex.h>
22220 #endif
22221 #ifdef HAVE_MATH_H
22222 #include <math.h>
22223 #endif
22225 int (*ptr)() = (int (*)())scalbn;
22228 main ()
22230 return 0;
22233 _ACEOF
22234 if ac_fn_c_try_link "$LINENO"; then :
22235 gcc_cv_math_func_scalbn=yes
22236 else
22237 gcc_cv_math_func_scalbn=no
22239 rm -f core conftest.err conftest.$ac_objext \
22240 conftest$ac_exeext conftest.$ac_ext
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22243 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22244 if test $gcc_cv_math_func_scalbn = yes; then
22246 cat >>confdefs.h <<_ACEOF
22247 #define HAVE_SCALBN 1
22248 _ACEOF
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22256 $as_echo_n "checking for scalbnl... " >&6; }
22257 if ${gcc_cv_math_func_scalbnl+:} false; then :
22258 $as_echo_n "(cached) " >&6
22259 else
22260 if test x$gcc_no_link = xyes; then
22261 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22264 /* end confdefs.h. */
22266 #ifdef HAVE_COMPLEX_H
22267 #include <complex.h>
22268 #endif
22269 #ifdef HAVE_MATH_H
22270 #include <math.h>
22271 #endif
22273 int (*ptr)() = (int (*)())scalbnl;
22276 main ()
22278 return 0;
22281 _ACEOF
22282 if ac_fn_c_try_link "$LINENO"; then :
22283 gcc_cv_math_func_scalbnl=yes
22284 else
22285 gcc_cv_math_func_scalbnl=no
22287 rm -f core conftest.err conftest.$ac_objext \
22288 conftest$ac_exeext conftest.$ac_ext
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22291 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22292 if test $gcc_cv_math_func_scalbnl = yes; then
22294 cat >>confdefs.h <<_ACEOF
22295 #define HAVE_SCALBNL 1
22296 _ACEOF
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22304 $as_echo_n "checking for sinf... " >&6; }
22305 if ${gcc_cv_math_func_sinf+:} false; then :
22306 $as_echo_n "(cached) " >&6
22307 else
22308 if test x$gcc_no_link = xyes; then
22309 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22312 /* end confdefs.h. */
22314 #ifdef HAVE_COMPLEX_H
22315 #include <complex.h>
22316 #endif
22317 #ifdef HAVE_MATH_H
22318 #include <math.h>
22319 #endif
22321 int (*ptr)() = (int (*)())sinf;
22324 main ()
22326 return 0;
22329 _ACEOF
22330 if ac_fn_c_try_link "$LINENO"; then :
22331 gcc_cv_math_func_sinf=yes
22332 else
22333 gcc_cv_math_func_sinf=no
22335 rm -f core conftest.err conftest.$ac_objext \
22336 conftest$ac_exeext conftest.$ac_ext
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22339 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22340 if test $gcc_cv_math_func_sinf = yes; then
22342 cat >>confdefs.h <<_ACEOF
22343 #define HAVE_SINF 1
22344 _ACEOF
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22352 $as_echo_n "checking for sin... " >&6; }
22353 if ${gcc_cv_math_func_sin+:} false; then :
22354 $as_echo_n "(cached) " >&6
22355 else
22356 if test x$gcc_no_link = xyes; then
22357 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22360 /* end confdefs.h. */
22362 #ifdef HAVE_COMPLEX_H
22363 #include <complex.h>
22364 #endif
22365 #ifdef HAVE_MATH_H
22366 #include <math.h>
22367 #endif
22369 int (*ptr)() = (int (*)())sin;
22372 main ()
22374 return 0;
22377 _ACEOF
22378 if ac_fn_c_try_link "$LINENO"; then :
22379 gcc_cv_math_func_sin=yes
22380 else
22381 gcc_cv_math_func_sin=no
22383 rm -f core conftest.err conftest.$ac_objext \
22384 conftest$ac_exeext conftest.$ac_ext
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22387 $as_echo "$gcc_cv_math_func_sin" >&6; }
22388 if test $gcc_cv_math_func_sin = yes; then
22390 cat >>confdefs.h <<_ACEOF
22391 #define HAVE_SIN 1
22392 _ACEOF
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22400 $as_echo_n "checking for sinl... " >&6; }
22401 if ${gcc_cv_math_func_sinl+:} false; then :
22402 $as_echo_n "(cached) " >&6
22403 else
22404 if test x$gcc_no_link = xyes; then
22405 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22408 /* end confdefs.h. */
22410 #ifdef HAVE_COMPLEX_H
22411 #include <complex.h>
22412 #endif
22413 #ifdef HAVE_MATH_H
22414 #include <math.h>
22415 #endif
22417 int (*ptr)() = (int (*)())sinl;
22420 main ()
22422 return 0;
22425 _ACEOF
22426 if ac_fn_c_try_link "$LINENO"; then :
22427 gcc_cv_math_func_sinl=yes
22428 else
22429 gcc_cv_math_func_sinl=no
22431 rm -f core conftest.err conftest.$ac_objext \
22432 conftest$ac_exeext conftest.$ac_ext
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22435 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22436 if test $gcc_cv_math_func_sinl = yes; then
22438 cat >>confdefs.h <<_ACEOF
22439 #define HAVE_SINL 1
22440 _ACEOF
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22448 $as_echo_n "checking for csinf... " >&6; }
22449 if ${gcc_cv_math_func_csinf+:} false; then :
22450 $as_echo_n "(cached) " >&6
22451 else
22452 if test x$gcc_no_link = xyes; then
22453 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22456 /* end confdefs.h. */
22458 #ifdef HAVE_COMPLEX_H
22459 #include <complex.h>
22460 #endif
22461 #ifdef HAVE_MATH_H
22462 #include <math.h>
22463 #endif
22465 int (*ptr)() = (int (*)())csinf;
22468 main ()
22470 return 0;
22473 _ACEOF
22474 if ac_fn_c_try_link "$LINENO"; then :
22475 gcc_cv_math_func_csinf=yes
22476 else
22477 gcc_cv_math_func_csinf=no
22479 rm -f core conftest.err conftest.$ac_objext \
22480 conftest$ac_exeext conftest.$ac_ext
22482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22483 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22484 if test $gcc_cv_math_func_csinf = yes; then
22486 cat >>confdefs.h <<_ACEOF
22487 #define HAVE_CSINF 1
22488 _ACEOF
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22496 $as_echo_n "checking for csin... " >&6; }
22497 if ${gcc_cv_math_func_csin+:} false; then :
22498 $as_echo_n "(cached) " >&6
22499 else
22500 if test x$gcc_no_link = xyes; then
22501 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22504 /* end confdefs.h. */
22506 #ifdef HAVE_COMPLEX_H
22507 #include <complex.h>
22508 #endif
22509 #ifdef HAVE_MATH_H
22510 #include <math.h>
22511 #endif
22513 int (*ptr)() = (int (*)())csin;
22516 main ()
22518 return 0;
22521 _ACEOF
22522 if ac_fn_c_try_link "$LINENO"; then :
22523 gcc_cv_math_func_csin=yes
22524 else
22525 gcc_cv_math_func_csin=no
22527 rm -f core conftest.err conftest.$ac_objext \
22528 conftest$ac_exeext conftest.$ac_ext
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22531 $as_echo "$gcc_cv_math_func_csin" >&6; }
22532 if test $gcc_cv_math_func_csin = yes; then
22534 cat >>confdefs.h <<_ACEOF
22535 #define HAVE_CSIN 1
22536 _ACEOF
22543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22544 $as_echo_n "checking for csinl... " >&6; }
22545 if ${gcc_cv_math_func_csinl+:} false; then :
22546 $as_echo_n "(cached) " >&6
22547 else
22548 if test x$gcc_no_link = xyes; then
22549 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22552 /* end confdefs.h. */
22554 #ifdef HAVE_COMPLEX_H
22555 #include <complex.h>
22556 #endif
22557 #ifdef HAVE_MATH_H
22558 #include <math.h>
22559 #endif
22561 int (*ptr)() = (int (*)())csinl;
22564 main ()
22566 return 0;
22569 _ACEOF
22570 if ac_fn_c_try_link "$LINENO"; then :
22571 gcc_cv_math_func_csinl=yes
22572 else
22573 gcc_cv_math_func_csinl=no
22575 rm -f core conftest.err conftest.$ac_objext \
22576 conftest$ac_exeext conftest.$ac_ext
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22579 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22580 if test $gcc_cv_math_func_csinl = yes; then
22582 cat >>confdefs.h <<_ACEOF
22583 #define HAVE_CSINL 1
22584 _ACEOF
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22592 $as_echo_n "checking for sinhf... " >&6; }
22593 if ${gcc_cv_math_func_sinhf+:} false; then :
22594 $as_echo_n "(cached) " >&6
22595 else
22596 if test x$gcc_no_link = xyes; then
22597 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22600 /* end confdefs.h. */
22602 #ifdef HAVE_COMPLEX_H
22603 #include <complex.h>
22604 #endif
22605 #ifdef HAVE_MATH_H
22606 #include <math.h>
22607 #endif
22609 int (*ptr)() = (int (*)())sinhf;
22612 main ()
22614 return 0;
22617 _ACEOF
22618 if ac_fn_c_try_link "$LINENO"; then :
22619 gcc_cv_math_func_sinhf=yes
22620 else
22621 gcc_cv_math_func_sinhf=no
22623 rm -f core conftest.err conftest.$ac_objext \
22624 conftest$ac_exeext conftest.$ac_ext
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22627 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22628 if test $gcc_cv_math_func_sinhf = yes; then
22630 cat >>confdefs.h <<_ACEOF
22631 #define HAVE_SINHF 1
22632 _ACEOF
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22640 $as_echo_n "checking for sinh... " >&6; }
22641 if ${gcc_cv_math_func_sinh+:} false; then :
22642 $as_echo_n "(cached) " >&6
22643 else
22644 if test x$gcc_no_link = xyes; then
22645 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22648 /* end confdefs.h. */
22650 #ifdef HAVE_COMPLEX_H
22651 #include <complex.h>
22652 #endif
22653 #ifdef HAVE_MATH_H
22654 #include <math.h>
22655 #endif
22657 int (*ptr)() = (int (*)())sinh;
22660 main ()
22662 return 0;
22665 _ACEOF
22666 if ac_fn_c_try_link "$LINENO"; then :
22667 gcc_cv_math_func_sinh=yes
22668 else
22669 gcc_cv_math_func_sinh=no
22671 rm -f core conftest.err conftest.$ac_objext \
22672 conftest$ac_exeext conftest.$ac_ext
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22675 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22676 if test $gcc_cv_math_func_sinh = yes; then
22678 cat >>confdefs.h <<_ACEOF
22679 #define HAVE_SINH 1
22680 _ACEOF
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22688 $as_echo_n "checking for sinhl... " >&6; }
22689 if ${gcc_cv_math_func_sinhl+:} false; then :
22690 $as_echo_n "(cached) " >&6
22691 else
22692 if test x$gcc_no_link = xyes; then
22693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22696 /* end confdefs.h. */
22698 #ifdef HAVE_COMPLEX_H
22699 #include <complex.h>
22700 #endif
22701 #ifdef HAVE_MATH_H
22702 #include <math.h>
22703 #endif
22705 int (*ptr)() = (int (*)())sinhl;
22708 main ()
22710 return 0;
22713 _ACEOF
22714 if ac_fn_c_try_link "$LINENO"; then :
22715 gcc_cv_math_func_sinhl=yes
22716 else
22717 gcc_cv_math_func_sinhl=no
22719 rm -f core conftest.err conftest.$ac_objext \
22720 conftest$ac_exeext conftest.$ac_ext
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22723 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22724 if test $gcc_cv_math_func_sinhl = yes; then
22726 cat >>confdefs.h <<_ACEOF
22727 #define HAVE_SINHL 1
22728 _ACEOF
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22736 $as_echo_n "checking for csinhf... " >&6; }
22737 if ${gcc_cv_math_func_csinhf+:} false; then :
22738 $as_echo_n "(cached) " >&6
22739 else
22740 if test x$gcc_no_link = xyes; then
22741 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22744 /* end confdefs.h. */
22746 #ifdef HAVE_COMPLEX_H
22747 #include <complex.h>
22748 #endif
22749 #ifdef HAVE_MATH_H
22750 #include <math.h>
22751 #endif
22753 int (*ptr)() = (int (*)())csinhf;
22756 main ()
22758 return 0;
22761 _ACEOF
22762 if ac_fn_c_try_link "$LINENO"; then :
22763 gcc_cv_math_func_csinhf=yes
22764 else
22765 gcc_cv_math_func_csinhf=no
22767 rm -f core conftest.err conftest.$ac_objext \
22768 conftest$ac_exeext conftest.$ac_ext
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22771 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22772 if test $gcc_cv_math_func_csinhf = yes; then
22774 cat >>confdefs.h <<_ACEOF
22775 #define HAVE_CSINHF 1
22776 _ACEOF
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22784 $as_echo_n "checking for csinh... " >&6; }
22785 if ${gcc_cv_math_func_csinh+:} false; then :
22786 $as_echo_n "(cached) " >&6
22787 else
22788 if test x$gcc_no_link = xyes; then
22789 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22792 /* end confdefs.h. */
22794 #ifdef HAVE_COMPLEX_H
22795 #include <complex.h>
22796 #endif
22797 #ifdef HAVE_MATH_H
22798 #include <math.h>
22799 #endif
22801 int (*ptr)() = (int (*)())csinh;
22804 main ()
22806 return 0;
22809 _ACEOF
22810 if ac_fn_c_try_link "$LINENO"; then :
22811 gcc_cv_math_func_csinh=yes
22812 else
22813 gcc_cv_math_func_csinh=no
22815 rm -f core conftest.err conftest.$ac_objext \
22816 conftest$ac_exeext conftest.$ac_ext
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22819 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22820 if test $gcc_cv_math_func_csinh = yes; then
22822 cat >>confdefs.h <<_ACEOF
22823 #define HAVE_CSINH 1
22824 _ACEOF
22831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22832 $as_echo_n "checking for csinhl... " >&6; }
22833 if ${gcc_cv_math_func_csinhl+:} false; then :
22834 $as_echo_n "(cached) " >&6
22835 else
22836 if test x$gcc_no_link = xyes; then
22837 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22840 /* end confdefs.h. */
22842 #ifdef HAVE_COMPLEX_H
22843 #include <complex.h>
22844 #endif
22845 #ifdef HAVE_MATH_H
22846 #include <math.h>
22847 #endif
22849 int (*ptr)() = (int (*)())csinhl;
22852 main ()
22854 return 0;
22857 _ACEOF
22858 if ac_fn_c_try_link "$LINENO"; then :
22859 gcc_cv_math_func_csinhl=yes
22860 else
22861 gcc_cv_math_func_csinhl=no
22863 rm -f core conftest.err conftest.$ac_objext \
22864 conftest$ac_exeext conftest.$ac_ext
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22867 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22868 if test $gcc_cv_math_func_csinhl = yes; then
22870 cat >>confdefs.h <<_ACEOF
22871 #define HAVE_CSINHL 1
22872 _ACEOF
22879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22880 $as_echo_n "checking for sqrtf... " >&6; }
22881 if ${gcc_cv_math_func_sqrtf+:} false; then :
22882 $as_echo_n "(cached) " >&6
22883 else
22884 if test x$gcc_no_link = xyes; then
22885 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22888 /* end confdefs.h. */
22890 #ifdef HAVE_COMPLEX_H
22891 #include <complex.h>
22892 #endif
22893 #ifdef HAVE_MATH_H
22894 #include <math.h>
22895 #endif
22897 int (*ptr)() = (int (*)())sqrtf;
22900 main ()
22902 return 0;
22905 _ACEOF
22906 if ac_fn_c_try_link "$LINENO"; then :
22907 gcc_cv_math_func_sqrtf=yes
22908 else
22909 gcc_cv_math_func_sqrtf=no
22911 rm -f core conftest.err conftest.$ac_objext \
22912 conftest$ac_exeext conftest.$ac_ext
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22915 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22916 if test $gcc_cv_math_func_sqrtf = yes; then
22918 cat >>confdefs.h <<_ACEOF
22919 #define HAVE_SQRTF 1
22920 _ACEOF
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22928 $as_echo_n "checking for sqrt... " >&6; }
22929 if ${gcc_cv_math_func_sqrt+:} false; then :
22930 $as_echo_n "(cached) " >&6
22931 else
22932 if test x$gcc_no_link = xyes; then
22933 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22936 /* end confdefs.h. */
22938 #ifdef HAVE_COMPLEX_H
22939 #include <complex.h>
22940 #endif
22941 #ifdef HAVE_MATH_H
22942 #include <math.h>
22943 #endif
22945 int (*ptr)() = (int (*)())sqrt;
22948 main ()
22950 return 0;
22953 _ACEOF
22954 if ac_fn_c_try_link "$LINENO"; then :
22955 gcc_cv_math_func_sqrt=yes
22956 else
22957 gcc_cv_math_func_sqrt=no
22959 rm -f core conftest.err conftest.$ac_objext \
22960 conftest$ac_exeext conftest.$ac_ext
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22963 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22964 if test $gcc_cv_math_func_sqrt = yes; then
22966 cat >>confdefs.h <<_ACEOF
22967 #define HAVE_SQRT 1
22968 _ACEOF
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22976 $as_echo_n "checking for sqrtl... " >&6; }
22977 if ${gcc_cv_math_func_sqrtl+:} false; then :
22978 $as_echo_n "(cached) " >&6
22979 else
22980 if test x$gcc_no_link = xyes; then
22981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22984 /* end confdefs.h. */
22986 #ifdef HAVE_COMPLEX_H
22987 #include <complex.h>
22988 #endif
22989 #ifdef HAVE_MATH_H
22990 #include <math.h>
22991 #endif
22993 int (*ptr)() = (int (*)())sqrtl;
22996 main ()
22998 return 0;
23001 _ACEOF
23002 if ac_fn_c_try_link "$LINENO"; then :
23003 gcc_cv_math_func_sqrtl=yes
23004 else
23005 gcc_cv_math_func_sqrtl=no
23007 rm -f core conftest.err conftest.$ac_objext \
23008 conftest$ac_exeext conftest.$ac_ext
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23011 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23012 if test $gcc_cv_math_func_sqrtl = yes; then
23014 cat >>confdefs.h <<_ACEOF
23015 #define HAVE_SQRTL 1
23016 _ACEOF
23023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23024 $as_echo_n "checking for csqrtf... " >&6; }
23025 if ${gcc_cv_math_func_csqrtf+:} false; then :
23026 $as_echo_n "(cached) " >&6
23027 else
23028 if test x$gcc_no_link = xyes; then
23029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23032 /* end confdefs.h. */
23034 #ifdef HAVE_COMPLEX_H
23035 #include <complex.h>
23036 #endif
23037 #ifdef HAVE_MATH_H
23038 #include <math.h>
23039 #endif
23041 int (*ptr)() = (int (*)())csqrtf;
23044 main ()
23046 return 0;
23049 _ACEOF
23050 if ac_fn_c_try_link "$LINENO"; then :
23051 gcc_cv_math_func_csqrtf=yes
23052 else
23053 gcc_cv_math_func_csqrtf=no
23055 rm -f core conftest.err conftest.$ac_objext \
23056 conftest$ac_exeext conftest.$ac_ext
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23059 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23060 if test $gcc_cv_math_func_csqrtf = yes; then
23062 cat >>confdefs.h <<_ACEOF
23063 #define HAVE_CSQRTF 1
23064 _ACEOF
23071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23072 $as_echo_n "checking for csqrt... " >&6; }
23073 if ${gcc_cv_math_func_csqrt+:} false; then :
23074 $as_echo_n "(cached) " >&6
23075 else
23076 if test x$gcc_no_link = xyes; then
23077 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23080 /* end confdefs.h. */
23082 #ifdef HAVE_COMPLEX_H
23083 #include <complex.h>
23084 #endif
23085 #ifdef HAVE_MATH_H
23086 #include <math.h>
23087 #endif
23089 int (*ptr)() = (int (*)())csqrt;
23092 main ()
23094 return 0;
23097 _ACEOF
23098 if ac_fn_c_try_link "$LINENO"; then :
23099 gcc_cv_math_func_csqrt=yes
23100 else
23101 gcc_cv_math_func_csqrt=no
23103 rm -f core conftest.err conftest.$ac_objext \
23104 conftest$ac_exeext conftest.$ac_ext
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23107 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23108 if test $gcc_cv_math_func_csqrt = yes; then
23110 cat >>confdefs.h <<_ACEOF
23111 #define HAVE_CSQRT 1
23112 _ACEOF
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23120 $as_echo_n "checking for csqrtl... " >&6; }
23121 if ${gcc_cv_math_func_csqrtl+:} false; then :
23122 $as_echo_n "(cached) " >&6
23123 else
23124 if test x$gcc_no_link = xyes; then
23125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23128 /* end confdefs.h. */
23130 #ifdef HAVE_COMPLEX_H
23131 #include <complex.h>
23132 #endif
23133 #ifdef HAVE_MATH_H
23134 #include <math.h>
23135 #endif
23137 int (*ptr)() = (int (*)())csqrtl;
23140 main ()
23142 return 0;
23145 _ACEOF
23146 if ac_fn_c_try_link "$LINENO"; then :
23147 gcc_cv_math_func_csqrtl=yes
23148 else
23149 gcc_cv_math_func_csqrtl=no
23151 rm -f core conftest.err conftest.$ac_objext \
23152 conftest$ac_exeext conftest.$ac_ext
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23155 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23156 if test $gcc_cv_math_func_csqrtl = yes; then
23158 cat >>confdefs.h <<_ACEOF
23159 #define HAVE_CSQRTL 1
23160 _ACEOF
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23168 $as_echo_n "checking for tanf... " >&6; }
23169 if ${gcc_cv_math_func_tanf+:} false; then :
23170 $as_echo_n "(cached) " >&6
23171 else
23172 if test x$gcc_no_link = xyes; then
23173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23176 /* end confdefs.h. */
23178 #ifdef HAVE_COMPLEX_H
23179 #include <complex.h>
23180 #endif
23181 #ifdef HAVE_MATH_H
23182 #include <math.h>
23183 #endif
23185 int (*ptr)() = (int (*)())tanf;
23188 main ()
23190 return 0;
23193 _ACEOF
23194 if ac_fn_c_try_link "$LINENO"; then :
23195 gcc_cv_math_func_tanf=yes
23196 else
23197 gcc_cv_math_func_tanf=no
23199 rm -f core conftest.err conftest.$ac_objext \
23200 conftest$ac_exeext conftest.$ac_ext
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23203 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23204 if test $gcc_cv_math_func_tanf = yes; then
23206 cat >>confdefs.h <<_ACEOF
23207 #define HAVE_TANF 1
23208 _ACEOF
23215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23216 $as_echo_n "checking for tan... " >&6; }
23217 if ${gcc_cv_math_func_tan+:} false; then :
23218 $as_echo_n "(cached) " >&6
23219 else
23220 if test x$gcc_no_link = xyes; then
23221 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23224 /* end confdefs.h. */
23226 #ifdef HAVE_COMPLEX_H
23227 #include <complex.h>
23228 #endif
23229 #ifdef HAVE_MATH_H
23230 #include <math.h>
23231 #endif
23233 int (*ptr)() = (int (*)())tan;
23236 main ()
23238 return 0;
23241 _ACEOF
23242 if ac_fn_c_try_link "$LINENO"; then :
23243 gcc_cv_math_func_tan=yes
23244 else
23245 gcc_cv_math_func_tan=no
23247 rm -f core conftest.err conftest.$ac_objext \
23248 conftest$ac_exeext conftest.$ac_ext
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23251 $as_echo "$gcc_cv_math_func_tan" >&6; }
23252 if test $gcc_cv_math_func_tan = yes; then
23254 cat >>confdefs.h <<_ACEOF
23255 #define HAVE_TAN 1
23256 _ACEOF
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23264 $as_echo_n "checking for tanl... " >&6; }
23265 if ${gcc_cv_math_func_tanl+:} false; then :
23266 $as_echo_n "(cached) " >&6
23267 else
23268 if test x$gcc_no_link = xyes; then
23269 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23272 /* end confdefs.h. */
23274 #ifdef HAVE_COMPLEX_H
23275 #include <complex.h>
23276 #endif
23277 #ifdef HAVE_MATH_H
23278 #include <math.h>
23279 #endif
23281 int (*ptr)() = (int (*)())tanl;
23284 main ()
23286 return 0;
23289 _ACEOF
23290 if ac_fn_c_try_link "$LINENO"; then :
23291 gcc_cv_math_func_tanl=yes
23292 else
23293 gcc_cv_math_func_tanl=no
23295 rm -f core conftest.err conftest.$ac_objext \
23296 conftest$ac_exeext conftest.$ac_ext
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23299 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23300 if test $gcc_cv_math_func_tanl = yes; then
23302 cat >>confdefs.h <<_ACEOF
23303 #define HAVE_TANL 1
23304 _ACEOF
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23312 $as_echo_n "checking for ctanf... " >&6; }
23313 if ${gcc_cv_math_func_ctanf+:} false; then :
23314 $as_echo_n "(cached) " >&6
23315 else
23316 if test x$gcc_no_link = xyes; then
23317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23320 /* end confdefs.h. */
23322 #ifdef HAVE_COMPLEX_H
23323 #include <complex.h>
23324 #endif
23325 #ifdef HAVE_MATH_H
23326 #include <math.h>
23327 #endif
23329 int (*ptr)() = (int (*)())ctanf;
23332 main ()
23334 return 0;
23337 _ACEOF
23338 if ac_fn_c_try_link "$LINENO"; then :
23339 gcc_cv_math_func_ctanf=yes
23340 else
23341 gcc_cv_math_func_ctanf=no
23343 rm -f core conftest.err conftest.$ac_objext \
23344 conftest$ac_exeext conftest.$ac_ext
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23347 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23348 if test $gcc_cv_math_func_ctanf = yes; then
23350 cat >>confdefs.h <<_ACEOF
23351 #define HAVE_CTANF 1
23352 _ACEOF
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23360 $as_echo_n "checking for ctan... " >&6; }
23361 if ${gcc_cv_math_func_ctan+:} false; then :
23362 $as_echo_n "(cached) " >&6
23363 else
23364 if test x$gcc_no_link = xyes; then
23365 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23368 /* end confdefs.h. */
23370 #ifdef HAVE_COMPLEX_H
23371 #include <complex.h>
23372 #endif
23373 #ifdef HAVE_MATH_H
23374 #include <math.h>
23375 #endif
23377 int (*ptr)() = (int (*)())ctan;
23380 main ()
23382 return 0;
23385 _ACEOF
23386 if ac_fn_c_try_link "$LINENO"; then :
23387 gcc_cv_math_func_ctan=yes
23388 else
23389 gcc_cv_math_func_ctan=no
23391 rm -f core conftest.err conftest.$ac_objext \
23392 conftest$ac_exeext conftest.$ac_ext
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23395 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23396 if test $gcc_cv_math_func_ctan = yes; then
23398 cat >>confdefs.h <<_ACEOF
23399 #define HAVE_CTAN 1
23400 _ACEOF
23407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23408 $as_echo_n "checking for ctanl... " >&6; }
23409 if ${gcc_cv_math_func_ctanl+:} false; then :
23410 $as_echo_n "(cached) " >&6
23411 else
23412 if test x$gcc_no_link = xyes; then
23413 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23416 /* end confdefs.h. */
23418 #ifdef HAVE_COMPLEX_H
23419 #include <complex.h>
23420 #endif
23421 #ifdef HAVE_MATH_H
23422 #include <math.h>
23423 #endif
23425 int (*ptr)() = (int (*)())ctanl;
23428 main ()
23430 return 0;
23433 _ACEOF
23434 if ac_fn_c_try_link "$LINENO"; then :
23435 gcc_cv_math_func_ctanl=yes
23436 else
23437 gcc_cv_math_func_ctanl=no
23439 rm -f core conftest.err conftest.$ac_objext \
23440 conftest$ac_exeext conftest.$ac_ext
23442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23443 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23444 if test $gcc_cv_math_func_ctanl = yes; then
23446 cat >>confdefs.h <<_ACEOF
23447 #define HAVE_CTANL 1
23448 _ACEOF
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23456 $as_echo_n "checking for tanhf... " >&6; }
23457 if ${gcc_cv_math_func_tanhf+:} false; then :
23458 $as_echo_n "(cached) " >&6
23459 else
23460 if test x$gcc_no_link = xyes; then
23461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23464 /* end confdefs.h. */
23466 #ifdef HAVE_COMPLEX_H
23467 #include <complex.h>
23468 #endif
23469 #ifdef HAVE_MATH_H
23470 #include <math.h>
23471 #endif
23473 int (*ptr)() = (int (*)())tanhf;
23476 main ()
23478 return 0;
23481 _ACEOF
23482 if ac_fn_c_try_link "$LINENO"; then :
23483 gcc_cv_math_func_tanhf=yes
23484 else
23485 gcc_cv_math_func_tanhf=no
23487 rm -f core conftest.err conftest.$ac_objext \
23488 conftest$ac_exeext conftest.$ac_ext
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23491 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23492 if test $gcc_cv_math_func_tanhf = yes; then
23494 cat >>confdefs.h <<_ACEOF
23495 #define HAVE_TANHF 1
23496 _ACEOF
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23504 $as_echo_n "checking for tanh... " >&6; }
23505 if ${gcc_cv_math_func_tanh+:} false; then :
23506 $as_echo_n "(cached) " >&6
23507 else
23508 if test x$gcc_no_link = xyes; then
23509 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23512 /* end confdefs.h. */
23514 #ifdef HAVE_COMPLEX_H
23515 #include <complex.h>
23516 #endif
23517 #ifdef HAVE_MATH_H
23518 #include <math.h>
23519 #endif
23521 int (*ptr)() = (int (*)())tanh;
23524 main ()
23526 return 0;
23529 _ACEOF
23530 if ac_fn_c_try_link "$LINENO"; then :
23531 gcc_cv_math_func_tanh=yes
23532 else
23533 gcc_cv_math_func_tanh=no
23535 rm -f core conftest.err conftest.$ac_objext \
23536 conftest$ac_exeext conftest.$ac_ext
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23539 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23540 if test $gcc_cv_math_func_tanh = yes; then
23542 cat >>confdefs.h <<_ACEOF
23543 #define HAVE_TANH 1
23544 _ACEOF
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23552 $as_echo_n "checking for tanhl... " >&6; }
23553 if ${gcc_cv_math_func_tanhl+:} false; then :
23554 $as_echo_n "(cached) " >&6
23555 else
23556 if test x$gcc_no_link = xyes; then
23557 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23560 /* end confdefs.h. */
23562 #ifdef HAVE_COMPLEX_H
23563 #include <complex.h>
23564 #endif
23565 #ifdef HAVE_MATH_H
23566 #include <math.h>
23567 #endif
23569 int (*ptr)() = (int (*)())tanhl;
23572 main ()
23574 return 0;
23577 _ACEOF
23578 if ac_fn_c_try_link "$LINENO"; then :
23579 gcc_cv_math_func_tanhl=yes
23580 else
23581 gcc_cv_math_func_tanhl=no
23583 rm -f core conftest.err conftest.$ac_objext \
23584 conftest$ac_exeext conftest.$ac_ext
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23587 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23588 if test $gcc_cv_math_func_tanhl = yes; then
23590 cat >>confdefs.h <<_ACEOF
23591 #define HAVE_TANHL 1
23592 _ACEOF
23599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23600 $as_echo_n "checking for ctanhf... " >&6; }
23601 if ${gcc_cv_math_func_ctanhf+:} false; then :
23602 $as_echo_n "(cached) " >&6
23603 else
23604 if test x$gcc_no_link = xyes; then
23605 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23608 /* end confdefs.h. */
23610 #ifdef HAVE_COMPLEX_H
23611 #include <complex.h>
23612 #endif
23613 #ifdef HAVE_MATH_H
23614 #include <math.h>
23615 #endif
23617 int (*ptr)() = (int (*)())ctanhf;
23620 main ()
23622 return 0;
23625 _ACEOF
23626 if ac_fn_c_try_link "$LINENO"; then :
23627 gcc_cv_math_func_ctanhf=yes
23628 else
23629 gcc_cv_math_func_ctanhf=no
23631 rm -f core conftest.err conftest.$ac_objext \
23632 conftest$ac_exeext conftest.$ac_ext
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23635 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23636 if test $gcc_cv_math_func_ctanhf = yes; then
23638 cat >>confdefs.h <<_ACEOF
23639 #define HAVE_CTANHF 1
23640 _ACEOF
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23648 $as_echo_n "checking for ctanh... " >&6; }
23649 if ${gcc_cv_math_func_ctanh+:} false; then :
23650 $as_echo_n "(cached) " >&6
23651 else
23652 if test x$gcc_no_link = xyes; then
23653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23656 /* end confdefs.h. */
23658 #ifdef HAVE_COMPLEX_H
23659 #include <complex.h>
23660 #endif
23661 #ifdef HAVE_MATH_H
23662 #include <math.h>
23663 #endif
23665 int (*ptr)() = (int (*)())ctanh;
23668 main ()
23670 return 0;
23673 _ACEOF
23674 if ac_fn_c_try_link "$LINENO"; then :
23675 gcc_cv_math_func_ctanh=yes
23676 else
23677 gcc_cv_math_func_ctanh=no
23679 rm -f core conftest.err conftest.$ac_objext \
23680 conftest$ac_exeext conftest.$ac_ext
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23683 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23684 if test $gcc_cv_math_func_ctanh = yes; then
23686 cat >>confdefs.h <<_ACEOF
23687 #define HAVE_CTANH 1
23688 _ACEOF
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23696 $as_echo_n "checking for ctanhl... " >&6; }
23697 if ${gcc_cv_math_func_ctanhl+:} false; then :
23698 $as_echo_n "(cached) " >&6
23699 else
23700 if test x$gcc_no_link = xyes; then
23701 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23704 /* end confdefs.h. */
23706 #ifdef HAVE_COMPLEX_H
23707 #include <complex.h>
23708 #endif
23709 #ifdef HAVE_MATH_H
23710 #include <math.h>
23711 #endif
23713 int (*ptr)() = (int (*)())ctanhl;
23716 main ()
23718 return 0;
23721 _ACEOF
23722 if ac_fn_c_try_link "$LINENO"; then :
23723 gcc_cv_math_func_ctanhl=yes
23724 else
23725 gcc_cv_math_func_ctanhl=no
23727 rm -f core conftest.err conftest.$ac_objext \
23728 conftest$ac_exeext conftest.$ac_ext
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23731 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23732 if test $gcc_cv_math_func_ctanhl = yes; then
23734 cat >>confdefs.h <<_ACEOF
23735 #define HAVE_CTANHL 1
23736 _ACEOF
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23744 $as_echo_n "checking for truncf... " >&6; }
23745 if ${gcc_cv_math_func_truncf+:} false; then :
23746 $as_echo_n "(cached) " >&6
23747 else
23748 if test x$gcc_no_link = xyes; then
23749 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23752 /* end confdefs.h. */
23754 #ifdef HAVE_COMPLEX_H
23755 #include <complex.h>
23756 #endif
23757 #ifdef HAVE_MATH_H
23758 #include <math.h>
23759 #endif
23761 int (*ptr)() = (int (*)())truncf;
23764 main ()
23766 return 0;
23769 _ACEOF
23770 if ac_fn_c_try_link "$LINENO"; then :
23771 gcc_cv_math_func_truncf=yes
23772 else
23773 gcc_cv_math_func_truncf=no
23775 rm -f core conftest.err conftest.$ac_objext \
23776 conftest$ac_exeext conftest.$ac_ext
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23779 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23780 if test $gcc_cv_math_func_truncf = yes; then
23782 cat >>confdefs.h <<_ACEOF
23783 #define HAVE_TRUNCF 1
23784 _ACEOF
23791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23792 $as_echo_n "checking for trunc... " >&6; }
23793 if ${gcc_cv_math_func_trunc+:} false; then :
23794 $as_echo_n "(cached) " >&6
23795 else
23796 if test x$gcc_no_link = xyes; then
23797 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23800 /* end confdefs.h. */
23802 #ifdef HAVE_COMPLEX_H
23803 #include <complex.h>
23804 #endif
23805 #ifdef HAVE_MATH_H
23806 #include <math.h>
23807 #endif
23809 int (*ptr)() = (int (*)())trunc;
23812 main ()
23814 return 0;
23817 _ACEOF
23818 if ac_fn_c_try_link "$LINENO"; then :
23819 gcc_cv_math_func_trunc=yes
23820 else
23821 gcc_cv_math_func_trunc=no
23823 rm -f core conftest.err conftest.$ac_objext \
23824 conftest$ac_exeext conftest.$ac_ext
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23827 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23828 if test $gcc_cv_math_func_trunc = yes; then
23830 cat >>confdefs.h <<_ACEOF
23831 #define HAVE_TRUNC 1
23832 _ACEOF
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23840 $as_echo_n "checking for truncl... " >&6; }
23841 if ${gcc_cv_math_func_truncl+:} false; then :
23842 $as_echo_n "(cached) " >&6
23843 else
23844 if test x$gcc_no_link = xyes; then
23845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23848 /* end confdefs.h. */
23850 #ifdef HAVE_COMPLEX_H
23851 #include <complex.h>
23852 #endif
23853 #ifdef HAVE_MATH_H
23854 #include <math.h>
23855 #endif
23857 int (*ptr)() = (int (*)())truncl;
23860 main ()
23862 return 0;
23865 _ACEOF
23866 if ac_fn_c_try_link "$LINENO"; then :
23867 gcc_cv_math_func_truncl=yes
23868 else
23869 gcc_cv_math_func_truncl=no
23871 rm -f core conftest.err conftest.$ac_objext \
23872 conftest$ac_exeext conftest.$ac_ext
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23875 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23876 if test $gcc_cv_math_func_truncl = yes; then
23878 cat >>confdefs.h <<_ACEOF
23879 #define HAVE_TRUNCL 1
23880 _ACEOF
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23888 $as_echo_n "checking for erff... " >&6; }
23889 if ${gcc_cv_math_func_erff+:} false; then :
23890 $as_echo_n "(cached) " >&6
23891 else
23892 if test x$gcc_no_link = xyes; then
23893 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h. */
23898 #ifdef HAVE_COMPLEX_H
23899 #include <complex.h>
23900 #endif
23901 #ifdef HAVE_MATH_H
23902 #include <math.h>
23903 #endif
23905 int (*ptr)() = (int (*)())erff;
23908 main ()
23910 return 0;
23913 _ACEOF
23914 if ac_fn_c_try_link "$LINENO"; then :
23915 gcc_cv_math_func_erff=yes
23916 else
23917 gcc_cv_math_func_erff=no
23919 rm -f core conftest.err conftest.$ac_objext \
23920 conftest$ac_exeext conftest.$ac_ext
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23923 $as_echo "$gcc_cv_math_func_erff" >&6; }
23924 if test $gcc_cv_math_func_erff = yes; then
23926 cat >>confdefs.h <<_ACEOF
23927 #define HAVE_ERFF 1
23928 _ACEOF
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23936 $as_echo_n "checking for erf... " >&6; }
23937 if ${gcc_cv_math_func_erf+:} false; then :
23938 $as_echo_n "(cached) " >&6
23939 else
23940 if test x$gcc_no_link = xyes; then
23941 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23944 /* end confdefs.h. */
23946 #ifdef HAVE_COMPLEX_H
23947 #include <complex.h>
23948 #endif
23949 #ifdef HAVE_MATH_H
23950 #include <math.h>
23951 #endif
23953 int (*ptr)() = (int (*)())erf;
23956 main ()
23958 return 0;
23961 _ACEOF
23962 if ac_fn_c_try_link "$LINENO"; then :
23963 gcc_cv_math_func_erf=yes
23964 else
23965 gcc_cv_math_func_erf=no
23967 rm -f core conftest.err conftest.$ac_objext \
23968 conftest$ac_exeext conftest.$ac_ext
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23971 $as_echo "$gcc_cv_math_func_erf" >&6; }
23972 if test $gcc_cv_math_func_erf = yes; then
23974 cat >>confdefs.h <<_ACEOF
23975 #define HAVE_ERF 1
23976 _ACEOF
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23984 $as_echo_n "checking for erfcf... " >&6; }
23985 if ${gcc_cv_math_func_erfcf+:} false; then :
23986 $as_echo_n "(cached) " >&6
23987 else
23988 if test x$gcc_no_link = xyes; then
23989 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23992 /* end confdefs.h. */
23994 #ifdef HAVE_COMPLEX_H
23995 #include <complex.h>
23996 #endif
23997 #ifdef HAVE_MATH_H
23998 #include <math.h>
23999 #endif
24001 int (*ptr)() = (int (*)())erfcf;
24004 main ()
24006 return 0;
24009 _ACEOF
24010 if ac_fn_c_try_link "$LINENO"; then :
24011 gcc_cv_math_func_erfcf=yes
24012 else
24013 gcc_cv_math_func_erfcf=no
24015 rm -f core conftest.err conftest.$ac_objext \
24016 conftest$ac_exeext conftest.$ac_ext
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24019 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24020 if test $gcc_cv_math_func_erfcf = yes; then
24022 cat >>confdefs.h <<_ACEOF
24023 #define HAVE_ERFCF 1
24024 _ACEOF
24031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24032 $as_echo_n "checking for erfc... " >&6; }
24033 if ${gcc_cv_math_func_erfc+:} false; then :
24034 $as_echo_n "(cached) " >&6
24035 else
24036 if test x$gcc_no_link = xyes; then
24037 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24040 /* end confdefs.h. */
24042 #ifdef HAVE_COMPLEX_H
24043 #include <complex.h>
24044 #endif
24045 #ifdef HAVE_MATH_H
24046 #include <math.h>
24047 #endif
24049 int (*ptr)() = (int (*)())erfc;
24052 main ()
24054 return 0;
24057 _ACEOF
24058 if ac_fn_c_try_link "$LINENO"; then :
24059 gcc_cv_math_func_erfc=yes
24060 else
24061 gcc_cv_math_func_erfc=no
24063 rm -f core conftest.err conftest.$ac_objext \
24064 conftest$ac_exeext conftest.$ac_ext
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24067 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24068 if test $gcc_cv_math_func_erfc = yes; then
24070 cat >>confdefs.h <<_ACEOF
24071 #define HAVE_ERFC 1
24072 _ACEOF
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24080 $as_echo_n "checking for erfcl... " >&6; }
24081 if ${gcc_cv_math_func_erfcl+:} false; then :
24082 $as_echo_n "(cached) " >&6
24083 else
24084 if test x$gcc_no_link = xyes; then
24085 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24088 /* end confdefs.h. */
24090 #ifdef HAVE_COMPLEX_H
24091 #include <complex.h>
24092 #endif
24093 #ifdef HAVE_MATH_H
24094 #include <math.h>
24095 #endif
24097 int (*ptr)() = (int (*)())erfcl;
24100 main ()
24102 return 0;
24105 _ACEOF
24106 if ac_fn_c_try_link "$LINENO"; then :
24107 gcc_cv_math_func_erfcl=yes
24108 else
24109 gcc_cv_math_func_erfcl=no
24111 rm -f core conftest.err conftest.$ac_objext \
24112 conftest$ac_exeext conftest.$ac_ext
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24115 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24116 if test $gcc_cv_math_func_erfcl = yes; then
24118 cat >>confdefs.h <<_ACEOF
24119 #define HAVE_ERFCL 1
24120 _ACEOF
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24128 $as_echo_n "checking for j0f... " >&6; }
24129 if ${gcc_cv_math_func_j0f+:} false; then :
24130 $as_echo_n "(cached) " >&6
24131 else
24132 if test x$gcc_no_link = xyes; then
24133 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24136 /* end confdefs.h. */
24138 #ifdef HAVE_COMPLEX_H
24139 #include <complex.h>
24140 #endif
24141 #ifdef HAVE_MATH_H
24142 #include <math.h>
24143 #endif
24145 int (*ptr)() = (int (*)())j0f;
24148 main ()
24150 return 0;
24153 _ACEOF
24154 if ac_fn_c_try_link "$LINENO"; then :
24155 gcc_cv_math_func_j0f=yes
24156 else
24157 gcc_cv_math_func_j0f=no
24159 rm -f core conftest.err conftest.$ac_objext \
24160 conftest$ac_exeext conftest.$ac_ext
24162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24163 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24164 if test $gcc_cv_math_func_j0f = yes; then
24166 cat >>confdefs.h <<_ACEOF
24167 #define HAVE_J0F 1
24168 _ACEOF
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24176 $as_echo_n "checking for j0... " >&6; }
24177 if ${gcc_cv_math_func_j0+:} false; then :
24178 $as_echo_n "(cached) " >&6
24179 else
24180 if test x$gcc_no_link = xyes; then
24181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24184 /* end confdefs.h. */
24186 #ifdef HAVE_COMPLEX_H
24187 #include <complex.h>
24188 #endif
24189 #ifdef HAVE_MATH_H
24190 #include <math.h>
24191 #endif
24193 int (*ptr)() = (int (*)())j0;
24196 main ()
24198 return 0;
24201 _ACEOF
24202 if ac_fn_c_try_link "$LINENO"; then :
24203 gcc_cv_math_func_j0=yes
24204 else
24205 gcc_cv_math_func_j0=no
24207 rm -f core conftest.err conftest.$ac_objext \
24208 conftest$ac_exeext conftest.$ac_ext
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24211 $as_echo "$gcc_cv_math_func_j0" >&6; }
24212 if test $gcc_cv_math_func_j0 = yes; then
24214 cat >>confdefs.h <<_ACEOF
24215 #define HAVE_J0 1
24216 _ACEOF
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24224 $as_echo_n "checking for j1f... " >&6; }
24225 if ${gcc_cv_math_func_j1f+:} false; then :
24226 $as_echo_n "(cached) " >&6
24227 else
24228 if test x$gcc_no_link = xyes; then
24229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24232 /* end confdefs.h. */
24234 #ifdef HAVE_COMPLEX_H
24235 #include <complex.h>
24236 #endif
24237 #ifdef HAVE_MATH_H
24238 #include <math.h>
24239 #endif
24241 int (*ptr)() = (int (*)())j1f;
24244 main ()
24246 return 0;
24249 _ACEOF
24250 if ac_fn_c_try_link "$LINENO"; then :
24251 gcc_cv_math_func_j1f=yes
24252 else
24253 gcc_cv_math_func_j1f=no
24255 rm -f core conftest.err conftest.$ac_objext \
24256 conftest$ac_exeext conftest.$ac_ext
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24259 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24260 if test $gcc_cv_math_func_j1f = yes; then
24262 cat >>confdefs.h <<_ACEOF
24263 #define HAVE_J1F 1
24264 _ACEOF
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24272 $as_echo_n "checking for j1... " >&6; }
24273 if ${gcc_cv_math_func_j1+:} false; then :
24274 $as_echo_n "(cached) " >&6
24275 else
24276 if test x$gcc_no_link = xyes; then
24277 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24280 /* end confdefs.h. */
24282 #ifdef HAVE_COMPLEX_H
24283 #include <complex.h>
24284 #endif
24285 #ifdef HAVE_MATH_H
24286 #include <math.h>
24287 #endif
24289 int (*ptr)() = (int (*)())j1;
24292 main ()
24294 return 0;
24297 _ACEOF
24298 if ac_fn_c_try_link "$LINENO"; then :
24299 gcc_cv_math_func_j1=yes
24300 else
24301 gcc_cv_math_func_j1=no
24303 rm -f core conftest.err conftest.$ac_objext \
24304 conftest$ac_exeext conftest.$ac_ext
24306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24307 $as_echo "$gcc_cv_math_func_j1" >&6; }
24308 if test $gcc_cv_math_func_j1 = yes; then
24310 cat >>confdefs.h <<_ACEOF
24311 #define HAVE_J1 1
24312 _ACEOF
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24320 $as_echo_n "checking for jnf... " >&6; }
24321 if ${gcc_cv_math_func_jnf+:} false; then :
24322 $as_echo_n "(cached) " >&6
24323 else
24324 if test x$gcc_no_link = xyes; then
24325 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24328 /* end confdefs.h. */
24330 #ifdef HAVE_COMPLEX_H
24331 #include <complex.h>
24332 #endif
24333 #ifdef HAVE_MATH_H
24334 #include <math.h>
24335 #endif
24337 int (*ptr)() = (int (*)())jnf;
24340 main ()
24342 return 0;
24345 _ACEOF
24346 if ac_fn_c_try_link "$LINENO"; then :
24347 gcc_cv_math_func_jnf=yes
24348 else
24349 gcc_cv_math_func_jnf=no
24351 rm -f core conftest.err conftest.$ac_objext \
24352 conftest$ac_exeext conftest.$ac_ext
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24355 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24356 if test $gcc_cv_math_func_jnf = yes; then
24358 cat >>confdefs.h <<_ACEOF
24359 #define HAVE_JNF 1
24360 _ACEOF
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24368 $as_echo_n "checking for jn... " >&6; }
24369 if ${gcc_cv_math_func_jn+:} false; then :
24370 $as_echo_n "(cached) " >&6
24371 else
24372 if test x$gcc_no_link = xyes; then
24373 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24376 /* end confdefs.h. */
24378 #ifdef HAVE_COMPLEX_H
24379 #include <complex.h>
24380 #endif
24381 #ifdef HAVE_MATH_H
24382 #include <math.h>
24383 #endif
24385 int (*ptr)() = (int (*)())jn;
24388 main ()
24390 return 0;
24393 _ACEOF
24394 if ac_fn_c_try_link "$LINENO"; then :
24395 gcc_cv_math_func_jn=yes
24396 else
24397 gcc_cv_math_func_jn=no
24399 rm -f core conftest.err conftest.$ac_objext \
24400 conftest$ac_exeext conftest.$ac_ext
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24403 $as_echo "$gcc_cv_math_func_jn" >&6; }
24404 if test $gcc_cv_math_func_jn = yes; then
24406 cat >>confdefs.h <<_ACEOF
24407 #define HAVE_JN 1
24408 _ACEOF
24415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24416 $as_echo_n "checking for jnl... " >&6; }
24417 if ${gcc_cv_math_func_jnl+:} false; then :
24418 $as_echo_n "(cached) " >&6
24419 else
24420 if test x$gcc_no_link = xyes; then
24421 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h. */
24426 #ifdef HAVE_COMPLEX_H
24427 #include <complex.h>
24428 #endif
24429 #ifdef HAVE_MATH_H
24430 #include <math.h>
24431 #endif
24433 int (*ptr)() = (int (*)())jnl;
24436 main ()
24438 return 0;
24441 _ACEOF
24442 if ac_fn_c_try_link "$LINENO"; then :
24443 gcc_cv_math_func_jnl=yes
24444 else
24445 gcc_cv_math_func_jnl=no
24447 rm -f core conftest.err conftest.$ac_objext \
24448 conftest$ac_exeext conftest.$ac_ext
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24451 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24452 if test $gcc_cv_math_func_jnl = yes; then
24454 cat >>confdefs.h <<_ACEOF
24455 #define HAVE_JNL 1
24456 _ACEOF
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24464 $as_echo_n "checking for y0f... " >&6; }
24465 if ${gcc_cv_math_func_y0f+:} false; then :
24466 $as_echo_n "(cached) " >&6
24467 else
24468 if test x$gcc_no_link = xyes; then
24469 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24472 /* end confdefs.h. */
24474 #ifdef HAVE_COMPLEX_H
24475 #include <complex.h>
24476 #endif
24477 #ifdef HAVE_MATH_H
24478 #include <math.h>
24479 #endif
24481 int (*ptr)() = (int (*)())y0f;
24484 main ()
24486 return 0;
24489 _ACEOF
24490 if ac_fn_c_try_link "$LINENO"; then :
24491 gcc_cv_math_func_y0f=yes
24492 else
24493 gcc_cv_math_func_y0f=no
24495 rm -f core conftest.err conftest.$ac_objext \
24496 conftest$ac_exeext conftest.$ac_ext
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24499 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24500 if test $gcc_cv_math_func_y0f = yes; then
24502 cat >>confdefs.h <<_ACEOF
24503 #define HAVE_Y0F 1
24504 _ACEOF
24511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24512 $as_echo_n "checking for y0... " >&6; }
24513 if ${gcc_cv_math_func_y0+:} false; then :
24514 $as_echo_n "(cached) " >&6
24515 else
24516 if test x$gcc_no_link = xyes; then
24517 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24520 /* end confdefs.h. */
24522 #ifdef HAVE_COMPLEX_H
24523 #include <complex.h>
24524 #endif
24525 #ifdef HAVE_MATH_H
24526 #include <math.h>
24527 #endif
24529 int (*ptr)() = (int (*)())y0;
24532 main ()
24534 return 0;
24537 _ACEOF
24538 if ac_fn_c_try_link "$LINENO"; then :
24539 gcc_cv_math_func_y0=yes
24540 else
24541 gcc_cv_math_func_y0=no
24543 rm -f core conftest.err conftest.$ac_objext \
24544 conftest$ac_exeext conftest.$ac_ext
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24547 $as_echo "$gcc_cv_math_func_y0" >&6; }
24548 if test $gcc_cv_math_func_y0 = yes; then
24550 cat >>confdefs.h <<_ACEOF
24551 #define HAVE_Y0 1
24552 _ACEOF
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24560 $as_echo_n "checking for y1f... " >&6; }
24561 if ${gcc_cv_math_func_y1f+:} false; then :
24562 $as_echo_n "(cached) " >&6
24563 else
24564 if test x$gcc_no_link = xyes; then
24565 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24568 /* end confdefs.h. */
24570 #ifdef HAVE_COMPLEX_H
24571 #include <complex.h>
24572 #endif
24573 #ifdef HAVE_MATH_H
24574 #include <math.h>
24575 #endif
24577 int (*ptr)() = (int (*)())y1f;
24580 main ()
24582 return 0;
24585 _ACEOF
24586 if ac_fn_c_try_link "$LINENO"; then :
24587 gcc_cv_math_func_y1f=yes
24588 else
24589 gcc_cv_math_func_y1f=no
24591 rm -f core conftest.err conftest.$ac_objext \
24592 conftest$ac_exeext conftest.$ac_ext
24594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24595 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24596 if test $gcc_cv_math_func_y1f = yes; then
24598 cat >>confdefs.h <<_ACEOF
24599 #define HAVE_Y1F 1
24600 _ACEOF
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24608 $as_echo_n "checking for y1... " >&6; }
24609 if ${gcc_cv_math_func_y1+:} false; then :
24610 $as_echo_n "(cached) " >&6
24611 else
24612 if test x$gcc_no_link = xyes; then
24613 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24616 /* end confdefs.h. */
24618 #ifdef HAVE_COMPLEX_H
24619 #include <complex.h>
24620 #endif
24621 #ifdef HAVE_MATH_H
24622 #include <math.h>
24623 #endif
24625 int (*ptr)() = (int (*)())y1;
24628 main ()
24630 return 0;
24633 _ACEOF
24634 if ac_fn_c_try_link "$LINENO"; then :
24635 gcc_cv_math_func_y1=yes
24636 else
24637 gcc_cv_math_func_y1=no
24639 rm -f core conftest.err conftest.$ac_objext \
24640 conftest$ac_exeext conftest.$ac_ext
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24643 $as_echo "$gcc_cv_math_func_y1" >&6; }
24644 if test $gcc_cv_math_func_y1 = yes; then
24646 cat >>confdefs.h <<_ACEOF
24647 #define HAVE_Y1 1
24648 _ACEOF
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24656 $as_echo_n "checking for ynf... " >&6; }
24657 if ${gcc_cv_math_func_ynf+:} false; then :
24658 $as_echo_n "(cached) " >&6
24659 else
24660 if test x$gcc_no_link = xyes; then
24661 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24666 #ifdef HAVE_COMPLEX_H
24667 #include <complex.h>
24668 #endif
24669 #ifdef HAVE_MATH_H
24670 #include <math.h>
24671 #endif
24673 int (*ptr)() = (int (*)())ynf;
24676 main ()
24678 return 0;
24681 _ACEOF
24682 if ac_fn_c_try_link "$LINENO"; then :
24683 gcc_cv_math_func_ynf=yes
24684 else
24685 gcc_cv_math_func_ynf=no
24687 rm -f core conftest.err conftest.$ac_objext \
24688 conftest$ac_exeext conftest.$ac_ext
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24691 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24692 if test $gcc_cv_math_func_ynf = yes; then
24694 cat >>confdefs.h <<_ACEOF
24695 #define HAVE_YNF 1
24696 _ACEOF
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24704 $as_echo_n "checking for yn... " >&6; }
24705 if ${gcc_cv_math_func_yn+:} false; then :
24706 $as_echo_n "(cached) " >&6
24707 else
24708 if test x$gcc_no_link = xyes; then
24709 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h. */
24714 #ifdef HAVE_COMPLEX_H
24715 #include <complex.h>
24716 #endif
24717 #ifdef HAVE_MATH_H
24718 #include <math.h>
24719 #endif
24721 int (*ptr)() = (int (*)())yn;
24724 main ()
24726 return 0;
24729 _ACEOF
24730 if ac_fn_c_try_link "$LINENO"; then :
24731 gcc_cv_math_func_yn=yes
24732 else
24733 gcc_cv_math_func_yn=no
24735 rm -f core conftest.err conftest.$ac_objext \
24736 conftest$ac_exeext conftest.$ac_ext
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24739 $as_echo "$gcc_cv_math_func_yn" >&6; }
24740 if test $gcc_cv_math_func_yn = yes; then
24742 cat >>confdefs.h <<_ACEOF
24743 #define HAVE_YN 1
24744 _ACEOF
24751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24752 $as_echo_n "checking for ynl... " >&6; }
24753 if ${gcc_cv_math_func_ynl+:} false; then :
24754 $as_echo_n "(cached) " >&6
24755 else
24756 if test x$gcc_no_link = xyes; then
24757 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24760 /* end confdefs.h. */
24762 #ifdef HAVE_COMPLEX_H
24763 #include <complex.h>
24764 #endif
24765 #ifdef HAVE_MATH_H
24766 #include <math.h>
24767 #endif
24769 int (*ptr)() = (int (*)())ynl;
24772 main ()
24774 return 0;
24777 _ACEOF
24778 if ac_fn_c_try_link "$LINENO"; then :
24779 gcc_cv_math_func_ynl=yes
24780 else
24781 gcc_cv_math_func_ynl=no
24783 rm -f core conftest.err conftest.$ac_objext \
24784 conftest$ac_exeext conftest.$ac_ext
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24787 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24788 if test $gcc_cv_math_func_ynl = yes; then
24790 cat >>confdefs.h <<_ACEOF
24791 #define HAVE_YNL 1
24792 _ACEOF
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24800 $as_echo_n "checking for tgamma... " >&6; }
24801 if ${gcc_cv_math_func_tgamma+:} false; then :
24802 $as_echo_n "(cached) " >&6
24803 else
24804 if test x$gcc_no_link = xyes; then
24805 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24808 /* end confdefs.h. */
24810 #ifdef HAVE_COMPLEX_H
24811 #include <complex.h>
24812 #endif
24813 #ifdef HAVE_MATH_H
24814 #include <math.h>
24815 #endif
24817 int (*ptr)() = (int (*)())tgamma;
24820 main ()
24822 return 0;
24825 _ACEOF
24826 if ac_fn_c_try_link "$LINENO"; then :
24827 gcc_cv_math_func_tgamma=yes
24828 else
24829 gcc_cv_math_func_tgamma=no
24831 rm -f core conftest.err conftest.$ac_objext \
24832 conftest$ac_exeext conftest.$ac_ext
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24835 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24836 if test $gcc_cv_math_func_tgamma = yes; then
24838 cat >>confdefs.h <<_ACEOF
24839 #define HAVE_TGAMMA 1
24840 _ACEOF
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24848 $as_echo_n "checking for tgammaf... " >&6; }
24849 if ${gcc_cv_math_func_tgammaf+:} false; then :
24850 $as_echo_n "(cached) " >&6
24851 else
24852 if test x$gcc_no_link = xyes; then
24853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24856 /* end confdefs.h. */
24858 #ifdef HAVE_COMPLEX_H
24859 #include <complex.h>
24860 #endif
24861 #ifdef HAVE_MATH_H
24862 #include <math.h>
24863 #endif
24865 int (*ptr)() = (int (*)())tgammaf;
24868 main ()
24870 return 0;
24873 _ACEOF
24874 if ac_fn_c_try_link "$LINENO"; then :
24875 gcc_cv_math_func_tgammaf=yes
24876 else
24877 gcc_cv_math_func_tgammaf=no
24879 rm -f core conftest.err conftest.$ac_objext \
24880 conftest$ac_exeext conftest.$ac_ext
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24883 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24884 if test $gcc_cv_math_func_tgammaf = yes; then
24886 cat >>confdefs.h <<_ACEOF
24887 #define HAVE_TGAMMAF 1
24888 _ACEOF
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24896 $as_echo_n "checking for lgamma... " >&6; }
24897 if ${gcc_cv_math_func_lgamma+:} false; then :
24898 $as_echo_n "(cached) " >&6
24899 else
24900 if test x$gcc_no_link = xyes; then
24901 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h. */
24906 #ifdef HAVE_COMPLEX_H
24907 #include <complex.h>
24908 #endif
24909 #ifdef HAVE_MATH_H
24910 #include <math.h>
24911 #endif
24913 int (*ptr)() = (int (*)())lgamma;
24916 main ()
24918 return 0;
24921 _ACEOF
24922 if ac_fn_c_try_link "$LINENO"; then :
24923 gcc_cv_math_func_lgamma=yes
24924 else
24925 gcc_cv_math_func_lgamma=no
24927 rm -f core conftest.err conftest.$ac_objext \
24928 conftest$ac_exeext conftest.$ac_ext
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24931 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24932 if test $gcc_cv_math_func_lgamma = yes; then
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE_LGAMMA 1
24936 _ACEOF
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24944 $as_echo_n "checking for lgammaf... " >&6; }
24945 if ${gcc_cv_math_func_lgammaf+:} false; then :
24946 $as_echo_n "(cached) " >&6
24947 else
24948 if test x$gcc_no_link = xyes; then
24949 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24952 /* end confdefs.h. */
24954 #ifdef HAVE_COMPLEX_H
24955 #include <complex.h>
24956 #endif
24957 #ifdef HAVE_MATH_H
24958 #include <math.h>
24959 #endif
24961 int (*ptr)() = (int (*)())lgammaf;
24964 main ()
24966 return 0;
24969 _ACEOF
24970 if ac_fn_c_try_link "$LINENO"; then :
24971 gcc_cv_math_func_lgammaf=yes
24972 else
24973 gcc_cv_math_func_lgammaf=no
24975 rm -f core conftest.err conftest.$ac_objext \
24976 conftest$ac_exeext conftest.$ac_ext
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24979 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24980 if test $gcc_cv_math_func_lgammaf = yes; then
24982 cat >>confdefs.h <<_ACEOF
24983 #define HAVE_LGAMMAF 1
24984 _ACEOF
24989 # Check for GFORTRAN_C99_1.1 funcs
24993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24994 $as_echo_n "checking for cacos... " >&6; }
24995 if ${gcc_cv_math_func_cacos+:} false; then :
24996 $as_echo_n "(cached) " >&6
24997 else
24998 if test x$gcc_no_link = xyes; then
24999 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25002 /* end confdefs.h. */
25004 #ifdef HAVE_COMPLEX_H
25005 #include <complex.h>
25006 #endif
25007 #ifdef HAVE_MATH_H
25008 #include <math.h>
25009 #endif
25011 int (*ptr)() = (int (*)())cacos;
25014 main ()
25016 return 0;
25019 _ACEOF
25020 if ac_fn_c_try_link "$LINENO"; then :
25021 gcc_cv_math_func_cacos=yes
25022 else
25023 gcc_cv_math_func_cacos=no
25025 rm -f core conftest.err conftest.$ac_objext \
25026 conftest$ac_exeext conftest.$ac_ext
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25029 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25030 if test $gcc_cv_math_func_cacos = yes; then
25032 cat >>confdefs.h <<_ACEOF
25033 #define HAVE_CACOS 1
25034 _ACEOF
25041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25042 $as_echo_n "checking for cacosf... " >&6; }
25043 if ${gcc_cv_math_func_cacosf+:} false; then :
25044 $as_echo_n "(cached) " >&6
25045 else
25046 if test x$gcc_no_link = xyes; then
25047 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25050 /* end confdefs.h. */
25052 #ifdef HAVE_COMPLEX_H
25053 #include <complex.h>
25054 #endif
25055 #ifdef HAVE_MATH_H
25056 #include <math.h>
25057 #endif
25059 int (*ptr)() = (int (*)())cacosf;
25062 main ()
25064 return 0;
25067 _ACEOF
25068 if ac_fn_c_try_link "$LINENO"; then :
25069 gcc_cv_math_func_cacosf=yes
25070 else
25071 gcc_cv_math_func_cacosf=no
25073 rm -f core conftest.err conftest.$ac_objext \
25074 conftest$ac_exeext conftest.$ac_ext
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25077 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25078 if test $gcc_cv_math_func_cacosf = yes; then
25080 cat >>confdefs.h <<_ACEOF
25081 #define HAVE_CACOSF 1
25082 _ACEOF
25089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25090 $as_echo_n "checking for cacosh... " >&6; }
25091 if ${gcc_cv_math_func_cacosh+:} false; then :
25092 $as_echo_n "(cached) " >&6
25093 else
25094 if test x$gcc_no_link = xyes; then
25095 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25098 /* end confdefs.h. */
25100 #ifdef HAVE_COMPLEX_H
25101 #include <complex.h>
25102 #endif
25103 #ifdef HAVE_MATH_H
25104 #include <math.h>
25105 #endif
25107 int (*ptr)() = (int (*)())cacosh;
25110 main ()
25112 return 0;
25115 _ACEOF
25116 if ac_fn_c_try_link "$LINENO"; then :
25117 gcc_cv_math_func_cacosh=yes
25118 else
25119 gcc_cv_math_func_cacosh=no
25121 rm -f core conftest.err conftest.$ac_objext \
25122 conftest$ac_exeext conftest.$ac_ext
25124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25125 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25126 if test $gcc_cv_math_func_cacosh = yes; then
25128 cat >>confdefs.h <<_ACEOF
25129 #define HAVE_CACOSH 1
25130 _ACEOF
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25138 $as_echo_n "checking for cacoshf... " >&6; }
25139 if ${gcc_cv_math_func_cacoshf+:} false; then :
25140 $as_echo_n "(cached) " >&6
25141 else
25142 if test x$gcc_no_link = xyes; then
25143 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25146 /* end confdefs.h. */
25148 #ifdef HAVE_COMPLEX_H
25149 #include <complex.h>
25150 #endif
25151 #ifdef HAVE_MATH_H
25152 #include <math.h>
25153 #endif
25155 int (*ptr)() = (int (*)())cacoshf;
25158 main ()
25160 return 0;
25163 _ACEOF
25164 if ac_fn_c_try_link "$LINENO"; then :
25165 gcc_cv_math_func_cacoshf=yes
25166 else
25167 gcc_cv_math_func_cacoshf=no
25169 rm -f core conftest.err conftest.$ac_objext \
25170 conftest$ac_exeext conftest.$ac_ext
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25173 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25174 if test $gcc_cv_math_func_cacoshf = yes; then
25176 cat >>confdefs.h <<_ACEOF
25177 #define HAVE_CACOSHF 1
25178 _ACEOF
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25186 $as_echo_n "checking for cacoshl... " >&6; }
25187 if ${gcc_cv_math_func_cacoshl+:} false; then :
25188 $as_echo_n "(cached) " >&6
25189 else
25190 if test x$gcc_no_link = xyes; then
25191 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25194 /* end confdefs.h. */
25196 #ifdef HAVE_COMPLEX_H
25197 #include <complex.h>
25198 #endif
25199 #ifdef HAVE_MATH_H
25200 #include <math.h>
25201 #endif
25203 int (*ptr)() = (int (*)())cacoshl;
25206 main ()
25208 return 0;
25211 _ACEOF
25212 if ac_fn_c_try_link "$LINENO"; then :
25213 gcc_cv_math_func_cacoshl=yes
25214 else
25215 gcc_cv_math_func_cacoshl=no
25217 rm -f core conftest.err conftest.$ac_objext \
25218 conftest$ac_exeext conftest.$ac_ext
25220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25221 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25222 if test $gcc_cv_math_func_cacoshl = yes; then
25224 cat >>confdefs.h <<_ACEOF
25225 #define HAVE_CACOSHL 1
25226 _ACEOF
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25234 $as_echo_n "checking for cacosl... " >&6; }
25235 if ${gcc_cv_math_func_cacosl+:} false; then :
25236 $as_echo_n "(cached) " >&6
25237 else
25238 if test x$gcc_no_link = xyes; then
25239 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25242 /* end confdefs.h. */
25244 #ifdef HAVE_COMPLEX_H
25245 #include <complex.h>
25246 #endif
25247 #ifdef HAVE_MATH_H
25248 #include <math.h>
25249 #endif
25251 int (*ptr)() = (int (*)())cacosl;
25254 main ()
25256 return 0;
25259 _ACEOF
25260 if ac_fn_c_try_link "$LINENO"; then :
25261 gcc_cv_math_func_cacosl=yes
25262 else
25263 gcc_cv_math_func_cacosl=no
25265 rm -f core conftest.err conftest.$ac_objext \
25266 conftest$ac_exeext conftest.$ac_ext
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25269 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25270 if test $gcc_cv_math_func_cacosl = yes; then
25272 cat >>confdefs.h <<_ACEOF
25273 #define HAVE_CACOSL 1
25274 _ACEOF
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25282 $as_echo_n "checking for casin... " >&6; }
25283 if ${gcc_cv_math_func_casin+:} false; then :
25284 $as_echo_n "(cached) " >&6
25285 else
25286 if test x$gcc_no_link = xyes; then
25287 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25290 /* end confdefs.h. */
25292 #ifdef HAVE_COMPLEX_H
25293 #include <complex.h>
25294 #endif
25295 #ifdef HAVE_MATH_H
25296 #include <math.h>
25297 #endif
25299 int (*ptr)() = (int (*)())casin;
25302 main ()
25304 return 0;
25307 _ACEOF
25308 if ac_fn_c_try_link "$LINENO"; then :
25309 gcc_cv_math_func_casin=yes
25310 else
25311 gcc_cv_math_func_casin=no
25313 rm -f core conftest.err conftest.$ac_objext \
25314 conftest$ac_exeext conftest.$ac_ext
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25317 $as_echo "$gcc_cv_math_func_casin" >&6; }
25318 if test $gcc_cv_math_func_casin = yes; then
25320 cat >>confdefs.h <<_ACEOF
25321 #define HAVE_CASIN 1
25322 _ACEOF
25329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25330 $as_echo_n "checking for casinf... " >&6; }
25331 if ${gcc_cv_math_func_casinf+:} false; then :
25332 $as_echo_n "(cached) " >&6
25333 else
25334 if test x$gcc_no_link = xyes; then
25335 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25338 /* end confdefs.h. */
25340 #ifdef HAVE_COMPLEX_H
25341 #include <complex.h>
25342 #endif
25343 #ifdef HAVE_MATH_H
25344 #include <math.h>
25345 #endif
25347 int (*ptr)() = (int (*)())casinf;
25350 main ()
25352 return 0;
25355 _ACEOF
25356 if ac_fn_c_try_link "$LINENO"; then :
25357 gcc_cv_math_func_casinf=yes
25358 else
25359 gcc_cv_math_func_casinf=no
25361 rm -f core conftest.err conftest.$ac_objext \
25362 conftest$ac_exeext conftest.$ac_ext
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25365 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25366 if test $gcc_cv_math_func_casinf = yes; then
25368 cat >>confdefs.h <<_ACEOF
25369 #define HAVE_CASINF 1
25370 _ACEOF
25377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25378 $as_echo_n "checking for casinh... " >&6; }
25379 if ${gcc_cv_math_func_casinh+:} false; then :
25380 $as_echo_n "(cached) " >&6
25381 else
25382 if test x$gcc_no_link = xyes; then
25383 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25386 /* end confdefs.h. */
25388 #ifdef HAVE_COMPLEX_H
25389 #include <complex.h>
25390 #endif
25391 #ifdef HAVE_MATH_H
25392 #include <math.h>
25393 #endif
25395 int (*ptr)() = (int (*)())casinh;
25398 main ()
25400 return 0;
25403 _ACEOF
25404 if ac_fn_c_try_link "$LINENO"; then :
25405 gcc_cv_math_func_casinh=yes
25406 else
25407 gcc_cv_math_func_casinh=no
25409 rm -f core conftest.err conftest.$ac_objext \
25410 conftest$ac_exeext conftest.$ac_ext
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25413 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25414 if test $gcc_cv_math_func_casinh = yes; then
25416 cat >>confdefs.h <<_ACEOF
25417 #define HAVE_CASINH 1
25418 _ACEOF
25425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25426 $as_echo_n "checking for casinhf... " >&6; }
25427 if ${gcc_cv_math_func_casinhf+:} false; then :
25428 $as_echo_n "(cached) " >&6
25429 else
25430 if test x$gcc_no_link = xyes; then
25431 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25434 /* end confdefs.h. */
25436 #ifdef HAVE_COMPLEX_H
25437 #include <complex.h>
25438 #endif
25439 #ifdef HAVE_MATH_H
25440 #include <math.h>
25441 #endif
25443 int (*ptr)() = (int (*)())casinhf;
25446 main ()
25448 return 0;
25451 _ACEOF
25452 if ac_fn_c_try_link "$LINENO"; then :
25453 gcc_cv_math_func_casinhf=yes
25454 else
25455 gcc_cv_math_func_casinhf=no
25457 rm -f core conftest.err conftest.$ac_objext \
25458 conftest$ac_exeext conftest.$ac_ext
25460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25461 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25462 if test $gcc_cv_math_func_casinhf = yes; then
25464 cat >>confdefs.h <<_ACEOF
25465 #define HAVE_CASINHF 1
25466 _ACEOF
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25474 $as_echo_n "checking for casinhl... " >&6; }
25475 if ${gcc_cv_math_func_casinhl+:} false; then :
25476 $as_echo_n "(cached) " >&6
25477 else
25478 if test x$gcc_no_link = xyes; then
25479 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25482 /* end confdefs.h. */
25484 #ifdef HAVE_COMPLEX_H
25485 #include <complex.h>
25486 #endif
25487 #ifdef HAVE_MATH_H
25488 #include <math.h>
25489 #endif
25491 int (*ptr)() = (int (*)())casinhl;
25494 main ()
25496 return 0;
25499 _ACEOF
25500 if ac_fn_c_try_link "$LINENO"; then :
25501 gcc_cv_math_func_casinhl=yes
25502 else
25503 gcc_cv_math_func_casinhl=no
25505 rm -f core conftest.err conftest.$ac_objext \
25506 conftest$ac_exeext conftest.$ac_ext
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25509 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25510 if test $gcc_cv_math_func_casinhl = yes; then
25512 cat >>confdefs.h <<_ACEOF
25513 #define HAVE_CASINHL 1
25514 _ACEOF
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25522 $as_echo_n "checking for casinl... " >&6; }
25523 if ${gcc_cv_math_func_casinl+:} false; then :
25524 $as_echo_n "(cached) " >&6
25525 else
25526 if test x$gcc_no_link = xyes; then
25527 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25530 /* end confdefs.h. */
25532 #ifdef HAVE_COMPLEX_H
25533 #include <complex.h>
25534 #endif
25535 #ifdef HAVE_MATH_H
25536 #include <math.h>
25537 #endif
25539 int (*ptr)() = (int (*)())casinl;
25542 main ()
25544 return 0;
25547 _ACEOF
25548 if ac_fn_c_try_link "$LINENO"; then :
25549 gcc_cv_math_func_casinl=yes
25550 else
25551 gcc_cv_math_func_casinl=no
25553 rm -f core conftest.err conftest.$ac_objext \
25554 conftest$ac_exeext conftest.$ac_ext
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25557 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25558 if test $gcc_cv_math_func_casinl = yes; then
25560 cat >>confdefs.h <<_ACEOF
25561 #define HAVE_CASINL 1
25562 _ACEOF
25569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25570 $as_echo_n "checking for catan... " >&6; }
25571 if ${gcc_cv_math_func_catan+:} false; then :
25572 $as_echo_n "(cached) " >&6
25573 else
25574 if test x$gcc_no_link = xyes; then
25575 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25578 /* end confdefs.h. */
25580 #ifdef HAVE_COMPLEX_H
25581 #include <complex.h>
25582 #endif
25583 #ifdef HAVE_MATH_H
25584 #include <math.h>
25585 #endif
25587 int (*ptr)() = (int (*)())catan;
25590 main ()
25592 return 0;
25595 _ACEOF
25596 if ac_fn_c_try_link "$LINENO"; then :
25597 gcc_cv_math_func_catan=yes
25598 else
25599 gcc_cv_math_func_catan=no
25601 rm -f core conftest.err conftest.$ac_objext \
25602 conftest$ac_exeext conftest.$ac_ext
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25605 $as_echo "$gcc_cv_math_func_catan" >&6; }
25606 if test $gcc_cv_math_func_catan = yes; then
25608 cat >>confdefs.h <<_ACEOF
25609 #define HAVE_CATAN 1
25610 _ACEOF
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25618 $as_echo_n "checking for catanf... " >&6; }
25619 if ${gcc_cv_math_func_catanf+:} false; then :
25620 $as_echo_n "(cached) " >&6
25621 else
25622 if test x$gcc_no_link = xyes; then
25623 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25626 /* end confdefs.h. */
25628 #ifdef HAVE_COMPLEX_H
25629 #include <complex.h>
25630 #endif
25631 #ifdef HAVE_MATH_H
25632 #include <math.h>
25633 #endif
25635 int (*ptr)() = (int (*)())catanf;
25638 main ()
25640 return 0;
25643 _ACEOF
25644 if ac_fn_c_try_link "$LINENO"; then :
25645 gcc_cv_math_func_catanf=yes
25646 else
25647 gcc_cv_math_func_catanf=no
25649 rm -f core conftest.err conftest.$ac_objext \
25650 conftest$ac_exeext conftest.$ac_ext
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25653 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25654 if test $gcc_cv_math_func_catanf = yes; then
25656 cat >>confdefs.h <<_ACEOF
25657 #define HAVE_CATANF 1
25658 _ACEOF
25665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25666 $as_echo_n "checking for catanh... " >&6; }
25667 if ${gcc_cv_math_func_catanh+:} false; then :
25668 $as_echo_n "(cached) " >&6
25669 else
25670 if test x$gcc_no_link = xyes; then
25671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25674 /* end confdefs.h. */
25676 #ifdef HAVE_COMPLEX_H
25677 #include <complex.h>
25678 #endif
25679 #ifdef HAVE_MATH_H
25680 #include <math.h>
25681 #endif
25683 int (*ptr)() = (int (*)())catanh;
25686 main ()
25688 return 0;
25691 _ACEOF
25692 if ac_fn_c_try_link "$LINENO"; then :
25693 gcc_cv_math_func_catanh=yes
25694 else
25695 gcc_cv_math_func_catanh=no
25697 rm -f core conftest.err conftest.$ac_objext \
25698 conftest$ac_exeext conftest.$ac_ext
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25701 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25702 if test $gcc_cv_math_func_catanh = yes; then
25704 cat >>confdefs.h <<_ACEOF
25705 #define HAVE_CATANH 1
25706 _ACEOF
25713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25714 $as_echo_n "checking for catanhf... " >&6; }
25715 if ${gcc_cv_math_func_catanhf+:} false; then :
25716 $as_echo_n "(cached) " >&6
25717 else
25718 if test x$gcc_no_link = xyes; then
25719 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25722 /* end confdefs.h. */
25724 #ifdef HAVE_COMPLEX_H
25725 #include <complex.h>
25726 #endif
25727 #ifdef HAVE_MATH_H
25728 #include <math.h>
25729 #endif
25731 int (*ptr)() = (int (*)())catanhf;
25734 main ()
25736 return 0;
25739 _ACEOF
25740 if ac_fn_c_try_link "$LINENO"; then :
25741 gcc_cv_math_func_catanhf=yes
25742 else
25743 gcc_cv_math_func_catanhf=no
25745 rm -f core conftest.err conftest.$ac_objext \
25746 conftest$ac_exeext conftest.$ac_ext
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25749 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25750 if test $gcc_cv_math_func_catanhf = yes; then
25752 cat >>confdefs.h <<_ACEOF
25753 #define HAVE_CATANHF 1
25754 _ACEOF
25761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25762 $as_echo_n "checking for catanhl... " >&6; }
25763 if ${gcc_cv_math_func_catanhl+:} false; then :
25764 $as_echo_n "(cached) " >&6
25765 else
25766 if test x$gcc_no_link = xyes; then
25767 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25770 /* end confdefs.h. */
25772 #ifdef HAVE_COMPLEX_H
25773 #include <complex.h>
25774 #endif
25775 #ifdef HAVE_MATH_H
25776 #include <math.h>
25777 #endif
25779 int (*ptr)() = (int (*)())catanhl;
25782 main ()
25784 return 0;
25787 _ACEOF
25788 if ac_fn_c_try_link "$LINENO"; then :
25789 gcc_cv_math_func_catanhl=yes
25790 else
25791 gcc_cv_math_func_catanhl=no
25793 rm -f core conftest.err conftest.$ac_objext \
25794 conftest$ac_exeext conftest.$ac_ext
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25797 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25798 if test $gcc_cv_math_func_catanhl = yes; then
25800 cat >>confdefs.h <<_ACEOF
25801 #define HAVE_CATANHL 1
25802 _ACEOF
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25810 $as_echo_n "checking for catanl... " >&6; }
25811 if ${gcc_cv_math_func_catanl+:} false; then :
25812 $as_echo_n "(cached) " >&6
25813 else
25814 if test x$gcc_no_link = xyes; then
25815 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h. */
25820 #ifdef HAVE_COMPLEX_H
25821 #include <complex.h>
25822 #endif
25823 #ifdef HAVE_MATH_H
25824 #include <math.h>
25825 #endif
25827 int (*ptr)() = (int (*)())catanl;
25830 main ()
25832 return 0;
25835 _ACEOF
25836 if ac_fn_c_try_link "$LINENO"; then :
25837 gcc_cv_math_func_catanl=yes
25838 else
25839 gcc_cv_math_func_catanl=no
25841 rm -f core conftest.err conftest.$ac_objext \
25842 conftest$ac_exeext conftest.$ac_ext
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25845 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25846 if test $gcc_cv_math_func_catanl = yes; then
25848 cat >>confdefs.h <<_ACEOF
25849 #define HAVE_CATANL 1
25850 _ACEOF
25855 # For POWER, check the ieee128 math functions
25857 if test "x$have_real_17" = "xyes"; then
25859 cat >>confdefs.h <<_ACEOF
25860 #define HAVE_REAL_17 1
25861 _ACEOF
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25868 $as_echo_n "checking for __acoshieee128... " >&6; }
25869 if ${gcc_cv_math_func___acoshieee128+:} false; then :
25870 $as_echo_n "(cached) " >&6
25871 else
25872 if test x$gcc_no_link = xyes; then
25873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h. */
25878 _Float128 __acoshieee128 (_Float128);
25879 _Float128 (*ptr)(_Float128) = __acoshieee128;
25882 main ()
25884 return 0;
25887 _ACEOF
25888 if ac_fn_c_try_link "$LINENO"; then :
25889 gcc_cv_math_func___acoshieee128=yes
25890 else
25891 gcc_cv_math_func___acoshieee128=no
25893 rm -f core conftest.err conftest.$ac_objext \
25894 conftest$ac_exeext conftest.$ac_ext
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25897 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25898 if test $gcc_cv_math_func___acoshieee128 = yes; then
25900 cat >>confdefs.h <<_ACEOF
25901 #define HAVE___ACOSHIEEE128 1
25902 _ACEOF
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25910 $as_echo_n "checking for __acosieee128... " >&6; }
25911 if ${gcc_cv_math_func___acosieee128+:} false; then :
25912 $as_echo_n "(cached) " >&6
25913 else
25914 if test x$gcc_no_link = xyes; then
25915 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25918 /* end confdefs.h. */
25920 _Float128 __acosieee128 (_Float128);
25921 _Float128 (*ptr)(_Float128) = __acosieee128;
25924 main ()
25926 return 0;
25929 _ACEOF
25930 if ac_fn_c_try_link "$LINENO"; then :
25931 gcc_cv_math_func___acosieee128=yes
25932 else
25933 gcc_cv_math_func___acosieee128=no
25935 rm -f core conftest.err conftest.$ac_objext \
25936 conftest$ac_exeext conftest.$ac_ext
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25939 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25940 if test $gcc_cv_math_func___acosieee128 = yes; then
25942 cat >>confdefs.h <<_ACEOF
25943 #define HAVE___ACOSIEEE128 1
25944 _ACEOF
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25952 $as_echo_n "checking for __asinhieee128... " >&6; }
25953 if ${gcc_cv_math_func___asinhieee128+:} false; then :
25954 $as_echo_n "(cached) " >&6
25955 else
25956 if test x$gcc_no_link = xyes; then
25957 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25960 /* end confdefs.h. */
25962 _Float128 __asinhieee128 (_Float128);
25963 _Float128 (*ptr)(_Float128) = __asinhieee128;
25966 main ()
25968 return 0;
25971 _ACEOF
25972 if ac_fn_c_try_link "$LINENO"; then :
25973 gcc_cv_math_func___asinhieee128=yes
25974 else
25975 gcc_cv_math_func___asinhieee128=no
25977 rm -f core conftest.err conftest.$ac_objext \
25978 conftest$ac_exeext conftest.$ac_ext
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
25981 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
25982 if test $gcc_cv_math_func___asinhieee128 = yes; then
25984 cat >>confdefs.h <<_ACEOF
25985 #define HAVE___ASINHIEEE128 1
25986 _ACEOF
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
25994 $as_echo_n "checking for __asinieee128... " >&6; }
25995 if ${gcc_cv_math_func___asinieee128+:} false; then :
25996 $as_echo_n "(cached) " >&6
25997 else
25998 if test x$gcc_no_link = xyes; then
25999 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26004 _Float128 __asinieee128 (_Float128);
26005 _Float128 (*ptr)(_Float128) = __asinieee128;
26008 main ()
26010 return 0;
26013 _ACEOF
26014 if ac_fn_c_try_link "$LINENO"; then :
26015 gcc_cv_math_func___asinieee128=yes
26016 else
26017 gcc_cv_math_func___asinieee128=no
26019 rm -f core conftest.err conftest.$ac_objext \
26020 conftest$ac_exeext conftest.$ac_ext
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26023 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26024 if test $gcc_cv_math_func___asinieee128 = yes; then
26026 cat >>confdefs.h <<_ACEOF
26027 #define HAVE___ASINIEEE128 1
26028 _ACEOF
26035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26036 $as_echo_n "checking for __atan2ieee128... " >&6; }
26037 if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26038 $as_echo_n "(cached) " >&6
26039 else
26040 if test x$gcc_no_link = xyes; then
26041 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26044 /* end confdefs.h. */
26046 _Float128 __atan2ieee128 (_Float128);
26047 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26050 main ()
26052 return 0;
26055 _ACEOF
26056 if ac_fn_c_try_link "$LINENO"; then :
26057 gcc_cv_math_func___atan2ieee128=yes
26058 else
26059 gcc_cv_math_func___atan2ieee128=no
26061 rm -f core conftest.err conftest.$ac_objext \
26062 conftest$ac_exeext conftest.$ac_ext
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26065 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26066 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26068 cat >>confdefs.h <<_ACEOF
26069 #define HAVE___ATAN2IEEE128 1
26070 _ACEOF
26077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26078 $as_echo_n "checking for __atanhieee128... " >&6; }
26079 if ${gcc_cv_math_func___atanhieee128+:} false; then :
26080 $as_echo_n "(cached) " >&6
26081 else
26082 if test x$gcc_no_link = xyes; then
26083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26086 /* end confdefs.h. */
26088 _Float128 __atanhieee128 (_Float128);
26089 _Float128 (*ptr)(_Float128) = __atanhieee128;
26092 main ()
26094 return 0;
26097 _ACEOF
26098 if ac_fn_c_try_link "$LINENO"; then :
26099 gcc_cv_math_func___atanhieee128=yes
26100 else
26101 gcc_cv_math_func___atanhieee128=no
26103 rm -f core conftest.err conftest.$ac_objext \
26104 conftest$ac_exeext conftest.$ac_ext
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26107 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26108 if test $gcc_cv_math_func___atanhieee128 = yes; then
26110 cat >>confdefs.h <<_ACEOF
26111 #define HAVE___ATANHIEEE128 1
26112 _ACEOF
26119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26120 $as_echo_n "checking for __atanieee128... " >&6; }
26121 if ${gcc_cv_math_func___atanieee128+:} false; then :
26122 $as_echo_n "(cached) " >&6
26123 else
26124 if test x$gcc_no_link = xyes; then
26125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26128 /* end confdefs.h. */
26130 _Float128 __atanieee128 (_Float128);
26131 _Float128 (*ptr)(_Float128) = __atanieee128;
26134 main ()
26136 return 0;
26139 _ACEOF
26140 if ac_fn_c_try_link "$LINENO"; then :
26141 gcc_cv_math_func___atanieee128=yes
26142 else
26143 gcc_cv_math_func___atanieee128=no
26145 rm -f core conftest.err conftest.$ac_objext \
26146 conftest$ac_exeext conftest.$ac_ext
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26149 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26150 if test $gcc_cv_math_func___atanieee128 = yes; then
26152 cat >>confdefs.h <<_ACEOF
26153 #define HAVE___ATANIEEE128 1
26154 _ACEOF
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26162 $as_echo_n "checking for __coshieee128... " >&6; }
26163 if ${gcc_cv_math_func___coshieee128+:} false; then :
26164 $as_echo_n "(cached) " >&6
26165 else
26166 if test x$gcc_no_link = xyes; then
26167 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26170 /* end confdefs.h. */
26172 _Float128 __coshieee128 (_Float128);
26173 _Float128 (*ptr)(_Float128) = __coshieee128;
26176 main ()
26178 return 0;
26181 _ACEOF
26182 if ac_fn_c_try_link "$LINENO"; then :
26183 gcc_cv_math_func___coshieee128=yes
26184 else
26185 gcc_cv_math_func___coshieee128=no
26187 rm -f core conftest.err conftest.$ac_objext \
26188 conftest$ac_exeext conftest.$ac_ext
26190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26191 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26192 if test $gcc_cv_math_func___coshieee128 = yes; then
26194 cat >>confdefs.h <<_ACEOF
26195 #define HAVE___COSHIEEE128 1
26196 _ACEOF
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26204 $as_echo_n "checking for __cosieee128... " >&6; }
26205 if ${gcc_cv_math_func___cosieee128+:} false; then :
26206 $as_echo_n "(cached) " >&6
26207 else
26208 if test x$gcc_no_link = xyes; then
26209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26212 /* end confdefs.h. */
26214 _Float128 __cosieee128 (_Float128);
26215 _Float128 (*ptr)(_Float128) = __cosieee128;
26218 main ()
26220 return 0;
26223 _ACEOF
26224 if ac_fn_c_try_link "$LINENO"; then :
26225 gcc_cv_math_func___cosieee128=yes
26226 else
26227 gcc_cv_math_func___cosieee128=no
26229 rm -f core conftest.err conftest.$ac_objext \
26230 conftest$ac_exeext conftest.$ac_ext
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26233 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26234 if test $gcc_cv_math_func___cosieee128 = yes; then
26236 cat >>confdefs.h <<_ACEOF
26237 #define HAVE___COSIEEE128 1
26238 _ACEOF
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26246 $as_echo_n "checking for __erfieee128... " >&6; }
26247 if ${gcc_cv_math_func___erfieee128+:} false; then :
26248 $as_echo_n "(cached) " >&6
26249 else
26250 if test x$gcc_no_link = xyes; then
26251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26254 /* end confdefs.h. */
26256 _Float128 __erfieee128 (_Float128);
26257 _Float128 (*ptr)(_Float128) = __erfieee128;
26260 main ()
26262 return 0;
26265 _ACEOF
26266 if ac_fn_c_try_link "$LINENO"; then :
26267 gcc_cv_math_func___erfieee128=yes
26268 else
26269 gcc_cv_math_func___erfieee128=no
26271 rm -f core conftest.err conftest.$ac_objext \
26272 conftest$ac_exeext conftest.$ac_ext
26274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26275 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26276 if test $gcc_cv_math_func___erfieee128 = yes; then
26278 cat >>confdefs.h <<_ACEOF
26279 #define HAVE___ERFIEEE128 1
26280 _ACEOF
26287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26288 $as_echo_n "checking for __expieee128... " >&6; }
26289 if ${gcc_cv_math_func___expieee128+:} false; then :
26290 $as_echo_n "(cached) " >&6
26291 else
26292 if test x$gcc_no_link = xyes; then
26293 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26296 /* end confdefs.h. */
26298 _Float128 __expieee128 (_Float128);
26299 _Float128 (*ptr)(_Float128) = __expieee128;
26302 main ()
26304 return 0;
26307 _ACEOF
26308 if ac_fn_c_try_link "$LINENO"; then :
26309 gcc_cv_math_func___expieee128=yes
26310 else
26311 gcc_cv_math_func___expieee128=no
26313 rm -f core conftest.err conftest.$ac_objext \
26314 conftest$ac_exeext conftest.$ac_ext
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26317 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26318 if test $gcc_cv_math_func___expieee128 = yes; then
26320 cat >>confdefs.h <<_ACEOF
26321 #define HAVE___EXPIEEE128 1
26322 _ACEOF
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26330 $as_echo_n "checking for __fabsieee128... " >&6; }
26331 if ${gcc_cv_math_func___fabsieee128+:} false; then :
26332 $as_echo_n "(cached) " >&6
26333 else
26334 if test x$gcc_no_link = xyes; then
26335 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26338 /* end confdefs.h. */
26340 _Float128 __fabsieee128 (_Float128);
26341 _Float128 (*ptr)(_Float128) = __fabsieee128;
26344 main ()
26346 return 0;
26349 _ACEOF
26350 if ac_fn_c_try_link "$LINENO"; then :
26351 gcc_cv_math_func___fabsieee128=yes
26352 else
26353 gcc_cv_math_func___fabsieee128=no
26355 rm -f core conftest.err conftest.$ac_objext \
26356 conftest$ac_exeext conftest.$ac_ext
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26359 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26360 if test $gcc_cv_math_func___fabsieee128 = yes; then
26362 cat >>confdefs.h <<_ACEOF
26363 #define HAVE___FABSIEEE128 1
26364 _ACEOF
26371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26372 $as_echo_n "checking for __jnieee128... " >&6; }
26373 if ${gcc_cv_math_func___jnieee128+:} false; then :
26374 $as_echo_n "(cached) " >&6
26375 else
26376 if test x$gcc_no_link = xyes; then
26377 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h. */
26382 _Float128 __jnieee128 (_Float128);
26383 _Float128 (*ptr)(_Float128) = __jnieee128;
26386 main ()
26388 return 0;
26391 _ACEOF
26392 if ac_fn_c_try_link "$LINENO"; then :
26393 gcc_cv_math_func___jnieee128=yes
26394 else
26395 gcc_cv_math_func___jnieee128=no
26397 rm -f core conftest.err conftest.$ac_objext \
26398 conftest$ac_exeext conftest.$ac_ext
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26401 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26402 if test $gcc_cv_math_func___jnieee128 = yes; then
26404 cat >>confdefs.h <<_ACEOF
26405 #define HAVE___JNIEEE128 1
26406 _ACEOF
26413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26414 $as_echo_n "checking for __log10ieee128... " >&6; }
26415 if ${gcc_cv_math_func___log10ieee128+:} false; then :
26416 $as_echo_n "(cached) " >&6
26417 else
26418 if test x$gcc_no_link = xyes; then
26419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26422 /* end confdefs.h. */
26424 _Float128 __log10ieee128 (_Float128);
26425 _Float128 (*ptr)(_Float128) = __log10ieee128;
26428 main ()
26430 return 0;
26433 _ACEOF
26434 if ac_fn_c_try_link "$LINENO"; then :
26435 gcc_cv_math_func___log10ieee128=yes
26436 else
26437 gcc_cv_math_func___log10ieee128=no
26439 rm -f core conftest.err conftest.$ac_objext \
26440 conftest$ac_exeext conftest.$ac_ext
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26443 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26444 if test $gcc_cv_math_func___log10ieee128 = yes; then
26446 cat >>confdefs.h <<_ACEOF
26447 #define HAVE___LOG10IEEE128 1
26448 _ACEOF
26455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26456 $as_echo_n "checking for __logieee128... " >&6; }
26457 if ${gcc_cv_math_func___logieee128+:} false; then :
26458 $as_echo_n "(cached) " >&6
26459 else
26460 if test x$gcc_no_link = xyes; then
26461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26464 /* end confdefs.h. */
26466 _Float128 __logieee128 (_Float128);
26467 _Float128 (*ptr)(_Float128) = __logieee128;
26470 main ()
26472 return 0;
26475 _ACEOF
26476 if ac_fn_c_try_link "$LINENO"; then :
26477 gcc_cv_math_func___logieee128=yes
26478 else
26479 gcc_cv_math_func___logieee128=no
26481 rm -f core conftest.err conftest.$ac_objext \
26482 conftest$ac_exeext conftest.$ac_ext
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26485 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26486 if test $gcc_cv_math_func___logieee128 = yes; then
26488 cat >>confdefs.h <<_ACEOF
26489 #define HAVE___LOGIEEE128 1
26490 _ACEOF
26497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26498 $as_echo_n "checking for __powieee128... " >&6; }
26499 if ${gcc_cv_math_func___powieee128+:} false; then :
26500 $as_echo_n "(cached) " >&6
26501 else
26502 if test x$gcc_no_link = xyes; then
26503 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26506 /* end confdefs.h. */
26508 _Float128 __powieee128 (_Float128);
26509 _Float128 (*ptr)(_Float128) = __powieee128;
26512 main ()
26514 return 0;
26517 _ACEOF
26518 if ac_fn_c_try_link "$LINENO"; then :
26519 gcc_cv_math_func___powieee128=yes
26520 else
26521 gcc_cv_math_func___powieee128=no
26523 rm -f core conftest.err conftest.$ac_objext \
26524 conftest$ac_exeext conftest.$ac_ext
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26527 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26528 if test $gcc_cv_math_func___powieee128 = yes; then
26530 cat >>confdefs.h <<_ACEOF
26531 #define HAVE___POWIEEE128 1
26532 _ACEOF
26539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26540 $as_echo_n "checking for __sinhieee128... " >&6; }
26541 if ${gcc_cv_math_func___sinhieee128+:} false; then :
26542 $as_echo_n "(cached) " >&6
26543 else
26544 if test x$gcc_no_link = xyes; then
26545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26548 /* end confdefs.h. */
26550 _Float128 __sinhieee128 (_Float128);
26551 _Float128 (*ptr)(_Float128) = __sinhieee128;
26554 main ()
26556 return 0;
26559 _ACEOF
26560 if ac_fn_c_try_link "$LINENO"; then :
26561 gcc_cv_math_func___sinhieee128=yes
26562 else
26563 gcc_cv_math_func___sinhieee128=no
26565 rm -f core conftest.err conftest.$ac_objext \
26566 conftest$ac_exeext conftest.$ac_ext
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26569 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26570 if test $gcc_cv_math_func___sinhieee128 = yes; then
26572 cat >>confdefs.h <<_ACEOF
26573 #define HAVE___SINHIEEE128 1
26574 _ACEOF
26581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26582 $as_echo_n "checking for __sinieee128... " >&6; }
26583 if ${gcc_cv_math_func___sinieee128+:} false; then :
26584 $as_echo_n "(cached) " >&6
26585 else
26586 if test x$gcc_no_link = xyes; then
26587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26590 /* end confdefs.h. */
26592 _Float128 __sinieee128 (_Float128);
26593 _Float128 (*ptr)(_Float128) = __sinieee128;
26596 main ()
26598 return 0;
26601 _ACEOF
26602 if ac_fn_c_try_link "$LINENO"; then :
26603 gcc_cv_math_func___sinieee128=yes
26604 else
26605 gcc_cv_math_func___sinieee128=no
26607 rm -f core conftest.err conftest.$ac_objext \
26608 conftest$ac_exeext conftest.$ac_ext
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26611 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26612 if test $gcc_cv_math_func___sinieee128 = yes; then
26614 cat >>confdefs.h <<_ACEOF
26615 #define HAVE___SINIEEE128 1
26616 _ACEOF
26623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26624 $as_echo_n "checking for __sqrtieee128... " >&6; }
26625 if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26626 $as_echo_n "(cached) " >&6
26627 else
26628 if test x$gcc_no_link = xyes; then
26629 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26632 /* end confdefs.h. */
26634 _Float128 __sqrtieee128 (_Float128);
26635 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26638 main ()
26640 return 0;
26643 _ACEOF
26644 if ac_fn_c_try_link "$LINENO"; then :
26645 gcc_cv_math_func___sqrtieee128=yes
26646 else
26647 gcc_cv_math_func___sqrtieee128=no
26649 rm -f core conftest.err conftest.$ac_objext \
26650 conftest$ac_exeext conftest.$ac_ext
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26653 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26654 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26656 cat >>confdefs.h <<_ACEOF
26657 #define HAVE___SQRTIEEE128 1
26658 _ACEOF
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26666 $as_echo_n "checking for __tanhieee128... " >&6; }
26667 if ${gcc_cv_math_func___tanhieee128+:} false; then :
26668 $as_echo_n "(cached) " >&6
26669 else
26670 if test x$gcc_no_link = xyes; then
26671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26674 /* end confdefs.h. */
26676 _Float128 __tanhieee128 (_Float128);
26677 _Float128 (*ptr)(_Float128) = __tanhieee128;
26680 main ()
26682 return 0;
26685 _ACEOF
26686 if ac_fn_c_try_link "$LINENO"; then :
26687 gcc_cv_math_func___tanhieee128=yes
26688 else
26689 gcc_cv_math_func___tanhieee128=no
26691 rm -f core conftest.err conftest.$ac_objext \
26692 conftest$ac_exeext conftest.$ac_ext
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26695 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26696 if test $gcc_cv_math_func___tanhieee128 = yes; then
26698 cat >>confdefs.h <<_ACEOF
26699 #define HAVE___TANHIEEE128 1
26700 _ACEOF
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26708 $as_echo_n "checking for __tanieee128... " >&6; }
26709 if ${gcc_cv_math_func___tanieee128+:} false; then :
26710 $as_echo_n "(cached) " >&6
26711 else
26712 if test x$gcc_no_link = xyes; then
26713 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26716 /* end confdefs.h. */
26718 _Float128 __tanieee128 (_Float128);
26719 _Float128 (*ptr)(_Float128) = __tanieee128;
26722 main ()
26724 return 0;
26727 _ACEOF
26728 if ac_fn_c_try_link "$LINENO"; then :
26729 gcc_cv_math_func___tanieee128=yes
26730 else
26731 gcc_cv_math_func___tanieee128=no
26733 rm -f core conftest.err conftest.$ac_objext \
26734 conftest$ac_exeext conftest.$ac_ext
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26737 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26738 if test $gcc_cv_math_func___tanieee128 = yes; then
26740 cat >>confdefs.h <<_ACEOF
26741 #define HAVE___TANIEEE128 1
26742 _ACEOF
26749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26750 $as_echo_n "checking for __ynieee128... " >&6; }
26751 if ${gcc_cv_math_func___ynieee128+:} false; then :
26752 $as_echo_n "(cached) " >&6
26753 else
26754 if test x$gcc_no_link = xyes; then
26755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26758 /* end confdefs.h. */
26760 _Float128 __ynieee128 (_Float128);
26761 _Float128 (*ptr)(_Float128) = __ynieee128;
26764 main ()
26766 return 0;
26769 _ACEOF
26770 if ac_fn_c_try_link "$LINENO"; then :
26771 gcc_cv_math_func___ynieee128=yes
26772 else
26773 gcc_cv_math_func___ynieee128=no
26775 rm -f core conftest.err conftest.$ac_objext \
26776 conftest$ac_exeext conftest.$ac_ext
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26779 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26780 if test $gcc_cv_math_func___ynieee128 = yes; then
26782 cat >>confdefs.h <<_ACEOF
26783 #define HAVE___YNIEEE128 1
26784 _ACEOF
26790 # On AIX, clog is present in libm as __clog
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26792 $as_echo_n "checking for __clog in -lm... " >&6; }
26793 if ${ac_cv_lib_m___clog+:} false; then :
26794 $as_echo_n "(cached) " >&6
26795 else
26796 ac_check_lib_save_LIBS=$LIBS
26797 LIBS="-lm $LIBS"
26798 if test x$gcc_no_link = xyes; then
26799 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26802 /* end confdefs.h. */
26804 /* Override any GCC internal prototype to avoid an error.
26805 Use char because int might match the return type of a GCC
26806 builtin and then its argument prototype would still apply. */
26807 #ifdef __cplusplus
26808 extern "C"
26809 #endif
26810 char __clog ();
26812 main ()
26814 return __clog ();
26816 return 0;
26818 _ACEOF
26819 if ac_fn_c_try_link "$LINENO"; then :
26820 ac_cv_lib_m___clog=yes
26821 else
26822 ac_cv_lib_m___clog=no
26824 rm -f core conftest.err conftest.$ac_objext \
26825 conftest$ac_exeext conftest.$ac_ext
26826 LIBS=$ac_check_lib_save_LIBS
26828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26829 $as_echo "$ac_cv_lib_m___clog" >&6; }
26830 if test "x$ac_cv_lib_m___clog" = xyes; then :
26832 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26839 if test $gcc_cv_math_func_copysign = no; then
26840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26841 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26842 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26843 $as_echo_n "(cached) " >&6
26844 else
26845 if test x$gcc_no_link = xyes; then
26846 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h. */
26851 double
26852 copysign_fallback (double x, double y)
26854 return __builtin_copysign (x, y);
26858 main ()
26860 return 0;
26863 _ACEOF
26864 if ac_fn_c_try_link "$LINENO"; then :
26865 gcc_cv_math_inline_builtin_copysign=yes
26866 else
26867 gcc_cv_math_inline_builtin_copysign=no
26869 rm -f core conftest.err conftest.$ac_objext \
26870 conftest$ac_exeext conftest.$ac_ext
26872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26873 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26874 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26876 cat >>confdefs.h <<_ACEOF
26877 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26878 _ACEOF
26884 if test $gcc_cv_math_func_copysignl = no; then
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26886 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26887 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
26888 $as_echo_n "(cached) " >&6
26889 else
26890 if test x$gcc_no_link = xyes; then
26891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26894 /* end confdefs.h. */
26896 long double
26897 copysignl_fallback (long double x, long double y)
26899 return __builtin_copysignl (x, y);
26903 main ()
26905 return 0;
26908 _ACEOF
26909 if ac_fn_c_try_link "$LINENO"; then :
26910 gcc_cv_math_inline_builtin_copysignl=yes
26911 else
26912 gcc_cv_math_inline_builtin_copysignl=no
26914 rm -f core conftest.err conftest.$ac_objext \
26915 conftest$ac_exeext conftest.$ac_ext
26917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26918 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26919 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26921 cat >>confdefs.h <<_ACEOF
26922 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26923 _ACEOF
26929 if test $gcc_cv_math_func_fabs = no; then
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26931 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26932 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
26933 $as_echo_n "(cached) " >&6
26934 else
26935 if test x$gcc_no_link = xyes; then
26936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26939 /* end confdefs.h. */
26941 double
26942 fabs_fallback (double x)
26944 return __builtin_fabs (x);
26948 main ()
26950 return 0;
26953 _ACEOF
26954 if ac_fn_c_try_link "$LINENO"; then :
26955 gcc_cv_math_inline_builtin_fabs=yes
26956 else
26957 gcc_cv_math_inline_builtin_fabs=no
26959 rm -f core conftest.err conftest.$ac_objext \
26960 conftest$ac_exeext conftest.$ac_ext
26962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26963 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26964 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26966 cat >>confdefs.h <<_ACEOF
26967 #define HAVE_INLINE_BUILTIN_FABS 1
26968 _ACEOF
26974 if test $gcc_cv_math_func_fabsl = no; then
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
26976 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
26977 if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
26978 $as_echo_n "(cached) " >&6
26979 else
26980 if test x$gcc_no_link = xyes; then
26981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26984 /* end confdefs.h. */
26986 long double
26987 fabsl_fallback (long double x)
26989 return __builtin_fabsl (x);
26993 main ()
26995 return 0;
26998 _ACEOF
26999 if ac_fn_c_try_link "$LINENO"; then :
27000 gcc_cv_math_inline_builtin_fabsl=yes
27001 else
27002 gcc_cv_math_inline_builtin_fabsl=no
27004 rm -f core conftest.err conftest.$ac_objext \
27005 conftest$ac_exeext conftest.$ac_ext
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27008 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27009 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27011 cat >>confdefs.h <<_ACEOF
27012 #define HAVE_INLINE_BUILTIN_FABSL 1
27013 _ACEOF
27021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27022 $as_echo_n "checking for acosf128... " >&6; }
27023 if ${gcc_cv_math_func_acosf128+:} false; then :
27024 $as_echo_n "(cached) " >&6
27025 else
27026 if test x$gcc_no_link = xyes; then
27027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27030 /* end confdefs.h. */
27032 #ifdef HAVE_COMPLEX_H
27033 #include <complex.h>
27034 #endif
27035 #ifdef HAVE_MATH_H
27036 #include <math.h>
27037 #endif
27039 int (*ptr)() = (int (*)())acosf128;
27042 main ()
27044 return 0;
27047 _ACEOF
27048 if ac_fn_c_try_link "$LINENO"; then :
27049 gcc_cv_math_func_acosf128=yes
27050 else
27051 gcc_cv_math_func_acosf128=no
27053 rm -f core conftest.err conftest.$ac_objext \
27054 conftest$ac_exeext conftest.$ac_ext
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27057 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27058 if test $gcc_cv_math_func_acosf128 = yes; then
27060 cat >>confdefs.h <<_ACEOF
27061 #define HAVE_ACOSF128 1
27062 _ACEOF
27069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27070 $as_echo_n "checking for acoshf128... " >&6; }
27071 if ${gcc_cv_math_func_acoshf128+:} false; then :
27072 $as_echo_n "(cached) " >&6
27073 else
27074 if test x$gcc_no_link = xyes; then
27075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27078 /* end confdefs.h. */
27080 #ifdef HAVE_COMPLEX_H
27081 #include <complex.h>
27082 #endif
27083 #ifdef HAVE_MATH_H
27084 #include <math.h>
27085 #endif
27087 int (*ptr)() = (int (*)())acoshf128;
27090 main ()
27092 return 0;
27095 _ACEOF
27096 if ac_fn_c_try_link "$LINENO"; then :
27097 gcc_cv_math_func_acoshf128=yes
27098 else
27099 gcc_cv_math_func_acoshf128=no
27101 rm -f core conftest.err conftest.$ac_objext \
27102 conftest$ac_exeext conftest.$ac_ext
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27105 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27106 if test $gcc_cv_math_func_acoshf128 = yes; then
27108 cat >>confdefs.h <<_ACEOF
27109 #define HAVE_ACOSHF128 1
27110 _ACEOF
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27118 $as_echo_n "checking for asinf128... " >&6; }
27119 if ${gcc_cv_math_func_asinf128+:} false; then :
27120 $as_echo_n "(cached) " >&6
27121 else
27122 if test x$gcc_no_link = xyes; then
27123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27126 /* end confdefs.h. */
27128 #ifdef HAVE_COMPLEX_H
27129 #include <complex.h>
27130 #endif
27131 #ifdef HAVE_MATH_H
27132 #include <math.h>
27133 #endif
27135 int (*ptr)() = (int (*)())asinf128;
27138 main ()
27140 return 0;
27143 _ACEOF
27144 if ac_fn_c_try_link "$LINENO"; then :
27145 gcc_cv_math_func_asinf128=yes
27146 else
27147 gcc_cv_math_func_asinf128=no
27149 rm -f core conftest.err conftest.$ac_objext \
27150 conftest$ac_exeext conftest.$ac_ext
27152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27153 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27154 if test $gcc_cv_math_func_asinf128 = yes; then
27156 cat >>confdefs.h <<_ACEOF
27157 #define HAVE_ASINF128 1
27158 _ACEOF
27165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27166 $as_echo_n "checking for asinhf128... " >&6; }
27167 if ${gcc_cv_math_func_asinhf128+:} false; then :
27168 $as_echo_n "(cached) " >&6
27169 else
27170 if test x$gcc_no_link = xyes; then
27171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27174 /* end confdefs.h. */
27176 #ifdef HAVE_COMPLEX_H
27177 #include <complex.h>
27178 #endif
27179 #ifdef HAVE_MATH_H
27180 #include <math.h>
27181 #endif
27183 int (*ptr)() = (int (*)())asinhf128;
27186 main ()
27188 return 0;
27191 _ACEOF
27192 if ac_fn_c_try_link "$LINENO"; then :
27193 gcc_cv_math_func_asinhf128=yes
27194 else
27195 gcc_cv_math_func_asinhf128=no
27197 rm -f core conftest.err conftest.$ac_objext \
27198 conftest$ac_exeext conftest.$ac_ext
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27201 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27202 if test $gcc_cv_math_func_asinhf128 = yes; then
27204 cat >>confdefs.h <<_ACEOF
27205 #define HAVE_ASINHF128 1
27206 _ACEOF
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27214 $as_echo_n "checking for atan2f128... " >&6; }
27215 if ${gcc_cv_math_func_atan2f128+:} false; then :
27216 $as_echo_n "(cached) " >&6
27217 else
27218 if test x$gcc_no_link = xyes; then
27219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27222 /* end confdefs.h. */
27224 #ifdef HAVE_COMPLEX_H
27225 #include <complex.h>
27226 #endif
27227 #ifdef HAVE_MATH_H
27228 #include <math.h>
27229 #endif
27231 int (*ptr)() = (int (*)())atan2f128;
27234 main ()
27236 return 0;
27239 _ACEOF
27240 if ac_fn_c_try_link "$LINENO"; then :
27241 gcc_cv_math_func_atan2f128=yes
27242 else
27243 gcc_cv_math_func_atan2f128=no
27245 rm -f core conftest.err conftest.$ac_objext \
27246 conftest$ac_exeext conftest.$ac_ext
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27249 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27250 if test $gcc_cv_math_func_atan2f128 = yes; then
27252 cat >>confdefs.h <<_ACEOF
27253 #define HAVE_ATAN2F128 1
27254 _ACEOF
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27262 $as_echo_n "checking for atanf128... " >&6; }
27263 if ${gcc_cv_math_func_atanf128+:} false; then :
27264 $as_echo_n "(cached) " >&6
27265 else
27266 if test x$gcc_no_link = xyes; then
27267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27270 /* end confdefs.h. */
27272 #ifdef HAVE_COMPLEX_H
27273 #include <complex.h>
27274 #endif
27275 #ifdef HAVE_MATH_H
27276 #include <math.h>
27277 #endif
27279 int (*ptr)() = (int (*)())atanf128;
27282 main ()
27284 return 0;
27287 _ACEOF
27288 if ac_fn_c_try_link "$LINENO"; then :
27289 gcc_cv_math_func_atanf128=yes
27290 else
27291 gcc_cv_math_func_atanf128=no
27293 rm -f core conftest.err conftest.$ac_objext \
27294 conftest$ac_exeext conftest.$ac_ext
27296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27297 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27298 if test $gcc_cv_math_func_atanf128 = yes; then
27300 cat >>confdefs.h <<_ACEOF
27301 #define HAVE_ATANF128 1
27302 _ACEOF
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27310 $as_echo_n "checking for atanhf128... " >&6; }
27311 if ${gcc_cv_math_func_atanhf128+:} false; then :
27312 $as_echo_n "(cached) " >&6
27313 else
27314 if test x$gcc_no_link = xyes; then
27315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27318 /* end confdefs.h. */
27320 #ifdef HAVE_COMPLEX_H
27321 #include <complex.h>
27322 #endif
27323 #ifdef HAVE_MATH_H
27324 #include <math.h>
27325 #endif
27327 int (*ptr)() = (int (*)())atanhf128;
27330 main ()
27332 return 0;
27335 _ACEOF
27336 if ac_fn_c_try_link "$LINENO"; then :
27337 gcc_cv_math_func_atanhf128=yes
27338 else
27339 gcc_cv_math_func_atanhf128=no
27341 rm -f core conftest.err conftest.$ac_objext \
27342 conftest$ac_exeext conftest.$ac_ext
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27345 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27346 if test $gcc_cv_math_func_atanhf128 = yes; then
27348 cat >>confdefs.h <<_ACEOF
27349 #define HAVE_ATANHF128 1
27350 _ACEOF
27357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27358 $as_echo_n "checking for cargf128... " >&6; }
27359 if ${gcc_cv_math_func_cargf128+:} false; then :
27360 $as_echo_n "(cached) " >&6
27361 else
27362 if test x$gcc_no_link = xyes; then
27363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27366 /* end confdefs.h. */
27368 #ifdef HAVE_COMPLEX_H
27369 #include <complex.h>
27370 #endif
27371 #ifdef HAVE_MATH_H
27372 #include <math.h>
27373 #endif
27375 int (*ptr)() = (int (*)())cargf128;
27378 main ()
27380 return 0;
27383 _ACEOF
27384 if ac_fn_c_try_link "$LINENO"; then :
27385 gcc_cv_math_func_cargf128=yes
27386 else
27387 gcc_cv_math_func_cargf128=no
27389 rm -f core conftest.err conftest.$ac_objext \
27390 conftest$ac_exeext conftest.$ac_ext
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27393 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27394 if test $gcc_cv_math_func_cargf128 = yes; then
27396 cat >>confdefs.h <<_ACEOF
27397 #define HAVE_CARGF128 1
27398 _ACEOF
27405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27406 $as_echo_n "checking for ceilf128... " >&6; }
27407 if ${gcc_cv_math_func_ceilf128+:} false; then :
27408 $as_echo_n "(cached) " >&6
27409 else
27410 if test x$gcc_no_link = xyes; then
27411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27414 /* end confdefs.h. */
27416 #ifdef HAVE_COMPLEX_H
27417 #include <complex.h>
27418 #endif
27419 #ifdef HAVE_MATH_H
27420 #include <math.h>
27421 #endif
27423 int (*ptr)() = (int (*)())ceilf128;
27426 main ()
27428 return 0;
27431 _ACEOF
27432 if ac_fn_c_try_link "$LINENO"; then :
27433 gcc_cv_math_func_ceilf128=yes
27434 else
27435 gcc_cv_math_func_ceilf128=no
27437 rm -f core conftest.err conftest.$ac_objext \
27438 conftest$ac_exeext conftest.$ac_ext
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27441 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27442 if test $gcc_cv_math_func_ceilf128 = yes; then
27444 cat >>confdefs.h <<_ACEOF
27445 #define HAVE_CEILF128 1
27446 _ACEOF
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27454 $as_echo_n "checking for copysignf128... " >&6; }
27455 if ${gcc_cv_math_func_copysignf128+:} false; then :
27456 $as_echo_n "(cached) " >&6
27457 else
27458 if test x$gcc_no_link = xyes; then
27459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27462 /* end confdefs.h. */
27464 #ifdef HAVE_COMPLEX_H
27465 #include <complex.h>
27466 #endif
27467 #ifdef HAVE_MATH_H
27468 #include <math.h>
27469 #endif
27471 int (*ptr)() = (int (*)())copysignf128;
27474 main ()
27476 return 0;
27479 _ACEOF
27480 if ac_fn_c_try_link "$LINENO"; then :
27481 gcc_cv_math_func_copysignf128=yes
27482 else
27483 gcc_cv_math_func_copysignf128=no
27485 rm -f core conftest.err conftest.$ac_objext \
27486 conftest$ac_exeext conftest.$ac_ext
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27489 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27490 if test $gcc_cv_math_func_copysignf128 = yes; then
27492 cat >>confdefs.h <<_ACEOF
27493 #define HAVE_COPYSIGNF128 1
27494 _ACEOF
27501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27502 $as_echo_n "checking for cosf128... " >&6; }
27503 if ${gcc_cv_math_func_cosf128+:} false; then :
27504 $as_echo_n "(cached) " >&6
27505 else
27506 if test x$gcc_no_link = xyes; then
27507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27510 /* end confdefs.h. */
27512 #ifdef HAVE_COMPLEX_H
27513 #include <complex.h>
27514 #endif
27515 #ifdef HAVE_MATH_H
27516 #include <math.h>
27517 #endif
27519 int (*ptr)() = (int (*)())cosf128;
27522 main ()
27524 return 0;
27527 _ACEOF
27528 if ac_fn_c_try_link "$LINENO"; then :
27529 gcc_cv_math_func_cosf128=yes
27530 else
27531 gcc_cv_math_func_cosf128=no
27533 rm -f core conftest.err conftest.$ac_objext \
27534 conftest$ac_exeext conftest.$ac_ext
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27537 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27538 if test $gcc_cv_math_func_cosf128 = yes; then
27540 cat >>confdefs.h <<_ACEOF
27541 #define HAVE_COSF128 1
27542 _ACEOF
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27550 $as_echo_n "checking for ccosf128... " >&6; }
27551 if ${gcc_cv_math_func_ccosf128+:} false; then :
27552 $as_echo_n "(cached) " >&6
27553 else
27554 if test x$gcc_no_link = xyes; then
27555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27558 /* end confdefs.h. */
27560 #ifdef HAVE_COMPLEX_H
27561 #include <complex.h>
27562 #endif
27563 #ifdef HAVE_MATH_H
27564 #include <math.h>
27565 #endif
27567 int (*ptr)() = (int (*)())ccosf128;
27570 main ()
27572 return 0;
27575 _ACEOF
27576 if ac_fn_c_try_link "$LINENO"; then :
27577 gcc_cv_math_func_ccosf128=yes
27578 else
27579 gcc_cv_math_func_ccosf128=no
27581 rm -f core conftest.err conftest.$ac_objext \
27582 conftest$ac_exeext conftest.$ac_ext
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27585 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27586 if test $gcc_cv_math_func_ccosf128 = yes; then
27588 cat >>confdefs.h <<_ACEOF
27589 #define HAVE_CCOSF128 1
27590 _ACEOF
27597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27598 $as_echo_n "checking for coshf128... " >&6; }
27599 if ${gcc_cv_math_func_coshf128+:} false; then :
27600 $as_echo_n "(cached) " >&6
27601 else
27602 if test x$gcc_no_link = xyes; then
27603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27606 /* end confdefs.h. */
27608 #ifdef HAVE_COMPLEX_H
27609 #include <complex.h>
27610 #endif
27611 #ifdef HAVE_MATH_H
27612 #include <math.h>
27613 #endif
27615 int (*ptr)() = (int (*)())coshf128;
27618 main ()
27620 return 0;
27623 _ACEOF
27624 if ac_fn_c_try_link "$LINENO"; then :
27625 gcc_cv_math_func_coshf128=yes
27626 else
27627 gcc_cv_math_func_coshf128=no
27629 rm -f core conftest.err conftest.$ac_objext \
27630 conftest$ac_exeext conftest.$ac_ext
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27633 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27634 if test $gcc_cv_math_func_coshf128 = yes; then
27636 cat >>confdefs.h <<_ACEOF
27637 #define HAVE_COSHF128 1
27638 _ACEOF
27645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27646 $as_echo_n "checking for ccoshf128... " >&6; }
27647 if ${gcc_cv_math_func_ccoshf128+:} false; then :
27648 $as_echo_n "(cached) " >&6
27649 else
27650 if test x$gcc_no_link = xyes; then
27651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27654 /* end confdefs.h. */
27656 #ifdef HAVE_COMPLEX_H
27657 #include <complex.h>
27658 #endif
27659 #ifdef HAVE_MATH_H
27660 #include <math.h>
27661 #endif
27663 int (*ptr)() = (int (*)())ccoshf128;
27666 main ()
27668 return 0;
27671 _ACEOF
27672 if ac_fn_c_try_link "$LINENO"; then :
27673 gcc_cv_math_func_ccoshf128=yes
27674 else
27675 gcc_cv_math_func_ccoshf128=no
27677 rm -f core conftest.err conftest.$ac_objext \
27678 conftest$ac_exeext conftest.$ac_ext
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27681 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27682 if test $gcc_cv_math_func_ccoshf128 = yes; then
27684 cat >>confdefs.h <<_ACEOF
27685 #define HAVE_CCOSHF128 1
27686 _ACEOF
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27694 $as_echo_n "checking for expf128... " >&6; }
27695 if ${gcc_cv_math_func_expf128+:} false; then :
27696 $as_echo_n "(cached) " >&6
27697 else
27698 if test x$gcc_no_link = xyes; then
27699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27702 /* end confdefs.h. */
27704 #ifdef HAVE_COMPLEX_H
27705 #include <complex.h>
27706 #endif
27707 #ifdef HAVE_MATH_H
27708 #include <math.h>
27709 #endif
27711 int (*ptr)() = (int (*)())expf128;
27714 main ()
27716 return 0;
27719 _ACEOF
27720 if ac_fn_c_try_link "$LINENO"; then :
27721 gcc_cv_math_func_expf128=yes
27722 else
27723 gcc_cv_math_func_expf128=no
27725 rm -f core conftest.err conftest.$ac_objext \
27726 conftest$ac_exeext conftest.$ac_ext
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27729 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27730 if test $gcc_cv_math_func_expf128 = yes; then
27732 cat >>confdefs.h <<_ACEOF
27733 #define HAVE_EXPF128 1
27734 _ACEOF
27741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27742 $as_echo_n "checking for cexpf128... " >&6; }
27743 if ${gcc_cv_math_func_cexpf128+:} false; then :
27744 $as_echo_n "(cached) " >&6
27745 else
27746 if test x$gcc_no_link = xyes; then
27747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27750 /* end confdefs.h. */
27752 #ifdef HAVE_COMPLEX_H
27753 #include <complex.h>
27754 #endif
27755 #ifdef HAVE_MATH_H
27756 #include <math.h>
27757 #endif
27759 int (*ptr)() = (int (*)())cexpf128;
27762 main ()
27764 return 0;
27767 _ACEOF
27768 if ac_fn_c_try_link "$LINENO"; then :
27769 gcc_cv_math_func_cexpf128=yes
27770 else
27771 gcc_cv_math_func_cexpf128=no
27773 rm -f core conftest.err conftest.$ac_objext \
27774 conftest$ac_exeext conftest.$ac_ext
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27777 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27778 if test $gcc_cv_math_func_cexpf128 = yes; then
27780 cat >>confdefs.h <<_ACEOF
27781 #define HAVE_CEXPF128 1
27782 _ACEOF
27789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27790 $as_echo_n "checking for fabsf128... " >&6; }
27791 if ${gcc_cv_math_func_fabsf128+:} false; then :
27792 $as_echo_n "(cached) " >&6
27793 else
27794 if test x$gcc_no_link = xyes; then
27795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27798 /* end confdefs.h. */
27800 #ifdef HAVE_COMPLEX_H
27801 #include <complex.h>
27802 #endif
27803 #ifdef HAVE_MATH_H
27804 #include <math.h>
27805 #endif
27807 int (*ptr)() = (int (*)())fabsf128;
27810 main ()
27812 return 0;
27815 _ACEOF
27816 if ac_fn_c_try_link "$LINENO"; then :
27817 gcc_cv_math_func_fabsf128=yes
27818 else
27819 gcc_cv_math_func_fabsf128=no
27821 rm -f core conftest.err conftest.$ac_objext \
27822 conftest$ac_exeext conftest.$ac_ext
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27825 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27826 if test $gcc_cv_math_func_fabsf128 = yes; then
27828 cat >>confdefs.h <<_ACEOF
27829 #define HAVE_FABSF128 1
27830 _ACEOF
27837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27838 $as_echo_n "checking for cabsf128... " >&6; }
27839 if ${gcc_cv_math_func_cabsf128+:} false; then :
27840 $as_echo_n "(cached) " >&6
27841 else
27842 if test x$gcc_no_link = xyes; then
27843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27846 /* end confdefs.h. */
27848 #ifdef HAVE_COMPLEX_H
27849 #include <complex.h>
27850 #endif
27851 #ifdef HAVE_MATH_H
27852 #include <math.h>
27853 #endif
27855 int (*ptr)() = (int (*)())cabsf128;
27858 main ()
27860 return 0;
27863 _ACEOF
27864 if ac_fn_c_try_link "$LINENO"; then :
27865 gcc_cv_math_func_cabsf128=yes
27866 else
27867 gcc_cv_math_func_cabsf128=no
27869 rm -f core conftest.err conftest.$ac_objext \
27870 conftest$ac_exeext conftest.$ac_ext
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27873 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27874 if test $gcc_cv_math_func_cabsf128 = yes; then
27876 cat >>confdefs.h <<_ACEOF
27877 #define HAVE_CABSF128 1
27878 _ACEOF
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27886 $as_echo_n "checking for floorf128... " >&6; }
27887 if ${gcc_cv_math_func_floorf128+:} false; then :
27888 $as_echo_n "(cached) " >&6
27889 else
27890 if test x$gcc_no_link = xyes; then
27891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27894 /* end confdefs.h. */
27896 #ifdef HAVE_COMPLEX_H
27897 #include <complex.h>
27898 #endif
27899 #ifdef HAVE_MATH_H
27900 #include <math.h>
27901 #endif
27903 int (*ptr)() = (int (*)())floorf128;
27906 main ()
27908 return 0;
27911 _ACEOF
27912 if ac_fn_c_try_link "$LINENO"; then :
27913 gcc_cv_math_func_floorf128=yes
27914 else
27915 gcc_cv_math_func_floorf128=no
27917 rm -f core conftest.err conftest.$ac_objext \
27918 conftest$ac_exeext conftest.$ac_ext
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27921 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27922 if test $gcc_cv_math_func_floorf128 = yes; then
27924 cat >>confdefs.h <<_ACEOF
27925 #define HAVE_FLOORF128 1
27926 _ACEOF
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27934 $as_echo_n "checking for fmaf128... " >&6; }
27935 if ${gcc_cv_math_func_fmaf128+:} false; then :
27936 $as_echo_n "(cached) " >&6
27937 else
27938 if test x$gcc_no_link = xyes; then
27939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27942 /* end confdefs.h. */
27944 #ifdef HAVE_COMPLEX_H
27945 #include <complex.h>
27946 #endif
27947 #ifdef HAVE_MATH_H
27948 #include <math.h>
27949 #endif
27951 int (*ptr)() = (int (*)())fmaf128;
27954 main ()
27956 return 0;
27959 _ACEOF
27960 if ac_fn_c_try_link "$LINENO"; then :
27961 gcc_cv_math_func_fmaf128=yes
27962 else
27963 gcc_cv_math_func_fmaf128=no
27965 rm -f core conftest.err conftest.$ac_objext \
27966 conftest$ac_exeext conftest.$ac_ext
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
27969 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
27970 if test $gcc_cv_math_func_fmaf128 = yes; then
27972 cat >>confdefs.h <<_ACEOF
27973 #define HAVE_FMAF128 1
27974 _ACEOF
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
27982 $as_echo_n "checking for fmodf128... " >&6; }
27983 if ${gcc_cv_math_func_fmodf128+:} false; then :
27984 $as_echo_n "(cached) " >&6
27985 else
27986 if test x$gcc_no_link = xyes; then
27987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27990 /* end confdefs.h. */
27992 #ifdef HAVE_COMPLEX_H
27993 #include <complex.h>
27994 #endif
27995 #ifdef HAVE_MATH_H
27996 #include <math.h>
27997 #endif
27999 int (*ptr)() = (int (*)())fmodf128;
28002 main ()
28004 return 0;
28007 _ACEOF
28008 if ac_fn_c_try_link "$LINENO"; then :
28009 gcc_cv_math_func_fmodf128=yes
28010 else
28011 gcc_cv_math_func_fmodf128=no
28013 rm -f core conftest.err conftest.$ac_objext \
28014 conftest$ac_exeext conftest.$ac_ext
28016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28017 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28018 if test $gcc_cv_math_func_fmodf128 = yes; then
28020 cat >>confdefs.h <<_ACEOF
28021 #define HAVE_FMODF128 1
28022 _ACEOF
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28030 $as_echo_n "checking for frexpf128... " >&6; }
28031 if ${gcc_cv_math_func_frexpf128+:} false; then :
28032 $as_echo_n "(cached) " >&6
28033 else
28034 if test x$gcc_no_link = xyes; then
28035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28038 /* end confdefs.h. */
28040 #ifdef HAVE_COMPLEX_H
28041 #include <complex.h>
28042 #endif
28043 #ifdef HAVE_MATH_H
28044 #include <math.h>
28045 #endif
28047 int (*ptr)() = (int (*)())frexpf128;
28050 main ()
28052 return 0;
28055 _ACEOF
28056 if ac_fn_c_try_link "$LINENO"; then :
28057 gcc_cv_math_func_frexpf128=yes
28058 else
28059 gcc_cv_math_func_frexpf128=no
28061 rm -f core conftest.err conftest.$ac_objext \
28062 conftest$ac_exeext conftest.$ac_ext
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28065 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28066 if test $gcc_cv_math_func_frexpf128 = yes; then
28068 cat >>confdefs.h <<_ACEOF
28069 #define HAVE_FREXPF128 1
28070 _ACEOF
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28078 $as_echo_n "checking for hypotf128... " >&6; }
28079 if ${gcc_cv_math_func_hypotf128+:} false; then :
28080 $as_echo_n "(cached) " >&6
28081 else
28082 if test x$gcc_no_link = xyes; then
28083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28086 /* end confdefs.h. */
28088 #ifdef HAVE_COMPLEX_H
28089 #include <complex.h>
28090 #endif
28091 #ifdef HAVE_MATH_H
28092 #include <math.h>
28093 #endif
28095 int (*ptr)() = (int (*)())hypotf128;
28098 main ()
28100 return 0;
28103 _ACEOF
28104 if ac_fn_c_try_link "$LINENO"; then :
28105 gcc_cv_math_func_hypotf128=yes
28106 else
28107 gcc_cv_math_func_hypotf128=no
28109 rm -f core conftest.err conftest.$ac_objext \
28110 conftest$ac_exeext conftest.$ac_ext
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28113 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28114 if test $gcc_cv_math_func_hypotf128 = yes; then
28116 cat >>confdefs.h <<_ACEOF
28117 #define HAVE_HYPOTF128 1
28118 _ACEOF
28125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28126 $as_echo_n "checking for ldexpf128... " >&6; }
28127 if ${gcc_cv_math_func_ldexpf128+:} false; then :
28128 $as_echo_n "(cached) " >&6
28129 else
28130 if test x$gcc_no_link = xyes; then
28131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28134 /* end confdefs.h. */
28136 #ifdef HAVE_COMPLEX_H
28137 #include <complex.h>
28138 #endif
28139 #ifdef HAVE_MATH_H
28140 #include <math.h>
28141 #endif
28143 int (*ptr)() = (int (*)())ldexpf128;
28146 main ()
28148 return 0;
28151 _ACEOF
28152 if ac_fn_c_try_link "$LINENO"; then :
28153 gcc_cv_math_func_ldexpf128=yes
28154 else
28155 gcc_cv_math_func_ldexpf128=no
28157 rm -f core conftest.err conftest.$ac_objext \
28158 conftest$ac_exeext conftest.$ac_ext
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28161 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28162 if test $gcc_cv_math_func_ldexpf128 = yes; then
28164 cat >>confdefs.h <<_ACEOF
28165 #define HAVE_LDEXPF128 1
28166 _ACEOF
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28174 $as_echo_n "checking for logf128... " >&6; }
28175 if ${gcc_cv_math_func_logf128+:} false; then :
28176 $as_echo_n "(cached) " >&6
28177 else
28178 if test x$gcc_no_link = xyes; then
28179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28182 /* end confdefs.h. */
28184 #ifdef HAVE_COMPLEX_H
28185 #include <complex.h>
28186 #endif
28187 #ifdef HAVE_MATH_H
28188 #include <math.h>
28189 #endif
28191 int (*ptr)() = (int (*)())logf128;
28194 main ()
28196 return 0;
28199 _ACEOF
28200 if ac_fn_c_try_link "$LINENO"; then :
28201 gcc_cv_math_func_logf128=yes
28202 else
28203 gcc_cv_math_func_logf128=no
28205 rm -f core conftest.err conftest.$ac_objext \
28206 conftest$ac_exeext conftest.$ac_ext
28208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28209 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28210 if test $gcc_cv_math_func_logf128 = yes; then
28212 cat >>confdefs.h <<_ACEOF
28213 #define HAVE_LOGF128 1
28214 _ACEOF
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28222 $as_echo_n "checking for clogf128... " >&6; }
28223 if ${gcc_cv_math_func_clogf128+:} false; then :
28224 $as_echo_n "(cached) " >&6
28225 else
28226 if test x$gcc_no_link = xyes; then
28227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28230 /* end confdefs.h. */
28232 #ifdef HAVE_COMPLEX_H
28233 #include <complex.h>
28234 #endif
28235 #ifdef HAVE_MATH_H
28236 #include <math.h>
28237 #endif
28239 int (*ptr)() = (int (*)())clogf128;
28242 main ()
28244 return 0;
28247 _ACEOF
28248 if ac_fn_c_try_link "$LINENO"; then :
28249 gcc_cv_math_func_clogf128=yes
28250 else
28251 gcc_cv_math_func_clogf128=no
28253 rm -f core conftest.err conftest.$ac_objext \
28254 conftest$ac_exeext conftest.$ac_ext
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28257 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28258 if test $gcc_cv_math_func_clogf128 = yes; then
28260 cat >>confdefs.h <<_ACEOF
28261 #define HAVE_CLOGF128 1
28262 _ACEOF
28269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28270 $as_echo_n "checking for log10f128... " >&6; }
28271 if ${gcc_cv_math_func_log10f128+:} false; then :
28272 $as_echo_n "(cached) " >&6
28273 else
28274 if test x$gcc_no_link = xyes; then
28275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28278 /* end confdefs.h. */
28280 #ifdef HAVE_COMPLEX_H
28281 #include <complex.h>
28282 #endif
28283 #ifdef HAVE_MATH_H
28284 #include <math.h>
28285 #endif
28287 int (*ptr)() = (int (*)())log10f128;
28290 main ()
28292 return 0;
28295 _ACEOF
28296 if ac_fn_c_try_link "$LINENO"; then :
28297 gcc_cv_math_func_log10f128=yes
28298 else
28299 gcc_cv_math_func_log10f128=no
28301 rm -f core conftest.err conftest.$ac_objext \
28302 conftest$ac_exeext conftest.$ac_ext
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28305 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28306 if test $gcc_cv_math_func_log10f128 = yes; then
28308 cat >>confdefs.h <<_ACEOF
28309 #define HAVE_LOG10F128 1
28310 _ACEOF
28317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28318 $as_echo_n "checking for clog10f128... " >&6; }
28319 if ${gcc_cv_math_func_clog10f128+:} false; then :
28320 $as_echo_n "(cached) " >&6
28321 else
28322 if test x$gcc_no_link = xyes; then
28323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28326 /* end confdefs.h. */
28328 #ifdef HAVE_COMPLEX_H
28329 #include <complex.h>
28330 #endif
28331 #ifdef HAVE_MATH_H
28332 #include <math.h>
28333 #endif
28335 int (*ptr)() = (int (*)())clog10f128;
28338 main ()
28340 return 0;
28343 _ACEOF
28344 if ac_fn_c_try_link "$LINENO"; then :
28345 gcc_cv_math_func_clog10f128=yes
28346 else
28347 gcc_cv_math_func_clog10f128=no
28349 rm -f core conftest.err conftest.$ac_objext \
28350 conftest$ac_exeext conftest.$ac_ext
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28353 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28354 if test $gcc_cv_math_func_clog10f128 = yes; then
28356 cat >>confdefs.h <<_ACEOF
28357 #define HAVE_CLOG10F128 1
28358 _ACEOF
28365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28366 $as_echo_n "checking for nextafterf128... " >&6; }
28367 if ${gcc_cv_math_func_nextafterf128+:} false; then :
28368 $as_echo_n "(cached) " >&6
28369 else
28370 if test x$gcc_no_link = xyes; then
28371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28374 /* end confdefs.h. */
28376 #ifdef HAVE_COMPLEX_H
28377 #include <complex.h>
28378 #endif
28379 #ifdef HAVE_MATH_H
28380 #include <math.h>
28381 #endif
28383 int (*ptr)() = (int (*)())nextafterf128;
28386 main ()
28388 return 0;
28391 _ACEOF
28392 if ac_fn_c_try_link "$LINENO"; then :
28393 gcc_cv_math_func_nextafterf128=yes
28394 else
28395 gcc_cv_math_func_nextafterf128=no
28397 rm -f core conftest.err conftest.$ac_objext \
28398 conftest$ac_exeext conftest.$ac_ext
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28401 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28402 if test $gcc_cv_math_func_nextafterf128 = yes; then
28404 cat >>confdefs.h <<_ACEOF
28405 #define HAVE_NEXTAFTERF128 1
28406 _ACEOF
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28414 $as_echo_n "checking for powf128... " >&6; }
28415 if ${gcc_cv_math_func_powf128+:} false; then :
28416 $as_echo_n "(cached) " >&6
28417 else
28418 if test x$gcc_no_link = xyes; then
28419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28422 /* end confdefs.h. */
28424 #ifdef HAVE_COMPLEX_H
28425 #include <complex.h>
28426 #endif
28427 #ifdef HAVE_MATH_H
28428 #include <math.h>
28429 #endif
28431 int (*ptr)() = (int (*)())powf128;
28434 main ()
28436 return 0;
28439 _ACEOF
28440 if ac_fn_c_try_link "$LINENO"; then :
28441 gcc_cv_math_func_powf128=yes
28442 else
28443 gcc_cv_math_func_powf128=no
28445 rm -f core conftest.err conftest.$ac_objext \
28446 conftest$ac_exeext conftest.$ac_ext
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28449 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28450 if test $gcc_cv_math_func_powf128 = yes; then
28452 cat >>confdefs.h <<_ACEOF
28453 #define HAVE_POWF128 1
28454 _ACEOF
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28462 $as_echo_n "checking for cpowf128... " >&6; }
28463 if ${gcc_cv_math_func_cpowf128+:} false; then :
28464 $as_echo_n "(cached) " >&6
28465 else
28466 if test x$gcc_no_link = xyes; then
28467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28470 /* end confdefs.h. */
28472 #ifdef HAVE_COMPLEX_H
28473 #include <complex.h>
28474 #endif
28475 #ifdef HAVE_MATH_H
28476 #include <math.h>
28477 #endif
28479 int (*ptr)() = (int (*)())cpowf128;
28482 main ()
28484 return 0;
28487 _ACEOF
28488 if ac_fn_c_try_link "$LINENO"; then :
28489 gcc_cv_math_func_cpowf128=yes
28490 else
28491 gcc_cv_math_func_cpowf128=no
28493 rm -f core conftest.err conftest.$ac_objext \
28494 conftest$ac_exeext conftest.$ac_ext
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28497 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28498 if test $gcc_cv_math_func_cpowf128 = yes; then
28500 cat >>confdefs.h <<_ACEOF
28501 #define HAVE_CPOWF128 1
28502 _ACEOF
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28510 $as_echo_n "checking for roundf128... " >&6; }
28511 if ${gcc_cv_math_func_roundf128+:} false; then :
28512 $as_echo_n "(cached) " >&6
28513 else
28514 if test x$gcc_no_link = xyes; then
28515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28518 /* end confdefs.h. */
28520 #ifdef HAVE_COMPLEX_H
28521 #include <complex.h>
28522 #endif
28523 #ifdef HAVE_MATH_H
28524 #include <math.h>
28525 #endif
28527 int (*ptr)() = (int (*)())roundf128;
28530 main ()
28532 return 0;
28535 _ACEOF
28536 if ac_fn_c_try_link "$LINENO"; then :
28537 gcc_cv_math_func_roundf128=yes
28538 else
28539 gcc_cv_math_func_roundf128=no
28541 rm -f core conftest.err conftest.$ac_objext \
28542 conftest$ac_exeext conftest.$ac_ext
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28545 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28546 if test $gcc_cv_math_func_roundf128 = yes; then
28548 cat >>confdefs.h <<_ACEOF
28549 #define HAVE_ROUNDF128 1
28550 _ACEOF
28557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28558 $as_echo_n "checking for lroundf128... " >&6; }
28559 if ${gcc_cv_math_func_lroundf128+:} false; then :
28560 $as_echo_n "(cached) " >&6
28561 else
28562 if test x$gcc_no_link = xyes; then
28563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28566 /* end confdefs.h. */
28568 #ifdef HAVE_COMPLEX_H
28569 #include <complex.h>
28570 #endif
28571 #ifdef HAVE_MATH_H
28572 #include <math.h>
28573 #endif
28575 int (*ptr)() = (int (*)())lroundf128;
28578 main ()
28580 return 0;
28583 _ACEOF
28584 if ac_fn_c_try_link "$LINENO"; then :
28585 gcc_cv_math_func_lroundf128=yes
28586 else
28587 gcc_cv_math_func_lroundf128=no
28589 rm -f core conftest.err conftest.$ac_objext \
28590 conftest$ac_exeext conftest.$ac_ext
28592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28593 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28594 if test $gcc_cv_math_func_lroundf128 = yes; then
28596 cat >>confdefs.h <<_ACEOF
28597 #define HAVE_LROUNDF128 1
28598 _ACEOF
28605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28606 $as_echo_n "checking for llroundf128... " >&6; }
28607 if ${gcc_cv_math_func_llroundf128+:} false; then :
28608 $as_echo_n "(cached) " >&6
28609 else
28610 if test x$gcc_no_link = xyes; then
28611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28614 /* end confdefs.h. */
28616 #ifdef HAVE_COMPLEX_H
28617 #include <complex.h>
28618 #endif
28619 #ifdef HAVE_MATH_H
28620 #include <math.h>
28621 #endif
28623 int (*ptr)() = (int (*)())llroundf128;
28626 main ()
28628 return 0;
28631 _ACEOF
28632 if ac_fn_c_try_link "$LINENO"; then :
28633 gcc_cv_math_func_llroundf128=yes
28634 else
28635 gcc_cv_math_func_llroundf128=no
28637 rm -f core conftest.err conftest.$ac_objext \
28638 conftest$ac_exeext conftest.$ac_ext
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28641 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28642 if test $gcc_cv_math_func_llroundf128 = yes; then
28644 cat >>confdefs.h <<_ACEOF
28645 #define HAVE_LLROUNDF128 1
28646 _ACEOF
28653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28654 $as_echo_n "checking for scalbnf128... " >&6; }
28655 if ${gcc_cv_math_func_scalbnf128+:} false; then :
28656 $as_echo_n "(cached) " >&6
28657 else
28658 if test x$gcc_no_link = xyes; then
28659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28662 /* end confdefs.h. */
28664 #ifdef HAVE_COMPLEX_H
28665 #include <complex.h>
28666 #endif
28667 #ifdef HAVE_MATH_H
28668 #include <math.h>
28669 #endif
28671 int (*ptr)() = (int (*)())scalbnf128;
28674 main ()
28676 return 0;
28679 _ACEOF
28680 if ac_fn_c_try_link "$LINENO"; then :
28681 gcc_cv_math_func_scalbnf128=yes
28682 else
28683 gcc_cv_math_func_scalbnf128=no
28685 rm -f core conftest.err conftest.$ac_objext \
28686 conftest$ac_exeext conftest.$ac_ext
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28689 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28690 if test $gcc_cv_math_func_scalbnf128 = yes; then
28692 cat >>confdefs.h <<_ACEOF
28693 #define HAVE_SCALBNF128 1
28694 _ACEOF
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28702 $as_echo_n "checking for sinf128... " >&6; }
28703 if ${gcc_cv_math_func_sinf128+:} false; then :
28704 $as_echo_n "(cached) " >&6
28705 else
28706 if test x$gcc_no_link = xyes; then
28707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28710 /* end confdefs.h. */
28712 #ifdef HAVE_COMPLEX_H
28713 #include <complex.h>
28714 #endif
28715 #ifdef HAVE_MATH_H
28716 #include <math.h>
28717 #endif
28719 int (*ptr)() = (int (*)())sinf128;
28722 main ()
28724 return 0;
28727 _ACEOF
28728 if ac_fn_c_try_link "$LINENO"; then :
28729 gcc_cv_math_func_sinf128=yes
28730 else
28731 gcc_cv_math_func_sinf128=no
28733 rm -f core conftest.err conftest.$ac_objext \
28734 conftest$ac_exeext conftest.$ac_ext
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28737 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28738 if test $gcc_cv_math_func_sinf128 = yes; then
28740 cat >>confdefs.h <<_ACEOF
28741 #define HAVE_SINF128 1
28742 _ACEOF
28749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28750 $as_echo_n "checking for csinf128... " >&6; }
28751 if ${gcc_cv_math_func_csinf128+:} false; then :
28752 $as_echo_n "(cached) " >&6
28753 else
28754 if test x$gcc_no_link = xyes; then
28755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28758 /* end confdefs.h. */
28760 #ifdef HAVE_COMPLEX_H
28761 #include <complex.h>
28762 #endif
28763 #ifdef HAVE_MATH_H
28764 #include <math.h>
28765 #endif
28767 int (*ptr)() = (int (*)())csinf128;
28770 main ()
28772 return 0;
28775 _ACEOF
28776 if ac_fn_c_try_link "$LINENO"; then :
28777 gcc_cv_math_func_csinf128=yes
28778 else
28779 gcc_cv_math_func_csinf128=no
28781 rm -f core conftest.err conftest.$ac_objext \
28782 conftest$ac_exeext conftest.$ac_ext
28784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28785 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28786 if test $gcc_cv_math_func_csinf128 = yes; then
28788 cat >>confdefs.h <<_ACEOF
28789 #define HAVE_CSINF128 1
28790 _ACEOF
28797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28798 $as_echo_n "checking for sinhf128... " >&6; }
28799 if ${gcc_cv_math_func_sinhf128+:} false; then :
28800 $as_echo_n "(cached) " >&6
28801 else
28802 if test x$gcc_no_link = xyes; then
28803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28806 /* end confdefs.h. */
28808 #ifdef HAVE_COMPLEX_H
28809 #include <complex.h>
28810 #endif
28811 #ifdef HAVE_MATH_H
28812 #include <math.h>
28813 #endif
28815 int (*ptr)() = (int (*)())sinhf128;
28818 main ()
28820 return 0;
28823 _ACEOF
28824 if ac_fn_c_try_link "$LINENO"; then :
28825 gcc_cv_math_func_sinhf128=yes
28826 else
28827 gcc_cv_math_func_sinhf128=no
28829 rm -f core conftest.err conftest.$ac_objext \
28830 conftest$ac_exeext conftest.$ac_ext
28832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28833 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28834 if test $gcc_cv_math_func_sinhf128 = yes; then
28836 cat >>confdefs.h <<_ACEOF
28837 #define HAVE_SINHF128 1
28838 _ACEOF
28845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28846 $as_echo_n "checking for csinhf128... " >&6; }
28847 if ${gcc_cv_math_func_csinhf128+:} false; then :
28848 $as_echo_n "(cached) " >&6
28849 else
28850 if test x$gcc_no_link = xyes; then
28851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28854 /* end confdefs.h. */
28856 #ifdef HAVE_COMPLEX_H
28857 #include <complex.h>
28858 #endif
28859 #ifdef HAVE_MATH_H
28860 #include <math.h>
28861 #endif
28863 int (*ptr)() = (int (*)())csinhf128;
28866 main ()
28868 return 0;
28871 _ACEOF
28872 if ac_fn_c_try_link "$LINENO"; then :
28873 gcc_cv_math_func_csinhf128=yes
28874 else
28875 gcc_cv_math_func_csinhf128=no
28877 rm -f core conftest.err conftest.$ac_objext \
28878 conftest$ac_exeext conftest.$ac_ext
28880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28881 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28882 if test $gcc_cv_math_func_csinhf128 = yes; then
28884 cat >>confdefs.h <<_ACEOF
28885 #define HAVE_CSINHF128 1
28886 _ACEOF
28893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28894 $as_echo_n "checking for sqrtf128... " >&6; }
28895 if ${gcc_cv_math_func_sqrtf128+:} false; then :
28896 $as_echo_n "(cached) " >&6
28897 else
28898 if test x$gcc_no_link = xyes; then
28899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28902 /* end confdefs.h. */
28904 #ifdef HAVE_COMPLEX_H
28905 #include <complex.h>
28906 #endif
28907 #ifdef HAVE_MATH_H
28908 #include <math.h>
28909 #endif
28911 int (*ptr)() = (int (*)())sqrtf128;
28914 main ()
28916 return 0;
28919 _ACEOF
28920 if ac_fn_c_try_link "$LINENO"; then :
28921 gcc_cv_math_func_sqrtf128=yes
28922 else
28923 gcc_cv_math_func_sqrtf128=no
28925 rm -f core conftest.err conftest.$ac_objext \
28926 conftest$ac_exeext conftest.$ac_ext
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28929 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28930 if test $gcc_cv_math_func_sqrtf128 = yes; then
28932 cat >>confdefs.h <<_ACEOF
28933 #define HAVE_SQRTF128 1
28934 _ACEOF
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28942 $as_echo_n "checking for csqrtf128... " >&6; }
28943 if ${gcc_cv_math_func_csqrtf128+:} false; then :
28944 $as_echo_n "(cached) " >&6
28945 else
28946 if test x$gcc_no_link = xyes; then
28947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28950 /* end confdefs.h. */
28952 #ifdef HAVE_COMPLEX_H
28953 #include <complex.h>
28954 #endif
28955 #ifdef HAVE_MATH_H
28956 #include <math.h>
28957 #endif
28959 int (*ptr)() = (int (*)())csqrtf128;
28962 main ()
28964 return 0;
28967 _ACEOF
28968 if ac_fn_c_try_link "$LINENO"; then :
28969 gcc_cv_math_func_csqrtf128=yes
28970 else
28971 gcc_cv_math_func_csqrtf128=no
28973 rm -f core conftest.err conftest.$ac_objext \
28974 conftest$ac_exeext conftest.$ac_ext
28976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
28977 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
28978 if test $gcc_cv_math_func_csqrtf128 = yes; then
28980 cat >>confdefs.h <<_ACEOF
28981 #define HAVE_CSQRTF128 1
28982 _ACEOF
28989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
28990 $as_echo_n "checking for tanf128... " >&6; }
28991 if ${gcc_cv_math_func_tanf128+:} false; then :
28992 $as_echo_n "(cached) " >&6
28993 else
28994 if test x$gcc_no_link = xyes; then
28995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28998 /* end confdefs.h. */
29000 #ifdef HAVE_COMPLEX_H
29001 #include <complex.h>
29002 #endif
29003 #ifdef HAVE_MATH_H
29004 #include <math.h>
29005 #endif
29007 int (*ptr)() = (int (*)())tanf128;
29010 main ()
29012 return 0;
29015 _ACEOF
29016 if ac_fn_c_try_link "$LINENO"; then :
29017 gcc_cv_math_func_tanf128=yes
29018 else
29019 gcc_cv_math_func_tanf128=no
29021 rm -f core conftest.err conftest.$ac_objext \
29022 conftest$ac_exeext conftest.$ac_ext
29024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29025 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29026 if test $gcc_cv_math_func_tanf128 = yes; then
29028 cat >>confdefs.h <<_ACEOF
29029 #define HAVE_TANF128 1
29030 _ACEOF
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29038 $as_echo_n "checking for ctanf128... " >&6; }
29039 if ${gcc_cv_math_func_ctanf128+:} false; then :
29040 $as_echo_n "(cached) " >&6
29041 else
29042 if test x$gcc_no_link = xyes; then
29043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29046 /* end confdefs.h. */
29048 #ifdef HAVE_COMPLEX_H
29049 #include <complex.h>
29050 #endif
29051 #ifdef HAVE_MATH_H
29052 #include <math.h>
29053 #endif
29055 int (*ptr)() = (int (*)())ctanf128;
29058 main ()
29060 return 0;
29063 _ACEOF
29064 if ac_fn_c_try_link "$LINENO"; then :
29065 gcc_cv_math_func_ctanf128=yes
29066 else
29067 gcc_cv_math_func_ctanf128=no
29069 rm -f core conftest.err conftest.$ac_objext \
29070 conftest$ac_exeext conftest.$ac_ext
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29073 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29074 if test $gcc_cv_math_func_ctanf128 = yes; then
29076 cat >>confdefs.h <<_ACEOF
29077 #define HAVE_CTANF128 1
29078 _ACEOF
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29086 $as_echo_n "checking for tanhf128... " >&6; }
29087 if ${gcc_cv_math_func_tanhf128+:} false; then :
29088 $as_echo_n "(cached) " >&6
29089 else
29090 if test x$gcc_no_link = xyes; then
29091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29094 /* end confdefs.h. */
29096 #ifdef HAVE_COMPLEX_H
29097 #include <complex.h>
29098 #endif
29099 #ifdef HAVE_MATH_H
29100 #include <math.h>
29101 #endif
29103 int (*ptr)() = (int (*)())tanhf128;
29106 main ()
29108 return 0;
29111 _ACEOF
29112 if ac_fn_c_try_link "$LINENO"; then :
29113 gcc_cv_math_func_tanhf128=yes
29114 else
29115 gcc_cv_math_func_tanhf128=no
29117 rm -f core conftest.err conftest.$ac_objext \
29118 conftest$ac_exeext conftest.$ac_ext
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29121 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29122 if test $gcc_cv_math_func_tanhf128 = yes; then
29124 cat >>confdefs.h <<_ACEOF
29125 #define HAVE_TANHF128 1
29126 _ACEOF
29133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29134 $as_echo_n "checking for ctanhf128... " >&6; }
29135 if ${gcc_cv_math_func_ctanhf128+:} false; then :
29136 $as_echo_n "(cached) " >&6
29137 else
29138 if test x$gcc_no_link = xyes; then
29139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29142 /* end confdefs.h. */
29144 #ifdef HAVE_COMPLEX_H
29145 #include <complex.h>
29146 #endif
29147 #ifdef HAVE_MATH_H
29148 #include <math.h>
29149 #endif
29151 int (*ptr)() = (int (*)())ctanhf128;
29154 main ()
29156 return 0;
29159 _ACEOF
29160 if ac_fn_c_try_link "$LINENO"; then :
29161 gcc_cv_math_func_ctanhf128=yes
29162 else
29163 gcc_cv_math_func_ctanhf128=no
29165 rm -f core conftest.err conftest.$ac_objext \
29166 conftest$ac_exeext conftest.$ac_ext
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29169 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29170 if test $gcc_cv_math_func_ctanhf128 = yes; then
29172 cat >>confdefs.h <<_ACEOF
29173 #define HAVE_CTANHF128 1
29174 _ACEOF
29181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29182 $as_echo_n "checking for truncf128... " >&6; }
29183 if ${gcc_cv_math_func_truncf128+:} false; then :
29184 $as_echo_n "(cached) " >&6
29185 else
29186 if test x$gcc_no_link = xyes; then
29187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29190 /* end confdefs.h. */
29192 #ifdef HAVE_COMPLEX_H
29193 #include <complex.h>
29194 #endif
29195 #ifdef HAVE_MATH_H
29196 #include <math.h>
29197 #endif
29199 int (*ptr)() = (int (*)())truncf128;
29202 main ()
29204 return 0;
29207 _ACEOF
29208 if ac_fn_c_try_link "$LINENO"; then :
29209 gcc_cv_math_func_truncf128=yes
29210 else
29211 gcc_cv_math_func_truncf128=no
29213 rm -f core conftest.err conftest.$ac_objext \
29214 conftest$ac_exeext conftest.$ac_ext
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29217 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29218 if test $gcc_cv_math_func_truncf128 = yes; then
29220 cat >>confdefs.h <<_ACEOF
29221 #define HAVE_TRUNCF128 1
29222 _ACEOF
29229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29230 $as_echo_n "checking for erff128... " >&6; }
29231 if ${gcc_cv_math_func_erff128+:} false; then :
29232 $as_echo_n "(cached) " >&6
29233 else
29234 if test x$gcc_no_link = xyes; then
29235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29238 /* end confdefs.h. */
29240 #ifdef HAVE_COMPLEX_H
29241 #include <complex.h>
29242 #endif
29243 #ifdef HAVE_MATH_H
29244 #include <math.h>
29245 #endif
29247 int (*ptr)() = (int (*)())erff128;
29250 main ()
29252 return 0;
29255 _ACEOF
29256 if ac_fn_c_try_link "$LINENO"; then :
29257 gcc_cv_math_func_erff128=yes
29258 else
29259 gcc_cv_math_func_erff128=no
29261 rm -f core conftest.err conftest.$ac_objext \
29262 conftest$ac_exeext conftest.$ac_ext
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29265 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29266 if test $gcc_cv_math_func_erff128 = yes; then
29268 cat >>confdefs.h <<_ACEOF
29269 #define HAVE_ERFF128 1
29270 _ACEOF
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29278 $as_echo_n "checking for erfcf128... " >&6; }
29279 if ${gcc_cv_math_func_erfcf128+:} false; then :
29280 $as_echo_n "(cached) " >&6
29281 else
29282 if test x$gcc_no_link = xyes; then
29283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29286 /* end confdefs.h. */
29288 #ifdef HAVE_COMPLEX_H
29289 #include <complex.h>
29290 #endif
29291 #ifdef HAVE_MATH_H
29292 #include <math.h>
29293 #endif
29295 int (*ptr)() = (int (*)())erfcf128;
29298 main ()
29300 return 0;
29303 _ACEOF
29304 if ac_fn_c_try_link "$LINENO"; then :
29305 gcc_cv_math_func_erfcf128=yes
29306 else
29307 gcc_cv_math_func_erfcf128=no
29309 rm -f core conftest.err conftest.$ac_objext \
29310 conftest$ac_exeext conftest.$ac_ext
29312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29313 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29314 if test $gcc_cv_math_func_erfcf128 = yes; then
29316 cat >>confdefs.h <<_ACEOF
29317 #define HAVE_ERFCF128 1
29318 _ACEOF
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29326 $as_echo_n "checking for j0f128... " >&6; }
29327 if ${gcc_cv_math_func_j0f128+:} false; then :
29328 $as_echo_n "(cached) " >&6
29329 else
29330 if test x$gcc_no_link = xyes; then
29331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29334 /* end confdefs.h. */
29336 #ifdef HAVE_COMPLEX_H
29337 #include <complex.h>
29338 #endif
29339 #ifdef HAVE_MATH_H
29340 #include <math.h>
29341 #endif
29343 int (*ptr)() = (int (*)())j0f128;
29346 main ()
29348 return 0;
29351 _ACEOF
29352 if ac_fn_c_try_link "$LINENO"; then :
29353 gcc_cv_math_func_j0f128=yes
29354 else
29355 gcc_cv_math_func_j0f128=no
29357 rm -f core conftest.err conftest.$ac_objext \
29358 conftest$ac_exeext conftest.$ac_ext
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29361 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29362 if test $gcc_cv_math_func_j0f128 = yes; then
29364 cat >>confdefs.h <<_ACEOF
29365 #define HAVE_J0F128 1
29366 _ACEOF
29373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29374 $as_echo_n "checking for j1f128... " >&6; }
29375 if ${gcc_cv_math_func_j1f128+:} false; then :
29376 $as_echo_n "(cached) " >&6
29377 else
29378 if test x$gcc_no_link = xyes; then
29379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29382 /* end confdefs.h. */
29384 #ifdef HAVE_COMPLEX_H
29385 #include <complex.h>
29386 #endif
29387 #ifdef HAVE_MATH_H
29388 #include <math.h>
29389 #endif
29391 int (*ptr)() = (int (*)())j1f128;
29394 main ()
29396 return 0;
29399 _ACEOF
29400 if ac_fn_c_try_link "$LINENO"; then :
29401 gcc_cv_math_func_j1f128=yes
29402 else
29403 gcc_cv_math_func_j1f128=no
29405 rm -f core conftest.err conftest.$ac_objext \
29406 conftest$ac_exeext conftest.$ac_ext
29408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29409 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29410 if test $gcc_cv_math_func_j1f128 = yes; then
29412 cat >>confdefs.h <<_ACEOF
29413 #define HAVE_J1F128 1
29414 _ACEOF
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29422 $as_echo_n "checking for jnf128... " >&6; }
29423 if ${gcc_cv_math_func_jnf128+:} false; then :
29424 $as_echo_n "(cached) " >&6
29425 else
29426 if test x$gcc_no_link = xyes; then
29427 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29430 /* end confdefs.h. */
29432 #ifdef HAVE_COMPLEX_H
29433 #include <complex.h>
29434 #endif
29435 #ifdef HAVE_MATH_H
29436 #include <math.h>
29437 #endif
29439 int (*ptr)() = (int (*)())jnf128;
29442 main ()
29444 return 0;
29447 _ACEOF
29448 if ac_fn_c_try_link "$LINENO"; then :
29449 gcc_cv_math_func_jnf128=yes
29450 else
29451 gcc_cv_math_func_jnf128=no
29453 rm -f core conftest.err conftest.$ac_objext \
29454 conftest$ac_exeext conftest.$ac_ext
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29457 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29458 if test $gcc_cv_math_func_jnf128 = yes; then
29460 cat >>confdefs.h <<_ACEOF
29461 #define HAVE_JNF128 1
29462 _ACEOF
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29470 $as_echo_n "checking for y0f128... " >&6; }
29471 if ${gcc_cv_math_func_y0f128+:} false; then :
29472 $as_echo_n "(cached) " >&6
29473 else
29474 if test x$gcc_no_link = xyes; then
29475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29478 /* end confdefs.h. */
29480 #ifdef HAVE_COMPLEX_H
29481 #include <complex.h>
29482 #endif
29483 #ifdef HAVE_MATH_H
29484 #include <math.h>
29485 #endif
29487 int (*ptr)() = (int (*)())y0f128;
29490 main ()
29492 return 0;
29495 _ACEOF
29496 if ac_fn_c_try_link "$LINENO"; then :
29497 gcc_cv_math_func_y0f128=yes
29498 else
29499 gcc_cv_math_func_y0f128=no
29501 rm -f core conftest.err conftest.$ac_objext \
29502 conftest$ac_exeext conftest.$ac_ext
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29505 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29506 if test $gcc_cv_math_func_y0f128 = yes; then
29508 cat >>confdefs.h <<_ACEOF
29509 #define HAVE_Y0F128 1
29510 _ACEOF
29517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29518 $as_echo_n "checking for y1f128... " >&6; }
29519 if ${gcc_cv_math_func_y1f128+:} false; then :
29520 $as_echo_n "(cached) " >&6
29521 else
29522 if test x$gcc_no_link = xyes; then
29523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29526 /* end confdefs.h. */
29528 #ifdef HAVE_COMPLEX_H
29529 #include <complex.h>
29530 #endif
29531 #ifdef HAVE_MATH_H
29532 #include <math.h>
29533 #endif
29535 int (*ptr)() = (int (*)())y1f128;
29538 main ()
29540 return 0;
29543 _ACEOF
29544 if ac_fn_c_try_link "$LINENO"; then :
29545 gcc_cv_math_func_y1f128=yes
29546 else
29547 gcc_cv_math_func_y1f128=no
29549 rm -f core conftest.err conftest.$ac_objext \
29550 conftest$ac_exeext conftest.$ac_ext
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29553 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29554 if test $gcc_cv_math_func_y1f128 = yes; then
29556 cat >>confdefs.h <<_ACEOF
29557 #define HAVE_Y1F128 1
29558 _ACEOF
29565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29566 $as_echo_n "checking for ynf128... " >&6; }
29567 if ${gcc_cv_math_func_ynf128+:} false; then :
29568 $as_echo_n "(cached) " >&6
29569 else
29570 if test x$gcc_no_link = xyes; then
29571 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29574 /* end confdefs.h. */
29576 #ifdef HAVE_COMPLEX_H
29577 #include <complex.h>
29578 #endif
29579 #ifdef HAVE_MATH_H
29580 #include <math.h>
29581 #endif
29583 int (*ptr)() = (int (*)())ynf128;
29586 main ()
29588 return 0;
29591 _ACEOF
29592 if ac_fn_c_try_link "$LINENO"; then :
29593 gcc_cv_math_func_ynf128=yes
29594 else
29595 gcc_cv_math_func_ynf128=no
29597 rm -f core conftest.err conftest.$ac_objext \
29598 conftest$ac_exeext conftest.$ac_ext
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29601 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29602 if test $gcc_cv_math_func_ynf128 = yes; then
29604 cat >>confdefs.h <<_ACEOF
29605 #define HAVE_YNF128 1
29606 _ACEOF
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29614 $as_echo_n "checking for tgammaf128... " >&6; }
29615 if ${gcc_cv_math_func_tgammaf128+:} false; then :
29616 $as_echo_n "(cached) " >&6
29617 else
29618 if test x$gcc_no_link = xyes; then
29619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29622 /* end confdefs.h. */
29624 #ifdef HAVE_COMPLEX_H
29625 #include <complex.h>
29626 #endif
29627 #ifdef HAVE_MATH_H
29628 #include <math.h>
29629 #endif
29631 int (*ptr)() = (int (*)())tgammaf128;
29634 main ()
29636 return 0;
29639 _ACEOF
29640 if ac_fn_c_try_link "$LINENO"; then :
29641 gcc_cv_math_func_tgammaf128=yes
29642 else
29643 gcc_cv_math_func_tgammaf128=no
29645 rm -f core conftest.err conftest.$ac_objext \
29646 conftest$ac_exeext conftest.$ac_ext
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29649 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29650 if test $gcc_cv_math_func_tgammaf128 = yes; then
29652 cat >>confdefs.h <<_ACEOF
29653 #define HAVE_TGAMMAF128 1
29654 _ACEOF
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29662 $as_echo_n "checking for lgammaf128... " >&6; }
29663 if ${gcc_cv_math_func_lgammaf128+:} false; then :
29664 $as_echo_n "(cached) " >&6
29665 else
29666 if test x$gcc_no_link = xyes; then
29667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29670 /* end confdefs.h. */
29672 #ifdef HAVE_COMPLEX_H
29673 #include <complex.h>
29674 #endif
29675 #ifdef HAVE_MATH_H
29676 #include <math.h>
29677 #endif
29679 int (*ptr)() = (int (*)())lgammaf128;
29682 main ()
29684 return 0;
29687 _ACEOF
29688 if ac_fn_c_try_link "$LINENO"; then :
29689 gcc_cv_math_func_lgammaf128=yes
29690 else
29691 gcc_cv_math_func_lgammaf128=no
29693 rm -f core conftest.err conftest.$ac_objext \
29694 conftest$ac_exeext conftest.$ac_ext
29696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29697 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29698 if test $gcc_cv_math_func_lgammaf128 = yes; then
29700 cat >>confdefs.h <<_ACEOF
29701 #define HAVE_LGAMMAF128 1
29702 _ACEOF
29710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29711 $as_echo_n "checking for cacosf128... " >&6; }
29712 if ${gcc_cv_math_func_cacosf128+:} false; then :
29713 $as_echo_n "(cached) " >&6
29714 else
29715 if test x$gcc_no_link = xyes; then
29716 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29719 /* end confdefs.h. */
29721 #ifdef HAVE_COMPLEX_H
29722 #include <complex.h>
29723 #endif
29724 #ifdef HAVE_MATH_H
29725 #include <math.h>
29726 #endif
29728 int (*ptr)() = (int (*)())cacosf128;
29731 main ()
29733 return 0;
29736 _ACEOF
29737 if ac_fn_c_try_link "$LINENO"; then :
29738 gcc_cv_math_func_cacosf128=yes
29739 else
29740 gcc_cv_math_func_cacosf128=no
29742 rm -f core conftest.err conftest.$ac_objext \
29743 conftest$ac_exeext conftest.$ac_ext
29745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29746 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29747 if test $gcc_cv_math_func_cacosf128 = yes; then
29749 cat >>confdefs.h <<_ACEOF
29750 #define HAVE_CACOSF128 1
29751 _ACEOF
29758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29759 $as_echo_n "checking for cacoshf128... " >&6; }
29760 if ${gcc_cv_math_func_cacoshf128+:} false; then :
29761 $as_echo_n "(cached) " >&6
29762 else
29763 if test x$gcc_no_link = xyes; then
29764 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29767 /* end confdefs.h. */
29769 #ifdef HAVE_COMPLEX_H
29770 #include <complex.h>
29771 #endif
29772 #ifdef HAVE_MATH_H
29773 #include <math.h>
29774 #endif
29776 int (*ptr)() = (int (*)())cacoshf128;
29779 main ()
29781 return 0;
29784 _ACEOF
29785 if ac_fn_c_try_link "$LINENO"; then :
29786 gcc_cv_math_func_cacoshf128=yes
29787 else
29788 gcc_cv_math_func_cacoshf128=no
29790 rm -f core conftest.err conftest.$ac_objext \
29791 conftest$ac_exeext conftest.$ac_ext
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29794 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29795 if test $gcc_cv_math_func_cacoshf128 = yes; then
29797 cat >>confdefs.h <<_ACEOF
29798 #define HAVE_CACOSHF128 1
29799 _ACEOF
29806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29807 $as_echo_n "checking for casinf128... " >&6; }
29808 if ${gcc_cv_math_func_casinf128+:} false; then :
29809 $as_echo_n "(cached) " >&6
29810 else
29811 if test x$gcc_no_link = xyes; then
29812 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29815 /* end confdefs.h. */
29817 #ifdef HAVE_COMPLEX_H
29818 #include <complex.h>
29819 #endif
29820 #ifdef HAVE_MATH_H
29821 #include <math.h>
29822 #endif
29824 int (*ptr)() = (int (*)())casinf128;
29827 main ()
29829 return 0;
29832 _ACEOF
29833 if ac_fn_c_try_link "$LINENO"; then :
29834 gcc_cv_math_func_casinf128=yes
29835 else
29836 gcc_cv_math_func_casinf128=no
29838 rm -f core conftest.err conftest.$ac_objext \
29839 conftest$ac_exeext conftest.$ac_ext
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29842 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29843 if test $gcc_cv_math_func_casinf128 = yes; then
29845 cat >>confdefs.h <<_ACEOF
29846 #define HAVE_CASINF128 1
29847 _ACEOF
29854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29855 $as_echo_n "checking for casinhf128... " >&6; }
29856 if ${gcc_cv_math_func_casinhf128+:} false; then :
29857 $as_echo_n "(cached) " >&6
29858 else
29859 if test x$gcc_no_link = xyes; then
29860 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29863 /* end confdefs.h. */
29865 #ifdef HAVE_COMPLEX_H
29866 #include <complex.h>
29867 #endif
29868 #ifdef HAVE_MATH_H
29869 #include <math.h>
29870 #endif
29872 int (*ptr)() = (int (*)())casinhf128;
29875 main ()
29877 return 0;
29880 _ACEOF
29881 if ac_fn_c_try_link "$LINENO"; then :
29882 gcc_cv_math_func_casinhf128=yes
29883 else
29884 gcc_cv_math_func_casinhf128=no
29886 rm -f core conftest.err conftest.$ac_objext \
29887 conftest$ac_exeext conftest.$ac_ext
29889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29890 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29891 if test $gcc_cv_math_func_casinhf128 = yes; then
29893 cat >>confdefs.h <<_ACEOF
29894 #define HAVE_CASINHF128 1
29895 _ACEOF
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29903 $as_echo_n "checking for catanf128... " >&6; }
29904 if ${gcc_cv_math_func_catanf128+:} false; then :
29905 $as_echo_n "(cached) " >&6
29906 else
29907 if test x$gcc_no_link = xyes; then
29908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29911 /* end confdefs.h. */
29913 #ifdef HAVE_COMPLEX_H
29914 #include <complex.h>
29915 #endif
29916 #ifdef HAVE_MATH_H
29917 #include <math.h>
29918 #endif
29920 int (*ptr)() = (int (*)())catanf128;
29923 main ()
29925 return 0;
29928 _ACEOF
29929 if ac_fn_c_try_link "$LINENO"; then :
29930 gcc_cv_math_func_catanf128=yes
29931 else
29932 gcc_cv_math_func_catanf128=no
29934 rm -f core conftest.err conftest.$ac_objext \
29935 conftest$ac_exeext conftest.$ac_ext
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29938 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29939 if test $gcc_cv_math_func_catanf128 = yes; then
29941 cat >>confdefs.h <<_ACEOF
29942 #define HAVE_CATANF128 1
29943 _ACEOF
29950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29951 $as_echo_n "checking for catanhf128... " >&6; }
29952 if ${gcc_cv_math_func_catanhf128+:} false; then :
29953 $as_echo_n "(cached) " >&6
29954 else
29955 if test x$gcc_no_link = xyes; then
29956 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29959 /* end confdefs.h. */
29961 #ifdef HAVE_COMPLEX_H
29962 #include <complex.h>
29963 #endif
29964 #ifdef HAVE_MATH_H
29965 #include <math.h>
29966 #endif
29968 int (*ptr)() = (int (*)())catanhf128;
29971 main ()
29973 return 0;
29976 _ACEOF
29977 if ac_fn_c_try_link "$LINENO"; then :
29978 gcc_cv_math_func_catanhf128=yes
29979 else
29980 gcc_cv_math_func_catanhf128=no
29982 rm -f core conftest.err conftest.$ac_objext \
29983 conftest$ac_exeext conftest.$ac_ext
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
29986 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
29987 if test $gcc_cv_math_func_catanhf128 = yes; then
29989 cat >>confdefs.h <<_ACEOF
29990 #define HAVE_CATANHF128 1
29991 _ACEOF
29996 # Check whether the system has a working stat()
29998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
29999 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30000 if ${libgfor_cv_have_working_stat+:} false; then :
30001 $as_echo_n "(cached) " >&6
30002 else
30004 if test "$cross_compiling" = yes; then :
30006 case "${target}" in
30007 *mingw*) libgfor_cv_have_working_stat=no ;;
30008 *) libgfor_cv_have_working_stat=yes;;
30009 esac
30010 else
30011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30012 /* end confdefs.h. */
30014 #include <stdio.h>
30015 #include <sys/types.h>
30016 #include <sys/stat.h>
30017 #include <unistd.h>
30019 int main ()
30021 FILE *f, *g;
30022 struct stat st1, st2;
30024 f = fopen ("foo", "w");
30025 g = fopen ("bar", "w");
30026 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30027 return 1;
30028 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30029 return 1;
30030 fclose(f);
30031 fclose(g);
30032 return 0;
30034 _ACEOF
30035 if ac_fn_c_try_run "$LINENO"; then :
30036 libgfor_cv_have_working_stat=yes
30037 else
30038 libgfor_cv_have_working_stat=no
30040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30041 conftest.$ac_objext conftest.beam conftest.$ac_ext
30045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30046 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30047 if test x"$libgfor_cv_have_working_stat" = xyes; then
30049 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30053 # Check whether __mingw_snprintf() is present
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30056 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30057 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
30058 $as_echo_n "(cached) " >&6
30059 else
30061 if test x$gcc_no_link = xyes; then
30062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30065 /* end confdefs.h. */
30067 #include <stdio.h>
30068 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30071 main ()
30074 __mingw_snprintf (NULL, 0, "%d\n", 1);
30077 return 0;
30079 _ACEOF
30080 if ac_fn_c_try_link "$LINENO"; then :
30081 eval "libgfor_cv_have_mingw_snprintf=yes"
30082 else
30083 eval "libgfor_cv_have_mingw_snprintf=no"
30085 rm -f core conftest.err conftest.$ac_objext \
30086 conftest$ac_exeext conftest.$ac_ext
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30090 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30091 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
30093 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30098 have_iec_60559_libc_support=no
30099 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30100 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then
30101 have_iec_60559_libc_support=yes
30104 # Check whether libquadmath should be used
30105 # Check whether --enable-libquadmath-support was given.
30106 if test "${enable_libquadmath_support+set}" = set; then :
30107 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
30108 else
30109 if test "x$have_iec_60559_libc_support" = xyes; then
30110 ENABLE_LIBQUADMATH_SUPPORT=default
30111 else
30112 ENABLE_LIBQUADMATH_SUPPORT=yes
30116 enable_libquadmath_support=
30117 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30118 enable_libquadmath_support=no
30119 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30120 enable_libquadmath_support=default
30123 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30124 # and have_iec_60559_libc_support.
30126 LIBQUADSPEC=
30127 LIBQUADLIB=
30128 LIBQUADLIB_DEP=
30129 LIBQUADINCLUDE=
30130 USE_IEC_60559=no
30132 if test "x$enable_libquadmath_support" != xno; then
30134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30135 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30136 if ${libgfor_cv_have_float128+:} false; then :
30137 $as_echo_n "(cached) " >&6
30138 else
30140 if test x$gcc_no_link = xyes; then
30141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30142 /* end confdefs.h. */
30144 _Float128 foo (_Float128 x)
30146 _Complex _Float128 z1, z2;
30148 z1 = x;
30149 z2 = x / 7.F128;
30150 z2 /= z1;
30152 return (_Float128) z2;
30155 _Float128 bar (_Float128 x)
30157 return x * __builtin_huge_valf128 ();
30160 __float128 baz (__float128 x)
30162 return x * __builtin_huge_valf128 ();
30166 main ()
30169 foo (1.2F128);
30170 bar (1.2F128);
30171 baz (1.2F128);
30172 foo (1.2Q);
30173 bar (1.2Q);
30174 baz (1.2Q);
30177 return 0;
30179 _ACEOF
30180 if ac_fn_c_try_compile "$LINENO"; then :
30182 libgfor_cv_have_float128=yes
30184 else
30186 libgfor_cv_have_float128=no
30189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30190 else
30191 if test x$gcc_no_link = xyes; then
30192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30195 /* end confdefs.h. */
30197 _Float128 foo (_Float128 x)
30199 _Complex _Float128 z1, z2;
30201 z1 = x;
30202 z2 = x / 7.F128;
30203 z2 /= z1;
30205 return (_Float128) z2;
30208 _Float128 bar (_Float128 x)
30210 return x * __builtin_huge_valf128 ();
30213 __float128 baz (__float128 x)
30215 return x * __builtin_huge_valf128 ();
30219 main ()
30222 foo (1.2F128);
30223 bar (1.2F128);
30224 baz (1.2F128);
30225 foo (1.2Q);
30226 bar (1.2Q);
30227 baz (1.2Q);
30230 return 0;
30232 _ACEOF
30233 if ac_fn_c_try_link "$LINENO"; then :
30235 libgfor_cv_have_float128=yes
30237 else
30239 libgfor_cv_have_float128=no
30242 rm -f core conftest.err conftest.$ac_objext \
30243 conftest$ac_exeext conftest.$ac_ext
30246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30247 $as_echo "$libgfor_cv_have_float128" >&6; }
30249 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then
30250 USE_IEC_60559=yes
30254 if test "x$libgfor_cv_have_float128" = xyes; then
30255 if test "x$USE_IEC_60559" = xyes; then
30257 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30261 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30264 ac_xsave_c_werror_flag=$ac_c_werror_flag
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30266 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30267 if ${libgfor_cv_have_as_needed+:} false; then :
30268 $as_echo_n "(cached) " >&6
30269 else
30271 # Test for native Solaris options first.
30272 # No whitespace after -z to pass it through -Wl.
30273 libgfor_cv_as_needed_option="-zignore"
30274 libgfor_cv_no_as_needed_option="-zrecord"
30275 save_LDFLAGS="$LDFLAGS"
30276 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30277 libgfor_cv_have_as_needed=no
30279 ac_c_werror_flag=yes
30280 if test x$gcc_no_link = xyes; then
30281 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30284 /* end confdefs.h. */
30287 main ()
30291 return 0;
30293 _ACEOF
30294 if ac_fn_c_try_link "$LINENO"; then :
30295 libgfor_cv_have_as_needed=yes
30296 else
30297 libgfor_cv_have_as_needed=no
30299 rm -f core conftest.err conftest.$ac_objext \
30300 conftest$ac_exeext conftest.$ac_ext
30301 LDFLAGS="$save_LDFLAGS"
30302 if test "x$libgfor_cv_have_as_needed" = xno; then
30303 libgfor_cv_as_needed_option="--as-needed"
30304 libgfor_cv_no_as_needed_option="--no-as-needed"
30305 save_LDFLAGS="$LDFLAGS"
30306 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30307 libgfor_cv_have_as_needed=no
30309 ac_c_werror_flag=yes
30310 if test x$gcc_no_link = xyes; then
30311 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30314 /* end confdefs.h. */
30317 main ()
30321 return 0;
30323 _ACEOF
30324 if ac_fn_c_try_link "$LINENO"; then :
30325 libgfor_cv_have_as_needed=yes
30326 else
30327 libgfor_cv_have_as_needed=no
30329 rm -f core conftest.err conftest.$ac_objext \
30330 conftest$ac_exeext conftest.$ac_ext
30331 LDFLAGS="$save_LDFLAGS"
30333 ac_c_werror_flag=$ac_xsave_c_werror_flag
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30337 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30339 touch conftest1.$ac_objext conftest2.$ac_objext
30340 LQUADMATH=-lquadmath
30341 $FC -static-libgfortran -### -o conftest \
30342 conftest1.$ac_objext -lgfortran conftest2.$ac_objext 2>&1 >/dev/null \
30343 | grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30344 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30345 conftest.cmd >/dev/null 2>&1; then
30346 LQUADMATH="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30347 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30348 conftest.cmd >/dev/null 2>&1; then
30349 LQUADMATH="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30350 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30351 conftest.cmd >/dev/null 2>&1; then
30352 LQUADMATH="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30353 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30354 conftest.cmd >/dev/null 2>&1; then
30355 LQUADMATH="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30357 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest conftest.cmd
30359 if test "x$libgfor_cv_have_as_needed" = xyes; then
30360 if test "x$USE_IEC_60559" = xyes; then
30361 LIBQUADSPEC="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30362 else
30363 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30365 else
30366 LIBQUADSPEC="$LQUADMATH"
30368 if test "x$USE_IEC_60559" != xyes; then
30369 if test -f ../libquadmath/libquadmath.la; then
30370 LIBQUADLIB=../libquadmath/libquadmath.la
30371 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
30372 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
30373 else
30374 LIBQUADLIB="-lquadmath"
30377 else
30378 USE_IEC_60559=no
30389 # Check for GNU libc feenableexcept
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30391 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30392 if ${ac_cv_lib_m_feenableexcept+:} false; then :
30393 $as_echo_n "(cached) " >&6
30394 else
30395 ac_check_lib_save_LIBS=$LIBS
30396 LIBS="-lm $LIBS"
30397 if test x$gcc_no_link = xyes; then
30398 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30401 /* end confdefs.h. */
30403 /* Override any GCC internal prototype to avoid an error.
30404 Use char because int might match the return type of a GCC
30405 builtin and then its argument prototype would still apply. */
30406 #ifdef __cplusplus
30407 extern "C"
30408 #endif
30409 char feenableexcept ();
30411 main ()
30413 return feenableexcept ();
30415 return 0;
30417 _ACEOF
30418 if ac_fn_c_try_link "$LINENO"; then :
30419 ac_cv_lib_m_feenableexcept=yes
30420 else
30421 ac_cv_lib_m_feenableexcept=no
30423 rm -f core conftest.err conftest.$ac_objext \
30424 conftest$ac_exeext conftest.$ac_ext
30425 LIBS=$ac_check_lib_save_LIBS
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30428 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30429 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
30430 have_feenableexcept=yes
30431 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30436 # At least for glibc, clock_gettime is in librt. But don't
30437 # pull that in if it still doesn't give us the function we want. This
30438 # test is copied from libgomp, and modified to not link in -lrt as
30439 # libgfortran calls clock_gettime via a weak reference if it's found
30440 # in librt.
30441 if test "$ac_cv_func_clock_gettime" = no; then
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30443 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30444 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
30445 $as_echo_n "(cached) " >&6
30446 else
30447 ac_check_lib_save_LIBS=$LIBS
30448 LIBS="-lrt $LIBS"
30449 if test x$gcc_no_link = xyes; then
30450 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30453 /* end confdefs.h. */
30455 /* Override any GCC internal prototype to avoid an error.
30456 Use char because int might match the return type of a GCC
30457 builtin and then its argument prototype would still apply. */
30458 #ifdef __cplusplus
30459 extern "C"
30460 #endif
30461 char clock_gettime ();
30463 main ()
30465 return clock_gettime ();
30467 return 0;
30469 _ACEOF
30470 if ac_fn_c_try_link "$LINENO"; then :
30471 ac_cv_lib_rt_clock_gettime=yes
30472 else
30473 ac_cv_lib_rt_clock_gettime=no
30475 rm -f core conftest.err conftest.$ac_objext \
30476 conftest$ac_exeext conftest.$ac_ext
30477 LIBS=$ac_check_lib_save_LIBS
30479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30480 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30481 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
30483 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30489 # Check for SysV fpsetmask
30491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30492 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30493 if ${libgfor_cv_have_fpsetmask+:} false; then :
30494 $as_echo_n "(cached) " >&6
30495 else
30497 if test x$gcc_no_link = xyes; then
30498 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30501 /* end confdefs.h. */
30503 #if HAVE_FLOATINGPOINT_H
30504 # include <floatingpoint.h>
30505 #endif /* HAVE_FLOATINGPOINT_H */
30506 #if HAVE_IEEEFP_H
30507 # include <ieeefp.h>
30508 #endif /* HAVE_IEEEFP_H */
30510 main ()
30512 fpsetmask(0);
30514 return 0;
30516 _ACEOF
30517 if ac_fn_c_try_link "$LINENO"; then :
30518 eval "libgfor_cv_have_fpsetmask=yes"
30519 else
30520 eval "libgfor_cv_have_fpsetmask=no"
30522 rm -f core conftest.err conftest.$ac_objext \
30523 conftest$ac_exeext conftest.$ac_ext
30526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30527 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30528 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
30529 have_fpsetmask=yes
30531 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30535 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
30536 #ifdef HAVE_IEEEFP_H
30537 #include <ieeefp.h>
30538 #endif
30539 #include <math.h>
30542 if test "x$ac_cv_type_fp_except" = xyes; then :
30544 cat >>confdefs.h <<_ACEOF
30545 #define HAVE_FP_EXCEPT 1
30546 _ACEOF
30550 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30551 #ifdef HAVE_IEEEFP_H
30552 #include <ieeefp.h>
30553 #endif
30554 #include <math.h>
30557 if test "x$ac_cv_type_fp_except_t" = xyes; then :
30559 cat >>confdefs.h <<_ACEOF
30560 #define HAVE_FP_EXCEPT_T 1
30561 _ACEOF
30566 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30567 #ifdef HAVE_IEEEFP_H
30568 #include <ieeefp.h>
30569 #endif
30570 #include <math.h>
30573 if test "x$ac_cv_type_fp_rnd" = xyes; then :
30575 cat >>confdefs.h <<_ACEOF
30576 #define HAVE_FP_RND 1
30577 _ACEOF
30581 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30582 #ifdef HAVE_IEEEFP_H
30583 #include <ieeefp.h>
30584 #endif
30585 #include <math.h>
30588 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
30590 cat >>confdefs.h <<_ACEOF
30591 #define HAVE_FP_RND_T 1
30592 _ACEOF
30598 # Check whether we have fpsetsticky or fpresetsticky
30599 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30600 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
30601 have_fpsetsticky=yes
30602 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30606 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30607 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
30608 have_fpresetsticky=yes
30609 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30614 # Check for AIX fp_trap and fp_enable
30615 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30616 if test "x$ac_cv_func_fp_trap" = xyes; then :
30617 have_fp_trap=yes
30618 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30622 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30623 if test "x$ac_cv_func_fp_enable" = xyes; then :
30624 have_fp_enable=yes
30625 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30630 # Check if _SOFT_FLOAT is defined
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30633 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30634 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
30635 $as_echo_n "(cached) " >&6
30636 else
30637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30638 /* end confdefs.h. */
30641 main ()
30644 #ifdef _SOFT_FLOAT
30645 int ok;
30646 #else
30647 choke me
30648 #endif
30651 return 0;
30653 _ACEOF
30654 if ac_fn_c_try_compile "$LINENO"; then :
30655 ac_cv_defined__SOFT_FLOAT=yes
30656 else
30657 ac_cv_defined__SOFT_FLOAT=no
30659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30662 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30663 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30664 have_soft_float=yes
30667 # Runs configure.host to set up necessary host-dependent shell variables.
30668 # We then display a message about it, and propagate them through the
30669 # build chain.
30670 . ${srcdir}/configure.host
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30672 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30673 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30674 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30675 FPU_HOST_HEADER=config/${fpu_host}.h
30678 # Whether we will build the IEEE modules
30679 if test x${ieee_support} = xyes; then
30680 IEEE_SUPPORT_TRUE=
30681 IEEE_SUPPORT_FALSE='#'
30682 else
30683 IEEE_SUPPORT_TRUE='#'
30684 IEEE_SUPPORT_FALSE=
30689 # Some targets require additional compiler options for IEEE compatibility.
30690 IEEE_FLAGS="${ieee_flags}"
30693 # Conditionalize the makefile for this target machine.
30694 tmake_file_=
30695 for f in ${tmake_file}
30697 if test -f ${srcdir}/config/$f
30698 then
30699 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
30701 done
30702 tmake_file="${tmake_file_}"
30706 # Check for POSIX getpwuid_r
30708 # There are two versions of getpwuid_r, the POSIX one with 5
30709 # arguments, and another one with 4 arguments used by at least HP-UX
30710 # 10.2.
30711 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30713 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30714 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
30715 $as_echo_n "(cached) " >&6
30716 else
30718 if test x$gcc_no_link = xyes; then
30719 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30724 #include <stdio.h>
30725 #include <sys/types.h>
30726 #include <pwd.h>
30728 main ()
30731 getpwuid_r(0, NULL, NULL, 0, NULL);
30734 return 0;
30736 _ACEOF
30737 if ac_fn_c_try_link "$LINENO"; then :
30738 libgfor_cv_posix_getpwuid_r="yes"
30739 else
30740 libgfor_cv_posix_getpwuid_r="no"
30742 rm -f core conftest.err conftest.$ac_objext \
30743 conftest$ac_exeext conftest.$ac_ext
30745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30746 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30748 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30750 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30755 # Check out attribute support.
30757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30758 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30759 if ${libgfor_cv_have_attribute_visibility+:} false; then :
30760 $as_echo_n "(cached) " >&6
30761 else
30763 save_CFLAGS="$CFLAGS"
30764 CFLAGS="$CFLAGS -Werror"
30765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30766 /* end confdefs.h. */
30767 void __attribute__((visibility("hidden"))) foo(void) { }
30769 main ()
30773 return 0;
30775 _ACEOF
30776 if ac_fn_c_try_compile "$LINENO"; then :
30777 libgfor_cv_have_attribute_visibility=yes
30778 else
30779 libgfor_cv_have_attribute_visibility=no
30781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30782 CFLAGS="$save_CFLAGS"
30784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30785 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30786 if test $libgfor_cv_have_attribute_visibility = yes; then
30788 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30793 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30794 if ${libgfor_cv_have_attribute_alias+:} false; then :
30795 $as_echo_n "(cached) " >&6
30796 else
30798 if test x$gcc_no_link = xyes; then
30799 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30802 /* end confdefs.h. */
30804 void foo(void) { }
30805 extern void bar(void) __attribute__((alias("foo")));
30807 main ()
30809 bar();
30811 return 0;
30813 _ACEOF
30814 if ac_fn_c_try_link "$LINENO"; then :
30815 libgfor_cv_have_attribute_alias=yes
30816 else
30817 libgfor_cv_have_attribute_alias=no
30819 rm -f core conftest.err conftest.$ac_objext \
30820 conftest$ac_exeext conftest.$ac_ext
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30823 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30824 if test $libgfor_cv_have_attribute_alias = yes; then
30826 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30830 # Check out atomic builtins support.
30832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30833 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30834 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
30835 $as_echo_n "(cached) " >&6
30836 else
30838 if test x$gcc_no_link = xyes; then
30839 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30842 /* end confdefs.h. */
30843 int foovar = 0;
30845 main ()
30848 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30849 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30851 return 0;
30853 _ACEOF
30854 if ac_fn_c_try_link "$LINENO"; then :
30855 libgfor_cv_have_atomic_fetch_add=yes
30856 else
30857 libgfor_cv_have_atomic_fetch_add=no
30859 rm -f core conftest.err conftest.$ac_objext \
30860 conftest$ac_exeext conftest.$ac_ext
30862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30863 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30864 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30866 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30870 # Check out #pragma weak.
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30873 $as_echo_n "checking whether pragma weak works... " >&6; }
30874 if ${libgfor_cv_have_pragma_weak+:} false; then :
30875 $as_echo_n "(cached) " >&6
30876 else
30878 gfor_save_CFLAGS="$CFLAGS"
30879 CFLAGS="$CFLAGS -Wunknown-pragmas"
30880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30881 /* end confdefs.h. */
30883 void foo (void);
30884 #pragma weak foo
30887 main ()
30889 if (foo) foo ();
30891 return 0;
30893 _ACEOF
30894 if ac_fn_c_try_compile "$LINENO"; then :
30895 libgfor_cv_have_pragma_weak=yes
30896 else
30897 libgfor_cv_have_pragma_weak=no
30899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30902 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30903 if test $libgfor_cv_have_pragma_weak = yes; then
30905 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30908 case "$host" in
30909 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
30911 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30914 esac
30916 # Check out weakref support.
30918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30919 $as_echo_n "checking whether the target supports weakref... " >&6; }
30920 if ${libgfor_cv_have_weakref+:} false; then :
30921 $as_echo_n "(cached) " >&6
30922 else
30924 save_CFLAGS="$CFLAGS"
30925 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
30926 if test x$gcc_no_link = xyes; then
30927 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30930 /* end confdefs.h. */
30932 static int mytoto (int) __attribute__((__weakref__("toto")));
30935 main ()
30937 return (mytoto != 0);
30939 return 0;
30941 _ACEOF
30942 if ac_fn_c_try_link "$LINENO"; then :
30943 libgfor_cv_have_weakref=yes
30944 else
30945 libgfor_cv_have_weakref=no
30947 rm -f core conftest.err conftest.$ac_objext \
30948 conftest$ac_exeext conftest.$ac_ext
30949 CFLAGS="$save_CFLAGS"
30951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30952 $as_echo "$libgfor_cv_have_weakref" >&6; }
30953 if test $libgfor_cv_have_weakref = yes; then
30955 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30959 # Various other checks on target
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
30962 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
30963 if ${libgfor_cv_have_unlink_open_file+:} false; then :
30964 $as_echo_n "(cached) " >&6
30965 else
30967 if test "$cross_compiling" = yes; then :
30969 case "${target}" in
30970 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
30971 *) libgfor_cv_have_unlink_open_file=yes;;
30972 esac
30973 else
30974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30975 /* end confdefs.h. */
30977 #include <errno.h>
30978 #include <fcntl.h>
30979 #include <unistd.h>
30980 #include <sys/stat.h>
30982 int main ()
30984 int fd;
30986 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
30987 if (fd <= 0)
30988 return 0;
30989 if (unlink ("testfile") == -1)
30990 return 1;
30991 write (fd, "This is a test\n", 15);
30992 close (fd);
30994 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
30995 return 0;
30996 else
30997 return 1;
30999 _ACEOF
31000 if ac_fn_c_try_run "$LINENO"; then :
31001 libgfor_cv_have_unlink_open_file=yes
31002 else
31003 libgfor_cv_have_unlink_open_file=no
31005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31006 conftest.$ac_objext conftest.beam conftest.$ac_ext
31010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31011 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31012 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
31014 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31018 # Check whether line terminator is LF or CRLF
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31021 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31022 if ${libgfor_cv_have_crlf+:} false; then :
31023 $as_echo_n "(cached) " >&6
31024 else
31026 if test "$cross_compiling" = yes; then :
31028 case "${target}" in
31029 *mingw*) libgfor_cv_have_crlf=yes ;;
31030 *) libgfor_cv_have_crlf=no;;
31031 esac
31032 else
31033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31034 /* end confdefs.h. */
31036 /* This test program should exit with status 0 if system uses a CRLF as
31037 line terminator, and status 1 otherwise.
31038 Since it is used to check for mingw systems, and should return 0 in any
31039 other case, in case of a failure we will not use CRLF. */
31040 #include <sys/stat.h>
31041 #include <stdlib.h>
31042 #include <fcntl.h>
31043 #include <stdio.h>
31045 int main ()
31047 #ifndef O_BINARY
31048 exit(1);
31049 #else
31050 int fd, bytes;
31051 char buff[5];
31053 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31054 if (fd < 0)
31055 exit(1);
31056 if (write (fd, "\n", 1) < 0)
31057 perror ("write");
31059 close (fd);
31061 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31062 exit(1);
31063 bytes = read (fd, buff, 5);
31064 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31065 exit(0);
31066 else
31067 exit(1);
31068 #endif
31070 _ACEOF
31071 if ac_fn_c_try_run "$LINENO"; then :
31072 libgfor_cv_have_crlf=yes
31073 else
31074 libgfor_cv_have_crlf=no
31076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31077 conftest.$ac_objext conftest.beam conftest.$ac_ext
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31082 $as_echo "$libgfor_cv_have_crlf" >&6; }
31083 if test x"$libgfor_cv_have_crlf" = xyes; then
31085 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31089 # Check whether we support AVX extensions
31091 ac_save_CFLAGS="$CFLAGS"
31092 CFLAGS="-O2 -mavx"
31093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31094 /* end confdefs.h. */
31096 void _mm256_zeroall (void)
31098 __builtin_ia32_vzeroall ();
31101 main ()
31105 return 0;
31107 _ACEOF
31108 if ac_fn_c_try_compile "$LINENO"; then :
31110 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31114 CFLAGS="$ac_save_CFLAGS"
31117 # Check whether we support AVX2 extensions
31119 ac_save_CFLAGS="$CFLAGS"
31120 CFLAGS="-O2 -mavx2"
31121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31122 /* end confdefs.h. */
31124 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31125 __v4di
31126 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31128 return __builtin_ia32_andnotsi256 (__X, __Y);
31131 main ()
31135 return 0;
31137 _ACEOF
31138 if ac_fn_c_try_compile "$LINENO"; then :
31140 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31144 CFLAGS="$ac_save_CFLAGS"
31147 # Check whether we support AVX512f extensions
31149 ac_save_CFLAGS="$CFLAGS"
31150 CFLAGS="-O2 -mavx512f"
31151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31152 /* end confdefs.h. */
31154 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31155 __m512d _mm512_add (__m512d a)
31157 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31158 /* For -m64/-mx32 also verify that code will work even if
31159 the target uses call saved zmm16+ and needs to emit
31160 unwind info for them (e.g. on mingw). See PR79127. */
31161 #ifdef __x86_64__
31162 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31163 #endif
31164 return b;
31167 main ()
31171 return 0;
31173 _ACEOF
31174 if ac_fn_c_try_compile "$LINENO"; then :
31176 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31180 CFLAGS="$ac_save_CFLAGS"
31183 # Check for FMA3 extensions
31185 ac_save_CFLAGS="$CFLAGS"
31186 CFLAGS="-O2 -mfma -mno-fma4"
31187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31188 /* end confdefs.h. */
31190 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31191 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31192 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31194 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31195 (__v4sf)__B,
31196 (__v4sf)__C);
31199 main ()
31203 return 0;
31205 _ACEOF
31206 if ac_fn_c_try_compile "$LINENO"; then :
31208 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31212 CFLAGS="$ac_save_CFLAGS"
31215 # Check for FMA4 extensions
31217 ac_save_CFLAGS="$CFLAGS"
31218 CFLAGS="-O2 -mfma4 -mno-fma"
31219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31220 /* end confdefs.h. */
31222 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31223 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31224 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31226 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31227 (__v4sf)__B,
31228 (__v4sf)__C);
31231 main ()
31235 return 0;
31237 _ACEOF
31238 if ac_fn_c_try_compile "$LINENO"; then :
31240 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31244 CFLAGS="$ac_save_CFLAGS"
31247 # Check if AVX128 works
31249 ac_save_CFLAGS="$CFLAGS"
31250 CFLAGS="-O2 -mavx -mprefer-avx128"
31251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31252 /* end confdefs.h. */
31254 void foo()
31258 main ()
31262 return 0;
31264 _ACEOF
31265 if ac_fn_c_try_compile "$LINENO"; then :
31267 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31269 if true; then
31270 HAVE_AVX128_TRUE=
31271 HAVE_AVX128_FALSE='#'
31272 else
31273 HAVE_AVX128_TRUE='#'
31274 HAVE_AVX128_FALSE=
31277 else
31278 if false; then
31279 HAVE_AVX128_TRUE=
31280 HAVE_AVX128_FALSE='#'
31281 else
31282 HAVE_AVX128_TRUE='#'
31283 HAVE_AVX128_FALSE=
31287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31288 CFLAGS="$ac_save_CFLAGS"
31291 # Determine what GCC version number to use in filesystem paths.
31293 get_gcc_base_ver="cat"
31295 # Check whether --with-gcc-major-version-only was given.
31296 if test "${with_gcc_major_version_only+set}" = set; then :
31297 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
31298 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
31306 cat >confcache <<\_ACEOF
31307 # This file is a shell script that caches the results of configure
31308 # tests run on this system so they can be shared between configure
31309 # scripts and configure runs, see configure's option --config-cache.
31310 # It is not useful on other systems. If it contains results you don't
31311 # want to keep, you may remove or edit it.
31313 # config.status only pays attention to the cache file if you give it
31314 # the --recheck option to rerun configure.
31316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31318 # following values.
31320 _ACEOF
31322 # The following way of writing the cache mishandles newlines in values,
31323 # but we know of no workaround that is simple, portable, and efficient.
31324 # So, we kill variables containing newlines.
31325 # Ultrix sh set writes to stderr and can't be redirected directly,
31326 # and sets the high bit in the cache file unless we assign to the vars.
31328 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31329 eval ac_val=\$$ac_var
31330 case $ac_val in #(
31331 *${as_nl}*)
31332 case $ac_var in #(
31333 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31334 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31335 esac
31336 case $ac_var in #(
31337 _ | IFS | as_nl) ;; #(
31338 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31339 *) { eval $ac_var=; unset $ac_var;} ;;
31340 esac ;;
31341 esac
31342 done
31344 (set) 2>&1 |
31345 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31346 *${as_nl}ac_space=\ *)
31347 # `set' does not quote correctly, so add quotes: double-quote
31348 # substitution turns \\\\ into \\, and sed turns \\ into \.
31349 sed -n \
31350 "s/'/'\\\\''/g;
31351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31352 ;; #(
31354 # `set' quotes correctly as required by POSIX, so do not add quotes.
31355 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31357 esac |
31358 sort
31360 sed '
31361 /^ac_cv_env_/b end
31362 t clear
31363 :clear
31364 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31365 t end
31366 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31367 :end' >>confcache
31368 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31369 if test -w "$cache_file"; then
31370 if test "x$cache_file" != "x/dev/null"; then
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31372 $as_echo "$as_me: updating cache $cache_file" >&6;}
31373 if test ! -f "$cache_file" || test -h "$cache_file"; then
31374 cat confcache >"$cache_file"
31375 else
31376 case $cache_file in #(
31377 */* | ?:*)
31378 mv -f confcache "$cache_file"$$ &&
31379 mv -f "$cache_file"$$ "$cache_file" ;; #(
31381 mv -f confcache "$cache_file" ;;
31382 esac
31385 else
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31387 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31390 rm -f confcache
31392 if test ${multilib} = yes; then
31393 multilib_arg="--enable-multilib"
31394 else
31395 multilib_arg=
31398 # Write our Makefile and spec file.
31399 ac_config_files="$ac_config_files Makefile libgfortran.spec"
31401 cat >confcache <<\_ACEOF
31402 # This file is a shell script that caches the results of configure
31403 # tests run on this system so they can be shared between configure
31404 # scripts and configure runs, see configure's option --config-cache.
31405 # It is not useful on other systems. If it contains results you don't
31406 # want to keep, you may remove or edit it.
31408 # config.status only pays attention to the cache file if you give it
31409 # the --recheck option to rerun configure.
31411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31413 # following values.
31415 _ACEOF
31417 # The following way of writing the cache mishandles newlines in values,
31418 # but we know of no workaround that is simple, portable, and efficient.
31419 # So, we kill variables containing newlines.
31420 # Ultrix sh set writes to stderr and can't be redirected directly,
31421 # and sets the high bit in the cache file unless we assign to the vars.
31423 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31424 eval ac_val=\$$ac_var
31425 case $ac_val in #(
31426 *${as_nl}*)
31427 case $ac_var in #(
31428 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31429 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31430 esac
31431 case $ac_var in #(
31432 _ | IFS | as_nl) ;; #(
31433 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31434 *) { eval $ac_var=; unset $ac_var;} ;;
31435 esac ;;
31436 esac
31437 done
31439 (set) 2>&1 |
31440 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31441 *${as_nl}ac_space=\ *)
31442 # `set' does not quote correctly, so add quotes: double-quote
31443 # substitution turns \\\\ into \\, and sed turns \\ into \.
31444 sed -n \
31445 "s/'/'\\\\''/g;
31446 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31447 ;; #(
31449 # `set' quotes correctly as required by POSIX, so do not add quotes.
31450 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31452 esac |
31453 sort
31455 sed '
31456 /^ac_cv_env_/b end
31457 t clear
31458 :clear
31459 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31460 t end
31461 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31462 :end' >>confcache
31463 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31464 if test -w "$cache_file"; then
31465 if test "x$cache_file" != "x/dev/null"; then
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31467 $as_echo "$as_me: updating cache $cache_file" >&6;}
31468 if test ! -f "$cache_file" || test -h "$cache_file"; then
31469 cat confcache >"$cache_file"
31470 else
31471 case $cache_file in #(
31472 */* | ?:*)
31473 mv -f confcache "$cache_file"$$ &&
31474 mv -f "$cache_file"$$ "$cache_file" ;; #(
31476 mv -f confcache "$cache_file" ;;
31477 esac
31480 else
31481 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31482 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31485 rm -f confcache
31487 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31488 # Let make expand exec_prefix.
31489 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31491 DEFS=-DHAVE_CONFIG_H
31493 ac_libobjs=
31494 ac_ltlibobjs=
31496 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31497 # 1. Remove the extension, and $U if already installed.
31498 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31499 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31501 # will be set to the directory where LIBOBJS objects are built.
31502 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31503 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31504 done
31505 LIBOBJS=$ac_libobjs
31507 LTLIBOBJS=$ac_ltlibobjs
31510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31511 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31512 if test -n "$am_sleep_pid"; then
31513 # Hide warnings about reused PIDs.
31514 wait $am_sleep_pid 2>/dev/null
31516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31517 $as_echo "done" >&6; }
31518 if test -n "$EXEEXT"; then
31519 am__EXEEXT_TRUE=
31520 am__EXEEXT_FALSE='#'
31521 else
31522 am__EXEEXT_TRUE='#'
31523 am__EXEEXT_FALSE=
31526 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31527 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31530 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31531 as_fn_error $? "conditional \"AMDEP\" was never defined.
31532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31534 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31535 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31538 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31539 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31542 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31543 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
31544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31546 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31547 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31550 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31551 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31554 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31555 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31558 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31559 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
31560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31562 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31563 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
31564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31566 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31567 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
31568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31570 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31571 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31574 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31575 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31579 : "${CONFIG_STATUS=./config.status}"
31580 ac_write_fail=0
31581 ac_clean_files_save=$ac_clean_files
31582 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31584 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31585 as_write_fail=0
31586 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31587 #! $SHELL
31588 # Generated by $as_me.
31589 # Run this file to recreate the current configuration.
31590 # Compiler output produced by configure, useful for debugging
31591 # configure, is in config.log if it exists.
31593 debug=false
31594 ac_cs_recheck=false
31595 ac_cs_silent=false
31597 SHELL=\${CONFIG_SHELL-$SHELL}
31598 export SHELL
31599 _ASEOF
31600 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31601 ## -------------------- ##
31602 ## M4sh Initialization. ##
31603 ## -------------------- ##
31605 # Be more Bourne compatible
31606 DUALCASE=1; export DUALCASE # for MKS sh
31607 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31608 emulate sh
31609 NULLCMD=:
31610 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31611 # is contrary to our usage. Disable this feature.
31612 alias -g '${1+"$@"}'='"$@"'
31613 setopt NO_GLOB_SUBST
31614 else
31615 case `(set -o) 2>/dev/null` in #(
31616 *posix*) :
31617 set -o posix ;; #(
31618 *) :
31620 esac
31624 as_nl='
31626 export as_nl
31627 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31628 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31631 # Prefer a ksh shell builtin over an external printf program on Solaris,
31632 # but without wasting forks for bash or zsh.
31633 if test -z "$BASH_VERSION$ZSH_VERSION" \
31634 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31635 as_echo='print -r --'
31636 as_echo_n='print -rn --'
31637 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31638 as_echo='printf %s\n'
31639 as_echo_n='printf %s'
31640 else
31641 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31642 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31643 as_echo_n='/usr/ucb/echo -n'
31644 else
31645 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31646 as_echo_n_body='eval
31647 arg=$1;
31648 case $arg in #(
31649 *"$as_nl"*)
31650 expr "X$arg" : "X\\(.*\\)$as_nl";
31651 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31652 esac;
31653 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31655 export as_echo_n_body
31656 as_echo_n='sh -c $as_echo_n_body as_echo'
31658 export as_echo_body
31659 as_echo='sh -c $as_echo_body as_echo'
31662 # The user is always right.
31663 if test "${PATH_SEPARATOR+set}" != set; then
31664 PATH_SEPARATOR=:
31665 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31666 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31667 PATH_SEPARATOR=';'
31672 # IFS
31673 # We need space, tab and new line, in precisely that order. Quoting is
31674 # there to prevent editors from complaining about space-tab.
31675 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31676 # splitting by setting IFS to empty value.)
31677 IFS=" "" $as_nl"
31679 # Find who we are. Look in the path if we contain no directory separator.
31680 as_myself=
31681 case $0 in #((
31682 *[\\/]* ) as_myself=$0 ;;
31683 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31684 for as_dir in $PATH
31686 IFS=$as_save_IFS
31687 test -z "$as_dir" && as_dir=.
31688 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31689 done
31690 IFS=$as_save_IFS
31693 esac
31694 # We did not find ourselves, most probably we were run as `sh COMMAND'
31695 # in which case we are not to be found in the path.
31696 if test "x$as_myself" = x; then
31697 as_myself=$0
31699 if test ! -f "$as_myself"; then
31700 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31701 exit 1
31704 # Unset variables that we do not need and which cause bugs (e.g. in
31705 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31706 # suppresses any "Segmentation fault" message there. '((' could
31707 # trigger a bug in pdksh 5.2.14.
31708 for as_var in BASH_ENV ENV MAIL MAILPATH
31709 do eval test x\${$as_var+set} = xset \
31710 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31711 done
31712 PS1='$ '
31713 PS2='> '
31714 PS4='+ '
31716 # NLS nuisances.
31717 LC_ALL=C
31718 export LC_ALL
31719 LANGUAGE=C
31720 export LANGUAGE
31722 # CDPATH.
31723 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31726 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31727 # ----------------------------------------
31728 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31729 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31730 # script with STATUS, using 1 if that was 0.
31731 as_fn_error ()
31733 as_status=$1; test $as_status -eq 0 && as_status=1
31734 if test "$4"; then
31735 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31736 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31738 $as_echo "$as_me: error: $2" >&2
31739 as_fn_exit $as_status
31740 } # as_fn_error
31743 # as_fn_set_status STATUS
31744 # -----------------------
31745 # Set $? to STATUS, without forking.
31746 as_fn_set_status ()
31748 return $1
31749 } # as_fn_set_status
31751 # as_fn_exit STATUS
31752 # -----------------
31753 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31754 as_fn_exit ()
31756 set +e
31757 as_fn_set_status $1
31758 exit $1
31759 } # as_fn_exit
31761 # as_fn_unset VAR
31762 # ---------------
31763 # Portably unset VAR.
31764 as_fn_unset ()
31766 { eval $1=; unset $1;}
31768 as_unset=as_fn_unset
31769 # as_fn_append VAR VALUE
31770 # ----------------------
31771 # Append the text in VALUE to the end of the definition contained in VAR. Take
31772 # advantage of any shell optimizations that allow amortized linear growth over
31773 # repeated appends, instead of the typical quadratic growth present in naive
31774 # implementations.
31775 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31776 eval 'as_fn_append ()
31778 eval $1+=\$2
31780 else
31781 as_fn_append ()
31783 eval $1=\$$1\$2
31785 fi # as_fn_append
31787 # as_fn_arith ARG...
31788 # ------------------
31789 # Perform arithmetic evaluation on the ARGs, and store the result in the
31790 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31791 # must be portable across $(()) and expr.
31792 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31793 eval 'as_fn_arith ()
31795 as_val=$(( $* ))
31797 else
31798 as_fn_arith ()
31800 as_val=`expr "$@" || test $? -eq 1`
31802 fi # as_fn_arith
31805 if expr a : '\(a\)' >/dev/null 2>&1 &&
31806 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31807 as_expr=expr
31808 else
31809 as_expr=false
31812 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31813 as_basename=basename
31814 else
31815 as_basename=false
31818 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31819 as_dirname=dirname
31820 else
31821 as_dirname=false
31824 as_me=`$as_basename -- "$0" ||
31825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31826 X"$0" : 'X\(//\)$' \| \
31827 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31828 $as_echo X/"$0" |
31829 sed '/^.*\/\([^/][^/]*\)\/*$/{
31830 s//\1/
31833 /^X\/\(\/\/\)$/{
31834 s//\1/
31837 /^X\/\(\/\).*/{
31838 s//\1/
31841 s/.*/./; q'`
31843 # Avoid depending upon Character Ranges.
31844 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31845 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31846 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31847 as_cr_digits='0123456789'
31848 as_cr_alnum=$as_cr_Letters$as_cr_digits
31850 ECHO_C= ECHO_N= ECHO_T=
31851 case `echo -n x` in #(((((
31852 -n*)
31853 case `echo 'xy\c'` in
31854 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
31855 xy) ECHO_C='\c';;
31856 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
31857 ECHO_T=' ';;
31858 esac;;
31860 ECHO_N='-n';;
31861 esac
31863 rm -f conf$$ conf$$.exe conf$$.file
31864 if test -d conf$$.dir; then
31865 rm -f conf$$.dir/conf$$.file
31866 else
31867 rm -f conf$$.dir
31868 mkdir conf$$.dir 2>/dev/null
31870 if (echo >conf$$.file) 2>/dev/null; then
31871 if ln -s conf$$.file conf$$ 2>/dev/null; then
31872 as_ln_s='ln -s'
31873 # ... but there are two gotchas:
31874 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31875 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31876 # In both cases, we have to default to `cp -pR'.
31877 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31878 as_ln_s='cp -pR'
31879 elif ln conf$$.file conf$$ 2>/dev/null; then
31880 as_ln_s=ln
31881 else
31882 as_ln_s='cp -pR'
31884 else
31885 as_ln_s='cp -pR'
31887 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31888 rmdir conf$$.dir 2>/dev/null
31891 # as_fn_mkdir_p
31892 # -------------
31893 # Create "$as_dir" as a directory, including parents if necessary.
31894 as_fn_mkdir_p ()
31897 case $as_dir in #(
31898 -*) as_dir=./$as_dir;;
31899 esac
31900 test -d "$as_dir" || eval $as_mkdir_p || {
31901 as_dirs=
31902 while :; do
31903 case $as_dir in #(
31904 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31905 *) as_qdir=$as_dir;;
31906 esac
31907 as_dirs="'$as_qdir' $as_dirs"
31908 as_dir=`$as_dirname -- "$as_dir" ||
31909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31910 X"$as_dir" : 'X\(//\)[^/]' \| \
31911 X"$as_dir" : 'X\(//\)$' \| \
31912 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31913 $as_echo X"$as_dir" |
31914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31915 s//\1/
31918 /^X\(\/\/\)[^/].*/{
31919 s//\1/
31922 /^X\(\/\/\)$/{
31923 s//\1/
31926 /^X\(\/\).*/{
31927 s//\1/
31930 s/.*/./; q'`
31931 test -d "$as_dir" && break
31932 done
31933 test -z "$as_dirs" || eval "mkdir $as_dirs"
31934 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31937 } # as_fn_mkdir_p
31938 if mkdir -p . 2>/dev/null; then
31939 as_mkdir_p='mkdir -p "$as_dir"'
31940 else
31941 test -d ./-p && rmdir ./-p
31942 as_mkdir_p=false
31946 # as_fn_executable_p FILE
31947 # -----------------------
31948 # Test if FILE is an executable regular file.
31949 as_fn_executable_p ()
31951 test -f "$1" && test -x "$1"
31952 } # as_fn_executable_p
31953 as_test_x='test -x'
31954 as_executable_p=as_fn_executable_p
31956 # Sed expression to map a string onto a valid CPP name.
31957 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31959 # Sed expression to map a string onto a valid variable name.
31960 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31963 exec 6>&1
31964 ## ----------------------------------- ##
31965 ## Main body of $CONFIG_STATUS script. ##
31966 ## ----------------------------------- ##
31967 _ASEOF
31968 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
31970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31971 # Save the log message, to keep $0 and so on meaningful, and to
31972 # report actual input values of CONFIG_FILES etc. instead of their
31973 # values after options handling.
31974 ac_log="
31975 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
31976 generated by GNU Autoconf 2.69. Invocation command line was
31978 CONFIG_FILES = $CONFIG_FILES
31979 CONFIG_HEADERS = $CONFIG_HEADERS
31980 CONFIG_LINKS = $CONFIG_LINKS
31981 CONFIG_COMMANDS = $CONFIG_COMMANDS
31982 $ $0 $@
31984 on `(hostname || uname -n) 2>/dev/null | sed 1q`
31987 _ACEOF
31989 case $ac_config_files in *"
31990 "*) set x $ac_config_files; shift; ac_config_files=$*;;
31991 esac
31993 case $ac_config_headers in *"
31994 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
31995 esac
31998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31999 # Files that config.status was made for.
32000 config_files="$ac_config_files"
32001 config_headers="$ac_config_headers"
32002 config_commands="$ac_config_commands"
32004 _ACEOF
32006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32007 ac_cs_usage="\
32008 \`$as_me' instantiates files and other configuration actions
32009 from templates according to the current configuration. Unless the files
32010 and actions are specified as TAGs, all are instantiated by default.
32012 Usage: $0 [OPTION]... [TAG]...
32014 -h, --help print this help, then exit
32015 -V, --version print version number and configuration settings, then exit
32016 --config print configuration, then exit
32017 -q, --quiet, --silent
32018 do not print progress messages
32019 -d, --debug don't remove temporary files
32020 --recheck update $as_me by reconfiguring in the same conditions
32021 --file=FILE[:TEMPLATE]
32022 instantiate the configuration file FILE
32023 --header=FILE[:TEMPLATE]
32024 instantiate the configuration header FILE
32026 Configuration files:
32027 $config_files
32029 Configuration headers:
32030 $config_headers
32032 Configuration commands:
32033 $config_commands
32035 Report bugs to the package provider.
32036 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32037 General help using GNU software: <http://www.gnu.org/gethelp/>."
32039 _ACEOF
32040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32041 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32042 ac_cs_version="\\
32043 GNU Fortran Runtime Library config.status 0.3
32044 configured by $0, generated by GNU Autoconf 2.69,
32045 with options \\"\$ac_cs_config\\"
32047 Copyright (C) 2012 Free Software Foundation, Inc.
32048 This config.status script is free software; the Free Software Foundation
32049 gives unlimited permission to copy, distribute and modify it."
32051 ac_pwd='$ac_pwd'
32052 srcdir='$srcdir'
32053 INSTALL='$INSTALL'
32054 MKDIR_P='$MKDIR_P'
32055 AWK='$AWK'
32056 test -n "\$AWK" || AWK=awk
32057 _ACEOF
32059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32060 # The default lists apply if the user does not specify any file.
32061 ac_need_defaults=:
32062 while test $# != 0
32064 case $1 in
32065 --*=?*)
32066 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32067 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32068 ac_shift=:
32070 --*=)
32071 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32072 ac_optarg=
32073 ac_shift=:
32076 ac_option=$1
32077 ac_optarg=$2
32078 ac_shift=shift
32080 esac
32082 case $ac_option in
32083 # Handling of the options.
32084 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32085 ac_cs_recheck=: ;;
32086 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32087 $as_echo "$ac_cs_version"; exit ;;
32088 --config | --confi | --conf | --con | --co | --c )
32089 $as_echo "$ac_cs_config"; exit ;;
32090 --debug | --debu | --deb | --de | --d | -d )
32091 debug=: ;;
32092 --file | --fil | --fi | --f )
32093 $ac_shift
32094 case $ac_optarg in
32095 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32096 '') as_fn_error $? "missing file argument" ;;
32097 esac
32098 as_fn_append CONFIG_FILES " '$ac_optarg'"
32099 ac_need_defaults=false;;
32100 --header | --heade | --head | --hea )
32101 $ac_shift
32102 case $ac_optarg in
32103 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32104 esac
32105 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32106 ac_need_defaults=false;;
32107 --he | --h)
32108 # Conflict between --help and --header
32109 as_fn_error $? "ambiguous option: \`$1'
32110 Try \`$0 --help' for more information.";;
32111 --help | --hel | -h )
32112 $as_echo "$ac_cs_usage"; exit ;;
32113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32114 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32115 ac_cs_silent=: ;;
32117 # This is an error.
32118 -*) as_fn_error $? "unrecognized option: \`$1'
32119 Try \`$0 --help' for more information." ;;
32121 *) as_fn_append ac_config_targets " $1"
32122 ac_need_defaults=false ;;
32124 esac
32125 shift
32126 done
32128 ac_configure_extra_args=
32130 if $ac_cs_silent; then
32131 exec 6>/dev/null
32132 ac_configure_extra_args="$ac_configure_extra_args --silent"
32135 _ACEOF
32136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32137 if \$ac_cs_recheck; then
32138 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32139 shift
32140 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32141 CONFIG_SHELL='$SHELL'
32142 export CONFIG_SHELL
32143 exec "\$@"
32146 _ACEOF
32147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32148 exec 5>>config.log
32150 echo
32151 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32152 ## Running $as_me. ##
32153 _ASBOX
32154 $as_echo "$ac_log"
32155 } >&5
32157 _ACEOF
32158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32160 # INIT-COMMANDS
32163 srcdir="$srcdir"
32164 host="$host"
32165 target="$target"
32166 with_multisubdir="$with_multisubdir"
32167 with_multisrctop="$with_multisrctop"
32168 with_target_subdir="$with_target_subdir"
32169 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32170 multi_basedir="$multi_basedir"
32171 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32172 CC="$CC"
32173 CXX="$CXX"
32174 GFORTRAN="$GFORTRAN"
32175 GDC="$GDC"
32176 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32179 # The HP-UX ksh and POSIX shell print the target directory to stdout
32180 # if CDPATH is set.
32181 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32183 sed_quote_subst='$sed_quote_subst'
32184 double_quote_subst='$double_quote_subst'
32185 delay_variable_subst='$delay_variable_subst'
32186 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32187 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32188 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32189 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32190 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32191 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32192 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32193 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32194 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32195 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32196 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32197 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32198 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32199 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32200 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32201 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32202 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32203 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32204 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32205 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32206 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32207 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32208 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32209 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32210 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32211 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32212 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32213 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32214 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32215 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32216 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32217 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32218 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32219 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32220 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32221 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32222 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32223 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32224 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32225 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32226 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32227 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32228 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32229 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32230 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32231 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32232 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32233 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32234 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"`'
32235 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32236 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32237 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32238 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32239 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32240 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32241 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32242 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32243 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32244 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32245 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32246 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32247 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32248 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32249 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32250 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32251 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32252 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32253 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32254 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32255 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32256 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32257 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32258 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32259 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32260 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32261 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32262 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32263 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32264 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32265 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32266 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32267 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32268 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32269 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32270 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32271 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32272 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32273 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32274 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32275 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32276 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32277 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32278 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32279 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32280 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32281 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32282 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32283 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32284 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32285 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32286 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32287 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32288 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32289 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32290 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32291 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32292 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32293 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32294 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32295 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32296 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32297 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32298 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32299 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32300 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32301 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32302 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32303 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32304 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32305 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32306 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32307 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32308 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32309 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32310 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32311 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32312 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32313 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32314 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32315 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32316 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32317 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32318 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32319 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32320 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32321 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32322 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32323 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32324 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32325 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32326 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32327 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32328 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32329 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32330 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32331 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32332 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32333 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32334 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32335 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32336 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32337 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32338 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32339 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32340 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32341 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32342 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32343 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32344 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32345 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32346 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32347 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32348 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32349 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32350 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32351 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32352 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32353 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32354 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32355 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32356 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32357 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32358 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32359 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32360 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32362 LTCC='$LTCC'
32363 LTCFLAGS='$LTCFLAGS'
32364 compiler='$compiler_DEFAULT'
32366 # A function that is used when there is no print builtin or printf.
32367 func_fallback_echo ()
32369 eval 'cat <<_LTECHO_EOF
32371 _LTECHO_EOF'
32374 # Quote evaled strings.
32375 for var in SED \
32376 GREP \
32377 EGREP \
32378 FGREP \
32379 SHELL \
32380 ECHO \
32381 LD \
32382 NM \
32383 LN_S \
32384 lt_SP2NL \
32385 lt_NL2SP \
32386 reload_flag \
32387 OBJDUMP \
32388 deplibs_check_method \
32389 file_magic_cmd \
32390 AR \
32391 AR_FLAGS \
32392 STRIP \
32393 RANLIB \
32394 CC \
32395 CFLAGS \
32396 compiler \
32397 lt_cv_sys_global_symbol_pipe \
32398 lt_cv_sys_global_symbol_to_cdecl \
32399 lt_cv_sys_global_symbol_to_c_name_address \
32400 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32401 lt_prog_compiler_no_builtin_flag \
32402 lt_prog_compiler_wl \
32403 lt_prog_compiler_pic \
32404 lt_prog_compiler_static \
32405 lt_cv_prog_compiler_c_o \
32406 need_locks \
32407 DSYMUTIL \
32408 NMEDIT \
32409 LIPO \
32410 OTOOL \
32411 OTOOL64 \
32412 shrext_cmds \
32413 export_dynamic_flag_spec \
32414 whole_archive_flag_spec \
32415 compiler_needs_object \
32416 with_gnu_ld \
32417 allow_undefined_flag \
32418 no_undefined_flag \
32419 hardcode_libdir_flag_spec \
32420 hardcode_libdir_flag_spec_ld \
32421 hardcode_libdir_separator \
32422 fix_srcfile_path \
32423 exclude_expsyms \
32424 include_expsyms \
32425 file_list_spec \
32426 variables_saved_for_relink \
32427 libname_spec \
32428 library_names_spec \
32429 soname_spec \
32430 install_override_mode \
32431 finish_eval \
32432 old_striplib \
32433 striplib \
32434 compiler_lib_search_dirs \
32435 predep_objects \
32436 postdep_objects \
32437 predeps \
32438 postdeps \
32439 compiler_lib_search_path \
32440 LD_FC \
32441 reload_flag_FC \
32442 compiler_FC \
32443 lt_prog_compiler_no_builtin_flag_FC \
32444 lt_prog_compiler_wl_FC \
32445 lt_prog_compiler_pic_FC \
32446 lt_prog_compiler_static_FC \
32447 lt_cv_prog_compiler_c_o_FC \
32448 export_dynamic_flag_spec_FC \
32449 whole_archive_flag_spec_FC \
32450 compiler_needs_object_FC \
32451 with_gnu_ld_FC \
32452 allow_undefined_flag_FC \
32453 no_undefined_flag_FC \
32454 hardcode_libdir_flag_spec_FC \
32455 hardcode_libdir_flag_spec_ld_FC \
32456 hardcode_libdir_separator_FC \
32457 fix_srcfile_path_FC \
32458 exclude_expsyms_FC \
32459 include_expsyms_FC \
32460 file_list_spec_FC \
32461 compiler_lib_search_dirs_FC \
32462 predep_objects_FC \
32463 postdep_objects_FC \
32464 predeps_FC \
32465 postdeps_FC \
32466 compiler_lib_search_path_FC; do
32467 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32468 *[\\\\\\\`\\"\\\$]*)
32469 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32472 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32474 esac
32475 done
32477 # Double-quote double-evaled strings.
32478 for var in reload_cmds \
32479 old_postinstall_cmds \
32480 old_postuninstall_cmds \
32481 old_archive_cmds \
32482 extract_expsyms_cmds \
32483 old_archive_from_new_cmds \
32484 old_archive_from_expsyms_cmds \
32485 archive_cmds \
32486 archive_expsym_cmds \
32487 module_cmds \
32488 module_expsym_cmds \
32489 export_symbols_cmds \
32490 prelink_cmds \
32491 postinstall_cmds \
32492 postuninstall_cmds \
32493 finish_cmds \
32494 sys_lib_search_path_spec \
32495 sys_lib_dlsearch_path_spec \
32496 reload_cmds_FC \
32497 old_archive_cmds_FC \
32498 old_archive_from_new_cmds_FC \
32499 old_archive_from_expsyms_cmds_FC \
32500 archive_cmds_FC \
32501 archive_expsym_cmds_FC \
32502 module_cmds_FC \
32503 module_expsym_cmds_FC \
32504 export_symbols_cmds_FC \
32505 prelink_cmds_FC; do
32506 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32507 *[\\\\\\\`\\"\\\$]*)
32508 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32511 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32513 esac
32514 done
32516 ac_aux_dir='$ac_aux_dir'
32517 xsi_shell='$xsi_shell'
32518 lt_shell_append='$lt_shell_append'
32520 # See if we are running on zsh, and set the options which allow our
32521 # commands through without removal of \ escapes INIT.
32522 if test -n "\${ZSH_VERSION+set}" ; then
32523 setopt NO_GLOB_SUBST
32527 PACKAGE='$PACKAGE'
32528 VERSION='$VERSION'
32529 TIMESTAMP='$TIMESTAMP'
32530 RM='$RM'
32531 ofile='$ofile'
32538 GCC="$GCC"
32539 CC="$CC"
32540 acx_cv_header_stdint="$acx_cv_header_stdint"
32541 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32542 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32543 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32544 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32545 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32546 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32547 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32548 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32549 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32550 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32551 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32552 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32553 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32556 _ACEOF
32558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32560 # Handling of arguments.
32561 for ac_config_target in $ac_config_targets
32563 case $ac_config_target in
32564 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32565 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
32566 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32567 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32568 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
32569 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32570 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
32572 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32573 esac
32574 done
32577 # If the user did not use the arguments to specify the items to instantiate,
32578 # then the envvar interface is used. Set only those that are not.
32579 # We use the long form for the default assignment because of an extremely
32580 # bizarre bug on SunOS 4.1.3.
32581 if $ac_need_defaults; then
32582 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32583 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32584 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32587 # Have a temporary directory for convenience. Make it in the build tree
32588 # simply because there is no reason against having it here, and in addition,
32589 # creating and moving files from /tmp can sometimes cause problems.
32590 # Hook for its removal unless debugging.
32591 # Note that there is a small window in which the directory will not be cleaned:
32592 # after its creation but before its name has been assigned to `$tmp'.
32593 $debug ||
32595 tmp= ac_tmp=
32596 trap 'exit_status=$?
32597 : "${ac_tmp:=$tmp}"
32598 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32600 trap 'as_fn_exit 1' 1 2 13 15
32602 # Create a (secure) tmp directory for tmp files.
32605 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32606 test -d "$tmp"
32607 } ||
32609 tmp=./conf$$-$RANDOM
32610 (umask 077 && mkdir "$tmp")
32611 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32612 ac_tmp=$tmp
32614 # Set up the scripts for CONFIG_FILES section.
32615 # No need to generate them if there are no CONFIG_FILES.
32616 # This happens for instance with `./config.status config.h'.
32617 if test -n "$CONFIG_FILES"; then
32620 ac_cr=`echo X | tr X '\015'`
32621 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32622 # But we know of no other shell where ac_cr would be empty at this
32623 # point, so we can use a bashism as a fallback.
32624 if test "x$ac_cr" = x; then
32625 eval ac_cr=\$\'\\r\'
32627 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32628 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32629 ac_cs_awk_cr='\\r'
32630 else
32631 ac_cs_awk_cr=$ac_cr
32634 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32635 _ACEOF
32639 echo "cat >conf$$subs.awk <<_ACEOF" &&
32640 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32641 echo "_ACEOF"
32642 } >conf$$subs.sh ||
32643 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32645 ac_delim='%!_!# '
32646 for ac_last_try in false false false false false :; do
32647 . ./conf$$subs.sh ||
32648 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32650 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32651 if test $ac_delim_n = $ac_delim_num; then
32652 break
32653 elif $ac_last_try; then
32654 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32655 else
32656 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32658 done
32659 rm -f conf$$subs.sh
32661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32662 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
32663 _ACEOF
32664 sed -n '
32666 s/^/S["/; s/!.*/"]=/
32669 s/^[^!]*!//
32670 :repl
32671 t repl
32672 s/'"$ac_delim"'$//
32673 t delim
32676 s/\(.\{148\}\)..*/\1/
32677 t more1
32678 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32681 b repl
32682 :more1
32683 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32686 s/.\{148\}//
32687 t nl
32688 :delim
32690 s/\(.\{148\}\)..*/\1/
32691 t more2
32692 s/["\\]/\\&/g; s/^/"/; s/$/"/
32695 :more2
32696 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32699 s/.\{148\}//
32700 t delim
32701 ' <conf$$subs.awk | sed '
32702 /^[^""]/{
32704 s/\n//
32706 ' >>$CONFIG_STATUS || ac_write_fail=1
32707 rm -f conf$$subs.awk
32708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32709 _ACAWK
32710 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
32711 for (key in S) S_is_set[key] = 1
32712 FS = "\a"
32716 line = $ 0
32717 nfields = split(line, field, "@")
32718 substed = 0
32719 len = length(field[1])
32720 for (i = 2; i < nfields; i++) {
32721 key = field[i]
32722 keylen = length(key)
32723 if (S_is_set[key]) {
32724 value = S[key]
32725 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32726 len += length(value) + length(field[++i])
32727 substed = 1
32728 } else
32729 len += 1 + keylen
32732 print line
32735 _ACAWK
32736 _ACEOF
32737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32738 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32739 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32740 else
32742 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
32743 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32744 _ACEOF
32746 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32747 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32748 # trailing colons and then remove the whole line if VPATH becomes empty
32749 # (actually we leave an empty line to preserve line numbers).
32750 if test "x$srcdir" = x.; then
32751 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32753 s///
32754 s/^/:/
32755 s/[ ]*$/:/
32756 s/:\$(srcdir):/:/g
32757 s/:\${srcdir}:/:/g
32758 s/:@srcdir@:/:/g
32759 s/^:*//
32760 s/:*$//
32762 s/\(=[ ]*\).*/\1/
32764 s/\n//
32765 s/^[^=]*=[ ]*$//
32769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32770 fi # test -n "$CONFIG_FILES"
32772 # Set up the scripts for CONFIG_HEADERS section.
32773 # No need to generate them if there are no CONFIG_HEADERS.
32774 # This happens for instance with `./config.status Makefile'.
32775 if test -n "$CONFIG_HEADERS"; then
32776 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
32777 BEGIN {
32778 _ACEOF
32780 # Transform confdefs.h into an awk script `defines.awk', embedded as
32781 # here-document in config.status, that substitutes the proper values into
32782 # config.h.in to produce config.h.
32784 # Create a delimiter string that does not exist in confdefs.h, to ease
32785 # handling of long lines.
32786 ac_delim='%!_!# '
32787 for ac_last_try in false false :; do
32788 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32789 if test -z "$ac_tt"; then
32790 break
32791 elif $ac_last_try; then
32792 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32793 else
32794 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32796 done
32798 # For the awk script, D is an array of macro values keyed by name,
32799 # likewise P contains macro parameters if any. Preserve backslash
32800 # newline sequences.
32802 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32803 sed -n '
32804 s/.\{148\}/&'"$ac_delim"'/g
32805 t rset
32806 :rset
32807 s/^[ ]*#[ ]*define[ ][ ]*/ /
32808 t def
32810 :def
32811 s/\\$//
32812 t bsnl
32813 s/["\\]/\\&/g
32814 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32815 D["\1"]=" \3"/p
32816 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32818 :bsnl
32819 s/["\\]/\\&/g
32820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32821 D["\1"]=" \3\\\\\\n"\\/p
32822 t cont
32823 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32824 t cont
32826 :cont
32828 s/.\{148\}/&'"$ac_delim"'/g
32829 t clear
32830 :clear
32831 s/\\$//
32832 t bsnlc
32833 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32835 :bsnlc
32836 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32837 b cont
32838 ' <confdefs.h | sed '
32839 s/'"$ac_delim"'/"\\\
32840 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32843 for (key in D) D_is_set[key] = 1
32844 FS = "\a"
32846 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32847 line = \$ 0
32848 split(line, arg, " ")
32849 if (arg[1] == "#") {
32850 defundef = arg[2]
32851 mac1 = arg[3]
32852 } else {
32853 defundef = substr(arg[1], 2)
32854 mac1 = arg[2]
32856 split(mac1, mac2, "(") #)
32857 macro = mac2[1]
32858 prefix = substr(line, 1, index(line, defundef) - 1)
32859 if (D_is_set[macro]) {
32860 # Preserve the white space surrounding the "#".
32861 print prefix "define", macro P[macro] D[macro]
32862 next
32863 } else {
32864 # Replace #undef with comments. This is necessary, for example,
32865 # in the case of _POSIX_SOURCE, which is predefined and required
32866 # on some systems where configure will not decide to define it.
32867 if (defundef == "undef") {
32868 print "/*", prefix defundef, macro, "*/"
32869 next
32873 { print }
32874 _ACAWK
32875 _ACEOF
32876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32877 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32878 fi # test -n "$CONFIG_HEADERS"
32881 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32882 shift
32883 for ac_tag
32885 case $ac_tag in
32886 :[FHLC]) ac_mode=$ac_tag; continue;;
32887 esac
32888 case $ac_mode$ac_tag in
32889 :[FHL]*:*);;
32890 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
32891 :[FH]-) ac_tag=-:-;;
32892 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32893 esac
32894 ac_save_IFS=$IFS
32895 IFS=:
32896 set x $ac_tag
32897 IFS=$ac_save_IFS
32898 shift
32899 ac_file=$1
32900 shift
32902 case $ac_mode in
32903 :L) ac_source=$1;;
32904 :[FH])
32905 ac_file_inputs=
32906 for ac_f
32908 case $ac_f in
32909 -) ac_f="$ac_tmp/stdin";;
32910 *) # Look for the file first in the build tree, then in the source tree
32911 # (if the path is not absolute). The absolute path cannot be DOS-style,
32912 # because $ac_f cannot contain `:'.
32913 test -f "$ac_f" ||
32914 case $ac_f in
32915 [\\/$]*) false;;
32916 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32917 esac ||
32918 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32919 esac
32920 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32921 as_fn_append ac_file_inputs " '$ac_f'"
32922 done
32924 # Let's still pretend it is `configure' which instantiates (i.e., don't
32925 # use $as_me), people would be surprised to read:
32926 # /* config.h. Generated by config.status. */
32927 configure_input='Generated from '`
32928 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32929 `' by configure.'
32930 if test x"$ac_file" != x-; then
32931 configure_input="$ac_file. $configure_input"
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32933 $as_echo "$as_me: creating $ac_file" >&6;}
32935 # Neutralize special characters interpreted by sed in replacement strings.
32936 case $configure_input in #(
32937 *\&* | *\|* | *\\* )
32938 ac_sed_conf_input=`$as_echo "$configure_input" |
32939 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32940 *) ac_sed_conf_input=$configure_input;;
32941 esac
32943 case $ac_tag in
32944 *:-:* | *:-) cat >"$ac_tmp/stdin" \
32945 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
32946 esac
32948 esac
32950 ac_dir=`$as_dirname -- "$ac_file" ||
32951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32952 X"$ac_file" : 'X\(//\)[^/]' \| \
32953 X"$ac_file" : 'X\(//\)$' \| \
32954 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32955 $as_echo X"$ac_file" |
32956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32957 s//\1/
32960 /^X\(\/\/\)[^/].*/{
32961 s//\1/
32964 /^X\(\/\/\)$/{
32965 s//\1/
32968 /^X\(\/\).*/{
32969 s//\1/
32972 s/.*/./; q'`
32973 as_dir="$ac_dir"; as_fn_mkdir_p
32974 ac_builddir=.
32976 case "$ac_dir" in
32977 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32979 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32980 # A ".." for each directory in $ac_dir_suffix.
32981 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32982 case $ac_top_builddir_sub in
32983 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32984 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32985 esac ;;
32986 esac
32987 ac_abs_top_builddir=$ac_pwd
32988 ac_abs_builddir=$ac_pwd$ac_dir_suffix
32989 # for backward compatibility:
32990 ac_top_builddir=$ac_top_build_prefix
32992 case $srcdir in
32993 .) # We are building in place.
32994 ac_srcdir=.
32995 ac_top_srcdir=$ac_top_builddir_sub
32996 ac_abs_top_srcdir=$ac_pwd ;;
32997 [\\/]* | ?:[\\/]* ) # Absolute name.
32998 ac_srcdir=$srcdir$ac_dir_suffix;
32999 ac_top_srcdir=$srcdir
33000 ac_abs_top_srcdir=$srcdir ;;
33001 *) # Relative name.
33002 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33003 ac_top_srcdir=$ac_top_build_prefix$srcdir
33004 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33005 esac
33006 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33009 case $ac_mode in
33012 # CONFIG_FILE
33015 case $INSTALL in
33016 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33017 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33018 esac
33019 ac_MKDIR_P=$MKDIR_P
33020 case $MKDIR_P in
33021 [\\/$]* | ?:[\\/]* ) ;;
33022 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33023 esac
33024 _ACEOF
33026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33027 # If the template does not know about datarootdir, expand it.
33028 # FIXME: This hack should be removed a few years after 2.60.
33029 ac_datarootdir_hack=; ac_datarootdir_seen=
33030 ac_sed_dataroot='
33031 /datarootdir/ {
33035 /@datadir@/p
33036 /@docdir@/p
33037 /@infodir@/p
33038 /@localedir@/p
33039 /@mandir@/p'
33040 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33041 *datarootdir*) ac_datarootdir_seen=yes;;
33042 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33044 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33045 _ACEOF
33046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33047 ac_datarootdir_hack='
33048 s&@datadir@&$datadir&g
33049 s&@docdir@&$docdir&g
33050 s&@infodir@&$infodir&g
33051 s&@localedir@&$localedir&g
33052 s&@mandir@&$mandir&g
33053 s&\\\${datarootdir}&$datarootdir&g' ;;
33054 esac
33055 _ACEOF
33057 # Neutralize VPATH when `$srcdir' = `.'.
33058 # Shell code in configure.ac might set extrasub.
33059 # FIXME: do we really want to maintain this feature?
33060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33061 ac_sed_extra="$ac_vpsub
33062 $extrasub
33063 _ACEOF
33064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33067 s|@configure_input@|$ac_sed_conf_input|;t t
33068 s&@top_builddir@&$ac_top_builddir_sub&;t t
33069 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33070 s&@srcdir@&$ac_srcdir&;t t
33071 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33072 s&@top_srcdir@&$ac_top_srcdir&;t t
33073 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33074 s&@builddir@&$ac_builddir&;t t
33075 s&@abs_builddir@&$ac_abs_builddir&;t t
33076 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33077 s&@INSTALL@&$ac_INSTALL&;t t
33078 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33079 $ac_datarootdir_hack
33081 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33082 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33084 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33085 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33086 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33087 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33089 which seems to be undefined. Please make sure it is defined" >&5
33090 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33091 which seems to be undefined. Please make sure it is defined" >&2;}
33093 rm -f "$ac_tmp/stdin"
33094 case $ac_file in
33095 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33096 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33097 esac \
33098 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33102 # CONFIG_HEADER
33104 if test x"$ac_file" != x-; then
33106 $as_echo "/* $configure_input */" \
33107 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33108 } >"$ac_tmp/config.h" \
33109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33110 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33111 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33112 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33113 else
33114 rm -f "$ac_file"
33115 mv "$ac_tmp/config.h" "$ac_file" \
33116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33118 else
33119 $as_echo "/* $configure_input */" \
33120 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33121 || as_fn_error $? "could not create -" "$LINENO" 5
33123 # Compute "$ac_file"'s index in $config_headers.
33124 _am_arg="$ac_file"
33125 _am_stamp_count=1
33126 for _am_header in $config_headers :; do
33127 case $_am_header in
33128 $_am_arg | $_am_arg:* )
33129 break ;;
33131 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33132 esac
33133 done
33134 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33135 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33136 X"$_am_arg" : 'X\(//\)[^/]' \| \
33137 X"$_am_arg" : 'X\(//\)$' \| \
33138 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33139 $as_echo X"$_am_arg" |
33140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33141 s//\1/
33144 /^X\(\/\/\)[^/].*/{
33145 s//\1/
33148 /^X\(\/\/\)$/{
33149 s//\1/
33152 /^X\(\/\).*/{
33153 s//\1/
33156 s/.*/./; q'`/stamp-h$_am_stamp_count
33159 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33160 $as_echo "$as_me: executing $ac_file commands" >&6;}
33162 esac
33165 case $ac_file$ac_mode in
33166 "default-1":C)
33167 # Only add multilib support code if we just rebuilt the top-level
33168 # Makefile.
33169 case " $CONFIG_FILES " in
33170 *" Makefile "*)
33171 ac_file=Makefile . ${multi_basedir}/config-ml.in
33173 esac ;;
33174 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33175 # Older Autoconf quotes --file arguments for eval, but not when files
33176 # are listed without --file. Let's play safe and only enable the eval
33177 # if we detect the quoting.
33178 case $CONFIG_FILES in
33179 *\'*) eval set x "$CONFIG_FILES" ;;
33180 *) set x $CONFIG_FILES ;;
33181 esac
33182 shift
33183 for mf
33185 # Strip MF so we end up with the name of the file.
33186 mf=`echo "$mf" | sed -e 's/:.*$//'`
33187 # Check whether this is an Automake generated Makefile or not.
33188 # We used to match only the files named 'Makefile.in', but
33189 # some people rename them; so instead we look at the file content.
33190 # Grep'ing the first line is not enough: some people post-process
33191 # each Makefile.in and add a new line on top of each file to say so.
33192 # Grep'ing the whole file is not good either: AIX grep has a line
33193 # limit of 2048, but all sed's we know have understand at least 4000.
33194 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33195 dirpart=`$as_dirname -- "$mf" ||
33196 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33197 X"$mf" : 'X\(//\)[^/]' \| \
33198 X"$mf" : 'X\(//\)$' \| \
33199 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33200 $as_echo X"$mf" |
33201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33202 s//\1/
33205 /^X\(\/\/\)[^/].*/{
33206 s//\1/
33209 /^X\(\/\/\)$/{
33210 s//\1/
33213 /^X\(\/\).*/{
33214 s//\1/
33217 s/.*/./; q'`
33218 else
33219 continue
33221 # Extract the definition of DEPDIR, am__include, and am__quote
33222 # from the Makefile without running 'make'.
33223 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33224 test -z "$DEPDIR" && continue
33225 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33226 test -z "$am__include" && continue
33227 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33228 # Find all dependency output files, they are included files with
33229 # $(DEPDIR) in their names. We invoke sed twice because it is the
33230 # simplest approach to changing $(DEPDIR) to its actual value in the
33231 # expansion.
33232 for file in `sed -n "
33233 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33234 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33235 # Make sure the directory exists.
33236 test -f "$dirpart/$file" && continue
33237 fdir=`$as_dirname -- "$file" ||
33238 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33239 X"$file" : 'X\(//\)[^/]' \| \
33240 X"$file" : 'X\(//\)$' \| \
33241 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33242 $as_echo X"$file" |
33243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33244 s//\1/
33247 /^X\(\/\/\)[^/].*/{
33248 s//\1/
33251 /^X\(\/\/\)$/{
33252 s//\1/
33255 /^X\(\/\).*/{
33256 s//\1/
33259 s/.*/./; q'`
33260 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33261 # echo "creating $dirpart/$file"
33262 echo '# dummy' > "$dirpart/$file"
33263 done
33264 done
33267 "libtool":C)
33269 # See if we are running on zsh, and set the options which allow our
33270 # commands through without removal of \ escapes.
33271 if test -n "${ZSH_VERSION+set}" ; then
33272 setopt NO_GLOB_SUBST
33275 cfgfile="${ofile}T"
33276 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33277 $RM "$cfgfile"
33279 cat <<_LT_EOF >> "$cfgfile"
33280 #! $SHELL
33282 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33283 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33284 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33285 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33287 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33288 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33289 # Written by Gordon Matzigkeit, 1996
33291 # This file is part of GNU Libtool.
33293 # GNU Libtool is free software; you can redistribute it and/or
33294 # modify it under the terms of the GNU General Public License as
33295 # published by the Free Software Foundation; either version 2 of
33296 # the License, or (at your option) any later version.
33298 # As a special exception to the GNU General Public License,
33299 # if you distribute this file as part of a program or library that
33300 # is built using GNU Libtool, you may include this file under the
33301 # same distribution terms that you use for the rest of that program.
33303 # GNU Libtool is distributed in the hope that it will be useful,
33304 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33305 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33306 # GNU General Public License for more details.
33308 # You should have received a copy of the GNU General Public License
33309 # along with GNU Libtool; see the file COPYING. If not, a copy
33310 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33311 # obtained by writing to the Free Software Foundation, Inc.,
33312 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33315 # The names of the tagged configurations supported by this script.
33316 available_tags="FC "
33318 # ### BEGIN LIBTOOL CONFIG
33320 # A sed program that does not truncate output.
33321 SED=$lt_SED
33323 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33324 Xsed="\$SED -e 1s/^X//"
33326 # A grep program that handles long lines.
33327 GREP=$lt_GREP
33329 # An ERE matcher.
33330 EGREP=$lt_EGREP
33332 # A literal string matcher.
33333 FGREP=$lt_FGREP
33335 # Shell to use when invoking shell scripts.
33336 SHELL=$lt_SHELL
33338 # An echo program that protects backslashes.
33339 ECHO=$lt_ECHO
33341 # Which release of libtool.m4 was used?
33342 macro_version=$macro_version
33343 macro_revision=$macro_revision
33345 # Whether or not to build shared libraries.
33346 build_libtool_libs=$enable_shared
33348 # Whether or not to build static libraries.
33349 build_old_libs=$enable_static
33351 # What type of objects to build.
33352 pic_mode=$pic_mode
33354 # Whether or not to optimize for fast installation.
33355 fast_install=$enable_fast_install
33357 # The host system.
33358 host_alias=$host_alias
33359 host=$host
33360 host_os=$host_os
33362 # The build system.
33363 build_alias=$build_alias
33364 build=$build
33365 build_os=$build_os
33367 # A BSD- or MS-compatible name lister.
33368 NM=$lt_NM
33370 # Whether we need soft or hard links.
33371 LN_S=$lt_LN_S
33373 # What is the maximum length of a command?
33374 max_cmd_len=$max_cmd_len
33376 # Object file suffix (normally "o").
33377 objext=$ac_objext
33379 # Executable file suffix (normally "").
33380 exeext=$exeext
33382 # whether the shell understands "unset".
33383 lt_unset=$lt_unset
33385 # turn spaces into newlines.
33386 SP2NL=$lt_lt_SP2NL
33388 # turn newlines into spaces.
33389 NL2SP=$lt_lt_NL2SP
33391 # An object symbol dumper.
33392 OBJDUMP=$lt_OBJDUMP
33394 # Method to check whether dependent libraries are shared objects.
33395 deplibs_check_method=$lt_deplibs_check_method
33397 # Command to use when deplibs_check_method == "file_magic".
33398 file_magic_cmd=$lt_file_magic_cmd
33400 # The archiver.
33401 AR=$lt_AR
33402 AR_FLAGS=$lt_AR_FLAGS
33404 # A symbol stripping program.
33405 STRIP=$lt_STRIP
33407 # Commands used to install an old-style archive.
33408 RANLIB=$lt_RANLIB
33409 old_postinstall_cmds=$lt_old_postinstall_cmds
33410 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33412 # Whether to use a lock for old archive extraction.
33413 lock_old_archive_extraction=$lock_old_archive_extraction
33415 # A C compiler.
33416 LTCC=$lt_CC
33418 # LTCC compiler flags.
33419 LTCFLAGS=$lt_CFLAGS
33421 # Take the output of nm and produce a listing of raw symbols and C names.
33422 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33424 # Transform the output of nm in a proper C declaration.
33425 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33427 # Transform the output of nm in a C name address pair.
33428 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33430 # Transform the output of nm in a C name address pair when lib prefix is needed.
33431 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33433 # The name of the directory that contains temporary libtool files.
33434 objdir=$objdir
33436 # Used to examine libraries when file_magic_cmd begins with "file".
33437 MAGIC_CMD=$MAGIC_CMD
33439 # Must we lock files when doing compilation?
33440 need_locks=$lt_need_locks
33442 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33443 DSYMUTIL=$lt_DSYMUTIL
33445 # Tool to change global to local symbols on Mac OS X.
33446 NMEDIT=$lt_NMEDIT
33448 # Tool to manipulate fat objects and archives on Mac OS X.
33449 LIPO=$lt_LIPO
33451 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33452 OTOOL=$lt_OTOOL
33454 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33455 OTOOL64=$lt_OTOOL64
33457 # Old archive suffix (normally "a").
33458 libext=$libext
33460 # Shared library suffix (normally ".so").
33461 shrext_cmds=$lt_shrext_cmds
33463 # The commands to extract the exported symbol list from a shared archive.
33464 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33466 # Variables whose values should be saved in libtool wrapper scripts and
33467 # restored at link time.
33468 variables_saved_for_relink=$lt_variables_saved_for_relink
33470 # Do we need the "lib" prefix for modules?
33471 need_lib_prefix=$need_lib_prefix
33473 # Do we need a version for libraries?
33474 need_version=$need_version
33476 # Library versioning type.
33477 version_type=$version_type
33479 # Shared library runtime path variable.
33480 runpath_var=$runpath_var
33482 # Shared library path variable.
33483 shlibpath_var=$shlibpath_var
33485 # Is shlibpath searched before the hard-coded library search path?
33486 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33488 # Format of library name prefix.
33489 libname_spec=$lt_libname_spec
33491 # List of archive names. First name is the real one, the rest are links.
33492 # The last name is the one that the linker finds with -lNAME
33493 library_names_spec=$lt_library_names_spec
33495 # The coded name of the library, if different from the real name.
33496 soname_spec=$lt_soname_spec
33498 # Permission mode override for installation of shared libraries.
33499 install_override_mode=$lt_install_override_mode
33501 # Command to use after installation of a shared archive.
33502 postinstall_cmds=$lt_postinstall_cmds
33504 # Command to use after uninstallation of a shared archive.
33505 postuninstall_cmds=$lt_postuninstall_cmds
33507 # Commands used to finish a libtool library installation in a directory.
33508 finish_cmds=$lt_finish_cmds
33510 # As "finish_cmds", except a single script fragment to be evaled but
33511 # not shown.
33512 finish_eval=$lt_finish_eval
33514 # Whether we should hardcode library paths into libraries.
33515 hardcode_into_libs=$hardcode_into_libs
33517 # Compile-time system search path for libraries.
33518 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33520 # Run-time system search path for libraries.
33521 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33523 # Whether dlopen is supported.
33524 dlopen_support=$enable_dlopen
33526 # Whether dlopen of programs is supported.
33527 dlopen_self=$enable_dlopen_self
33529 # Whether dlopen of statically linked programs is supported.
33530 dlopen_self_static=$enable_dlopen_self_static
33532 # Commands to strip libraries.
33533 old_striplib=$lt_old_striplib
33534 striplib=$lt_striplib
33537 # The linker used to build libraries.
33538 LD=$lt_LD
33540 # How to create reloadable object files.
33541 reload_flag=$lt_reload_flag
33542 reload_cmds=$lt_reload_cmds
33544 # Commands used to build an old-style archive.
33545 old_archive_cmds=$lt_old_archive_cmds
33547 # A language specific compiler.
33548 CC=$lt_compiler
33550 # Is the compiler the GNU compiler?
33551 with_gcc=$GCC
33553 # Compiler flag to turn off builtin functions.
33554 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33556 # How to pass a linker flag through the compiler.
33557 wl=$lt_lt_prog_compiler_wl
33559 # Additional compiler flags for building library objects.
33560 pic_flag=$lt_lt_prog_compiler_pic
33562 # Compiler flag to prevent dynamic linking.
33563 link_static_flag=$lt_lt_prog_compiler_static
33565 # Does compiler simultaneously support -c and -o options?
33566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33568 # Whether or not to add -lc for building shared libraries.
33569 build_libtool_need_lc=$archive_cmds_need_lc
33571 # Whether or not to disallow shared libs when runtime libs are static.
33572 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33574 # Compiler flag to allow reflexive dlopens.
33575 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33577 # Compiler flag to generate shared objects directly from archives.
33578 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33580 # Whether the compiler copes with passing no objects directly.
33581 compiler_needs_object=$lt_compiler_needs_object
33583 # Create an old-style archive from a shared archive.
33584 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33586 # Create a temporary old-style archive to link instead of a shared archive.
33587 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33589 # Commands used to build a shared archive.
33590 archive_cmds=$lt_archive_cmds
33591 archive_expsym_cmds=$lt_archive_expsym_cmds
33593 # Commands used to build a loadable module if different from building
33594 # a shared archive.
33595 module_cmds=$lt_module_cmds
33596 module_expsym_cmds=$lt_module_expsym_cmds
33598 # Whether we are building with GNU ld or not.
33599 with_gnu_ld=$lt_with_gnu_ld
33601 # Flag that allows shared libraries with undefined symbols to be built.
33602 allow_undefined_flag=$lt_allow_undefined_flag
33604 # Flag that enforces no undefined symbols.
33605 no_undefined_flag=$lt_no_undefined_flag
33607 # Flag to hardcode \$libdir into a binary during linking.
33608 # This must work even if \$libdir does not exist
33609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33611 # If ld is used when linking, flag to hardcode \$libdir into a binary
33612 # during linking. This must work even if \$libdir does not exist.
33613 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33615 # Whether we need a single "-rpath" flag with a separated argument.
33616 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33619 # DIR into the resulting binary.
33620 hardcode_direct=$hardcode_direct
33622 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33623 # DIR into the resulting binary and the resulting library dependency is
33624 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33625 # library is relocated.
33626 hardcode_direct_absolute=$hardcode_direct_absolute
33628 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33629 # into the resulting binary.
33630 hardcode_minus_L=$hardcode_minus_L
33632 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33633 # into the resulting binary.
33634 hardcode_shlibpath_var=$hardcode_shlibpath_var
33636 # Set to "yes" if building a shared library automatically hardcodes DIR
33637 # into the library and all subsequent libraries and executables linked
33638 # against it.
33639 hardcode_automatic=$hardcode_automatic
33641 # Set to yes if linker adds runtime paths of dependent libraries
33642 # to runtime path list.
33643 inherit_rpath=$inherit_rpath
33645 # Whether libtool must link a program against all its dependency libraries.
33646 link_all_deplibs=$link_all_deplibs
33648 # Fix the shell variable \$srcfile for the compiler.
33649 fix_srcfile_path=$lt_fix_srcfile_path
33651 # Set to "yes" if exported symbols are required.
33652 always_export_symbols=$always_export_symbols
33654 # The commands to list exported symbols.
33655 export_symbols_cmds=$lt_export_symbols_cmds
33657 # Symbols that should not be listed in the preloaded symbols.
33658 exclude_expsyms=$lt_exclude_expsyms
33660 # Symbols that must always be exported.
33661 include_expsyms=$lt_include_expsyms
33663 # Commands necessary for linking programs (against libraries) with templates.
33664 prelink_cmds=$lt_prelink_cmds
33666 # Specify filename containing input files.
33667 file_list_spec=$lt_file_list_spec
33669 # How to hardcode a shared library path into an executable.
33670 hardcode_action=$hardcode_action
33672 # The directories searched by this compiler when creating a shared library.
33673 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33675 # Dependencies to place before and after the objects being linked to
33676 # create a shared library.
33677 predep_objects=$lt_predep_objects
33678 postdep_objects=$lt_postdep_objects
33679 predeps=$lt_predeps
33680 postdeps=$lt_postdeps
33682 # The library search path used internally by the compiler when linking
33683 # a shared library.
33684 compiler_lib_search_path=$lt_compiler_lib_search_path
33686 # ### END LIBTOOL CONFIG
33688 _LT_EOF
33690 case $host_os in
33691 aix3*)
33692 cat <<\_LT_EOF >> "$cfgfile"
33693 # AIX sometimes has problems with the GCC collect2 program. For some
33694 # reason, if we set the COLLECT_NAMES environment variable, the problems
33695 # vanish in a puff of smoke.
33696 if test "X${COLLECT_NAMES+set}" != Xset; then
33697 COLLECT_NAMES=
33698 export COLLECT_NAMES
33700 _LT_EOF
33702 esac
33705 ltmain="$ac_aux_dir/ltmain.sh"
33708 # We use sed instead of cat because bash on DJGPP gets confused if
33709 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33710 # text mode, it properly converts lines to CR/LF. This bash problem
33711 # is reportedly fixed, but why not run on old versions too?
33712 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33713 || (rm -f "$cfgfile"; exit 1)
33715 case $xsi_shell in
33716 yes)
33717 cat << \_LT_EOF >> "$cfgfile"
33719 # func_dirname file append nondir_replacement
33720 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33721 # otherwise set result to NONDIR_REPLACEMENT.
33722 func_dirname ()
33724 case ${1} in
33725 */*) func_dirname_result="${1%/*}${2}" ;;
33726 * ) func_dirname_result="${3}" ;;
33727 esac
33730 # func_basename file
33731 func_basename ()
33733 func_basename_result="${1##*/}"
33736 # func_dirname_and_basename file append nondir_replacement
33737 # perform func_basename and func_dirname in a single function
33738 # call:
33739 # dirname: Compute the dirname of FILE. If nonempty,
33740 # add APPEND to the result, otherwise set result
33741 # to NONDIR_REPLACEMENT.
33742 # value returned in "$func_dirname_result"
33743 # basename: Compute filename of FILE.
33744 # value retuned in "$func_basename_result"
33745 # Implementation must be kept synchronized with func_dirname
33746 # and func_basename. For efficiency, we do not delegate to
33747 # those functions but instead duplicate the functionality here.
33748 func_dirname_and_basename ()
33750 case ${1} in
33751 */*) func_dirname_result="${1%/*}${2}" ;;
33752 * ) func_dirname_result="${3}" ;;
33753 esac
33754 func_basename_result="${1##*/}"
33757 # func_stripname prefix suffix name
33758 # strip PREFIX and SUFFIX off of NAME.
33759 # PREFIX and SUFFIX must not contain globbing or regex special
33760 # characters, hashes, percent signs, but SUFFIX may contain a leading
33761 # dot (in which case that matches only a dot).
33762 func_stripname ()
33764 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33765 # positional parameters, so assign one to ordinary parameter first.
33766 func_stripname_result=${3}
33767 func_stripname_result=${func_stripname_result#"${1}"}
33768 func_stripname_result=${func_stripname_result%"${2}"}
33771 # func_opt_split
33772 func_opt_split ()
33774 func_opt_split_opt=${1%%=*}
33775 func_opt_split_arg=${1#*=}
33778 # func_lo2o object
33779 func_lo2o ()
33781 case ${1} in
33782 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33783 *) func_lo2o_result=${1} ;;
33784 esac
33787 # func_xform libobj-or-source
33788 func_xform ()
33790 func_xform_result=${1%.*}.lo
33793 # func_arith arithmetic-term...
33794 func_arith ()
33796 func_arith_result=$(( $* ))
33799 # func_len string
33800 # STRING may not start with a hyphen.
33801 func_len ()
33803 func_len_result=${#1}
33806 _LT_EOF
33808 *) # Bourne compatible functions.
33809 cat << \_LT_EOF >> "$cfgfile"
33811 # func_dirname file append nondir_replacement
33812 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33813 # otherwise set result to NONDIR_REPLACEMENT.
33814 func_dirname ()
33816 # Extract subdirectory from the argument.
33817 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
33818 if test "X$func_dirname_result" = "X${1}"; then
33819 func_dirname_result="${3}"
33820 else
33821 func_dirname_result="$func_dirname_result${2}"
33825 # func_basename file
33826 func_basename ()
33828 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
33832 # func_stripname prefix suffix name
33833 # strip PREFIX and SUFFIX off of NAME.
33834 # PREFIX and SUFFIX must not contain globbing or regex special
33835 # characters, hashes, percent signs, but SUFFIX may contain a leading
33836 # dot (in which case that matches only a dot).
33837 # func_strip_suffix prefix name
33838 func_stripname ()
33840 case ${2} in
33841 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33842 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33843 esac
33846 # sed scripts:
33847 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33848 my_sed_long_arg='1s/^-[^=]*=//'
33850 # func_opt_split
33851 func_opt_split ()
33853 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33854 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33857 # func_lo2o object
33858 func_lo2o ()
33860 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
33863 # func_xform libobj-or-source
33864 func_xform ()
33866 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33869 # func_arith arithmetic-term...
33870 func_arith ()
33872 func_arith_result=`expr "$@"`
33875 # func_len string
33876 # STRING may not start with a hyphen.
33877 func_len ()
33879 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33882 _LT_EOF
33883 esac
33885 case $lt_shell_append in
33886 yes)
33887 cat << \_LT_EOF >> "$cfgfile"
33889 # func_append var value
33890 # Append VALUE to the end of shell variable VAR.
33891 func_append ()
33893 eval "$1+=\$2"
33895 _LT_EOF
33898 cat << \_LT_EOF >> "$cfgfile"
33900 # func_append var value
33901 # Append VALUE to the end of shell variable VAR.
33902 func_append ()
33904 eval "$1=\$$1\$2"
33907 _LT_EOF
33909 esac
33912 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33913 || (rm -f "$cfgfile"; exit 1)
33915 mv -f "$cfgfile" "$ofile" ||
33916 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33917 chmod +x "$ofile"
33920 cat <<_LT_EOF >> "$ofile"
33922 # ### BEGIN LIBTOOL TAG CONFIG: FC
33924 # The linker used to build libraries.
33925 LD=$lt_LD_FC
33927 # How to create reloadable object files.
33928 reload_flag=$lt_reload_flag_FC
33929 reload_cmds=$lt_reload_cmds_FC
33931 # Commands used to build an old-style archive.
33932 old_archive_cmds=$lt_old_archive_cmds_FC
33934 # A language specific compiler.
33935 CC=$lt_compiler_FC
33937 # Is the compiler the GNU compiler?
33938 with_gcc=$GCC_FC
33940 # Compiler flag to turn off builtin functions.
33941 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33943 # How to pass a linker flag through the compiler.
33944 wl=$lt_lt_prog_compiler_wl_FC
33946 # Additional compiler flags for building library objects.
33947 pic_flag=$lt_lt_prog_compiler_pic_FC
33949 # Compiler flag to prevent dynamic linking.
33950 link_static_flag=$lt_lt_prog_compiler_static_FC
33952 # Does compiler simultaneously support -c and -o options?
33953 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33955 # Whether or not to add -lc for building shared libraries.
33956 build_libtool_need_lc=$archive_cmds_need_lc_FC
33958 # Whether or not to disallow shared libs when runtime libs are static.
33959 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33961 # Compiler flag to allow reflexive dlopens.
33962 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
33964 # Compiler flag to generate shared objects directly from archives.
33965 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
33967 # Whether the compiler copes with passing no objects directly.
33968 compiler_needs_object=$lt_compiler_needs_object_FC
33970 # Create an old-style archive from a shared archive.
33971 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
33973 # Create a temporary old-style archive to link instead of a shared archive.
33974 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
33976 # Commands used to build a shared archive.
33977 archive_cmds=$lt_archive_cmds_FC
33978 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
33980 # Commands used to build a loadable module if different from building
33981 # a shared archive.
33982 module_cmds=$lt_module_cmds_FC
33983 module_expsym_cmds=$lt_module_expsym_cmds_FC
33985 # Whether we are building with GNU ld or not.
33986 with_gnu_ld=$lt_with_gnu_ld_FC
33988 # Flag that allows shared libraries with undefined symbols to be built.
33989 allow_undefined_flag=$lt_allow_undefined_flag_FC
33991 # Flag that enforces no undefined symbols.
33992 no_undefined_flag=$lt_no_undefined_flag_FC
33994 # Flag to hardcode \$libdir into a binary during linking.
33995 # This must work even if \$libdir does not exist
33996 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
33998 # If ld is used when linking, flag to hardcode \$libdir into a binary
33999 # during linking. This must work even if \$libdir does not exist.
34000 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34002 # Whether we need a single "-rpath" flag with a separated argument.
34003 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34005 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34006 # DIR into the resulting binary.
34007 hardcode_direct=$hardcode_direct_FC
34009 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34010 # DIR into the resulting binary and the resulting library dependency is
34011 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34012 # library is relocated.
34013 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34015 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34016 # into the resulting binary.
34017 hardcode_minus_L=$hardcode_minus_L_FC
34019 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34020 # into the resulting binary.
34021 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34023 # Set to "yes" if building a shared library automatically hardcodes DIR
34024 # into the library and all subsequent libraries and executables linked
34025 # against it.
34026 hardcode_automatic=$hardcode_automatic_FC
34028 # Set to yes if linker adds runtime paths of dependent libraries
34029 # to runtime path list.
34030 inherit_rpath=$inherit_rpath_FC
34032 # Whether libtool must link a program against all its dependency libraries.
34033 link_all_deplibs=$link_all_deplibs_FC
34035 # Fix the shell variable \$srcfile for the compiler.
34036 fix_srcfile_path=$lt_fix_srcfile_path_FC
34038 # Set to "yes" if exported symbols are required.
34039 always_export_symbols=$always_export_symbols_FC
34041 # The commands to list exported symbols.
34042 export_symbols_cmds=$lt_export_symbols_cmds_FC
34044 # Symbols that should not be listed in the preloaded symbols.
34045 exclude_expsyms=$lt_exclude_expsyms_FC
34047 # Symbols that must always be exported.
34048 include_expsyms=$lt_include_expsyms_FC
34050 # Commands necessary for linking programs (against libraries) with templates.
34051 prelink_cmds=$lt_prelink_cmds_FC
34053 # Specify filename containing input files.
34054 file_list_spec=$lt_file_list_spec_FC
34056 # How to hardcode a shared library path into an executable.
34057 hardcode_action=$hardcode_action_FC
34059 # The directories searched by this compiler when creating a shared library.
34060 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34062 # Dependencies to place before and after the objects being linked to
34063 # create a shared library.
34064 predep_objects=$lt_predep_objects_FC
34065 postdep_objects=$lt_postdep_objects_FC
34066 predeps=$lt_predeps_FC
34067 postdeps=$lt_postdeps_FC
34069 # The library search path used internally by the compiler when linking
34070 # a shared library.
34071 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34073 # ### END LIBTOOL TAG CONFIG: FC
34074 _LT_EOF
34077 "gstdint.h":C)
34078 if test "$GCC" = yes; then
34079 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34080 else
34081 echo "/* generated for $CC */" > tmp-stdint.h
34084 sed 's/^ *//' >> tmp-stdint.h <<EOF
34086 #ifndef GCC_GENERATED_STDINT_H
34087 #define GCC_GENERATED_STDINT_H 1
34089 #include <sys/types.h>
34092 if test "$acx_cv_header_stdint" != stdint.h; then
34093 echo "#include <stddef.h>" >> tmp-stdint.h
34095 if test "$acx_cv_header_stdint" != stddef.h; then
34096 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34099 sed 's/^ *//' >> tmp-stdint.h <<EOF
34100 /* glibc uses these symbols as guards to prevent redefinitions. */
34101 #ifdef __int8_t_defined
34102 #define _INT8_T
34103 #define _INT16_T
34104 #define _INT32_T
34105 #endif
34106 #ifdef __uint32_t_defined
34107 #define _UINT32_T
34108 #endif
34112 # ----------------- done header, emit basic int types -------------
34113 if test "$acx_cv_header_stdint" = stddef.h; then
34114 sed 's/^ *//' >> tmp-stdint.h <<EOF
34116 #ifndef _UINT8_T
34117 #define _UINT8_T
34118 #ifndef __uint8_t_defined
34119 #define __uint8_t_defined
34120 #ifndef uint8_t
34121 typedef unsigned $acx_cv_type_int8_t uint8_t;
34122 #endif
34123 #endif
34124 #endif
34126 #ifndef _UINT16_T
34127 #define _UINT16_T
34128 #ifndef __uint16_t_defined
34129 #define __uint16_t_defined
34130 #ifndef uint16_t
34131 typedef unsigned $acx_cv_type_int16_t uint16_t;
34132 #endif
34133 #endif
34134 #endif
34136 #ifndef _UINT32_T
34137 #define _UINT32_T
34138 #ifndef __uint32_t_defined
34139 #define __uint32_t_defined
34140 #ifndef uint32_t
34141 typedef unsigned $acx_cv_type_int32_t uint32_t;
34142 #endif
34143 #endif
34144 #endif
34146 #ifndef _INT8_T
34147 #define _INT8_T
34148 #ifndef __int8_t_defined
34149 #define __int8_t_defined
34150 #ifndef int8_t
34151 typedef $acx_cv_type_int8_t int8_t;
34152 #endif
34153 #endif
34154 #endif
34156 #ifndef _INT16_T
34157 #define _INT16_T
34158 #ifndef __int16_t_defined
34159 #define __int16_t_defined
34160 #ifndef int16_t
34161 typedef $acx_cv_type_int16_t int16_t;
34162 #endif
34163 #endif
34164 #endif
34166 #ifndef _INT32_T
34167 #define _INT32_T
34168 #ifndef __int32_t_defined
34169 #define __int32_t_defined
34170 #ifndef int32_t
34171 typedef $acx_cv_type_int32_t int32_t;
34172 #endif
34173 #endif
34174 #endif
34176 elif test "$ac_cv_type_u_int32_t" = yes; then
34177 sed 's/^ *//' >> tmp-stdint.h <<EOF
34179 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34180 #ifndef _INT8_T
34181 #define _INT8_T
34182 #endif
34183 #ifndef _INT16_T
34184 #define _INT16_T
34185 #endif
34186 #ifndef _INT32_T
34187 #define _INT32_T
34188 #endif
34190 #ifndef _UINT8_T
34191 #define _UINT8_T
34192 #ifndef __uint8_t_defined
34193 #define __uint8_t_defined
34194 #ifndef uint8_t
34195 typedef u_int8_t uint8_t;
34196 #endif
34197 #endif
34198 #endif
34200 #ifndef _UINT16_T
34201 #define _UINT16_T
34202 #ifndef __uint16_t_defined
34203 #define __uint16_t_defined
34204 #ifndef uint16_t
34205 typedef u_int16_t uint16_t;
34206 #endif
34207 #endif
34208 #endif
34210 #ifndef _UINT32_T
34211 #define _UINT32_T
34212 #ifndef __uint32_t_defined
34213 #define __uint32_t_defined
34214 #ifndef uint32_t
34215 typedef u_int32_t uint32_t;
34216 #endif
34217 #endif
34218 #endif
34220 else
34221 sed 's/^ *//' >> tmp-stdint.h <<EOF
34223 /* Some systems have guard macros to prevent redefinitions, define them. */
34224 #ifndef _INT8_T
34225 #define _INT8_T
34226 #endif
34227 #ifndef _INT16_T
34228 #define _INT16_T
34229 #endif
34230 #ifndef _INT32_T
34231 #define _INT32_T
34232 #endif
34233 #ifndef _UINT8_T
34234 #define _UINT8_T
34235 #endif
34236 #ifndef _UINT16_T
34237 #define _UINT16_T
34238 #endif
34239 #ifndef _UINT32_T
34240 #define _UINT32_T
34241 #endif
34245 # ------------- done basic int types, emit int64_t types ------------
34246 if test "$ac_cv_type_uint64_t" = yes; then
34247 sed 's/^ *//' >> tmp-stdint.h <<EOF
34249 /* system headers have good uint64_t and int64_t */
34250 #ifndef _INT64_T
34251 #define _INT64_T
34252 #endif
34253 #ifndef _UINT64_T
34254 #define _UINT64_T
34255 #endif
34257 elif test "$ac_cv_type_u_int64_t" = yes; then
34258 sed 's/^ *//' >> tmp-stdint.h <<EOF
34260 /* system headers have an u_int64_t (and int64_t) */
34261 #ifndef _INT64_T
34262 #define _INT64_T
34263 #endif
34264 #ifndef _UINT64_T
34265 #define _UINT64_T
34266 #ifndef __uint64_t_defined
34267 #define __uint64_t_defined
34268 #ifndef uint64_t
34269 typedef u_int64_t uint64_t;
34270 #endif
34271 #endif
34272 #endif
34274 elif test -n "$acx_cv_type_int64_t"; then
34275 sed 's/^ *//' >> tmp-stdint.h <<EOF
34277 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34278 #ifndef _INT64_T
34279 #define _INT64_T
34280 #ifndef int64_t
34281 typedef $acx_cv_type_int64_t int64_t;
34282 #endif
34283 #endif
34284 #ifndef _UINT64_T
34285 #define _UINT64_T
34286 #ifndef __uint64_t_defined
34287 #define __uint64_t_defined
34288 #ifndef uint64_t
34289 typedef unsigned $acx_cv_type_int64_t uint64_t;
34290 #endif
34291 #endif
34292 #endif
34294 else
34295 sed 's/^ *//' >> tmp-stdint.h <<EOF
34297 /* some common heuristics for int64_t, using compiler-specific tests */
34298 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34299 #ifndef _INT64_T
34300 #define _INT64_T
34301 #ifndef __int64_t_defined
34302 #ifndef int64_t
34303 typedef long long int64_t;
34304 #endif
34305 #endif
34306 #endif
34307 #ifndef _UINT64_T
34308 #define _UINT64_T
34309 #ifndef uint64_t
34310 typedef unsigned long long uint64_t;
34311 #endif
34312 #endif
34314 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34315 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34316 does not implement __extension__. But that compiler doesn't define
34317 __GNUC_MINOR__. */
34318 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34319 # define __extension__
34320 # endif
34322 # ifndef _INT64_T
34323 # define _INT64_T
34324 # ifndef int64_t
34325 __extension__ typedef long long int64_t;
34326 # endif
34327 # endif
34328 # ifndef _UINT64_T
34329 # define _UINT64_T
34330 # ifndef uint64_t
34331 __extension__ typedef unsigned long long uint64_t;
34332 # endif
34333 # endif
34335 #elif !defined __STRICT_ANSI__
34336 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34338 # ifndef _INT64_T
34339 # define _INT64_T
34340 # ifndef int64_t
34341 typedef __int64 int64_t;
34342 # endif
34343 # endif
34344 # ifndef _UINT64_T
34345 # define _UINT64_T
34346 # ifndef uint64_t
34347 typedef unsigned __int64 uint64_t;
34348 # endif
34349 # endif
34350 # endif /* compiler */
34352 #endif /* ANSI version */
34356 # ------------- done int64_t types, emit intptr types ------------
34357 if test "$ac_cv_type_uintptr_t" != yes; then
34358 sed 's/^ *//' >> tmp-stdint.h <<EOF
34360 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34361 #ifndef __uintptr_t_defined
34362 #ifndef uintptr_t
34363 typedef u$acx_cv_type_intptr_t uintptr_t;
34364 #endif
34365 #endif
34366 #ifndef __intptr_t_defined
34367 #ifndef intptr_t
34368 typedef $acx_cv_type_intptr_t intptr_t;
34369 #endif
34370 #endif
34374 # ------------- done intptr types, emit int_least types ------------
34375 if test "$ac_cv_type_int_least32_t" != yes; then
34376 sed 's/^ *//' >> tmp-stdint.h <<EOF
34378 /* Define int_least types */
34379 typedef int8_t int_least8_t;
34380 typedef int16_t int_least16_t;
34381 typedef int32_t int_least32_t;
34382 #ifdef _INT64_T
34383 typedef int64_t int_least64_t;
34384 #endif
34386 typedef uint8_t uint_least8_t;
34387 typedef uint16_t uint_least16_t;
34388 typedef uint32_t uint_least32_t;
34389 #ifdef _UINT64_T
34390 typedef uint64_t uint_least64_t;
34391 #endif
34395 # ------------- done intptr types, emit int_fast types ------------
34396 if test "$ac_cv_type_int_fast32_t" != yes; then
34397 sed 's/^ *//' >> tmp-stdint.h <<EOF
34399 /* Define int_fast types. short is often slow */
34400 typedef int8_t int_fast8_t;
34401 typedef int int_fast16_t;
34402 typedef int32_t int_fast32_t;
34403 #ifdef _INT64_T
34404 typedef int64_t int_fast64_t;
34405 #endif
34407 typedef uint8_t uint_fast8_t;
34408 typedef unsigned int uint_fast16_t;
34409 typedef uint32_t uint_fast32_t;
34410 #ifdef _UINT64_T
34411 typedef uint64_t uint_fast64_t;
34412 #endif
34416 if test "$ac_cv_type_uintmax_t" != yes; then
34417 sed 's/^ *//' >> tmp-stdint.h <<EOF
34419 /* Define intmax based on what we found */
34420 #ifndef intmax_t
34421 #ifdef _INT64_T
34422 typedef int64_t intmax_t;
34423 #else
34424 typedef long intmax_t;
34425 #endif
34426 #endif
34427 #ifndef uintmax_t
34428 #ifdef _UINT64_T
34429 typedef uint64_t uintmax_t;
34430 #else
34431 typedef unsigned long uintmax_t;
34432 #endif
34433 #endif
34437 sed 's/^ *//' >> tmp-stdint.h <<EOF
34439 #endif /* GCC_GENERATED_STDINT_H */
34442 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
34443 rm -f tmp-stdint.h
34444 else
34445 mv -f tmp-stdint.h gstdint.h
34450 esac
34451 done # for ac_tag
34454 as_fn_exit 0
34455 _ACEOF
34456 ac_clean_files=$ac_clean_files_save
34458 test $ac_write_fail = 0 ||
34459 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34462 # configure is writing to config.log, and then calls config.status.
34463 # config.status does its own redirection, appending to config.log.
34464 # Unfortunately, on DOS this fails, as config.log is still kept open
34465 # by configure, so config.status won't be able to write to it; its
34466 # output is simply discarded. So we exec the FD to /dev/null,
34467 # effectively closing config.log, so it can be properly (re)opened and
34468 # appended to by config.status. When coming back to configure, we
34469 # need to make the FD available again.
34470 if test "$no_create" != yes; then
34471 ac_cs_success=:
34472 ac_config_status_args=
34473 test "$silent" = yes &&
34474 ac_config_status_args="$ac_config_status_args --quiet"
34475 exec 5>/dev/null
34476 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34477 exec 5>>config.log
34478 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34479 # would make configure fail if this is the last instruction.
34480 $ac_cs_success || as_fn_exit 1
34482 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34484 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}