preprocessor: Create the parser before handling command-line includes [PR115312]
[official-gcc.git] / libgfortran / configure
blob11a1bc5f07081f9b993f5c7a2b8b1e61bbe78474
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_DARWIN_AT_RPATH_FALSE
658 ENABLE_DARWIN_AT_RPATH_TRUE
659 enable_static
660 enable_shared
661 lt_host_flags
662 LIBM
663 OTOOL64
664 OTOOL
665 LIPO
666 NMEDIT
667 DSYMUTIL
668 OBJDUMP
669 LN_S
671 ac_ct_DUMPBIN
672 DUMPBIN
673 LIBTOOL
674 RANLIB
677 HAVE_HWCAP_FALSE
678 HAVE_HWCAP_TRUE
679 HWCAP_LDFLAGS
681 FGREP
683 SECTION_FLAGS
684 LIBGOMP_CHECKED_REAL_KINDS
685 LIBGOMP_CHECKED_INT_KINDS
686 LIBGFOR_MINIMAL_FALSE
687 LIBGFOR_MINIMAL_TRUE
688 LIBGFOR_USE_SYMVER_SUN_FALSE
689 LIBGFOR_USE_SYMVER_SUN_TRUE
690 LIBGFOR_USE_SYMVER_GNU_FALSE
691 LIBGFOR_USE_SYMVER_GNU_TRUE
692 LIBGFOR_USE_SYMVER_FALSE
693 LIBGFOR_USE_SYMVER_TRUE
694 AM_CFLAGS
695 AM_FCFLAGS
696 HAVE_REAL_17_FALSE
697 HAVE_REAL_17_TRUE
698 toolexeclibdir
699 toolexecdir
700 EGREP
701 GREP
703 am__fastdepCC_FALSE
704 am__fastdepCC_TRUE
705 CCDEPMODE
706 am__nodep
707 AMDEPBACKSLASH
708 AMDEP_FALSE
709 AMDEP_TRUE
710 am__quote
711 am__include
712 DEPDIR
713 OBJEXT
714 EXEEXT
715 ac_ct_CC
716 CPPFLAGS
717 LDFLAGS
718 CFLAGS
720 multi_basedir
721 MAINT
722 MAINTAINER_MODE_FALSE
723 MAINTAINER_MODE_TRUE
724 AM_BACKSLASH
725 AM_DEFAULT_VERBOSITY
726 AM_DEFAULT_V
727 AM_V
728 am__untar
729 am__tar
730 AMTAR
731 am__leading_dot
732 SET_MAKE
734 mkdir_p
735 MKDIR_P
736 INSTALL_STRIP_PROGRAM
737 STRIP
738 install_sh
739 MAKEINFO
740 AUTOHEADER
741 AUTOMAKE
742 AUTOCONF
743 ACLOCAL
744 VERSION
745 PACKAGE
746 CYGPATH_W
747 am__isrc
748 INSTALL_DATA
749 INSTALL_SCRIPT
750 INSTALL_PROGRAM
751 target_noncanonical
752 target_os
753 target_vendor
754 target_cpu
755 target
756 host_os
757 host_vendor
758 host_cpu
759 host
760 target_subdir
761 host_subdir
762 build_subdir
763 build_libsubdir
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files=''
807 ac_user_opts='
808 enable_option_checking
809 with_build_libsubdir
810 enable_version_specific_runtime_libs
811 enable_silent_rules
812 enable_maintainer_mode
813 enable_multilib
814 enable_dependency_tracking
815 with_toolexeclibdir
816 enable_cet
817 enable_symvers
818 with_gnu_ld
819 enable_shared
820 enable_static
821 with_pic
822 enable_fast_install
823 enable_libtool_lock
824 enable_darwin_at_rpath
825 enable_largefile
826 enable_libquadmath_support
827 with_gcc_major_version_only
829 ac_precious_vars='build_alias
830 host_alias
831 target_alias
833 CFLAGS
834 LDFLAGS
835 LIBS
836 CPPFLAGS
839 FCFLAGS'
842 # Initialize some variables set by options.
843 ac_init_help=
844 ac_init_version=false
845 ac_unrecognized_opts=
846 ac_unrecognized_sep=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
849 cache_file=/dev/null
850 exec_prefix=NONE
851 no_create=
852 no_recursion=
853 prefix=NONE
854 program_prefix=NONE
855 program_suffix=NONE
856 program_transform_name=s,x,x,
857 silent=
858 site=
859 srcdir=
860 verbose=
861 x_includes=NONE
862 x_libraries=NONE
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir='${exec_prefix}/bin'
871 sbindir='${exec_prefix}/sbin'
872 libexecdir='${exec_prefix}/libexec'
873 datarootdir='${prefix}/share'
874 datadir='${datarootdir}'
875 sysconfdir='${prefix}/etc'
876 sharedstatedir='${prefix}/com'
877 localstatedir='${prefix}/var'
878 includedir='${prefix}/include'
879 oldincludedir='/usr/include'
880 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir='${datarootdir}/info'
882 htmldir='${docdir}'
883 dvidir='${docdir}'
884 pdfdir='${docdir}'
885 psdir='${docdir}'
886 libdir='${exec_prefix}/lib'
887 localedir='${datarootdir}/locale'
888 mandir='${datarootdir}/man'
890 ac_prev=
891 ac_dashdash=
892 for ac_option
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\$ac_option
897 ac_prev=
898 continue
901 case $ac_option in
902 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903 *=) ac_optarg= ;;
904 *) ac_optarg=yes ;;
905 esac
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
911 ac_dashdash=yes ;;
913 -bindir | --bindir | --bindi | --bind | --bin | --bi)
914 ac_prev=bindir ;;
915 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
916 bindir=$ac_optarg ;;
918 -build | --build | --buil | --bui | --bu)
919 ac_prev=build_alias ;;
920 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
921 build_alias=$ac_optarg ;;
923 -cache-file | --cache-file | --cache-fil | --cache-fi \
924 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
925 ac_prev=cache_file ;;
926 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
927 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
928 cache_file=$ac_optarg ;;
930 --config-cache | -C)
931 cache_file=config.cache ;;
933 -datadir | --datadir | --datadi | --datad)
934 ac_prev=datadir ;;
935 -datadir=* | --datadir=* | --datadi=* | --datad=*)
936 datadir=$ac_optarg ;;
938 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
939 | --dataroo | --dataro | --datar)
940 ac_prev=datarootdir ;;
941 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
942 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
943 datarootdir=$ac_optarg ;;
945 -disable-* | --disable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error $? "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
954 "enable_$ac_useropt"
955 "*) ;;
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
958 esac
959 eval enable_$ac_useropt=no ;;
961 -docdir | --docdir | --docdi | --doc | --do)
962 ac_prev=docdir ;;
963 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
964 docdir=$ac_optarg ;;
966 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 ac_prev=dvidir ;;
968 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
969 dvidir=$ac_optarg ;;
971 -enable-* | --enable-*)
972 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 as_fn_error $? "invalid feature name: $ac_useropt"
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
980 "enable_$ac_useropt"
981 "*) ;;
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
984 esac
985 eval enable_$ac_useropt=\$ac_optarg ;;
987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989 | --exec | --exe | --ex)
990 ac_prev=exec_prefix ;;
991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993 | --exec=* | --exe=* | --ex=*)
994 exec_prefix=$ac_optarg ;;
996 -gas | --gas | --ga | --g)
997 # Obsolete; use --with-gas.
998 with_gas=yes ;;
1000 -help | --help | --hel | --he | -h)
1001 ac_init_help=long ;;
1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003 ac_init_help=recursive ;;
1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005 ac_init_help=short ;;
1007 -host | --host | --hos | --ho)
1008 ac_prev=host_alias ;;
1009 -host=* | --host=* | --hos=* | --ho=*)
1010 host_alias=$ac_optarg ;;
1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 ac_prev=htmldir ;;
1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 | --ht=*)
1016 htmldir=$ac_optarg ;;
1018 -includedir | --includedir | --includedi | --included | --include \
1019 | --includ | --inclu | --incl | --inc)
1020 ac_prev=includedir ;;
1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022 | --includ=* | --inclu=* | --incl=* | --inc=*)
1023 includedir=$ac_optarg ;;
1025 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 ac_prev=infodir ;;
1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028 infodir=$ac_optarg ;;
1030 -libdir | --libdir | --libdi | --libd)
1031 ac_prev=libdir ;;
1032 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033 libdir=$ac_optarg ;;
1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036 | --libexe | --libex | --libe)
1037 ac_prev=libexecdir ;;
1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039 | --libexe=* | --libex=* | --libe=*)
1040 libexecdir=$ac_optarg ;;
1042 -localedir | --localedir | --localedi | --localed | --locale)
1043 ac_prev=localedir ;;
1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045 localedir=$ac_optarg ;;
1047 -localstatedir | --localstatedir | --localstatedi | --localstated \
1048 | --localstate | --localstat | --localsta | --localst | --locals)
1049 ac_prev=localstatedir ;;
1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 localstatedir=$ac_optarg ;;
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 ac_prev=mandir ;;
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 mandir=$ac_optarg ;;
1059 -nfp | --nfp | --nf)
1060 # Obsolete; use --without-fp.
1061 with_fp=no ;;
1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064 | --no-cr | --no-c | -n)
1065 no_create=yes ;;
1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1069 no_recursion=yes ;;
1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073 | --oldin | --oldi | --old | --ol | --o)
1074 ac_prev=oldincludedir ;;
1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078 oldincludedir=$ac_optarg ;;
1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 ac_prev=prefix ;;
1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083 prefix=$ac_optarg ;;
1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086 | --program-pre | --program-pr | --program-p)
1087 ac_prev=program_prefix ;;
1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090 program_prefix=$ac_optarg ;;
1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093 | --program-suf | --program-su | --program-s)
1094 ac_prev=program_suffix ;;
1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097 program_suffix=$ac_optarg ;;
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 | --program-transform-n | --program-transform- \
1102 | --program-transform | --program-transfor \
1103 | --program-transfo | --program-transf \
1104 | --program-trans | --program-tran \
1105 | --progr-tra | --program-tr | --program-t)
1106 ac_prev=program_transform_name ;;
1107 -program-transform-name=* | --program-transform-name=* \
1108 | --program-transform-nam=* | --program-transform-na=* \
1109 | --program-transform-n=* | --program-transform-=* \
1110 | --program-transform=* | --program-transfor=* \
1111 | --program-transfo=* | --program-transf=* \
1112 | --program-trans=* | --program-tran=* \
1113 | --progr-tra=* | --program-tr=* | --program-t=*)
1114 program_transform_name=$ac_optarg ;;
1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 ac_prev=pdfdir ;;
1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119 pdfdir=$ac_optarg ;;
1121 -psdir | --psdir | --psdi | --psd | --ps)
1122 ac_prev=psdir ;;
1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1124 psdir=$ac_optarg ;;
1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127 | -silent | --silent | --silen | --sile | --sil)
1128 silent=yes ;;
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 ac_prev=sbindir ;;
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 | --sbi=* | --sb=*)
1134 sbindir=$ac_optarg ;;
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1139 | --sha | --sh)
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 | --sha=* | --sh=*)
1145 sharedstatedir=$ac_optarg ;;
1147 -site | --site | --sit)
1148 ac_prev=site ;;
1149 -site=* | --site=* | --sit=*)
1150 site=$ac_optarg ;;
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 ac_prev=srcdir ;;
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170 verbose=yes ;;
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1175 -with-* | --with-*)
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: $ac_useropt"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1184 "with_$ac_useropt"
1185 "*) ;;
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1188 esac
1189 eval with_$ac_useropt=\$ac_optarg ;;
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: $ac_useropt"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1200 "with_$ac_useropt"
1201 "*) ;;
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1204 esac
1205 eval with_$ac_useropt=no ;;
1207 --x)
1208 # Obsolete; use --with-x.
1209 with_x=yes ;;
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1213 ac_prev=x_includes ;;
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216 x_includes=$ac_optarg ;;
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220 ac_prev=x_libraries ;;
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223 x_libraries=$ac_optarg ;;
1225 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1229 *=*)
1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1234 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235 esac
1236 eval $ac_envvar=\$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1247 esac
1248 done
1250 if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $? "missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1257 no) ;;
1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 esac
1263 # Check all directory arguments for consistency.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val=\$$ac_var
1270 # Remove trailing slashes.
1271 case $ac_val in
1272 */ )
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\$ac_val;;
1275 esac
1276 # Be sure to have absolute directory names.
1277 case $ac_val in
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 esac
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282 done
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1287 build=$build_alias
1288 host=$host_alias
1289 target=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x; then
1293 if test "x$build_alias" = x; then
1294 cross_compiling=maybe
1295 elif test "x$build_alias" != "x$host_alias"; then
1296 cross_compiling=yes
1300 ac_tool_prefix=
1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1303 test "$silent" = yes && exec 6>/dev/null
1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di=`ls -di .` &&
1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $? "working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $? "pwd does not report name of working directory"
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325 s//\1/
1328 /^X\(\/\/\)[^/].*/{
1329 s//\1/
1332 /^X\(\/\/\)$/{
1333 s//\1/
1336 /^X\(\/\).*/{
1337 s//\1/
1340 s/.*/./; q'`
1341 srcdir=$ac_confdir
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 srcdir=..
1345 else
1346 ac_srcdir_defaulted=no
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1352 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 ac_abs_confdir=`(
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 pwd)`
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1358 srcdir=.
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1363 case $srcdir in
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 esac
1366 for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371 done
1374 # Report the --help message.
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1379 cat <<_ACEOF
1380 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1387 Defaults for the options are specified in brackets.
1389 Configuration:
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 [PREFIX]
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1411 For better control, use the options below.
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1433 _ACEOF
1435 cat <<\_ACEOF
1437 Program names:
1438 --program-prefix=PREFIX prepend PREFIX to installed program names
1439 --program-suffix=SUFFIX append SUFFIX to installed program names
1440 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1442 System types:
1443 --build=BUILD configure for building on BUILD [guessed]
1444 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1445 --target=TARGET configure for building compilers for TARGET [HOST]
1446 _ACEOF
1449 if test -n "$ac_init_help"; then
1450 case $ac_init_help in
1451 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1452 esac
1453 cat <<\_ACEOF
1455 Optional Features:
1456 --disable-option-checking ignore unrecognized --enable/--with options
1457 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1458 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1459 --enable-version-specific-runtime-libs
1460 specify that runtime libraries should be installed
1461 in a compiler-specific directory
1462 --enable-silent-rules less verbose build output (undo: "make V=1")
1463 --disable-silent-rules verbose build output (undo: "make V=0")
1464 --enable-maintainer-mode
1465 enable make rules and dependencies not useful (and
1466 sometimes confusing) to the casual installer
1467 --enable-multilib build many library versions (default)
1468 --enable-dependency-tracking
1469 do not reject slow dependency extractors
1470 --disable-dependency-tracking
1471 speeds up one-time build
1472 --enable-cet enable Intel CET in target libraries [default=auto]
1473 --disable-symvers disable symbol versioning for libgfortran
1474 --enable-shared[=PKGS] build shared libraries [default=yes]
1475 --enable-static[=PKGS] build static libraries [default=yes]
1476 --enable-fast-install[=PKGS]
1477 optimize for fast installation [default=yes]
1478 --disable-libtool-lock avoid locking (might break parallel builds)
1479 --enable-darwin-at-rpath
1480 install libraries with @rpath/library-name, requires
1481 rpaths to be added to executables
1482 --disable-largefile omit support for large files
1483 --disable-libquadmath-support
1484 disable libquadmath support for Fortran
1486 Optional Packages:
1487 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1488 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1489 --with-build-libsubdir=DIR Directory where to find libraries for build system
1490 --with-toolexeclibdir=DIR
1491 install libraries built with a cross compiler within
1493 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1494 --with-pic try to use only PIC/non-PIC objects [default=use
1495 both]
1496 --with-gcc-major-version-only
1497 use only GCC major number in filesystem paths
1499 Some influential environment variables:
1500 CC C compiler command
1501 CFLAGS C compiler flags
1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1503 nonstandard directory <lib dir>
1504 LIBS libraries to pass to the linker, e.g. -l<library>
1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1506 you have headers in a nonstandard directory <include dir>
1507 CPP C preprocessor
1508 FC Fortran compiler command
1509 FCFLAGS Fortran compiler flags
1511 Use these variables to override the choices made by `configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1514 Report bugs to the package provider.
1515 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1516 General help using GNU software: <http://www.gnu.org/gethelp/>.
1517 _ACEOF
1518 ac_status=$?
1521 if test "$ac_init_help" = "recursive"; then
1522 # If there are subdirs, report their specific --help.
1523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1524 test -d "$ac_dir" ||
1525 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1526 continue
1527 ac_builddir=.
1529 case "$ac_dir" in
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538 esac ;;
1539 esac
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1545 case $srcdir in
1546 .) # We are building in place.
1547 ac_srcdir=.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1554 *) # Relative name.
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 esac
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if test -f "$ac_srcdir/configure.gnu"; then
1564 echo &&
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif test -f "$ac_srcdir/configure"; then
1567 echo &&
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1569 else
1570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571 fi || ac_status=$?
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1573 done
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1578 cat <<\_ACEOF
1579 GNU Fortran Runtime Library configure 0.3
1580 generated by GNU Autoconf 2.69
1582 Copyright (C) 2012 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1585 _ACEOF
1586 exit
1589 ## ------------------------ ##
1590 ## Autoconf initialization. ##
1591 ## ------------------------ ##
1593 # ac_fn_c_try_compile LINENO
1594 # --------------------------
1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_compile ()
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rm -f conftest.$ac_objext
1600 if { { ac_try="$ac_compile"
1601 case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604 esac
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_compile") 2>conftest.err
1608 ac_status=$?
1609 if test -s conftest.err; then
1610 grep -v '^ *+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && {
1616 test -z "$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1618 } && test -s conftest.$ac_objext; then :
1619 ac_retval=0
1620 else
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1624 ac_retval=1
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1629 } # ac_fn_c_try_compile
1631 # ac_fn_c_try_cpp LINENO
1632 # ----------------------
1633 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_cpp ()
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if { { ac_try="$ac_cpp conftest.$ac_ext"
1638 case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1645 ac_status=$?
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } > conftest.i && {
1653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1655 }; then :
1656 ac_retval=0
1657 else
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1661 ac_retval=1
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1666 } # ac_fn_c_try_cpp
1668 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1669 # -------------------------------------------------------
1670 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1671 # the include files in INCLUDES and setting the cache variable VAR
1672 # accordingly.
1673 ac_fn_c_check_header_mongrel ()
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if eval \${$3+:} false; then :
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1682 eval ac_res=\$$3
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 else
1686 # Is the header compilable?
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1688 $as_echo_n "checking $2 usability... " >&6; }
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1692 #include <$2>
1693 _ACEOF
1694 if ac_fn_c_try_compile "$LINENO"; then :
1695 ac_header_compiler=yes
1696 else
1697 ac_header_compiler=no
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1701 $as_echo "$ac_header_compiler" >&6; }
1703 # Is the header present?
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1705 $as_echo_n "checking $2 presence... " >&6; }
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1708 #include <$2>
1709 _ACEOF
1710 if ac_fn_c_try_cpp "$LINENO"; then :
1711 ac_header_preproc=yes
1712 else
1713 ac_header_preproc=no
1715 rm -f conftest.err conftest.i conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1717 $as_echo "$ac_header_preproc" >&6; }
1719 # So? What about this header?
1720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1721 yes:no: )
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1723 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1727 no:yes:* )
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1729 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1731 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1733 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1735 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1737 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1739 esac
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if eval \${$3+:} false; then :
1743 $as_echo_n "(cached) " >&6
1744 else
1745 eval "$3=\$ac_header_compiler"
1747 eval ac_res=\$$3
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 } # ac_fn_c_check_header_mongrel
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1759 ac_fn_c_try_run ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_link"
1763 case "(($ac_try" in
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>&5
1770 ac_status=$?
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1773 { { case "(($ac_try" in
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_try") 2>&5
1780 ac_status=$?
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; }; }; then :
1783 ac_retval=0
1784 else
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1789 ac_retval=$ac_status
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1795 } # ac_fn_c_try_run
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1808 else
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1812 #include <$2>
1813 _ACEOF
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815 eval "$3=yes"
1816 else
1817 eval "$3=no"
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 eval ac_res=\$$3
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 } # ac_fn_c_check_header_compile
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_link ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1836 case "(($ac_try" in
1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1839 esac
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1843 ac_status=$?
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 test -x conftest$ac_exeext
1856 }; then :
1857 ac_retval=0
1858 else
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1862 ac_retval=1
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status $ac_retval
1872 } # ac_fn_c_try_link
1874 # ac_fn_c_check_func LINENO FUNC VAR
1875 # ----------------------------------
1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1877 ac_fn_c_check_func ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 if test x$gcc_no_link = xyes; then
1886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1890 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1892 #define $2 innocuous_$2
1894 /* System header to define __stub macros and hopefully few prototypes,
1895 which can conflict with char $2 (); below.
1896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1897 <limits.h> exists even on freestanding compilers. */
1899 #ifdef __STDC__
1900 # include <limits.h>
1901 #else
1902 # include <assert.h>
1903 #endif
1905 #undef $2
1907 /* Override any GCC internal prototype to avoid an error.
1908 Use char because int might match the return type of a GCC
1909 builtin and then its argument prototype would still apply. */
1910 #ifdef __cplusplus
1911 extern "C"
1912 #endif
1913 char $2 ();
1914 /* The GNU C library defines this for functions which it implements
1915 to always fail with ENOSYS. Some functions are actually named
1916 something starting with __ and the normal name is an alias. */
1917 #if defined __stub_$2 || defined __stub___$2
1918 choke me
1919 #endif
1922 main ()
1924 return $2 ();
1926 return 0;
1928 _ACEOF
1929 if ac_fn_c_try_link "$LINENO"; then :
1930 eval "$3=yes"
1931 else
1932 eval "$3=no"
1934 rm -f core conftest.err conftest.$ac_objext \
1935 conftest$ac_exeext conftest.$ac_ext
1937 eval ac_res=\$$3
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 } # ac_fn_c_check_func
1944 # ac_fn_fc_try_compile LINENO
1945 # ---------------------------
1946 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1947 ac_fn_fc_try_compile ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 rm -f conftest.$ac_objext
1951 if { { ac_try="$ac_compile"
1952 case "(($ac_try" in
1953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1955 esac
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_compile") 2>conftest.err
1959 ac_status=$?
1960 if test -s conftest.err; then
1961 grep -v '^ *+' conftest.err >conftest.er1
1962 cat conftest.er1 >&5
1963 mv -f conftest.er1 conftest.err
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; } && {
1967 test -z "$ac_fc_werror_flag" ||
1968 test ! -s conftest.err
1969 } && test -s conftest.$ac_objext; then :
1970 ac_retval=0
1971 else
1972 $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1975 ac_retval=1
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 as_fn_set_status $ac_retval
1980 } # ac_fn_fc_try_compile
1982 # ac_fn_fc_try_link LINENO
1983 # ------------------------
1984 # Try to link conftest.$ac_ext, and return whether this succeeded.
1985 ac_fn_fc_try_link ()
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 rm -f conftest.$ac_objext conftest$ac_exeext
1989 if { { ac_try="$ac_link"
1990 case "(($ac_try" in
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1993 esac
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_link") 2>conftest.err
1997 ac_status=$?
1998 if test -s conftest.err; then
1999 grep -v '^ *+' conftest.err >conftest.er1
2000 cat conftest.er1 >&5
2001 mv -f conftest.er1 conftest.err
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; } && {
2005 test -z "$ac_fc_werror_flag" ||
2006 test ! -s conftest.err
2007 } && test -s conftest$ac_exeext && {
2008 test "$cross_compiling" = yes ||
2009 test -x conftest$ac_exeext
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2016 ac_retval=1
2018 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2019 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2020 # interfere with the next link command; also delete a directory that is
2021 # left behind by Apple's compiler. We do this before executing the actions.
2022 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 as_fn_set_status $ac_retval
2026 } # ac_fn_fc_try_link
2028 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2029 # -------------------------------------------
2030 # Tests whether TYPE exists after having included INCLUDES, setting cache
2031 # variable VAR accordingly.
2032 ac_fn_c_check_type ()
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2036 $as_echo_n "checking for $2... " >&6; }
2037 if eval \${$3+:} false; then :
2038 $as_echo_n "(cached) " >&6
2039 else
2040 eval "$3=no"
2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2045 main ()
2047 if (sizeof ($2))
2048 return 0;
2050 return 0;
2052 _ACEOF
2053 if ac_fn_c_try_compile "$LINENO"; then :
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2058 main ()
2060 if (sizeof (($2)))
2061 return 0;
2063 return 0;
2065 _ACEOF
2066 if ac_fn_c_try_compile "$LINENO"; then :
2068 else
2069 eval "$3=yes"
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 eval ac_res=\$$3
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080 } # ac_fn_c_check_type
2082 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2083 # --------------------------------------------
2084 # Tries to find the compile-time value of EXPR in a program that includes
2085 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2086 # computed
2087 ac_fn_c_compute_int ()
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 if test "$cross_compiling" = yes; then
2091 # Depending upon the size, compute the lo and hi bounds.
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2096 main ()
2098 static int test_array [1 - 2 * !(($2) >= 0)];
2099 test_array [0] = 0;
2100 return test_array [0];
2103 return 0;
2105 _ACEOF
2106 if ac_fn_c_try_compile "$LINENO"; then :
2107 ac_lo=0 ac_mid=0
2108 while :; do
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2113 main ()
2115 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2116 test_array [0] = 0;
2117 return test_array [0];
2120 return 0;
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_hi=$ac_mid; break
2125 else
2126 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2127 if test $ac_lo -le $ac_mid; then
2128 ac_lo= ac_hi=
2129 break
2131 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2134 done
2135 else
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2140 main ()
2142 static int test_array [1 - 2 * !(($2) < 0)];
2143 test_array [0] = 0;
2144 return test_array [0];
2147 return 0;
2149 _ACEOF
2150 if ac_fn_c_try_compile "$LINENO"; then :
2151 ac_hi=-1 ac_mid=-1
2152 while :; do
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2157 main ()
2159 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2160 test_array [0] = 0;
2161 return test_array [0];
2164 return 0;
2166 _ACEOF
2167 if ac_fn_c_try_compile "$LINENO"; then :
2168 ac_lo=$ac_mid; break
2169 else
2170 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2171 if test $ac_mid -le $ac_hi; then
2172 ac_lo= ac_hi=
2173 break
2175 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 done
2179 else
2180 ac_lo= ac_hi=
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 # Binary search between lo and hi bounds.
2186 while test "x$ac_lo" != "x$ac_hi"; do
2187 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2192 main ()
2194 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2195 test_array [0] = 0;
2196 return test_array [0];
2199 return 0;
2201 _ACEOF
2202 if ac_fn_c_try_compile "$LINENO"; then :
2203 ac_hi=$ac_mid
2204 else
2205 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 done
2209 case $ac_lo in #((
2210 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2211 '') ac_retval=1 ;;
2212 esac
2213 else
2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2217 static long int longval () { return $2; }
2218 static unsigned long int ulongval () { return $2; }
2219 #include <stdio.h>
2220 #include <stdlib.h>
2222 main ()
2225 FILE *f = fopen ("conftest.val", "w");
2226 if (! f)
2227 return 1;
2228 if (($2) < 0)
2230 long int i = longval ();
2231 if (i != ($2))
2232 return 1;
2233 fprintf (f, "%ld", i);
2235 else
2237 unsigned long int i = ulongval ();
2238 if (i != ($2))
2239 return 1;
2240 fprintf (f, "%lu", i);
2242 /* Do not output a trailing newline, as this causes \r\n confusion
2243 on some platforms. */
2244 return ferror (f) || fclose (f) != 0;
2247 return 0;
2249 _ACEOF
2250 if ac_fn_c_try_run "$LINENO"; then :
2251 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2252 else
2253 ac_retval=1
2255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2256 conftest.$ac_objext conftest.beam conftest.$ac_ext
2257 rm -f conftest.val
2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261 as_fn_set_status $ac_retval
2263 } # ac_fn_c_compute_int
2265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2266 # ----------------------------------------------------
2267 # Tries to find if the field MEMBER exists in type AGGR, after including
2268 # INCLUDES, setting cache variable VAR accordingly.
2269 ac_fn_c_check_member ()
2271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2273 $as_echo_n "checking for $2.$3... " >&6; }
2274 if eval \${$4+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2281 main ()
2283 static $2 ac_aggr;
2284 if (ac_aggr.$3)
2285 return 0;
2287 return 0;
2289 _ACEOF
2290 if ac_fn_c_try_compile "$LINENO"; then :
2291 eval "$4=yes"
2292 else
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2297 main ()
2299 static $2 ac_aggr;
2300 if (sizeof ac_aggr.$3)
2301 return 0;
2303 return 0;
2305 _ACEOF
2306 if ac_fn_c_try_compile "$LINENO"; then :
2307 eval "$4=yes"
2308 else
2309 eval "$4=no"
2311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2315 eval ac_res=\$$4
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2317 $as_echo "$ac_res" >&6; }
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 } # ac_fn_c_check_member
2321 cat >config.log <<_ACEOF
2322 This file contains any messages produced by compilers while
2323 running configure, to aid debugging if configure makes a mistake.
2325 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2326 generated by GNU Autoconf 2.69. Invocation command line was
2328 $ $0 $@
2330 _ACEOF
2331 exec 5>>config.log
2333 cat <<_ASUNAME
2334 ## --------- ##
2335 ## Platform. ##
2336 ## --------- ##
2338 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2339 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2340 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2341 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2342 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2344 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2345 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2347 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2348 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2349 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2350 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2351 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2352 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2353 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2355 _ASUNAME
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 for as_dir in $PATH
2360 IFS=$as_save_IFS
2361 test -z "$as_dir" && as_dir=.
2362 $as_echo "PATH: $as_dir"
2363 done
2364 IFS=$as_save_IFS
2366 } >&5
2368 cat >&5 <<_ACEOF
2371 ## ----------- ##
2372 ## Core tests. ##
2373 ## ----------- ##
2375 _ACEOF
2378 # Keep a trace of the command line.
2379 # Strip out --no-create and --no-recursion so they do not pile up.
2380 # Strip out --silent because we don't want to record it for future runs.
2381 # Also quote any args containing shell meta-characters.
2382 # Make two passes to allow for proper duplicate-argument suppression.
2383 ac_configure_args=
2384 ac_configure_args0=
2385 ac_configure_args1=
2386 ac_must_keep_next=false
2387 for ac_pass in 1 2
2389 for ac_arg
2391 case $ac_arg in
2392 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2394 | -silent | --silent | --silen | --sile | --sil)
2395 continue ;;
2396 *\'*)
2397 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2398 esac
2399 case $ac_pass in
2400 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2402 as_fn_append ac_configure_args1 " '$ac_arg'"
2403 if test $ac_must_keep_next = true; then
2404 ac_must_keep_next=false # Got value, back to normal.
2405 else
2406 case $ac_arg in
2407 *=* | --config-cache | -C | -disable-* | --disable-* \
2408 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2409 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2410 | -with-* | --with-* | -without-* | --without-* | --x)
2411 case "$ac_configure_args0 " in
2412 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2413 esac
2415 -* ) ac_must_keep_next=true ;;
2416 esac
2418 as_fn_append ac_configure_args " '$ac_arg'"
2420 esac
2421 done
2422 done
2423 { ac_configure_args0=; unset ac_configure_args0;}
2424 { ac_configure_args1=; unset ac_configure_args1;}
2426 # When interrupted or exit'd, cleanup temporary files, and complete
2427 # config.log. We remove comments because anyway the quotes in there
2428 # would cause problems or look ugly.
2429 # WARNING: Use '\'' to represent an apostrophe within the trap.
2430 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2431 trap 'exit_status=$?
2432 # Save into config.log some information that might help in debugging.
2434 echo
2436 $as_echo "## ---------------- ##
2437 ## Cache variables. ##
2438 ## ---------------- ##"
2439 echo
2440 # The following way of writing the cache mishandles newlines in values,
2442 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2443 eval ac_val=\$$ac_var
2444 case $ac_val in #(
2445 *${as_nl}*)
2446 case $ac_var in #(
2447 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2448 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2449 esac
2450 case $ac_var in #(
2451 _ | IFS | as_nl) ;; #(
2452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2453 *) { eval $ac_var=; unset $ac_var;} ;;
2454 esac ;;
2455 esac
2456 done
2457 (set) 2>&1 |
2458 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2459 *${as_nl}ac_space=\ *)
2460 sed -n \
2461 "s/'\''/'\''\\\\'\'''\''/g;
2462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2463 ;; #(
2465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2467 esac |
2468 sort
2470 echo
2472 $as_echo "## ----------------- ##
2473 ## Output variables. ##
2474 ## ----------------- ##"
2475 echo
2476 for ac_var in $ac_subst_vars
2478 eval ac_val=\$$ac_var
2479 case $ac_val in
2480 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2481 esac
2482 $as_echo "$ac_var='\''$ac_val'\''"
2483 done | sort
2484 echo
2486 if test -n "$ac_subst_files"; then
2487 $as_echo "## ------------------- ##
2488 ## File substitutions. ##
2489 ## ------------------- ##"
2490 echo
2491 for ac_var in $ac_subst_files
2493 eval ac_val=\$$ac_var
2494 case $ac_val in
2495 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2496 esac
2497 $as_echo "$ac_var='\''$ac_val'\''"
2498 done | sort
2499 echo
2502 if test -s confdefs.h; then
2503 $as_echo "## ----------- ##
2504 ## confdefs.h. ##
2505 ## ----------- ##"
2506 echo
2507 cat confdefs.h
2508 echo
2510 test "$ac_signal" != 0 &&
2511 $as_echo "$as_me: caught signal $ac_signal"
2512 $as_echo "$as_me: exit $exit_status"
2513 } >&5
2514 rm -f core *.core core.conftest.* &&
2515 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2516 exit $exit_status
2518 for ac_signal in 1 2 13 15; do
2519 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2520 done
2521 ac_signal=0
2523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2524 rm -f -r conftest* confdefs.h
2526 $as_echo "/* confdefs.h */" > confdefs.h
2528 # Predefined preprocessor variables.
2530 cat >>confdefs.h <<_ACEOF
2531 #define PACKAGE_NAME "$PACKAGE_NAME"
2532 _ACEOF
2534 cat >>confdefs.h <<_ACEOF
2535 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2536 _ACEOF
2538 cat >>confdefs.h <<_ACEOF
2539 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2540 _ACEOF
2542 cat >>confdefs.h <<_ACEOF
2543 #define PACKAGE_STRING "$PACKAGE_STRING"
2544 _ACEOF
2546 cat >>confdefs.h <<_ACEOF
2547 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2548 _ACEOF
2550 cat >>confdefs.h <<_ACEOF
2551 #define PACKAGE_URL "$PACKAGE_URL"
2552 _ACEOF
2555 # Let the site file select an alternate cache file if it wants to.
2556 # Prefer an explicitly selected file to automatically selected ones.
2557 ac_site_file1=NONE
2558 ac_site_file2=NONE
2559 if test -n "$CONFIG_SITE"; then
2560 # We do not want a PATH search for config.site.
2561 case $CONFIG_SITE in #((
2562 -*) ac_site_file1=./$CONFIG_SITE;;
2563 */*) ac_site_file1=$CONFIG_SITE;;
2564 *) ac_site_file1=./$CONFIG_SITE;;
2565 esac
2566 elif test "x$prefix" != xNONE; then
2567 ac_site_file1=$prefix/share/config.site
2568 ac_site_file2=$prefix/etc/config.site
2569 else
2570 ac_site_file1=$ac_default_prefix/share/config.site
2571 ac_site_file2=$ac_default_prefix/etc/config.site
2573 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2575 test "x$ac_site_file" = xNONE && continue
2576 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2578 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2579 sed 's/^/| /' "$ac_site_file" >&5
2580 . "$ac_site_file" \
2581 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2583 as_fn_error $? "failed to load site script $ac_site_file
2584 See \`config.log' for more details" "$LINENO" 5; }
2586 done
2588 if test -r "$cache_file"; then
2589 # Some versions of bash will fail to source /dev/null (special files
2590 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2591 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2593 $as_echo "$as_me: loading cache $cache_file" >&6;}
2594 case $cache_file in
2595 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2596 *) . "./$cache_file";;
2597 esac
2599 else
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2601 $as_echo "$as_me: creating cache $cache_file" >&6;}
2602 >$cache_file
2605 as_fn_append ac_header_list " unistd.h"
2606 as_fn_append ac_header_list " sys/random.h"
2607 as_fn_append ac_header_list " sys/time.h"
2608 as_fn_append ac_header_list " sys/times.h"
2609 as_fn_append ac_header_list " sys/resource.h"
2610 as_fn_append ac_header_list " sys/types.h"
2611 as_fn_append ac_header_list " sys/stat.h"
2612 as_fn_append ac_header_list " sys/uio.h"
2613 as_fn_append ac_header_list " sys/wait.h"
2614 as_fn_append ac_header_list " floatingpoint.h"
2615 as_fn_append ac_header_list " ieeefp.h"
2616 as_fn_append ac_header_list " fenv.h"
2617 as_fn_append ac_header_list " fptrap.h"
2618 as_fn_append ac_header_list " fpxcp.h"
2619 as_fn_append ac_header_list " pwd.h"
2620 as_fn_append ac_header_list " complex.h"
2621 as_fn_append ac_header_list " xlocale.h"
2622 as_fn_append ac_func_list " getrusage"
2623 as_fn_append ac_func_list " times"
2624 as_fn_append ac_func_list " mkstemp"
2625 as_fn_append ac_func_list " strtof"
2626 as_fn_append ac_func_list " strtold"
2627 as_fn_append ac_func_list " snprintf"
2628 as_fn_append ac_func_list " ftruncate"
2629 as_fn_append ac_func_list " chsize"
2630 as_fn_append ac_func_list " chdir"
2631 as_fn_append ac_func_list " getentropy"
2632 as_fn_append ac_func_list " getlogin"
2633 as_fn_append ac_func_list " gethostname"
2634 as_fn_append ac_func_list " kill"
2635 as_fn_append ac_func_list " link"
2636 as_fn_append ac_func_list " symlink"
2637 as_fn_append ac_func_list " sleep"
2638 as_fn_append ac_func_list " ttyname"
2639 as_fn_append ac_func_list " sigaction"
2640 as_fn_append ac_func_list " waitpid"
2641 as_fn_append ac_func_list " alarm"
2642 as_fn_append ac_func_list " access"
2643 as_fn_append ac_func_list " fork"
2644 as_fn_append ac_func_list " posix_spawn"
2645 as_fn_append ac_func_list " setmode"
2646 as_fn_append ac_func_list " fcntl"
2647 as_fn_append ac_func_list " writev"
2648 as_fn_append ac_func_list " gettimeofday"
2649 as_fn_append ac_func_list " stat"
2650 as_fn_append ac_func_list " fstat"
2651 as_fn_append ac_func_list " lstat"
2652 as_fn_append ac_func_list " getpwuid"
2653 as_fn_append ac_func_list " vsnprintf"
2654 as_fn_append ac_func_list " dup"
2655 as_fn_append ac_func_list " getcwd"
2656 as_fn_append ac_func_list " localtime_r"
2657 as_fn_append ac_func_list " gmtime_r"
2658 as_fn_append ac_func_list " getpwuid_r"
2659 as_fn_append ac_func_list " ttyname_r"
2660 as_fn_append ac_func_list " clock_gettime"
2661 as_fn_append ac_func_list " getgid"
2662 as_fn_append ac_func_list " getpid"
2663 as_fn_append ac_func_list " getuid"
2664 as_fn_append ac_func_list " geteuid"
2665 as_fn_append ac_func_list " umask"
2666 as_fn_append ac_func_list " getegid"
2667 as_fn_append ac_func_list " secure_getenv"
2668 as_fn_append ac_func_list " __secure_getenv"
2669 as_fn_append ac_func_list " mkostemp"
2670 as_fn_append ac_func_list " strnlen"
2671 as_fn_append ac_func_list " strndup"
2672 as_fn_append ac_func_list " newlocale"
2673 as_fn_append ac_func_list " freelocale"
2674 as_fn_append ac_func_list " uselocale"
2675 as_fn_append ac_func_list " strerror_l"
2676 as_fn_append ac_func_list " strtof128"
2677 as_fn_append ac_func_list " strfromf128"
2678 as_fn_append ac_header_list " math.h"
2679 # Check that the precious variables saved in the cache have kept the same
2680 # value.
2681 ac_cache_corrupted=false
2682 for ac_var in $ac_precious_vars; do
2683 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2684 eval ac_new_set=\$ac_env_${ac_var}_set
2685 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2686 eval ac_new_val=\$ac_env_${ac_var}_value
2687 case $ac_old_set,$ac_new_set in
2688 set,)
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2690 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2691 ac_cache_corrupted=: ;;
2692 ,set)
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2694 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2695 ac_cache_corrupted=: ;;
2696 ,);;
2698 if test "x$ac_old_val" != "x$ac_new_val"; then
2699 # differences in whitespace do not lead to failure.
2700 ac_old_val_w=`echo x $ac_old_val`
2701 ac_new_val_w=`echo x $ac_new_val`
2702 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2704 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2705 ac_cache_corrupted=:
2706 else
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2708 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2709 eval $ac_var=\$ac_old_val
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2712 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2714 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2715 fi;;
2716 esac
2717 # Pass precious variables to config.status.
2718 if test "$ac_new_set" = set; then
2719 case $ac_new_val in
2720 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2721 *) ac_arg=$ac_var=$ac_new_val ;;
2722 esac
2723 case " $ac_configure_args " in
2724 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2725 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2726 esac
2728 done
2729 if $ac_cache_corrupted; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2733 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2734 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2736 ## -------------------- ##
2737 ## Main body of script. ##
2738 ## -------------------- ##
2740 ac_ext=c
2741 ac_cpp='$CPP $CPPFLAGS'
2742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2750 ac_config_headers="$ac_config_headers config.h"
2752 ac_aux_dir=
2753 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2754 if test -f "$ac_dir/install-sh"; then
2755 ac_aux_dir=$ac_dir
2756 ac_install_sh="$ac_aux_dir/install-sh -c"
2757 break
2758 elif test -f "$ac_dir/install.sh"; then
2759 ac_aux_dir=$ac_dir
2760 ac_install_sh="$ac_aux_dir/install.sh -c"
2761 break
2762 elif test -f "$ac_dir/shtool"; then
2763 ac_aux_dir=$ac_dir
2764 ac_install_sh="$ac_aux_dir/shtool install -c"
2765 break
2767 done
2768 if test -z "$ac_aux_dir"; then
2769 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2772 # These three variables are undocumented and unsupported,
2773 # and are intended to be withdrawn in a future Autoconf release.
2774 # They can cause serious problems if a builder's source tree is in a directory
2775 # whose full name contains unusual characters.
2776 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2777 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2778 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2781 # Make sure we can run config.sub.
2782 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2783 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2786 $as_echo_n "checking build system type... " >&6; }
2787 if ${ac_cv_build+:} false; then :
2788 $as_echo_n "(cached) " >&6
2789 else
2790 ac_build_alias=$build_alias
2791 test "x$ac_build_alias" = x &&
2792 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2793 test "x$ac_build_alias" = x &&
2794 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2795 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2796 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2800 $as_echo "$ac_cv_build" >&6; }
2801 case $ac_cv_build in
2802 *-*-*) ;;
2803 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2804 esac
2805 build=$ac_cv_build
2806 ac_save_IFS=$IFS; IFS='-'
2807 set x $ac_cv_build
2808 shift
2809 build_cpu=$1
2810 build_vendor=$2
2811 shift; shift
2812 # Remember, the first character of IFS is used to create $*,
2813 # except with old shells:
2814 build_os=$*
2815 IFS=$ac_save_IFS
2816 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2819 case ${build_alias} in
2820 "") build_noncanonical=${build} ;;
2821 *) build_noncanonical=${build_alias} ;;
2822 esac
2824 case ${host_alias} in
2825 "") host_noncanonical=${build_noncanonical} ;;
2826 *) host_noncanonical=${host_alias} ;;
2827 esac
2829 case ${target_alias} in
2830 "") target_noncanonical=${host_noncanonical} ;;
2831 *) target_noncanonical=${target_alias} ;;
2832 esac
2835 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2836 # have matching libraries, they should use host libraries: Makefile.tpl
2837 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2838 # However, they still use the build modules, because the corresponding
2839 # host modules (e.g. bison) are only built for the host when bootstrap
2840 # finishes. So:
2841 # - build_subdir is where we find build modules, and never changes.
2842 # - build_libsubdir is where we find build libraries, and can be overridden.
2844 # Prefix 'build-' so this never conflicts with target_subdir.
2845 build_subdir="build-${build_noncanonical}"
2847 # Check whether --with-build-libsubdir was given.
2848 if test "${with_build_libsubdir+set}" = set; then :
2849 withval=$with_build_libsubdir; build_libsubdir="$withval"
2850 else
2851 build_libsubdir="$build_subdir"
2854 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2855 if ( test $srcdir = . && test -d gcc ) \
2856 || test -d $srcdir/../host-${host_noncanonical}; then
2857 host_subdir="host-${host_noncanonical}"
2858 else
2859 host_subdir=.
2861 # No prefix.
2862 target_subdir=${target_noncanonical}
2865 # -------
2866 # Options
2867 # -------
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2870 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2871 # Check whether --enable-version-specific-runtime-libs was given.
2872 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2873 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2874 yes) version_specific_libs=yes ;;
2875 no) version_specific_libs=no ;;
2876 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2877 esac
2878 else
2879 version_specific_libs=no
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2883 $as_echo "$version_specific_libs" >&6; }
2885 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2887 # You will slowly go insane if you do not grok the following fact: when
2888 # building this library, the top-level /target/ becomes the library's /host/.
2890 # configure then causes --target to default to --host, exactly like any
2891 # other package using autoconf. Therefore, 'target' and 'host' will
2892 # always be the same. This makes sense both for native and cross compilers
2893 # just think about it for a little while. :-)
2895 # Also, if this library is being configured as part of a cross compiler, the
2896 # top-level configure script will pass the "real" host as $with_cross_host.
2898 # Do not delete or change the following two lines. For why, see
2899 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2901 $as_echo_n "checking host system type... " >&6; }
2902 if ${ac_cv_host+:} false; then :
2903 $as_echo_n "(cached) " >&6
2904 else
2905 if test "x$host_alias" = x; then
2906 ac_cv_host=$ac_cv_build
2907 else
2908 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2909 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2914 $as_echo "$ac_cv_host" >&6; }
2915 case $ac_cv_host in
2916 *-*-*) ;;
2917 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2918 esac
2919 host=$ac_cv_host
2920 ac_save_IFS=$IFS; IFS='-'
2921 set x $ac_cv_host
2922 shift
2923 host_cpu=$1
2924 host_vendor=$2
2925 shift; shift
2926 # Remember, the first character of IFS is used to create $*,
2927 # except with old shells:
2928 host_os=$*
2929 IFS=$ac_save_IFS
2930 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2934 $as_echo_n "checking target system type... " >&6; }
2935 if ${ac_cv_target+:} false; then :
2936 $as_echo_n "(cached) " >&6
2937 else
2938 if test "x$target_alias" = x; then
2939 ac_cv_target=$ac_cv_host
2940 else
2941 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2942 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2947 $as_echo "$ac_cv_target" >&6; }
2948 case $ac_cv_target in
2949 *-*-*) ;;
2950 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2951 esac
2952 target=$ac_cv_target
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_target
2955 shift
2956 target_cpu=$1
2957 target_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 target_os=$*
2962 IFS=$ac_save_IFS
2963 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2966 # The aliases save the names the user supplied, while $host etc.
2967 # will get canonicalized.
2968 test -n "$target_alias" &&
2969 test "$program_prefix$program_suffix$program_transform_name" = \
2970 NONENONEs,x,x, &&
2971 program_prefix=${target_alias}-
2976 target_alias=${target_alias-$host_alias}
2979 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2980 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2981 # 1.9.6: minimum required version
2982 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2983 # of other PACKAGE_* variables will, however, and there's nothing
2984 # we can do about that; they come from AC_INIT).
2985 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2986 # file in the top srcdir, etc, etc), so stop complaining.
2987 # no-dist: we don't want 'dist' and related rules.
2988 # -Wall: turns on all automake warnings...
2989 # -Wno-portability: ...except this one, since GNU make is required.
2990 am__api_version='1.15'
2992 # Find a good install program. We prefer a C program (faster),
2993 # so one script is as good as another. But avoid the broken or
2994 # incompatible versions:
2995 # SysV /etc/install, /usr/sbin/install
2996 # SunOS /usr/etc/install
2997 # IRIX /sbin/install
2998 # AIX /bin/install
2999 # AmigaOS /C/install, which installs bootblocks on floppy discs
3000 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3001 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3002 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3003 # OS/2's system install, which has a completely different semantic
3004 # ./install, which can be erroneously created by make from ./install.sh.
3005 # Reject install programs that cannot install multiple files.
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3007 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3008 if test -z "$INSTALL"; then
3009 if ${ac_cv_path_install+:} false; then :
3010 $as_echo_n "(cached) " >&6
3011 else
3012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013 for as_dir in $PATH
3015 IFS=$as_save_IFS
3016 test -z "$as_dir" && as_dir=.
3017 # Account for people who put trailing slashes in PATH elements.
3018 case $as_dir/ in #((
3019 ./ | .// | /[cC]/* | \
3020 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3021 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3022 /usr/ucb/* ) ;;
3024 # OSF1 and SCO ODT 3.0 have their own names for install.
3025 # Don't use installbsd from OSF since it installs stuff as root
3026 # by default.
3027 for ac_prog in ginstall scoinst install; do
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3030 if test $ac_prog = install &&
3031 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3032 # AIX install. It has an incompatible calling convention.
3034 elif test $ac_prog = install &&
3035 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3036 # program-specific install script used by HP pwplus--don't use.
3038 else
3039 rm -rf conftest.one conftest.two conftest.dir
3040 echo one > conftest.one
3041 echo two > conftest.two
3042 mkdir conftest.dir
3043 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3044 test -s conftest.one && test -s conftest.two &&
3045 test -s conftest.dir/conftest.one &&
3046 test -s conftest.dir/conftest.two
3047 then
3048 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3049 break 3
3053 done
3054 done
3056 esac
3058 done
3059 IFS=$as_save_IFS
3061 rm -rf conftest.one conftest.two conftest.dir
3064 if test "${ac_cv_path_install+set}" = set; then
3065 INSTALL=$ac_cv_path_install
3066 else
3067 # As a last resort, use the slow shell script. Don't cache a
3068 # value for INSTALL within a source directory, because that will
3069 # break other packages using the cache if that directory is
3070 # removed, or if the value is a relative name.
3071 INSTALL=$ac_install_sh
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3075 $as_echo "$INSTALL" >&6; }
3077 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3078 # It thinks the first close brace ends the variable substitution.
3079 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3081 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3083 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3086 $as_echo_n "checking whether build environment is sane... " >&6; }
3087 # Reject unsafe characters in $srcdir or the absolute working directory
3088 # name. Accept space and tab only in the latter.
3089 am_lf='
3091 case `pwd` in
3092 *[\\\"\#\$\&\'\`$am_lf]*)
3093 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3094 esac
3095 case $srcdir in
3096 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3097 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3098 esac
3100 # Do 'set' in a subshell so we don't clobber the current shell's
3101 # arguments. Must try -L first in case configure is actually a
3102 # symlink; some systems play weird games with the mod time of symlinks
3103 # (eg FreeBSD returns the mod time of the symlink's containing
3104 # directory).
3105 if (
3106 am_has_slept=no
3107 for am_try in 1 2; do
3108 echo "timestamp, slept: $am_has_slept" > conftest.file
3109 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3110 if test "$*" = "X"; then
3111 # -L didn't work.
3112 set X `ls -t "$srcdir/configure" conftest.file`
3114 if test "$*" != "X $srcdir/configure conftest.file" \
3115 && test "$*" != "X conftest.file $srcdir/configure"; then
3117 # If neither matched, then we have a broken ls. This can happen
3118 # if, for instance, CONFIG_SHELL is bash and it inherits a
3119 # broken ls alias from the environment. This has actually
3120 # happened. Such a system could not be considered "sane".
3121 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3122 alias in your environment" "$LINENO" 5
3124 if test "$2" = conftest.file || test $am_try -eq 2; then
3125 break
3127 # Just in case.
3128 sleep 1
3129 am_has_slept=yes
3130 done
3131 test "$2" = conftest.file
3133 then
3134 # Ok.
3136 else
3137 as_fn_error $? "newly created file is older than distributed files!
3138 Check your system clock" "$LINENO" 5
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3141 $as_echo "yes" >&6; }
3142 # If we didn't sleep, we still need to ensure time stamps of config.status and
3143 # generated files are strictly newer.
3144 am_sleep_pid=
3145 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3146 ( sleep 1 ) &
3147 am_sleep_pid=$!
3150 rm -f conftest.file
3152 test "$program_prefix" != NONE &&
3153 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3154 # Use a double $ so make ignores it.
3155 test "$program_suffix" != NONE &&
3156 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3157 # Double any \ or $.
3158 # By default was `s,x,x', remove it if useless.
3159 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3160 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3162 # Expand $ac_aux_dir to an absolute path.
3163 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3165 if test x"${MISSING+set}" != xset; then
3166 case $am_aux_dir in
3167 *\ * | *\ *)
3168 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3170 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3171 esac
3173 # Use eval to expand $SHELL
3174 if eval "$MISSING --is-lightweight"; then
3175 am_missing_run="$MISSING "
3176 else
3177 am_missing_run=
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3179 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3182 if test x"${install_sh+set}" != xset; then
3183 case $am_aux_dir in
3184 *\ * | *\ *)
3185 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3187 install_sh="\${SHELL} $am_aux_dir/install-sh"
3188 esac
3191 # Installed binaries are usually stripped using 'strip' when the user
3192 # run "make install-strip". However 'strip' might not be the right
3193 # tool to use in cross-compilation environments, therefore Automake
3194 # will honor the 'STRIP' environment variable to overrule this program.
3195 if test "$cross_compiling" != no; then
3196 if test -n "$ac_tool_prefix"; then
3197 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3198 set dummy ${ac_tool_prefix}strip; ac_word=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_prog_STRIP+:} false; then :
3202 $as_echo_n "(cached) " >&6
3203 else
3204 if test -n "$STRIP"; then
3205 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3206 else
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 for as_dir in $PATH
3210 IFS=$as_save_IFS
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 break 2
3218 done
3219 done
3220 IFS=$as_save_IFS
3224 STRIP=$ac_cv_prog_STRIP
3225 if test -n "$STRIP"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3227 $as_echo "$STRIP" >&6; }
3228 else
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3235 if test -z "$ac_cv_prog_STRIP"; then
3236 ac_ct_STRIP=$STRIP
3237 # Extract the first word of "strip", so it can be a program name with args.
3238 set dummy strip; ac_word=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3242 $as_echo_n "(cached) " >&6
3243 else
3244 if test -n "$ac_ct_STRIP"; then
3245 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3246 else
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248 for as_dir in $PATH
3250 IFS=$as_save_IFS
3251 test -z "$as_dir" && as_dir=.
3252 for ac_exec_ext in '' $ac_executable_extensions; do
3253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_prog_ac_ct_STRIP="strip"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 break 2
3258 done
3259 done
3260 IFS=$as_save_IFS
3264 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3265 if test -n "$ac_ct_STRIP"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3267 $as_echo "$ac_ct_STRIP" >&6; }
3268 else
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3273 if test "x$ac_ct_STRIP" = x; then
3274 STRIP=":"
3275 else
3276 case $cross_compiling:$ac_tool_warned in
3277 yes:)
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3280 ac_tool_warned=yes ;;
3281 esac
3282 STRIP=$ac_ct_STRIP
3284 else
3285 STRIP="$ac_cv_prog_STRIP"
3289 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3292 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3293 if test -z "$MKDIR_P"; then
3294 if ${ac_cv_path_mkdir+:} false; then :
3295 $as_echo_n "(cached) " >&6
3296 else
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3300 IFS=$as_save_IFS
3301 test -z "$as_dir" && as_dir=.
3302 for ac_prog in mkdir gmkdir; do
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3305 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3306 'mkdir (GNU coreutils) '* | \
3307 'mkdir (coreutils) '* | \
3308 'mkdir (fileutils) '4.1*)
3309 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3310 break 3;;
3311 esac
3312 done
3313 done
3314 done
3315 IFS=$as_save_IFS
3319 test -d ./--version && rmdir ./--version
3320 if test "${ac_cv_path_mkdir+set}" = set; then
3321 MKDIR_P="$ac_cv_path_mkdir -p"
3322 else
3323 # As a last resort, use the slow shell script. Don't cache a
3324 # value for MKDIR_P within a source directory, because that will
3325 # break other packages using the cache if that directory is
3326 # removed, or if the value is a relative name.
3327 MKDIR_P="$ac_install_sh -d"
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3331 $as_echo "$MKDIR_P" >&6; }
3333 for ac_prog in gawk mawk nawk awk
3335 # Extract the first word of "$ac_prog", so it can be a program name with args.
3336 set dummy $ac_prog; ac_word=$2
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if ${ac_cv_prog_AWK+:} false; then :
3340 $as_echo_n "(cached) " >&6
3341 else
3342 if test -n "$AWK"; then
3343 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3344 else
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 for as_dir in $PATH
3348 IFS=$as_save_IFS
3349 test -z "$as_dir" && as_dir=.
3350 for ac_exec_ext in '' $ac_executable_extensions; do
3351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3352 ac_cv_prog_AWK="$ac_prog"
3353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 break 2
3356 done
3357 done
3358 IFS=$as_save_IFS
3362 AWK=$ac_cv_prog_AWK
3363 if test -n "$AWK"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3365 $as_echo "$AWK" >&6; }
3366 else
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3372 test -n "$AWK" && break
3373 done
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3376 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3377 set x ${MAKE-make}
3378 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3379 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3380 $as_echo_n "(cached) " >&6
3381 else
3382 cat >conftest.make <<\_ACEOF
3383 SHELL = /bin/sh
3384 all:
3385 @echo '@@@%%%=$(MAKE)=@@@%%%'
3386 _ACEOF
3387 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3388 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3389 *@@@%%%=?*=@@@%%%*)
3390 eval ac_cv_prog_make_${ac_make}_set=yes;;
3392 eval ac_cv_prog_make_${ac_make}_set=no;;
3393 esac
3394 rm -f conftest.make
3396 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3398 $as_echo "yes" >&6; }
3399 SET_MAKE=
3400 else
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3403 SET_MAKE="MAKE=${MAKE-make}"
3406 rm -rf .tst 2>/dev/null
3407 mkdir .tst 2>/dev/null
3408 if test -d .tst; then
3409 am__leading_dot=.
3410 else
3411 am__leading_dot=_
3413 rmdir .tst 2>/dev/null
3415 # Check whether --enable-silent-rules was given.
3416 if test "${enable_silent_rules+set}" = set; then :
3417 enableval=$enable_silent_rules;
3420 case $enable_silent_rules in # (((
3421 yes) AM_DEFAULT_VERBOSITY=0;;
3422 no) AM_DEFAULT_VERBOSITY=1;;
3423 *) AM_DEFAULT_VERBOSITY=1;;
3424 esac
3425 am_make=${MAKE-make}
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3427 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3428 if ${am_cv_make_support_nested_variables+:} false; then :
3429 $as_echo_n "(cached) " >&6
3430 else
3431 if $as_echo 'TRUE=$(BAR$(V))
3432 BAR0=false
3433 BAR1=true
3435 am__doit:
3436 @$(TRUE)
3437 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3438 am_cv_make_support_nested_variables=yes
3439 else
3440 am_cv_make_support_nested_variables=no
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3444 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3445 if test $am_cv_make_support_nested_variables = yes; then
3446 AM_V='$(V)'
3447 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3448 else
3449 AM_V=$AM_DEFAULT_VERBOSITY
3450 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3452 AM_BACKSLASH='\'
3454 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3455 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3456 # is not polluted with repeated "-I."
3457 am__isrc=' -I$(srcdir)'
3458 # test to see if srcdir already configured
3459 if test -f $srcdir/config.status; then
3460 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3464 # test whether we have cygpath
3465 if test -z "$CYGPATH_W"; then
3466 if (cygpath --version) >/dev/null 2>/dev/null; then
3467 CYGPATH_W='cygpath -w'
3468 else
3469 CYGPATH_W=echo
3474 # Define the identity of the package.
3475 PACKAGE='libgfortran'
3476 VERSION='0.3'
3479 # Some tools Automake needs.
3481 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3484 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3487 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3490 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3493 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3495 # For better backward compatibility. To be removed once Automake 1.9.x
3496 # dies out for good. For more background, see:
3497 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3498 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3499 mkdir_p='$(MKDIR_P)'
3501 # We need awk for the "check" target (and possibly the TAP driver). The
3502 # system "awk" is bad on some platforms.
3503 # Always define AMTAR for backward compatibility. Yes, it's still used
3504 # in the wild :-( We should find a proper way to deprecate it ...
3505 AMTAR='$${TAR-tar}'
3508 # We'll loop over all known methods to create a tar archive until one works.
3509 _am_tools='gnutar pax cpio none'
3511 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3518 # POSIX will say in a future version that running "rm -f" with no argument
3519 # is OK; and we want to be able to make that assumption in our Makefile
3520 # recipes. So use an aggressive probe to check that the usage we want is
3521 # actually supported "in the wild" to an acceptable degree.
3522 # See automake bug#10828.
3523 # To make any issue more visible, cause the running configure to be aborted
3524 # by default if the 'rm' program in use doesn't match our expectations; the
3525 # user can still override this though.
3526 if rm -f && rm -fr && rm -rf; then : OK; else
3527 cat >&2 <<'END'
3528 Oops!
3530 Your 'rm' program seems unable to run without file operands specified
3531 on the command line, even when the '-f' option is present. This is contrary
3532 to the behaviour of most rm programs out there, and not conforming with
3533 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3535 Please tell bug-automake@gnu.org about your system, including the value
3536 of your $PATH and any error possibly output before this message. This
3537 can help us improve future automake versions.
3540 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3541 echo 'Configuration will proceed anyway, since you have set the' >&2
3542 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3543 echo >&2
3544 else
3545 cat >&2 <<'END'
3546 Aborting the configuration process, to ensure you take notice of the issue.
3548 You can download and install GNU coreutils to get an 'rm' implementation
3549 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3551 If you want to complete the configuration process using your problematic
3552 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3553 to "yes", and re-run configure.
3556 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3563 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3564 # Check whether --enable-maintainer-mode was given.
3565 if test "${enable_maintainer_mode+set}" = set; then :
3566 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3567 else
3568 USE_MAINTAINER_MODE=no
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3572 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3573 if test $USE_MAINTAINER_MODE = yes; then
3574 MAINTAINER_MODE_TRUE=
3575 MAINTAINER_MODE_FALSE='#'
3576 else
3577 MAINTAINER_MODE_TRUE='#'
3578 MAINTAINER_MODE_FALSE=
3581 MAINT=$MAINTAINER_MODE_TRUE
3584 # Default to --enable-multilib
3585 # Check whether --enable-multilib was given.
3586 if test "${enable_multilib+set}" = set; then :
3587 enableval=$enable_multilib; case "$enableval" in
3588 yes) multilib=yes ;;
3589 no) multilib=no ;;
3590 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3591 esac
3592 else
3593 multilib=yes
3597 # We may get other options which we leave undocumented:
3598 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3599 # See config-ml.in if you want the gory details.
3601 if test "$srcdir" = "."; then
3602 if test "$with_target_subdir" != "."; then
3603 multi_basedir="$srcdir/$with_multisrctop../.."
3604 else
3605 multi_basedir="$srcdir/$with_multisrctop.."
3607 else
3608 multi_basedir="$srcdir/.."
3612 # Even if the default multilib is not a cross compilation,
3613 # it may be that some of the other multilibs are.
3614 if test $cross_compiling = no && test $multilib = yes \
3615 && test "x${with_multisubdir}" != x ; then
3616 cross_compiling=maybe
3619 ac_config_commands="$ac_config_commands default-1"
3622 # Handy for debugging:
3623 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3625 # Are we being configured with some form of cross compiler?
3626 # NB: We don't actually need to know this just now, but when, say, a test
3627 # suite is included, we'll have to know.
3628 if test "$build" != "$host"; then
3629 LIBGFOR_IS_NATIVE=false
3631 else
3632 LIBGFOR_IS_NATIVE=true
3635 DEPDIR="${am__leading_dot}deps"
3637 ac_config_commands="$ac_config_commands depfiles"
3640 am_make=${MAKE-make}
3641 cat > confinc << 'END'
3642 am__doit:
3643 @echo this is the am__doit target
3644 .PHONY: am__doit
3646 # If we don't find an include directive, just comment out the code.
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3648 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3649 am__include="#"
3650 am__quote=
3651 _am_result=none
3652 # First try GNU make style include.
3653 echo "include confinc" > confmf
3654 # Ignore all kinds of additional output from 'make'.
3655 case `$am_make -s -f confmf 2> /dev/null` in #(
3656 *the\ am__doit\ target*)
3657 am__include=include
3658 am__quote=
3659 _am_result=GNU
3661 esac
3662 # Now try BSD make style include.
3663 if test "$am__include" = "#"; then
3664 echo '.include "confinc"' > confmf
3665 case `$am_make -s -f confmf 2> /dev/null` in #(
3666 *the\ am__doit\ target*)
3667 am__include=.include
3668 am__quote="\""
3669 _am_result=BSD
3671 esac
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3676 $as_echo "$_am_result" >&6; }
3677 rm -f confinc confmf
3679 # Check whether --enable-dependency-tracking was given.
3680 if test "${enable_dependency_tracking+set}" = set; then :
3681 enableval=$enable_dependency_tracking;
3684 if test "x$enable_dependency_tracking" != xno; then
3685 am_depcomp="$ac_aux_dir/depcomp"
3686 AMDEPBACKSLASH='\'
3687 am__nodep='_no'
3689 if test "x$enable_dependency_tracking" != xno; then
3690 AMDEP_TRUE=
3691 AMDEP_FALSE='#'
3692 else
3693 AMDEP_TRUE='#'
3694 AMDEP_FALSE=
3698 ac_ext=c
3699 ac_cpp='$CPP $CPPFLAGS'
3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3703 if test -n "$ac_tool_prefix"; then
3704 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3705 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 $as_echo_n "checking for $ac_word... " >&6; }
3708 if ${ac_cv_prog_CC+:} false; then :
3709 $as_echo_n "(cached) " >&6
3710 else
3711 if test -n "$CC"; then
3712 ac_cv_prog_CC="$CC" # Let the user override the test.
3713 else
3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715 for as_dir in $PATH
3717 IFS=$as_save_IFS
3718 test -z "$as_dir" && as_dir=.
3719 for ac_exec_ext in '' $ac_executable_extensions; do
3720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3721 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 break 2
3725 done
3726 done
3727 IFS=$as_save_IFS
3731 CC=$ac_cv_prog_CC
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3735 else
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3742 if test -z "$ac_cv_prog_CC"; then
3743 ac_ct_CC=$CC
3744 # Extract the first word of "gcc", so it can be a program name with args.
3745 set dummy gcc; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3749 $as_echo_n "(cached) " >&6
3750 else
3751 if test -n "$ac_ct_CC"; then
3752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3753 else
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 for as_dir in $PATH
3757 IFS=$as_save_IFS
3758 test -z "$as_dir" && as_dir=.
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_ac_ct_CC="gcc"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 break 2
3765 done
3766 done
3767 IFS=$as_save_IFS
3771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3772 if test -n "$ac_ct_CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3774 $as_echo "$ac_ct_CC" >&6; }
3775 else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3780 if test "x$ac_ct_CC" = x; then
3781 CC=""
3782 else
3783 case $cross_compiling:$ac_tool_warned in
3784 yes:)
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3787 ac_tool_warned=yes ;;
3788 esac
3789 CC=$ac_ct_CC
3791 else
3792 CC="$ac_cv_prog_CC"
3795 if test -z "$CC"; then
3796 if test -n "$ac_tool_prefix"; then
3797 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3798 set dummy ${ac_tool_prefix}cc; ac_word=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_CC+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if test -n "$CC"; then
3805 ac_cv_prog_CC="$CC" # Let the user override the test.
3806 else
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 for as_dir in $PATH
3810 IFS=$as_save_IFS
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_CC="${ac_tool_prefix}cc"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 break 2
3818 done
3819 done
3820 IFS=$as_save_IFS
3824 CC=$ac_cv_prog_CC
3825 if test -n "$CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3827 $as_echo "$CC" >&6; }
3828 else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3836 if test -z "$CC"; then
3837 # Extract the first word of "cc", so it can be a program name with args.
3838 set dummy cc; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if ${ac_cv_prog_CC+:} false; then :
3842 $as_echo_n "(cached) " >&6
3843 else
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 else
3847 ac_prog_rejected=no
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 for as_dir in $PATH
3851 IFS=$as_save_IFS
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3856 ac_prog_rejected=yes
3857 continue
3859 ac_cv_prog_CC="cc"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 break 2
3863 done
3864 done
3865 IFS=$as_save_IFS
3867 if test $ac_prog_rejected = yes; then
3868 # We found a bogon in the path, so make sure we never use it.
3869 set dummy $ac_cv_prog_CC
3870 shift
3871 if test $# != 0; then
3872 # We chose a different compiler from the bogus one.
3873 # However, it has the same basename, so the bogon will be chosen
3874 # first if we set CC to just the basename; use the full file name.
3875 shift
3876 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3881 CC=$ac_cv_prog_CC
3882 if test -n "$CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3884 $as_echo "$CC" >&6; }
3885 else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3892 if test -z "$CC"; then
3893 if test -n "$ac_tool_prefix"; then
3894 for ac_prog in cl.exe
3896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_CC+:} false; then :
3901 $as_echo_n "(cached) " >&6
3902 else
3903 if test -n "$CC"; then
3904 ac_cv_prog_CC="$CC" # Let the user override the test.
3905 else
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 for as_dir in $PATH
3909 IFS=$as_save_IFS
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 break 2
3917 done
3918 done
3919 IFS=$as_save_IFS
3923 CC=$ac_cv_prog_CC
3924 if test -n "$CC"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926 $as_echo "$CC" >&6; }
3927 else
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3933 test -n "$CC" && break
3934 done
3936 if test -z "$CC"; then
3937 ac_ct_CC=$CC
3938 for ac_prog in cl.exe
3940 # Extract the first word of "$ac_prog", so it can be a program name with args.
3941 set dummy $ac_prog; ac_word=$2
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3945 $as_echo_n "(cached) " >&6
3946 else
3947 if test -n "$ac_ct_CC"; then
3948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3949 else
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 for as_dir in $PATH
3953 IFS=$as_save_IFS
3954 test -z "$as_dir" && as_dir=.
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957 ac_cv_prog_ac_ct_CC="$ac_prog"
3958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 break 2
3961 done
3962 done
3963 IFS=$as_save_IFS
3967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3968 if test -n "$ac_ct_CC"; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3970 $as_echo "$ac_ct_CC" >&6; }
3971 else
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3973 $as_echo "no" >&6; }
3977 test -n "$ac_ct_CC" && break
3978 done
3980 if test "x$ac_ct_CC" = x; then
3981 CC=""
3982 else
3983 case $cross_compiling:$ac_tool_warned in
3984 yes:)
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3987 ac_tool_warned=yes ;;
3988 esac
3989 CC=$ac_ct_CC
3996 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3998 as_fn_error $? "no acceptable C compiler found in \$PATH
3999 See \`config.log' for more details" "$LINENO" 5; }
4001 # Provide some information about the compiler.
4002 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4003 set X $ac_compile
4004 ac_compiler=$2
4005 for ac_option in --version -v -V -qversion; do
4006 { { ac_try="$ac_compiler $ac_option >&5"
4007 case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4014 ac_status=$?
4015 if test -s conftest.err; then
4016 sed '10a\
4017 ... rest of stderr output deleted ...
4018 10q' conftest.err >conftest.er1
4019 cat conftest.er1 >&5
4021 rm -f conftest.er1 conftest.err
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }
4024 done
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4028 #include <stdio.h>
4030 main ()
4032 printf ("hello world\n");
4034 return 0;
4036 _ACEOF
4037 # FIXME: Cleanup?
4038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4039 (eval $ac_link) 2>&5
4040 ac_status=$?
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4043 gcc_no_link=no
4044 else
4045 gcc_no_link=yes
4047 if test x$gcc_no_link = xyes; then
4048 # Setting cross_compile will disable run tests; it will
4049 # also disable AC_CHECK_FILE but that's generally
4050 # correct if we can't link.
4051 cross_compiling=yes
4052 EXEEXT=
4053 else
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4058 main ()
4062 return 0;
4064 _ACEOF
4065 ac_clean_files_save=$ac_clean_files
4066 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4067 # Try to create an executable without -o first, disregard a.out.
4068 # It will help us diagnose broken compilers, and finding out an intuition
4069 # of exeext.
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4071 $as_echo_n "checking whether the C compiler works... " >&6; }
4072 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4074 # The possible output files:
4075 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4077 ac_rmfiles=
4078 for ac_file in $ac_files
4080 case $ac_file in
4081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4082 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4083 esac
4084 done
4085 rm -f $ac_rmfiles
4087 if { { ac_try="$ac_link_default"
4088 case "(($ac_try" in
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4091 esac
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_link_default") 2>&5
4095 ac_status=$?
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }; then :
4098 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4099 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4100 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4101 # so that the user can short-circuit this test for compilers unknown to
4102 # Autoconf.
4103 for ac_file in $ac_files ''
4105 test -f "$ac_file" || continue
4106 case $ac_file in
4107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4109 [ab].out )
4110 # We found the default executable, but exeext='' is most
4111 # certainly right.
4112 break;;
4113 *.* )
4114 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4115 then :; else
4116 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4118 # We set ac_cv_exeext here because the later test for it is not
4119 # safe: cross compilers may not add the suffix if given an `-o'
4120 # argument, so we may need to know it at that point already.
4121 # Even if this section looks crufty: it has the advantage of
4122 # actually working.
4123 break;;
4125 break;;
4126 esac
4127 done
4128 test "$ac_cv_exeext" = no && ac_cv_exeext=
4130 else
4131 ac_file=''
4133 if test -z "$ac_file"; then :
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4136 $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141 as_fn_error 77 "C compiler cannot create executables
4142 See \`config.log' for more details" "$LINENO" 5; }
4143 else
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4145 $as_echo "yes" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4148 $as_echo_n "checking for C compiler default output file name... " >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4150 $as_echo "$ac_file" >&6; }
4151 ac_exeext=$ac_cv_exeext
4153 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4154 ac_clean_files=$ac_clean_files_save
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4156 $as_echo_n "checking for suffix of executables... " >&6; }
4157 if { { ac_try="$ac_link"
4158 case "(($ac_try" in
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4161 esac
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 $as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_link") 2>&5
4165 ac_status=$?
4166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167 test $ac_status = 0; }; then :
4168 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4169 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4170 # work properly (i.e., refer to `conftest.exe'), while it won't with
4171 # `rm'.
4172 for ac_file in conftest.exe conftest conftest.*; do
4173 test -f "$ac_file" || continue
4174 case $ac_file in
4175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4176 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4177 break;;
4178 * ) break;;
4179 esac
4180 done
4181 else
4182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4184 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4185 See \`config.log' for more details" "$LINENO" 5; }
4187 rm -f conftest conftest$ac_cv_exeext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4189 $as_echo "$ac_cv_exeext" >&6; }
4191 rm -f conftest.$ac_ext
4192 EXEEXT=$ac_cv_exeext
4193 ac_exeext=$EXEEXT
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196 #include <stdio.h>
4198 main ()
4200 FILE *f = fopen ("conftest.out", "w");
4201 return ferror (f) || fclose (f) != 0;
4204 return 0;
4206 _ACEOF
4207 ac_clean_files="$ac_clean_files conftest.out"
4208 # Check that the compiler produces executables we can run. If not, either
4209 # the compiler is broken, or we cross compile.
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4211 $as_echo_n "checking whether we are cross compiling... " >&6; }
4212 if test "$cross_compiling" != yes; then
4213 { { ac_try="$ac_link"
4214 case "(($ac_try" in
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4217 esac
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_link") 2>&5
4221 ac_status=$?
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }
4224 if { ac_try='./conftest$ac_cv_exeext'
4225 { { case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228 esac
4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230 $as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_try") 2>&5
4232 ac_status=$?
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }; }; then
4235 cross_compiling=no
4236 else
4237 if test "$cross_compiling" = maybe; then
4238 cross_compiling=yes
4239 else
4240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4242 as_fn_error $? "cannot run C compiled programs.
4243 If you meant to cross compile, use \`--host'.
4244 See \`config.log' for more details" "$LINENO" 5; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4249 $as_echo "$cross_compiling" >&6; }
4251 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4252 ac_clean_files=$ac_clean_files_save
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4255 $as_echo_n "checking for suffix of object files... " >&6; }
4256 if ${ac_cv_objext+:} false; then :
4257 $as_echo_n "(cached) " >&6
4258 else
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4263 main ()
4267 return 0;
4269 _ACEOF
4270 rm -f conftest.o conftest.obj
4271 if { { ac_try="$ac_compile"
4272 case "(($ac_try" in
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4275 esac
4276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4277 $as_echo "$ac_try_echo"; } >&5
4278 (eval "$ac_compile") 2>&5
4279 ac_status=$?
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }; then :
4282 for ac_file in conftest.o conftest.obj conftest.*; do
4283 test -f "$ac_file" || continue;
4284 case $ac_file in
4285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4287 break;;
4288 esac
4289 done
4290 else
4291 $as_echo "$as_me: failed program was:" >&5
4292 sed 's/^/| /' conftest.$ac_ext >&5
4294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296 as_fn_error $? "cannot compute suffix of object files: cannot compile
4297 See \`config.log' for more details" "$LINENO" 5; }
4299 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4302 $as_echo "$ac_cv_objext" >&6; }
4303 OBJEXT=$ac_cv_objext
4304 ac_objext=$OBJEXT
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4306 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4307 if ${ac_cv_c_compiler_gnu+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309 else
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4314 main ()
4316 #ifndef __GNUC__
4317 choke me
4318 #endif
4321 return 0;
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_compiler_gnu=yes
4326 else
4327 ac_compiler_gnu=no
4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4334 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4335 if test $ac_compiler_gnu = yes; then
4336 GCC=yes
4337 else
4338 GCC=
4340 ac_test_CFLAGS=${CFLAGS+set}
4341 ac_save_CFLAGS=$CFLAGS
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4343 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4344 if ${ac_cv_prog_cc_g+:} false; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 ac_save_c_werror_flag=$ac_c_werror_flag
4348 ac_c_werror_flag=yes
4349 ac_cv_prog_cc_g=no
4350 CFLAGS="-g"
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4355 main ()
4359 return 0;
4361 _ACEOF
4362 if ac_fn_c_try_compile "$LINENO"; then :
4363 ac_cv_prog_cc_g=yes
4364 else
4365 CFLAGS=""
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4370 main ()
4374 return 0;
4376 _ACEOF
4377 if ac_fn_c_try_compile "$LINENO"; then :
4379 else
4380 ac_c_werror_flag=$ac_save_c_werror_flag
4381 CFLAGS="-g"
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4386 main ()
4390 return 0;
4392 _ACEOF
4393 if ac_fn_c_try_compile "$LINENO"; then :
4394 ac_cv_prog_cc_g=yes
4396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 ac_c_werror_flag=$ac_save_c_werror_flag
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4404 $as_echo "$ac_cv_prog_cc_g" >&6; }
4405 if test "$ac_test_CFLAGS" = set; then
4406 CFLAGS=$ac_save_CFLAGS
4407 elif test $ac_cv_prog_cc_g = yes; then
4408 if test "$GCC" = yes; then
4409 CFLAGS="-g -O2"
4410 else
4411 CFLAGS="-g"
4413 else
4414 if test "$GCC" = yes; then
4415 CFLAGS="-O2"
4416 else
4417 CFLAGS=
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4421 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4422 if ${ac_cv_prog_cc_c89+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 ac_cv_prog_cc_c89=no
4426 ac_save_CC=$CC
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4429 #include <stdarg.h>
4430 #include <stdio.h>
4431 struct stat;
4432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4433 struct buf { int x; };
4434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4435 static char *e (p, i)
4436 char **p;
4437 int i;
4439 return p[i];
4441 static char *f (char * (*g) (char **, int), char **p, ...)
4443 char *s;
4444 va_list v;
4445 va_start (v,p);
4446 s = g (p, va_arg (v,int));
4447 va_end (v);
4448 return s;
4451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4452 function prototypes and stuff, but not '\xHH' hex character constants.
4453 These don't provoke an error unfortunately, instead are silently treated
4454 as 'x'. The following induces an error, until -std is added to get
4455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4456 array size at least. It's necessary to write '\x00'==0 to get something
4457 that's true only with -std. */
4458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4460 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4461 inside strings and character constants. */
4462 #define FOO(x) 'x'
4463 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4465 int test (int i, double x);
4466 struct s1 {int (*f) (int a);};
4467 struct s2 {int (*f) (double a);};
4468 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4469 int argc;
4470 char **argv;
4472 main ()
4474 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4476 return 0;
4478 _ACEOF
4479 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4480 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4482 CC="$ac_save_CC $ac_arg"
4483 if ac_fn_c_try_compile "$LINENO"; then :
4484 ac_cv_prog_cc_c89=$ac_arg
4486 rm -f core conftest.err conftest.$ac_objext
4487 test "x$ac_cv_prog_cc_c89" != "xno" && break
4488 done
4489 rm -f conftest.$ac_ext
4490 CC=$ac_save_CC
4493 # AC_CACHE_VAL
4494 case "x$ac_cv_prog_cc_c89" in
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4497 $as_echo "none needed" >&6; } ;;
4498 xno)
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4500 $as_echo "unsupported" >&6; } ;;
4502 CC="$CC $ac_cv_prog_cc_c89"
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4504 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4505 esac
4506 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
4516 ac_ext=c
4517 ac_cpp='$CPP $CPPFLAGS'
4518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4522 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4523 if ${am_cv_prog_cc_c_o+:} false; then :
4524 $as_echo_n "(cached) " >&6
4525 else
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4530 main ()
4534 return 0;
4536 _ACEOF
4537 # Make sure it works both with $CC and with simple cc.
4538 # Following AC_PROG_CC_C_O, we do the test twice because some
4539 # compilers refuse to overwrite an existing .o file with -o,
4540 # though they will create one.
4541 am_cv_prog_cc_c_o=yes
4542 for am_i in 1 2; do
4543 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4544 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4545 ac_status=$?
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } \
4548 && test -f conftest2.$ac_objext; then
4549 : OK
4550 else
4551 am_cv_prog_cc_c_o=no
4552 break
4554 done
4555 rm -f core conftest*
4556 unset am_i
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4559 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4560 if test "$am_cv_prog_cc_c_o" != yes; then
4561 # Losing compiler, so override with the script.
4562 # FIXME: It is wrong to rewrite CC.
4563 # But if we don't then we get into trouble of one sort or another.
4564 # A longer-term fix would be to have automake use am__CC in this case,
4565 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4566 CC="$am_aux_dir/compile $CC"
4568 ac_ext=c
4569 ac_cpp='$CPP $CPPFLAGS'
4570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4575 depcc="$CC" am_compiler_list=
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4578 $as_echo_n "checking dependency style of $depcc... " >&6; }
4579 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4583 # We make a subdir and do the tests there. Otherwise we can end up
4584 # making bogus files that we don't know about and never remove. For
4585 # instance it was reported that on HP-UX the gcc test will end up
4586 # making a dummy file named 'D' -- because '-MD' means "put the output
4587 # in D".
4588 rm -rf conftest.dir
4589 mkdir conftest.dir
4590 # Copy depcomp to subdir because otherwise we won't find it if we're
4591 # using a relative directory.
4592 cp "$am_depcomp" conftest.dir
4593 cd conftest.dir
4594 # We will build objects and dependencies in a subdirectory because
4595 # it helps to detect inapplicable dependency modes. For instance
4596 # both Tru64's cc and ICC support -MD to output dependencies as a
4597 # side effect of compilation, but ICC will put the dependencies in
4598 # the current directory while Tru64 will put them in the object
4599 # directory.
4600 mkdir sub
4602 am_cv_CC_dependencies_compiler_type=none
4603 if test "$am_compiler_list" = ""; then
4604 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4606 am__universal=false
4607 case " $depcc " in #(
4608 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4609 esac
4611 for depmode in $am_compiler_list; do
4612 # Setup a source with many dependencies, because some compilers
4613 # like to wrap large dependency lists on column 80 (with \), and
4614 # we should not choose a depcomp mode which is confused by this.
4616 # We need to recreate these files for each test, as the compiler may
4617 # overwrite some of them when testing with obscure command lines.
4618 # This happens at least with the AIX C compiler.
4619 : > sub/conftest.c
4620 for i in 1 2 3 4 5 6; do
4621 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4622 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4623 # Solaris 10 /bin/sh.
4624 echo '/* dummy */' > sub/conftst$i.h
4625 done
4626 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4628 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4629 # mode. It turns out that the SunPro C++ compiler does not properly
4630 # handle '-M -o', and we need to detect this. Also, some Intel
4631 # versions had trouble with output in subdirs.
4632 am__obj=sub/conftest.${OBJEXT-o}
4633 am__minus_obj="-o $am__obj"
4634 case $depmode in
4635 gcc)
4636 # This depmode causes a compiler race in universal mode.
4637 test "$am__universal" = false || continue
4639 nosideeffect)
4640 # After this tag, mechanisms are not by side-effect, so they'll
4641 # only be used when explicitly requested.
4642 if test "x$enable_dependency_tracking" = xyes; then
4643 continue
4644 else
4645 break
4648 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4649 # This compiler won't grok '-c -o', but also, the minuso test has
4650 # not run yet. These depmodes are late enough in the game, and
4651 # so weak that their functioning should not be impacted.
4652 am__obj=conftest.${OBJEXT-o}
4653 am__minus_obj=
4655 none) break ;;
4656 esac
4657 if depmode=$depmode \
4658 source=sub/conftest.c object=$am__obj \
4659 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4660 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4661 >/dev/null 2>conftest.err &&
4662 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4663 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4664 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4665 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4666 # icc doesn't choke on unknown options, it will just issue warnings
4667 # or remarks (even with -Werror). So we grep stderr for any message
4668 # that says an option was ignored or not supported.
4669 # When given -MP, icc 7.0 and 7.1 complain thusly:
4670 # icc: Command line warning: ignoring option '-M'; no argument required
4671 # The diagnosis changed in icc 8.0:
4672 # icc: Command line remark: option '-MP' not supported
4673 if (grep 'ignoring option' conftest.err ||
4674 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4675 am_cv_CC_dependencies_compiler_type=$depmode
4676 break
4679 done
4681 cd ..
4682 rm -rf conftest.dir
4683 else
4684 am_cv_CC_dependencies_compiler_type=none
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4689 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4690 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4693 test "x$enable_dependency_tracking" != xno \
4694 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4695 am__fastdepCC_TRUE=
4696 am__fastdepCC_FALSE='#'
4697 else
4698 am__fastdepCC_TRUE='#'
4699 am__fastdepCC_FALSE=
4704 ac_ext=c
4705 ac_cpp='$CPP $CPPFLAGS'
4706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4710 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4711 # On Suns, sometimes $CPP names a directory.
4712 if test -n "$CPP" && test -d "$CPP"; then
4713 CPP=
4715 if test -z "$CPP"; then
4716 if ${ac_cv_prog_CPP+:} false; then :
4717 $as_echo_n "(cached) " >&6
4718 else
4719 # Double quotes because CPP needs to be expanded
4720 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4722 ac_preproc_ok=false
4723 for ac_c_preproc_warn_flag in '' yes
4725 # Use a header file that comes with gcc, so configuring glibc
4726 # with a fresh cross-compiler works.
4727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 # <limits.h> exists even on freestanding compilers.
4729 # On the NeXT, cc -E runs the code through the compiler's parser,
4730 # not just through cpp. "Syntax error" is here to catch this case.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 #ifdef __STDC__
4734 # include <limits.h>
4735 #else
4736 # include <assert.h>
4737 #endif
4738 Syntax error
4739 _ACEOF
4740 if ac_fn_c_try_cpp "$LINENO"; then :
4742 else
4743 # Broken: fails on valid input.
4744 continue
4746 rm -f conftest.err conftest.i conftest.$ac_ext
4748 # OK, works on sane cases. Now check whether nonexistent headers
4749 # can be detected and how.
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4752 #include <ac_nonexistent.h>
4753 _ACEOF
4754 if ac_fn_c_try_cpp "$LINENO"; then :
4755 # Broken: success on invalid input.
4756 continue
4757 else
4758 # Passes both tests.
4759 ac_preproc_ok=:
4760 break
4762 rm -f conftest.err conftest.i conftest.$ac_ext
4764 done
4765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4766 rm -f conftest.i conftest.err conftest.$ac_ext
4767 if $ac_preproc_ok; then :
4768 break
4771 done
4772 ac_cv_prog_CPP=$CPP
4775 CPP=$ac_cv_prog_CPP
4776 else
4777 ac_cv_prog_CPP=$CPP
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4780 $as_echo "$CPP" >&6; }
4781 ac_preproc_ok=false
4782 for ac_c_preproc_warn_flag in '' yes
4784 # Use a header file that comes with gcc, so configuring glibc
4785 # with a fresh cross-compiler works.
4786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4787 # <limits.h> exists even on freestanding compilers.
4788 # On the NeXT, cc -E runs the code through the compiler's parser,
4789 # not just through cpp. "Syntax error" is here to catch this case.
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4792 #ifdef __STDC__
4793 # include <limits.h>
4794 #else
4795 # include <assert.h>
4796 #endif
4797 Syntax error
4798 _ACEOF
4799 if ac_fn_c_try_cpp "$LINENO"; then :
4801 else
4802 # Broken: fails on valid input.
4803 continue
4805 rm -f conftest.err conftest.i conftest.$ac_ext
4807 # OK, works on sane cases. Now check whether nonexistent headers
4808 # can be detected and how.
4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4811 #include <ac_nonexistent.h>
4812 _ACEOF
4813 if ac_fn_c_try_cpp "$LINENO"; then :
4814 # Broken: success on invalid input.
4815 continue
4816 else
4817 # Passes both tests.
4818 ac_preproc_ok=:
4819 break
4821 rm -f conftest.err conftest.i conftest.$ac_ext
4823 done
4824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4825 rm -f conftest.i conftest.err conftest.$ac_ext
4826 if $ac_preproc_ok; then :
4828 else
4829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4831 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4832 See \`config.log' for more details" "$LINENO" 5; }
4835 ac_ext=c
4836 ac_cpp='$CPP $CPPFLAGS'
4837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4843 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4844 if ${ac_cv_path_GREP+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846 else
4847 if test -z "$GREP"; then
4848 ac_path_GREP_found=false
4849 # Loop through the user's path and test for each of PROGNAME-LIST
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4853 IFS=$as_save_IFS
4854 test -z "$as_dir" && as_dir=.
4855 for ac_prog in grep ggrep; do
4856 for ac_exec_ext in '' $ac_executable_extensions; do
4857 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4858 as_fn_executable_p "$ac_path_GREP" || continue
4859 # Check for GNU ac_path_GREP and select it if it is found.
4860 # Check for GNU $ac_path_GREP
4861 case `"$ac_path_GREP" --version 2>&1` in
4862 *GNU*)
4863 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4865 ac_count=0
4866 $as_echo_n 0123456789 >"conftest.in"
4867 while :
4869 cat "conftest.in" "conftest.in" >"conftest.tmp"
4870 mv "conftest.tmp" "conftest.in"
4871 cp "conftest.in" "conftest.nl"
4872 $as_echo 'GREP' >> "conftest.nl"
4873 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4874 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4875 as_fn_arith $ac_count + 1 && ac_count=$as_val
4876 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4877 # Best one so far, save it but keep looking for a better one
4878 ac_cv_path_GREP="$ac_path_GREP"
4879 ac_path_GREP_max=$ac_count
4881 # 10*(2^10) chars as input seems more than enough
4882 test $ac_count -gt 10 && break
4883 done
4884 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4885 esac
4887 $ac_path_GREP_found && break 3
4888 done
4889 done
4890 done
4891 IFS=$as_save_IFS
4892 if test -z "$ac_cv_path_GREP"; then
4893 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4895 else
4896 ac_cv_path_GREP=$GREP
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4901 $as_echo "$ac_cv_path_GREP" >&6; }
4902 GREP="$ac_cv_path_GREP"
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4906 $as_echo_n "checking for egrep... " >&6; }
4907 if ${ac_cv_path_EGREP+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909 else
4910 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4911 then ac_cv_path_EGREP="$GREP -E"
4912 else
4913 if test -z "$EGREP"; then
4914 ac_path_EGREP_found=false
4915 # Loop through the user's path and test for each of PROGNAME-LIST
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4919 IFS=$as_save_IFS
4920 test -z "$as_dir" && as_dir=.
4921 for ac_prog in egrep; do
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4924 as_fn_executable_p "$ac_path_EGREP" || continue
4925 # Check for GNU ac_path_EGREP and select it if it is found.
4926 # Check for GNU $ac_path_EGREP
4927 case `"$ac_path_EGREP" --version 2>&1` in
4928 *GNU*)
4929 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4931 ac_count=0
4932 $as_echo_n 0123456789 >"conftest.in"
4933 while :
4935 cat "conftest.in" "conftest.in" >"conftest.tmp"
4936 mv "conftest.tmp" "conftest.in"
4937 cp "conftest.in" "conftest.nl"
4938 $as_echo 'EGREP' >> "conftest.nl"
4939 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4940 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4941 as_fn_arith $ac_count + 1 && ac_count=$as_val
4942 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4943 # Best one so far, save it but keep looking for a better one
4944 ac_cv_path_EGREP="$ac_path_EGREP"
4945 ac_path_EGREP_max=$ac_count
4947 # 10*(2^10) chars as input seems more than enough
4948 test $ac_count -gt 10 && break
4949 done
4950 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4951 esac
4953 $ac_path_EGREP_found && break 3
4954 done
4955 done
4956 done
4957 IFS=$as_save_IFS
4958 if test -z "$ac_cv_path_EGREP"; then
4959 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4961 else
4962 ac_cv_path_EGREP=$EGREP
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4968 $as_echo "$ac_cv_path_EGREP" >&6; }
4969 EGREP="$ac_cv_path_EGREP"
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4973 $as_echo_n "checking for ANSI C header files... " >&6; }
4974 if ${ac_cv_header_stdc+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4979 #include <stdlib.h>
4980 #include <stdarg.h>
4981 #include <string.h>
4982 #include <float.h>
4985 main ()
4989 return 0;
4991 _ACEOF
4992 if ac_fn_c_try_compile "$LINENO"; then :
4993 ac_cv_header_stdc=yes
4994 else
4995 ac_cv_header_stdc=no
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 if test $ac_cv_header_stdc = yes; then
5000 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5003 #include <string.h>
5005 _ACEOF
5006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5007 $EGREP "memchr" >/dev/null 2>&1; then :
5009 else
5010 ac_cv_header_stdc=no
5012 rm -f conftest*
5016 if test $ac_cv_header_stdc = yes; then
5017 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5020 #include <stdlib.h>
5022 _ACEOF
5023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5024 $EGREP "free" >/dev/null 2>&1; then :
5026 else
5027 ac_cv_header_stdc=no
5029 rm -f conftest*
5033 if test $ac_cv_header_stdc = yes; then
5034 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5035 if test "$cross_compiling" = yes; then :
5037 else
5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5040 #include <ctype.h>
5041 #include <stdlib.h>
5042 #if ((' ' & 0x0FF) == 0x020)
5043 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5044 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5045 #else
5046 # define ISLOWER(c) \
5047 (('a' <= (c) && (c) <= 'i') \
5048 || ('j' <= (c) && (c) <= 'r') \
5049 || ('s' <= (c) && (c) <= 'z'))
5050 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5051 #endif
5053 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5055 main ()
5057 int i;
5058 for (i = 0; i < 256; i++)
5059 if (XOR (islower (i), ISLOWER (i))
5060 || toupper (i) != TOUPPER (i))
5061 return 2;
5062 return 0;
5064 _ACEOF
5065 if ac_fn_c_try_run "$LINENO"; then :
5067 else
5068 ac_cv_header_stdc=no
5070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5071 conftest.$ac_objext conftest.beam conftest.$ac_ext
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5077 $as_echo "$ac_cv_header_stdc" >&6; }
5078 if test $ac_cv_header_stdc = yes; then
5080 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5084 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5085 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5086 inttypes.h stdint.h unistd.h
5087 do :
5088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5089 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5092 cat >>confdefs.h <<_ACEOF
5093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5094 _ACEOF
5098 done
5102 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5103 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5104 MINIX=yes
5105 else
5106 MINIX=
5110 if test "$MINIX" = yes; then
5112 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5115 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5118 $as_echo "#define _MINIX 1" >>confdefs.h
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5124 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5125 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5126 $as_echo_n "(cached) " >&6
5127 else
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5131 # define __EXTENSIONS__ 1
5132 $ac_includes_default
5134 main ()
5138 return 0;
5140 _ACEOF
5141 if ac_fn_c_try_compile "$LINENO"; then :
5142 ac_cv_safe_to_define___extensions__=yes
5143 else
5144 ac_cv_safe_to_define___extensions__=no
5146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5149 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5150 test $ac_cv_safe_to_define___extensions__ = yes &&
5151 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5153 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5155 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5157 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5159 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5164 # Check whether --with-toolexeclibdir was given.
5165 if test "${with_toolexeclibdir+set}" = set; then :
5166 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5170 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5172 esac
5173 else
5174 with_toolexeclibdir=no
5179 # Calculate toolexeclibdir
5180 # Also toolexecdir, though it's only used in toolexeclibdir
5181 case ${version_specific_libs} in
5182 yes)
5183 # Need the gcc compiler version to know where to install libraries
5184 # and header files if --enable-version-specific-runtime-libs option
5185 # is selected.
5186 toolexecdir='$(libdir)/gcc/$(target_alias)'
5187 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5190 if test -n "$with_cross_host" &&
5191 test x"$with_cross_host" != x"no"; then
5192 # Install a library built with a cross compiler in tooldir, not libdir.
5193 toolexecdir='$(exec_prefix)/$(target_alias)'
5194 case ${with_toolexeclibdir} in
5196 toolexeclibdir='$(toolexecdir)/lib'
5199 toolexeclibdir=${with_toolexeclibdir}
5201 esac
5202 else
5203 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5204 toolexeclibdir='$(libdir)'
5206 multi_os_directory=`$CC -print-multi-os-directory`
5207 case $multi_os_directory in
5208 .) ;; # Avoid trailing /.
5209 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5210 esac
5212 esac
5216 # Create a spec file, so that compile/link tests don't fail
5217 test -f libgfortran.spec || touch libgfortran.spec
5219 ac_ext=c
5220 ac_cpp='$CPP $CPPFLAGS'
5221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5225 # Check the compiler.
5226 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5227 # We must force CC to /not/ be precious variables; otherwise
5228 # the wrong, non-multilib-adjusted value will be used in multilibs.
5229 # As a side effect, we have to subst CFLAGS ourselves.
5233 ac_ext=c
5234 ac_cpp='$CPP $CPPFLAGS'
5235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5238 if test -n "$ac_tool_prefix"; then
5239 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5240 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_CC+:} false; then :
5244 $as_echo_n "(cached) " >&6
5245 else
5246 if test -n "$CC"; then
5247 ac_cv_prog_CC="$CC" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 CC=$ac_cv_prog_CC
5267 if test -n "$CC"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5269 $as_echo "$CC" >&6; }
5270 else
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5277 if test -z "$ac_cv_prog_CC"; then
5278 ac_ct_CC=$CC
5279 # Extract the first word of "gcc", so it can be a program name with args.
5280 set dummy gcc; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 if test -n "$ac_ct_CC"; then
5287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5288 else
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_ac_ct_CC="gcc"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2
5300 done
5301 done
5302 IFS=$as_save_IFS
5306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5307 if test -n "$ac_ct_CC"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5309 $as_echo "$ac_ct_CC" >&6; }
5310 else
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5315 if test "x$ac_ct_CC" = x; then
5316 CC=""
5317 else
5318 case $cross_compiling:$ac_tool_warned in
5319 yes:)
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5322 ac_tool_warned=yes ;;
5323 esac
5324 CC=$ac_ct_CC
5326 else
5327 CC="$ac_cv_prog_CC"
5330 if test -z "$CC"; then
5331 if test -n "$ac_tool_prefix"; then
5332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5333 set dummy ${ac_tool_prefix}cc; ac_word=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_CC+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 if test -n "$CC"; then
5340 ac_cv_prog_CC="$CC" # Let the user override the test.
5341 else
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 for as_dir in $PATH
5345 IFS=$as_save_IFS
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_prog_CC="${ac_tool_prefix}cc"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 break 2
5353 done
5354 done
5355 IFS=$as_save_IFS
5359 CC=$ac_cv_prog_CC
5360 if test -n "$CC"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5362 $as_echo "$CC" >&6; }
5363 else
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5371 if test -z "$CC"; then
5372 # Extract the first word of "cc", so it can be a program name with args.
5373 set dummy cc; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_CC+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$CC"; then
5380 ac_cv_prog_CC="$CC" # Let the user override the test.
5381 else
5382 ac_prog_rejected=no
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH
5386 IFS=$as_save_IFS
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5390 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5391 ac_prog_rejected=yes
5392 continue
5394 ac_cv_prog_CC="cc"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5402 if test $ac_prog_rejected = yes; then
5403 # We found a bogon in the path, so make sure we never use it.
5404 set dummy $ac_cv_prog_CC
5405 shift
5406 if test $# != 0; then
5407 # We chose a different compiler from the bogus one.
5408 # However, it has the same basename, so the bogon will be chosen
5409 # first if we set CC to just the basename; use the full file name.
5410 shift
5411 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5416 CC=$ac_cv_prog_CC
5417 if test -n "$CC"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5419 $as_echo "$CC" >&6; }
5420 else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5427 if test -z "$CC"; then
5428 if test -n "$ac_tool_prefix"; then
5429 for ac_prog in cl.exe
5431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_CC+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437 else
5438 if test -n "$CC"; then
5439 ac_cv_prog_CC="$CC" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 CC=$ac_cv_prog_CC
5459 if test -n "$CC"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5461 $as_echo "$CC" >&6; }
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5468 test -n "$CC" && break
5469 done
5471 if test -z "$CC"; then
5472 ac_ct_CC=$CC
5473 for ac_prog in cl.exe
5475 # Extract the first word of "$ac_prog", so it can be a program name with args.
5476 set dummy $ac_prog; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$ac_ct_CC"; then
5483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_ac_ct_CC="$ac_prog"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5503 if test -n "$ac_ct_CC"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5505 $as_echo "$ac_ct_CC" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5512 test -n "$ac_ct_CC" && break
5513 done
5515 if test "x$ac_ct_CC" = x; then
5516 CC=""
5517 else
5518 case $cross_compiling:$ac_tool_warned in
5519 yes:)
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5522 ac_tool_warned=yes ;;
5523 esac
5524 CC=$ac_ct_CC
5531 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5533 as_fn_error $? "no acceptable C compiler found in \$PATH
5534 See \`config.log' for more details" "$LINENO" 5; }
5536 # Provide some information about the compiler.
5537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5538 set X $ac_compile
5539 ac_compiler=$2
5540 for ac_option in --version -v -V -qversion; do
5541 { { ac_try="$ac_compiler $ac_option >&5"
5542 case "(($ac_try" in
5543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5544 *) ac_try_echo=$ac_try;;
5545 esac
5546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5547 $as_echo "$ac_try_echo"; } >&5
5548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5549 ac_status=$?
5550 if test -s conftest.err; then
5551 sed '10a\
5552 ... rest of stderr output deleted ...
5553 10q' conftest.err >conftest.er1
5554 cat conftest.er1 >&5
5556 rm -f conftest.er1 conftest.err
5557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5558 test $ac_status = 0; }
5559 done
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5562 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5563 if ${ac_cv_c_compiler_gnu+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5570 main ()
5572 #ifndef __GNUC__
5573 choke me
5574 #endif
5577 return 0;
5579 _ACEOF
5580 if ac_fn_c_try_compile "$LINENO"; then :
5581 ac_compiler_gnu=yes
5582 else
5583 ac_compiler_gnu=no
5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5586 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5590 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5591 if test $ac_compiler_gnu = yes; then
5592 GCC=yes
5593 else
5594 GCC=
5596 ac_test_CFLAGS=${CFLAGS+set}
5597 ac_save_CFLAGS=$CFLAGS
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5599 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5600 if ${ac_cv_prog_cc_g+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 ac_save_c_werror_flag=$ac_c_werror_flag
5604 ac_c_werror_flag=yes
5605 ac_cv_prog_cc_g=no
5606 CFLAGS="-g"
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5611 main ()
5615 return 0;
5617 _ACEOF
5618 if ac_fn_c_try_compile "$LINENO"; then :
5619 ac_cv_prog_cc_g=yes
5620 else
5621 CFLAGS=""
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5626 main ()
5630 return 0;
5632 _ACEOF
5633 if ac_fn_c_try_compile "$LINENO"; then :
5635 else
5636 ac_c_werror_flag=$ac_save_c_werror_flag
5637 CFLAGS="-g"
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5642 main ()
5646 return 0;
5648 _ACEOF
5649 if ac_fn_c_try_compile "$LINENO"; then :
5650 ac_cv_prog_cc_g=yes
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5657 ac_c_werror_flag=$ac_save_c_werror_flag
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5660 $as_echo "$ac_cv_prog_cc_g" >&6; }
5661 if test "$ac_test_CFLAGS" = set; then
5662 CFLAGS=$ac_save_CFLAGS
5663 elif test $ac_cv_prog_cc_g = yes; then
5664 if test "$GCC" = yes; then
5665 CFLAGS="-g -O2"
5666 else
5667 CFLAGS="-g"
5669 else
5670 if test "$GCC" = yes; then
5671 CFLAGS="-O2"
5672 else
5673 CFLAGS=
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5677 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5678 if ${ac_cv_prog_cc_c89+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 ac_cv_prog_cc_c89=no
5682 ac_save_CC=$CC
5683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5685 #include <stdarg.h>
5686 #include <stdio.h>
5687 struct stat;
5688 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5689 struct buf { int x; };
5690 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5691 static char *e (p, i)
5692 char **p;
5693 int i;
5695 return p[i];
5697 static char *f (char * (*g) (char **, int), char **p, ...)
5699 char *s;
5700 va_list v;
5701 va_start (v,p);
5702 s = g (p, va_arg (v,int));
5703 va_end (v);
5704 return s;
5707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5708 function prototypes and stuff, but not '\xHH' hex character constants.
5709 These don't provoke an error unfortunately, instead are silently treated
5710 as 'x'. The following induces an error, until -std is added to get
5711 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5712 array size at least. It's necessary to write '\x00'==0 to get something
5713 that's true only with -std. */
5714 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5716 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5717 inside strings and character constants. */
5718 #define FOO(x) 'x'
5719 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5721 int test (int i, double x);
5722 struct s1 {int (*f) (int a);};
5723 struct s2 {int (*f) (double a);};
5724 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5725 int argc;
5726 char **argv;
5728 main ()
5730 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5732 return 0;
5734 _ACEOF
5735 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5736 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5738 CC="$ac_save_CC $ac_arg"
5739 if ac_fn_c_try_compile "$LINENO"; then :
5740 ac_cv_prog_cc_c89=$ac_arg
5742 rm -f core conftest.err conftest.$ac_objext
5743 test "x$ac_cv_prog_cc_c89" != "xno" && break
5744 done
5745 rm -f conftest.$ac_ext
5746 CC=$ac_save_CC
5749 # AC_CACHE_VAL
5750 case "x$ac_cv_prog_cc_c89" in
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5753 $as_echo "none needed" >&6; } ;;
5754 xno)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5756 $as_echo "unsupported" >&6; } ;;
5758 CC="$CC $ac_cv_prog_cc_c89"
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5760 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5761 esac
5762 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
5772 ac_ext=c
5773 ac_cpp='$CPP $CPPFLAGS'
5774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5778 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5779 if ${am_cv_prog_cc_c_o+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5786 main ()
5790 return 0;
5792 _ACEOF
5793 # Make sure it works both with $CC and with simple cc.
5794 # Following AC_PROG_CC_C_O, we do the test twice because some
5795 # compilers refuse to overwrite an existing .o file with -o,
5796 # though they will create one.
5797 am_cv_prog_cc_c_o=yes
5798 for am_i in 1 2; do
5799 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5800 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5801 ac_status=$?
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } \
5804 && test -f conftest2.$ac_objext; then
5805 : OK
5806 else
5807 am_cv_prog_cc_c_o=no
5808 break
5810 done
5811 rm -f core conftest*
5812 unset am_i
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5815 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5816 if test "$am_cv_prog_cc_c_o" != yes; then
5817 # Losing compiler, so override with the script.
5818 # FIXME: It is wrong to rewrite CC.
5819 # But if we don't then we get into trouble of one sort or another.
5820 # A longer-term fix would be to have automake use am__CC in this case,
5821 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5822 CC="$am_aux_dir/compile $CC"
5824 ac_ext=c
5825 ac_cpp='$CPP $CPPFLAGS'
5826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5831 depcc="$CC" am_compiler_list=
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5834 $as_echo_n "checking dependency style of $depcc... " >&6; }
5835 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5839 # We make a subdir and do the tests there. Otherwise we can end up
5840 # making bogus files that we don't know about and never remove. For
5841 # instance it was reported that on HP-UX the gcc test will end up
5842 # making a dummy file named 'D' -- because '-MD' means "put the output
5843 # in D".
5844 rm -rf conftest.dir
5845 mkdir conftest.dir
5846 # Copy depcomp to subdir because otherwise we won't find it if we're
5847 # using a relative directory.
5848 cp "$am_depcomp" conftest.dir
5849 cd conftest.dir
5850 # We will build objects and dependencies in a subdirectory because
5851 # it helps to detect inapplicable dependency modes. For instance
5852 # both Tru64's cc and ICC support -MD to output dependencies as a
5853 # side effect of compilation, but ICC will put the dependencies in
5854 # the current directory while Tru64 will put them in the object
5855 # directory.
5856 mkdir sub
5858 am_cv_CC_dependencies_compiler_type=none
5859 if test "$am_compiler_list" = ""; then
5860 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5862 am__universal=false
5863 case " $depcc " in #(
5864 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5865 esac
5867 for depmode in $am_compiler_list; do
5868 # Setup a source with many dependencies, because some compilers
5869 # like to wrap large dependency lists on column 80 (with \), and
5870 # we should not choose a depcomp mode which is confused by this.
5872 # We need to recreate these files for each test, as the compiler may
5873 # overwrite some of them when testing with obscure command lines.
5874 # This happens at least with the AIX C compiler.
5875 : > sub/conftest.c
5876 for i in 1 2 3 4 5 6; do
5877 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5878 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5879 # Solaris 10 /bin/sh.
5880 echo '/* dummy */' > sub/conftst$i.h
5881 done
5882 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5884 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5885 # mode. It turns out that the SunPro C++ compiler does not properly
5886 # handle '-M -o', and we need to detect this. Also, some Intel
5887 # versions had trouble with output in subdirs.
5888 am__obj=sub/conftest.${OBJEXT-o}
5889 am__minus_obj="-o $am__obj"
5890 case $depmode in
5891 gcc)
5892 # This depmode causes a compiler race in universal mode.
5893 test "$am__universal" = false || continue
5895 nosideeffect)
5896 # After this tag, mechanisms are not by side-effect, so they'll
5897 # only be used when explicitly requested.
5898 if test "x$enable_dependency_tracking" = xyes; then
5899 continue
5900 else
5901 break
5904 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5905 # This compiler won't grok '-c -o', but also, the minuso test has
5906 # not run yet. These depmodes are late enough in the game, and
5907 # so weak that their functioning should not be impacted.
5908 am__obj=conftest.${OBJEXT-o}
5909 am__minus_obj=
5911 none) break ;;
5912 esac
5913 if depmode=$depmode \
5914 source=sub/conftest.c object=$am__obj \
5915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5916 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5917 >/dev/null 2>conftest.err &&
5918 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5919 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5920 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5921 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5922 # icc doesn't choke on unknown options, it will just issue warnings
5923 # or remarks (even with -Werror). So we grep stderr for any message
5924 # that says an option was ignored or not supported.
5925 # When given -MP, icc 7.0 and 7.1 complain thusly:
5926 # icc: Command line warning: ignoring option '-M'; no argument required
5927 # The diagnosis changed in icc 8.0:
5928 # icc: Command line remark: option '-MP' not supported
5929 if (grep 'ignoring option' conftest.err ||
5930 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5931 am_cv_CC_dependencies_compiler_type=$depmode
5932 break
5935 done
5937 cd ..
5938 rm -rf conftest.dir
5939 else
5940 am_cv_CC_dependencies_compiler_type=none
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5945 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5946 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5949 test "x$enable_dependency_tracking" != xno \
5950 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5951 am__fastdepCC_TRUE=
5952 am__fastdepCC_FALSE='#'
5953 else
5954 am__fastdepCC_TRUE='#'
5955 am__fastdepCC_FALSE=
5965 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5966 have_real_17=no
5967 if test "x$GCC" = "xyes"; then
5968 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5969 ## We like to use C11 and C99 routines when available. This makes
5970 ## sure that
5971 ## __STDC_VERSION__ is set such that libc includes make them available.
5972 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5973 ## Compile the following tests with the same system header contents
5974 ## that we'll encounter when compiling our own source files.
5975 CFLAGS="-std=gnu11 $CFLAGS"
5977 case x$target in
5978 xpowerpc64le*-linux*)
5979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5981 #if __SIZEOF_LONG_DOUBLE__ != 16
5982 #error long double is double
5983 #endif
5985 main ()
5987 (void) 0;
5989 return 0;
5991 _ACEOF
5992 if ac_fn_c_try_cpp "$LINENO"; then :
5993 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5994 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5995 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5996 have_real_17=yes
5998 rm -f conftest.err conftest.i conftest.$ac_ext
6002 esac
6004 if test "x$have_real_17" != xno; then
6005 HAVE_REAL_17_TRUE=
6006 HAVE_REAL_17_FALSE='#'
6007 else
6008 HAVE_REAL_17_TRUE='#'
6009 HAVE_REAL_17_FALSE=
6013 # Add CET specific flags if CET is enabled
6014 # Check whether --enable-cet was given.
6015 if test "${enable_cet+set}" = set; then :
6016 enableval=$enable_cet;
6017 case "$enableval" in
6018 yes|no|auto) ;;
6019 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6020 esac
6022 else
6023 enable_cet=auto
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6028 $as_echo_n "checking for CET support... " >&6; }
6030 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6031 case "$host" in
6032 i[34567]86-*-linux* | x86_64-*-linux*)
6033 case "$enable_cet" in
6034 auto)
6035 # Check if target supports multi-byte NOPs
6036 # and if compiler and assembler support CET insn.
6037 cet_save_CFLAGS="$CFLAGS"
6038 CFLAGS="$CFLAGS -fcf-protection"
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6043 main ()
6046 #if !defined(__SSE2__)
6047 #error target does not support multi-byte NOPs
6048 #else
6049 asm ("setssbsy");
6050 #endif
6053 return 0;
6055 _ACEOF
6056 if ac_fn_c_try_compile "$LINENO"; then :
6057 enable_cet=yes
6058 else
6059 enable_cet=no
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062 CFLAGS="$cet_save_CFLAGS"
6064 yes)
6065 # Check if assembler supports CET.
6066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6070 main ()
6072 asm ("setssbsy");
6074 return 0;
6076 _ACEOF
6077 if ac_fn_c_try_compile "$LINENO"; then :
6079 else
6080 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6084 esac
6087 enable_cet=no
6089 esac
6090 if test x$enable_cet = xyes; then
6091 CET_FLAGS="-fcf-protection -mshstk"
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6093 $as_echo "yes" >&6; }
6094 else
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6099 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6100 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6101 CFLAGS="$CFLAGS $CET_FLAGS"
6107 # Check for symbol versioning (copied from libssp).
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6109 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6110 # Check whether --enable-symvers was given.
6111 if test "${enable_symvers+set}" = set; then :
6112 enableval=$enable_symvers; gfortran_use_symver=$enableval
6113 else
6114 gfortran_use_symver=yes
6117 if test "x$gfortran_use_symver" != xno; then
6118 save_LDFLAGS="$LDFLAGS"
6119 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6120 cat > conftest.map <<EOF
6121 FOO_1.0 {
6122 global: *foo*; bar; local: *;
6125 if test x$gcc_no_link = xyes; then
6126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6130 int foo;
6132 main ()
6136 return 0;
6138 _ACEOF
6139 if ac_fn_c_try_link "$LINENO"; then :
6140 gfortran_use_symver=gnu
6141 else
6142 gfortran_use_symver=no
6144 rm -f core conftest.err conftest.$ac_objext \
6145 conftest$ac_exeext conftest.$ac_ext
6146 if test x$gfortran_use_symver = xno; then
6147 case "$target_os" in
6148 solaris2*)
6149 LDFLAGS="$save_LDFLAGS"
6150 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6151 # Sun ld cannot handle wildcards and treats all entries as undefined.
6152 cat > conftest.map <<EOF
6153 FOO_1.0 {
6154 global: foo; local: *;
6157 if test x$gcc_no_link = xyes; then
6158 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6161 /* end confdefs.h. */
6162 int foo;
6164 main ()
6168 return 0;
6170 _ACEOF
6171 if ac_fn_c_try_link "$LINENO"; then :
6172 gfortran_use_symver=sun
6173 else
6174 gfortran_use_symver=no
6176 rm -f core conftest.err conftest.$ac_objext \
6177 conftest$ac_exeext conftest.$ac_ext
6179 esac
6181 LDFLAGS="$save_LDFLAGS"
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6184 $as_echo "$gfortran_use_symver" >&6; }
6185 if test "x$gfortran_use_symver" != xno; then
6186 LIBGFOR_USE_SYMVER_TRUE=
6187 LIBGFOR_USE_SYMVER_FALSE='#'
6188 else
6189 LIBGFOR_USE_SYMVER_TRUE='#'
6190 LIBGFOR_USE_SYMVER_FALSE=
6193 if test "x$gfortran_use_symver" = xgnu; then
6194 LIBGFOR_USE_SYMVER_GNU_TRUE=
6195 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6196 else
6197 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6198 LIBGFOR_USE_SYMVER_GNU_FALSE=
6201 if test "x$gfortran_use_symver" = xsun; then
6202 LIBGFOR_USE_SYMVER_SUN_TRUE=
6203 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6204 else
6205 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6206 LIBGFOR_USE_SYMVER_SUN_FALSE=
6210 # "Minimal" mode is for targets that cannot (yet) support all features of
6211 # libgfortran. It avoids the need for working constructors, alloca, and C
6212 # library support for I/O, signals, environment variables, time functions, etc.
6213 # At present there are no targets that require this mode.
6215 if false; then
6216 LIBGFOR_MINIMAL_TRUE=
6217 LIBGFOR_MINIMAL_FALSE='#'
6218 else
6219 LIBGFOR_MINIMAL_TRUE='#'
6220 LIBGFOR_MINIMAL_FALSE=
6224 # Some compiler target support may have limited support for integer
6225 # or floating point numbers – or may want to reduce the libgfortran size
6226 # although they do have the support.
6227 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6228 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6233 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6234 # similarly to how libstdc++ does it
6235 ac_test_CFLAGS="${CFLAGS+set}"
6236 ac_save_CFLAGS="$CFLAGS"
6238 # Check for -ffunction-sections -fdata-sections
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6240 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6241 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6246 main ()
6248 int foo;
6250 return 0;
6252 _ACEOF
6253 if ac_fn_c_try_compile "$LINENO"; then :
6254 ac_fdsections=yes
6255 else
6256 ac_fdsections=no
6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6259 if test "$ac_test_CFLAGS" = set; then
6260 CFLAGS="$ac_save_CFLAGS"
6261 else
6262 # this is the suspicious part
6263 CFLAGS=""
6265 if test x"$ac_fdsections" = x"yes"; then
6266 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6269 $as_echo "$ac_fdsections" >&6; }
6272 # Check linker hardware capability support.
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6274 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6275 if ${ac_cv_path_SED+:} false; then :
6276 $as_echo_n "(cached) " >&6
6277 else
6278 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6279 for ac_i in 1 2 3 4 5 6 7; do
6280 ac_script="$ac_script$as_nl$ac_script"
6281 done
6282 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6283 { ac_script=; unset ac_script;}
6284 if test -z "$SED"; then
6285 ac_path_SED_found=false
6286 # Loop through the user's path and test for each of PROGNAME-LIST
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_prog in sed gsed; do
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6295 as_fn_executable_p "$ac_path_SED" || continue
6296 # Check for GNU ac_path_SED and select it if it is found.
6297 # Check for GNU $ac_path_SED
6298 case `"$ac_path_SED" --version 2>&1` in
6299 *GNU*)
6300 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6302 ac_count=0
6303 $as_echo_n 0123456789 >"conftest.in"
6304 while :
6306 cat "conftest.in" "conftest.in" >"conftest.tmp"
6307 mv "conftest.tmp" "conftest.in"
6308 cp "conftest.in" "conftest.nl"
6309 $as_echo '' >> "conftest.nl"
6310 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6312 as_fn_arith $ac_count + 1 && ac_count=$as_val
6313 if test $ac_count -gt ${ac_path_SED_max-0}; then
6314 # Best one so far, save it but keep looking for a better one
6315 ac_cv_path_SED="$ac_path_SED"
6316 ac_path_SED_max=$ac_count
6318 # 10*(2^10) chars as input seems more than enough
6319 test $ac_count -gt 10 && break
6320 done
6321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6322 esac
6324 $ac_path_SED_found && break 3
6325 done
6326 done
6327 done
6328 IFS=$as_save_IFS
6329 if test -z "$ac_cv_path_SED"; then
6330 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6332 else
6333 ac_cv_path_SED=$SED
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6338 $as_echo "$ac_cv_path_SED" >&6; }
6339 SED="$ac_cv_path_SED"
6340 rm -f conftest.sed
6342 test -z "$SED" && SED=sed
6343 Xsed="$SED -e 1s/^X//"
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6356 $as_echo_n "checking for fgrep... " >&6; }
6357 if ${ac_cv_path_FGREP+:} false; then :
6358 $as_echo_n "(cached) " >&6
6359 else
6360 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6361 then ac_cv_path_FGREP="$GREP -F"
6362 else
6363 if test -z "$FGREP"; then
6364 ac_path_FGREP_found=false
6365 # Loop through the user's path and test for each of PROGNAME-LIST
6366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6369 IFS=$as_save_IFS
6370 test -z "$as_dir" && as_dir=.
6371 for ac_prog in fgrep; do
6372 for ac_exec_ext in '' $ac_executable_extensions; do
6373 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6374 as_fn_executable_p "$ac_path_FGREP" || continue
6375 # Check for GNU ac_path_FGREP and select it if it is found.
6376 # Check for GNU $ac_path_FGREP
6377 case `"$ac_path_FGREP" --version 2>&1` in
6378 *GNU*)
6379 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6381 ac_count=0
6382 $as_echo_n 0123456789 >"conftest.in"
6383 while :
6385 cat "conftest.in" "conftest.in" >"conftest.tmp"
6386 mv "conftest.tmp" "conftest.in"
6387 cp "conftest.in" "conftest.nl"
6388 $as_echo 'FGREP' >> "conftest.nl"
6389 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6391 as_fn_arith $ac_count + 1 && ac_count=$as_val
6392 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6393 # Best one so far, save it but keep looking for a better one
6394 ac_cv_path_FGREP="$ac_path_FGREP"
6395 ac_path_FGREP_max=$ac_count
6397 # 10*(2^10) chars as input seems more than enough
6398 test $ac_count -gt 10 && break
6399 done
6400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6401 esac
6403 $ac_path_FGREP_found && break 3
6404 done
6405 done
6406 done
6407 IFS=$as_save_IFS
6408 if test -z "$ac_cv_path_FGREP"; then
6409 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6411 else
6412 ac_cv_path_FGREP=$FGREP
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6418 $as_echo "$ac_cv_path_FGREP" >&6; }
6419 FGREP="$ac_cv_path_FGREP"
6422 test -z "$GREP" && GREP=grep
6440 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6441 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6442 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6445 $as_echo_n "checking how to print strings... " >&6; }
6446 # Test print first, because it will be a builtin if present.
6447 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6448 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6449 ECHO='print -r --'
6450 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6451 ECHO='printf %s\n'
6452 else
6453 # Use this function as a fallback that always works.
6454 func_fallback_echo ()
6456 eval 'cat <<_LTECHO_EOF
6458 _LTECHO_EOF'
6460 ECHO='func_fallback_echo'
6463 # func_echo_all arg...
6464 # Invoke $ECHO with all args, space-separated.
6465 func_echo_all ()
6467 $ECHO ""
6470 case "$ECHO" in
6471 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6472 $as_echo "printf" >&6; } ;;
6473 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6474 $as_echo "print -r" >&6; } ;;
6475 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6476 $as_echo "cat" >&6; } ;;
6477 esac
6494 # Check whether --with-gnu-ld was given.
6495 if test "${with_gnu_ld+set}" = set; then :
6496 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6497 else
6498 with_gnu_ld=no
6501 ac_prog=ld
6502 if test "$GCC" = yes; then
6503 # Check if gcc -print-prog-name=ld gives a path.
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6505 $as_echo_n "checking for ld used by $CC... " >&6; }
6506 case $host in
6507 *-*-mingw*)
6508 # gcc leaves a trailing carriage return which upsets mingw
6509 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6511 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6512 esac
6513 case $ac_prog in
6514 # Accept absolute paths.
6515 [\\/]* | ?:[\\/]*)
6516 re_direlt='/[^/][^/]*/\.\./'
6517 # Canonicalize the pathname of ld
6518 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6519 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6520 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6521 done
6522 test -z "$LD" && LD="$ac_prog"
6525 # If it fails, then pretend we aren't using GCC.
6526 ac_prog=ld
6529 # If it is relative, then search for the first ld in PATH.
6530 with_gnu_ld=unknown
6532 esac
6533 elif test "$with_gnu_ld" = yes; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6535 $as_echo_n "checking for GNU ld... " >&6; }
6536 else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6538 $as_echo_n "checking for non-GNU ld... " >&6; }
6540 if ${lt_cv_path_LD+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542 else
6543 if test -z "$LD"; then
6544 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6545 for ac_dir in $PATH; do
6546 IFS="$lt_save_ifs"
6547 test -z "$ac_dir" && ac_dir=.
6548 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6549 lt_cv_path_LD="$ac_dir/$ac_prog"
6550 # Check to see if the program is GNU ld. I'd rather use --version,
6551 # but apparently some variants of GNU ld only accept -v.
6552 # Break only if it was the GNU/non-GNU ld that we prefer.
6553 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6554 *GNU* | *'with BFD'*)
6555 test "$with_gnu_ld" != no && break
6558 test "$with_gnu_ld" != yes && break
6560 esac
6562 done
6563 IFS="$lt_save_ifs"
6564 else
6565 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6569 LD="$lt_cv_path_LD"
6570 if test -n "$LD"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6572 $as_echo "$LD" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6577 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6579 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6580 if ${lt_cv_prog_gnu_ld+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6584 case `$LD -v 2>&1 </dev/null` in
6585 *GNU* | *'with BFD'*)
6586 lt_cv_prog_gnu_ld=yes
6589 lt_cv_prog_gnu_ld=no
6591 esac
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6594 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6595 with_gnu_ld=$lt_cv_prog_gnu_ld
6606 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6609 ac_save_LDFLAGS="$LDFLAGS"
6610 LDFLAGS="$LFLAGS -mclear-hwcap"
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6613 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6614 if test x$gcc_no_link = xyes; then
6615 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6621 main ()
6623 return 0;
6625 return 0;
6627 _ACEOF
6628 if ac_fn_c_try_link "$LINENO"; then :
6629 ac_hwcap_ldflags=yes
6630 else
6631 ac_hwcap_ldflags=no
6633 rm -f core conftest.err conftest.$ac_objext \
6634 conftest$ac_exeext conftest.$ac_ext
6635 if test "$ac_hwcap_ldflags" = "yes"; then
6636 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6639 $as_echo "$ac_hwcap_ldflags" >&6; }
6641 LDFLAGS="$ac_save_LDFLAGS"
6645 if test $ac_hwcap_ldflags != no; then
6646 HAVE_HWCAP_TRUE=
6647 HAVE_HWCAP_FALSE='#'
6648 else
6649 HAVE_HWCAP_TRUE='#'
6650 HAVE_HWCAP_FALSE=
6655 # Find other programs we need.
6656 if test -n "$ac_tool_prefix"; then
6657 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6658 set dummy ${ac_tool_prefix}as; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if ${ac_cv_prog_AS+:} false; then :
6662 $as_echo_n "(cached) " >&6
6663 else
6664 if test -n "$AS"; then
6665 ac_cv_prog_AS="$AS" # Let the user override the test.
6666 else
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 for as_dir in $PATH
6670 IFS=$as_save_IFS
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6674 ac_cv_prog_AS="${ac_tool_prefix}as"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676 break 2
6678 done
6679 done
6680 IFS=$as_save_IFS
6684 AS=$ac_cv_prog_AS
6685 if test -n "$AS"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6687 $as_echo "$AS" >&6; }
6688 else
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6695 if test -z "$ac_cv_prog_AS"; then
6696 ac_ct_AS=$AS
6697 # Extract the first word of "as", so it can be a program name with args.
6698 set dummy as; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6702 $as_echo_n "(cached) " >&6
6703 else
6704 if test -n "$ac_ct_AS"; then
6705 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6706 else
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 for as_dir in $PATH
6710 IFS=$as_save_IFS
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714 ac_cv_prog_ac_ct_AS="as"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716 break 2
6718 done
6719 done
6720 IFS=$as_save_IFS
6724 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6725 if test -n "$ac_ct_AS"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6727 $as_echo "$ac_ct_AS" >&6; }
6728 else
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6733 if test "x$ac_ct_AS" = x; then
6734 AS=""
6735 else
6736 case $cross_compiling:$ac_tool_warned in
6737 yes:)
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6740 ac_tool_warned=yes ;;
6741 esac
6742 AS=$ac_ct_AS
6744 else
6745 AS="$ac_cv_prog_AS"
6748 if test -n "$ac_tool_prefix"; then
6749 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6750 set dummy ${ac_tool_prefix}ar; ac_word=$2
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 $as_echo_n "checking for $ac_word... " >&6; }
6753 if ${ac_cv_prog_AR+:} false; then :
6754 $as_echo_n "(cached) " >&6
6755 else
6756 if test -n "$AR"; then
6757 ac_cv_prog_AR="$AR" # Let the user override the test.
6758 else
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 for as_dir in $PATH
6762 IFS=$as_save_IFS
6763 test -z "$as_dir" && as_dir=.
6764 for ac_exec_ext in '' $ac_executable_extensions; do
6765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6766 ac_cv_prog_AR="${ac_tool_prefix}ar"
6767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6768 break 2
6770 done
6771 done
6772 IFS=$as_save_IFS
6776 AR=$ac_cv_prog_AR
6777 if test -n "$AR"; then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6779 $as_echo "$AR" >&6; }
6780 else
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782 $as_echo "no" >&6; }
6787 if test -z "$ac_cv_prog_AR"; then
6788 ac_ct_AR=$AR
6789 # Extract the first word of "ar", so it can be a program name with args.
6790 set dummy ar; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6794 $as_echo_n "(cached) " >&6
6795 else
6796 if test -n "$ac_ct_AR"; then
6797 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6798 else
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6802 IFS=$as_save_IFS
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_ac_ct_AR="ar"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6808 break 2
6810 done
6811 done
6812 IFS=$as_save_IFS
6816 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6817 if test -n "$ac_ct_AR"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6819 $as_echo "$ac_ct_AR" >&6; }
6820 else
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6825 if test "x$ac_ct_AR" = x; then
6826 AR=""
6827 else
6828 case $cross_compiling:$ac_tool_warned in
6829 yes:)
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6832 ac_tool_warned=yes ;;
6833 esac
6834 AR=$ac_ct_AR
6836 else
6837 AR="$ac_cv_prog_AR"
6840 if test -n "$ac_tool_prefix"; then
6841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6842 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6845 if ${ac_cv_prog_RANLIB+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847 else
6848 if test -n "$RANLIB"; then
6849 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6850 else
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 for as_dir in $PATH
6854 IFS=$as_save_IFS
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6860 break 2
6862 done
6863 done
6864 IFS=$as_save_IFS
6868 RANLIB=$ac_cv_prog_RANLIB
6869 if test -n "$RANLIB"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6871 $as_echo "$RANLIB" >&6; }
6872 else
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 $as_echo "no" >&6; }
6879 if test -z "$ac_cv_prog_RANLIB"; then
6880 ac_ct_RANLIB=$RANLIB
6881 # Extract the first word of "ranlib", so it can be a program name with args.
6882 set dummy ranlib; ac_word=$2
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 $as_echo_n "checking for $ac_word... " >&6; }
6885 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6886 $as_echo_n "(cached) " >&6
6887 else
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6894 IFS=$as_save_IFS
6895 test -z "$as_dir" && as_dir=.
6896 for ac_exec_ext in '' $ac_executable_extensions; do
6897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6898 ac_cv_prog_ac_ct_RANLIB="ranlib"
6899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900 break 2
6902 done
6903 done
6904 IFS=$as_save_IFS
6908 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6909 if test -n "$ac_ct_RANLIB"; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6911 $as_echo "$ac_ct_RANLIB" >&6; }
6912 else
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6917 if test "x$ac_ct_RANLIB" = x; then
6918 RANLIB="ranlib-not-found-in-path-error"
6919 else
6920 case $cross_compiling:$ac_tool_warned in
6921 yes:)
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924 ac_tool_warned=yes ;;
6925 esac
6926 RANLIB=$ac_ct_RANLIB
6928 else
6929 RANLIB="$ac_cv_prog_RANLIB"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6933 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6934 set x ${MAKE-make}
6935 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6936 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 cat >conftest.make <<\_ACEOF
6940 SHELL = /bin/sh
6941 all:
6942 @echo '@@@%%%=$(MAKE)=@@@%%%'
6943 _ACEOF
6944 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6945 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6946 *@@@%%%=?*=@@@%%%*)
6947 eval ac_cv_prog_make_${ac_make}_set=yes;;
6949 eval ac_cv_prog_make_${ac_make}_set=no;;
6950 esac
6951 rm -f conftest.make
6953 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6955 $as_echo "yes" >&6; }
6956 SET_MAKE=
6957 else
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6959 $as_echo "no" >&6; }
6960 SET_MAKE="MAKE=${MAKE-make}"
6965 # Configure libtool
6966 #AC_MSG_NOTICE([====== Starting libtool configuration])
6967 enable_dlopen=yes
6971 case `pwd` in
6972 *\ * | *\ *)
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6974 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6975 esac
6979 macro_version='2.2.7a'
6980 macro_revision='1.3134'
6994 ltmain="$ac_aux_dir/ltmain.sh"
6996 # Backslashify metacharacters that are still active within
6997 # double-quoted strings.
6998 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7000 # Same as above, but do not quote variable references.
7001 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7003 # Sed substitution to delay expansion of an escaped shell variable in a
7004 # double_quote_subst'ed string.
7005 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7007 # Sed substitution to delay expansion of an escaped single quote.
7008 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7010 # Sed substitution to avoid accidental globbing in evaled expressions
7011 no_glob_subst='s/\*/\\\*/g'
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7014 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7015 if ${lt_cv_path_NM+:} false; then :
7016 $as_echo_n "(cached) " >&6
7017 else
7018 if test -n "$NM"; then
7019 # Let the user override the nm to test.
7020 lt_nm_to_check="$NM"
7021 else
7022 lt_nm_to_check="${ac_tool_prefix}nm"
7023 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7024 lt_nm_to_check="$lt_nm_to_check nm"
7027 for lt_tmp_nm in "$lt_nm_to_check"; do
7028 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7029 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7030 IFS="$lt_save_ifs"
7031 test -z "$ac_dir" && ac_dir=.
7032 # Strip out any user-provided options from the nm to test twice,
7033 # the first time to test to see if nm (rather than its options) has
7034 # an explicit path, the second time to yield a file which can be
7035 # nm'ed itself.
7036 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
7037 case "$tmp_nm_path" in
7038 */*|*\\*) tmp_nm="$lt_tmp_nm";;
7039 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
7040 esac
7041 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
7042 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
7043 # Check to see if the nm accepts a BSD-compat flag.
7044 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7045 # nm: unknown option "B" ignored
7046 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7047 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
7048 break
7051 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7052 *$tmp_nm*)
7053 lt_cv_path_NM="$tmp_nm -p"
7054 break
7057 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7058 continue # so that we can try to find one that supports BSD flags
7060 esac
7062 esac
7064 done
7065 IFS="$lt_save_ifs"
7066 done
7067 : ${lt_cv_path_NM=no}
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7070 $as_echo "$lt_cv_path_NM" >&6; }
7071 if test "$lt_cv_path_NM" != "no"; then
7072 NM="$lt_cv_path_NM"
7073 else
7074 # Didn't find any BSD compatible name lister, look for dumpbin.
7075 if test -n "$DUMPBIN"; then :
7076 # Let the user override the test.
7077 else
7078 if test -n "$ac_tool_prefix"; then
7079 for ac_prog in dumpbin "link -dump"
7081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084 $as_echo_n "checking for $ac_word... " >&6; }
7085 if ${ac_cv_prog_DUMPBIN+:} false; then :
7086 $as_echo_n "(cached) " >&6
7087 else
7088 if test -n "$DUMPBIN"; then
7089 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7090 else
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 for as_dir in $PATH
7094 IFS=$as_save_IFS
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7098 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100 break 2
7102 done
7103 done
7104 IFS=$as_save_IFS
7108 DUMPBIN=$ac_cv_prog_DUMPBIN
7109 if test -n "$DUMPBIN"; then
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7111 $as_echo "$DUMPBIN" >&6; }
7112 else
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7114 $as_echo "no" >&6; }
7118 test -n "$DUMPBIN" && break
7119 done
7121 if test -z "$DUMPBIN"; then
7122 ac_ct_DUMPBIN=$DUMPBIN
7123 for ac_prog in dumpbin "link -dump"
7125 # Extract the first word of "$ac_prog", so it can be a program name with args.
7126 set dummy $ac_prog; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132 if test -n "$ac_ct_DUMPBIN"; then
7133 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7134 else
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 for as_dir in $PATH
7138 IFS=$as_save_IFS
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144 break 2
7146 done
7147 done
7148 IFS=$as_save_IFS
7152 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7153 if test -n "$ac_ct_DUMPBIN"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7155 $as_echo "$ac_ct_DUMPBIN" >&6; }
7156 else
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7162 test -n "$ac_ct_DUMPBIN" && break
7163 done
7165 if test "x$ac_ct_DUMPBIN" = x; then
7166 DUMPBIN=":"
7167 else
7168 case $cross_compiling:$ac_tool_warned in
7169 yes:)
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7172 ac_tool_warned=yes ;;
7173 esac
7174 DUMPBIN=$ac_ct_DUMPBIN
7178 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7179 *COFF*)
7180 DUMPBIN="$DUMPBIN -symbols"
7183 DUMPBIN=:
7185 esac
7188 if test "$DUMPBIN" != ":"; then
7189 NM="$DUMPBIN"
7192 test -z "$NM" && NM=nm
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7200 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7201 if ${lt_cv_nm_interface+:} false; then :
7202 $as_echo_n "(cached) " >&6
7203 else
7204 lt_cv_nm_interface="BSD nm"
7205 echo "int some_variable = 0;" > conftest.$ac_ext
7206 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7207 (eval "$ac_compile" 2>conftest.err)
7208 cat conftest.err >&5
7209 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7210 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7211 cat conftest.err >&5
7212 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7213 cat conftest.out >&5
7214 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7215 lt_cv_nm_interface="MS dumpbin"
7217 rm -f conftest*
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7220 $as_echo "$lt_cv_nm_interface" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7223 $as_echo_n "checking whether ln -s works... " >&6; }
7224 LN_S=$as_ln_s
7225 if test "$LN_S" = "ln -s"; then
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7227 $as_echo "yes" >&6; }
7228 else
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7230 $as_echo "no, using $LN_S" >&6; }
7233 # find the maximum length of command line arguments
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7235 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7236 if ${lt_cv_sys_max_cmd_len+:} false; then :
7237 $as_echo_n "(cached) " >&6
7238 else
7240 teststring="ABCD"
7242 case $build_os in
7243 msdosdjgpp*)
7244 # On DJGPP, this test can blow up pretty badly due to problems in libc
7245 # (any single argument exceeding 2000 bytes causes a buffer overrun
7246 # during glob expansion). Even if it were fixed, the result of this
7247 # check would be larger than it should be.
7248 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7251 gnu*)
7252 # Under GNU Hurd, this test is not required because there is
7253 # no limit to the length of command line arguments.
7254 # Libtool will interpret -1 as no limit whatsoever
7255 lt_cv_sys_max_cmd_len=-1;
7258 cygwin* | mingw* | cegcc*)
7259 # On Win9x/ME, this test blows up -- it succeeds, but takes
7260 # about 5 minutes as the teststring grows exponentially.
7261 # Worse, since 9x/ME are not pre-emptively multitasking,
7262 # you end up with a "frozen" computer, even though with patience
7263 # the test eventually succeeds (with a max line length of 256k).
7264 # Instead, let's just punt: use the minimum linelength reported by
7265 # all of the supported platforms: 8192 (on NT/2K/XP).
7266 lt_cv_sys_max_cmd_len=8192;
7269 mint*)
7270 # On MiNT this can take a long time and run out of memory.
7271 lt_cv_sys_max_cmd_len=8192;
7274 amigaos*)
7275 # On AmigaOS with pdksh, this test takes hours, literally.
7276 # So we just punt and use a minimum line length of 8192.
7277 lt_cv_sys_max_cmd_len=8192;
7280 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7281 # This has been around since 386BSD, at least. Likely further.
7282 if test -x /sbin/sysctl; then
7283 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7284 elif test -x /usr/sbin/sysctl; then
7285 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7286 else
7287 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7289 # And add a safety zone
7290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7291 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7294 interix*)
7295 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7296 lt_cv_sys_max_cmd_len=196608
7299 osf*)
7300 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7301 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7302 # nice to cause kernel panics so lets avoid the loop below.
7303 # First set a reasonable default.
7304 lt_cv_sys_max_cmd_len=16384
7306 if test -x /sbin/sysconfig; then
7307 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7308 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7309 esac
7312 sco3.2v5*)
7313 lt_cv_sys_max_cmd_len=102400
7315 sysv5* | sco5v6* | sysv4.2uw2*)
7316 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7317 if test -n "$kargmax"; then
7318 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7319 else
7320 lt_cv_sys_max_cmd_len=32768
7324 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7325 if test -n "$lt_cv_sys_max_cmd_len"; then
7326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7327 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7328 else
7329 # Make teststring a little bigger before we do anything with it.
7330 # a 1K string should be a reasonable start.
7331 for i in 1 2 3 4 5 6 7 8 ; do
7332 teststring=$teststring$teststring
7333 done
7334 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7335 # If test is not a shell built-in, we'll probably end up computing a
7336 # maximum length that is only half of the actual maximum length, but
7337 # we can't tell.
7338 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7339 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7340 test $i != 17 # 1/2 MB should be enough
7342 i=`expr $i + 1`
7343 teststring=$teststring$teststring
7344 done
7345 # Only check the string length outside the loop.
7346 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7347 teststring=
7348 # Add a significant safety factor because C++ compilers can tack on
7349 # massive amounts of additional arguments before passing them to the
7350 # linker. It appears as though 1/2 is a usable value.
7351 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7354 esac
7358 if test -n $lt_cv_sys_max_cmd_len ; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7360 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7361 else
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7363 $as_echo "none" >&6; }
7365 max_cmd_len=$lt_cv_sys_max_cmd_len
7372 : ${CP="cp -f"}
7373 : ${MV="mv -f"}
7374 : ${RM="rm -f"}
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7377 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7378 # Try some XSI features
7379 xsi_shell=no
7380 ( _lt_dummy="a/b/c"
7381 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7382 = c,a/b,, \
7383 && eval 'test $(( 1 + 1 )) -eq 2 \
7384 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7385 && xsi_shell=yes
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7387 $as_echo "$xsi_shell" >&6; }
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7391 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7392 lt_shell_append=no
7393 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7394 >/dev/null 2>&1 \
7395 && lt_shell_append=yes
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7397 $as_echo "$lt_shell_append" >&6; }
7400 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7401 lt_unset=unset
7402 else
7403 lt_unset=false
7410 # test EBCDIC or ASCII
7411 case `echo X|tr X '\101'` in
7412 A) # ASCII based system
7413 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7414 lt_SP2NL='tr \040 \012'
7415 lt_NL2SP='tr \015\012 \040\040'
7417 *) # EBCDIC based system
7418 lt_SP2NL='tr \100 \n'
7419 lt_NL2SP='tr \r\n \100\100'
7421 esac
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7432 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7433 if ${lt_cv_ld_reload_flag+:} false; then :
7434 $as_echo_n "(cached) " >&6
7435 else
7436 lt_cv_ld_reload_flag='-r'
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7439 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7440 reload_flag=$lt_cv_ld_reload_flag
7441 case $reload_flag in
7442 "" | " "*) ;;
7443 *) reload_flag=" $reload_flag" ;;
7444 esac
7445 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7446 case $host_os in
7447 darwin*)
7448 if test "$GCC" = yes; then
7449 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7450 else
7451 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7454 esac
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_OBJDUMP+:} false; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 if test -n "$OBJDUMP"; then
7473 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7486 done
7487 done
7488 IFS=$as_save_IFS
7492 OBJDUMP=$ac_cv_prog_OBJDUMP
7493 if test -n "$OBJDUMP"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7495 $as_echo "$OBJDUMP" >&6; }
7496 else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_OBJDUMP"; then
7504 ac_ct_OBJDUMP=$OBJDUMP
7505 # Extract the first word of "objdump", so it can be a program name with args.
7506 set dummy objdump; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$ac_ct_OBJDUMP"; then
7513 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7526 done
7527 done
7528 IFS=$as_save_IFS
7532 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7533 if test -n "$ac_ct_OBJDUMP"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7535 $as_echo "$ac_ct_OBJDUMP" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_OBJDUMP" = x; then
7542 OBJDUMP="false"
7543 else
7544 case $cross_compiling:$ac_tool_warned in
7545 yes:)
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7549 esac
7550 OBJDUMP=$ac_ct_OBJDUMP
7552 else
7553 OBJDUMP="$ac_cv_prog_OBJDUMP"
7556 test -z "$OBJDUMP" && OBJDUMP=objdump
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7567 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7568 if ${lt_cv_deplibs_check_method+:} false; then :
7569 $as_echo_n "(cached) " >&6
7570 else
7571 lt_cv_file_magic_cmd='$MAGIC_CMD'
7572 lt_cv_file_magic_test_file=
7573 lt_cv_deplibs_check_method='unknown'
7574 # Need to set the preceding variable on all platforms that support
7575 # interlibrary dependencies.
7576 # 'none' -- dependencies not supported.
7577 # `unknown' -- same as none, but documents that we really don't know.
7578 # 'pass_all' -- all dependencies passed with no checks.
7579 # 'test_compile' -- check by making test program.
7580 # 'file_magic [[regex]]' -- check by looking for files in library path
7581 # which responds to the $file_magic_cmd with a given extended regex.
7582 # If you have `file' or equivalent on your system and you're not sure
7583 # whether `pass_all' will *always* work, you probably want this one.
7585 case $host_os in
7586 aix[4-9]*)
7587 lt_cv_deplibs_check_method=pass_all
7590 beos*)
7591 lt_cv_deplibs_check_method=pass_all
7594 bsdi[45]*)
7595 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7596 lt_cv_file_magic_cmd='/usr/bin/file -L'
7597 lt_cv_file_magic_test_file=/shlib/libc.so
7600 cygwin*)
7601 # func_win32_libid is a shell function defined in ltmain.sh
7602 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7603 lt_cv_file_magic_cmd='func_win32_libid'
7606 mingw* | pw32*)
7607 # Base MSYS/MinGW do not provide the 'file' command needed by
7608 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7609 # unless we find 'file', for example because we are cross-compiling.
7610 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7611 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7612 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7613 lt_cv_file_magic_cmd='func_win32_libid'
7614 else
7615 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7616 lt_cv_file_magic_cmd='$OBJDUMP -f'
7620 cegcc*)
7621 # use the weaker test based on 'objdump'. See mingw*.
7622 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7623 lt_cv_file_magic_cmd='$OBJDUMP -f'
7626 darwin* | rhapsody*)
7627 lt_cv_deplibs_check_method=pass_all
7630 freebsd* | dragonfly*)
7631 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7632 case $host_cpu in
7633 i*86 )
7634 # Not sure whether the presence of OpenBSD here was a mistake.
7635 # Let's accept both of them until this is cleared up.
7636 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7637 lt_cv_file_magic_cmd=/usr/bin/file
7638 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7640 esac
7641 else
7642 lt_cv_deplibs_check_method=pass_all
7646 gnu*)
7647 lt_cv_deplibs_check_method=pass_all
7650 haiku*)
7651 lt_cv_deplibs_check_method=pass_all
7654 hpux10.20* | hpux11*)
7655 lt_cv_file_magic_cmd=/usr/bin/file
7656 case $host_cpu in
7657 ia64*)
7658 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7659 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7661 hppa*64*)
7662 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]'
7663 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7666 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7667 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7669 esac
7672 interix[3-9]*)
7673 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7674 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7677 irix5* | irix6* | nonstopux*)
7678 case $LD in
7679 *-32|*"-32 ") libmagic=32-bit;;
7680 *-n32|*"-n32 ") libmagic=N32;;
7681 *-64|*"-64 ") libmagic=64-bit;;
7682 *) libmagic=never-match;;
7683 esac
7684 lt_cv_deplibs_check_method=pass_all
7687 # This must be Linux ELF.
7688 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7689 lt_cv_deplibs_check_method=pass_all
7692 netbsd*)
7693 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7694 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7695 else
7696 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7700 newos6*)
7701 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7702 lt_cv_file_magic_cmd=/usr/bin/file
7703 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7706 *nto* | *qnx*)
7707 lt_cv_deplibs_check_method=pass_all
7710 openbsd*)
7711 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7712 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7713 else
7714 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7718 osf3* | osf4* | osf5*)
7719 lt_cv_deplibs_check_method=pass_all
7722 rdos*)
7723 lt_cv_deplibs_check_method=pass_all
7726 solaris*)
7727 lt_cv_deplibs_check_method=pass_all
7730 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7731 lt_cv_deplibs_check_method=pass_all
7734 sysv4 | sysv4.3*)
7735 case $host_vendor in
7736 motorola)
7737 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]'
7738 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7740 ncr)
7741 lt_cv_deplibs_check_method=pass_all
7743 sequent)
7744 lt_cv_file_magic_cmd='/bin/file'
7745 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7747 sni)
7748 lt_cv_file_magic_cmd='/bin/file'
7749 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7750 lt_cv_file_magic_test_file=/lib/libc.so
7752 siemens)
7753 lt_cv_deplibs_check_method=pass_all
7756 lt_cv_deplibs_check_method=pass_all
7758 esac
7761 tpf*)
7762 lt_cv_deplibs_check_method=pass_all
7764 vxworks*)
7765 # Assume VxWorks cross toolchains are built on Linux, possibly
7766 # as canadian for Windows hosts.
7767 lt_cv_deplibs_check_method=pass_all
7769 esac
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7773 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7774 file_magic_cmd=$lt_cv_file_magic_cmd
7775 deplibs_check_method=$lt_cv_deplibs_check_method
7776 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7789 plugin_option=
7790 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7791 for plugin in $plugin_names; do
7792 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7793 if test x$plugin_so = x$plugin; then
7794 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7796 if test x$plugin_so != x$plugin; then
7797 plugin_option="--plugin $plugin_so"
7798 break
7800 done
7802 if test -n "$ac_tool_prefix"; then
7803 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7804 set dummy ${ac_tool_prefix}ar; ac_word=$2
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7806 $as_echo_n "checking for $ac_word... " >&6; }
7807 if ${ac_cv_prog_AR+:} false; then :
7808 $as_echo_n "(cached) " >&6
7809 else
7810 if test -n "$AR"; then
7811 ac_cv_prog_AR="$AR" # Let the user override the test.
7812 else
7813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7814 for as_dir in $PATH
7816 IFS=$as_save_IFS
7817 test -z "$as_dir" && as_dir=.
7818 for ac_exec_ext in '' $ac_executable_extensions; do
7819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7820 ac_cv_prog_AR="${ac_tool_prefix}ar"
7821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7822 break 2
7824 done
7825 done
7826 IFS=$as_save_IFS
7830 AR=$ac_cv_prog_AR
7831 if test -n "$AR"; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7833 $as_echo "$AR" >&6; }
7834 else
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7836 $as_echo "no" >&6; }
7841 if test -z "$ac_cv_prog_AR"; then
7842 ac_ct_AR=$AR
7843 # Extract the first word of "ar", so it can be a program name with args.
7844 set dummy ar; ac_word=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846 $as_echo_n "checking for $ac_word... " >&6; }
7847 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 if test -n "$ac_ct_AR"; then
7851 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7852 else
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854 for as_dir in $PATH
7856 IFS=$as_save_IFS
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_prog_ac_ct_AR="ar"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 break 2
7864 done
7865 done
7866 IFS=$as_save_IFS
7870 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7871 if test -n "$ac_ct_AR"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7873 $as_echo "$ac_ct_AR" >&6; }
7874 else
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7879 if test "x$ac_ct_AR" = x; then
7880 AR="false"
7881 else
7882 case $cross_compiling:$ac_tool_warned in
7883 yes:)
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7886 ac_tool_warned=yes ;;
7887 esac
7888 AR=$ac_ct_AR
7890 else
7891 AR="$ac_cv_prog_AR"
7894 test -z "$AR" && AR=ar
7895 if test -n "$plugin_option"; then
7896 if $AR --help 2>&1 | grep -q "\--plugin"; then
7897 touch conftest.c
7898 $AR $plugin_option rc conftest.a conftest.c
7899 if test "$?" != 0; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7901 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7902 else
7903 AR="$AR $plugin_option"
7905 rm -f conftest.*
7908 test -z "$AR_FLAGS" && AR_FLAGS=cru
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7922 set dummy ${ac_tool_prefix}strip; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_STRIP+:} false; then :
7926 $as_echo_n "(cached) " >&6
7927 else
7928 if test -n "$STRIP"; then
7929 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7930 else
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 for as_dir in $PATH
7934 IFS=$as_save_IFS
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 break 2
7942 done
7943 done
7944 IFS=$as_save_IFS
7948 STRIP=$ac_cv_prog_STRIP
7949 if test -n "$STRIP"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7951 $as_echo "$STRIP" >&6; }
7952 else
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7959 if test -z "$ac_cv_prog_STRIP"; then
7960 ac_ct_STRIP=$STRIP
7961 # Extract the first word of "strip", so it can be a program name with args.
7962 set dummy strip; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 if test -n "$ac_ct_STRIP"; then
7969 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7970 else
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 for as_dir in $PATH
7974 IFS=$as_save_IFS
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_ac_ct_STRIP="strip"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 break 2
7982 done
7983 done
7984 IFS=$as_save_IFS
7988 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7989 if test -n "$ac_ct_STRIP"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7991 $as_echo "$ac_ct_STRIP" >&6; }
7992 else
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7997 if test "x$ac_ct_STRIP" = x; then
7998 STRIP=":"
7999 else
8000 case $cross_compiling:$ac_tool_warned in
8001 yes:)
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned=yes ;;
8005 esac
8006 STRIP=$ac_ct_STRIP
8008 else
8009 STRIP="$ac_cv_prog_STRIP"
8012 test -z "$STRIP" && STRIP=:
8019 if test -n "$ac_tool_prefix"; then
8020 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8021 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8023 $as_echo_n "checking for $ac_word... " >&6; }
8024 if ${ac_cv_prog_RANLIB+:} false; then :
8025 $as_echo_n "(cached) " >&6
8026 else
8027 if test -n "$RANLIB"; then
8028 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8029 else
8030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031 for as_dir in $PATH
8033 IFS=$as_save_IFS
8034 test -z "$as_dir" && as_dir=.
8035 for ac_exec_ext in '' $ac_executable_extensions; do
8036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8037 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 break 2
8041 done
8042 done
8043 IFS=$as_save_IFS
8047 RANLIB=$ac_cv_prog_RANLIB
8048 if test -n "$RANLIB"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8050 $as_echo "$RANLIB" >&6; }
8051 else
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8053 $as_echo "no" >&6; }
8058 if test -z "$ac_cv_prog_RANLIB"; then
8059 ac_ct_RANLIB=$RANLIB
8060 # Extract the first word of "ranlib", so it can be a program name with args.
8061 set dummy ranlib; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 if test -n "$ac_ct_RANLIB"; then
8068 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8069 else
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 for as_dir in $PATH
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_ac_ct_RANLIB="ranlib"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8081 done
8082 done
8083 IFS=$as_save_IFS
8087 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8088 if test -n "$ac_ct_RANLIB"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8090 $as_echo "$ac_ct_RANLIB" >&6; }
8091 else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8096 if test "x$ac_ct_RANLIB" = x; then
8097 RANLIB=":"
8098 else
8099 case $cross_compiling:$ac_tool_warned in
8100 yes:)
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8103 ac_tool_warned=yes ;;
8104 esac
8105 RANLIB=$ac_ct_RANLIB
8107 else
8108 RANLIB="$ac_cv_prog_RANLIB"
8111 test -z "$RANLIB" && RANLIB=:
8112 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8113 if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
8114 RANLIB="$RANLIB $plugin_option"
8123 # Determine commands to create old-style static archives.
8124 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8125 old_postinstall_cmds='chmod 644 $oldlib'
8126 old_postuninstall_cmds=
8128 if test -n "$RANLIB"; then
8129 case $host_os in
8130 openbsd*)
8131 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8134 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8136 esac
8137 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8140 case $host_os in
8141 darwin*)
8142 lock_old_archive_extraction=yes ;;
8144 lock_old_archive_extraction=no ;;
8145 esac
8185 # If no C compiler was specified, use CC.
8186 LTCC=${LTCC-"$CC"}
8188 # If no C compiler flags were specified, use CFLAGS.
8189 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8191 # Allow CC to be a program name with arguments.
8192 compiler=$CC
8195 # Check for command to grab the raw symbol name followed by C symbol from nm.
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8197 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8198 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8199 $as_echo_n "(cached) " >&6
8200 else
8202 # These are sane defaults that work on at least a few old systems.
8203 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8205 # Character class describing NM global symbol codes.
8206 symcode='[BCDEGRST]'
8208 # Regexp to match symbols that can be accessed directly from C.
8209 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8211 # Define system-specific variables.
8212 case $host_os in
8213 aix*)
8214 symcode='[BCDT]'
8216 cygwin* | mingw* | pw32* | cegcc*)
8217 symcode='[ABCDGISTW]'
8219 hpux*)
8220 if test "$host_cpu" = ia64; then
8221 symcode='[ABCDEGRST]'
8224 irix* | nonstopux*)
8225 symcode='[BCDEGRST]'
8227 osf*)
8228 symcode='[BCDEGQRST]'
8230 solaris*)
8231 symcode='[BCDRT]'
8233 sco3.2v5*)
8234 symcode='[DT]'
8236 sysv4.2uw2*)
8237 symcode='[DT]'
8239 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8240 symcode='[ABDT]'
8242 sysv4)
8243 symcode='[DFNSTU]'
8245 esac
8247 # If we're using GNU nm, then use its standard symbol codes.
8248 case `$NM -V 2>&1` in
8249 *GNU* | *'with BFD'*)
8250 symcode='[ABCDGIRSTW]' ;;
8251 esac
8253 # Transform an extracted symbol line into a proper C declaration.
8254 # Some systems (esp. on ia64) link data and code symbols differently,
8255 # so use this general approach.
8256 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8258 # Transform an extracted symbol line into symbol name and symbol address
8259 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8260 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'"
8262 # Handle CRLF in mingw tool chain
8263 opt_cr=
8264 case $build_os in
8265 mingw*)
8266 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8268 esac
8270 # Try without a prefix underscore, then with it.
8271 for ac_symprfx in "" "_"; do
8273 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8274 symxfrm="\\1 $ac_symprfx\\2 \\2"
8276 # Write the raw and C identifiers.
8277 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8278 # Fake it for dumpbin and say T for any non-static function
8279 # and D for any global variable.
8280 # Also find C++ and __fastcall symbols from MSVC++,
8281 # which start with @ or ?.
8282 lt_cv_sys_global_symbol_pipe="$AWK '"\
8283 " {last_section=section; section=\$ 3};"\
8284 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8285 " \$ 0!~/External *\|/{next};"\
8286 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8287 " {if(hide[section]) next};"\
8288 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8289 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8290 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8291 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8292 " ' prfx=^$ac_symprfx"
8293 else
8294 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8297 # Check to see that the pipe works correctly.
8298 pipe_works=no
8300 rm -f conftest*
8301 cat > conftest.$ac_ext <<_LT_EOF
8302 #ifdef __cplusplus
8303 extern "C" {
8304 #endif
8305 char nm_test_var;
8306 void nm_test_func(void);
8307 void nm_test_func(void){}
8308 #ifdef __cplusplus
8310 #endif
8311 int main(){nm_test_var='a';nm_test_func();return(0);}
8312 _LT_EOF
8314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8315 (eval $ac_compile) 2>&5
8316 ac_status=$?
8317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8318 test $ac_status = 0; }; then
8319 # Now try to grab the symbols.
8320 nlist=conftest.nm
8321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8322 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8323 ac_status=$?
8324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8325 test $ac_status = 0; } && test -s "$nlist"; then
8326 # Try sorting and uniquifying the output.
8327 if sort "$nlist" | uniq > "$nlist"T; then
8328 mv -f "$nlist"T "$nlist"
8329 else
8330 rm -f "$nlist"T
8333 # Make sure that we snagged all the symbols we need.
8334 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8335 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8336 cat <<_LT_EOF > conftest.$ac_ext
8337 #ifdef __cplusplus
8338 extern "C" {
8339 #endif
8341 _LT_EOF
8342 # Now generate the symbol file.
8343 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8345 cat <<_LT_EOF >> conftest.$ac_ext
8347 /* The mapping between symbol names and symbols. */
8348 const struct {
8349 const char *name;
8350 void *address;
8352 lt__PROGRAM__LTX_preloaded_symbols[] =
8354 { "@PROGRAM@", (void *) 0 },
8355 _LT_EOF
8356 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8357 cat <<\_LT_EOF >> conftest.$ac_ext
8358 {0, (void *) 0}
8361 /* This works around a problem in FreeBSD linker */
8362 #ifdef FREEBSD_WORKAROUND
8363 static const void *lt_preloaded_setup() {
8364 return lt__PROGRAM__LTX_preloaded_symbols;
8366 #endif
8368 #ifdef __cplusplus
8370 #endif
8371 _LT_EOF
8372 # Now try linking the two files.
8373 mv conftest.$ac_objext conftstm.$ac_objext
8374 lt_save_LIBS="$LIBS"
8375 lt_save_CFLAGS="$CFLAGS"
8376 LIBS="conftstm.$ac_objext"
8377 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8379 (eval $ac_link) 2>&5
8380 ac_status=$?
8381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8382 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8383 pipe_works=yes
8385 LIBS="$lt_save_LIBS"
8386 CFLAGS="$lt_save_CFLAGS"
8387 else
8388 echo "cannot find nm_test_func in $nlist" >&5
8390 else
8391 echo "cannot find nm_test_var in $nlist" >&5
8393 else
8394 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8396 else
8397 echo "$progname: failed program was:" >&5
8398 cat conftest.$ac_ext >&5
8400 rm -rf conftest* conftst*
8402 # Do not use the global_symbol_pipe unless it works.
8403 if test "$pipe_works" = yes; then
8404 break
8405 else
8406 lt_cv_sys_global_symbol_pipe=
8408 done
8412 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8413 lt_cv_sys_global_symbol_to_cdecl=
8415 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8417 $as_echo "failed" >&6; }
8418 else
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8420 $as_echo "ok" >&6; }
8444 # Check whether --enable-libtool-lock was given.
8445 if test "${enable_libtool_lock+set}" = set; then :
8446 enableval=$enable_libtool_lock;
8449 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8451 # Some flags need to be propagated to the compiler or linker for good
8452 # libtool support.
8453 case $host in
8454 ia64-*-hpux*)
8455 # Find out which ABI we are using.
8456 echo 'int i;' > conftest.$ac_ext
8457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8458 (eval $ac_compile) 2>&5
8459 ac_status=$?
8460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8461 test $ac_status = 0; }; then
8462 case `/usr/bin/file conftest.$ac_objext` in
8463 *ELF-32*)
8464 HPUX_IA64_MODE="32"
8466 *ELF-64*)
8467 HPUX_IA64_MODE="64"
8469 esac
8471 rm -rf conftest*
8473 *-*-irix6*)
8474 # Find out which ABI we are using.
8475 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8477 (eval $ac_compile) 2>&5
8478 ac_status=$?
8479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8480 test $ac_status = 0; }; then
8481 if test "$lt_cv_prog_gnu_ld" = yes; then
8482 case `/usr/bin/file conftest.$ac_objext` in
8483 *32-bit*)
8484 LD="${LD-ld} -melf32bsmip"
8486 *N32*)
8487 LD="${LD-ld} -melf32bmipn32"
8489 *64-bit*)
8490 LD="${LD-ld} -melf64bmip"
8492 esac
8493 else
8494 case `/usr/bin/file conftest.$ac_objext` in
8495 *32-bit*)
8496 LD="${LD-ld} -32"
8498 *N32*)
8499 LD="${LD-ld} -n32"
8501 *64-bit*)
8502 LD="${LD-ld} -64"
8504 esac
8507 rm -rf conftest*
8510 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8511 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8512 # Find out which ABI we are using.
8513 echo 'int i;' > conftest.$ac_ext
8514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8515 (eval $ac_compile) 2>&5
8516 ac_status=$?
8517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8518 test $ac_status = 0; }; then
8519 case `/usr/bin/file conftest.o` in
8520 *32-bit*)
8521 case $host in
8522 x86_64-*kfreebsd*-gnu)
8523 LD="${LD-ld} -m elf_i386_fbsd"
8525 x86_64-*linux*)
8526 case `/usr/bin/file conftest.o` in
8527 *x86-64*)
8528 LD="${LD-ld} -m elf32_x86_64"
8531 LD="${LD-ld} -m elf_i386"
8533 esac
8535 powerpc64le-*linux*)
8536 LD="${LD-ld} -m elf32lppclinux"
8538 powerpc64-*linux*)
8539 LD="${LD-ld} -m elf32ppclinux"
8541 s390x-*linux*)
8542 LD="${LD-ld} -m elf_s390"
8544 sparc64-*linux*)
8545 LD="${LD-ld} -m elf32_sparc"
8547 esac
8549 *64-bit*)
8550 case $host in
8551 x86_64-*kfreebsd*-gnu)
8552 LD="${LD-ld} -m elf_x86_64_fbsd"
8554 x86_64-*linux*)
8555 LD="${LD-ld} -m elf_x86_64"
8557 powerpcle-*linux*)
8558 LD="${LD-ld} -m elf64lppc"
8560 powerpc-*linux*)
8561 LD="${LD-ld} -m elf64ppc"
8563 s390*-*linux*|s390*-*tpf*)
8564 LD="${LD-ld} -m elf64_s390"
8566 sparc*-*linux*)
8567 LD="${LD-ld} -m elf64_sparc"
8569 esac
8571 esac
8573 rm -rf conftest*
8576 *-*-sco3.2v5*)
8577 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8578 SAVE_CFLAGS="$CFLAGS"
8579 CFLAGS="$CFLAGS -belf"
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8581 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8582 if ${lt_cv_cc_needs_belf+:} false; then :
8583 $as_echo_n "(cached) " >&6
8584 else
8585 ac_ext=c
8586 ac_cpp='$CPP $CPPFLAGS'
8587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8591 if test x$gcc_no_link = xyes; then
8592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8598 main ()
8602 return 0;
8604 _ACEOF
8605 if ac_fn_c_try_link "$LINENO"; then :
8606 lt_cv_cc_needs_belf=yes
8607 else
8608 lt_cv_cc_needs_belf=no
8610 rm -f core conftest.err conftest.$ac_objext \
8611 conftest$ac_exeext conftest.$ac_ext
8612 ac_ext=c
8613 ac_cpp='$CPP $CPPFLAGS'
8614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8620 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8621 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8622 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8623 CFLAGS="$SAVE_CFLAGS"
8626 sparc*-*solaris*)
8627 # Find out which ABI we are using.
8628 echo 'int i;' > conftest.$ac_ext
8629 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8630 (eval $ac_compile) 2>&5
8631 ac_status=$?
8632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8633 test $ac_status = 0; }; then
8634 case `/usr/bin/file conftest.o` in
8635 *64-bit*)
8636 case $lt_cv_prog_gnu_ld in
8637 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8639 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8640 LD="${LD-ld} -64"
8643 esac
8645 esac
8647 rm -rf conftest*
8649 esac
8651 need_locks="$enable_libtool_lock"
8654 case $host_os in
8655 rhapsody* | darwin*)
8656 if test -n "$ac_tool_prefix"; then
8657 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8658 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8660 $as_echo_n "checking for $ac_word... " >&6; }
8661 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8662 $as_echo_n "(cached) " >&6
8663 else
8664 if test -n "$DSYMUTIL"; then
8665 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8666 else
8667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8668 for as_dir in $PATH
8670 IFS=$as_save_IFS
8671 test -z "$as_dir" && as_dir=.
8672 for ac_exec_ext in '' $ac_executable_extensions; do
8673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8674 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8676 break 2
8678 done
8679 done
8680 IFS=$as_save_IFS
8684 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8685 if test -n "$DSYMUTIL"; then
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8687 $as_echo "$DSYMUTIL" >&6; }
8688 else
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8690 $as_echo "no" >&6; }
8695 if test -z "$ac_cv_prog_DSYMUTIL"; then
8696 ac_ct_DSYMUTIL=$DSYMUTIL
8697 # Extract the first word of "dsymutil", so it can be a program name with args.
8698 set dummy dsymutil; ac_word=$2
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8700 $as_echo_n "checking for $ac_word... " >&6; }
8701 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8702 $as_echo_n "(cached) " >&6
8703 else
8704 if test -n "$ac_ct_DSYMUTIL"; then
8705 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8706 else
8707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8708 for as_dir in $PATH
8710 IFS=$as_save_IFS
8711 test -z "$as_dir" && as_dir=.
8712 for ac_exec_ext in '' $ac_executable_extensions; do
8713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8714 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8716 break 2
8718 done
8719 done
8720 IFS=$as_save_IFS
8724 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8725 if test -n "$ac_ct_DSYMUTIL"; then
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8727 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8728 else
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8730 $as_echo "no" >&6; }
8733 if test "x$ac_ct_DSYMUTIL" = x; then
8734 DSYMUTIL=":"
8735 else
8736 case $cross_compiling:$ac_tool_warned in
8737 yes:)
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8740 ac_tool_warned=yes ;;
8741 esac
8742 DSYMUTIL=$ac_ct_DSYMUTIL
8744 else
8745 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8748 if test -n "$ac_tool_prefix"; then
8749 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8750 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8752 $as_echo_n "checking for $ac_word... " >&6; }
8753 if ${ac_cv_prog_NMEDIT+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 if test -n "$NMEDIT"; then
8757 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8758 else
8759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8760 for as_dir in $PATH
8762 IFS=$as_save_IFS
8763 test -z "$as_dir" && as_dir=.
8764 for ac_exec_ext in '' $ac_executable_extensions; do
8765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8766 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8768 break 2
8770 done
8771 done
8772 IFS=$as_save_IFS
8776 NMEDIT=$ac_cv_prog_NMEDIT
8777 if test -n "$NMEDIT"; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8779 $as_echo "$NMEDIT" >&6; }
8780 else
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8782 $as_echo "no" >&6; }
8787 if test -z "$ac_cv_prog_NMEDIT"; then
8788 ac_ct_NMEDIT=$NMEDIT
8789 # Extract the first word of "nmedit", so it can be a program name with args.
8790 set dummy nmedit; ac_word=$2
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8792 $as_echo_n "checking for $ac_word... " >&6; }
8793 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8794 $as_echo_n "(cached) " >&6
8795 else
8796 if test -n "$ac_ct_NMEDIT"; then
8797 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8798 else
8799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8800 for as_dir in $PATH
8802 IFS=$as_save_IFS
8803 test -z "$as_dir" && as_dir=.
8804 for ac_exec_ext in '' $ac_executable_extensions; do
8805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8806 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8808 break 2
8810 done
8811 done
8812 IFS=$as_save_IFS
8816 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8817 if test -n "$ac_ct_NMEDIT"; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8819 $as_echo "$ac_ct_NMEDIT" >&6; }
8820 else
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8822 $as_echo "no" >&6; }
8825 if test "x$ac_ct_NMEDIT" = x; then
8826 NMEDIT=":"
8827 else
8828 case $cross_compiling:$ac_tool_warned in
8829 yes:)
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8832 ac_tool_warned=yes ;;
8833 esac
8834 NMEDIT=$ac_ct_NMEDIT
8836 else
8837 NMEDIT="$ac_cv_prog_NMEDIT"
8840 if test -n "$ac_tool_prefix"; then
8841 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8842 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8844 $as_echo_n "checking for $ac_word... " >&6; }
8845 if ${ac_cv_prog_LIPO+:} false; then :
8846 $as_echo_n "(cached) " >&6
8847 else
8848 if test -n "$LIPO"; then
8849 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8850 else
8851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8852 for as_dir in $PATH
8854 IFS=$as_save_IFS
8855 test -z "$as_dir" && as_dir=.
8856 for ac_exec_ext in '' $ac_executable_extensions; do
8857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8858 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8860 break 2
8862 done
8863 done
8864 IFS=$as_save_IFS
8868 LIPO=$ac_cv_prog_LIPO
8869 if test -n "$LIPO"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8871 $as_echo "$LIPO" >&6; }
8872 else
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8879 if test -z "$ac_cv_prog_LIPO"; then
8880 ac_ct_LIPO=$LIPO
8881 # Extract the first word of "lipo", so it can be a program name with args.
8882 set dummy lipo; ac_word=$2
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8884 $as_echo_n "checking for $ac_word... " >&6; }
8885 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8886 $as_echo_n "(cached) " >&6
8887 else
8888 if test -n "$ac_ct_LIPO"; then
8889 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8890 else
8891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8892 for as_dir in $PATH
8894 IFS=$as_save_IFS
8895 test -z "$as_dir" && as_dir=.
8896 for ac_exec_ext in '' $ac_executable_extensions; do
8897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8898 ac_cv_prog_ac_ct_LIPO="lipo"
8899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8900 break 2
8902 done
8903 done
8904 IFS=$as_save_IFS
8908 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8909 if test -n "$ac_ct_LIPO"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8911 $as_echo "$ac_ct_LIPO" >&6; }
8912 else
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8914 $as_echo "no" >&6; }
8917 if test "x$ac_ct_LIPO" = x; then
8918 LIPO=":"
8919 else
8920 case $cross_compiling:$ac_tool_warned in
8921 yes:)
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8924 ac_tool_warned=yes ;;
8925 esac
8926 LIPO=$ac_ct_LIPO
8928 else
8929 LIPO="$ac_cv_prog_LIPO"
8932 if test -n "$ac_tool_prefix"; then
8933 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8934 set dummy ${ac_tool_prefix}otool; ac_word=$2
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8936 $as_echo_n "checking for $ac_word... " >&6; }
8937 if ${ac_cv_prog_OTOOL+:} false; then :
8938 $as_echo_n "(cached) " >&6
8939 else
8940 if test -n "$OTOOL"; then
8941 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8942 else
8943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8944 for as_dir in $PATH
8946 IFS=$as_save_IFS
8947 test -z "$as_dir" && as_dir=.
8948 for ac_exec_ext in '' $ac_executable_extensions; do
8949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8950 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8952 break 2
8954 done
8955 done
8956 IFS=$as_save_IFS
8960 OTOOL=$ac_cv_prog_OTOOL
8961 if test -n "$OTOOL"; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8963 $as_echo "$OTOOL" >&6; }
8964 else
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8966 $as_echo "no" >&6; }
8971 if test -z "$ac_cv_prog_OTOOL"; then
8972 ac_ct_OTOOL=$OTOOL
8973 # Extract the first word of "otool", so it can be a program name with args.
8974 set dummy otool; ac_word=$2
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8976 $as_echo_n "checking for $ac_word... " >&6; }
8977 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8978 $as_echo_n "(cached) " >&6
8979 else
8980 if test -n "$ac_ct_OTOOL"; then
8981 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8982 else
8983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8984 for as_dir in $PATH
8986 IFS=$as_save_IFS
8987 test -z "$as_dir" && as_dir=.
8988 for ac_exec_ext in '' $ac_executable_extensions; do
8989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8990 ac_cv_prog_ac_ct_OTOOL="otool"
8991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8992 break 2
8994 done
8995 done
8996 IFS=$as_save_IFS
9000 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9001 if test -n "$ac_ct_OTOOL"; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9003 $as_echo "$ac_ct_OTOOL" >&6; }
9004 else
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9006 $as_echo "no" >&6; }
9009 if test "x$ac_ct_OTOOL" = x; then
9010 OTOOL=":"
9011 else
9012 case $cross_compiling:$ac_tool_warned in
9013 yes:)
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9016 ac_tool_warned=yes ;;
9017 esac
9018 OTOOL=$ac_ct_OTOOL
9020 else
9021 OTOOL="$ac_cv_prog_OTOOL"
9024 if test -n "$ac_tool_prefix"; then
9025 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9026 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9028 $as_echo_n "checking for $ac_word... " >&6; }
9029 if ${ac_cv_prog_OTOOL64+:} false; then :
9030 $as_echo_n "(cached) " >&6
9031 else
9032 if test -n "$OTOOL64"; then
9033 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9034 else
9035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9036 for as_dir in $PATH
9038 IFS=$as_save_IFS
9039 test -z "$as_dir" && as_dir=.
9040 for ac_exec_ext in '' $ac_executable_extensions; do
9041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9042 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9044 break 2
9046 done
9047 done
9048 IFS=$as_save_IFS
9052 OTOOL64=$ac_cv_prog_OTOOL64
9053 if test -n "$OTOOL64"; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9055 $as_echo "$OTOOL64" >&6; }
9056 else
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9058 $as_echo "no" >&6; }
9063 if test -z "$ac_cv_prog_OTOOL64"; then
9064 ac_ct_OTOOL64=$OTOOL64
9065 # Extract the first word of "otool64", so it can be a program name with args.
9066 set dummy otool64; ac_word=$2
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9068 $as_echo_n "checking for $ac_word... " >&6; }
9069 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9070 $as_echo_n "(cached) " >&6
9071 else
9072 if test -n "$ac_ct_OTOOL64"; then
9073 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9074 else
9075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9076 for as_dir in $PATH
9078 IFS=$as_save_IFS
9079 test -z "$as_dir" && as_dir=.
9080 for ac_exec_ext in '' $ac_executable_extensions; do
9081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9082 ac_cv_prog_ac_ct_OTOOL64="otool64"
9083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9084 break 2
9086 done
9087 done
9088 IFS=$as_save_IFS
9092 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9093 if test -n "$ac_ct_OTOOL64"; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9095 $as_echo "$ac_ct_OTOOL64" >&6; }
9096 else
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9098 $as_echo "no" >&6; }
9101 if test "x$ac_ct_OTOOL64" = x; then
9102 OTOOL64=":"
9103 else
9104 case $cross_compiling:$ac_tool_warned in
9105 yes:)
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9108 ac_tool_warned=yes ;;
9109 esac
9110 OTOOL64=$ac_ct_OTOOL64
9112 else
9113 OTOOL64="$ac_cv_prog_OTOOL64"
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9143 $as_echo_n "checking for -single_module linker flag... " >&6; }
9144 if ${lt_cv_apple_cc_single_mod+:} false; then :
9145 $as_echo_n "(cached) " >&6
9146 else
9147 lt_cv_apple_cc_single_mod=no
9148 if test -z "${LT_MULTI_MODULE}"; then
9149 # By default we will add the -single_module flag. You can override
9150 # by either setting the environment variable LT_MULTI_MODULE
9151 # non-empty at configure time, or by adding -multi_module to the
9152 # link flags.
9153 rm -rf libconftest.dylib*
9154 echo "int foo(void){return 1;}" > conftest.c
9155 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9156 -dynamiclib -Wl,-single_module conftest.c" >&5
9157 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9158 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9159 _lt_result=$?
9160 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9161 lt_cv_apple_cc_single_mod=yes
9162 else
9163 cat conftest.err >&5
9165 rm -rf libconftest.dylib*
9166 rm -f conftest.*
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9170 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9172 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9173 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175 else
9176 lt_cv_ld_exported_symbols_list=no
9177 save_LDFLAGS=$LDFLAGS
9178 echo "_main" > conftest.sym
9179 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9180 if test x$gcc_no_link = xyes; then
9181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9187 main ()
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 lt_cv_ld_exported_symbols_list=yes
9196 else
9197 lt_cv_ld_exported_symbols_list=no
9199 rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LDFLAGS="$save_LDFLAGS"
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9205 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9207 $as_echo_n "checking for -force_load linker flag... " >&6; }
9208 if ${lt_cv_ld_force_load+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 lt_cv_ld_force_load=no
9212 cat > conftest.c << _LT_EOF
9213 int forced_loaded() { return 2;}
9214 _LT_EOF
9215 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9216 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9217 echo "$AR cru libconftest.a conftest.o" >&5
9218 $AR cru libconftest.a conftest.o 2>&5
9219 cat > conftest.c << _LT_EOF
9220 int main() { return 0;}
9221 _LT_EOF
9222 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9223 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9224 _lt_result=$?
9225 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9226 lt_cv_ld_force_load=yes
9227 else
9228 cat conftest.err >&5
9230 rm -f conftest.err libconftest.a conftest conftest.c
9231 rm -rf conftest.dSYM
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9235 $as_echo "$lt_cv_ld_force_load" >&6; }
9236 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9237 # build without first building modern cctools / linker.
9238 case $host_cpu-$host_os in
9239 *-rhapsody* | *-darwin1.[012])
9240 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9241 *-darwin1.*)
9242 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9243 *-darwin*)
9244 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9245 # deployment target is forced to an earlier version.
9246 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9247 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
9249 10.[012][,.]*)
9250 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9254 esac
9256 esac
9257 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9258 _lt_dar_single_mod='$single_module'
9260 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9261 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9262 else
9263 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9265 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9266 _lt_dsymutil='~$DSYMUTIL $lib || :'
9267 else
9268 _lt_dsymutil=
9271 esac
9273 for ac_header in dlfcn.h
9274 do :
9275 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9277 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9278 cat >>confdefs.h <<_ACEOF
9279 #define HAVE_DLFCN_H 1
9280 _ACEOF
9284 done
9290 # Set options
9295 enable_win32_dll=no
9298 # Check whether --enable-shared was given.
9299 if test "${enable_shared+set}" = set; then :
9300 enableval=$enable_shared; p=${PACKAGE-default}
9301 case $enableval in
9302 yes) enable_shared=yes ;;
9303 no) enable_shared=no ;;
9305 enable_shared=no
9306 # Look at the argument we got. We use all the common list separators.
9307 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9308 for pkg in $enableval; do
9309 IFS="$lt_save_ifs"
9310 if test "X$pkg" = "X$p"; then
9311 enable_shared=yes
9313 done
9314 IFS="$lt_save_ifs"
9316 esac
9317 else
9318 enable_shared=yes
9329 # Check whether --enable-static was given.
9330 if test "${enable_static+set}" = set; then :
9331 enableval=$enable_static; p=${PACKAGE-default}
9332 case $enableval in
9333 yes) enable_static=yes ;;
9334 no) enable_static=no ;;
9336 enable_static=no
9337 # Look at the argument we got. We use all the common list separators.
9338 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9339 for pkg in $enableval; do
9340 IFS="$lt_save_ifs"
9341 if test "X$pkg" = "X$p"; then
9342 enable_static=yes
9344 done
9345 IFS="$lt_save_ifs"
9347 esac
9348 else
9349 enable_static=yes
9361 # Check whether --with-pic was given.
9362 if test "${with_pic+set}" = set; then :
9363 withval=$with_pic; pic_mode="$withval"
9364 else
9365 pic_mode=default
9369 test -z "$pic_mode" && pic_mode=default
9377 # Check whether --enable-fast-install was given.
9378 if test "${enable_fast_install+set}" = set; then :
9379 enableval=$enable_fast_install; p=${PACKAGE-default}
9380 case $enableval in
9381 yes) enable_fast_install=yes ;;
9382 no) enable_fast_install=no ;;
9384 enable_fast_install=no
9385 # Look at the argument we got. We use all the common list separators.
9386 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9387 for pkg in $enableval; do
9388 IFS="$lt_save_ifs"
9389 if test "X$pkg" = "X$p"; then
9390 enable_fast_install=yes
9392 done
9393 IFS="$lt_save_ifs"
9395 esac
9396 else
9397 enable_fast_install=yes
9410 # This can be used to rebuild libtool when needed
9411 LIBTOOL_DEPS="$ltmain"
9413 # Always use our own libtool.
9414 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9441 test -z "$LN_S" && LN_S="ln -s"
9456 if test -n "${ZSH_VERSION+set}" ; then
9457 setopt NO_GLOB_SUBST
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9461 $as_echo_n "checking for objdir... " >&6; }
9462 if ${lt_cv_objdir+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 rm -f .libs 2>/dev/null
9466 mkdir .libs 2>/dev/null
9467 if test -d .libs; then
9468 lt_cv_objdir=.libs
9469 else
9470 # MS-DOS does not allow filenames that begin with a dot.
9471 lt_cv_objdir=_libs
9473 rmdir .libs 2>/dev/null
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9476 $as_echo "$lt_cv_objdir" >&6; }
9477 objdir=$lt_cv_objdir
9483 cat >>confdefs.h <<_ACEOF
9484 #define LT_OBJDIR "$lt_cv_objdir/"
9485 _ACEOF
9490 case $host_os in
9491 aix3*)
9492 # AIX sometimes has problems with the GCC collect2 program. For some
9493 # reason, if we set the COLLECT_NAMES environment variable, the problems
9494 # vanish in a puff of smoke.
9495 if test "X${COLLECT_NAMES+set}" != Xset; then
9496 COLLECT_NAMES=
9497 export COLLECT_NAMES
9500 esac
9502 # Global variables:
9503 ofile=libtool
9504 can_build_shared=yes
9506 # All known linkers require a `.a' archive for static linking (except MSVC,
9507 # which needs '.lib').
9508 libext=a
9510 with_gnu_ld="$lt_cv_prog_gnu_ld"
9512 old_CC="$CC"
9513 old_CFLAGS="$CFLAGS"
9515 # Set sane defaults for various variables
9516 test -z "$CC" && CC=cc
9517 test -z "$LTCC" && LTCC=$CC
9518 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9519 test -z "$LD" && LD=ld
9520 test -z "$ac_objext" && ac_objext=o
9522 for cc_temp in $compiler""; do
9523 case $cc_temp in
9524 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9525 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9526 \-*) ;;
9527 *) break;;
9528 esac
9529 done
9530 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9533 # Only perform the check for file, if the check method requires it
9534 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9535 case $deplibs_check_method in
9536 file_magic*)
9537 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9539 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9540 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9541 $as_echo_n "(cached) " >&6
9542 else
9543 case $MAGIC_CMD in
9544 [\\/*] | ?:[\\/]*)
9545 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9548 lt_save_MAGIC_CMD="$MAGIC_CMD"
9549 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9550 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9551 for ac_dir in $ac_dummy; do
9552 IFS="$lt_save_ifs"
9553 test -z "$ac_dir" && ac_dir=.
9554 if test -f $ac_dir/${ac_tool_prefix}file; then
9555 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9556 if test -n "$file_magic_test_file"; then
9557 case $deplibs_check_method in
9558 "file_magic "*)
9559 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9560 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9561 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9562 $EGREP "$file_magic_regex" > /dev/null; then
9564 else
9565 cat <<_LT_EOF 1>&2
9567 *** Warning: the command libtool uses to detect shared libraries,
9568 *** $file_magic_cmd, produces output that libtool cannot recognize.
9569 *** The result is that libtool may fail to recognize shared libraries
9570 *** as such. This will affect the creation of libtool libraries that
9571 *** depend on shared libraries, but programs linked with such libtool
9572 *** libraries will work regardless of this problem. Nevertheless, you
9573 *** may want to report the problem to your system manager and/or to
9574 *** bug-libtool@gnu.org
9576 _LT_EOF
9577 fi ;;
9578 esac
9580 break
9582 done
9583 IFS="$lt_save_ifs"
9584 MAGIC_CMD="$lt_save_MAGIC_CMD"
9586 esac
9589 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9590 if test -n "$MAGIC_CMD"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9592 $as_echo "$MAGIC_CMD" >&6; }
9593 else
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 $as_echo "no" >&6; }
9602 if test -z "$lt_cv_path_MAGIC_CMD"; then
9603 if test -n "$ac_tool_prefix"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9605 $as_echo_n "checking for file... " >&6; }
9606 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9607 $as_echo_n "(cached) " >&6
9608 else
9609 case $MAGIC_CMD in
9610 [\\/*] | ?:[\\/]*)
9611 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9614 lt_save_MAGIC_CMD="$MAGIC_CMD"
9615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9616 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9617 for ac_dir in $ac_dummy; do
9618 IFS="$lt_save_ifs"
9619 test -z "$ac_dir" && ac_dir=.
9620 if test -f $ac_dir/file; then
9621 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9622 if test -n "$file_magic_test_file"; then
9623 case $deplibs_check_method in
9624 "file_magic "*)
9625 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9626 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9627 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9628 $EGREP "$file_magic_regex" > /dev/null; then
9630 else
9631 cat <<_LT_EOF 1>&2
9633 *** Warning: the command libtool uses to detect shared libraries,
9634 *** $file_magic_cmd, produces output that libtool cannot recognize.
9635 *** The result is that libtool may fail to recognize shared libraries
9636 *** as such. This will affect the creation of libtool libraries that
9637 *** depend on shared libraries, but programs linked with such libtool
9638 *** libraries will work regardless of this problem. Nevertheless, you
9639 *** may want to report the problem to your system manager and/or to
9640 *** bug-libtool@gnu.org
9642 _LT_EOF
9643 fi ;;
9644 esac
9646 break
9648 done
9649 IFS="$lt_save_ifs"
9650 MAGIC_CMD="$lt_save_MAGIC_CMD"
9652 esac
9655 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9656 if test -n "$MAGIC_CMD"; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9658 $as_echo "$MAGIC_CMD" >&6; }
9659 else
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9661 $as_echo "no" >&6; }
9665 else
9666 MAGIC_CMD=:
9672 esac
9674 # Use C for the default configuration in the libtool script
9676 lt_save_CC="$CC"
9677 ac_ext=c
9678 ac_cpp='$CPP $CPPFLAGS'
9679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9684 # Source file extension for C test sources.
9685 ac_ext=c
9687 # Object file extension for compiled C test sources.
9688 objext=o
9689 objext=$objext
9691 # Code to be used in simple compile tests
9692 lt_simple_compile_test_code="int some_variable = 0;"
9694 # Code to be used in simple link tests
9695 lt_simple_link_test_code='int main(){return(0);}'
9703 # If no C compiler was specified, use CC.
9704 LTCC=${LTCC-"$CC"}
9706 # If no C compiler flags were specified, use CFLAGS.
9707 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9709 # Allow CC to be a program name with arguments.
9710 compiler=$CC
9712 # Save the default compiler, since it gets overwritten when the other
9713 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9714 compiler_DEFAULT=$CC
9716 # save warnings/boilerplate of simple test code
9717 ac_outfile=conftest.$ac_objext
9718 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9719 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9720 _lt_compiler_boilerplate=`cat conftest.err`
9721 $RM conftest*
9723 ac_outfile=conftest.$ac_objext
9724 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9725 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9726 _lt_linker_boilerplate=`cat conftest.err`
9727 $RM -r conftest*
9730 ## CAVEAT EMPTOR:
9731 ## There is no encapsulation within the following macros, do not change
9732 ## the running order or otherwise move them around unless you know exactly
9733 ## what you are doing...
9734 if test -n "$compiler"; then
9736 lt_prog_compiler_no_builtin_flag=
9738 if test "$GCC" = yes; then
9739 case $cc_basename in
9740 nvcc*)
9741 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9743 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9744 esac
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9747 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9748 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9749 $as_echo_n "(cached) " >&6
9750 else
9751 lt_cv_prog_compiler_rtti_exceptions=no
9752 ac_outfile=conftest.$ac_objext
9753 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9754 lt_compiler_flag="-fno-rtti -fno-exceptions"
9755 # Insert the option either (1) after the last *FLAGS variable, or
9756 # (2) before a word containing "conftest.", or (3) at the end.
9757 # Note that $ac_compile itself does not contain backslashes and begins
9758 # with a dollar sign (not a hyphen), so the echo should work correctly.
9759 # The option is referenced via a variable to avoid confusing sed.
9760 lt_compile=`echo "$ac_compile" | $SED \
9761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9763 -e 's:$: $lt_compiler_flag:'`
9764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9765 (eval "$lt_compile" 2>conftest.err)
9766 ac_status=$?
9767 cat conftest.err >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 if (exit $ac_status) && test -s "$ac_outfile"; then
9770 # The compiler can only warn and ignore the option if not recognized
9771 # So say no if there are warnings other than the usual output.
9772 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9773 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9774 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9775 lt_cv_prog_compiler_rtti_exceptions=yes
9778 $RM conftest*
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9782 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9784 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9785 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9786 else
9797 lt_prog_compiler_wl=
9798 lt_prog_compiler_pic=
9799 lt_prog_compiler_static=
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9802 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9804 if test "$GCC" = yes; then
9805 lt_prog_compiler_wl='-Wl,'
9806 lt_prog_compiler_static='-static'
9808 case $host_os in
9809 aix*)
9810 # All AIX code is PIC.
9811 if test "$host_cpu" = ia64; then
9812 # AIX 5 now supports IA64 processor
9813 lt_prog_compiler_static='-Bstatic'
9815 lt_prog_compiler_pic='-fPIC'
9818 amigaos*)
9819 case $host_cpu in
9820 powerpc)
9821 # see comment about AmigaOS4 .so support
9822 lt_prog_compiler_pic='-fPIC'
9824 m68k)
9825 # FIXME: we need at least 68020 code to build shared libraries, but
9826 # adding the `-m68020' flag to GCC prevents building anything better,
9827 # like `-m68040'.
9828 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9830 esac
9833 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9834 # PIC is the default for these OSes.
9837 mingw* | cygwin* | pw32* | os2* | cegcc*)
9838 # This hack is so that the source file can tell whether it is being
9839 # built for inclusion in a dll (and should export symbols for example).
9840 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9841 # (--disable-auto-import) libraries
9842 lt_prog_compiler_pic='-DDLL_EXPORT'
9845 darwin* | rhapsody*)
9846 # PIC is the default on this platform
9847 # Common symbols not allowed in MH_DYLIB files
9848 lt_prog_compiler_pic='-fno-common'
9851 haiku*)
9852 # PIC is the default for Haiku.
9853 # The "-static" flag exists, but is broken.
9854 lt_prog_compiler_static=
9857 hpux*)
9858 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9859 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9860 # sets the default TLS model and affects inlining.
9861 case $host_cpu in
9862 hppa*64*)
9863 # +Z the default
9866 lt_prog_compiler_pic='-fPIC'
9868 esac
9871 interix[3-9]*)
9872 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9873 # Instead, we relocate shared libraries at runtime.
9876 msdosdjgpp*)
9877 # Just because we use GCC doesn't mean we suddenly get shared libraries
9878 # on systems that don't support them.
9879 lt_prog_compiler_can_build_shared=no
9880 enable_shared=no
9883 *nto* | *qnx*)
9884 # QNX uses GNU C++, but need to define -shared option too, otherwise
9885 # it will coredump.
9886 lt_prog_compiler_pic='-fPIC -shared'
9889 sysv4*MP*)
9890 if test -d /usr/nec; then
9891 lt_prog_compiler_pic=-Kconform_pic
9896 lt_prog_compiler_pic='-fPIC'
9898 esac
9900 case $cc_basename in
9901 nvcc*) # Cuda Compiler Driver 2.2
9902 lt_prog_compiler_wl='-Xlinker '
9903 lt_prog_compiler_pic='-Xcompiler -fPIC'
9905 esac
9906 else
9907 # PORTME Check for flag to pass linker flags through the system compiler.
9908 case $host_os in
9909 aix*)
9910 lt_prog_compiler_wl='-Wl,'
9911 if test "$host_cpu" = ia64; then
9912 # AIX 5 now supports IA64 processor
9913 lt_prog_compiler_static='-Bstatic'
9914 else
9915 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9919 mingw* | cygwin* | pw32* | os2* | cegcc*)
9920 # This hack is so that the source file can tell whether it is being
9921 # built for inclusion in a dll (and should export symbols for example).
9922 lt_prog_compiler_pic='-DDLL_EXPORT'
9925 hpux9* | hpux10* | hpux11*)
9926 lt_prog_compiler_wl='-Wl,'
9927 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9928 # not for PA HP-UX.
9929 case $host_cpu in
9930 hppa*64*|ia64*)
9931 # +Z the default
9934 lt_prog_compiler_pic='+Z'
9936 esac
9937 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9938 lt_prog_compiler_static='${wl}-a ${wl}archive'
9941 irix5* | irix6* | nonstopux*)
9942 lt_prog_compiler_wl='-Wl,'
9943 # PIC (with -KPIC) is the default.
9944 lt_prog_compiler_static='-non_shared'
9947 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9948 case $cc_basename in
9949 # old Intel for x86_64 which still supported -KPIC.
9950 ecc*)
9951 lt_prog_compiler_wl='-Wl,'
9952 lt_prog_compiler_pic='-KPIC'
9953 lt_prog_compiler_static='-static'
9955 # icc used to be incompatible with GCC.
9956 # ICC 10 doesn't accept -KPIC any more.
9957 icc* | ifort*)
9958 lt_prog_compiler_wl='-Wl,'
9959 lt_prog_compiler_pic='-fPIC'
9960 lt_prog_compiler_static='-static'
9962 # Lahey Fortran 8.1.
9963 lf95*)
9964 lt_prog_compiler_wl='-Wl,'
9965 lt_prog_compiler_pic='--shared'
9966 lt_prog_compiler_static='--static'
9968 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9969 # Portland Group compilers (*not* the Pentium gcc compiler,
9970 # which looks to be a dead project)
9971 lt_prog_compiler_wl='-Wl,'
9972 lt_prog_compiler_pic='-fpic'
9973 lt_prog_compiler_static='-Bstatic'
9975 ccc*)
9976 lt_prog_compiler_wl='-Wl,'
9977 # All Alpha code is PIC.
9978 lt_prog_compiler_static='-non_shared'
9980 xl* | bgxl* | bgf* | mpixl*)
9981 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9982 lt_prog_compiler_wl='-Wl,'
9983 lt_prog_compiler_pic='-qpic'
9984 lt_prog_compiler_static='-qstaticlink'
9987 case `$CC -V 2>&1 | sed 5q` in
9988 *Sun\ F* | *Sun*Fortran*)
9989 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9990 lt_prog_compiler_pic='-KPIC'
9991 lt_prog_compiler_static='-Bstatic'
9992 lt_prog_compiler_wl=''
9994 *Sun\ C*)
9995 # Sun C 5.9
9996 lt_prog_compiler_pic='-KPIC'
9997 lt_prog_compiler_static='-Bstatic'
9998 lt_prog_compiler_wl='-Wl,'
10000 esac
10002 esac
10005 newsos6)
10006 lt_prog_compiler_pic='-KPIC'
10007 lt_prog_compiler_static='-Bstatic'
10010 *nto* | *qnx*)
10011 # QNX uses GNU C++, but need to define -shared option too, otherwise
10012 # it will coredump.
10013 lt_prog_compiler_pic='-fPIC -shared'
10016 osf3* | osf4* | osf5*)
10017 lt_prog_compiler_wl='-Wl,'
10018 # All OSF/1 code is PIC.
10019 lt_prog_compiler_static='-non_shared'
10022 rdos*)
10023 lt_prog_compiler_static='-non_shared'
10026 solaris*)
10027 lt_prog_compiler_pic='-KPIC'
10028 lt_prog_compiler_static='-Bstatic'
10029 case $cc_basename in
10030 f77* | f90* | f95*)
10031 lt_prog_compiler_wl='-Qoption ld ';;
10033 lt_prog_compiler_wl='-Wl,';;
10034 esac
10037 sunos4*)
10038 lt_prog_compiler_wl='-Qoption ld '
10039 lt_prog_compiler_pic='-PIC'
10040 lt_prog_compiler_static='-Bstatic'
10043 sysv4 | sysv4.2uw2* | sysv4.3*)
10044 lt_prog_compiler_wl='-Wl,'
10045 lt_prog_compiler_pic='-KPIC'
10046 lt_prog_compiler_static='-Bstatic'
10049 sysv4*MP*)
10050 if test -d /usr/nec ;then
10051 lt_prog_compiler_pic='-Kconform_pic'
10052 lt_prog_compiler_static='-Bstatic'
10056 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10057 lt_prog_compiler_wl='-Wl,'
10058 lt_prog_compiler_pic='-KPIC'
10059 lt_prog_compiler_static='-Bstatic'
10062 unicos*)
10063 lt_prog_compiler_wl='-Wl,'
10064 lt_prog_compiler_can_build_shared=no
10067 uts4*)
10068 lt_prog_compiler_pic='-pic'
10069 lt_prog_compiler_static='-Bstatic'
10073 lt_prog_compiler_can_build_shared=no
10075 esac
10078 case $host_os in
10079 # For platforms which do not support PIC, -DPIC is meaningless:
10080 *djgpp*)
10081 lt_prog_compiler_pic=
10084 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10086 esac
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10088 $as_echo "$lt_prog_compiler_pic" >&6; }
10096 # Check to make sure the PIC flag actually works.
10098 if test -n "$lt_prog_compiler_pic"; then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10100 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10101 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 lt_cv_prog_compiler_pic_works=no
10105 ac_outfile=conftest.$ac_objext
10106 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10107 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10108 # Insert the option either (1) after the last *FLAGS variable, or
10109 # (2) before a word containing "conftest.", or (3) at the end.
10110 # Note that $ac_compile itself does not contain backslashes and begins
10111 # with a dollar sign (not a hyphen), so the echo should work correctly.
10112 # The option is referenced via a variable to avoid confusing sed.
10113 lt_compile=`echo "$ac_compile" | $SED \
10114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10116 -e 's:$: $lt_compiler_flag:'`
10117 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10118 (eval "$lt_compile" 2>conftest.err)
10119 ac_status=$?
10120 cat conftest.err >&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 if (exit $ac_status) && test -s "$ac_outfile"; then
10123 # The compiler can only warn and ignore the option if not recognized
10124 # So say no if there are warnings other than the usual output.
10125 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10126 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10127 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10128 lt_cv_prog_compiler_pic_works=yes
10131 $RM conftest*
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10135 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10137 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10138 case $lt_prog_compiler_pic in
10139 "" | " "*) ;;
10140 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10141 esac
10142 else
10143 lt_prog_compiler_pic=
10144 lt_prog_compiler_can_build_shared=no
10155 # Check to make sure the static flag actually works.
10157 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10159 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10160 if ${lt_cv_prog_compiler_static_works+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 lt_cv_prog_compiler_static_works=no
10164 save_LDFLAGS="$LDFLAGS"
10165 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10166 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10167 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10168 # The linker can only warn and ignore the option if not recognized
10169 # So say no if there are warnings
10170 if test -s conftest.err; then
10171 # Append any errors to the config.log.
10172 cat conftest.err 1>&5
10173 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10174 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10175 if diff conftest.exp conftest.er2 >/dev/null; then
10176 lt_cv_prog_compiler_static_works=yes
10178 else
10179 lt_cv_prog_compiler_static_works=yes
10182 $RM -r conftest*
10183 LDFLAGS="$save_LDFLAGS"
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10187 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10189 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10191 else
10192 lt_prog_compiler_static=
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10202 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10203 if ${lt_cv_prog_compiler_c_o+:} false; then :
10204 $as_echo_n "(cached) " >&6
10205 else
10206 lt_cv_prog_compiler_c_o=no
10207 $RM -r conftest 2>/dev/null
10208 mkdir conftest
10209 cd conftest
10210 mkdir out
10211 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10213 lt_compiler_flag="-o out/conftest2.$ac_objext"
10214 # Insert the option either (1) after the last *FLAGS variable, or
10215 # (2) before a word containing "conftest.", or (3) at the end.
10216 # Note that $ac_compile itself does not contain backslashes and begins
10217 # with a dollar sign (not a hyphen), so the echo should work correctly.
10218 lt_compile=`echo "$ac_compile" | $SED \
10219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10221 -e 's:$: $lt_compiler_flag:'`
10222 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10223 (eval "$lt_compile" 2>out/conftest.err)
10224 ac_status=$?
10225 cat out/conftest.err >&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10228 then
10229 # The compiler can only warn and ignore the option if not recognized
10230 # So say no if there are warnings
10231 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10232 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10233 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10234 lt_cv_prog_compiler_c_o=yes
10237 chmod u+w . 2>&5
10238 $RM conftest*
10239 # SGI C++ compiler will create directory out/ii_files/ for
10240 # template instantiation
10241 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10242 $RM out/* && rmdir out
10243 cd ..
10244 $RM -r conftest
10245 $RM conftest*
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10249 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10257 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10258 if ${lt_cv_prog_compiler_c_o+:} false; then :
10259 $as_echo_n "(cached) " >&6
10260 else
10261 lt_cv_prog_compiler_c_o=no
10262 $RM -r conftest 2>/dev/null
10263 mkdir conftest
10264 cd conftest
10265 mkdir out
10266 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10268 lt_compiler_flag="-o out/conftest2.$ac_objext"
10269 # Insert the option either (1) after the last *FLAGS variable, or
10270 # (2) before a word containing "conftest.", or (3) at the end.
10271 # Note that $ac_compile itself does not contain backslashes and begins
10272 # with a dollar sign (not a hyphen), so the echo should work correctly.
10273 lt_compile=`echo "$ac_compile" | $SED \
10274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10276 -e 's:$: $lt_compiler_flag:'`
10277 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10278 (eval "$lt_compile" 2>out/conftest.err)
10279 ac_status=$?
10280 cat out/conftest.err >&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10283 then
10284 # The compiler can only warn and ignore the option if not recognized
10285 # So say no if there are warnings
10286 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10287 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10288 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10289 lt_cv_prog_compiler_c_o=yes
10292 chmod u+w . 2>&5
10293 $RM conftest*
10294 # SGI C++ compiler will create directory out/ii_files/ for
10295 # template instantiation
10296 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10297 $RM out/* && rmdir out
10298 cd ..
10299 $RM -r conftest
10300 $RM conftest*
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10304 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10309 hard_links="nottested"
10310 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10311 # do not overwrite the value of need_locks provided by the user
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10313 $as_echo_n "checking if we can lock with hard links... " >&6; }
10314 hard_links=yes
10315 $RM conftest*
10316 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10317 touch conftest.a
10318 ln conftest.a conftest.b 2>&5 || hard_links=no
10319 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10321 $as_echo "$hard_links" >&6; }
10322 if test "$hard_links" = no; then
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10324 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10325 need_locks=warn
10327 else
10328 need_locks=no
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10337 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10339 runpath_var=
10340 allow_undefined_flag=
10341 always_export_symbols=no
10342 archive_cmds=
10343 archive_expsym_cmds=
10344 compiler_needs_object=no
10345 enable_shared_with_static_runtimes=no
10346 export_dynamic_flag_spec=
10347 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10348 hardcode_automatic=no
10349 hardcode_direct=no
10350 hardcode_direct_absolute=no
10351 hardcode_libdir_flag_spec=
10352 hardcode_libdir_flag_spec_ld=
10353 hardcode_libdir_separator=
10354 hardcode_minus_L=no
10355 hardcode_shlibpath_var=unsupported
10356 inherit_rpath=no
10357 link_all_deplibs=unknown
10358 module_cmds=
10359 module_expsym_cmds=
10360 old_archive_from_new_cmds=
10361 old_archive_from_expsyms_cmds=
10362 thread_safe_flag_spec=
10363 whole_archive_flag_spec=
10364 # include_expsyms should be a list of space-separated symbols to be *always*
10365 # included in the symbol list
10366 include_expsyms=
10367 # exclude_expsyms can be an extended regexp of symbols to exclude
10368 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10369 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10370 # as well as any symbol that contains `d'.
10371 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10372 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10373 # platforms (ab)use it in PIC code, but their linkers get confused if
10374 # the symbol is explicitly referenced. Since portable code cannot
10375 # rely on this symbol name, it's probably fine to never include it in
10376 # preloaded symbol tables.
10377 # Exclude shared library initialization/finalization symbols.
10378 extract_expsyms_cmds=
10380 case $host_os in
10381 cygwin* | mingw* | pw32* | cegcc*)
10382 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10383 # When not using gcc, we currently assume that we are using
10384 # Microsoft Visual C++.
10385 if test "$GCC" != yes; then
10386 with_gnu_ld=no
10389 interix*)
10390 # we just hope/assume this is gcc and not c89 (= MSVC++)
10391 with_gnu_ld=yes
10393 openbsd*)
10394 with_gnu_ld=no
10396 esac
10398 ld_shlibs=yes
10400 # On some targets, GNU ld is compatible enough with the native linker
10401 # that we're better off using the native interface for both.
10402 lt_use_gnu_ld_interface=no
10403 if test "$with_gnu_ld" = yes; then
10404 case $host_os in
10405 aix*)
10406 # The AIX port of GNU ld has always aspired to compatibility
10407 # with the native linker. However, as the warning in the GNU ld
10408 # block says, versions before 2.19.5* couldn't really create working
10409 # shared libraries, regardless of the interface used.
10410 case `$LD -v 2>&1` in
10411 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10412 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10413 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10415 lt_use_gnu_ld_interface=yes
10417 esac
10420 lt_use_gnu_ld_interface=yes
10422 esac
10425 if test "$lt_use_gnu_ld_interface" = yes; then
10426 # If archive_cmds runs LD, not CC, wlarc should be empty
10427 wlarc='${wl}'
10429 # Set some defaults for GNU ld with shared library support. These
10430 # are reset later if shared libraries are not supported. Putting them
10431 # here allows them to be overridden if necessary.
10432 runpath_var=LD_RUN_PATH
10433 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10434 export_dynamic_flag_spec='${wl}--export-dynamic'
10435 # ancient GNU ld didn't support --whole-archive et. al.
10436 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10437 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10438 else
10439 whole_archive_flag_spec=
10441 supports_anon_versioning=no
10442 case `$LD -v 2>&1` in
10443 *GNU\ gold*) supports_anon_versioning=yes ;;
10444 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10445 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10446 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10447 *\ 2.11.*) ;; # other 2.11 versions
10448 *) supports_anon_versioning=yes ;;
10449 esac
10451 # See if GNU ld supports shared libraries.
10452 case $host_os in
10453 aix[3-9]*)
10454 # On AIX/PPC, the GNU linker is very broken
10455 if test "$host_cpu" != ia64; then
10456 ld_shlibs=no
10457 cat <<_LT_EOF 1>&2
10459 *** Warning: the GNU linker, at least up to release 2.19, is reported
10460 *** to be unable to reliably create shared libraries on AIX.
10461 *** Therefore, libtool is disabling shared libraries support. If you
10462 *** really care for shared libraries, you may want to install binutils
10463 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10464 *** You will then need to restart the configuration process.
10466 _LT_EOF
10470 amigaos*)
10471 case $host_cpu in
10472 powerpc)
10473 # see comment about AmigaOS4 .so support
10474 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10475 archive_expsym_cmds=''
10477 m68k)
10478 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)'
10479 hardcode_libdir_flag_spec='-L$libdir'
10480 hardcode_minus_L=yes
10482 esac
10485 beos*)
10486 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10487 allow_undefined_flag=unsupported
10488 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10489 # support --undefined. This deserves some investigation. FIXME
10490 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10491 else
10492 ld_shlibs=no
10496 cygwin* | mingw* | pw32* | cegcc*)
10497 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10498 # as there is no search path for DLLs.
10499 hardcode_libdir_flag_spec='-L$libdir'
10500 export_dynamic_flag_spec='${wl}--export-all-symbols'
10501 allow_undefined_flag=unsupported
10502 always_export_symbols=no
10503 enable_shared_with_static_runtimes=yes
10504 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10506 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10507 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10508 # If the export-symbols file already is a .def file (1st line
10509 # is EXPORTS), use it as is; otherwise, prepend...
10510 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10511 cp $export_symbols $output_objdir/$soname.def;
10512 else
10513 echo EXPORTS > $output_objdir/$soname.def;
10514 cat $export_symbols >> $output_objdir/$soname.def;
10516 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10517 else
10518 ld_shlibs=no
10522 haiku*)
10523 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10524 link_all_deplibs=yes
10527 interix[3-9]*)
10528 hardcode_direct=no
10529 hardcode_shlibpath_var=no
10530 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10531 export_dynamic_flag_spec='${wl}-E'
10532 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10533 # Instead, shared libraries are loaded at an image base (0x10000000 by
10534 # default) and relocated if they conflict, which is a slow very memory
10535 # consuming and fragmenting process. To avoid this, we pick a random,
10536 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10537 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10538 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10539 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'
10542 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10543 tmp_diet=no
10544 if test "$host_os" = linux-dietlibc; then
10545 case $cc_basename in
10546 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10547 esac
10549 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10550 && test "$tmp_diet" = no
10551 then
10552 tmp_addflag=' $pic_flag'
10553 tmp_sharedflag='-shared'
10554 case $cc_basename,$host_cpu in
10555 pgcc*) # Portland Group C compiler
10556 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'
10557 tmp_addflag=' $pic_flag'
10559 pgf77* | pgf90* | pgf95* | pgfortran*)
10560 # Portland Group f77 and f90 compilers
10561 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'
10562 tmp_addflag=' $pic_flag -Mnomain' ;;
10563 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10564 tmp_addflag=' -i_dynamic' ;;
10565 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10566 tmp_addflag=' -i_dynamic -nofor_main' ;;
10567 ifc* | ifort*) # Intel Fortran compiler
10568 tmp_addflag=' -nofor_main' ;;
10569 lf95*) # Lahey Fortran 8.1
10570 whole_archive_flag_spec=
10571 tmp_sharedflag='--shared' ;;
10572 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10573 tmp_sharedflag='-qmkshrobj'
10574 tmp_addflag= ;;
10575 nvcc*) # Cuda Compiler Driver 2.2
10576 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'
10577 compiler_needs_object=yes
10579 esac
10580 case `$CC -V 2>&1 | sed 5q` in
10581 *Sun\ C*) # Sun C 5.9
10582 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'
10583 compiler_needs_object=yes
10584 tmp_sharedflag='-G' ;;
10585 *Sun\ F*) # Sun Fortran 8.3
10586 tmp_sharedflag='-G' ;;
10587 esac
10588 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10590 if test "x$supports_anon_versioning" = xyes; then
10591 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10592 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10593 echo "local: *; };" >> $output_objdir/$libname.ver~
10594 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10597 case $cc_basename in
10598 xlf* | bgf* | bgxlf* | mpixlf*)
10599 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10600 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10601 hardcode_libdir_flag_spec=
10602 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10603 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10604 if test "x$supports_anon_versioning" = xyes; then
10605 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10606 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10607 echo "local: *; };" >> $output_objdir/$libname.ver~
10608 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10611 esac
10612 else
10613 ld_shlibs=no
10617 netbsd*)
10618 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10619 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10620 wlarc=
10621 else
10622 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10623 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10627 solaris*)
10628 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10629 ld_shlibs=no
10630 cat <<_LT_EOF 1>&2
10632 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10633 *** create shared libraries on Solaris systems. Therefore, libtool
10634 *** is disabling shared libraries support. We urge you to upgrade GNU
10635 *** binutils to release 2.9.1 or newer. Another option is to modify
10636 *** your PATH or compiler configuration so that the native linker is
10637 *** used, and then restart.
10639 _LT_EOF
10640 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10641 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10642 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10643 else
10644 ld_shlibs=no
10648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10649 case `$LD -v 2>&1` in
10650 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10651 ld_shlibs=no
10652 cat <<_LT_EOF 1>&2
10654 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10655 *** reliably create shared libraries on SCO systems. Therefore, libtool
10656 *** is disabling shared libraries support. We urge you to upgrade GNU
10657 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10658 *** your PATH or compiler configuration so that the native linker is
10659 *** used, and then restart.
10661 _LT_EOF
10664 # For security reasons, it is highly recommended that you always
10665 # use absolute paths for naming shared libraries, and exclude the
10666 # DT_RUNPATH tag from executables and libraries. But doing so
10667 # requires that you compile everything twice, which is a pain.
10668 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10669 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10670 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10671 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10672 else
10673 ld_shlibs=no
10676 esac
10679 sunos4*)
10680 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10681 wlarc=
10682 hardcode_direct=yes
10683 hardcode_shlibpath_var=no
10687 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10688 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10689 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10690 else
10691 ld_shlibs=no
10694 esac
10696 if test "$ld_shlibs" = no; then
10697 runpath_var=
10698 hardcode_libdir_flag_spec=
10699 export_dynamic_flag_spec=
10700 whole_archive_flag_spec=
10702 else
10703 # PORTME fill in a description of your system's linker (not GNU ld)
10704 case $host_os in
10705 aix3*)
10706 allow_undefined_flag=unsupported
10707 always_export_symbols=yes
10708 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'
10709 # Note: this linker hardcodes the directories in LIBPATH if there
10710 # are no directories specified by -L.
10711 hardcode_minus_L=yes
10712 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10713 # Neither direct hardcoding nor static linking is supported with a
10714 # broken collect2.
10715 hardcode_direct=unsupported
10719 aix[4-9]*)
10720 if test "$host_cpu" = ia64; then
10721 # On IA64, the linker does run time linking by default, so we don't
10722 # have to do anything special.
10723 aix_use_runtimelinking=no
10724 exp_sym_flag='-Bexport'
10725 no_entry_flag=""
10726 else
10727 # If we're using GNU nm, then we don't want the "-C" option.
10728 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10729 # Also, AIX nm treats weak defined symbols like other global
10730 # defined symbols, whereas GNU nm marks them as "W".
10731 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10732 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'
10733 else
10734 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'
10736 aix_use_runtimelinking=no
10738 # Test if we are trying to use run time linking or normal
10739 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10740 # need to do runtime linking.
10741 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10742 for ld_flag in $LDFLAGS; do
10743 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10744 aix_use_runtimelinking=yes
10745 break
10747 done
10749 esac
10751 exp_sym_flag='-bexport'
10752 no_entry_flag='-bnoentry'
10755 # When large executables or shared objects are built, AIX ld can
10756 # have problems creating the table of contents. If linking a library
10757 # or program results in "error TOC overflow" add -mminimal-toc to
10758 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10759 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10761 archive_cmds=''
10762 hardcode_direct=yes
10763 hardcode_direct_absolute=yes
10764 hardcode_libdir_separator=':'
10765 link_all_deplibs=yes
10766 file_list_spec='${wl}-f,'
10768 if test "$GCC" = yes; then
10769 case $host_os in aix4.[012]|aix4.[012].*)
10770 # We only want to do this on AIX 4.2 and lower, the check
10771 # below for broken collect2 doesn't work under 4.3+
10772 collect2name=`${CC} -print-prog-name=collect2`
10773 if test -f "$collect2name" &&
10774 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10775 then
10776 # We have reworked collect2
10778 else
10779 # We have old collect2
10780 hardcode_direct=unsupported
10781 # It fails to find uninstalled libraries when the uninstalled
10782 # path is not listed in the libpath. Setting hardcode_minus_L
10783 # to unsupported forces relinking
10784 hardcode_minus_L=yes
10785 hardcode_libdir_flag_spec='-L$libdir'
10786 hardcode_libdir_separator=
10789 esac
10790 shared_flag='-shared'
10791 if test "$aix_use_runtimelinking" = yes; then
10792 shared_flag="$shared_flag "'${wl}-G'
10794 else
10795 # not using gcc
10796 if test "$host_cpu" = ia64; then
10797 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10798 # chokes on -Wl,-G. The following line is correct:
10799 shared_flag='-G'
10800 else
10801 if test "$aix_use_runtimelinking" = yes; then
10802 shared_flag='${wl}-G'
10803 else
10804 shared_flag='${wl}-bM:SRE'
10809 export_dynamic_flag_spec='${wl}-bexpall'
10810 # It seems that -bexpall does not export symbols beginning with
10811 # underscore (_), so it is better to generate a list of symbols to export.
10812 always_export_symbols=yes
10813 if test "$aix_use_runtimelinking" = yes; then
10814 # Warning - without using the other runtime loading flags (-brtl),
10815 # -berok will link without error, but may produce a broken library.
10816 allow_undefined_flag='-berok'
10817 # Determine the default libpath from the value encoded in an
10818 # empty executable.
10819 if test x$gcc_no_link = xyes; then
10820 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10826 main ()
10830 return 0;
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"; then :
10835 lt_aix_libpath_sed='
10836 /Import File Strings/,/^$/ {
10837 /^0/ {
10838 s/^0 *\(.*\)$/\1/
10842 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10843 # Check for a 64-bit object if we didn't find anything.
10844 if test -z "$aix_libpath"; then
10845 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10852 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10853 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"
10854 else
10855 if test "$host_cpu" = ia64; then
10856 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10857 allow_undefined_flag="-z nodefs"
10858 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"
10859 else
10860 # Determine the default libpath from the value encoded in an
10861 # empty executable.
10862 if test x$gcc_no_link = xyes; then
10863 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10869 main ()
10873 return 0;
10875 _ACEOF
10876 if ac_fn_c_try_link "$LINENO"; then :
10878 lt_aix_libpath_sed='
10879 /Import File Strings/,/^$/ {
10880 /^0/ {
10881 s/^0 *\(.*\)$/\1/
10885 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10886 # Check for a 64-bit object if we didn't find anything.
10887 if test -z "$aix_libpath"; then
10888 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10891 rm -f core conftest.err conftest.$ac_objext \
10892 conftest$ac_exeext conftest.$ac_ext
10893 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10895 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10896 # Warning - without using the other run time loading flags,
10897 # -berok will link without error, but may produce a broken library.
10898 no_undefined_flag=' ${wl}-bernotok'
10899 allow_undefined_flag=' ${wl}-berok'
10900 if test "$with_gnu_ld" = yes; then
10901 # We only use this code for GNU lds that support --whole-archive.
10902 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10903 else
10904 # Exported symbols can be pulled into shared objects from archives
10905 whole_archive_flag_spec='$convenience'
10907 archive_cmds_need_lc=yes
10908 # This is similar to how AIX traditionally builds its shared libraries.
10909 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'
10914 amigaos*)
10915 case $host_cpu in
10916 powerpc)
10917 # see comment about AmigaOS4 .so support
10918 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10919 archive_expsym_cmds=''
10921 m68k)
10922 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)'
10923 hardcode_libdir_flag_spec='-L$libdir'
10924 hardcode_minus_L=yes
10926 esac
10929 bsdi[45]*)
10930 export_dynamic_flag_spec=-rdynamic
10933 cygwin* | mingw* | pw32* | cegcc*)
10934 # When not using gcc, we currently assume that we are using
10935 # Microsoft Visual C++.
10936 # hardcode_libdir_flag_spec is actually meaningless, as there is
10937 # no search path for DLLs.
10938 hardcode_libdir_flag_spec=' '
10939 allow_undefined_flag=unsupported
10940 # Tell ltmain to make .lib files, not .a files.
10941 libext=lib
10942 # Tell ltmain to make .dll files, not .so files.
10943 shrext_cmds=".dll"
10944 # FIXME: Setting linknames here is a bad hack.
10945 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10946 # The linker will automatically build a .lib file if we build a DLL.
10947 old_archive_from_new_cmds='true'
10948 # FIXME: Should let the user specify the lib program.
10949 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10950 fix_srcfile_path='`cygpath -w "$srcfile"`'
10951 enable_shared_with_static_runtimes=yes
10954 darwin* | rhapsody*)
10958 # Publish an arg to allow the user to select that Darwin host (and target)
10959 # libraries should be given install-names like @rpath/libfoo.dylib. This
10960 # requires that the user of the library then adds an 'rpath' to the DSO that
10961 # needs access.
10962 # NOTE: there are defaults below, for systems that support rpaths. The person
10963 # configuring can override the defaults for any system version that supports
10964 # them - they are, however, forced off for system versions without support.
10965 # Check whether --enable-darwin-at-rpath was given.
10966 if test "${enable_darwin_at_rpath+set}" = set; then :
10967 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10968 # This is not supported before macOS 10.5 / Darwin9.
10969 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10970 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10972 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10973 enable_darwin_at_rpath=no
10975 esac
10977 else
10978 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10979 # As above, before 10.5 / Darwin9 this does not work.
10980 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10981 enable_darwin_at_rpath=no
10984 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10985 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10986 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10987 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10989 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10990 enable_darwin_at_rpath=yes
10992 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10993 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10995 esac
11000 archive_cmds_need_lc=no
11001 hardcode_direct=no
11002 hardcode_automatic=yes
11003 hardcode_shlibpath_var=unsupported
11004 if test "$lt_cv_ld_force_load" = "yes"; then
11005 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\"`'
11006 else
11007 whole_archive_flag_spec=''
11009 link_all_deplibs=yes
11010 allow_undefined_flag="$_lt_dar_allow_undefined"
11011 case $cc_basename in
11012 ifort*) _lt_dar_can_shared=yes ;;
11013 *) _lt_dar_can_shared=$GCC ;;
11014 esac
11015 if test "$_lt_dar_can_shared" = "yes"; then
11016 output_verbose_link_cmd=func_echo_all
11017 _lt_install_name='\$rpath/\$soname'
11018 if test "x$enable_darwin_at_rpath" = "xyes"; then
11019 _lt_install_name='@rpath/\$soname'
11021 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
11022 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11023 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
11024 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}"
11026 else
11027 ld_shlibs=no
11032 dgux*)
11033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11034 hardcode_libdir_flag_spec='-L$libdir'
11035 hardcode_shlibpath_var=no
11038 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11039 # support. Future versions do this automatically, but an explicit c++rt0.o
11040 # does not break anything, and helps significantly (at the cost of a little
11041 # extra space).
11042 freebsd2.2*)
11043 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11044 hardcode_libdir_flag_spec='-R$libdir'
11045 hardcode_direct=yes
11046 hardcode_shlibpath_var=no
11049 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11050 freebsd2.*)
11051 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11052 hardcode_direct=yes
11053 hardcode_minus_L=yes
11054 hardcode_shlibpath_var=no
11057 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11058 freebsd* | dragonfly*)
11059 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11060 hardcode_libdir_flag_spec='-R$libdir'
11061 hardcode_direct=yes
11062 hardcode_shlibpath_var=no
11065 hpux9*)
11066 if test "$GCC" = yes; then
11067 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'
11068 else
11069 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'
11071 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11072 hardcode_libdir_separator=:
11073 hardcode_direct=yes
11075 # hardcode_minus_L: Not really in the search PATH,
11076 # but as the default location of the library.
11077 hardcode_minus_L=yes
11078 export_dynamic_flag_spec='${wl}-E'
11081 hpux10*)
11082 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11083 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11084 else
11085 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11087 if test "$with_gnu_ld" = no; then
11088 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11089 hardcode_libdir_flag_spec_ld='+b $libdir'
11090 hardcode_libdir_separator=:
11091 hardcode_direct=yes
11092 hardcode_direct_absolute=yes
11093 export_dynamic_flag_spec='${wl}-E'
11094 # hardcode_minus_L: Not really in the search PATH,
11095 # but as the default location of the library.
11096 hardcode_minus_L=yes
11100 hpux11*)
11101 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11102 case $host_cpu in
11103 hppa*64*)
11104 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11106 ia64*)
11107 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11110 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11112 esac
11113 else
11114 case $host_cpu in
11115 hppa*64*)
11116 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11118 ia64*)
11119 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11123 # Older versions of the 11.00 compiler do not understand -b yet
11124 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11126 $as_echo_n "checking if $CC understands -b... " >&6; }
11127 if ${lt_cv_prog_compiler__b+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 lt_cv_prog_compiler__b=no
11131 save_LDFLAGS="$LDFLAGS"
11132 LDFLAGS="$LDFLAGS -b"
11133 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11134 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11135 # The linker can only warn and ignore the option if not recognized
11136 # So say no if there are warnings
11137 if test -s conftest.err; then
11138 # Append any errors to the config.log.
11139 cat conftest.err 1>&5
11140 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11141 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11142 if diff conftest.exp conftest.er2 >/dev/null; then
11143 lt_cv_prog_compiler__b=yes
11145 else
11146 lt_cv_prog_compiler__b=yes
11149 $RM -r conftest*
11150 LDFLAGS="$save_LDFLAGS"
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11154 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11156 if test x"$lt_cv_prog_compiler__b" = xyes; then
11157 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11158 else
11159 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11163 esac
11165 if test "$with_gnu_ld" = no; then
11166 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11167 hardcode_libdir_separator=:
11169 case $host_cpu in
11170 hppa*64*|ia64*)
11171 hardcode_direct=no
11172 hardcode_shlibpath_var=no
11175 hardcode_direct=yes
11176 hardcode_direct_absolute=yes
11177 export_dynamic_flag_spec='${wl}-E'
11179 # hardcode_minus_L: Not really in the search PATH,
11180 # but as the default location of the library.
11181 hardcode_minus_L=yes
11183 esac
11187 irix5* | irix6* | nonstopux*)
11188 if test "$GCC" = yes; then
11189 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'
11190 # Try to use the -exported_symbol ld option, if it does not
11191 # work, assume that -exports_file does not work either and
11192 # implicitly export all symbols.
11193 save_LDFLAGS="$LDFLAGS"
11194 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11195 if test x$gcc_no_link = xyes; then
11196 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11200 int foo(void) {}
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"; then :
11203 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'
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LDFLAGS="$save_LDFLAGS"
11209 else
11210 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'
11211 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'
11213 archive_cmds_need_lc='no'
11214 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11215 hardcode_libdir_separator=:
11216 inherit_rpath=yes
11217 link_all_deplibs=yes
11220 netbsd*)
11221 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11222 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11223 else
11224 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11226 hardcode_libdir_flag_spec='-R$libdir'
11227 hardcode_direct=yes
11228 hardcode_shlibpath_var=no
11231 newsos6)
11232 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11233 hardcode_direct=yes
11234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11235 hardcode_libdir_separator=:
11236 hardcode_shlibpath_var=no
11239 *nto* | *qnx*)
11242 openbsd*)
11243 if test -f /usr/libexec/ld.so; then
11244 hardcode_direct=yes
11245 hardcode_shlibpath_var=no
11246 hardcode_direct_absolute=yes
11247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11248 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11249 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11250 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11251 export_dynamic_flag_spec='${wl}-E'
11252 else
11253 case $host_os in
11254 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11255 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11256 hardcode_libdir_flag_spec='-R$libdir'
11259 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11260 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11262 esac
11264 else
11265 ld_shlibs=no
11269 os2*)
11270 hardcode_libdir_flag_spec='-L$libdir'
11271 hardcode_minus_L=yes
11272 allow_undefined_flag=unsupported
11273 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'
11274 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11277 osf3*)
11278 if test "$GCC" = yes; then
11279 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11280 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'
11281 else
11282 allow_undefined_flag=' -expect_unresolved \*'
11283 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'
11285 archive_cmds_need_lc='no'
11286 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11287 hardcode_libdir_separator=:
11290 osf4* | osf5*) # as osf3* with the addition of -msym flag
11291 if test "$GCC" = yes; then
11292 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11293 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'
11294 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11295 else
11296 allow_undefined_flag=' -expect_unresolved \*'
11297 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'
11298 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~
11299 $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'
11301 # Both c and cxx compiler support -rpath directly
11302 hardcode_libdir_flag_spec='-rpath $libdir'
11304 archive_cmds_need_lc='no'
11305 hardcode_libdir_separator=:
11308 solaris*)
11309 no_undefined_flag=' -z defs'
11310 if test "$GCC" = yes; then
11311 wlarc='${wl}'
11312 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11313 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11314 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11315 else
11316 case `$CC -V 2>&1` in
11317 *"Compilers 5.0"*)
11318 wlarc=''
11319 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11320 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11321 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11324 wlarc='${wl}'
11325 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11326 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11327 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11329 esac
11331 hardcode_libdir_flag_spec='-R$libdir'
11332 hardcode_shlibpath_var=no
11333 case $host_os in
11334 solaris2.[0-5] | solaris2.[0-5].*) ;;
11336 # The compiler driver will combine and reorder linker options,
11337 # but understands `-z linker_flag'. GCC discards it without `$wl',
11338 # but is careful enough not to reorder.
11339 # Supported since Solaris 2.6 (maybe 2.5.1?)
11340 if test "$GCC" = yes; then
11341 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11342 else
11343 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11346 esac
11347 link_all_deplibs=yes
11350 sunos4*)
11351 if test "x$host_vendor" = xsequent; then
11352 # Use $CC to link under sequent, because it throws in some extra .o
11353 # files that make .init and .fini sections work.
11354 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11355 else
11356 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11358 hardcode_libdir_flag_spec='-L$libdir'
11359 hardcode_direct=yes
11360 hardcode_minus_L=yes
11361 hardcode_shlibpath_var=no
11364 sysv4)
11365 case $host_vendor in
11366 sni)
11367 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11368 hardcode_direct=yes # is this really true???
11370 siemens)
11371 ## LD is ld it makes a PLAMLIB
11372 ## CC just makes a GrossModule.
11373 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11374 reload_cmds='$CC -r -o $output$reload_objs'
11375 hardcode_direct=no
11377 motorola)
11378 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11379 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11381 esac
11382 runpath_var='LD_RUN_PATH'
11383 hardcode_shlibpath_var=no
11386 sysv4.3*)
11387 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11388 hardcode_shlibpath_var=no
11389 export_dynamic_flag_spec='-Bexport'
11392 sysv4*MP*)
11393 if test -d /usr/nec; then
11394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11395 hardcode_shlibpath_var=no
11396 runpath_var=LD_RUN_PATH
11397 hardcode_runpath_var=yes
11398 ld_shlibs=yes
11402 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11403 no_undefined_flag='${wl}-z,text'
11404 archive_cmds_need_lc=no
11405 hardcode_shlibpath_var=no
11406 runpath_var='LD_RUN_PATH'
11408 if test "$GCC" = yes; then
11409 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11410 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11411 else
11412 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11413 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11417 sysv5* | sco3.2v5* | sco5v6*)
11418 # Note: We can NOT use -z defs as we might desire, because we do not
11419 # link with -lc, and that would cause any symbols used from libc to
11420 # always be unresolved, which means just about no library would
11421 # ever link correctly. If we're not using GNU ld we use -z text
11422 # though, which does catch some bad symbols but isn't as heavy-handed
11423 # as -z defs.
11424 no_undefined_flag='${wl}-z,text'
11425 allow_undefined_flag='${wl}-z,nodefs'
11426 archive_cmds_need_lc=no
11427 hardcode_shlibpath_var=no
11428 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11429 hardcode_libdir_separator=':'
11430 link_all_deplibs=yes
11431 export_dynamic_flag_spec='${wl}-Bexport'
11432 runpath_var='LD_RUN_PATH'
11434 if test "$GCC" = yes; then
11435 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11436 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11437 else
11438 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11439 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11443 uts4*)
11444 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11445 hardcode_libdir_flag_spec='-L$libdir'
11446 hardcode_shlibpath_var=no
11450 ld_shlibs=no
11452 esac
11454 if test x$host_vendor = xsni; then
11455 case $host in
11456 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11457 export_dynamic_flag_spec='${wl}-Blargedynsym'
11459 esac
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11464 $as_echo "$ld_shlibs" >&6; }
11465 test "$ld_shlibs" = no && can_build_shared=no
11467 with_gnu_ld=$with_gnu_ld
11484 # Do we need to explicitly link libc?
11486 case "x$archive_cmds_need_lc" in
11487 x|xyes)
11488 # Assume -lc should be added
11489 archive_cmds_need_lc=yes
11491 if test "$enable_shared" = yes && test "$GCC" = yes; then
11492 case $archive_cmds in
11493 *'~'*)
11494 # FIXME: we may have to deal with multi-command sequences.
11496 '$CC '*)
11497 # Test whether the compiler implicitly links with -lc since on some
11498 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11499 # to ld, don't add -lc before -lgcc.
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11501 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11502 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11503 $as_echo_n "(cached) " >&6
11504 else
11505 $RM conftest*
11506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11509 (eval $ac_compile) 2>&5
11510 ac_status=$?
11511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11512 test $ac_status = 0; } 2>conftest.err; then
11513 soname=conftest
11514 lib=conftest
11515 libobjs=conftest.$ac_objext
11516 deplibs=
11517 wl=$lt_prog_compiler_wl
11518 pic_flag=$lt_prog_compiler_pic
11519 compiler_flags=-v
11520 linker_flags=-v
11521 verstring=
11522 output_objdir=.
11523 libname=conftest
11524 lt_save_allow_undefined_flag=$allow_undefined_flag
11525 allow_undefined_flag=
11526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11527 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11528 ac_status=$?
11529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11530 test $ac_status = 0; }
11531 then
11532 lt_cv_archive_cmds_need_lc=no
11533 else
11534 lt_cv_archive_cmds_need_lc=yes
11536 allow_undefined_flag=$lt_save_allow_undefined_flag
11537 else
11538 cat conftest.err 1>&5
11540 $RM conftest*
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11544 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11545 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11547 esac
11550 esac
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11709 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11711 if test "$GCC" = yes; then
11712 case $host_os in
11713 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11714 *) lt_awk_arg="/^libraries:/" ;;
11715 esac
11716 case $host_os in
11717 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11718 *) lt_sed_strip_eq="s,=/,/,g" ;;
11719 esac
11720 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11721 case $lt_search_path_spec in
11722 *\;*)
11723 # if the path contains ";" then we assume it to be the separator
11724 # otherwise default to the standard path separator (i.e. ":") - it is
11725 # assumed that no part of a normal pathname contains ";" but that should
11726 # okay in the real world where ";" in dirpaths is itself problematic.
11727 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11730 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11732 esac
11733 # Ok, now we have the path, separated by spaces, we can step through it
11734 # and add multilib dir if necessary.
11735 lt_tmp_lt_search_path_spec=
11736 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11737 for lt_sys_path in $lt_search_path_spec; do
11738 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11739 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11740 else
11741 test -d "$lt_sys_path" && \
11742 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11744 done
11745 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11746 BEGIN {RS=" "; FS="/|\n";} {
11747 lt_foo="";
11748 lt_count=0;
11749 for (lt_i = NF; lt_i > 0; lt_i--) {
11750 if ($lt_i != "" && $lt_i != ".") {
11751 if ($lt_i == "..") {
11752 lt_count++;
11753 } else {
11754 if (lt_count == 0) {
11755 lt_foo="/" $lt_i lt_foo;
11756 } else {
11757 lt_count--;
11762 if (lt_foo != "") { lt_freq[lt_foo]++; }
11763 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11765 # AWK program above erroneously prepends '/' to C:/dos/paths
11766 # for these hosts.
11767 case $host_os in
11768 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11769 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11770 esac
11771 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11772 else
11773 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11775 library_names_spec=
11776 libname_spec='lib$name'
11777 soname_spec=
11778 shrext_cmds=".so"
11779 postinstall_cmds=
11780 postuninstall_cmds=
11781 finish_cmds=
11782 finish_eval=
11783 shlibpath_var=
11784 shlibpath_overrides_runpath=unknown
11785 version_type=none
11786 dynamic_linker="$host_os ld.so"
11787 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11788 need_lib_prefix=unknown
11789 hardcode_into_libs=no
11791 # when you set need_version to no, make sure it does not cause -set_version
11792 # flags to be left without arguments
11793 need_version=unknown
11795 case $host_os in
11796 aix3*)
11797 version_type=linux
11798 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11799 shlibpath_var=LIBPATH
11801 # AIX 3 has no versioning support, so we append a major version to the name.
11802 soname_spec='${libname}${release}${shared_ext}$major'
11805 aix[4-9]*)
11806 version_type=linux
11807 need_lib_prefix=no
11808 need_version=no
11809 hardcode_into_libs=yes
11810 if test "$host_cpu" = ia64; then
11811 # AIX 5 supports IA64
11812 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11813 shlibpath_var=LD_LIBRARY_PATH
11814 else
11815 # With GCC up to 2.95.x, collect2 would create an import file
11816 # for dependence libraries. The import file would start with
11817 # the line `#! .'. This would cause the generated library to
11818 # depend on `.', always an invalid library. This was fixed in
11819 # development snapshots of GCC prior to 3.0.
11820 case $host_os in
11821 aix4 | aix4.[01] | aix4.[01].*)
11822 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11823 echo ' yes '
11824 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11826 else
11827 can_build_shared=no
11830 esac
11831 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11832 # soname into executable. Probably we can add versioning support to
11833 # collect2, so additional links can be useful in future.
11834 if test "$aix_use_runtimelinking" = yes; then
11835 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11836 # instead of lib<name>.a to let people know that these are not
11837 # typical AIX shared libraries.
11838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11839 else
11840 # We preserve .a as extension for shared libraries through AIX4.2
11841 # and later when we are not doing run time linking.
11842 library_names_spec='${libname}${release}.a $libname.a'
11843 soname_spec='${libname}${release}${shared_ext}$major'
11845 shlibpath_var=LIBPATH
11849 amigaos*)
11850 case $host_cpu in
11851 powerpc)
11852 # Since July 2007 AmigaOS4 officially supports .so libraries.
11853 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11856 m68k)
11857 library_names_spec='$libname.ixlibrary $libname.a'
11858 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11859 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'
11861 esac
11864 beos*)
11865 library_names_spec='${libname}${shared_ext}'
11866 dynamic_linker="$host_os ld.so"
11867 shlibpath_var=LIBRARY_PATH
11870 bsdi[45]*)
11871 version_type=linux
11872 need_version=no
11873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11874 soname_spec='${libname}${release}${shared_ext}$major'
11875 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11876 shlibpath_var=LD_LIBRARY_PATH
11877 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11878 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11879 # the default ld.so.conf also contains /usr/contrib/lib and
11880 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11881 # libtool to hard-code these into programs
11884 cygwin* | mingw* | pw32* | cegcc*)
11885 version_type=windows
11886 shrext_cmds=".dll"
11887 need_version=no
11888 need_lib_prefix=no
11890 case $GCC,$host_os in
11891 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11892 library_names_spec='$libname.dll.a'
11893 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11894 postinstall_cmds='base_file=`basename \${file}`~
11895 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11896 dldir=$destdir/`dirname \$dlpath`~
11897 test -d \$dldir || mkdir -p \$dldir~
11898 $install_prog $dir/$dlname \$dldir/$dlname~
11899 chmod a+x \$dldir/$dlname~
11900 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11901 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11903 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11904 dlpath=$dir/\$dldll~
11905 $RM \$dlpath'
11906 shlibpath_overrides_runpath=yes
11908 case $host_os in
11909 cygwin*)
11910 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11911 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11913 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11915 mingw* | cegcc*)
11916 # MinGW DLLs use traditional 'lib' prefix
11917 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11919 pw32*)
11920 # pw32 DLLs use 'pw' prefix rather than 'lib'
11921 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11923 esac
11927 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11929 esac
11930 dynamic_linker='Win32 ld.exe'
11931 # FIXME: first we should search . and the directory the executable is in
11932 shlibpath_var=PATH
11935 darwin* | rhapsody*)
11936 dynamic_linker="$host_os dyld"
11937 version_type=darwin
11938 need_lib_prefix=no
11939 need_version=no
11940 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11941 soname_spec='${libname}${release}${major}$shared_ext'
11942 shlibpath_overrides_runpath=yes
11943 shlibpath_var=DYLD_LIBRARY_PATH
11944 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11946 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11947 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11950 dgux*)
11951 version_type=linux
11952 need_lib_prefix=no
11953 need_version=no
11954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11955 soname_spec='${libname}${release}${shared_ext}$major'
11956 shlibpath_var=LD_LIBRARY_PATH
11959 freebsd* | dragonfly*)
11960 # DragonFly does not have aout. When/if they implement a new
11961 # versioning mechanism, adjust this.
11962 if test -x /usr/bin/objformat; then
11963 objformat=`/usr/bin/objformat`
11964 else
11965 case $host_os in
11966 freebsd[23].*) objformat=aout ;;
11967 *) objformat=elf ;;
11968 esac
11970 version_type=freebsd-$objformat
11971 case $version_type in
11972 freebsd-elf*)
11973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11974 need_version=no
11975 need_lib_prefix=no
11977 freebsd-*)
11978 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11979 need_version=yes
11981 esac
11982 shlibpath_var=LD_LIBRARY_PATH
11983 case $host_os in
11984 freebsd2.*)
11985 shlibpath_overrides_runpath=yes
11987 freebsd3.[01]* | freebsdelf3.[01]*)
11988 shlibpath_overrides_runpath=yes
11989 hardcode_into_libs=yes
11991 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11992 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11993 shlibpath_overrides_runpath=no
11994 hardcode_into_libs=yes
11996 *) # from 4.6 on, and DragonFly
11997 shlibpath_overrides_runpath=yes
11998 hardcode_into_libs=yes
12000 esac
12003 haiku*)
12004 version_type=linux
12005 need_lib_prefix=no
12006 need_version=no
12007 dynamic_linker="$host_os runtime_loader"
12008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12009 soname_spec='${libname}${release}${shared_ext}$major'
12010 shlibpath_var=LIBRARY_PATH
12011 shlibpath_overrides_runpath=yes
12012 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12013 hardcode_into_libs=yes
12016 hpux9* | hpux10* | hpux11*)
12017 # Give a soname corresponding to the major version so that dld.sl refuses to
12018 # link against other versions.
12019 version_type=sunos
12020 need_lib_prefix=no
12021 need_version=no
12022 case $host_cpu in
12023 ia64*)
12024 shrext_cmds='.so'
12025 hardcode_into_libs=yes
12026 dynamic_linker="$host_os dld.so"
12027 shlibpath_var=LD_LIBRARY_PATH
12028 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12030 soname_spec='${libname}${release}${shared_ext}$major'
12031 if test "X$HPUX_IA64_MODE" = X32; then
12032 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12033 else
12034 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12036 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12038 hppa*64*)
12039 shrext_cmds='.sl'
12040 hardcode_into_libs=yes
12041 dynamic_linker="$host_os dld.sl"
12042 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12043 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12045 soname_spec='${libname}${release}${shared_ext}$major'
12046 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12047 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12050 shrext_cmds='.sl'
12051 dynamic_linker="$host_os dld.sl"
12052 shlibpath_var=SHLIB_PATH
12053 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12055 soname_spec='${libname}${release}${shared_ext}$major'
12057 esac
12058 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12059 postinstall_cmds='chmod 555 $lib'
12060 # or fails outright, so override atomically:
12061 install_override_mode=555
12064 interix[3-9]*)
12065 version_type=linux
12066 need_lib_prefix=no
12067 need_version=no
12068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12069 soname_spec='${libname}${release}${shared_ext}$major'
12070 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12071 shlibpath_var=LD_LIBRARY_PATH
12072 shlibpath_overrides_runpath=no
12073 hardcode_into_libs=yes
12076 irix5* | irix6* | nonstopux*)
12077 case $host_os in
12078 nonstopux*) version_type=nonstopux ;;
12080 if test "$lt_cv_prog_gnu_ld" = yes; then
12081 version_type=linux
12082 else
12083 version_type=irix
12084 fi ;;
12085 esac
12086 need_lib_prefix=no
12087 need_version=no
12088 soname_spec='${libname}${release}${shared_ext}$major'
12089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12090 case $host_os in
12091 irix5* | nonstopux*)
12092 libsuff= shlibsuff=
12095 case $LD in # libtool.m4 will add one of these switches to LD
12096 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12097 libsuff= shlibsuff= libmagic=32-bit;;
12098 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12099 libsuff=32 shlibsuff=N32 libmagic=N32;;
12100 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12101 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12102 *) libsuff= shlibsuff= libmagic=never-match;;
12103 esac
12105 esac
12106 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12107 shlibpath_overrides_runpath=no
12108 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12109 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12110 hardcode_into_libs=yes
12113 # No shared lib support for Linux oldld, aout, or coff.
12114 linux*oldld* | linux*aout* | linux*coff*)
12115 dynamic_linker=no
12118 # This must be Linux ELF.
12120 # uclinux* changes (here and below) have been submitted to the libtool
12121 # project, but have not yet been accepted: they are GCC-local changes
12122 # for the time being. (See
12123 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12124 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12125 version_type=linux
12126 need_lib_prefix=no
12127 need_version=no
12128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12129 soname_spec='${libname}${release}${shared_ext}$major'
12130 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12131 shlibpath_var=LD_LIBRARY_PATH
12132 shlibpath_overrides_runpath=no
12134 # Some binutils ld are patched to set DT_RUNPATH
12135 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12136 $as_echo_n "(cached) " >&6
12137 else
12138 lt_cv_shlibpath_overrides_runpath=no
12139 save_LDFLAGS=$LDFLAGS
12140 save_libdir=$libdir
12141 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12142 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12143 if test x$gcc_no_link = xyes; then
12144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12150 main ()
12154 return 0;
12156 _ACEOF
12157 if ac_fn_c_try_link "$LINENO"; then :
12158 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12159 lt_cv_shlibpath_overrides_runpath=yes
12162 rm -f core conftest.err conftest.$ac_objext \
12163 conftest$ac_exeext conftest.$ac_ext
12164 LDFLAGS=$save_LDFLAGS
12165 libdir=$save_libdir
12169 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12171 # This implies no fast_install, which is unacceptable.
12172 # Some rework will be needed to allow for fast_install
12173 # before this can be enabled.
12174 hardcode_into_libs=yes
12176 # Append ld.so.conf contents to the search path
12177 if test -f /etc/ld.so.conf; then
12178 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' ' '`
12179 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12182 # We used to test for /lib/ld.so.1 and disable shared libraries on
12183 # powerpc, because MkLinux only supported shared libraries with the
12184 # GNU dynamic linker. Since this was broken with cross compilers,
12185 # most powerpc-linux boxes support dynamic linking these days and
12186 # people can always --disable-shared, the test was removed, and we
12187 # assume the GNU/Linux dynamic linker is in use.
12188 dynamic_linker='GNU/Linux ld.so'
12191 netbsd*)
12192 version_type=sunos
12193 need_lib_prefix=no
12194 need_version=no
12195 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12197 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12198 dynamic_linker='NetBSD (a.out) ld.so'
12199 else
12200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12201 soname_spec='${libname}${release}${shared_ext}$major'
12202 dynamic_linker='NetBSD ld.elf_so'
12204 shlibpath_var=LD_LIBRARY_PATH
12205 shlibpath_overrides_runpath=yes
12206 hardcode_into_libs=yes
12209 newsos6)
12210 version_type=linux
12211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12212 shlibpath_var=LD_LIBRARY_PATH
12213 shlibpath_overrides_runpath=yes
12216 *nto* | *qnx*)
12217 version_type=qnx
12218 need_lib_prefix=no
12219 need_version=no
12220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12221 soname_spec='${libname}${release}${shared_ext}$major'
12222 shlibpath_var=LD_LIBRARY_PATH
12223 shlibpath_overrides_runpath=no
12224 hardcode_into_libs=yes
12225 dynamic_linker='ldqnx.so'
12228 openbsd*)
12229 version_type=sunos
12230 sys_lib_dlsearch_path_spec="/usr/lib"
12231 need_lib_prefix=no
12232 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12233 case $host_os in
12234 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12235 *) need_version=no ;;
12236 esac
12237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12238 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12239 shlibpath_var=LD_LIBRARY_PATH
12240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12241 case $host_os in
12242 openbsd2.[89] | openbsd2.[89].*)
12243 shlibpath_overrides_runpath=no
12246 shlibpath_overrides_runpath=yes
12248 esac
12249 else
12250 shlibpath_overrides_runpath=yes
12254 os2*)
12255 libname_spec='$name'
12256 shrext_cmds=".dll"
12257 need_lib_prefix=no
12258 library_names_spec='$libname${shared_ext} $libname.a'
12259 dynamic_linker='OS/2 ld.exe'
12260 shlibpath_var=LIBPATH
12263 osf3* | osf4* | osf5*)
12264 version_type=osf
12265 need_lib_prefix=no
12266 need_version=no
12267 soname_spec='${libname}${release}${shared_ext}$major'
12268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12269 shlibpath_var=LD_LIBRARY_PATH
12270 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12271 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12274 rdos*)
12275 dynamic_linker=no
12278 solaris*)
12279 version_type=linux
12280 need_lib_prefix=no
12281 need_version=no
12282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12283 soname_spec='${libname}${release}${shared_ext}$major'
12284 shlibpath_var=LD_LIBRARY_PATH
12285 shlibpath_overrides_runpath=yes
12286 hardcode_into_libs=yes
12287 # ldd complains unless libraries are executable
12288 postinstall_cmds='chmod +x $lib'
12291 sunos4*)
12292 version_type=sunos
12293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12294 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12295 shlibpath_var=LD_LIBRARY_PATH
12296 shlibpath_overrides_runpath=yes
12297 if test "$with_gnu_ld" = yes; then
12298 need_lib_prefix=no
12300 need_version=yes
12303 sysv4 | sysv4.3*)
12304 version_type=linux
12305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12306 soname_spec='${libname}${release}${shared_ext}$major'
12307 shlibpath_var=LD_LIBRARY_PATH
12308 case $host_vendor in
12309 sni)
12310 shlibpath_overrides_runpath=no
12311 need_lib_prefix=no
12312 runpath_var=LD_RUN_PATH
12314 siemens)
12315 need_lib_prefix=no
12317 motorola)
12318 need_lib_prefix=no
12319 need_version=no
12320 shlibpath_overrides_runpath=no
12321 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12323 esac
12326 sysv4*MP*)
12327 if test -d /usr/nec ;then
12328 version_type=linux
12329 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12330 soname_spec='$libname${shared_ext}.$major'
12331 shlibpath_var=LD_LIBRARY_PATH
12335 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12336 version_type=freebsd-elf
12337 need_lib_prefix=no
12338 need_version=no
12339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12340 soname_spec='${libname}${release}${shared_ext}$major'
12341 shlibpath_var=LD_LIBRARY_PATH
12342 shlibpath_overrides_runpath=yes
12343 hardcode_into_libs=yes
12344 if test "$with_gnu_ld" = yes; then
12345 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12346 else
12347 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12348 case $host_os in
12349 sco3.2v5*)
12350 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12352 esac
12354 sys_lib_dlsearch_path_spec='/usr/lib'
12357 tpf*)
12358 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12359 version_type=linux
12360 need_lib_prefix=no
12361 need_version=no
12362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12363 shlibpath_var=LD_LIBRARY_PATH
12364 shlibpath_overrides_runpath=no
12365 hardcode_into_libs=yes
12368 uts4*)
12369 version_type=linux
12370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12371 soname_spec='${libname}${release}${shared_ext}$major'
12372 shlibpath_var=LD_LIBRARY_PATH
12375 # Shared libraries for VwWorks, >= 7 only at this stage
12376 # and (fpic) still incompatible with "large" code models
12377 # in a few configurations. Only for RTP mode in any case,
12378 # and upon explicit request at configure time.
12379 vxworks7*)
12380 dynamic_linker=no
12381 case ${with_multisubdir}-${enable_shared} in
12382 *large*)
12384 *mrtp*-yes)
12385 version_type=linux
12386 need_lib_prefix=no
12387 need_version=no
12388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12389 soname_spec='${libname}${release}${shared_ext}$major'
12390 dynamic_linker="$host_os module_loader"
12392 esac
12395 dynamic_linker=no
12397 esac
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12399 $as_echo "$dynamic_linker" >&6; }
12400 test "$dynamic_linker" = no && can_build_shared=no
12402 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12403 if test "$GCC" = yes; then
12404 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12407 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12408 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12410 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12411 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12506 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12507 hardcode_action=
12508 if test -n "$hardcode_libdir_flag_spec" ||
12509 test -n "$runpath_var" ||
12510 test "X$hardcode_automatic" = "Xyes" ; then
12512 # We can hardcode non-existent directories.
12513 if test "$hardcode_direct" != no &&
12514 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12515 # have to relink, otherwise we might link with an installed library
12516 # when we should be linking with a yet-to-be-installed one
12517 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12518 test "$hardcode_minus_L" != no; then
12519 # Linking always hardcodes the temporary library directory.
12520 hardcode_action=relink
12521 else
12522 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12523 hardcode_action=immediate
12525 else
12526 # We cannot hardcode anything, or else we can only hardcode existing
12527 # directories.
12528 hardcode_action=unsupported
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12531 $as_echo "$hardcode_action" >&6; }
12533 if test "$hardcode_action" = relink ||
12534 test "$inherit_rpath" = yes; then
12535 # Fast installation is not supported
12536 enable_fast_install=no
12537 elif test "$shlibpath_overrides_runpath" = yes ||
12538 test "$enable_shared" = no; then
12539 # Fast installation is not necessary
12540 enable_fast_install=needless
12548 if test "x$enable_dlopen" != xyes; then
12549 enable_dlopen=unknown
12550 enable_dlopen_self=unknown
12551 enable_dlopen_self_static=unknown
12552 else
12553 lt_cv_dlopen=no
12554 lt_cv_dlopen_libs=
12556 case $host_os in
12557 beos*)
12558 lt_cv_dlopen="load_add_on"
12559 lt_cv_dlopen_libs=
12560 lt_cv_dlopen_self=yes
12563 mingw* | pw32* | cegcc*)
12564 lt_cv_dlopen="LoadLibrary"
12565 lt_cv_dlopen_libs=
12568 cygwin*)
12569 lt_cv_dlopen="dlopen"
12570 lt_cv_dlopen_libs=
12573 darwin*)
12574 # if libdl is installed we need to link against it
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12576 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12577 if ${ac_cv_lib_dl_dlopen+:} false; then :
12578 $as_echo_n "(cached) " >&6
12579 else
12580 ac_check_lib_save_LIBS=$LIBS
12581 LIBS="-ldl $LIBS"
12582 if test x$gcc_no_link = xyes; then
12583 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12591 #ifdef __cplusplus
12592 extern "C"
12593 #endif
12594 char dlopen ();
12596 main ()
12598 return dlopen ();
12600 return 0;
12602 _ACEOF
12603 if ac_fn_c_try_link "$LINENO"; then :
12604 ac_cv_lib_dl_dlopen=yes
12605 else
12606 ac_cv_lib_dl_dlopen=no
12608 rm -f core conftest.err conftest.$ac_objext \
12609 conftest$ac_exeext conftest.$ac_ext
12610 LIBS=$ac_check_lib_save_LIBS
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12613 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12614 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12615 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12616 else
12618 lt_cv_dlopen="dyld"
12619 lt_cv_dlopen_libs=
12620 lt_cv_dlopen_self=yes
12627 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12628 if test "x$ac_cv_func_shl_load" = xyes; then :
12629 lt_cv_dlopen="shl_load"
12630 else
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12632 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12633 if ${ac_cv_lib_dld_shl_load+:} false; then :
12634 $as_echo_n "(cached) " >&6
12635 else
12636 ac_check_lib_save_LIBS=$LIBS
12637 LIBS="-ldld $LIBS"
12638 if test x$gcc_no_link = xyes; then
12639 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 /* Override any GCC internal prototype to avoid an error.
12645 Use char because int might match the return type of a GCC
12646 builtin and then its argument prototype would still apply. */
12647 #ifdef __cplusplus
12648 extern "C"
12649 #endif
12650 char shl_load ();
12652 main ()
12654 return shl_load ();
12656 return 0;
12658 _ACEOF
12659 if ac_fn_c_try_link "$LINENO"; then :
12660 ac_cv_lib_dld_shl_load=yes
12661 else
12662 ac_cv_lib_dld_shl_load=no
12664 rm -f core conftest.err conftest.$ac_objext \
12665 conftest$ac_exeext conftest.$ac_ext
12666 LIBS=$ac_check_lib_save_LIBS
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12669 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12670 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12671 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12672 else
12673 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12674 if test "x$ac_cv_func_dlopen" = xyes; then :
12675 lt_cv_dlopen="dlopen"
12676 else
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12678 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12679 if ${ac_cv_lib_dl_dlopen+:} false; then :
12680 $as_echo_n "(cached) " >&6
12681 else
12682 ac_check_lib_save_LIBS=$LIBS
12683 LIBS="-ldl $LIBS"
12684 if test x$gcc_no_link = xyes; then
12685 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693 #ifdef __cplusplus
12694 extern "C"
12695 #endif
12696 char dlopen ();
12698 main ()
12700 return dlopen ();
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_link "$LINENO"; then :
12706 ac_cv_lib_dl_dlopen=yes
12707 else
12708 ac_cv_lib_dl_dlopen=no
12710 rm -f core conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712 LIBS=$ac_check_lib_save_LIBS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12715 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12716 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12717 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12718 else
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12720 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12721 if ${ac_cv_lib_svld_dlopen+:} false; then :
12722 $as_echo_n "(cached) " >&6
12723 else
12724 ac_check_lib_save_LIBS=$LIBS
12725 LIBS="-lsvld $LIBS"
12726 if test x$gcc_no_link = xyes; then
12727 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12735 #ifdef __cplusplus
12736 extern "C"
12737 #endif
12738 char dlopen ();
12740 main ()
12742 return dlopen ();
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_svld_dlopen=yes
12749 else
12750 ac_cv_lib_svld_dlopen=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LIBS=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12757 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12758 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12759 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12760 else
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12762 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12763 if ${ac_cv_lib_dld_dld_link+:} false; then :
12764 $as_echo_n "(cached) " >&6
12765 else
12766 ac_check_lib_save_LIBS=$LIBS
12767 LIBS="-ldld $LIBS"
12768 if test x$gcc_no_link = xyes; then
12769 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char dld_link ();
12782 main ()
12784 return dld_link ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 ac_cv_lib_dld_dld_link=yes
12791 else
12792 ac_cv_lib_dld_dld_link=no
12794 rm -f core conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12796 LIBS=$ac_check_lib_save_LIBS
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12799 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12800 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12801 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12820 esac
12822 if test "x$lt_cv_dlopen" != xno; then
12823 enable_dlopen=yes
12824 else
12825 enable_dlopen=no
12828 case $lt_cv_dlopen in
12829 dlopen)
12830 save_CPPFLAGS="$CPPFLAGS"
12831 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12833 save_LDFLAGS="$LDFLAGS"
12834 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12836 save_LIBS="$LIBS"
12837 LIBS="$lt_cv_dlopen_libs $LIBS"
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12840 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12841 if ${lt_cv_dlopen_self+:} false; then :
12842 $as_echo_n "(cached) " >&6
12843 else
12844 if test "$cross_compiling" = yes; then :
12845 lt_cv_dlopen_self=cross
12846 else
12847 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12848 lt_status=$lt_dlunknown
12849 cat > conftest.$ac_ext <<_LT_EOF
12850 #line 12850 "configure"
12851 #include "confdefs.h"
12853 #if HAVE_DLFCN_H
12854 #include <dlfcn.h>
12855 #endif
12857 #include <stdio.h>
12859 #ifdef RTLD_GLOBAL
12860 # define LT_DLGLOBAL RTLD_GLOBAL
12861 #else
12862 # ifdef DL_GLOBAL
12863 # define LT_DLGLOBAL DL_GLOBAL
12864 # else
12865 # define LT_DLGLOBAL 0
12866 # endif
12867 #endif
12869 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12870 find out it does not work in some platform. */
12871 #ifndef LT_DLLAZY_OR_NOW
12872 # ifdef RTLD_LAZY
12873 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12874 # else
12875 # ifdef DL_LAZY
12876 # define LT_DLLAZY_OR_NOW DL_LAZY
12877 # else
12878 # ifdef RTLD_NOW
12879 # define LT_DLLAZY_OR_NOW RTLD_NOW
12880 # else
12881 # ifdef DL_NOW
12882 # define LT_DLLAZY_OR_NOW DL_NOW
12883 # else
12884 # define LT_DLLAZY_OR_NOW 0
12885 # endif
12886 # endif
12887 # endif
12888 # endif
12889 #endif
12891 /* When -fvisbility=hidden is used, assume the code has been annotated
12892 correspondingly for the symbols needed. */
12893 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12894 void fnord () __attribute__((visibility("default")));
12895 #endif
12897 void fnord () { int i=42; }
12898 int main ()
12900 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12901 int status = $lt_dlunknown;
12903 if (self)
12905 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12906 else
12908 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12909 else puts (dlerror ());
12911 /* dlclose (self); */
12913 else
12914 puts (dlerror ());
12916 return status;
12918 _LT_EOF
12919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12920 (eval $ac_link) 2>&5
12921 ac_status=$?
12922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12924 (./conftest; exit; ) >&5 2>/dev/null
12925 lt_status=$?
12926 case x$lt_status in
12927 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12928 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12929 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12930 esac
12931 else :
12932 # compilation failed
12933 lt_cv_dlopen_self=no
12936 rm -fr conftest*
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12941 $as_echo "$lt_cv_dlopen_self" >&6; }
12943 if test "x$lt_cv_dlopen_self" = xyes; then
12944 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12946 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12947 if ${lt_cv_dlopen_self_static+:} false; then :
12948 $as_echo_n "(cached) " >&6
12949 else
12950 if test "$cross_compiling" = yes; then :
12951 lt_cv_dlopen_self_static=cross
12952 else
12953 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12954 lt_status=$lt_dlunknown
12955 cat > conftest.$ac_ext <<_LT_EOF
12956 #line 12956 "configure"
12957 #include "confdefs.h"
12959 #if HAVE_DLFCN_H
12960 #include <dlfcn.h>
12961 #endif
12963 #include <stdio.h>
12965 #ifdef RTLD_GLOBAL
12966 # define LT_DLGLOBAL RTLD_GLOBAL
12967 #else
12968 # ifdef DL_GLOBAL
12969 # define LT_DLGLOBAL DL_GLOBAL
12970 # else
12971 # define LT_DLGLOBAL 0
12972 # endif
12973 #endif
12975 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12976 find out it does not work in some platform. */
12977 #ifndef LT_DLLAZY_OR_NOW
12978 # ifdef RTLD_LAZY
12979 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12980 # else
12981 # ifdef DL_LAZY
12982 # define LT_DLLAZY_OR_NOW DL_LAZY
12983 # else
12984 # ifdef RTLD_NOW
12985 # define LT_DLLAZY_OR_NOW RTLD_NOW
12986 # else
12987 # ifdef DL_NOW
12988 # define LT_DLLAZY_OR_NOW DL_NOW
12989 # else
12990 # define LT_DLLAZY_OR_NOW 0
12991 # endif
12992 # endif
12993 # endif
12994 # endif
12995 #endif
12997 /* When -fvisbility=hidden is used, assume the code has been annotated
12998 correspondingly for the symbols needed. */
12999 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13000 void fnord () __attribute__((visibility("default")));
13001 #endif
13003 void fnord () { int i=42; }
13004 int main ()
13006 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13007 int status = $lt_dlunknown;
13009 if (self)
13011 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13012 else
13014 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13015 else puts (dlerror ());
13017 /* dlclose (self); */
13019 else
13020 puts (dlerror ());
13022 return status;
13024 _LT_EOF
13025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13026 (eval $ac_link) 2>&5
13027 ac_status=$?
13028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13029 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13030 (./conftest; exit; ) >&5 2>/dev/null
13031 lt_status=$?
13032 case x$lt_status in
13033 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13034 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13035 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13036 esac
13037 else :
13038 # compilation failed
13039 lt_cv_dlopen_self_static=no
13042 rm -fr conftest*
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13047 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13050 CPPFLAGS="$save_CPPFLAGS"
13051 LDFLAGS="$save_LDFLAGS"
13052 LIBS="$save_LIBS"
13054 esac
13056 case $lt_cv_dlopen_self in
13057 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13058 *) enable_dlopen_self=unknown ;;
13059 esac
13061 case $lt_cv_dlopen_self_static in
13062 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13063 *) enable_dlopen_self_static=unknown ;;
13064 esac
13083 striplib=
13084 old_striplib=
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13086 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13087 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13088 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13089 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13091 $as_echo "yes" >&6; }
13092 else
13093 # FIXME - insert some real tests, host_os isn't really good enough
13094 case $host_os in
13095 darwin*)
13096 if test -n "$STRIP" ; then
13097 striplib="$STRIP -x"
13098 old_striplib="$STRIP -S"
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13100 $as_echo "yes" >&6; }
13101 else
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103 $as_echo "no" >&6; }
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13108 $as_echo "no" >&6; }
13110 esac
13124 # Report which library types will actually be built
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13126 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13128 $as_echo "$can_build_shared" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13131 $as_echo_n "checking whether to build shared libraries... " >&6; }
13132 test "$can_build_shared" = "no" && enable_shared=no
13134 # On AIX, shared libraries and static libraries use the same namespace, and
13135 # are all built from PIC.
13136 case $host_os in
13137 aix3*)
13138 test "$enable_shared" = yes && enable_static=no
13139 if test -n "$RANLIB"; then
13140 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13141 postinstall_cmds='$RANLIB $lib'
13145 aix[4-9]*)
13146 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13147 test "$enable_shared" = yes && enable_static=no
13150 esac
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13152 $as_echo "$enable_shared" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13155 $as_echo_n "checking whether to build static libraries... " >&6; }
13156 # Make sure either enable_shared or enable_static is yes.
13157 test "$enable_shared" = yes || enable_static=yes
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13159 $as_echo "$enable_static" >&6; }
13165 ac_ext=c
13166 ac_cpp='$CPP $CPPFLAGS'
13167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13171 CC="$lt_save_CC"
13185 ac_config_commands="$ac_config_commands libtool"
13190 # Only expand once:
13193 LIBM=
13194 case $host in
13195 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13196 # These system don't have libm, or don't need it
13198 *-ncr-sysv4.3*)
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13200 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13201 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13202 $as_echo_n "(cached) " >&6
13203 else
13204 ac_check_lib_save_LIBS=$LIBS
13205 LIBS="-lmw $LIBS"
13206 if test x$gcc_no_link = xyes; then
13207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13215 #ifdef __cplusplus
13216 extern "C"
13217 #endif
13218 char _mwvalidcheckl ();
13220 main ()
13222 return _mwvalidcheckl ();
13224 return 0;
13226 _ACEOF
13227 if ac_fn_c_try_link "$LINENO"; then :
13228 ac_cv_lib_mw__mwvalidcheckl=yes
13229 else
13230 ac_cv_lib_mw__mwvalidcheckl=no
13232 rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_lib_save_LIBS
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13237 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13238 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13239 LIBM="-lmw"
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13243 $as_echo_n "checking for cos in -lm... " >&6; }
13244 if ${ac_cv_lib_m_cos+:} false; then :
13245 $as_echo_n "(cached) " >&6
13246 else
13247 ac_check_lib_save_LIBS=$LIBS
13248 LIBS="-lm $LIBS"
13249 if test x$gcc_no_link = xyes; then
13250 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char cos ();
13263 main ()
13265 return cos ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 ac_cv_lib_m_cos=yes
13272 else
13273 ac_cv_lib_m_cos=no
13275 rm -f core conftest.err conftest.$ac_objext \
13276 conftest$ac_exeext conftest.$ac_ext
13277 LIBS=$ac_check_lib_save_LIBS
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13280 $as_echo "$ac_cv_lib_m_cos" >&6; }
13281 if test "x$ac_cv_lib_m_cos" = xyes; then :
13282 LIBM="$LIBM -lm"
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13288 $as_echo_n "checking for cos in -lm... " >&6; }
13289 if ${ac_cv_lib_m_cos+:} false; then :
13290 $as_echo_n "(cached) " >&6
13291 else
13292 ac_check_lib_save_LIBS=$LIBS
13293 LIBS="-lm $LIBS"
13294 if test x$gcc_no_link = xyes; then
13295 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303 #ifdef __cplusplus
13304 extern "C"
13305 #endif
13306 char cos ();
13308 main ()
13310 return cos ();
13312 return 0;
13314 _ACEOF
13315 if ac_fn_c_try_link "$LINENO"; then :
13316 ac_cv_lib_m_cos=yes
13317 else
13318 ac_cv_lib_m_cos=no
13320 rm -f core conftest.err conftest.$ac_objext \
13321 conftest$ac_exeext conftest.$ac_ext
13322 LIBS=$ac_check_lib_save_LIBS
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13325 $as_echo "$ac_cv_lib_m_cos" >&6; }
13326 if test "x$ac_cv_lib_m_cos" = xyes; then :
13327 LIBM="-lm"
13331 esac
13337 case $host in
13338 *-cygwin* | *-mingw*)
13339 # 'host' will be top-level target in the case of a target lib,
13340 # we must compare to with_cross_host to decide if this is a native
13341 # or cross-compiler and select where to install dlls appropriately.
13342 if test -n "$with_cross_host" &&
13343 test x"$with_cross_host" != x"no"; then
13344 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13345 else
13346 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13350 lt_host_flags=
13352 esac
13358 if test x$enable_darwin_at_rpath = xyes; then
13359 ENABLE_DARWIN_AT_RPATH_TRUE=
13360 ENABLE_DARWIN_AT_RPATH_FALSE='#'
13361 else
13362 ENABLE_DARWIN_AT_RPATH_TRUE='#'
13363 ENABLE_DARWIN_AT_RPATH_FALSE=
13366 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13368 # We need gfortran to compile parts of the library
13369 #AC_PROG_FC(gfortran)
13370 FC="$GFORTRAN"
13371 ac_ext=${ac_fc_srcext-f}
13372 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13373 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13374 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13375 if test -n "$ac_tool_prefix"; then
13376 for ac_prog in gfortran
13378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13381 $as_echo_n "checking for $ac_word... " >&6; }
13382 if ${ac_cv_prog_FC+:} false; then :
13383 $as_echo_n "(cached) " >&6
13384 else
13385 if test -n "$FC"; then
13386 ac_cv_prog_FC="$FC" # Let the user override the test.
13387 else
13388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13389 for as_dir in $PATH
13391 IFS=$as_save_IFS
13392 test -z "$as_dir" && as_dir=.
13393 for ac_exec_ext in '' $ac_executable_extensions; do
13394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13395 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13397 break 2
13399 done
13400 done
13401 IFS=$as_save_IFS
13405 FC=$ac_cv_prog_FC
13406 if test -n "$FC"; then
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13408 $as_echo "$FC" >&6; }
13409 else
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13411 $as_echo "no" >&6; }
13415 test -n "$FC" && break
13416 done
13418 if test -z "$FC"; then
13419 ac_ct_FC=$FC
13420 for ac_prog in gfortran
13422 # Extract the first word of "$ac_prog", so it can be a program name with args.
13423 set dummy $ac_prog; ac_word=$2
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13425 $as_echo_n "checking for $ac_word... " >&6; }
13426 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13427 $as_echo_n "(cached) " >&6
13428 else
13429 if test -n "$ac_ct_FC"; then
13430 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13431 else
13432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13433 for as_dir in $PATH
13435 IFS=$as_save_IFS
13436 test -z "$as_dir" && as_dir=.
13437 for ac_exec_ext in '' $ac_executable_extensions; do
13438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13439 ac_cv_prog_ac_ct_FC="$ac_prog"
13440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13441 break 2
13443 done
13444 done
13445 IFS=$as_save_IFS
13449 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13450 if test -n "$ac_ct_FC"; then
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13452 $as_echo "$ac_ct_FC" >&6; }
13453 else
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13455 $as_echo "no" >&6; }
13459 test -n "$ac_ct_FC" && break
13460 done
13462 if test "x$ac_ct_FC" = x; then
13463 FC=""
13464 else
13465 case $cross_compiling:$ac_tool_warned in
13466 yes:)
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13469 ac_tool_warned=yes ;;
13470 esac
13471 FC=$ac_ct_FC
13476 # Provide some information about the compiler.
13477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13478 set X $ac_compile
13479 ac_compiler=$2
13480 for ac_option in --version -v -V -qversion; do
13481 { { ac_try="$ac_compiler $ac_option >&5"
13482 case "(($ac_try" in
13483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13484 *) ac_try_echo=$ac_try;;
13485 esac
13486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13487 $as_echo "$ac_try_echo"; } >&5
13488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13489 ac_status=$?
13490 if test -s conftest.err; then
13491 sed '10a\
13492 ... rest of stderr output deleted ...
13493 10q' conftest.err >conftest.er1
13494 cat conftest.er1 >&5
13496 rm -f conftest.er1 conftest.err
13497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13498 test $ac_status = 0; }
13499 done
13500 rm -f a.out
13502 # If we don't use `.F' as extension, the preprocessor is not run on the
13503 # input file. (Note that this only needs to work for GNU compilers.)
13504 ac_save_ext=$ac_ext
13505 ac_ext=F
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13507 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13508 if ${ac_cv_fc_compiler_gnu+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13511 cat > conftest.$ac_ext <<_ACEOF
13512 program main
13513 #ifndef __GNUC__
13514 choke me
13515 #endif
13518 _ACEOF
13519 if ac_fn_fc_try_compile "$LINENO"; then :
13520 ac_compiler_gnu=yes
13521 else
13522 ac_compiler_gnu=no
13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13525 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13529 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13530 ac_ext=$ac_save_ext
13531 ac_test_FCFLAGS=${FCFLAGS+set}
13532 ac_save_FCFLAGS=$FCFLAGS
13533 FCFLAGS=
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13535 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13536 if ${ac_cv_prog_fc_g+:} false; then :
13537 $as_echo_n "(cached) " >&6
13538 else
13539 FCFLAGS=-g
13540 cat > conftest.$ac_ext <<_ACEOF
13541 program main
13544 _ACEOF
13545 if ac_fn_fc_try_compile "$LINENO"; then :
13546 ac_cv_prog_fc_g=yes
13547 else
13548 ac_cv_prog_fc_g=no
13550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13554 $as_echo "$ac_cv_prog_fc_g" >&6; }
13555 if test "$ac_test_FCFLAGS" = set; then
13556 FCFLAGS=$ac_save_FCFLAGS
13557 elif test $ac_cv_prog_fc_g = yes; then
13558 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13559 FCFLAGS="-g -O2"
13560 else
13561 FCFLAGS="-g"
13563 else
13564 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13565 FCFLAGS="-O2"
13566 else
13567 FCFLAGS=
13571 if test $ac_compiler_gnu = yes; then
13572 GFC=yes
13573 else
13574 GFC=
13576 ac_ext=c
13577 ac_cpp='$CPP $CPPFLAGS'
13578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13582 ac_ext=${ac_fc_srcext-f}
13583 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13584 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13588 if test -z "$FC" || test "X$FC" = "Xno"; then
13589 _lt_disable_FC=yes
13592 archive_cmds_need_lc_FC=no
13593 allow_undefined_flag_FC=
13594 always_export_symbols_FC=no
13595 archive_expsym_cmds_FC=
13596 export_dynamic_flag_spec_FC=
13597 hardcode_direct_FC=no
13598 hardcode_direct_absolute_FC=no
13599 hardcode_libdir_flag_spec_FC=
13600 hardcode_libdir_flag_spec_ld_FC=
13601 hardcode_libdir_separator_FC=
13602 hardcode_minus_L_FC=no
13603 hardcode_automatic_FC=no
13604 inherit_rpath_FC=no
13605 module_cmds_FC=
13606 module_expsym_cmds_FC=
13607 link_all_deplibs_FC=unknown
13608 old_archive_cmds_FC=$old_archive_cmds
13609 reload_flag_FC=$reload_flag
13610 reload_cmds_FC=$reload_cmds
13611 no_undefined_flag_FC=
13612 whole_archive_flag_spec_FC=
13613 enable_shared_with_static_runtimes_FC=no
13615 # Source file extension for fc test sources.
13616 ac_ext=${ac_fc_srcext-f}
13618 # Object file extension for compiled fc test sources.
13619 objext=o
13620 objext_FC=$objext
13622 # No sense in running all these tests if we already determined that
13623 # the FC compiler isn't working. Some variables (like enable_shared)
13624 # are currently assumed to apply to all compilers on this platform,
13625 # and will be corrupted by setting them based on a non-working compiler.
13626 if test "$_lt_disable_FC" != yes; then
13627 # Code to be used in simple compile tests
13628 lt_simple_compile_test_code="\
13629 subroutine t
13630 return
13634 # Code to be used in simple link tests
13635 lt_simple_link_test_code="\
13636 program t
13640 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13647 # If no C compiler was specified, use CC.
13648 LTCC=${LTCC-"$CC"}
13650 # If no C compiler flags were specified, use CFLAGS.
13651 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13653 # Allow CC to be a program name with arguments.
13654 compiler=$CC
13657 # save warnings/boilerplate of simple test code
13658 ac_outfile=conftest.$ac_objext
13659 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13660 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13661 _lt_compiler_boilerplate=`cat conftest.err`
13662 $RM conftest*
13664 ac_outfile=conftest.$ac_objext
13665 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13666 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13667 _lt_linker_boilerplate=`cat conftest.err`
13668 $RM -r conftest*
13671 # Allow CC to be a program name with arguments.
13672 lt_save_CC="$CC"
13673 lt_save_GCC=$GCC
13674 CC=${FC-"f95"}
13675 compiler=$CC
13676 GCC=$ac_cv_fc_compiler_gnu
13678 compiler_FC=$CC
13679 for cc_temp in $compiler""; do
13680 case $cc_temp in
13681 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13682 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13683 \-*) ;;
13684 *) break;;
13685 esac
13686 done
13687 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13690 if test -n "$compiler"; then
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13692 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13694 $as_echo "$can_build_shared" >&6; }
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13697 $as_echo_n "checking whether to build shared libraries... " >&6; }
13698 test "$can_build_shared" = "no" && enable_shared=no
13700 # On AIX, shared libraries and static libraries use the same namespace, and
13701 # are all built from PIC.
13702 case $host_os in
13703 aix3*)
13704 test "$enable_shared" = yes && enable_static=no
13705 if test -n "$RANLIB"; then
13706 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13707 postinstall_cmds='$RANLIB $lib'
13710 aix[4-9]*)
13711 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13712 test "$enable_shared" = yes && enable_static=no
13715 esac
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13717 $as_echo "$enable_shared" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13720 $as_echo_n "checking whether to build static libraries... " >&6; }
13721 # Make sure either enable_shared or enable_static is yes.
13722 test "$enable_shared" = yes || enable_static=yes
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13724 $as_echo "$enable_static" >&6; }
13726 GCC_FC="$ac_cv_fc_compiler_gnu"
13727 LD_FC="$LD"
13729 ## CAVEAT EMPTOR:
13730 ## There is no encapsulation within the following macros, do not change
13731 ## the running order or otherwise move them around unless you know exactly
13732 ## what you are doing...
13733 # Dependencies to place before and after the object being linked:
13734 predep_objects_FC=
13735 postdep_objects_FC=
13736 predeps_FC=
13737 postdeps_FC=
13738 compiler_lib_search_path_FC=
13740 cat > conftest.$ac_ext <<_LT_EOF
13741 subroutine foo
13742 implicit none
13743 integer a
13745 return
13747 _LT_EOF
13749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13750 (eval $ac_compile) 2>&5
13751 ac_status=$?
13752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13753 test $ac_status = 0; }; then
13754 # Parse the compiler output and extract the necessary
13755 # objects, libraries and library flags.
13757 # Sentinel used to keep track of whether or not we are before
13758 # the conftest object file.
13759 pre_test_object_deps_done=no
13761 for p in `eval "$output_verbose_link_cmd"`; do
13762 case $p in
13764 -L* | -R* | -l*)
13765 # Some compilers place space between "-{L,R}" and the path.
13766 # Remove the space.
13767 if test $p = "-L" ||
13768 test $p = "-R"; then
13769 prev=$p
13770 continue
13771 else
13772 prev=
13775 if test "$pre_test_object_deps_done" = no; then
13776 case $p in
13777 -L* | -R*)
13778 # Internal compiler library paths should come after those
13779 # provided the user. The postdeps already come after the
13780 # user supplied libs so there is no need to process them.
13781 if test -z "$compiler_lib_search_path_FC"; then
13782 compiler_lib_search_path_FC="${prev}${p}"
13783 else
13784 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13787 # The "-l" case would never come before the object being
13788 # linked, so don't bother handling this case.
13789 esac
13790 else
13791 if test -z "$postdeps_FC"; then
13792 postdeps_FC="${prev}${p}"
13793 else
13794 postdeps_FC="${postdeps_FC} ${prev}${p}"
13799 *.$objext)
13800 # This assumes that the test object file only shows up
13801 # once in the compiler output.
13802 if test "$p" = "conftest.$objext"; then
13803 pre_test_object_deps_done=yes
13804 continue
13807 if test "$pre_test_object_deps_done" = no; then
13808 if test -z "$predep_objects_FC"; then
13809 predep_objects_FC="$p"
13810 else
13811 predep_objects_FC="$predep_objects_FC $p"
13813 else
13814 if test -z "$postdep_objects_FC"; then
13815 postdep_objects_FC="$p"
13816 else
13817 postdep_objects_FC="$postdep_objects_FC $p"
13822 *) ;; # Ignore the rest.
13824 esac
13825 done
13827 # Clean up.
13828 rm -f a.out a.exe
13829 else
13830 echo "libtool.m4: error: problem compiling FC test program"
13833 $RM -f confest.$objext
13835 # PORTME: override above test on systems where it is broken
13838 case " $postdeps_FC " in
13839 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13840 esac
13841 compiler_lib_search_dirs_FC=
13842 if test -n "${compiler_lib_search_path_FC}"; then
13843 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13876 lt_prog_compiler_wl_FC=
13877 lt_prog_compiler_pic_FC=
13878 lt_prog_compiler_static_FC=
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13881 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13883 if test "$GCC" = yes; then
13884 lt_prog_compiler_wl_FC='-Wl,'
13885 lt_prog_compiler_static_FC='-static'
13887 case $host_os in
13888 aix*)
13889 # All AIX code is PIC.
13890 if test "$host_cpu" = ia64; then
13891 # AIX 5 now supports IA64 processor
13892 lt_prog_compiler_static_FC='-Bstatic'
13894 lt_prog_compiler_pic_FC='-fPIC'
13897 amigaos*)
13898 case $host_cpu in
13899 powerpc)
13900 # see comment about AmigaOS4 .so support
13901 lt_prog_compiler_pic_FC='-fPIC'
13903 m68k)
13904 # FIXME: we need at least 68020 code to build shared libraries, but
13905 # adding the `-m68020' flag to GCC prevents building anything better,
13906 # like `-m68040'.
13907 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13909 esac
13912 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13913 # PIC is the default for these OSes.
13916 mingw* | cygwin* | pw32* | os2* | cegcc*)
13917 # This hack is so that the source file can tell whether it is being
13918 # built for inclusion in a dll (and should export symbols for example).
13919 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13920 # (--disable-auto-import) libraries
13921 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13924 darwin* | rhapsody*)
13925 # PIC is the default on this platform
13926 # Common symbols not allowed in MH_DYLIB files
13927 lt_prog_compiler_pic_FC='-fno-common'
13930 haiku*)
13931 # PIC is the default for Haiku.
13932 # The "-static" flag exists, but is broken.
13933 lt_prog_compiler_static_FC=
13936 hpux*)
13937 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13938 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13939 # sets the default TLS model and affects inlining.
13940 case $host_cpu in
13941 hppa*64*)
13942 # +Z the default
13945 lt_prog_compiler_pic_FC='-fPIC'
13947 esac
13950 interix[3-9]*)
13951 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13952 # Instead, we relocate shared libraries at runtime.
13955 msdosdjgpp*)
13956 # Just because we use GCC doesn't mean we suddenly get shared libraries
13957 # on systems that don't support them.
13958 lt_prog_compiler_can_build_shared_FC=no
13959 enable_shared=no
13962 *nto* | *qnx*)
13963 # QNX uses GNU C++, but need to define -shared option too, otherwise
13964 # it will coredump.
13965 lt_prog_compiler_pic_FC='-fPIC -shared'
13968 sysv4*MP*)
13969 if test -d /usr/nec; then
13970 lt_prog_compiler_pic_FC=-Kconform_pic
13975 lt_prog_compiler_pic_FC='-fPIC'
13977 esac
13979 case $cc_basename in
13980 nvcc*) # Cuda Compiler Driver 2.2
13981 lt_prog_compiler_wl_FC='-Xlinker '
13982 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13984 esac
13985 else
13986 # PORTME Check for flag to pass linker flags through the system compiler.
13987 case $host_os in
13988 aix*)
13989 lt_prog_compiler_wl_FC='-Wl,'
13990 if test "$host_cpu" = ia64; then
13991 # AIX 5 now supports IA64 processor
13992 lt_prog_compiler_static_FC='-Bstatic'
13993 else
13994 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13998 mingw* | cygwin* | pw32* | os2* | cegcc*)
13999 # This hack is so that the source file can tell whether it is being
14000 # built for inclusion in a dll (and should export symbols for example).
14001 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
14004 hpux9* | hpux10* | hpux11*)
14005 lt_prog_compiler_wl_FC='-Wl,'
14006 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14007 # not for PA HP-UX.
14008 case $host_cpu in
14009 hppa*64*|ia64*)
14010 # +Z the default
14013 lt_prog_compiler_pic_FC='+Z'
14015 esac
14016 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14017 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
14020 irix5* | irix6* | nonstopux*)
14021 lt_prog_compiler_wl_FC='-Wl,'
14022 # PIC (with -KPIC) is the default.
14023 lt_prog_compiler_static_FC='-non_shared'
14026 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14027 case $cc_basename in
14028 # old Intel for x86_64 which still supported -KPIC.
14029 ecc*)
14030 lt_prog_compiler_wl_FC='-Wl,'
14031 lt_prog_compiler_pic_FC='-KPIC'
14032 lt_prog_compiler_static_FC='-static'
14034 # icc used to be incompatible with GCC.
14035 # ICC 10 doesn't accept -KPIC any more.
14036 icc* | ifort*)
14037 lt_prog_compiler_wl_FC='-Wl,'
14038 lt_prog_compiler_pic_FC='-fPIC'
14039 lt_prog_compiler_static_FC='-static'
14041 # Lahey Fortran 8.1.
14042 lf95*)
14043 lt_prog_compiler_wl_FC='-Wl,'
14044 lt_prog_compiler_pic_FC='--shared'
14045 lt_prog_compiler_static_FC='--static'
14047 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
14048 # Portland Group compilers (*not* the Pentium gcc compiler,
14049 # which looks to be a dead project)
14050 lt_prog_compiler_wl_FC='-Wl,'
14051 lt_prog_compiler_pic_FC='-fpic'
14052 lt_prog_compiler_static_FC='-Bstatic'
14054 ccc*)
14055 lt_prog_compiler_wl_FC='-Wl,'
14056 # All Alpha code is PIC.
14057 lt_prog_compiler_static_FC='-non_shared'
14059 xl* | bgxl* | bgf* | mpixl*)
14060 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14061 lt_prog_compiler_wl_FC='-Wl,'
14062 lt_prog_compiler_pic_FC='-qpic'
14063 lt_prog_compiler_static_FC='-qstaticlink'
14066 case `$CC -V 2>&1 | sed 5q` in
14067 *Sun\ F* | *Sun*Fortran*)
14068 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14069 lt_prog_compiler_pic_FC='-KPIC'
14070 lt_prog_compiler_static_FC='-Bstatic'
14071 lt_prog_compiler_wl_FC=''
14073 *Sun\ C*)
14074 # Sun C 5.9
14075 lt_prog_compiler_pic_FC='-KPIC'
14076 lt_prog_compiler_static_FC='-Bstatic'
14077 lt_prog_compiler_wl_FC='-Wl,'
14079 esac
14081 esac
14084 newsos6)
14085 lt_prog_compiler_pic_FC='-KPIC'
14086 lt_prog_compiler_static_FC='-Bstatic'
14089 *nto* | *qnx*)
14090 # QNX uses GNU C++, but need to define -shared option too, otherwise
14091 # it will coredump.
14092 lt_prog_compiler_pic_FC='-fPIC -shared'
14095 osf3* | osf4* | osf5*)
14096 lt_prog_compiler_wl_FC='-Wl,'
14097 # All OSF/1 code is PIC.
14098 lt_prog_compiler_static_FC='-non_shared'
14101 rdos*)
14102 lt_prog_compiler_static_FC='-non_shared'
14105 solaris*)
14106 lt_prog_compiler_pic_FC='-KPIC'
14107 lt_prog_compiler_static_FC='-Bstatic'
14108 case $cc_basename in
14109 f77* | f90* | f95*)
14110 lt_prog_compiler_wl_FC='-Qoption ld ';;
14112 lt_prog_compiler_wl_FC='-Wl,';;
14113 esac
14116 sunos4*)
14117 lt_prog_compiler_wl_FC='-Qoption ld '
14118 lt_prog_compiler_pic_FC='-PIC'
14119 lt_prog_compiler_static_FC='-Bstatic'
14122 sysv4 | sysv4.2uw2* | sysv4.3*)
14123 lt_prog_compiler_wl_FC='-Wl,'
14124 lt_prog_compiler_pic_FC='-KPIC'
14125 lt_prog_compiler_static_FC='-Bstatic'
14128 sysv4*MP*)
14129 if test -d /usr/nec ;then
14130 lt_prog_compiler_pic_FC='-Kconform_pic'
14131 lt_prog_compiler_static_FC='-Bstatic'
14135 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14136 lt_prog_compiler_wl_FC='-Wl,'
14137 lt_prog_compiler_pic_FC='-KPIC'
14138 lt_prog_compiler_static_FC='-Bstatic'
14141 unicos*)
14142 lt_prog_compiler_wl_FC='-Wl,'
14143 lt_prog_compiler_can_build_shared_FC=no
14146 uts4*)
14147 lt_prog_compiler_pic_FC='-pic'
14148 lt_prog_compiler_static_FC='-Bstatic'
14152 lt_prog_compiler_can_build_shared_FC=no
14154 esac
14157 case $host_os in
14158 # For platforms which do not support PIC, -DPIC is meaningless:
14159 *djgpp*)
14160 lt_prog_compiler_pic_FC=
14163 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14165 esac
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14167 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14172 # Check to make sure the PIC flag actually works.
14174 if test -n "$lt_prog_compiler_pic_FC"; then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14176 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14177 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 lt_cv_prog_compiler_pic_works_FC=no
14181 ac_outfile=conftest.$ac_objext
14182 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14183 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14184 # Insert the option either (1) after the last *FLAGS variable, or
14185 # (2) before a word containing "conftest.", or (3) at the end.
14186 # Note that $ac_compile itself does not contain backslashes and begins
14187 # with a dollar sign (not a hyphen), so the echo should work correctly.
14188 # The option is referenced via a variable to avoid confusing sed.
14189 lt_compile=`echo "$ac_compile" | $SED \
14190 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14191 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14192 -e 's:$: $lt_compiler_flag:'`
14193 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14194 (eval "$lt_compile" 2>conftest.err)
14195 ac_status=$?
14196 cat conftest.err >&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 if (exit $ac_status) && test -s "$ac_outfile"; then
14199 # The compiler can only warn and ignore the option if not recognized
14200 # So say no if there are warnings other than the usual output.
14201 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14202 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14203 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14204 lt_cv_prog_compiler_pic_works_FC=yes
14207 $RM conftest*
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14211 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14213 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14214 case $lt_prog_compiler_pic_FC in
14215 "" | " "*) ;;
14216 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14217 esac
14218 else
14219 lt_prog_compiler_pic_FC=
14220 lt_prog_compiler_can_build_shared_FC=no
14228 # Check to make sure the static flag actually works.
14230 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14232 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14233 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235 else
14236 lt_cv_prog_compiler_static_works_FC=no
14237 save_LDFLAGS="$LDFLAGS"
14238 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14239 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14240 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14241 # The linker can only warn and ignore the option if not recognized
14242 # So say no if there are warnings
14243 if test -s conftest.err; then
14244 # Append any errors to the config.log.
14245 cat conftest.err 1>&5
14246 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14247 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14248 if diff conftest.exp conftest.er2 >/dev/null; then
14249 lt_cv_prog_compiler_static_works_FC=yes
14251 else
14252 lt_cv_prog_compiler_static_works_FC=yes
14255 $RM -r conftest*
14256 LDFLAGS="$save_LDFLAGS"
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14260 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14262 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14264 else
14265 lt_prog_compiler_static_FC=
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14272 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14273 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14274 $as_echo_n "(cached) " >&6
14275 else
14276 lt_cv_prog_compiler_c_o_FC=no
14277 $RM -r conftest 2>/dev/null
14278 mkdir conftest
14279 cd conftest
14280 mkdir out
14281 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14283 lt_compiler_flag="-o out/conftest2.$ac_objext"
14284 # Insert the option either (1) after the last *FLAGS variable, or
14285 # (2) before a word containing "conftest.", or (3) at the end.
14286 # Note that $ac_compile itself does not contain backslashes and begins
14287 # with a dollar sign (not a hyphen), so the echo should work correctly.
14288 lt_compile=`echo "$ac_compile" | $SED \
14289 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14291 -e 's:$: $lt_compiler_flag:'`
14292 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14293 (eval "$lt_compile" 2>out/conftest.err)
14294 ac_status=$?
14295 cat out/conftest.err >&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14298 then
14299 # The compiler can only warn and ignore the option if not recognized
14300 # So say no if there are warnings
14301 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14302 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14303 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14304 lt_cv_prog_compiler_c_o_FC=yes
14307 chmod u+w . 2>&5
14308 $RM conftest*
14309 # SGI C++ compiler will create directory out/ii_files/ for
14310 # template instantiation
14311 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14312 $RM out/* && rmdir out
14313 cd ..
14314 $RM -r conftest
14315 $RM conftest*
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14319 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14324 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14325 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14326 $as_echo_n "(cached) " >&6
14327 else
14328 lt_cv_prog_compiler_c_o_FC=no
14329 $RM -r conftest 2>/dev/null
14330 mkdir conftest
14331 cd conftest
14332 mkdir out
14333 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14335 lt_compiler_flag="-o out/conftest2.$ac_objext"
14336 # Insert the option either (1) after the last *FLAGS variable, or
14337 # (2) before a word containing "conftest.", or (3) at the end.
14338 # Note that $ac_compile itself does not contain backslashes and begins
14339 # with a dollar sign (not a hyphen), so the echo should work correctly.
14340 lt_compile=`echo "$ac_compile" | $SED \
14341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14343 -e 's:$: $lt_compiler_flag:'`
14344 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14345 (eval "$lt_compile" 2>out/conftest.err)
14346 ac_status=$?
14347 cat out/conftest.err >&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14350 then
14351 # The compiler can only warn and ignore the option if not recognized
14352 # So say no if there are warnings
14353 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14354 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14355 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14356 lt_cv_prog_compiler_c_o_FC=yes
14359 chmod u+w . 2>&5
14360 $RM conftest*
14361 # SGI C++ compiler will create directory out/ii_files/ for
14362 # template instantiation
14363 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14364 $RM out/* && rmdir out
14365 cd ..
14366 $RM -r conftest
14367 $RM conftest*
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14371 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14376 hard_links="nottested"
14377 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14378 # do not overwrite the value of need_locks provided by the user
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14380 $as_echo_n "checking if we can lock with hard links... " >&6; }
14381 hard_links=yes
14382 $RM conftest*
14383 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14384 touch conftest.a
14385 ln conftest.a conftest.b 2>&5 || hard_links=no
14386 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14388 $as_echo "$hard_links" >&6; }
14389 if test "$hard_links" = no; then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14391 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14392 need_locks=warn
14394 else
14395 need_locks=no
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14401 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14403 runpath_var=
14404 allow_undefined_flag_FC=
14405 always_export_symbols_FC=no
14406 archive_cmds_FC=
14407 archive_expsym_cmds_FC=
14408 compiler_needs_object_FC=no
14409 enable_shared_with_static_runtimes_FC=no
14410 export_dynamic_flag_spec_FC=
14411 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14412 hardcode_automatic_FC=no
14413 hardcode_direct_FC=no
14414 hardcode_direct_absolute_FC=no
14415 hardcode_libdir_flag_spec_FC=
14416 hardcode_libdir_flag_spec_ld_FC=
14417 hardcode_libdir_separator_FC=
14418 hardcode_minus_L_FC=no
14419 hardcode_shlibpath_var_FC=unsupported
14420 inherit_rpath_FC=no
14421 link_all_deplibs_FC=unknown
14422 module_cmds_FC=
14423 module_expsym_cmds_FC=
14424 old_archive_from_new_cmds_FC=
14425 old_archive_from_expsyms_cmds_FC=
14426 thread_safe_flag_spec_FC=
14427 whole_archive_flag_spec_FC=
14428 # include_expsyms should be a list of space-separated symbols to be *always*
14429 # included in the symbol list
14430 include_expsyms_FC=
14431 # exclude_expsyms can be an extended regexp of symbols to exclude
14432 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14433 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14434 # as well as any symbol that contains `d'.
14435 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14436 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14437 # platforms (ab)use it in PIC code, but their linkers get confused if
14438 # the symbol is explicitly referenced. Since portable code cannot
14439 # rely on this symbol name, it's probably fine to never include it in
14440 # preloaded symbol tables.
14441 # Exclude shared library initialization/finalization symbols.
14442 extract_expsyms_cmds=
14444 case $host_os in
14445 cygwin* | mingw* | pw32* | cegcc*)
14446 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14447 # When not using gcc, we currently assume that we are using
14448 # Microsoft Visual C++.
14449 if test "$GCC" != yes; then
14450 with_gnu_ld=no
14453 interix*)
14454 # we just hope/assume this is gcc and not c89 (= MSVC++)
14455 with_gnu_ld=yes
14457 openbsd*)
14458 with_gnu_ld=no
14460 esac
14462 ld_shlibs_FC=yes
14464 # On some targets, GNU ld is compatible enough with the native linker
14465 # that we're better off using the native interface for both.
14466 lt_use_gnu_ld_interface=no
14467 if test "$with_gnu_ld" = yes; then
14468 case $host_os in
14469 aix*)
14470 # The AIX port of GNU ld has always aspired to compatibility
14471 # with the native linker. However, as the warning in the GNU ld
14472 # block says, versions before 2.19.5* couldn't really create working
14473 # shared libraries, regardless of the interface used.
14474 case `$LD -v 2>&1` in
14475 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14476 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14477 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14479 lt_use_gnu_ld_interface=yes
14481 esac
14484 lt_use_gnu_ld_interface=yes
14486 esac
14489 if test "$lt_use_gnu_ld_interface" = yes; then
14490 # If archive_cmds runs LD, not CC, wlarc should be empty
14491 wlarc='${wl}'
14493 # Set some defaults for GNU ld with shared library support. These
14494 # are reset later if shared libraries are not supported. Putting them
14495 # here allows them to be overridden if necessary.
14496 runpath_var=LD_RUN_PATH
14497 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14498 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14499 # ancient GNU ld didn't support --whole-archive et. al.
14500 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14501 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14502 else
14503 whole_archive_flag_spec_FC=
14505 supports_anon_versioning=no
14506 case `$LD -v 2>&1` in
14507 *GNU\ gold*) supports_anon_versioning=yes ;;
14508 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14509 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14510 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14511 *\ 2.11.*) ;; # other 2.11 versions
14512 *) supports_anon_versioning=yes ;;
14513 esac
14515 # See if GNU ld supports shared libraries.
14516 case $host_os in
14517 aix[3-9]*)
14518 # On AIX/PPC, the GNU linker is very broken
14519 if test "$host_cpu" != ia64; then
14520 ld_shlibs_FC=no
14521 cat <<_LT_EOF 1>&2
14523 *** Warning: the GNU linker, at least up to release 2.19, is reported
14524 *** to be unable to reliably create shared libraries on AIX.
14525 *** Therefore, libtool is disabling shared libraries support. If you
14526 *** really care for shared libraries, you may want to install binutils
14527 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14528 *** You will then need to restart the configuration process.
14530 _LT_EOF
14534 amigaos*)
14535 case $host_cpu in
14536 powerpc)
14537 # see comment about AmigaOS4 .so support
14538 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14539 archive_expsym_cmds_FC=''
14541 m68k)
14542 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)'
14543 hardcode_libdir_flag_spec_FC='-L$libdir'
14544 hardcode_minus_L_FC=yes
14546 esac
14549 beos*)
14550 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14551 allow_undefined_flag_FC=unsupported
14552 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14553 # support --undefined. This deserves some investigation. FIXME
14554 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14555 else
14556 ld_shlibs_FC=no
14560 cygwin* | mingw* | pw32* | cegcc*)
14561 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14562 # as there is no search path for DLLs.
14563 hardcode_libdir_flag_spec_FC='-L$libdir'
14564 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14565 allow_undefined_flag_FC=unsupported
14566 always_export_symbols_FC=no
14567 enable_shared_with_static_runtimes_FC=yes
14568 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14570 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14571 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14572 # If the export-symbols file already is a .def file (1st line
14573 # is EXPORTS), use it as is; otherwise, prepend...
14574 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14575 cp $export_symbols $output_objdir/$soname.def;
14576 else
14577 echo EXPORTS > $output_objdir/$soname.def;
14578 cat $export_symbols >> $output_objdir/$soname.def;
14580 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14581 else
14582 ld_shlibs_FC=no
14586 haiku*)
14587 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14588 link_all_deplibs_FC=yes
14591 interix[3-9]*)
14592 hardcode_direct_FC=no
14593 hardcode_shlibpath_var_FC=no
14594 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14595 export_dynamic_flag_spec_FC='${wl}-E'
14596 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14597 # Instead, shared libraries are loaded at an image base (0x10000000 by
14598 # default) and relocated if they conflict, which is a slow very memory
14599 # consuming and fragmenting process. To avoid this, we pick a random,
14600 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14601 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14602 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'
14603 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'
14606 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14607 tmp_diet=no
14608 if test "$host_os" = linux-dietlibc; then
14609 case $cc_basename in
14610 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14611 esac
14613 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14614 && test "$tmp_diet" = no
14615 then
14616 tmp_addflag=' $pic_flag'
14617 tmp_sharedflag='-shared'
14618 case $cc_basename,$host_cpu in
14619 pgcc*) # Portland Group C compiler
14620 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'
14621 tmp_addflag=' $pic_flag'
14623 pgf77* | pgf90* | pgf95* | pgfortran*)
14624 # Portland Group f77 and f90 compilers
14625 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'
14626 tmp_addflag=' $pic_flag -Mnomain' ;;
14627 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14628 tmp_addflag=' -i_dynamic' ;;
14629 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14630 tmp_addflag=' -i_dynamic -nofor_main' ;;
14631 ifc* | ifort*) # Intel Fortran compiler
14632 tmp_addflag=' -nofor_main' ;;
14633 lf95*) # Lahey Fortran 8.1
14634 whole_archive_flag_spec_FC=
14635 tmp_sharedflag='--shared' ;;
14636 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14637 tmp_sharedflag='-qmkshrobj'
14638 tmp_addflag= ;;
14639 nvcc*) # Cuda Compiler Driver 2.2
14640 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'
14641 compiler_needs_object_FC=yes
14643 esac
14644 case `$CC -V 2>&1 | sed 5q` in
14645 *Sun\ C*) # Sun C 5.9
14646 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'
14647 compiler_needs_object_FC=yes
14648 tmp_sharedflag='-G' ;;
14649 *Sun\ F*) # Sun Fortran 8.3
14650 tmp_sharedflag='-G' ;;
14651 esac
14652 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14654 if test "x$supports_anon_versioning" = xyes; then
14655 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14656 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14657 echo "local: *; };" >> $output_objdir/$libname.ver~
14658 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14661 case $cc_basename in
14662 xlf* | bgf* | bgxlf* | mpixlf*)
14663 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14664 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14665 hardcode_libdir_flag_spec_FC=
14666 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14667 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14668 if test "x$supports_anon_versioning" = xyes; then
14669 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14670 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14671 echo "local: *; };" >> $output_objdir/$libname.ver~
14672 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14675 esac
14676 else
14677 ld_shlibs_FC=no
14681 netbsd*)
14682 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14683 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14684 wlarc=
14685 else
14686 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14687 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14691 solaris*)
14692 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14693 ld_shlibs_FC=no
14694 cat <<_LT_EOF 1>&2
14696 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14697 *** create shared libraries on Solaris systems. Therefore, libtool
14698 *** is disabling shared libraries support. We urge you to upgrade GNU
14699 *** binutils to release 2.9.1 or newer. Another option is to modify
14700 *** your PATH or compiler configuration so that the native linker is
14701 *** used, and then restart.
14703 _LT_EOF
14704 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14705 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14706 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14707 else
14708 ld_shlibs_FC=no
14712 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14713 case `$LD -v 2>&1` in
14714 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14715 ld_shlibs_FC=no
14716 cat <<_LT_EOF 1>&2
14718 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14719 *** reliably create shared libraries on SCO systems. Therefore, libtool
14720 *** is disabling shared libraries support. We urge you to upgrade GNU
14721 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14722 *** your PATH or compiler configuration so that the native linker is
14723 *** used, and then restart.
14725 _LT_EOF
14728 # For security reasons, it is highly recommended that you always
14729 # use absolute paths for naming shared libraries, and exclude the
14730 # DT_RUNPATH tag from executables and libraries. But doing so
14731 # requires that you compile everything twice, which is a pain.
14732 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14733 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14734 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14735 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14736 else
14737 ld_shlibs_FC=no
14740 esac
14743 sunos4*)
14744 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14745 wlarc=
14746 hardcode_direct_FC=yes
14747 hardcode_shlibpath_var_FC=no
14751 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14752 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14753 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14754 else
14755 ld_shlibs_FC=no
14758 esac
14760 if test "$ld_shlibs_FC" = no; then
14761 runpath_var=
14762 hardcode_libdir_flag_spec_FC=
14763 export_dynamic_flag_spec_FC=
14764 whole_archive_flag_spec_FC=
14766 else
14767 # PORTME fill in a description of your system's linker (not GNU ld)
14768 case $host_os in
14769 aix3*)
14770 allow_undefined_flag_FC=unsupported
14771 always_export_symbols_FC=yes
14772 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'
14773 # Note: this linker hardcodes the directories in LIBPATH if there
14774 # are no directories specified by -L.
14775 hardcode_minus_L_FC=yes
14776 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14777 # Neither direct hardcoding nor static linking is supported with a
14778 # broken collect2.
14779 hardcode_direct_FC=unsupported
14783 aix[4-9]*)
14784 if test "$host_cpu" = ia64; then
14785 # On IA64, the linker does run time linking by default, so we don't
14786 # have to do anything special.
14787 aix_use_runtimelinking=no
14788 exp_sym_flag='-Bexport'
14789 no_entry_flag=""
14790 else
14791 # If we're using GNU nm, then we don't want the "-C" option.
14792 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14793 # Also, AIX nm treats weak defined symbols like other global
14794 # defined symbols, whereas GNU nm marks them as "W".
14795 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14796 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'
14797 else
14798 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'
14800 aix_use_runtimelinking=no
14802 # Test if we are trying to use run time linking or normal
14803 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14804 # need to do runtime linking.
14805 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14806 for ld_flag in $LDFLAGS; do
14807 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14808 aix_use_runtimelinking=yes
14809 break
14811 done
14813 esac
14815 exp_sym_flag='-bexport'
14816 no_entry_flag='-bnoentry'
14819 # When large executables or shared objects are built, AIX ld can
14820 # have problems creating the table of contents. If linking a library
14821 # or program results in "error TOC overflow" add -mminimal-toc to
14822 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14823 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14825 archive_cmds_FC=''
14826 hardcode_direct_FC=yes
14827 hardcode_direct_absolute_FC=yes
14828 hardcode_libdir_separator_FC=':'
14829 link_all_deplibs_FC=yes
14830 file_list_spec_FC='${wl}-f,'
14832 if test "$GCC" = yes; then
14833 case $host_os in aix4.[012]|aix4.[012].*)
14834 # We only want to do this on AIX 4.2 and lower, the check
14835 # below for broken collect2 doesn't work under 4.3+
14836 collect2name=`${CC} -print-prog-name=collect2`
14837 if test -f "$collect2name" &&
14838 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14839 then
14840 # We have reworked collect2
14842 else
14843 # We have old collect2
14844 hardcode_direct_FC=unsupported
14845 # It fails to find uninstalled libraries when the uninstalled
14846 # path is not listed in the libpath. Setting hardcode_minus_L
14847 # to unsupported forces relinking
14848 hardcode_minus_L_FC=yes
14849 hardcode_libdir_flag_spec_FC='-L$libdir'
14850 hardcode_libdir_separator_FC=
14853 esac
14854 shared_flag='-shared'
14855 if test "$aix_use_runtimelinking" = yes; then
14856 shared_flag="$shared_flag "'${wl}-G'
14858 else
14859 # not using gcc
14860 if test "$host_cpu" = ia64; then
14861 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14862 # chokes on -Wl,-G. The following line is correct:
14863 shared_flag='-G'
14864 else
14865 if test "$aix_use_runtimelinking" = yes; then
14866 shared_flag='${wl}-G'
14867 else
14868 shared_flag='${wl}-bM:SRE'
14873 export_dynamic_flag_spec_FC='${wl}-bexpall'
14874 # It seems that -bexpall does not export symbols beginning with
14875 # underscore (_), so it is better to generate a list of symbols to export.
14876 always_export_symbols_FC=yes
14877 if test "$aix_use_runtimelinking" = yes; then
14878 # Warning - without using the other runtime loading flags (-brtl),
14879 # -berok will link without error, but may produce a broken library.
14880 allow_undefined_flag_FC='-berok'
14881 # Determine the default libpath from the value encoded in an
14882 # empty executable.
14883 if test x$gcc_no_link = xyes; then
14884 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14886 cat > conftest.$ac_ext <<_ACEOF
14887 program main
14890 _ACEOF
14891 if ac_fn_fc_try_link "$LINENO"; then :
14893 lt_aix_libpath_sed='
14894 /Import File Strings/,/^$/ {
14895 /^0/ {
14896 s/^0 *\(.*\)$/\1/
14900 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14901 # Check for a 64-bit object if we didn't find anything.
14902 if test -z "$aix_libpath"; then
14903 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14906 rm -f core conftest.err conftest.$ac_objext \
14907 conftest$ac_exeext conftest.$ac_ext
14908 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14910 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14911 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"
14912 else
14913 if test "$host_cpu" = ia64; then
14914 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14915 allow_undefined_flag_FC="-z nodefs"
14916 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"
14917 else
14918 # Determine the default libpath from the value encoded in an
14919 # empty executable.
14920 if test x$gcc_no_link = xyes; then
14921 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14923 cat > conftest.$ac_ext <<_ACEOF
14924 program main
14927 _ACEOF
14928 if ac_fn_fc_try_link "$LINENO"; then :
14930 lt_aix_libpath_sed='
14931 /Import File Strings/,/^$/ {
14932 /^0/ {
14933 s/^0 *\(.*\)$/\1/
14937 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14938 # Check for a 64-bit object if we didn't find anything.
14939 if test -z "$aix_libpath"; then
14940 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14943 rm -f core conftest.err conftest.$ac_objext \
14944 conftest$ac_exeext conftest.$ac_ext
14945 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14947 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14948 # Warning - without using the other run time loading flags,
14949 # -berok will link without error, but may produce a broken library.
14950 no_undefined_flag_FC=' ${wl}-bernotok'
14951 allow_undefined_flag_FC=' ${wl}-berok'
14952 if test "$with_gnu_ld" = yes; then
14953 # We only use this code for GNU lds that support --whole-archive.
14954 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14955 else
14956 # Exported symbols can be pulled into shared objects from archives
14957 whole_archive_flag_spec_FC='$convenience'
14959 archive_cmds_need_lc_FC=yes
14960 # This is similar to how AIX traditionally builds its shared libraries.
14961 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'
14966 amigaos*)
14967 case $host_cpu in
14968 powerpc)
14969 # see comment about AmigaOS4 .so support
14970 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14971 archive_expsym_cmds_FC=''
14973 m68k)
14974 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)'
14975 hardcode_libdir_flag_spec_FC='-L$libdir'
14976 hardcode_minus_L_FC=yes
14978 esac
14981 bsdi[45]*)
14982 export_dynamic_flag_spec_FC=-rdynamic
14985 cygwin* | mingw* | pw32* | cegcc*)
14986 # When not using gcc, we currently assume that we are using
14987 # Microsoft Visual C++.
14988 # hardcode_libdir_flag_spec is actually meaningless, as there is
14989 # no search path for DLLs.
14990 hardcode_libdir_flag_spec_FC=' '
14991 allow_undefined_flag_FC=unsupported
14992 # Tell ltmain to make .lib files, not .a files.
14993 libext=lib
14994 # Tell ltmain to make .dll files, not .so files.
14995 shrext_cmds=".dll"
14996 # FIXME: Setting linknames here is a bad hack.
14997 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14998 # The linker will automatically build a .lib file if we build a DLL.
14999 old_archive_from_new_cmds_FC='true'
15000 # FIXME: Should let the user specify the lib program.
15001 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
15002 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
15003 enable_shared_with_static_runtimes_FC=yes
15006 darwin* | rhapsody*)
15010 # Publish an arg to allow the user to select that Darwin host (and target)
15011 # libraries should be given install-names like @rpath/libfoo.dylib. This
15012 # requires that the user of the library then adds an 'rpath' to the DSO that
15013 # needs access.
15014 # NOTE: there are defaults below, for systems that support rpaths. The person
15015 # configuring can override the defaults for any system version that supports
15016 # them - they are, however, forced off for system versions without support.
15017 # Check whether --enable-darwin-at-rpath was given.
15018 if test "${enable_darwin_at_rpath+set}" = set; then :
15019 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
15020 # This is not supported before macOS 10.5 / Darwin9.
15021 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15022 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
15024 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
15025 enable_darwin_at_rpath=no
15027 esac
15029 else
15030 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15031 # As above, before 10.5 / Darwin9 this does not work.
15032 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
15033 enable_darwin_at_rpath=no
15036 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
15037 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
15038 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
15039 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
15041 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
15042 enable_darwin_at_rpath=yes
15044 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
15045 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
15047 esac
15052 archive_cmds_need_lc_FC=no
15053 hardcode_direct_FC=no
15054 hardcode_automatic_FC=yes
15055 hardcode_shlibpath_var_FC=unsupported
15056 if test "$lt_cv_ld_force_load" = "yes"; then
15057 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\"`'
15058 else
15059 whole_archive_flag_spec_FC=''
15061 link_all_deplibs_FC=yes
15062 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
15063 case $cc_basename in
15064 ifort*) _lt_dar_can_shared=yes ;;
15065 *) _lt_dar_can_shared=$GCC ;;
15066 esac
15067 if test "$_lt_dar_can_shared" = "yes"; then
15068 output_verbose_link_cmd=func_echo_all
15069 _lt_install_name='\$rpath/\$soname'
15070 if test "x$enable_darwin_at_rpath" = "xyes"; then
15071 _lt_install_name='@rpath/\$soname'
15073 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
15074 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15075 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
15076 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}"
15078 else
15079 ld_shlibs_FC=no
15084 dgux*)
15085 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15086 hardcode_libdir_flag_spec_FC='-L$libdir'
15087 hardcode_shlibpath_var_FC=no
15090 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15091 # support. Future versions do this automatically, but an explicit c++rt0.o
15092 # does not break anything, and helps significantly (at the cost of a little
15093 # extra space).
15094 freebsd2.2*)
15095 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15096 hardcode_libdir_flag_spec_FC='-R$libdir'
15097 hardcode_direct_FC=yes
15098 hardcode_shlibpath_var_FC=no
15101 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15102 freebsd2.*)
15103 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15104 hardcode_direct_FC=yes
15105 hardcode_minus_L_FC=yes
15106 hardcode_shlibpath_var_FC=no
15109 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15110 freebsd* | dragonfly*)
15111 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15112 hardcode_libdir_flag_spec_FC='-R$libdir'
15113 hardcode_direct_FC=yes
15114 hardcode_shlibpath_var_FC=no
15117 hpux9*)
15118 if test "$GCC" = yes; then
15119 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'
15120 else
15121 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'
15123 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15124 hardcode_libdir_separator_FC=:
15125 hardcode_direct_FC=yes
15127 # hardcode_minus_L: Not really in the search PATH,
15128 # but as the default location of the library.
15129 hardcode_minus_L_FC=yes
15130 export_dynamic_flag_spec_FC='${wl}-E'
15133 hpux10*)
15134 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15135 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15136 else
15137 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15139 if test "$with_gnu_ld" = no; then
15140 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15141 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15142 hardcode_libdir_separator_FC=:
15143 hardcode_direct_FC=yes
15144 hardcode_direct_absolute_FC=yes
15145 export_dynamic_flag_spec_FC='${wl}-E'
15146 # hardcode_minus_L: Not really in the search PATH,
15147 # but as the default location of the library.
15148 hardcode_minus_L_FC=yes
15152 hpux11*)
15153 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15154 case $host_cpu in
15155 hppa*64*)
15156 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15158 ia64*)
15159 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15162 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15164 esac
15165 else
15166 case $host_cpu in
15167 hppa*64*)
15168 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15170 ia64*)
15171 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15174 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15176 esac
15178 if test "$with_gnu_ld" = no; then
15179 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15180 hardcode_libdir_separator_FC=:
15182 case $host_cpu in
15183 hppa*64*|ia64*)
15184 hardcode_direct_FC=no
15185 hardcode_shlibpath_var_FC=no
15188 hardcode_direct_FC=yes
15189 hardcode_direct_absolute_FC=yes
15190 export_dynamic_flag_spec_FC='${wl}-E'
15192 # hardcode_minus_L: Not really in the search PATH,
15193 # but as the default location of the library.
15194 hardcode_minus_L_FC=yes
15196 esac
15200 irix5* | irix6* | nonstopux*)
15201 if test "$GCC" = yes; then
15202 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'
15203 # Try to use the -exported_symbol ld option, if it does not
15204 # work, assume that -exports_file does not work either and
15205 # implicitly export all symbols.
15206 save_LDFLAGS="$LDFLAGS"
15207 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15208 if test x$gcc_no_link = xyes; then
15209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15211 cat > conftest.$ac_ext <<_ACEOF
15212 int foo(void) {}
15213 _ACEOF
15214 if ac_fn_fc_try_link "$LINENO"; then :
15215 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'
15218 rm -f core conftest.err conftest.$ac_objext \
15219 conftest$ac_exeext conftest.$ac_ext
15220 LDFLAGS="$save_LDFLAGS"
15221 else
15222 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'
15223 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'
15225 archive_cmds_need_lc_FC='no'
15226 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15227 hardcode_libdir_separator_FC=:
15228 inherit_rpath_FC=yes
15229 link_all_deplibs_FC=yes
15232 netbsd*)
15233 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15234 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15235 else
15236 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15238 hardcode_libdir_flag_spec_FC='-R$libdir'
15239 hardcode_direct_FC=yes
15240 hardcode_shlibpath_var_FC=no
15243 newsos6)
15244 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15245 hardcode_direct_FC=yes
15246 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15247 hardcode_libdir_separator_FC=:
15248 hardcode_shlibpath_var_FC=no
15251 *nto* | *qnx*)
15254 openbsd*)
15255 if test -f /usr/libexec/ld.so; then
15256 hardcode_direct_FC=yes
15257 hardcode_shlibpath_var_FC=no
15258 hardcode_direct_absolute_FC=yes
15259 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15260 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15261 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15262 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15263 export_dynamic_flag_spec_FC='${wl}-E'
15264 else
15265 case $host_os in
15266 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15267 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15268 hardcode_libdir_flag_spec_FC='-R$libdir'
15271 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15272 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15274 esac
15276 else
15277 ld_shlibs_FC=no
15281 os2*)
15282 hardcode_libdir_flag_spec_FC='-L$libdir'
15283 hardcode_minus_L_FC=yes
15284 allow_undefined_flag_FC=unsupported
15285 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'
15286 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15289 osf3*)
15290 if test "$GCC" = yes; then
15291 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15292 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'
15293 else
15294 allow_undefined_flag_FC=' -expect_unresolved \*'
15295 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'
15297 archive_cmds_need_lc_FC='no'
15298 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15299 hardcode_libdir_separator_FC=:
15302 osf4* | osf5*) # as osf3* with the addition of -msym flag
15303 if test "$GCC" = yes; then
15304 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15305 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'
15306 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15307 else
15308 allow_undefined_flag_FC=' -expect_unresolved \*'
15309 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'
15310 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~
15311 $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'
15313 # Both c and cxx compiler support -rpath directly
15314 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15316 archive_cmds_need_lc_FC='no'
15317 hardcode_libdir_separator_FC=:
15320 solaris*)
15321 no_undefined_flag_FC=' -z defs'
15322 if test "$GCC" = yes; then
15323 wlarc='${wl}'
15324 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15325 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15326 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15327 else
15328 case `$CC -V 2>&1` in
15329 *"Compilers 5.0"*)
15330 wlarc=''
15331 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15332 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15333 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15336 wlarc='${wl}'
15337 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15338 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15339 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15341 esac
15343 hardcode_libdir_flag_spec_FC='-R$libdir'
15344 hardcode_shlibpath_var_FC=no
15345 case $host_os in
15346 solaris2.[0-5] | solaris2.[0-5].*) ;;
15348 # The compiler driver will combine and reorder linker options,
15349 # but understands `-z linker_flag'. GCC discards it without `$wl',
15350 # but is careful enough not to reorder.
15351 # Supported since Solaris 2.6 (maybe 2.5.1?)
15352 if test "$GCC" = yes; then
15353 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15354 else
15355 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15358 esac
15359 link_all_deplibs_FC=yes
15362 sunos4*)
15363 if test "x$host_vendor" = xsequent; then
15364 # Use $CC to link under sequent, because it throws in some extra .o
15365 # files that make .init and .fini sections work.
15366 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15367 else
15368 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15370 hardcode_libdir_flag_spec_FC='-L$libdir'
15371 hardcode_direct_FC=yes
15372 hardcode_minus_L_FC=yes
15373 hardcode_shlibpath_var_FC=no
15376 sysv4)
15377 case $host_vendor in
15378 sni)
15379 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15380 hardcode_direct_FC=yes # is this really true???
15382 siemens)
15383 ## LD is ld it makes a PLAMLIB
15384 ## CC just makes a GrossModule.
15385 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15386 reload_cmds_FC='$CC -r -o $output$reload_objs'
15387 hardcode_direct_FC=no
15389 motorola)
15390 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15391 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15393 esac
15394 runpath_var='LD_RUN_PATH'
15395 hardcode_shlibpath_var_FC=no
15398 sysv4.3*)
15399 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15400 hardcode_shlibpath_var_FC=no
15401 export_dynamic_flag_spec_FC='-Bexport'
15404 sysv4*MP*)
15405 if test -d /usr/nec; then
15406 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15407 hardcode_shlibpath_var_FC=no
15408 runpath_var=LD_RUN_PATH
15409 hardcode_runpath_var=yes
15410 ld_shlibs_FC=yes
15414 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15415 no_undefined_flag_FC='${wl}-z,text'
15416 archive_cmds_need_lc_FC=no
15417 hardcode_shlibpath_var_FC=no
15418 runpath_var='LD_RUN_PATH'
15420 if test "$GCC" = yes; then
15421 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15422 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15423 else
15424 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15425 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15429 sysv5* | sco3.2v5* | sco5v6*)
15430 # Note: We can NOT use -z defs as we might desire, because we do not
15431 # link with -lc, and that would cause any symbols used from libc to
15432 # always be unresolved, which means just about no library would
15433 # ever link correctly. If we're not using GNU ld we use -z text
15434 # though, which does catch some bad symbols but isn't as heavy-handed
15435 # as -z defs.
15436 no_undefined_flag_FC='${wl}-z,text'
15437 allow_undefined_flag_FC='${wl}-z,nodefs'
15438 archive_cmds_need_lc_FC=no
15439 hardcode_shlibpath_var_FC=no
15440 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15441 hardcode_libdir_separator_FC=':'
15442 link_all_deplibs_FC=yes
15443 export_dynamic_flag_spec_FC='${wl}-Bexport'
15444 runpath_var='LD_RUN_PATH'
15446 if test "$GCC" = yes; then
15447 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15448 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15449 else
15450 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15451 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15455 uts4*)
15456 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15457 hardcode_libdir_flag_spec_FC='-L$libdir'
15458 hardcode_shlibpath_var_FC=no
15462 ld_shlibs_FC=no
15464 esac
15466 if test x$host_vendor = xsni; then
15467 case $host in
15468 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15469 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15471 esac
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15476 $as_echo "$ld_shlibs_FC" >&6; }
15477 test "$ld_shlibs_FC" = no && can_build_shared=no
15479 with_gnu_ld_FC=$with_gnu_ld
15487 # Do we need to explicitly link libc?
15489 case "x$archive_cmds_need_lc_FC" in
15490 x|xyes)
15491 # Assume -lc should be added
15492 archive_cmds_need_lc_FC=yes
15494 if test "$enable_shared" = yes && test "$GCC" = yes; then
15495 case $archive_cmds_FC in
15496 *'~'*)
15497 # FIXME: we may have to deal with multi-command sequences.
15499 '$CC '*)
15500 # Test whether the compiler implicitly links with -lc since on some
15501 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15502 # to ld, don't add -lc before -lgcc.
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15504 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15505 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15506 $as_echo_n "(cached) " >&6
15507 else
15508 $RM conftest*
15509 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; } 2>conftest.err; then
15516 soname=conftest
15517 lib=conftest
15518 libobjs=conftest.$ac_objext
15519 deplibs=
15520 wl=$lt_prog_compiler_wl_FC
15521 pic_flag=$lt_prog_compiler_pic_FC
15522 compiler_flags=-v
15523 linker_flags=-v
15524 verstring=
15525 output_objdir=.
15526 libname=conftest
15527 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15528 allow_undefined_flag_FC=
15529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15530 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15531 ac_status=$?
15532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533 test $ac_status = 0; }
15534 then
15535 lt_cv_archive_cmds_need_lc_FC=no
15536 else
15537 lt_cv_archive_cmds_need_lc_FC=yes
15539 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15540 else
15541 cat conftest.err 1>&5
15543 $RM conftest*
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15547 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15548 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15550 esac
15553 esac
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15619 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15621 library_names_spec=
15622 libname_spec='lib$name'
15623 soname_spec=
15624 shrext_cmds=".so"
15625 postinstall_cmds=
15626 postuninstall_cmds=
15627 finish_cmds=
15628 finish_eval=
15629 shlibpath_var=
15630 shlibpath_overrides_runpath=unknown
15631 version_type=none
15632 dynamic_linker="$host_os ld.so"
15633 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15634 need_lib_prefix=unknown
15635 hardcode_into_libs=no
15637 # when you set need_version to no, make sure it does not cause -set_version
15638 # flags to be left without arguments
15639 need_version=unknown
15641 case $host_os in
15642 aix3*)
15643 version_type=linux
15644 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15645 shlibpath_var=LIBPATH
15647 # AIX 3 has no versioning support, so we append a major version to the name.
15648 soname_spec='${libname}${release}${shared_ext}$major'
15651 aix[4-9]*)
15652 version_type=linux
15653 need_lib_prefix=no
15654 need_version=no
15655 hardcode_into_libs=yes
15656 if test "$host_cpu" = ia64; then
15657 # AIX 5 supports IA64
15658 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15659 shlibpath_var=LD_LIBRARY_PATH
15660 else
15661 # With GCC up to 2.95.x, collect2 would create an import file
15662 # for dependence libraries. The import file would start with
15663 # the line `#! .'. This would cause the generated library to
15664 # depend on `.', always an invalid library. This was fixed in
15665 # development snapshots of GCC prior to 3.0.
15666 case $host_os in
15667 aix4 | aix4.[01] | aix4.[01].*)
15668 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15669 echo ' yes '
15670 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15672 else
15673 can_build_shared=no
15676 esac
15677 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15678 # soname into executable. Probably we can add versioning support to
15679 # collect2, so additional links can be useful in future.
15680 if test "$aix_use_runtimelinking" = yes; then
15681 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15682 # instead of lib<name>.a to let people know that these are not
15683 # typical AIX shared libraries.
15684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15685 else
15686 # We preserve .a as extension for shared libraries through AIX4.2
15687 # and later when we are not doing run time linking.
15688 library_names_spec='${libname}${release}.a $libname.a'
15689 soname_spec='${libname}${release}${shared_ext}$major'
15691 shlibpath_var=LIBPATH
15695 amigaos*)
15696 case $host_cpu in
15697 powerpc)
15698 # Since July 2007 AmigaOS4 officially supports .so libraries.
15699 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15702 m68k)
15703 library_names_spec='$libname.ixlibrary $libname.a'
15704 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15705 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'
15707 esac
15710 beos*)
15711 library_names_spec='${libname}${shared_ext}'
15712 dynamic_linker="$host_os ld.so"
15713 shlibpath_var=LIBRARY_PATH
15716 bsdi[45]*)
15717 version_type=linux
15718 need_version=no
15719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15720 soname_spec='${libname}${release}${shared_ext}$major'
15721 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15722 shlibpath_var=LD_LIBRARY_PATH
15723 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15724 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15725 # the default ld.so.conf also contains /usr/contrib/lib and
15726 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15727 # libtool to hard-code these into programs
15730 cygwin* | mingw* | pw32* | cegcc*)
15731 version_type=windows
15732 shrext_cmds=".dll"
15733 need_version=no
15734 need_lib_prefix=no
15736 case $GCC,$host_os in
15737 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15738 library_names_spec='$libname.dll.a'
15739 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15740 postinstall_cmds='base_file=`basename \${file}`~
15741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15742 dldir=$destdir/`dirname \$dlpath`~
15743 test -d \$dldir || mkdir -p \$dldir~
15744 $install_prog $dir/$dlname \$dldir/$dlname~
15745 chmod a+x \$dldir/$dlname~
15746 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15747 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15749 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15750 dlpath=$dir/\$dldll~
15751 $RM \$dlpath'
15752 shlibpath_overrides_runpath=yes
15754 case $host_os in
15755 cygwin*)
15756 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15757 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15760 mingw* | cegcc*)
15761 # MinGW DLLs use traditional 'lib' prefix
15762 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15764 pw32*)
15765 # pw32 DLLs use 'pw' prefix rather than 'lib'
15766 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15768 esac
15772 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15774 esac
15775 dynamic_linker='Win32 ld.exe'
15776 # FIXME: first we should search . and the directory the executable is in
15777 shlibpath_var=PATH
15780 darwin* | rhapsody*)
15781 dynamic_linker="$host_os dyld"
15782 version_type=darwin
15783 need_lib_prefix=no
15784 need_version=no
15785 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15786 soname_spec='${libname}${release}${major}$shared_ext'
15787 shlibpath_overrides_runpath=yes
15788 shlibpath_var=DYLD_LIBRARY_PATH
15789 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15791 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15794 dgux*)
15795 version_type=linux
15796 need_lib_prefix=no
15797 need_version=no
15798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15799 soname_spec='${libname}${release}${shared_ext}$major'
15800 shlibpath_var=LD_LIBRARY_PATH
15803 freebsd* | dragonfly*)
15804 # DragonFly does not have aout. When/if they implement a new
15805 # versioning mechanism, adjust this.
15806 if test -x /usr/bin/objformat; then
15807 objformat=`/usr/bin/objformat`
15808 else
15809 case $host_os in
15810 freebsd[23].*) objformat=aout ;;
15811 *) objformat=elf ;;
15812 esac
15814 version_type=freebsd-$objformat
15815 case $version_type in
15816 freebsd-elf*)
15817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15818 need_version=no
15819 need_lib_prefix=no
15821 freebsd-*)
15822 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15823 need_version=yes
15825 esac
15826 shlibpath_var=LD_LIBRARY_PATH
15827 case $host_os in
15828 freebsd2.*)
15829 shlibpath_overrides_runpath=yes
15831 freebsd3.[01]* | freebsdelf3.[01]*)
15832 shlibpath_overrides_runpath=yes
15833 hardcode_into_libs=yes
15835 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15836 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15837 shlibpath_overrides_runpath=no
15838 hardcode_into_libs=yes
15840 *) # from 4.6 on, and DragonFly
15841 shlibpath_overrides_runpath=yes
15842 hardcode_into_libs=yes
15844 esac
15847 haiku*)
15848 version_type=linux
15849 need_lib_prefix=no
15850 need_version=no
15851 dynamic_linker="$host_os runtime_loader"
15852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15853 soname_spec='${libname}${release}${shared_ext}$major'
15854 shlibpath_var=LIBRARY_PATH
15855 shlibpath_overrides_runpath=yes
15856 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15857 hardcode_into_libs=yes
15860 hpux9* | hpux10* | hpux11*)
15861 # Give a soname corresponding to the major version so that dld.sl refuses to
15862 # link against other versions.
15863 version_type=sunos
15864 need_lib_prefix=no
15865 need_version=no
15866 case $host_cpu in
15867 ia64*)
15868 shrext_cmds='.so'
15869 hardcode_into_libs=yes
15870 dynamic_linker="$host_os dld.so"
15871 shlibpath_var=LD_LIBRARY_PATH
15872 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15874 soname_spec='${libname}${release}${shared_ext}$major'
15875 if test "X$HPUX_IA64_MODE" = X32; then
15876 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15877 else
15878 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15880 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15882 hppa*64*)
15883 shrext_cmds='.sl'
15884 hardcode_into_libs=yes
15885 dynamic_linker="$host_os dld.sl"
15886 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15887 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15889 soname_spec='${libname}${release}${shared_ext}$major'
15890 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15891 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15894 shrext_cmds='.sl'
15895 dynamic_linker="$host_os dld.sl"
15896 shlibpath_var=SHLIB_PATH
15897 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15899 soname_spec='${libname}${release}${shared_ext}$major'
15901 esac
15902 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15903 postinstall_cmds='chmod 555 $lib'
15904 # or fails outright, so override atomically:
15905 install_override_mode=555
15908 interix[3-9]*)
15909 version_type=linux
15910 need_lib_prefix=no
15911 need_version=no
15912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15913 soname_spec='${libname}${release}${shared_ext}$major'
15914 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15915 shlibpath_var=LD_LIBRARY_PATH
15916 shlibpath_overrides_runpath=no
15917 hardcode_into_libs=yes
15920 irix5* | irix6* | nonstopux*)
15921 case $host_os in
15922 nonstopux*) version_type=nonstopux ;;
15924 if test "$lt_cv_prog_gnu_ld" = yes; then
15925 version_type=linux
15926 else
15927 version_type=irix
15928 fi ;;
15929 esac
15930 need_lib_prefix=no
15931 need_version=no
15932 soname_spec='${libname}${release}${shared_ext}$major'
15933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15934 case $host_os in
15935 irix5* | nonstopux*)
15936 libsuff= shlibsuff=
15939 case $LD in # libtool.m4 will add one of these switches to LD
15940 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15941 libsuff= shlibsuff= libmagic=32-bit;;
15942 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15943 libsuff=32 shlibsuff=N32 libmagic=N32;;
15944 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15945 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15946 *) libsuff= shlibsuff= libmagic=never-match;;
15947 esac
15949 esac
15950 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15951 shlibpath_overrides_runpath=no
15952 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15953 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15954 hardcode_into_libs=yes
15957 # No shared lib support for Linux oldld, aout, or coff.
15958 linux*oldld* | linux*aout* | linux*coff*)
15959 dynamic_linker=no
15962 # This must be Linux ELF.
15964 # uclinux* changes (here and below) have been submitted to the libtool
15965 # project, but have not yet been accepted: they are GCC-local changes
15966 # for the time being. (See
15967 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15968 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15969 version_type=linux
15970 need_lib_prefix=no
15971 need_version=no
15972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15973 soname_spec='${libname}${release}${shared_ext}$major'
15974 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15975 shlibpath_var=LD_LIBRARY_PATH
15976 shlibpath_overrides_runpath=no
15978 # Some binutils ld are patched to set DT_RUNPATH
15979 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15980 $as_echo_n "(cached) " >&6
15981 else
15982 lt_cv_shlibpath_overrides_runpath=no
15983 save_LDFLAGS=$LDFLAGS
15984 save_libdir=$libdir
15985 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15986 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15987 if test x$gcc_no_link = xyes; then
15988 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15990 cat > conftest.$ac_ext <<_ACEOF
15991 program main
15994 _ACEOF
15995 if ac_fn_fc_try_link "$LINENO"; then :
15996 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15997 lt_cv_shlibpath_overrides_runpath=yes
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16002 LDFLAGS=$save_LDFLAGS
16003 libdir=$save_libdir
16007 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16009 # This implies no fast_install, which is unacceptable.
16010 # Some rework will be needed to allow for fast_install
16011 # before this can be enabled.
16012 hardcode_into_libs=yes
16014 # Append ld.so.conf contents to the search path
16015 if test -f /etc/ld.so.conf; then
16016 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' ' '`
16017 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16020 # We used to test for /lib/ld.so.1 and disable shared libraries on
16021 # powerpc, because MkLinux only supported shared libraries with the
16022 # GNU dynamic linker. Since this was broken with cross compilers,
16023 # most powerpc-linux boxes support dynamic linking these days and
16024 # people can always --disable-shared, the test was removed, and we
16025 # assume the GNU/Linux dynamic linker is in use.
16026 dynamic_linker='GNU/Linux ld.so'
16029 netbsd*)
16030 version_type=sunos
16031 need_lib_prefix=no
16032 need_version=no
16033 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16035 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16036 dynamic_linker='NetBSD (a.out) ld.so'
16037 else
16038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16039 soname_spec='${libname}${release}${shared_ext}$major'
16040 dynamic_linker='NetBSD ld.elf_so'
16042 shlibpath_var=LD_LIBRARY_PATH
16043 shlibpath_overrides_runpath=yes
16044 hardcode_into_libs=yes
16047 newsos6)
16048 version_type=linux
16049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16050 shlibpath_var=LD_LIBRARY_PATH
16051 shlibpath_overrides_runpath=yes
16054 *nto* | *qnx*)
16055 version_type=qnx
16056 need_lib_prefix=no
16057 need_version=no
16058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16059 soname_spec='${libname}${release}${shared_ext}$major'
16060 shlibpath_var=LD_LIBRARY_PATH
16061 shlibpath_overrides_runpath=no
16062 hardcode_into_libs=yes
16063 dynamic_linker='ldqnx.so'
16066 openbsd*)
16067 version_type=sunos
16068 sys_lib_dlsearch_path_spec="/usr/lib"
16069 need_lib_prefix=no
16070 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16071 case $host_os in
16072 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16073 *) need_version=no ;;
16074 esac
16075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16076 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16077 shlibpath_var=LD_LIBRARY_PATH
16078 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16079 case $host_os in
16080 openbsd2.[89] | openbsd2.[89].*)
16081 shlibpath_overrides_runpath=no
16084 shlibpath_overrides_runpath=yes
16086 esac
16087 else
16088 shlibpath_overrides_runpath=yes
16092 os2*)
16093 libname_spec='$name'
16094 shrext_cmds=".dll"
16095 need_lib_prefix=no
16096 library_names_spec='$libname${shared_ext} $libname.a'
16097 dynamic_linker='OS/2 ld.exe'
16098 shlibpath_var=LIBPATH
16101 osf3* | osf4* | osf5*)
16102 version_type=osf
16103 need_lib_prefix=no
16104 need_version=no
16105 soname_spec='${libname}${release}${shared_ext}$major'
16106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16107 shlibpath_var=LD_LIBRARY_PATH
16108 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16109 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16112 rdos*)
16113 dynamic_linker=no
16116 solaris*)
16117 version_type=linux
16118 need_lib_prefix=no
16119 need_version=no
16120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16121 soname_spec='${libname}${release}${shared_ext}$major'
16122 shlibpath_var=LD_LIBRARY_PATH
16123 shlibpath_overrides_runpath=yes
16124 hardcode_into_libs=yes
16125 # ldd complains unless libraries are executable
16126 postinstall_cmds='chmod +x $lib'
16129 sunos4*)
16130 version_type=sunos
16131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16132 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16133 shlibpath_var=LD_LIBRARY_PATH
16134 shlibpath_overrides_runpath=yes
16135 if test "$with_gnu_ld" = yes; then
16136 need_lib_prefix=no
16138 need_version=yes
16141 sysv4 | sysv4.3*)
16142 version_type=linux
16143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16144 soname_spec='${libname}${release}${shared_ext}$major'
16145 shlibpath_var=LD_LIBRARY_PATH
16146 case $host_vendor in
16147 sni)
16148 shlibpath_overrides_runpath=no
16149 need_lib_prefix=no
16150 runpath_var=LD_RUN_PATH
16152 siemens)
16153 need_lib_prefix=no
16155 motorola)
16156 need_lib_prefix=no
16157 need_version=no
16158 shlibpath_overrides_runpath=no
16159 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16161 esac
16164 sysv4*MP*)
16165 if test -d /usr/nec ;then
16166 version_type=linux
16167 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16168 soname_spec='$libname${shared_ext}.$major'
16169 shlibpath_var=LD_LIBRARY_PATH
16173 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16174 version_type=freebsd-elf
16175 need_lib_prefix=no
16176 need_version=no
16177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16178 soname_spec='${libname}${release}${shared_ext}$major'
16179 shlibpath_var=LD_LIBRARY_PATH
16180 shlibpath_overrides_runpath=yes
16181 hardcode_into_libs=yes
16182 if test "$with_gnu_ld" = yes; then
16183 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16184 else
16185 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16186 case $host_os in
16187 sco3.2v5*)
16188 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16190 esac
16192 sys_lib_dlsearch_path_spec='/usr/lib'
16195 tpf*)
16196 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16197 version_type=linux
16198 need_lib_prefix=no
16199 need_version=no
16200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16201 shlibpath_var=LD_LIBRARY_PATH
16202 shlibpath_overrides_runpath=no
16203 hardcode_into_libs=yes
16206 uts4*)
16207 version_type=linux
16208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16209 soname_spec='${libname}${release}${shared_ext}$major'
16210 shlibpath_var=LD_LIBRARY_PATH
16213 # Shared libraries for VwWorks, >= 7 only at this stage
16214 # and (fpic) still incompatible with "large" code models
16215 # in a few configurations. Only for RTP mode in any case,
16216 # and upon explicit request at configure time.
16217 vxworks7*)
16218 dynamic_linker=no
16219 case ${with_multisubdir}-${enable_shared} in
16220 *large*)
16222 *mrtp*-yes)
16223 version_type=linux
16224 need_lib_prefix=no
16225 need_version=no
16226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16227 soname_spec='${libname}${release}${shared_ext}$major'
16228 dynamic_linker="$host_os module_loader"
16230 esac
16233 dynamic_linker=no
16235 esac
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16237 $as_echo "$dynamic_linker" >&6; }
16238 test "$dynamic_linker" = no && can_build_shared=no
16240 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16241 if test "$GCC" = yes; then
16242 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16245 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16246 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16248 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16249 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16290 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16291 hardcode_action_FC=
16292 if test -n "$hardcode_libdir_flag_spec_FC" ||
16293 test -n "$runpath_var_FC" ||
16294 test "X$hardcode_automatic_FC" = "Xyes" ; then
16296 # We can hardcode non-existent directories.
16297 if test "$hardcode_direct_FC" != no &&
16298 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16299 # have to relink, otherwise we might link with an installed library
16300 # when we should be linking with a yet-to-be-installed one
16301 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16302 test "$hardcode_minus_L_FC" != no; then
16303 # Linking always hardcodes the temporary library directory.
16304 hardcode_action_FC=relink
16305 else
16306 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16307 hardcode_action_FC=immediate
16309 else
16310 # We cannot hardcode anything, or else we can only hardcode existing
16311 # directories.
16312 hardcode_action_FC=unsupported
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16315 $as_echo "$hardcode_action_FC" >&6; }
16317 if test "$hardcode_action_FC" = relink ||
16318 test "$inherit_rpath_FC" = yes; then
16319 # Fast installation is not supported
16320 enable_fast_install=no
16321 elif test "$shlibpath_overrides_runpath" = yes ||
16322 test "$enable_shared" = no; then
16323 # Fast installation is not necessary
16324 enable_fast_install=needless
16333 fi # test -n "$compiler"
16335 GCC=$lt_save_GCC
16336 CC="$lt_save_CC"
16337 fi # test "$_lt_disable_FC" != yes
16339 ac_ext=c
16340 ac_cpp='$CPP $CPPFLAGS'
16341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16347 # extra LD Flags which are required for targets
16348 extra_ldflags_libgfortran=
16349 case "${host}" in
16350 *-*-darwin[4567]*)
16351 # Earlier Darwin needs -single_module when linking libgfortran
16352 extra_ldflags_libgfortran=-Wl,-single_module
16354 esac
16357 # We need a working compiler at that point, otherwise give a clear
16358 # error message and bail out.
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16361 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16362 ac_ext=${ac_fc_srcext-f}
16363 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16364 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16365 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16367 cat > conftest.$ac_ext <<_ACEOF
16369 program foo
16370 real, parameter :: bar = sin (12.34 / 2.5)
16371 end program foo
16372 _ACEOF
16373 if ac_fn_fc_try_compile "$LINENO"; then :
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16375 $as_echo "yes" >&6; }
16376 else
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16378 $as_echo "no" >&6; }
16379 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383 ac_ext=c
16384 ac_cpp='$CPP $CPPFLAGS'
16385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16391 # Check whether --enable-largefile was given.
16392 if test "${enable_largefile+set}" = set; then :
16393 enableval=$enable_largefile;
16396 if test "$enable_largefile" != no; then
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16399 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16400 if ${ac_cv_sys_largefile_CC+:} false; then :
16401 $as_echo_n "(cached) " >&6
16402 else
16403 ac_cv_sys_largefile_CC=no
16404 if test "$GCC" != yes; then
16405 ac_save_CC=$CC
16406 while :; do
16407 # IRIX 6.2 and later do not support large files by default,
16408 # so use the C compiler's -n32 option if that helps.
16409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16411 #include <sys/types.h>
16412 /* Check that off_t can represent 2**63 - 1 correctly.
16413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16414 since some C++ compilers masquerading as C compilers
16415 incorrectly reject 9223372036854775807. */
16416 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16418 && LARGE_OFF_T % 2147483647 == 1)
16419 ? 1 : -1];
16421 main ()
16425 return 0;
16427 _ACEOF
16428 if ac_fn_c_try_compile "$LINENO"; then :
16429 break
16431 rm -f core conftest.err conftest.$ac_objext
16432 CC="$CC -n32"
16433 if ac_fn_c_try_compile "$LINENO"; then :
16434 ac_cv_sys_largefile_CC=' -n32'; break
16436 rm -f core conftest.err conftest.$ac_objext
16437 break
16438 done
16439 CC=$ac_save_CC
16440 rm -f conftest.$ac_ext
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16444 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16445 if test "$ac_cv_sys_largefile_CC" != no; then
16446 CC=$CC$ac_cv_sys_largefile_CC
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16450 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16451 if ${ac_cv_sys_file_offset_bits+:} false; then :
16452 $as_echo_n "(cached) " >&6
16453 else
16454 while :; do
16455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16457 #include <sys/types.h>
16458 /* Check that off_t can represent 2**63 - 1 correctly.
16459 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16460 since some C++ compilers masquerading as C compilers
16461 incorrectly reject 9223372036854775807. */
16462 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16463 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16464 && LARGE_OFF_T % 2147483647 == 1)
16465 ? 1 : -1];
16467 main ()
16471 return 0;
16473 _ACEOF
16474 if ac_fn_c_try_compile "$LINENO"; then :
16475 ac_cv_sys_file_offset_bits=no; break
16477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16480 #define _FILE_OFFSET_BITS 64
16481 #include <sys/types.h>
16482 /* Check that off_t can represent 2**63 - 1 correctly.
16483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16484 since some C++ compilers masquerading as C compilers
16485 incorrectly reject 9223372036854775807. */
16486 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16488 && LARGE_OFF_T % 2147483647 == 1)
16489 ? 1 : -1];
16491 main ()
16495 return 0;
16497 _ACEOF
16498 if ac_fn_c_try_compile "$LINENO"; then :
16499 ac_cv_sys_file_offset_bits=64; break
16501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16502 ac_cv_sys_file_offset_bits=unknown
16503 break
16504 done
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16507 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16508 case $ac_cv_sys_file_offset_bits in #(
16509 no | unknown) ;;
16511 cat >>confdefs.h <<_ACEOF
16512 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16513 _ACEOF
16515 esac
16516 rm -rf conftest*
16517 if test $ac_cv_sys_file_offset_bits = unknown; then
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16519 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16520 if ${ac_cv_sys_large_files+:} false; then :
16521 $as_echo_n "(cached) " >&6
16522 else
16523 while :; do
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16526 #include <sys/types.h>
16527 /* Check that off_t can represent 2**63 - 1 correctly.
16528 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16529 since some C++ compilers masquerading as C compilers
16530 incorrectly reject 9223372036854775807. */
16531 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16532 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16533 && LARGE_OFF_T % 2147483647 == 1)
16534 ? 1 : -1];
16536 main ()
16540 return 0;
16542 _ACEOF
16543 if ac_fn_c_try_compile "$LINENO"; then :
16544 ac_cv_sys_large_files=no; break
16546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16549 #define _LARGE_FILES 1
16550 #include <sys/types.h>
16551 /* Check that off_t can represent 2**63 - 1 correctly.
16552 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16553 since some C++ compilers masquerading as C compilers
16554 incorrectly reject 9223372036854775807. */
16555 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16556 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16557 && LARGE_OFF_T % 2147483647 == 1)
16558 ? 1 : -1];
16560 main ()
16564 return 0;
16566 _ACEOF
16567 if ac_fn_c_try_compile "$LINENO"; then :
16568 ac_cv_sys_large_files=1; break
16570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16571 ac_cv_sys_large_files=unknown
16572 break
16573 done
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16576 $as_echo "$ac_cv_sys_large_files" >&6; }
16577 case $ac_cv_sys_large_files in #(
16578 no | unknown) ;;
16580 cat >>confdefs.h <<_ACEOF
16581 #define _LARGE_FILES $ac_cv_sys_large_files
16582 _ACEOF
16584 esac
16585 rm -rf conftest*
16592 # Types
16593 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16594 if test "x$ac_cv_type_off_t" = xyes; then :
16596 else
16598 cat >>confdefs.h <<_ACEOF
16599 #define off_t long int
16600 _ACEOF
16605 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16606 if test "x$ac_cv_type_intptr_t" = xyes; then :
16608 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16610 else
16611 for ac_type in 'int' 'long int' 'long long int'; do
16612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16613 /* end confdefs.h. */
16614 $ac_includes_default
16616 main ()
16618 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16619 test_array [0] = 0;
16620 return test_array [0];
16623 return 0;
16625 _ACEOF
16626 if ac_fn_c_try_compile "$LINENO"; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define intptr_t $ac_type
16630 _ACEOF
16632 ac_type=
16634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16635 test -z "$ac_type" && break
16636 done
16641 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16642 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16644 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16646 else
16647 for ac_type in 'unsigned int' 'unsigned long int' \
16648 'unsigned long long int'; do
16649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16651 $ac_includes_default
16653 main ()
16655 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16656 test_array [0] = 0;
16657 return test_array [0];
16660 return 0;
16662 _ACEOF
16663 if ac_fn_c_try_compile "$LINENO"; then :
16665 cat >>confdefs.h <<_ACEOF
16666 #define uintptr_t $ac_type
16667 _ACEOF
16669 ac_type=
16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672 test -z "$ac_type" && break
16673 done
16677 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16678 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16680 cat >>confdefs.h <<_ACEOF
16681 #define HAVE_PTRDIFF_T 1
16682 _ACEOF
16688 # check header files (we assume C89 is available, so don't check for that)
16692 for ac_header in $ac_header_list
16693 do :
16694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16695 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16697 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16698 cat >>confdefs.h <<_ACEOF
16699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16700 _ACEOF
16704 done
16744 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16746 acx_cv_header_stdint=stddef.h
16747 acx_cv_header_stdint_kind="(already complete)"
16748 for i in stdint.h $inttype_headers; do
16749 unset ac_cv_type_uintptr_t
16750 unset ac_cv_type_uintmax_t
16751 unset ac_cv_type_int_least32_t
16752 unset ac_cv_type_int_fast32_t
16753 unset ac_cv_type_uint64_t
16754 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16755 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16756 #include <$i>
16758 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16759 acx_cv_header_stdint=$i
16760 else
16761 continue
16764 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16765 #include <$i>
16767 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16769 else
16770 acx_cv_header_stdint_kind="(mostly complete)"
16773 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16774 #include <$i>
16776 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16778 else
16779 acx_cv_header_stdint_kind="(mostly complete)"
16782 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16783 #include <$i>
16785 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16787 else
16788 acx_cv_header_stdint_kind="(mostly complete)"
16791 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16792 #include <$i>
16794 if test "x$ac_cv_type_uint64_t" = xyes; then :
16796 else
16797 acx_cv_header_stdint_kind="(lacks uint64_t)"
16800 break
16801 done
16802 if test "$acx_cv_header_stdint" = stddef.h; then
16803 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16804 for i in stdint.h $inttype_headers; do
16805 unset ac_cv_type_uintptr_t
16806 unset ac_cv_type_uint32_t
16807 unset ac_cv_type_uint64_t
16808 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16809 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16810 #include <$i>
16812 if test "x$ac_cv_type_uint32_t" = xyes; then :
16813 acx_cv_header_stdint=$i
16814 else
16815 continue
16818 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16819 #include <$i>
16821 if test "x$ac_cv_type_uint64_t" = xyes; then :
16825 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16826 #include <$i>
16828 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16832 break
16833 done
16835 if test "$acx_cv_header_stdint" = stddef.h; then
16836 acx_cv_header_stdint_kind="(u_intXX_t style)"
16837 for i in sys/types.h $inttype_headers; do
16838 unset ac_cv_type_u_int32_t
16839 unset ac_cv_type_u_int64_t
16840 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16841 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16842 #include <$i>
16844 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16845 acx_cv_header_stdint=$i
16846 else
16847 continue
16850 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16851 #include <$i>
16853 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16857 break
16858 done
16860 if test "$acx_cv_header_stdint" = stddef.h; then
16861 acx_cv_header_stdint_kind="(using manual detection)"
16864 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16865 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16866 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16867 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16868 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16870 # ----------------- Summarize what we found so far
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16873 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16875 case `$as_basename -- gstdint.h ||
16876 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16877 Xgstdint.h : 'X\(//\)$' \| \
16878 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16879 $as_echo X/gstdint.h |
16880 sed '/^.*\/\([^/][^/]*\)\/*$/{
16881 s//\1/
16884 /^X\/\(\/\/\)$/{
16885 s//\1/
16888 /^X\/\(\/\).*/{
16889 s//\1/
16892 s/.*/./; q'` in
16893 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16894 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16895 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16896 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16897 *) ;;
16898 esac
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16901 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16903 # ----------------- done included file, check C basic types --------
16905 # Lacking an uintptr_t? Test size of void *
16906 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16907 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16910 # This bug is HP SR number 8606223364.
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16912 $as_echo_n "checking size of void *... " >&6; }
16913 if ${ac_cv_sizeof_void_p+:} false; then :
16914 $as_echo_n "(cached) " >&6
16915 else
16916 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16918 else
16919 if test "$ac_cv_type_void_p" = yes; then
16920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16922 as_fn_error 77 "cannot compute sizeof (void *)
16923 See \`config.log' for more details" "$LINENO" 5; }
16924 else
16925 ac_cv_sizeof_void_p=0
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16931 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16935 cat >>confdefs.h <<_ACEOF
16936 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16937 _ACEOF
16940 esac
16942 # Lacking an uint64_t? Test size of long
16943 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16944 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16945 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16946 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16947 # This bug is HP SR number 8606223364.
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16949 $as_echo_n "checking size of long... " >&6; }
16950 if ${ac_cv_sizeof_long+:} false; then :
16951 $as_echo_n "(cached) " >&6
16952 else
16953 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16955 else
16956 if test "$ac_cv_type_long" = yes; then
16957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16959 as_fn_error 77 "cannot compute sizeof (long)
16960 See \`config.log' for more details" "$LINENO" 5; }
16961 else
16962 ac_cv_sizeof_long=0
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16968 $as_echo "$ac_cv_sizeof_long" >&6; }
16972 cat >>confdefs.h <<_ACEOF
16973 #define SIZEOF_LONG $ac_cv_sizeof_long
16974 _ACEOF
16977 esac
16979 if test $acx_cv_header_stdint = stddef.h; then
16980 # Lacking a good header? Test size of everything and deduce all types.
16981 # The cast to long int works around a bug in the HP C Compiler
16982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16984 # This bug is HP SR number 8606223364.
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16986 $as_echo_n "checking size of int... " >&6; }
16987 if ${ac_cv_sizeof_int+:} false; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16992 else
16993 if test "$ac_cv_type_int" = yes; then
16994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16996 as_fn_error 77 "cannot compute sizeof (int)
16997 See \`config.log' for more details" "$LINENO" 5; }
16998 else
16999 ac_cv_sizeof_int=0
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
17005 $as_echo "$ac_cv_sizeof_int" >&6; }
17009 cat >>confdefs.h <<_ACEOF
17010 #define SIZEOF_INT $ac_cv_sizeof_int
17011 _ACEOF
17014 # The cast to long int works around a bug in the HP C Compiler
17015 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17016 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17017 # This bug is HP SR number 8606223364.
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
17019 $as_echo_n "checking size of short... " >&6; }
17020 if ${ac_cv_sizeof_short+:} false; then :
17021 $as_echo_n "(cached) " >&6
17022 else
17023 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
17025 else
17026 if test "$ac_cv_type_short" = yes; then
17027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17029 as_fn_error 77 "cannot compute sizeof (short)
17030 See \`config.log' for more details" "$LINENO" 5; }
17031 else
17032 ac_cv_sizeof_short=0
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
17038 $as_echo "$ac_cv_sizeof_short" >&6; }
17042 cat >>confdefs.h <<_ACEOF
17043 #define SIZEOF_SHORT $ac_cv_sizeof_short
17044 _ACEOF
17047 # The cast to long int works around a bug in the HP C Compiler
17048 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17049 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17050 # This bug is HP SR number 8606223364.
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
17052 $as_echo_n "checking size of char... " >&6; }
17053 if ${ac_cv_sizeof_char+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
17058 else
17059 if test "$ac_cv_type_char" = yes; then
17060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17062 as_fn_error 77 "cannot compute sizeof (char)
17063 See \`config.log' for more details" "$LINENO" 5; }
17064 else
17065 ac_cv_sizeof_char=0
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
17071 $as_echo "$ac_cv_sizeof_char" >&6; }
17075 cat >>confdefs.h <<_ACEOF
17076 #define SIZEOF_CHAR $ac_cv_sizeof_char
17077 _ACEOF
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
17082 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
17083 case "$ac_cv_sizeof_char" in
17084 1) acx_cv_type_int8_t=char ;;
17085 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
17086 esac
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
17088 $as_echo "$acx_cv_type_int8_t" >&6; }
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
17091 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
17092 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17093 2:*) acx_cv_type_int16_t=int ;;
17094 *:2) acx_cv_type_int16_t=short ;;
17095 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
17096 esac
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
17098 $as_echo "$acx_cv_type_int16_t" >&6; }
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
17101 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
17102 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17103 4:*) acx_cv_type_int32_t=int ;;
17104 *:4) acx_cv_type_int32_t=long ;;
17105 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
17106 esac
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
17108 $as_echo "$acx_cv_type_int32_t" >&6; }
17111 # These tests are here to make the output prettier
17113 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17114 case "$ac_cv_sizeof_long" in
17115 8) acx_cv_type_int64_t=long ;;
17116 esac
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
17118 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17120 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17123 # Now we can use the above types
17125 if test "$ac_cv_type_uintptr_t" != yes; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17127 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17128 case $ac_cv_sizeof_void_p in
17129 2) acx_cv_type_intptr_t=int16_t ;;
17130 4) acx_cv_type_intptr_t=int32_t ;;
17131 8) acx_cv_type_intptr_t=int64_t ;;
17132 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
17133 esac
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17135 $as_echo "$acx_cv_type_intptr_t" >&6; }
17138 # ----------------- done all checks, emit header -------------
17139 ac_config_commands="$ac_config_commands gstdint.h"
17144 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17145 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
17147 cat >>confdefs.h <<_ACEOF
17148 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17149 _ACEOF
17153 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17154 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17158 _ACEOF
17162 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17163 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_STRUCT_STAT_ST_RDEV 1
17167 _ACEOF
17173 case "${host}--x${with_newlib}" in
17174 mips*--xyes)
17175 hardwire_newlib=1;;
17176 nvptx*--xyes)
17177 hardwire_newlib=1;;
17178 esac
17180 # Check for library functions.
17181 if test "${hardwire_newlib:-0}" -eq 1; then
17182 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17183 # may not work correctly, because the compiler may not be able to
17184 # link executables.
17186 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17189 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17192 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17195 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17198 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17201 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17204 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17207 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17210 # At some point, we should differentiate between architectures
17211 # like x86, which have long double versions, and alpha/powerpc/etc.,
17212 # which don't. For the time being, punt.
17213 if test x"long_double_math_on_this_cpu" = x"yes"; then
17215 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17218 else
17222 for ac_func in $ac_func_list
17223 do :
17224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17226 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17229 _ACEOF
17232 done
17349 # Check strerror_r, cannot be above as versions with two and three arguments exist
17351 ac_save_CFLAGS="$CFLAGS"
17352 CFLAGS="-Wimplicit-function-declaration -Werror"
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 #define _GNU_SOURCE 1
17356 #include <string.h>
17357 #include <locale.h>
17359 main ()
17361 char s[128]; strerror_r(5, s, 128);
17363 return 0;
17365 _ACEOF
17366 if ac_fn_c_try_compile "$LINENO"; then :
17368 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372 CFLAGS="$ac_save_CFLAGS"
17374 ac_save_CFLAGS="$CFLAGS"
17375 CFLAGS="-Wimplicit-function-declaration -Werror"
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 #define _GNU_SOURCE 1
17379 #include <string.h>
17380 #include <locale.h>
17382 main ()
17384 char s[128]; strerror_r(5, s);
17386 return 0;
17388 _ACEOF
17389 if ac_fn_c_try_compile "$LINENO"; then :
17391 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395 CFLAGS="$ac_save_CFLAGS"
17398 # Check for C99 (and other IEEE) math functions
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17400 $as_echo_n "checking for sin in -lm... " >&6; }
17401 if ${ac_cv_lib_m_sin+:} false; then :
17402 $as_echo_n "(cached) " >&6
17403 else
17404 ac_check_lib_save_LIBS=$LIBS
17405 LIBS="-lm $LIBS"
17406 if test x$gcc_no_link = xyes; then
17407 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17412 /* Override any GCC internal prototype to avoid an error.
17413 Use char because int might match the return type of a GCC
17414 builtin and then its argument prototype would still apply. */
17415 #ifdef __cplusplus
17416 extern "C"
17417 #endif
17418 char sin ();
17420 main ()
17422 return sin ();
17424 return 0;
17426 _ACEOF
17427 if ac_fn_c_try_link "$LINENO"; then :
17428 ac_cv_lib_m_sin=yes
17429 else
17430 ac_cv_lib_m_sin=no
17432 rm -f core conftest.err conftest.$ac_objext \
17433 conftest$ac_exeext conftest.$ac_ext
17434 LIBS=$ac_check_lib_save_LIBS
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17437 $as_echo "$ac_cv_lib_m_sin" >&6; }
17438 if test "x$ac_cv_lib_m_sin" = xyes; then :
17439 cat >>confdefs.h <<_ACEOF
17440 #define HAVE_LIBM 1
17441 _ACEOF
17443 LIBS="-lm $LIBS"
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17454 $as_echo_n "checking for acosf... " >&6; }
17455 if ${gcc_cv_math_func_acosf+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458 if test x$gcc_no_link = xyes; then
17459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17464 #ifdef HAVE_COMPLEX_H
17465 #include <complex.h>
17466 #endif
17467 #ifdef HAVE_MATH_H
17468 #include <math.h>
17469 #endif
17471 int (*ptr)() = (int (*)())acosf;
17474 main ()
17476 return 0;
17479 _ACEOF
17480 if ac_fn_c_try_link "$LINENO"; then :
17481 gcc_cv_math_func_acosf=yes
17482 else
17483 gcc_cv_math_func_acosf=no
17485 rm -f core conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17489 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17490 if test $gcc_cv_math_func_acosf = yes; then
17492 cat >>confdefs.h <<_ACEOF
17493 #define HAVE_ACOSF 1
17494 _ACEOF
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17502 $as_echo_n "checking for acos... " >&6; }
17503 if ${gcc_cv_math_func_acos+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 if test x$gcc_no_link = xyes; then
17507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17512 #ifdef HAVE_COMPLEX_H
17513 #include <complex.h>
17514 #endif
17515 #ifdef HAVE_MATH_H
17516 #include <math.h>
17517 #endif
17519 int (*ptr)() = (int (*)())acos;
17522 main ()
17524 return 0;
17527 _ACEOF
17528 if ac_fn_c_try_link "$LINENO"; then :
17529 gcc_cv_math_func_acos=yes
17530 else
17531 gcc_cv_math_func_acos=no
17533 rm -f core conftest.err conftest.$ac_objext \
17534 conftest$ac_exeext conftest.$ac_ext
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17537 $as_echo "$gcc_cv_math_func_acos" >&6; }
17538 if test $gcc_cv_math_func_acos = yes; then
17540 cat >>confdefs.h <<_ACEOF
17541 #define HAVE_ACOS 1
17542 _ACEOF
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17550 $as_echo_n "checking for acosl... " >&6; }
17551 if ${gcc_cv_math_func_acosl+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 if test x$gcc_no_link = xyes; then
17555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17560 #ifdef HAVE_COMPLEX_H
17561 #include <complex.h>
17562 #endif
17563 #ifdef HAVE_MATH_H
17564 #include <math.h>
17565 #endif
17567 int (*ptr)() = (int (*)())acosl;
17570 main ()
17572 return 0;
17575 _ACEOF
17576 if ac_fn_c_try_link "$LINENO"; then :
17577 gcc_cv_math_func_acosl=yes
17578 else
17579 gcc_cv_math_func_acosl=no
17581 rm -f core conftest.err conftest.$ac_objext \
17582 conftest$ac_exeext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17585 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17586 if test $gcc_cv_math_func_acosl = yes; then
17588 cat >>confdefs.h <<_ACEOF
17589 #define HAVE_ACOSL 1
17590 _ACEOF
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17598 $as_echo_n "checking for acoshf... " >&6; }
17599 if ${gcc_cv_math_func_acoshf+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 if test x$gcc_no_link = xyes; then
17603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17608 #ifdef HAVE_COMPLEX_H
17609 #include <complex.h>
17610 #endif
17611 #ifdef HAVE_MATH_H
17612 #include <math.h>
17613 #endif
17615 int (*ptr)() = (int (*)())acoshf;
17618 main ()
17620 return 0;
17623 _ACEOF
17624 if ac_fn_c_try_link "$LINENO"; then :
17625 gcc_cv_math_func_acoshf=yes
17626 else
17627 gcc_cv_math_func_acoshf=no
17629 rm -f core conftest.err conftest.$ac_objext \
17630 conftest$ac_exeext conftest.$ac_ext
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17633 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17634 if test $gcc_cv_math_func_acoshf = yes; then
17636 cat >>confdefs.h <<_ACEOF
17637 #define HAVE_ACOSHF 1
17638 _ACEOF
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17646 $as_echo_n "checking for acosh... " >&6; }
17647 if ${gcc_cv_math_func_acosh+:} false; then :
17648 $as_echo_n "(cached) " >&6
17649 else
17650 if test x$gcc_no_link = xyes; then
17651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17656 #ifdef HAVE_COMPLEX_H
17657 #include <complex.h>
17658 #endif
17659 #ifdef HAVE_MATH_H
17660 #include <math.h>
17661 #endif
17663 int (*ptr)() = (int (*)())acosh;
17666 main ()
17668 return 0;
17671 _ACEOF
17672 if ac_fn_c_try_link "$LINENO"; then :
17673 gcc_cv_math_func_acosh=yes
17674 else
17675 gcc_cv_math_func_acosh=no
17677 rm -f core conftest.err conftest.$ac_objext \
17678 conftest$ac_exeext conftest.$ac_ext
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17681 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17682 if test $gcc_cv_math_func_acosh = yes; then
17684 cat >>confdefs.h <<_ACEOF
17685 #define HAVE_ACOSH 1
17686 _ACEOF
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17694 $as_echo_n "checking for acoshl... " >&6; }
17695 if ${gcc_cv_math_func_acoshl+:} false; then :
17696 $as_echo_n "(cached) " >&6
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17704 #ifdef HAVE_COMPLEX_H
17705 #include <complex.h>
17706 #endif
17707 #ifdef HAVE_MATH_H
17708 #include <math.h>
17709 #endif
17711 int (*ptr)() = (int (*)())acoshl;
17714 main ()
17716 return 0;
17719 _ACEOF
17720 if ac_fn_c_try_link "$LINENO"; then :
17721 gcc_cv_math_func_acoshl=yes
17722 else
17723 gcc_cv_math_func_acoshl=no
17725 rm -f core conftest.err conftest.$ac_objext \
17726 conftest$ac_exeext conftest.$ac_ext
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17729 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17730 if test $gcc_cv_math_func_acoshl = yes; then
17732 cat >>confdefs.h <<_ACEOF
17733 #define HAVE_ACOSHL 1
17734 _ACEOF
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17742 $as_echo_n "checking for asinf... " >&6; }
17743 if ${gcc_cv_math_func_asinf+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745 else
17746 if test x$gcc_no_link = xyes; then
17747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17752 #ifdef HAVE_COMPLEX_H
17753 #include <complex.h>
17754 #endif
17755 #ifdef HAVE_MATH_H
17756 #include <math.h>
17757 #endif
17759 int (*ptr)() = (int (*)())asinf;
17762 main ()
17764 return 0;
17767 _ACEOF
17768 if ac_fn_c_try_link "$LINENO"; then :
17769 gcc_cv_math_func_asinf=yes
17770 else
17771 gcc_cv_math_func_asinf=no
17773 rm -f core conftest.err conftest.$ac_objext \
17774 conftest$ac_exeext conftest.$ac_ext
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17777 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17778 if test $gcc_cv_math_func_asinf = yes; then
17780 cat >>confdefs.h <<_ACEOF
17781 #define HAVE_ASINF 1
17782 _ACEOF
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17790 $as_echo_n "checking for asin... " >&6; }
17791 if ${gcc_cv_math_func_asin+:} false; then :
17792 $as_echo_n "(cached) " >&6
17793 else
17794 if test x$gcc_no_link = xyes; then
17795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17800 #ifdef HAVE_COMPLEX_H
17801 #include <complex.h>
17802 #endif
17803 #ifdef HAVE_MATH_H
17804 #include <math.h>
17805 #endif
17807 int (*ptr)() = (int (*)())asin;
17810 main ()
17812 return 0;
17815 _ACEOF
17816 if ac_fn_c_try_link "$LINENO"; then :
17817 gcc_cv_math_func_asin=yes
17818 else
17819 gcc_cv_math_func_asin=no
17821 rm -f core conftest.err conftest.$ac_objext \
17822 conftest$ac_exeext conftest.$ac_ext
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17825 $as_echo "$gcc_cv_math_func_asin" >&6; }
17826 if test $gcc_cv_math_func_asin = yes; then
17828 cat >>confdefs.h <<_ACEOF
17829 #define HAVE_ASIN 1
17830 _ACEOF
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17838 $as_echo_n "checking for asinl... " >&6; }
17839 if ${gcc_cv_math_func_asinl+:} false; then :
17840 $as_echo_n "(cached) " >&6
17841 else
17842 if test x$gcc_no_link = xyes; then
17843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h. */
17848 #ifdef HAVE_COMPLEX_H
17849 #include <complex.h>
17850 #endif
17851 #ifdef HAVE_MATH_H
17852 #include <math.h>
17853 #endif
17855 int (*ptr)() = (int (*)())asinl;
17858 main ()
17860 return 0;
17863 _ACEOF
17864 if ac_fn_c_try_link "$LINENO"; then :
17865 gcc_cv_math_func_asinl=yes
17866 else
17867 gcc_cv_math_func_asinl=no
17869 rm -f core conftest.err conftest.$ac_objext \
17870 conftest$ac_exeext conftest.$ac_ext
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17873 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17874 if test $gcc_cv_math_func_asinl = yes; then
17876 cat >>confdefs.h <<_ACEOF
17877 #define HAVE_ASINL 1
17878 _ACEOF
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17886 $as_echo_n "checking for asinhf... " >&6; }
17887 if ${gcc_cv_math_func_asinhf+:} false; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17890 if test x$gcc_no_link = xyes; then
17891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17896 #ifdef HAVE_COMPLEX_H
17897 #include <complex.h>
17898 #endif
17899 #ifdef HAVE_MATH_H
17900 #include <math.h>
17901 #endif
17903 int (*ptr)() = (int (*)())asinhf;
17906 main ()
17908 return 0;
17911 _ACEOF
17912 if ac_fn_c_try_link "$LINENO"; then :
17913 gcc_cv_math_func_asinhf=yes
17914 else
17915 gcc_cv_math_func_asinhf=no
17917 rm -f core conftest.err conftest.$ac_objext \
17918 conftest$ac_exeext conftest.$ac_ext
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17921 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17922 if test $gcc_cv_math_func_asinhf = yes; then
17924 cat >>confdefs.h <<_ACEOF
17925 #define HAVE_ASINHF 1
17926 _ACEOF
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17934 $as_echo_n "checking for asinh... " >&6; }
17935 if ${gcc_cv_math_func_asinh+:} false; then :
17936 $as_echo_n "(cached) " >&6
17937 else
17938 if test x$gcc_no_link = xyes; then
17939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17942 /* end confdefs.h. */
17944 #ifdef HAVE_COMPLEX_H
17945 #include <complex.h>
17946 #endif
17947 #ifdef HAVE_MATH_H
17948 #include <math.h>
17949 #endif
17951 int (*ptr)() = (int (*)())asinh;
17954 main ()
17956 return 0;
17959 _ACEOF
17960 if ac_fn_c_try_link "$LINENO"; then :
17961 gcc_cv_math_func_asinh=yes
17962 else
17963 gcc_cv_math_func_asinh=no
17965 rm -f core conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17969 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17970 if test $gcc_cv_math_func_asinh = yes; then
17972 cat >>confdefs.h <<_ACEOF
17973 #define HAVE_ASINH 1
17974 _ACEOF
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17982 $as_echo_n "checking for asinhl... " >&6; }
17983 if ${gcc_cv_math_func_asinhl+:} false; then :
17984 $as_echo_n "(cached) " >&6
17985 else
17986 if test x$gcc_no_link = xyes; then
17987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17992 #ifdef HAVE_COMPLEX_H
17993 #include <complex.h>
17994 #endif
17995 #ifdef HAVE_MATH_H
17996 #include <math.h>
17997 #endif
17999 int (*ptr)() = (int (*)())asinhl;
18002 main ()
18004 return 0;
18007 _ACEOF
18008 if ac_fn_c_try_link "$LINENO"; then :
18009 gcc_cv_math_func_asinhl=yes
18010 else
18011 gcc_cv_math_func_asinhl=no
18013 rm -f core conftest.err conftest.$ac_objext \
18014 conftest$ac_exeext conftest.$ac_ext
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
18017 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
18018 if test $gcc_cv_math_func_asinhl = yes; then
18020 cat >>confdefs.h <<_ACEOF
18021 #define HAVE_ASINHL 1
18022 _ACEOF
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
18030 $as_echo_n "checking for atan2f... " >&6; }
18031 if ${gcc_cv_math_func_atan2f+:} false; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18034 if test x$gcc_no_link = xyes; then
18035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18040 #ifdef HAVE_COMPLEX_H
18041 #include <complex.h>
18042 #endif
18043 #ifdef HAVE_MATH_H
18044 #include <math.h>
18045 #endif
18047 int (*ptr)() = (int (*)())atan2f;
18050 main ()
18052 return 0;
18055 _ACEOF
18056 if ac_fn_c_try_link "$LINENO"; then :
18057 gcc_cv_math_func_atan2f=yes
18058 else
18059 gcc_cv_math_func_atan2f=no
18061 rm -f core conftest.err conftest.$ac_objext \
18062 conftest$ac_exeext conftest.$ac_ext
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
18065 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
18066 if test $gcc_cv_math_func_atan2f = yes; then
18068 cat >>confdefs.h <<_ACEOF
18069 #define HAVE_ATAN2F 1
18070 _ACEOF
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
18078 $as_echo_n "checking for atan2... " >&6; }
18079 if ${gcc_cv_math_func_atan2+:} false; then :
18080 $as_echo_n "(cached) " >&6
18081 else
18082 if test x$gcc_no_link = xyes; then
18083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18088 #ifdef HAVE_COMPLEX_H
18089 #include <complex.h>
18090 #endif
18091 #ifdef HAVE_MATH_H
18092 #include <math.h>
18093 #endif
18095 int (*ptr)() = (int (*)())atan2;
18098 main ()
18100 return 0;
18103 _ACEOF
18104 if ac_fn_c_try_link "$LINENO"; then :
18105 gcc_cv_math_func_atan2=yes
18106 else
18107 gcc_cv_math_func_atan2=no
18109 rm -f core conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext conftest.$ac_ext
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
18113 $as_echo "$gcc_cv_math_func_atan2" >&6; }
18114 if test $gcc_cv_math_func_atan2 = yes; then
18116 cat >>confdefs.h <<_ACEOF
18117 #define HAVE_ATAN2 1
18118 _ACEOF
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18126 $as_echo_n "checking for atan2l... " >&6; }
18127 if ${gcc_cv_math_func_atan2l+:} false; then :
18128 $as_echo_n "(cached) " >&6
18129 else
18130 if test x$gcc_no_link = xyes; then
18131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18136 #ifdef HAVE_COMPLEX_H
18137 #include <complex.h>
18138 #endif
18139 #ifdef HAVE_MATH_H
18140 #include <math.h>
18141 #endif
18143 int (*ptr)() = (int (*)())atan2l;
18146 main ()
18148 return 0;
18151 _ACEOF
18152 if ac_fn_c_try_link "$LINENO"; then :
18153 gcc_cv_math_func_atan2l=yes
18154 else
18155 gcc_cv_math_func_atan2l=no
18157 rm -f core conftest.err conftest.$ac_objext \
18158 conftest$ac_exeext conftest.$ac_ext
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18161 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18162 if test $gcc_cv_math_func_atan2l = yes; then
18164 cat >>confdefs.h <<_ACEOF
18165 #define HAVE_ATAN2L 1
18166 _ACEOF
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18174 $as_echo_n "checking for atanf... " >&6; }
18175 if ${gcc_cv_math_func_atanf+:} false; then :
18176 $as_echo_n "(cached) " >&6
18177 else
18178 if test x$gcc_no_link = xyes; then
18179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18182 /* end confdefs.h. */
18184 #ifdef HAVE_COMPLEX_H
18185 #include <complex.h>
18186 #endif
18187 #ifdef HAVE_MATH_H
18188 #include <math.h>
18189 #endif
18191 int (*ptr)() = (int (*)())atanf;
18194 main ()
18196 return 0;
18199 _ACEOF
18200 if ac_fn_c_try_link "$LINENO"; then :
18201 gcc_cv_math_func_atanf=yes
18202 else
18203 gcc_cv_math_func_atanf=no
18205 rm -f core conftest.err conftest.$ac_objext \
18206 conftest$ac_exeext conftest.$ac_ext
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18209 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18210 if test $gcc_cv_math_func_atanf = yes; then
18212 cat >>confdefs.h <<_ACEOF
18213 #define HAVE_ATANF 1
18214 _ACEOF
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18222 $as_echo_n "checking for atan... " >&6; }
18223 if ${gcc_cv_math_func_atan+:} false; then :
18224 $as_echo_n "(cached) " >&6
18225 else
18226 if test x$gcc_no_link = xyes; then
18227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18230 /* end confdefs.h. */
18232 #ifdef HAVE_COMPLEX_H
18233 #include <complex.h>
18234 #endif
18235 #ifdef HAVE_MATH_H
18236 #include <math.h>
18237 #endif
18239 int (*ptr)() = (int (*)())atan;
18242 main ()
18244 return 0;
18247 _ACEOF
18248 if ac_fn_c_try_link "$LINENO"; then :
18249 gcc_cv_math_func_atan=yes
18250 else
18251 gcc_cv_math_func_atan=no
18253 rm -f core conftest.err conftest.$ac_objext \
18254 conftest$ac_exeext conftest.$ac_ext
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18257 $as_echo "$gcc_cv_math_func_atan" >&6; }
18258 if test $gcc_cv_math_func_atan = yes; then
18260 cat >>confdefs.h <<_ACEOF
18261 #define HAVE_ATAN 1
18262 _ACEOF
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18270 $as_echo_n "checking for atanl... " >&6; }
18271 if ${gcc_cv_math_func_atanl+:} false; then :
18272 $as_echo_n "(cached) " >&6
18273 else
18274 if test x$gcc_no_link = xyes; then
18275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h. */
18280 #ifdef HAVE_COMPLEX_H
18281 #include <complex.h>
18282 #endif
18283 #ifdef HAVE_MATH_H
18284 #include <math.h>
18285 #endif
18287 int (*ptr)() = (int (*)())atanl;
18290 main ()
18292 return 0;
18295 _ACEOF
18296 if ac_fn_c_try_link "$LINENO"; then :
18297 gcc_cv_math_func_atanl=yes
18298 else
18299 gcc_cv_math_func_atanl=no
18301 rm -f core conftest.err conftest.$ac_objext \
18302 conftest$ac_exeext conftest.$ac_ext
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18305 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18306 if test $gcc_cv_math_func_atanl = yes; then
18308 cat >>confdefs.h <<_ACEOF
18309 #define HAVE_ATANL 1
18310 _ACEOF
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18318 $as_echo_n "checking for atanhf... " >&6; }
18319 if ${gcc_cv_math_func_atanhf+:} false; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322 if test x$gcc_no_link = xyes; then
18323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18328 #ifdef HAVE_COMPLEX_H
18329 #include <complex.h>
18330 #endif
18331 #ifdef HAVE_MATH_H
18332 #include <math.h>
18333 #endif
18335 int (*ptr)() = (int (*)())atanhf;
18338 main ()
18340 return 0;
18343 _ACEOF
18344 if ac_fn_c_try_link "$LINENO"; then :
18345 gcc_cv_math_func_atanhf=yes
18346 else
18347 gcc_cv_math_func_atanhf=no
18349 rm -f core conftest.err conftest.$ac_objext \
18350 conftest$ac_exeext conftest.$ac_ext
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18353 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18354 if test $gcc_cv_math_func_atanhf = yes; then
18356 cat >>confdefs.h <<_ACEOF
18357 #define HAVE_ATANHF 1
18358 _ACEOF
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18366 $as_echo_n "checking for atanh... " >&6; }
18367 if ${gcc_cv_math_func_atanh+:} false; then :
18368 $as_echo_n "(cached) " >&6
18369 else
18370 if test x$gcc_no_link = xyes; then
18371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18376 #ifdef HAVE_COMPLEX_H
18377 #include <complex.h>
18378 #endif
18379 #ifdef HAVE_MATH_H
18380 #include <math.h>
18381 #endif
18383 int (*ptr)() = (int (*)())atanh;
18386 main ()
18388 return 0;
18391 _ACEOF
18392 if ac_fn_c_try_link "$LINENO"; then :
18393 gcc_cv_math_func_atanh=yes
18394 else
18395 gcc_cv_math_func_atanh=no
18397 rm -f core conftest.err conftest.$ac_objext \
18398 conftest$ac_exeext conftest.$ac_ext
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18401 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18402 if test $gcc_cv_math_func_atanh = yes; then
18404 cat >>confdefs.h <<_ACEOF
18405 #define HAVE_ATANH 1
18406 _ACEOF
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18414 $as_echo_n "checking for atanhl... " >&6; }
18415 if ${gcc_cv_math_func_atanhl+:} false; then :
18416 $as_echo_n "(cached) " >&6
18417 else
18418 if test x$gcc_no_link = xyes; then
18419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h. */
18424 #ifdef HAVE_COMPLEX_H
18425 #include <complex.h>
18426 #endif
18427 #ifdef HAVE_MATH_H
18428 #include <math.h>
18429 #endif
18431 int (*ptr)() = (int (*)())atanhl;
18434 main ()
18436 return 0;
18439 _ACEOF
18440 if ac_fn_c_try_link "$LINENO"; then :
18441 gcc_cv_math_func_atanhl=yes
18442 else
18443 gcc_cv_math_func_atanhl=no
18445 rm -f core conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18449 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18450 if test $gcc_cv_math_func_atanhl = yes; then
18452 cat >>confdefs.h <<_ACEOF
18453 #define HAVE_ATANHL 1
18454 _ACEOF
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18462 $as_echo_n "checking for cargf... " >&6; }
18463 if ${gcc_cv_math_func_cargf+:} false; then :
18464 $as_echo_n "(cached) " >&6
18465 else
18466 if test x$gcc_no_link = xyes; then
18467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18472 #ifdef HAVE_COMPLEX_H
18473 #include <complex.h>
18474 #endif
18475 #ifdef HAVE_MATH_H
18476 #include <math.h>
18477 #endif
18479 int (*ptr)() = (int (*)())cargf;
18482 main ()
18484 return 0;
18487 _ACEOF
18488 if ac_fn_c_try_link "$LINENO"; then :
18489 gcc_cv_math_func_cargf=yes
18490 else
18491 gcc_cv_math_func_cargf=no
18493 rm -f core conftest.err conftest.$ac_objext \
18494 conftest$ac_exeext conftest.$ac_ext
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18497 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18498 if test $gcc_cv_math_func_cargf = yes; then
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_CARGF 1
18502 _ACEOF
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18510 $as_echo_n "checking for carg... " >&6; }
18511 if ${gcc_cv_math_func_carg+:} false; then :
18512 $as_echo_n "(cached) " >&6
18513 else
18514 if test x$gcc_no_link = xyes; then
18515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18520 #ifdef HAVE_COMPLEX_H
18521 #include <complex.h>
18522 #endif
18523 #ifdef HAVE_MATH_H
18524 #include <math.h>
18525 #endif
18527 int (*ptr)() = (int (*)())carg;
18530 main ()
18532 return 0;
18535 _ACEOF
18536 if ac_fn_c_try_link "$LINENO"; then :
18537 gcc_cv_math_func_carg=yes
18538 else
18539 gcc_cv_math_func_carg=no
18541 rm -f core conftest.err conftest.$ac_objext \
18542 conftest$ac_exeext conftest.$ac_ext
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18545 $as_echo "$gcc_cv_math_func_carg" >&6; }
18546 if test $gcc_cv_math_func_carg = yes; then
18548 cat >>confdefs.h <<_ACEOF
18549 #define HAVE_CARG 1
18550 _ACEOF
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18558 $as_echo_n "checking for cargl... " >&6; }
18559 if ${gcc_cv_math_func_cargl+:} false; then :
18560 $as_echo_n "(cached) " >&6
18561 else
18562 if test x$gcc_no_link = xyes; then
18563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18568 #ifdef HAVE_COMPLEX_H
18569 #include <complex.h>
18570 #endif
18571 #ifdef HAVE_MATH_H
18572 #include <math.h>
18573 #endif
18575 int (*ptr)() = (int (*)())cargl;
18578 main ()
18580 return 0;
18583 _ACEOF
18584 if ac_fn_c_try_link "$LINENO"; then :
18585 gcc_cv_math_func_cargl=yes
18586 else
18587 gcc_cv_math_func_cargl=no
18589 rm -f core conftest.err conftest.$ac_objext \
18590 conftest$ac_exeext conftest.$ac_ext
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18593 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18594 if test $gcc_cv_math_func_cargl = yes; then
18596 cat >>confdefs.h <<_ACEOF
18597 #define HAVE_CARGL 1
18598 _ACEOF
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18606 $as_echo_n "checking for ceilf... " >&6; }
18607 if ${gcc_cv_math_func_ceilf+:} false; then :
18608 $as_echo_n "(cached) " >&6
18609 else
18610 if test x$gcc_no_link = xyes; then
18611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18616 #ifdef HAVE_COMPLEX_H
18617 #include <complex.h>
18618 #endif
18619 #ifdef HAVE_MATH_H
18620 #include <math.h>
18621 #endif
18623 int (*ptr)() = (int (*)())ceilf;
18626 main ()
18628 return 0;
18631 _ACEOF
18632 if ac_fn_c_try_link "$LINENO"; then :
18633 gcc_cv_math_func_ceilf=yes
18634 else
18635 gcc_cv_math_func_ceilf=no
18637 rm -f core conftest.err conftest.$ac_objext \
18638 conftest$ac_exeext conftest.$ac_ext
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18641 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18642 if test $gcc_cv_math_func_ceilf = yes; then
18644 cat >>confdefs.h <<_ACEOF
18645 #define HAVE_CEILF 1
18646 _ACEOF
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18654 $as_echo_n "checking for ceil... " >&6; }
18655 if ${gcc_cv_math_func_ceil+:} false; then :
18656 $as_echo_n "(cached) " >&6
18657 else
18658 if test x$gcc_no_link = xyes; then
18659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18664 #ifdef HAVE_COMPLEX_H
18665 #include <complex.h>
18666 #endif
18667 #ifdef HAVE_MATH_H
18668 #include <math.h>
18669 #endif
18671 int (*ptr)() = (int (*)())ceil;
18674 main ()
18676 return 0;
18679 _ACEOF
18680 if ac_fn_c_try_link "$LINENO"; then :
18681 gcc_cv_math_func_ceil=yes
18682 else
18683 gcc_cv_math_func_ceil=no
18685 rm -f core conftest.err conftest.$ac_objext \
18686 conftest$ac_exeext conftest.$ac_ext
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18689 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18690 if test $gcc_cv_math_func_ceil = yes; then
18692 cat >>confdefs.h <<_ACEOF
18693 #define HAVE_CEIL 1
18694 _ACEOF
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18702 $as_echo_n "checking for ceill... " >&6; }
18703 if ${gcc_cv_math_func_ceill+:} false; then :
18704 $as_echo_n "(cached) " >&6
18705 else
18706 if test x$gcc_no_link = xyes; then
18707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18712 #ifdef HAVE_COMPLEX_H
18713 #include <complex.h>
18714 #endif
18715 #ifdef HAVE_MATH_H
18716 #include <math.h>
18717 #endif
18719 int (*ptr)() = (int (*)())ceill;
18722 main ()
18724 return 0;
18727 _ACEOF
18728 if ac_fn_c_try_link "$LINENO"; then :
18729 gcc_cv_math_func_ceill=yes
18730 else
18731 gcc_cv_math_func_ceill=no
18733 rm -f core conftest.err conftest.$ac_objext \
18734 conftest$ac_exeext conftest.$ac_ext
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18737 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18738 if test $gcc_cv_math_func_ceill = yes; then
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_CEILL 1
18742 _ACEOF
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18750 $as_echo_n "checking for copysignf... " >&6; }
18751 if ${gcc_cv_math_func_copysignf+:} false; then :
18752 $as_echo_n "(cached) " >&6
18753 else
18754 if test x$gcc_no_link = xyes; then
18755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18760 #ifdef HAVE_COMPLEX_H
18761 #include <complex.h>
18762 #endif
18763 #ifdef HAVE_MATH_H
18764 #include <math.h>
18765 #endif
18767 int (*ptr)() = (int (*)())copysignf;
18770 main ()
18772 return 0;
18775 _ACEOF
18776 if ac_fn_c_try_link "$LINENO"; then :
18777 gcc_cv_math_func_copysignf=yes
18778 else
18779 gcc_cv_math_func_copysignf=no
18781 rm -f core conftest.err conftest.$ac_objext \
18782 conftest$ac_exeext conftest.$ac_ext
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18785 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18786 if test $gcc_cv_math_func_copysignf = yes; then
18788 cat >>confdefs.h <<_ACEOF
18789 #define HAVE_COPYSIGNF 1
18790 _ACEOF
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18798 $as_echo_n "checking for copysign... " >&6; }
18799 if ${gcc_cv_math_func_copysign+:} false; then :
18800 $as_echo_n "(cached) " >&6
18801 else
18802 if test x$gcc_no_link = xyes; then
18803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18808 #ifdef HAVE_COMPLEX_H
18809 #include <complex.h>
18810 #endif
18811 #ifdef HAVE_MATH_H
18812 #include <math.h>
18813 #endif
18815 int (*ptr)() = (int (*)())copysign;
18818 main ()
18820 return 0;
18823 _ACEOF
18824 if ac_fn_c_try_link "$LINENO"; then :
18825 gcc_cv_math_func_copysign=yes
18826 else
18827 gcc_cv_math_func_copysign=no
18829 rm -f core conftest.err conftest.$ac_objext \
18830 conftest$ac_exeext conftest.$ac_ext
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18833 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18834 if test $gcc_cv_math_func_copysign = yes; then
18836 cat >>confdefs.h <<_ACEOF
18837 #define HAVE_COPYSIGN 1
18838 _ACEOF
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18846 $as_echo_n "checking for copysignl... " >&6; }
18847 if ${gcc_cv_math_func_copysignl+:} false; then :
18848 $as_echo_n "(cached) " >&6
18849 else
18850 if test x$gcc_no_link = xyes; then
18851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18856 #ifdef HAVE_COMPLEX_H
18857 #include <complex.h>
18858 #endif
18859 #ifdef HAVE_MATH_H
18860 #include <math.h>
18861 #endif
18863 int (*ptr)() = (int (*)())copysignl;
18866 main ()
18868 return 0;
18871 _ACEOF
18872 if ac_fn_c_try_link "$LINENO"; then :
18873 gcc_cv_math_func_copysignl=yes
18874 else
18875 gcc_cv_math_func_copysignl=no
18877 rm -f core conftest.err conftest.$ac_objext \
18878 conftest$ac_exeext conftest.$ac_ext
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18881 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18882 if test $gcc_cv_math_func_copysignl = yes; then
18884 cat >>confdefs.h <<_ACEOF
18885 #define HAVE_COPYSIGNL 1
18886 _ACEOF
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18894 $as_echo_n "checking for cosf... " >&6; }
18895 if ${gcc_cv_math_func_cosf+:} false; then :
18896 $as_echo_n "(cached) " >&6
18897 else
18898 if test x$gcc_no_link = xyes; then
18899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18902 /* end confdefs.h. */
18904 #ifdef HAVE_COMPLEX_H
18905 #include <complex.h>
18906 #endif
18907 #ifdef HAVE_MATH_H
18908 #include <math.h>
18909 #endif
18911 int (*ptr)() = (int (*)())cosf;
18914 main ()
18916 return 0;
18919 _ACEOF
18920 if ac_fn_c_try_link "$LINENO"; then :
18921 gcc_cv_math_func_cosf=yes
18922 else
18923 gcc_cv_math_func_cosf=no
18925 rm -f core conftest.err conftest.$ac_objext \
18926 conftest$ac_exeext conftest.$ac_ext
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18929 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18930 if test $gcc_cv_math_func_cosf = yes; then
18932 cat >>confdefs.h <<_ACEOF
18933 #define HAVE_COSF 1
18934 _ACEOF
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18942 $as_echo_n "checking for cos... " >&6; }
18943 if ${gcc_cv_math_func_cos+:} false; then :
18944 $as_echo_n "(cached) " >&6
18945 else
18946 if test x$gcc_no_link = xyes; then
18947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18952 #ifdef HAVE_COMPLEX_H
18953 #include <complex.h>
18954 #endif
18955 #ifdef HAVE_MATH_H
18956 #include <math.h>
18957 #endif
18959 int (*ptr)() = (int (*)())cos;
18962 main ()
18964 return 0;
18967 _ACEOF
18968 if ac_fn_c_try_link "$LINENO"; then :
18969 gcc_cv_math_func_cos=yes
18970 else
18971 gcc_cv_math_func_cos=no
18973 rm -f core conftest.err conftest.$ac_objext \
18974 conftest$ac_exeext conftest.$ac_ext
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18977 $as_echo "$gcc_cv_math_func_cos" >&6; }
18978 if test $gcc_cv_math_func_cos = yes; then
18980 cat >>confdefs.h <<_ACEOF
18981 #define HAVE_COS 1
18982 _ACEOF
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18990 $as_echo_n "checking for cosl... " >&6; }
18991 if ${gcc_cv_math_func_cosl+:} false; then :
18992 $as_echo_n "(cached) " >&6
18993 else
18994 if test x$gcc_no_link = xyes; then
18995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
19000 #ifdef HAVE_COMPLEX_H
19001 #include <complex.h>
19002 #endif
19003 #ifdef HAVE_MATH_H
19004 #include <math.h>
19005 #endif
19007 int (*ptr)() = (int (*)())cosl;
19010 main ()
19012 return 0;
19015 _ACEOF
19016 if ac_fn_c_try_link "$LINENO"; then :
19017 gcc_cv_math_func_cosl=yes
19018 else
19019 gcc_cv_math_func_cosl=no
19021 rm -f core conftest.err conftest.$ac_objext \
19022 conftest$ac_exeext conftest.$ac_ext
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
19025 $as_echo "$gcc_cv_math_func_cosl" >&6; }
19026 if test $gcc_cv_math_func_cosl = yes; then
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_COSL 1
19030 _ACEOF
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
19038 $as_echo_n "checking for ccosf... " >&6; }
19039 if ${gcc_cv_math_func_ccosf+:} false; then :
19040 $as_echo_n "(cached) " >&6
19041 else
19042 if test x$gcc_no_link = xyes; then
19043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19048 #ifdef HAVE_COMPLEX_H
19049 #include <complex.h>
19050 #endif
19051 #ifdef HAVE_MATH_H
19052 #include <math.h>
19053 #endif
19055 int (*ptr)() = (int (*)())ccosf;
19058 main ()
19060 return 0;
19063 _ACEOF
19064 if ac_fn_c_try_link "$LINENO"; then :
19065 gcc_cv_math_func_ccosf=yes
19066 else
19067 gcc_cv_math_func_ccosf=no
19069 rm -f core conftest.err conftest.$ac_objext \
19070 conftest$ac_exeext conftest.$ac_ext
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
19073 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
19074 if test $gcc_cv_math_func_ccosf = yes; then
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_CCOSF 1
19078 _ACEOF
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
19086 $as_echo_n "checking for ccos... " >&6; }
19087 if ${gcc_cv_math_func_ccos+:} false; then :
19088 $as_echo_n "(cached) " >&6
19089 else
19090 if test x$gcc_no_link = xyes; then
19091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19096 #ifdef HAVE_COMPLEX_H
19097 #include <complex.h>
19098 #endif
19099 #ifdef HAVE_MATH_H
19100 #include <math.h>
19101 #endif
19103 int (*ptr)() = (int (*)())ccos;
19106 main ()
19108 return 0;
19111 _ACEOF
19112 if ac_fn_c_try_link "$LINENO"; then :
19113 gcc_cv_math_func_ccos=yes
19114 else
19115 gcc_cv_math_func_ccos=no
19117 rm -f core conftest.err conftest.$ac_objext \
19118 conftest$ac_exeext conftest.$ac_ext
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19121 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19122 if test $gcc_cv_math_func_ccos = yes; then
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_CCOS 1
19126 _ACEOF
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19134 $as_echo_n "checking for ccosl... " >&6; }
19135 if ${gcc_cv_math_func_ccosl+:} false; then :
19136 $as_echo_n "(cached) " >&6
19137 else
19138 if test x$gcc_no_link = xyes; then
19139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19144 #ifdef HAVE_COMPLEX_H
19145 #include <complex.h>
19146 #endif
19147 #ifdef HAVE_MATH_H
19148 #include <math.h>
19149 #endif
19151 int (*ptr)() = (int (*)())ccosl;
19154 main ()
19156 return 0;
19159 _ACEOF
19160 if ac_fn_c_try_link "$LINENO"; then :
19161 gcc_cv_math_func_ccosl=yes
19162 else
19163 gcc_cv_math_func_ccosl=no
19165 rm -f core conftest.err conftest.$ac_objext \
19166 conftest$ac_exeext conftest.$ac_ext
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19169 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19170 if test $gcc_cv_math_func_ccosl = yes; then
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_CCOSL 1
19174 _ACEOF
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19182 $as_echo_n "checking for coshf... " >&6; }
19183 if ${gcc_cv_math_func_coshf+:} false; then :
19184 $as_echo_n "(cached) " >&6
19185 else
19186 if test x$gcc_no_link = xyes; then
19187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19190 /* end confdefs.h. */
19192 #ifdef HAVE_COMPLEX_H
19193 #include <complex.h>
19194 #endif
19195 #ifdef HAVE_MATH_H
19196 #include <math.h>
19197 #endif
19199 int (*ptr)() = (int (*)())coshf;
19202 main ()
19204 return 0;
19207 _ACEOF
19208 if ac_fn_c_try_link "$LINENO"; then :
19209 gcc_cv_math_func_coshf=yes
19210 else
19211 gcc_cv_math_func_coshf=no
19213 rm -f core conftest.err conftest.$ac_objext \
19214 conftest$ac_exeext conftest.$ac_ext
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19217 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19218 if test $gcc_cv_math_func_coshf = yes; then
19220 cat >>confdefs.h <<_ACEOF
19221 #define HAVE_COSHF 1
19222 _ACEOF
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19230 $as_echo_n "checking for cosh... " >&6; }
19231 if ${gcc_cv_math_func_cosh+:} false; then :
19232 $as_echo_n "(cached) " >&6
19233 else
19234 if test x$gcc_no_link = xyes; then
19235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19240 #ifdef HAVE_COMPLEX_H
19241 #include <complex.h>
19242 #endif
19243 #ifdef HAVE_MATH_H
19244 #include <math.h>
19245 #endif
19247 int (*ptr)() = (int (*)())cosh;
19250 main ()
19252 return 0;
19255 _ACEOF
19256 if ac_fn_c_try_link "$LINENO"; then :
19257 gcc_cv_math_func_cosh=yes
19258 else
19259 gcc_cv_math_func_cosh=no
19261 rm -f core conftest.err conftest.$ac_objext \
19262 conftest$ac_exeext conftest.$ac_ext
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19265 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19266 if test $gcc_cv_math_func_cosh = yes; then
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_COSH 1
19270 _ACEOF
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19278 $as_echo_n "checking for coshl... " >&6; }
19279 if ${gcc_cv_math_func_coshl+:} false; then :
19280 $as_echo_n "(cached) " >&6
19281 else
19282 if test x$gcc_no_link = xyes; then
19283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19288 #ifdef HAVE_COMPLEX_H
19289 #include <complex.h>
19290 #endif
19291 #ifdef HAVE_MATH_H
19292 #include <math.h>
19293 #endif
19295 int (*ptr)() = (int (*)())coshl;
19298 main ()
19300 return 0;
19303 _ACEOF
19304 if ac_fn_c_try_link "$LINENO"; then :
19305 gcc_cv_math_func_coshl=yes
19306 else
19307 gcc_cv_math_func_coshl=no
19309 rm -f core conftest.err conftest.$ac_objext \
19310 conftest$ac_exeext conftest.$ac_ext
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19313 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19314 if test $gcc_cv_math_func_coshl = yes; then
19316 cat >>confdefs.h <<_ACEOF
19317 #define HAVE_COSHL 1
19318 _ACEOF
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19326 $as_echo_n "checking for ccoshf... " >&6; }
19327 if ${gcc_cv_math_func_ccoshf+:} false; then :
19328 $as_echo_n "(cached) " >&6
19329 else
19330 if test x$gcc_no_link = xyes; then
19331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19336 #ifdef HAVE_COMPLEX_H
19337 #include <complex.h>
19338 #endif
19339 #ifdef HAVE_MATH_H
19340 #include <math.h>
19341 #endif
19343 int (*ptr)() = (int (*)())ccoshf;
19346 main ()
19348 return 0;
19351 _ACEOF
19352 if ac_fn_c_try_link "$LINENO"; then :
19353 gcc_cv_math_func_ccoshf=yes
19354 else
19355 gcc_cv_math_func_ccoshf=no
19357 rm -f core conftest.err conftest.$ac_objext \
19358 conftest$ac_exeext conftest.$ac_ext
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19361 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19362 if test $gcc_cv_math_func_ccoshf = yes; then
19364 cat >>confdefs.h <<_ACEOF
19365 #define HAVE_CCOSHF 1
19366 _ACEOF
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19374 $as_echo_n "checking for ccosh... " >&6; }
19375 if ${gcc_cv_math_func_ccosh+:} false; then :
19376 $as_echo_n "(cached) " >&6
19377 else
19378 if test x$gcc_no_link = xyes; then
19379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19384 #ifdef HAVE_COMPLEX_H
19385 #include <complex.h>
19386 #endif
19387 #ifdef HAVE_MATH_H
19388 #include <math.h>
19389 #endif
19391 int (*ptr)() = (int (*)())ccosh;
19394 main ()
19396 return 0;
19399 _ACEOF
19400 if ac_fn_c_try_link "$LINENO"; then :
19401 gcc_cv_math_func_ccosh=yes
19402 else
19403 gcc_cv_math_func_ccosh=no
19405 rm -f core conftest.err conftest.$ac_objext \
19406 conftest$ac_exeext conftest.$ac_ext
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19409 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19410 if test $gcc_cv_math_func_ccosh = yes; then
19412 cat >>confdefs.h <<_ACEOF
19413 #define HAVE_CCOSH 1
19414 _ACEOF
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19422 $as_echo_n "checking for ccoshl... " >&6; }
19423 if ${gcc_cv_math_func_ccoshl+:} false; then :
19424 $as_echo_n "(cached) " >&6
19425 else
19426 if test x$gcc_no_link = xyes; then
19427 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19432 #ifdef HAVE_COMPLEX_H
19433 #include <complex.h>
19434 #endif
19435 #ifdef HAVE_MATH_H
19436 #include <math.h>
19437 #endif
19439 int (*ptr)() = (int (*)())ccoshl;
19442 main ()
19444 return 0;
19447 _ACEOF
19448 if ac_fn_c_try_link "$LINENO"; then :
19449 gcc_cv_math_func_ccoshl=yes
19450 else
19451 gcc_cv_math_func_ccoshl=no
19453 rm -f core conftest.err conftest.$ac_objext \
19454 conftest$ac_exeext conftest.$ac_ext
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19457 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19458 if test $gcc_cv_math_func_ccoshl = yes; then
19460 cat >>confdefs.h <<_ACEOF
19461 #define HAVE_CCOSHL 1
19462 _ACEOF
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19470 $as_echo_n "checking for expf... " >&6; }
19471 if ${gcc_cv_math_func_expf+:} false; then :
19472 $as_echo_n "(cached) " >&6
19473 else
19474 if test x$gcc_no_link = xyes; then
19475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19480 #ifdef HAVE_COMPLEX_H
19481 #include <complex.h>
19482 #endif
19483 #ifdef HAVE_MATH_H
19484 #include <math.h>
19485 #endif
19487 int (*ptr)() = (int (*)())expf;
19490 main ()
19492 return 0;
19495 _ACEOF
19496 if ac_fn_c_try_link "$LINENO"; then :
19497 gcc_cv_math_func_expf=yes
19498 else
19499 gcc_cv_math_func_expf=no
19501 rm -f core conftest.err conftest.$ac_objext \
19502 conftest$ac_exeext conftest.$ac_ext
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19505 $as_echo "$gcc_cv_math_func_expf" >&6; }
19506 if test $gcc_cv_math_func_expf = yes; then
19508 cat >>confdefs.h <<_ACEOF
19509 #define HAVE_EXPF 1
19510 _ACEOF
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19518 $as_echo_n "checking for exp... " >&6; }
19519 if ${gcc_cv_math_func_exp+:} false; then :
19520 $as_echo_n "(cached) " >&6
19521 else
19522 if test x$gcc_no_link = xyes; then
19523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19528 #ifdef HAVE_COMPLEX_H
19529 #include <complex.h>
19530 #endif
19531 #ifdef HAVE_MATH_H
19532 #include <math.h>
19533 #endif
19535 int (*ptr)() = (int (*)())exp;
19538 main ()
19540 return 0;
19543 _ACEOF
19544 if ac_fn_c_try_link "$LINENO"; then :
19545 gcc_cv_math_func_exp=yes
19546 else
19547 gcc_cv_math_func_exp=no
19549 rm -f core conftest.err conftest.$ac_objext \
19550 conftest$ac_exeext conftest.$ac_ext
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19553 $as_echo "$gcc_cv_math_func_exp" >&6; }
19554 if test $gcc_cv_math_func_exp = yes; then
19556 cat >>confdefs.h <<_ACEOF
19557 #define HAVE_EXP 1
19558 _ACEOF
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19566 $as_echo_n "checking for expl... " >&6; }
19567 if ${gcc_cv_math_func_expl+:} false; then :
19568 $as_echo_n "(cached) " >&6
19569 else
19570 if test x$gcc_no_link = xyes; then
19571 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19576 #ifdef HAVE_COMPLEX_H
19577 #include <complex.h>
19578 #endif
19579 #ifdef HAVE_MATH_H
19580 #include <math.h>
19581 #endif
19583 int (*ptr)() = (int (*)())expl;
19586 main ()
19588 return 0;
19591 _ACEOF
19592 if ac_fn_c_try_link "$LINENO"; then :
19593 gcc_cv_math_func_expl=yes
19594 else
19595 gcc_cv_math_func_expl=no
19597 rm -f core conftest.err conftest.$ac_objext \
19598 conftest$ac_exeext conftest.$ac_ext
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19601 $as_echo "$gcc_cv_math_func_expl" >&6; }
19602 if test $gcc_cv_math_func_expl = yes; then
19604 cat >>confdefs.h <<_ACEOF
19605 #define HAVE_EXPL 1
19606 _ACEOF
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19614 $as_echo_n "checking for cexpf... " >&6; }
19615 if ${gcc_cv_math_func_cexpf+:} false; then :
19616 $as_echo_n "(cached) " >&6
19617 else
19618 if test x$gcc_no_link = xyes; then
19619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19624 #ifdef HAVE_COMPLEX_H
19625 #include <complex.h>
19626 #endif
19627 #ifdef HAVE_MATH_H
19628 #include <math.h>
19629 #endif
19631 int (*ptr)() = (int (*)())cexpf;
19634 main ()
19636 return 0;
19639 _ACEOF
19640 if ac_fn_c_try_link "$LINENO"; then :
19641 gcc_cv_math_func_cexpf=yes
19642 else
19643 gcc_cv_math_func_cexpf=no
19645 rm -f core conftest.err conftest.$ac_objext \
19646 conftest$ac_exeext conftest.$ac_ext
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19649 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19650 if test $gcc_cv_math_func_cexpf = yes; then
19652 cat >>confdefs.h <<_ACEOF
19653 #define HAVE_CEXPF 1
19654 _ACEOF
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19662 $as_echo_n "checking for cexp... " >&6; }
19663 if ${gcc_cv_math_func_cexp+:} false; then :
19664 $as_echo_n "(cached) " >&6
19665 else
19666 if test x$gcc_no_link = xyes; then
19667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19672 #ifdef HAVE_COMPLEX_H
19673 #include <complex.h>
19674 #endif
19675 #ifdef HAVE_MATH_H
19676 #include <math.h>
19677 #endif
19679 int (*ptr)() = (int (*)())cexp;
19682 main ()
19684 return 0;
19687 _ACEOF
19688 if ac_fn_c_try_link "$LINENO"; then :
19689 gcc_cv_math_func_cexp=yes
19690 else
19691 gcc_cv_math_func_cexp=no
19693 rm -f core conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19697 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19698 if test $gcc_cv_math_func_cexp = yes; then
19700 cat >>confdefs.h <<_ACEOF
19701 #define HAVE_CEXP 1
19702 _ACEOF
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19710 $as_echo_n "checking for cexpl... " >&6; }
19711 if ${gcc_cv_math_func_cexpl+:} false; then :
19712 $as_echo_n "(cached) " >&6
19713 else
19714 if test x$gcc_no_link = xyes; then
19715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19720 #ifdef HAVE_COMPLEX_H
19721 #include <complex.h>
19722 #endif
19723 #ifdef HAVE_MATH_H
19724 #include <math.h>
19725 #endif
19727 int (*ptr)() = (int (*)())cexpl;
19730 main ()
19732 return 0;
19735 _ACEOF
19736 if ac_fn_c_try_link "$LINENO"; then :
19737 gcc_cv_math_func_cexpl=yes
19738 else
19739 gcc_cv_math_func_cexpl=no
19741 rm -f core conftest.err conftest.$ac_objext \
19742 conftest$ac_exeext conftest.$ac_ext
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19745 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19746 if test $gcc_cv_math_func_cexpl = yes; then
19748 cat >>confdefs.h <<_ACEOF
19749 #define HAVE_CEXPL 1
19750 _ACEOF
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19758 $as_echo_n "checking for fabsf... " >&6; }
19759 if ${gcc_cv_math_func_fabsf+:} false; then :
19760 $as_echo_n "(cached) " >&6
19761 else
19762 if test x$gcc_no_link = xyes; then
19763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19766 /* end confdefs.h. */
19768 #ifdef HAVE_COMPLEX_H
19769 #include <complex.h>
19770 #endif
19771 #ifdef HAVE_MATH_H
19772 #include <math.h>
19773 #endif
19775 int (*ptr)() = (int (*)())fabsf;
19778 main ()
19780 return 0;
19783 _ACEOF
19784 if ac_fn_c_try_link "$LINENO"; then :
19785 gcc_cv_math_func_fabsf=yes
19786 else
19787 gcc_cv_math_func_fabsf=no
19789 rm -f core conftest.err conftest.$ac_objext \
19790 conftest$ac_exeext conftest.$ac_ext
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19793 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19794 if test $gcc_cv_math_func_fabsf = yes; then
19796 cat >>confdefs.h <<_ACEOF
19797 #define HAVE_FABSF 1
19798 _ACEOF
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19806 $as_echo_n "checking for fabs... " >&6; }
19807 if ${gcc_cv_math_func_fabs+:} false; then :
19808 $as_echo_n "(cached) " >&6
19809 else
19810 if test x$gcc_no_link = xyes; then
19811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19816 #ifdef HAVE_COMPLEX_H
19817 #include <complex.h>
19818 #endif
19819 #ifdef HAVE_MATH_H
19820 #include <math.h>
19821 #endif
19823 int (*ptr)() = (int (*)())fabs;
19826 main ()
19828 return 0;
19831 _ACEOF
19832 if ac_fn_c_try_link "$LINENO"; then :
19833 gcc_cv_math_func_fabs=yes
19834 else
19835 gcc_cv_math_func_fabs=no
19837 rm -f core conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext conftest.$ac_ext
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19841 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19842 if test $gcc_cv_math_func_fabs = yes; then
19844 cat >>confdefs.h <<_ACEOF
19845 #define HAVE_FABS 1
19846 _ACEOF
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19854 $as_echo_n "checking for fabsl... " >&6; }
19855 if ${gcc_cv_math_func_fabsl+:} false; then :
19856 $as_echo_n "(cached) " >&6
19857 else
19858 if test x$gcc_no_link = xyes; then
19859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19864 #ifdef HAVE_COMPLEX_H
19865 #include <complex.h>
19866 #endif
19867 #ifdef HAVE_MATH_H
19868 #include <math.h>
19869 #endif
19871 int (*ptr)() = (int (*)())fabsl;
19874 main ()
19876 return 0;
19879 _ACEOF
19880 if ac_fn_c_try_link "$LINENO"; then :
19881 gcc_cv_math_func_fabsl=yes
19882 else
19883 gcc_cv_math_func_fabsl=no
19885 rm -f core conftest.err conftest.$ac_objext \
19886 conftest$ac_exeext conftest.$ac_ext
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19889 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19890 if test $gcc_cv_math_func_fabsl = yes; then
19892 cat >>confdefs.h <<_ACEOF
19893 #define HAVE_FABSL 1
19894 _ACEOF
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19902 $as_echo_n "checking for cabsf... " >&6; }
19903 if ${gcc_cv_math_func_cabsf+:} false; then :
19904 $as_echo_n "(cached) " >&6
19905 else
19906 if test x$gcc_no_link = xyes; then
19907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19912 #ifdef HAVE_COMPLEX_H
19913 #include <complex.h>
19914 #endif
19915 #ifdef HAVE_MATH_H
19916 #include <math.h>
19917 #endif
19919 int (*ptr)() = (int (*)())cabsf;
19922 main ()
19924 return 0;
19927 _ACEOF
19928 if ac_fn_c_try_link "$LINENO"; then :
19929 gcc_cv_math_func_cabsf=yes
19930 else
19931 gcc_cv_math_func_cabsf=no
19933 rm -f core conftest.err conftest.$ac_objext \
19934 conftest$ac_exeext conftest.$ac_ext
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19937 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19938 if test $gcc_cv_math_func_cabsf = yes; then
19940 cat >>confdefs.h <<_ACEOF
19941 #define HAVE_CABSF 1
19942 _ACEOF
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19950 $as_echo_n "checking for cabs... " >&6; }
19951 if ${gcc_cv_math_func_cabs+:} false; then :
19952 $as_echo_n "(cached) " >&6
19953 else
19954 if test x$gcc_no_link = xyes; then
19955 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19960 #ifdef HAVE_COMPLEX_H
19961 #include <complex.h>
19962 #endif
19963 #ifdef HAVE_MATH_H
19964 #include <math.h>
19965 #endif
19967 int (*ptr)() = (int (*)())cabs;
19970 main ()
19972 return 0;
19975 _ACEOF
19976 if ac_fn_c_try_link "$LINENO"; then :
19977 gcc_cv_math_func_cabs=yes
19978 else
19979 gcc_cv_math_func_cabs=no
19981 rm -f core conftest.err conftest.$ac_objext \
19982 conftest$ac_exeext conftest.$ac_ext
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19985 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19986 if test $gcc_cv_math_func_cabs = yes; then
19988 cat >>confdefs.h <<_ACEOF
19989 #define HAVE_CABS 1
19990 _ACEOF
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19998 $as_echo_n "checking for cabsl... " >&6; }
19999 if ${gcc_cv_math_func_cabsl+:} false; then :
20000 $as_echo_n "(cached) " >&6
20001 else
20002 if test x$gcc_no_link = xyes; then
20003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h. */
20008 #ifdef HAVE_COMPLEX_H
20009 #include <complex.h>
20010 #endif
20011 #ifdef HAVE_MATH_H
20012 #include <math.h>
20013 #endif
20015 int (*ptr)() = (int (*)())cabsl;
20018 main ()
20020 return 0;
20023 _ACEOF
20024 if ac_fn_c_try_link "$LINENO"; then :
20025 gcc_cv_math_func_cabsl=yes
20026 else
20027 gcc_cv_math_func_cabsl=no
20029 rm -f core conftest.err conftest.$ac_objext \
20030 conftest$ac_exeext conftest.$ac_ext
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
20033 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
20034 if test $gcc_cv_math_func_cabsl = yes; then
20036 cat >>confdefs.h <<_ACEOF
20037 #define HAVE_CABSL 1
20038 _ACEOF
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
20046 $as_echo_n "checking for floorf... " >&6; }
20047 if ${gcc_cv_math_func_floorf+:} false; then :
20048 $as_echo_n "(cached) " >&6
20049 else
20050 if test x$gcc_no_link = xyes; then
20051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h. */
20056 #ifdef HAVE_COMPLEX_H
20057 #include <complex.h>
20058 #endif
20059 #ifdef HAVE_MATH_H
20060 #include <math.h>
20061 #endif
20063 int (*ptr)() = (int (*)())floorf;
20066 main ()
20068 return 0;
20071 _ACEOF
20072 if ac_fn_c_try_link "$LINENO"; then :
20073 gcc_cv_math_func_floorf=yes
20074 else
20075 gcc_cv_math_func_floorf=no
20077 rm -f core conftest.err conftest.$ac_objext \
20078 conftest$ac_exeext conftest.$ac_ext
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
20081 $as_echo "$gcc_cv_math_func_floorf" >&6; }
20082 if test $gcc_cv_math_func_floorf = yes; then
20084 cat >>confdefs.h <<_ACEOF
20085 #define HAVE_FLOORF 1
20086 _ACEOF
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
20094 $as_echo_n "checking for floor... " >&6; }
20095 if ${gcc_cv_math_func_floor+:} false; then :
20096 $as_echo_n "(cached) " >&6
20097 else
20098 if test x$gcc_no_link = xyes; then
20099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20104 #ifdef HAVE_COMPLEX_H
20105 #include <complex.h>
20106 #endif
20107 #ifdef HAVE_MATH_H
20108 #include <math.h>
20109 #endif
20111 int (*ptr)() = (int (*)())floor;
20114 main ()
20116 return 0;
20119 _ACEOF
20120 if ac_fn_c_try_link "$LINENO"; then :
20121 gcc_cv_math_func_floor=yes
20122 else
20123 gcc_cv_math_func_floor=no
20125 rm -f core conftest.err conftest.$ac_objext \
20126 conftest$ac_exeext conftest.$ac_ext
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20129 $as_echo "$gcc_cv_math_func_floor" >&6; }
20130 if test $gcc_cv_math_func_floor = yes; then
20132 cat >>confdefs.h <<_ACEOF
20133 #define HAVE_FLOOR 1
20134 _ACEOF
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20142 $as_echo_n "checking for floorl... " >&6; }
20143 if ${gcc_cv_math_func_floorl+:} false; then :
20144 $as_echo_n "(cached) " >&6
20145 else
20146 if test x$gcc_no_link = xyes; then
20147 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20152 #ifdef HAVE_COMPLEX_H
20153 #include <complex.h>
20154 #endif
20155 #ifdef HAVE_MATH_H
20156 #include <math.h>
20157 #endif
20159 int (*ptr)() = (int (*)())floorl;
20162 main ()
20164 return 0;
20167 _ACEOF
20168 if ac_fn_c_try_link "$LINENO"; then :
20169 gcc_cv_math_func_floorl=yes
20170 else
20171 gcc_cv_math_func_floorl=no
20173 rm -f core conftest.err conftest.$ac_objext \
20174 conftest$ac_exeext conftest.$ac_ext
20176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20177 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20178 if test $gcc_cv_math_func_floorl = yes; then
20180 cat >>confdefs.h <<_ACEOF
20181 #define HAVE_FLOORL 1
20182 _ACEOF
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20190 $as_echo_n "checking for fmaf... " >&6; }
20191 if ${gcc_cv_math_func_fmaf+:} false; then :
20192 $as_echo_n "(cached) " >&6
20193 else
20194 if test x$gcc_no_link = xyes; then
20195 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20200 #ifdef HAVE_COMPLEX_H
20201 #include <complex.h>
20202 #endif
20203 #ifdef HAVE_MATH_H
20204 #include <math.h>
20205 #endif
20207 int (*ptr)() = (int (*)())fmaf;
20210 main ()
20212 return 0;
20215 _ACEOF
20216 if ac_fn_c_try_link "$LINENO"; then :
20217 gcc_cv_math_func_fmaf=yes
20218 else
20219 gcc_cv_math_func_fmaf=no
20221 rm -f core conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20225 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20226 if test $gcc_cv_math_func_fmaf = yes; then
20228 cat >>confdefs.h <<_ACEOF
20229 #define HAVE_FMAF 1
20230 _ACEOF
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20238 $as_echo_n "checking for fma... " >&6; }
20239 if ${gcc_cv_math_func_fma+:} false; then :
20240 $as_echo_n "(cached) " >&6
20241 else
20242 if test x$gcc_no_link = xyes; then
20243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20248 #ifdef HAVE_COMPLEX_H
20249 #include <complex.h>
20250 #endif
20251 #ifdef HAVE_MATH_H
20252 #include <math.h>
20253 #endif
20255 int (*ptr)() = (int (*)())fma;
20258 main ()
20260 return 0;
20263 _ACEOF
20264 if ac_fn_c_try_link "$LINENO"; then :
20265 gcc_cv_math_func_fma=yes
20266 else
20267 gcc_cv_math_func_fma=no
20269 rm -f core conftest.err conftest.$ac_objext \
20270 conftest$ac_exeext conftest.$ac_ext
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20273 $as_echo "$gcc_cv_math_func_fma" >&6; }
20274 if test $gcc_cv_math_func_fma = yes; then
20276 cat >>confdefs.h <<_ACEOF
20277 #define HAVE_FMA 1
20278 _ACEOF
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20286 $as_echo_n "checking for fmal... " >&6; }
20287 if ${gcc_cv_math_func_fmal+:} false; then :
20288 $as_echo_n "(cached) " >&6
20289 else
20290 if test x$gcc_no_link = xyes; then
20291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20296 #ifdef HAVE_COMPLEX_H
20297 #include <complex.h>
20298 #endif
20299 #ifdef HAVE_MATH_H
20300 #include <math.h>
20301 #endif
20303 int (*ptr)() = (int (*)())fmal;
20306 main ()
20308 return 0;
20311 _ACEOF
20312 if ac_fn_c_try_link "$LINENO"; then :
20313 gcc_cv_math_func_fmal=yes
20314 else
20315 gcc_cv_math_func_fmal=no
20317 rm -f core conftest.err conftest.$ac_objext \
20318 conftest$ac_exeext conftest.$ac_ext
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20321 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20322 if test $gcc_cv_math_func_fmal = yes; then
20324 cat >>confdefs.h <<_ACEOF
20325 #define HAVE_FMAL 1
20326 _ACEOF
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20334 $as_echo_n "checking for fmodf... " >&6; }
20335 if ${gcc_cv_math_func_fmodf+:} false; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20338 if test x$gcc_no_link = xyes; then
20339 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20342 /* end confdefs.h. */
20344 #ifdef HAVE_COMPLEX_H
20345 #include <complex.h>
20346 #endif
20347 #ifdef HAVE_MATH_H
20348 #include <math.h>
20349 #endif
20351 int (*ptr)() = (int (*)())fmodf;
20354 main ()
20356 return 0;
20359 _ACEOF
20360 if ac_fn_c_try_link "$LINENO"; then :
20361 gcc_cv_math_func_fmodf=yes
20362 else
20363 gcc_cv_math_func_fmodf=no
20365 rm -f core conftest.err conftest.$ac_objext \
20366 conftest$ac_exeext conftest.$ac_ext
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20369 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20370 if test $gcc_cv_math_func_fmodf = yes; then
20372 cat >>confdefs.h <<_ACEOF
20373 #define HAVE_FMODF 1
20374 _ACEOF
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20382 $as_echo_n "checking for fmod... " >&6; }
20383 if ${gcc_cv_math_func_fmod+:} false; then :
20384 $as_echo_n "(cached) " >&6
20385 else
20386 if test x$gcc_no_link = xyes; then
20387 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20390 /* end confdefs.h. */
20392 #ifdef HAVE_COMPLEX_H
20393 #include <complex.h>
20394 #endif
20395 #ifdef HAVE_MATH_H
20396 #include <math.h>
20397 #endif
20399 int (*ptr)() = (int (*)())fmod;
20402 main ()
20404 return 0;
20407 _ACEOF
20408 if ac_fn_c_try_link "$LINENO"; then :
20409 gcc_cv_math_func_fmod=yes
20410 else
20411 gcc_cv_math_func_fmod=no
20413 rm -f core conftest.err conftest.$ac_objext \
20414 conftest$ac_exeext conftest.$ac_ext
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20417 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20418 if test $gcc_cv_math_func_fmod = yes; then
20420 cat >>confdefs.h <<_ACEOF
20421 #define HAVE_FMOD 1
20422 _ACEOF
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20430 $as_echo_n "checking for fmodl... " >&6; }
20431 if ${gcc_cv_math_func_fmodl+:} false; then :
20432 $as_echo_n "(cached) " >&6
20433 else
20434 if test x$gcc_no_link = xyes; then
20435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20440 #ifdef HAVE_COMPLEX_H
20441 #include <complex.h>
20442 #endif
20443 #ifdef HAVE_MATH_H
20444 #include <math.h>
20445 #endif
20447 int (*ptr)() = (int (*)())fmodl;
20450 main ()
20452 return 0;
20455 _ACEOF
20456 if ac_fn_c_try_link "$LINENO"; then :
20457 gcc_cv_math_func_fmodl=yes
20458 else
20459 gcc_cv_math_func_fmodl=no
20461 rm -f core conftest.err conftest.$ac_objext \
20462 conftest$ac_exeext conftest.$ac_ext
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20465 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20466 if test $gcc_cv_math_func_fmodl = yes; then
20468 cat >>confdefs.h <<_ACEOF
20469 #define HAVE_FMODL 1
20470 _ACEOF
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20478 $as_echo_n "checking for frexpf... " >&6; }
20479 if ${gcc_cv_math_func_frexpf+:} false; then :
20480 $as_echo_n "(cached) " >&6
20481 else
20482 if test x$gcc_no_link = xyes; then
20483 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h. */
20488 #ifdef HAVE_COMPLEX_H
20489 #include <complex.h>
20490 #endif
20491 #ifdef HAVE_MATH_H
20492 #include <math.h>
20493 #endif
20495 int (*ptr)() = (int (*)())frexpf;
20498 main ()
20500 return 0;
20503 _ACEOF
20504 if ac_fn_c_try_link "$LINENO"; then :
20505 gcc_cv_math_func_frexpf=yes
20506 else
20507 gcc_cv_math_func_frexpf=no
20509 rm -f core conftest.err conftest.$ac_objext \
20510 conftest$ac_exeext conftest.$ac_ext
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20513 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20514 if test $gcc_cv_math_func_frexpf = yes; then
20516 cat >>confdefs.h <<_ACEOF
20517 #define HAVE_FREXPF 1
20518 _ACEOF
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20526 $as_echo_n "checking for frexp... " >&6; }
20527 if ${gcc_cv_math_func_frexp+:} false; then :
20528 $as_echo_n "(cached) " >&6
20529 else
20530 if test x$gcc_no_link = xyes; then
20531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20534 /* end confdefs.h. */
20536 #ifdef HAVE_COMPLEX_H
20537 #include <complex.h>
20538 #endif
20539 #ifdef HAVE_MATH_H
20540 #include <math.h>
20541 #endif
20543 int (*ptr)() = (int (*)())frexp;
20546 main ()
20548 return 0;
20551 _ACEOF
20552 if ac_fn_c_try_link "$LINENO"; then :
20553 gcc_cv_math_func_frexp=yes
20554 else
20555 gcc_cv_math_func_frexp=no
20557 rm -f core conftest.err conftest.$ac_objext \
20558 conftest$ac_exeext conftest.$ac_ext
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20561 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20562 if test $gcc_cv_math_func_frexp = yes; then
20564 cat >>confdefs.h <<_ACEOF
20565 #define HAVE_FREXP 1
20566 _ACEOF
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20574 $as_echo_n "checking for frexpl... " >&6; }
20575 if ${gcc_cv_math_func_frexpl+:} false; then :
20576 $as_echo_n "(cached) " >&6
20577 else
20578 if test x$gcc_no_link = xyes; then
20579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20582 /* end confdefs.h. */
20584 #ifdef HAVE_COMPLEX_H
20585 #include <complex.h>
20586 #endif
20587 #ifdef HAVE_MATH_H
20588 #include <math.h>
20589 #endif
20591 int (*ptr)() = (int (*)())frexpl;
20594 main ()
20596 return 0;
20599 _ACEOF
20600 if ac_fn_c_try_link "$LINENO"; then :
20601 gcc_cv_math_func_frexpl=yes
20602 else
20603 gcc_cv_math_func_frexpl=no
20605 rm -f core conftest.err conftest.$ac_objext \
20606 conftest$ac_exeext conftest.$ac_ext
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20609 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20610 if test $gcc_cv_math_func_frexpl = yes; then
20612 cat >>confdefs.h <<_ACEOF
20613 #define HAVE_FREXPL 1
20614 _ACEOF
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20622 $as_echo_n "checking for hypotf... " >&6; }
20623 if ${gcc_cv_math_func_hypotf+:} false; then :
20624 $as_echo_n "(cached) " >&6
20625 else
20626 if test x$gcc_no_link = xyes; then
20627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20630 /* end confdefs.h. */
20632 #ifdef HAVE_COMPLEX_H
20633 #include <complex.h>
20634 #endif
20635 #ifdef HAVE_MATH_H
20636 #include <math.h>
20637 #endif
20639 int (*ptr)() = (int (*)())hypotf;
20642 main ()
20644 return 0;
20647 _ACEOF
20648 if ac_fn_c_try_link "$LINENO"; then :
20649 gcc_cv_math_func_hypotf=yes
20650 else
20651 gcc_cv_math_func_hypotf=no
20653 rm -f core conftest.err conftest.$ac_objext \
20654 conftest$ac_exeext conftest.$ac_ext
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20657 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20658 if test $gcc_cv_math_func_hypotf = yes; then
20660 cat >>confdefs.h <<_ACEOF
20661 #define HAVE_HYPOTF 1
20662 _ACEOF
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20670 $as_echo_n "checking for hypot... " >&6; }
20671 if ${gcc_cv_math_func_hypot+:} false; then :
20672 $as_echo_n "(cached) " >&6
20673 else
20674 if test x$gcc_no_link = xyes; then
20675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20680 #ifdef HAVE_COMPLEX_H
20681 #include <complex.h>
20682 #endif
20683 #ifdef HAVE_MATH_H
20684 #include <math.h>
20685 #endif
20687 int (*ptr)() = (int (*)())hypot;
20690 main ()
20692 return 0;
20695 _ACEOF
20696 if ac_fn_c_try_link "$LINENO"; then :
20697 gcc_cv_math_func_hypot=yes
20698 else
20699 gcc_cv_math_func_hypot=no
20701 rm -f core conftest.err conftest.$ac_objext \
20702 conftest$ac_exeext conftest.$ac_ext
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20705 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20706 if test $gcc_cv_math_func_hypot = yes; then
20708 cat >>confdefs.h <<_ACEOF
20709 #define HAVE_HYPOT 1
20710 _ACEOF
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20718 $as_echo_n "checking for hypotl... " >&6; }
20719 if ${gcc_cv_math_func_hypotl+:} false; then :
20720 $as_echo_n "(cached) " >&6
20721 else
20722 if test x$gcc_no_link = xyes; then
20723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20728 #ifdef HAVE_COMPLEX_H
20729 #include <complex.h>
20730 #endif
20731 #ifdef HAVE_MATH_H
20732 #include <math.h>
20733 #endif
20735 int (*ptr)() = (int (*)())hypotl;
20738 main ()
20740 return 0;
20743 _ACEOF
20744 if ac_fn_c_try_link "$LINENO"; then :
20745 gcc_cv_math_func_hypotl=yes
20746 else
20747 gcc_cv_math_func_hypotl=no
20749 rm -f core conftest.err conftest.$ac_objext \
20750 conftest$ac_exeext conftest.$ac_ext
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20753 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20754 if test $gcc_cv_math_func_hypotl = yes; then
20756 cat >>confdefs.h <<_ACEOF
20757 #define HAVE_HYPOTL 1
20758 _ACEOF
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20766 $as_echo_n "checking for ldexpf... " >&6; }
20767 if ${gcc_cv_math_func_ldexpf+:} false; then :
20768 $as_echo_n "(cached) " >&6
20769 else
20770 if test x$gcc_no_link = xyes; then
20771 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20774 /* end confdefs.h. */
20776 #ifdef HAVE_COMPLEX_H
20777 #include <complex.h>
20778 #endif
20779 #ifdef HAVE_MATH_H
20780 #include <math.h>
20781 #endif
20783 int (*ptr)() = (int (*)())ldexpf;
20786 main ()
20788 return 0;
20791 _ACEOF
20792 if ac_fn_c_try_link "$LINENO"; then :
20793 gcc_cv_math_func_ldexpf=yes
20794 else
20795 gcc_cv_math_func_ldexpf=no
20797 rm -f core conftest.err conftest.$ac_objext \
20798 conftest$ac_exeext conftest.$ac_ext
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20801 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20802 if test $gcc_cv_math_func_ldexpf = yes; then
20804 cat >>confdefs.h <<_ACEOF
20805 #define HAVE_LDEXPF 1
20806 _ACEOF
20813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20814 $as_echo_n "checking for ldexp... " >&6; }
20815 if ${gcc_cv_math_func_ldexp+:} false; then :
20816 $as_echo_n "(cached) " >&6
20817 else
20818 if test x$gcc_no_link = xyes; then
20819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20824 #ifdef HAVE_COMPLEX_H
20825 #include <complex.h>
20826 #endif
20827 #ifdef HAVE_MATH_H
20828 #include <math.h>
20829 #endif
20831 int (*ptr)() = (int (*)())ldexp;
20834 main ()
20836 return 0;
20839 _ACEOF
20840 if ac_fn_c_try_link "$LINENO"; then :
20841 gcc_cv_math_func_ldexp=yes
20842 else
20843 gcc_cv_math_func_ldexp=no
20845 rm -f core conftest.err conftest.$ac_objext \
20846 conftest$ac_exeext conftest.$ac_ext
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20849 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20850 if test $gcc_cv_math_func_ldexp = yes; then
20852 cat >>confdefs.h <<_ACEOF
20853 #define HAVE_LDEXP 1
20854 _ACEOF
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20862 $as_echo_n "checking for ldexpl... " >&6; }
20863 if ${gcc_cv_math_func_ldexpl+:} false; then :
20864 $as_echo_n "(cached) " >&6
20865 else
20866 if test x$gcc_no_link = xyes; then
20867 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20870 /* end confdefs.h. */
20872 #ifdef HAVE_COMPLEX_H
20873 #include <complex.h>
20874 #endif
20875 #ifdef HAVE_MATH_H
20876 #include <math.h>
20877 #endif
20879 int (*ptr)() = (int (*)())ldexpl;
20882 main ()
20884 return 0;
20887 _ACEOF
20888 if ac_fn_c_try_link "$LINENO"; then :
20889 gcc_cv_math_func_ldexpl=yes
20890 else
20891 gcc_cv_math_func_ldexpl=no
20893 rm -f core conftest.err conftest.$ac_objext \
20894 conftest$ac_exeext conftest.$ac_ext
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20897 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20898 if test $gcc_cv_math_func_ldexpl = yes; then
20900 cat >>confdefs.h <<_ACEOF
20901 #define HAVE_LDEXPL 1
20902 _ACEOF
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20910 $as_echo_n "checking for logf... " >&6; }
20911 if ${gcc_cv_math_func_logf+:} false; then :
20912 $as_echo_n "(cached) " >&6
20913 else
20914 if test x$gcc_no_link = xyes; then
20915 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20920 #ifdef HAVE_COMPLEX_H
20921 #include <complex.h>
20922 #endif
20923 #ifdef HAVE_MATH_H
20924 #include <math.h>
20925 #endif
20927 int (*ptr)() = (int (*)())logf;
20930 main ()
20932 return 0;
20935 _ACEOF
20936 if ac_fn_c_try_link "$LINENO"; then :
20937 gcc_cv_math_func_logf=yes
20938 else
20939 gcc_cv_math_func_logf=no
20941 rm -f core conftest.err conftest.$ac_objext \
20942 conftest$ac_exeext conftest.$ac_ext
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20945 $as_echo "$gcc_cv_math_func_logf" >&6; }
20946 if test $gcc_cv_math_func_logf = yes; then
20948 cat >>confdefs.h <<_ACEOF
20949 #define HAVE_LOGF 1
20950 _ACEOF
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20958 $as_echo_n "checking for log... " >&6; }
20959 if ${gcc_cv_math_func_log+:} false; then :
20960 $as_echo_n "(cached) " >&6
20961 else
20962 if test x$gcc_no_link = xyes; then
20963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20968 #ifdef HAVE_COMPLEX_H
20969 #include <complex.h>
20970 #endif
20971 #ifdef HAVE_MATH_H
20972 #include <math.h>
20973 #endif
20975 int (*ptr)() = (int (*)())log;
20978 main ()
20980 return 0;
20983 _ACEOF
20984 if ac_fn_c_try_link "$LINENO"; then :
20985 gcc_cv_math_func_log=yes
20986 else
20987 gcc_cv_math_func_log=no
20989 rm -f core conftest.err conftest.$ac_objext \
20990 conftest$ac_exeext conftest.$ac_ext
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20993 $as_echo "$gcc_cv_math_func_log" >&6; }
20994 if test $gcc_cv_math_func_log = yes; then
20996 cat >>confdefs.h <<_ACEOF
20997 #define HAVE_LOG 1
20998 _ACEOF
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
21006 $as_echo_n "checking for logl... " >&6; }
21007 if ${gcc_cv_math_func_logl+:} false; then :
21008 $as_echo_n "(cached) " >&6
21009 else
21010 if test x$gcc_no_link = xyes; then
21011 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21016 #ifdef HAVE_COMPLEX_H
21017 #include <complex.h>
21018 #endif
21019 #ifdef HAVE_MATH_H
21020 #include <math.h>
21021 #endif
21023 int (*ptr)() = (int (*)())logl;
21026 main ()
21028 return 0;
21031 _ACEOF
21032 if ac_fn_c_try_link "$LINENO"; then :
21033 gcc_cv_math_func_logl=yes
21034 else
21035 gcc_cv_math_func_logl=no
21037 rm -f core conftest.err conftest.$ac_objext \
21038 conftest$ac_exeext conftest.$ac_ext
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
21041 $as_echo "$gcc_cv_math_func_logl" >&6; }
21042 if test $gcc_cv_math_func_logl = yes; then
21044 cat >>confdefs.h <<_ACEOF
21045 #define HAVE_LOGL 1
21046 _ACEOF
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
21054 $as_echo_n "checking for clogf... " >&6; }
21055 if ${gcc_cv_math_func_clogf+:} false; then :
21056 $as_echo_n "(cached) " >&6
21057 else
21058 if test x$gcc_no_link = xyes; then
21059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21062 /* end confdefs.h. */
21064 #ifdef HAVE_COMPLEX_H
21065 #include <complex.h>
21066 #endif
21067 #ifdef HAVE_MATH_H
21068 #include <math.h>
21069 #endif
21071 int (*ptr)() = (int (*)())clogf;
21074 main ()
21076 return 0;
21079 _ACEOF
21080 if ac_fn_c_try_link "$LINENO"; then :
21081 gcc_cv_math_func_clogf=yes
21082 else
21083 gcc_cv_math_func_clogf=no
21085 rm -f core conftest.err conftest.$ac_objext \
21086 conftest$ac_exeext conftest.$ac_ext
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
21089 $as_echo "$gcc_cv_math_func_clogf" >&6; }
21090 if test $gcc_cv_math_func_clogf = yes; then
21092 cat >>confdefs.h <<_ACEOF
21093 #define HAVE_CLOGF 1
21094 _ACEOF
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
21102 $as_echo_n "checking for clog... " >&6; }
21103 if ${gcc_cv_math_func_clog+:} false; then :
21104 $as_echo_n "(cached) " >&6
21105 else
21106 if test x$gcc_no_link = xyes; then
21107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h. */
21112 #ifdef HAVE_COMPLEX_H
21113 #include <complex.h>
21114 #endif
21115 #ifdef HAVE_MATH_H
21116 #include <math.h>
21117 #endif
21119 int (*ptr)() = (int (*)())clog;
21122 main ()
21124 return 0;
21127 _ACEOF
21128 if ac_fn_c_try_link "$LINENO"; then :
21129 gcc_cv_math_func_clog=yes
21130 else
21131 gcc_cv_math_func_clog=no
21133 rm -f core conftest.err conftest.$ac_objext \
21134 conftest$ac_exeext conftest.$ac_ext
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21137 $as_echo "$gcc_cv_math_func_clog" >&6; }
21138 if test $gcc_cv_math_func_clog = yes; then
21140 cat >>confdefs.h <<_ACEOF
21141 #define HAVE_CLOG 1
21142 _ACEOF
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21150 $as_echo_n "checking for clogl... " >&6; }
21151 if ${gcc_cv_math_func_clogl+:} false; then :
21152 $as_echo_n "(cached) " >&6
21153 else
21154 if test x$gcc_no_link = xyes; then
21155 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21160 #ifdef HAVE_COMPLEX_H
21161 #include <complex.h>
21162 #endif
21163 #ifdef HAVE_MATH_H
21164 #include <math.h>
21165 #endif
21167 int (*ptr)() = (int (*)())clogl;
21170 main ()
21172 return 0;
21175 _ACEOF
21176 if ac_fn_c_try_link "$LINENO"; then :
21177 gcc_cv_math_func_clogl=yes
21178 else
21179 gcc_cv_math_func_clogl=no
21181 rm -f core conftest.err conftest.$ac_objext \
21182 conftest$ac_exeext conftest.$ac_ext
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21185 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21186 if test $gcc_cv_math_func_clogl = yes; then
21188 cat >>confdefs.h <<_ACEOF
21189 #define HAVE_CLOGL 1
21190 _ACEOF
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21198 $as_echo_n "checking for log10f... " >&6; }
21199 if ${gcc_cv_math_func_log10f+:} false; then :
21200 $as_echo_n "(cached) " >&6
21201 else
21202 if test x$gcc_no_link = xyes; then
21203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21206 /* end confdefs.h. */
21208 #ifdef HAVE_COMPLEX_H
21209 #include <complex.h>
21210 #endif
21211 #ifdef HAVE_MATH_H
21212 #include <math.h>
21213 #endif
21215 int (*ptr)() = (int (*)())log10f;
21218 main ()
21220 return 0;
21223 _ACEOF
21224 if ac_fn_c_try_link "$LINENO"; then :
21225 gcc_cv_math_func_log10f=yes
21226 else
21227 gcc_cv_math_func_log10f=no
21229 rm -f core conftest.err conftest.$ac_objext \
21230 conftest$ac_exeext conftest.$ac_ext
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21233 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21234 if test $gcc_cv_math_func_log10f = yes; then
21236 cat >>confdefs.h <<_ACEOF
21237 #define HAVE_LOG10F 1
21238 _ACEOF
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21246 $as_echo_n "checking for log10... " >&6; }
21247 if ${gcc_cv_math_func_log10+:} false; then :
21248 $as_echo_n "(cached) " >&6
21249 else
21250 if test x$gcc_no_link = xyes; then
21251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21254 /* end confdefs.h. */
21256 #ifdef HAVE_COMPLEX_H
21257 #include <complex.h>
21258 #endif
21259 #ifdef HAVE_MATH_H
21260 #include <math.h>
21261 #endif
21263 int (*ptr)() = (int (*)())log10;
21266 main ()
21268 return 0;
21271 _ACEOF
21272 if ac_fn_c_try_link "$LINENO"; then :
21273 gcc_cv_math_func_log10=yes
21274 else
21275 gcc_cv_math_func_log10=no
21277 rm -f core conftest.err conftest.$ac_objext \
21278 conftest$ac_exeext conftest.$ac_ext
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21281 $as_echo "$gcc_cv_math_func_log10" >&6; }
21282 if test $gcc_cv_math_func_log10 = yes; then
21284 cat >>confdefs.h <<_ACEOF
21285 #define HAVE_LOG10 1
21286 _ACEOF
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21294 $as_echo_n "checking for log10l... " >&6; }
21295 if ${gcc_cv_math_func_log10l+:} false; then :
21296 $as_echo_n "(cached) " >&6
21297 else
21298 if test x$gcc_no_link = xyes; then
21299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21302 /* end confdefs.h. */
21304 #ifdef HAVE_COMPLEX_H
21305 #include <complex.h>
21306 #endif
21307 #ifdef HAVE_MATH_H
21308 #include <math.h>
21309 #endif
21311 int (*ptr)() = (int (*)())log10l;
21314 main ()
21316 return 0;
21319 _ACEOF
21320 if ac_fn_c_try_link "$LINENO"; then :
21321 gcc_cv_math_func_log10l=yes
21322 else
21323 gcc_cv_math_func_log10l=no
21325 rm -f core conftest.err conftest.$ac_objext \
21326 conftest$ac_exeext conftest.$ac_ext
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21329 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21330 if test $gcc_cv_math_func_log10l = yes; then
21332 cat >>confdefs.h <<_ACEOF
21333 #define HAVE_LOG10L 1
21334 _ACEOF
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21342 $as_echo_n "checking for clog10f... " >&6; }
21343 if ${gcc_cv_math_func_clog10f+:} false; then :
21344 $as_echo_n "(cached) " >&6
21345 else
21346 if test x$gcc_no_link = xyes; then
21347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21350 /* end confdefs.h. */
21352 #ifdef HAVE_COMPLEX_H
21353 #include <complex.h>
21354 #endif
21355 #ifdef HAVE_MATH_H
21356 #include <math.h>
21357 #endif
21359 int (*ptr)() = (int (*)())clog10f;
21362 main ()
21364 return 0;
21367 _ACEOF
21368 if ac_fn_c_try_link "$LINENO"; then :
21369 gcc_cv_math_func_clog10f=yes
21370 else
21371 gcc_cv_math_func_clog10f=no
21373 rm -f core conftest.err conftest.$ac_objext \
21374 conftest$ac_exeext conftest.$ac_ext
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21377 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21378 if test $gcc_cv_math_func_clog10f = yes; then
21380 cat >>confdefs.h <<_ACEOF
21381 #define HAVE_CLOG10F 1
21382 _ACEOF
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21390 $as_echo_n "checking for clog10... " >&6; }
21391 if ${gcc_cv_math_func_clog10+:} false; then :
21392 $as_echo_n "(cached) " >&6
21393 else
21394 if test x$gcc_no_link = xyes; then
21395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h. */
21400 #ifdef HAVE_COMPLEX_H
21401 #include <complex.h>
21402 #endif
21403 #ifdef HAVE_MATH_H
21404 #include <math.h>
21405 #endif
21407 int (*ptr)() = (int (*)())clog10;
21410 main ()
21412 return 0;
21415 _ACEOF
21416 if ac_fn_c_try_link "$LINENO"; then :
21417 gcc_cv_math_func_clog10=yes
21418 else
21419 gcc_cv_math_func_clog10=no
21421 rm -f core conftest.err conftest.$ac_objext \
21422 conftest$ac_exeext conftest.$ac_ext
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21425 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21426 if test $gcc_cv_math_func_clog10 = yes; then
21428 cat >>confdefs.h <<_ACEOF
21429 #define HAVE_CLOG10 1
21430 _ACEOF
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21438 $as_echo_n "checking for clog10l... " >&6; }
21439 if ${gcc_cv_math_func_clog10l+:} false; then :
21440 $as_echo_n "(cached) " >&6
21441 else
21442 if test x$gcc_no_link = xyes; then
21443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21446 /* end confdefs.h. */
21448 #ifdef HAVE_COMPLEX_H
21449 #include <complex.h>
21450 #endif
21451 #ifdef HAVE_MATH_H
21452 #include <math.h>
21453 #endif
21455 int (*ptr)() = (int (*)())clog10l;
21458 main ()
21460 return 0;
21463 _ACEOF
21464 if ac_fn_c_try_link "$LINENO"; then :
21465 gcc_cv_math_func_clog10l=yes
21466 else
21467 gcc_cv_math_func_clog10l=no
21469 rm -f core conftest.err conftest.$ac_objext \
21470 conftest$ac_exeext conftest.$ac_ext
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21473 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21474 if test $gcc_cv_math_func_clog10l = yes; then
21476 cat >>confdefs.h <<_ACEOF
21477 #define HAVE_CLOG10L 1
21478 _ACEOF
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21486 $as_echo_n "checking for nextafterf... " >&6; }
21487 if ${gcc_cv_math_func_nextafterf+:} false; then :
21488 $as_echo_n "(cached) " >&6
21489 else
21490 if test x$gcc_no_link = xyes; then
21491 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21494 /* end confdefs.h. */
21496 #ifdef HAVE_COMPLEX_H
21497 #include <complex.h>
21498 #endif
21499 #ifdef HAVE_MATH_H
21500 #include <math.h>
21501 #endif
21503 int (*ptr)() = (int (*)())nextafterf;
21506 main ()
21508 return 0;
21511 _ACEOF
21512 if ac_fn_c_try_link "$LINENO"; then :
21513 gcc_cv_math_func_nextafterf=yes
21514 else
21515 gcc_cv_math_func_nextafterf=no
21517 rm -f core conftest.err conftest.$ac_objext \
21518 conftest$ac_exeext conftest.$ac_ext
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21521 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21522 if test $gcc_cv_math_func_nextafterf = yes; then
21524 cat >>confdefs.h <<_ACEOF
21525 #define HAVE_NEXTAFTERF 1
21526 _ACEOF
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21534 $as_echo_n "checking for nextafter... " >&6; }
21535 if ${gcc_cv_math_func_nextafter+:} false; then :
21536 $as_echo_n "(cached) " >&6
21537 else
21538 if test x$gcc_no_link = xyes; then
21539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21544 #ifdef HAVE_COMPLEX_H
21545 #include <complex.h>
21546 #endif
21547 #ifdef HAVE_MATH_H
21548 #include <math.h>
21549 #endif
21551 int (*ptr)() = (int (*)())nextafter;
21554 main ()
21556 return 0;
21559 _ACEOF
21560 if ac_fn_c_try_link "$LINENO"; then :
21561 gcc_cv_math_func_nextafter=yes
21562 else
21563 gcc_cv_math_func_nextafter=no
21565 rm -f core conftest.err conftest.$ac_objext \
21566 conftest$ac_exeext conftest.$ac_ext
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21569 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21570 if test $gcc_cv_math_func_nextafter = yes; then
21572 cat >>confdefs.h <<_ACEOF
21573 #define HAVE_NEXTAFTER 1
21574 _ACEOF
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21582 $as_echo_n "checking for nextafterl... " >&6; }
21583 if ${gcc_cv_math_func_nextafterl+:} false; then :
21584 $as_echo_n "(cached) " >&6
21585 else
21586 if test x$gcc_no_link = xyes; then
21587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21592 #ifdef HAVE_COMPLEX_H
21593 #include <complex.h>
21594 #endif
21595 #ifdef HAVE_MATH_H
21596 #include <math.h>
21597 #endif
21599 int (*ptr)() = (int (*)())nextafterl;
21602 main ()
21604 return 0;
21607 _ACEOF
21608 if ac_fn_c_try_link "$LINENO"; then :
21609 gcc_cv_math_func_nextafterl=yes
21610 else
21611 gcc_cv_math_func_nextafterl=no
21613 rm -f core conftest.err conftest.$ac_objext \
21614 conftest$ac_exeext conftest.$ac_ext
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21617 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21618 if test $gcc_cv_math_func_nextafterl = yes; then
21620 cat >>confdefs.h <<_ACEOF
21621 #define HAVE_NEXTAFTERL 1
21622 _ACEOF
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21630 $as_echo_n "checking for powf... " >&6; }
21631 if ${gcc_cv_math_func_powf+:} false; then :
21632 $as_echo_n "(cached) " >&6
21633 else
21634 if test x$gcc_no_link = xyes; then
21635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21638 /* end confdefs.h. */
21640 #ifdef HAVE_COMPLEX_H
21641 #include <complex.h>
21642 #endif
21643 #ifdef HAVE_MATH_H
21644 #include <math.h>
21645 #endif
21647 int (*ptr)() = (int (*)())powf;
21650 main ()
21652 return 0;
21655 _ACEOF
21656 if ac_fn_c_try_link "$LINENO"; then :
21657 gcc_cv_math_func_powf=yes
21658 else
21659 gcc_cv_math_func_powf=no
21661 rm -f core conftest.err conftest.$ac_objext \
21662 conftest$ac_exeext conftest.$ac_ext
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21665 $as_echo "$gcc_cv_math_func_powf" >&6; }
21666 if test $gcc_cv_math_func_powf = yes; then
21668 cat >>confdefs.h <<_ACEOF
21669 #define HAVE_POWF 1
21670 _ACEOF
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21678 $as_echo_n "checking for pow... " >&6; }
21679 if ${gcc_cv_math_func_pow+:} false; then :
21680 $as_echo_n "(cached) " >&6
21681 else
21682 if test x$gcc_no_link = xyes; then
21683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21686 /* end confdefs.h. */
21688 #ifdef HAVE_COMPLEX_H
21689 #include <complex.h>
21690 #endif
21691 #ifdef HAVE_MATH_H
21692 #include <math.h>
21693 #endif
21695 int (*ptr)() = (int (*)())pow;
21698 main ()
21700 return 0;
21703 _ACEOF
21704 if ac_fn_c_try_link "$LINENO"; then :
21705 gcc_cv_math_func_pow=yes
21706 else
21707 gcc_cv_math_func_pow=no
21709 rm -f core conftest.err conftest.$ac_objext \
21710 conftest$ac_exeext conftest.$ac_ext
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21713 $as_echo "$gcc_cv_math_func_pow" >&6; }
21714 if test $gcc_cv_math_func_pow = yes; then
21716 cat >>confdefs.h <<_ACEOF
21717 #define HAVE_POW 1
21718 _ACEOF
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21726 $as_echo_n "checking for cpowf... " >&6; }
21727 if ${gcc_cv_math_func_cpowf+:} false; then :
21728 $as_echo_n "(cached) " >&6
21729 else
21730 if test x$gcc_no_link = xyes; then
21731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21736 #ifdef HAVE_COMPLEX_H
21737 #include <complex.h>
21738 #endif
21739 #ifdef HAVE_MATH_H
21740 #include <math.h>
21741 #endif
21743 int (*ptr)() = (int (*)())cpowf;
21746 main ()
21748 return 0;
21751 _ACEOF
21752 if ac_fn_c_try_link "$LINENO"; then :
21753 gcc_cv_math_func_cpowf=yes
21754 else
21755 gcc_cv_math_func_cpowf=no
21757 rm -f core conftest.err conftest.$ac_objext \
21758 conftest$ac_exeext conftest.$ac_ext
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21761 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21762 if test $gcc_cv_math_func_cpowf = yes; then
21764 cat >>confdefs.h <<_ACEOF
21765 #define HAVE_CPOWF 1
21766 _ACEOF
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21774 $as_echo_n "checking for cpow... " >&6; }
21775 if ${gcc_cv_math_func_cpow+:} false; then :
21776 $as_echo_n "(cached) " >&6
21777 else
21778 if test x$gcc_no_link = xyes; then
21779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21782 /* end confdefs.h. */
21784 #ifdef HAVE_COMPLEX_H
21785 #include <complex.h>
21786 #endif
21787 #ifdef HAVE_MATH_H
21788 #include <math.h>
21789 #endif
21791 int (*ptr)() = (int (*)())cpow;
21794 main ()
21796 return 0;
21799 _ACEOF
21800 if ac_fn_c_try_link "$LINENO"; then :
21801 gcc_cv_math_func_cpow=yes
21802 else
21803 gcc_cv_math_func_cpow=no
21805 rm -f core conftest.err conftest.$ac_objext \
21806 conftest$ac_exeext conftest.$ac_ext
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21809 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21810 if test $gcc_cv_math_func_cpow = yes; then
21812 cat >>confdefs.h <<_ACEOF
21813 #define HAVE_CPOW 1
21814 _ACEOF
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21822 $as_echo_n "checking for cpowl... " >&6; }
21823 if ${gcc_cv_math_func_cpowl+:} false; then :
21824 $as_echo_n "(cached) " >&6
21825 else
21826 if test x$gcc_no_link = xyes; then
21827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21830 /* end confdefs.h. */
21832 #ifdef HAVE_COMPLEX_H
21833 #include <complex.h>
21834 #endif
21835 #ifdef HAVE_MATH_H
21836 #include <math.h>
21837 #endif
21839 int (*ptr)() = (int (*)())cpowl;
21842 main ()
21844 return 0;
21847 _ACEOF
21848 if ac_fn_c_try_link "$LINENO"; then :
21849 gcc_cv_math_func_cpowl=yes
21850 else
21851 gcc_cv_math_func_cpowl=no
21853 rm -f core conftest.err conftest.$ac_objext \
21854 conftest$ac_exeext conftest.$ac_ext
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21857 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21858 if test $gcc_cv_math_func_cpowl = yes; then
21860 cat >>confdefs.h <<_ACEOF
21861 #define HAVE_CPOWL 1
21862 _ACEOF
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21870 $as_echo_n "checking for roundf... " >&6; }
21871 if ${gcc_cv_math_func_roundf+:} false; then :
21872 $as_echo_n "(cached) " >&6
21873 else
21874 if test x$gcc_no_link = xyes; then
21875 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21880 #ifdef HAVE_COMPLEX_H
21881 #include <complex.h>
21882 #endif
21883 #ifdef HAVE_MATH_H
21884 #include <math.h>
21885 #endif
21887 int (*ptr)() = (int (*)())roundf;
21890 main ()
21892 return 0;
21895 _ACEOF
21896 if ac_fn_c_try_link "$LINENO"; then :
21897 gcc_cv_math_func_roundf=yes
21898 else
21899 gcc_cv_math_func_roundf=no
21901 rm -f core conftest.err conftest.$ac_objext \
21902 conftest$ac_exeext conftest.$ac_ext
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21905 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21906 if test $gcc_cv_math_func_roundf = yes; then
21908 cat >>confdefs.h <<_ACEOF
21909 #define HAVE_ROUNDF 1
21910 _ACEOF
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21918 $as_echo_n "checking for round... " >&6; }
21919 if ${gcc_cv_math_func_round+:} false; then :
21920 $as_echo_n "(cached) " >&6
21921 else
21922 if test x$gcc_no_link = xyes; then
21923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21926 /* end confdefs.h. */
21928 #ifdef HAVE_COMPLEX_H
21929 #include <complex.h>
21930 #endif
21931 #ifdef HAVE_MATH_H
21932 #include <math.h>
21933 #endif
21935 int (*ptr)() = (int (*)())round;
21938 main ()
21940 return 0;
21943 _ACEOF
21944 if ac_fn_c_try_link "$LINENO"; then :
21945 gcc_cv_math_func_round=yes
21946 else
21947 gcc_cv_math_func_round=no
21949 rm -f core conftest.err conftest.$ac_objext \
21950 conftest$ac_exeext conftest.$ac_ext
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21953 $as_echo "$gcc_cv_math_func_round" >&6; }
21954 if test $gcc_cv_math_func_round = yes; then
21956 cat >>confdefs.h <<_ACEOF
21957 #define HAVE_ROUND 1
21958 _ACEOF
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21966 $as_echo_n "checking for roundl... " >&6; }
21967 if ${gcc_cv_math_func_roundl+:} false; then :
21968 $as_echo_n "(cached) " >&6
21969 else
21970 if test x$gcc_no_link = xyes; then
21971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21974 /* end confdefs.h. */
21976 #ifdef HAVE_COMPLEX_H
21977 #include <complex.h>
21978 #endif
21979 #ifdef HAVE_MATH_H
21980 #include <math.h>
21981 #endif
21983 int (*ptr)() = (int (*)())roundl;
21986 main ()
21988 return 0;
21991 _ACEOF
21992 if ac_fn_c_try_link "$LINENO"; then :
21993 gcc_cv_math_func_roundl=yes
21994 else
21995 gcc_cv_math_func_roundl=no
21997 rm -f core conftest.err conftest.$ac_objext \
21998 conftest$ac_exeext conftest.$ac_ext
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
22001 $as_echo "$gcc_cv_math_func_roundl" >&6; }
22002 if test $gcc_cv_math_func_roundl = yes; then
22004 cat >>confdefs.h <<_ACEOF
22005 #define HAVE_ROUNDL 1
22006 _ACEOF
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
22014 $as_echo_n "checking for lroundf... " >&6; }
22015 if ${gcc_cv_math_func_lroundf+:} false; then :
22016 $as_echo_n "(cached) " >&6
22017 else
22018 if test x$gcc_no_link = xyes; then
22019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22022 /* end confdefs.h. */
22024 #ifdef HAVE_COMPLEX_H
22025 #include <complex.h>
22026 #endif
22027 #ifdef HAVE_MATH_H
22028 #include <math.h>
22029 #endif
22031 int (*ptr)() = (int (*)())lroundf;
22034 main ()
22036 return 0;
22039 _ACEOF
22040 if ac_fn_c_try_link "$LINENO"; then :
22041 gcc_cv_math_func_lroundf=yes
22042 else
22043 gcc_cv_math_func_lroundf=no
22045 rm -f core conftest.err conftest.$ac_objext \
22046 conftest$ac_exeext conftest.$ac_ext
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
22049 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
22050 if test $gcc_cv_math_func_lroundf = yes; then
22052 cat >>confdefs.h <<_ACEOF
22053 #define HAVE_LROUNDF 1
22054 _ACEOF
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
22062 $as_echo_n "checking for lround... " >&6; }
22063 if ${gcc_cv_math_func_lround+:} false; then :
22064 $as_echo_n "(cached) " >&6
22065 else
22066 if test x$gcc_no_link = xyes; then
22067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22070 /* end confdefs.h. */
22072 #ifdef HAVE_COMPLEX_H
22073 #include <complex.h>
22074 #endif
22075 #ifdef HAVE_MATH_H
22076 #include <math.h>
22077 #endif
22079 int (*ptr)() = (int (*)())lround;
22082 main ()
22084 return 0;
22087 _ACEOF
22088 if ac_fn_c_try_link "$LINENO"; then :
22089 gcc_cv_math_func_lround=yes
22090 else
22091 gcc_cv_math_func_lround=no
22093 rm -f core conftest.err conftest.$ac_objext \
22094 conftest$ac_exeext conftest.$ac_ext
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
22097 $as_echo "$gcc_cv_math_func_lround" >&6; }
22098 if test $gcc_cv_math_func_lround = yes; then
22100 cat >>confdefs.h <<_ACEOF
22101 #define HAVE_LROUND 1
22102 _ACEOF
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
22110 $as_echo_n "checking for lroundl... " >&6; }
22111 if ${gcc_cv_math_func_lroundl+:} false; then :
22112 $as_echo_n "(cached) " >&6
22113 else
22114 if test x$gcc_no_link = xyes; then
22115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22118 /* end confdefs.h. */
22120 #ifdef HAVE_COMPLEX_H
22121 #include <complex.h>
22122 #endif
22123 #ifdef HAVE_MATH_H
22124 #include <math.h>
22125 #endif
22127 int (*ptr)() = (int (*)())lroundl;
22130 main ()
22132 return 0;
22135 _ACEOF
22136 if ac_fn_c_try_link "$LINENO"; then :
22137 gcc_cv_math_func_lroundl=yes
22138 else
22139 gcc_cv_math_func_lroundl=no
22141 rm -f core conftest.err conftest.$ac_objext \
22142 conftest$ac_exeext conftest.$ac_ext
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22145 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22146 if test $gcc_cv_math_func_lroundl = yes; then
22148 cat >>confdefs.h <<_ACEOF
22149 #define HAVE_LROUNDL 1
22150 _ACEOF
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22158 $as_echo_n "checking for llroundf... " >&6; }
22159 if ${gcc_cv_math_func_llroundf+:} false; then :
22160 $as_echo_n "(cached) " >&6
22161 else
22162 if test x$gcc_no_link = xyes; then
22163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22166 /* end confdefs.h. */
22168 #ifdef HAVE_COMPLEX_H
22169 #include <complex.h>
22170 #endif
22171 #ifdef HAVE_MATH_H
22172 #include <math.h>
22173 #endif
22175 int (*ptr)() = (int (*)())llroundf;
22178 main ()
22180 return 0;
22183 _ACEOF
22184 if ac_fn_c_try_link "$LINENO"; then :
22185 gcc_cv_math_func_llroundf=yes
22186 else
22187 gcc_cv_math_func_llroundf=no
22189 rm -f core conftest.err conftest.$ac_objext \
22190 conftest$ac_exeext conftest.$ac_ext
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22193 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22194 if test $gcc_cv_math_func_llroundf = yes; then
22196 cat >>confdefs.h <<_ACEOF
22197 #define HAVE_LLROUNDF 1
22198 _ACEOF
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22206 $as_echo_n "checking for llround... " >&6; }
22207 if ${gcc_cv_math_func_llround+:} false; then :
22208 $as_echo_n "(cached) " >&6
22209 else
22210 if test x$gcc_no_link = xyes; then
22211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22216 #ifdef HAVE_COMPLEX_H
22217 #include <complex.h>
22218 #endif
22219 #ifdef HAVE_MATH_H
22220 #include <math.h>
22221 #endif
22223 int (*ptr)() = (int (*)())llround;
22226 main ()
22228 return 0;
22231 _ACEOF
22232 if ac_fn_c_try_link "$LINENO"; then :
22233 gcc_cv_math_func_llround=yes
22234 else
22235 gcc_cv_math_func_llround=no
22237 rm -f core conftest.err conftest.$ac_objext \
22238 conftest$ac_exeext conftest.$ac_ext
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22241 $as_echo "$gcc_cv_math_func_llround" >&6; }
22242 if test $gcc_cv_math_func_llround = yes; then
22244 cat >>confdefs.h <<_ACEOF
22245 #define HAVE_LLROUND 1
22246 _ACEOF
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22254 $as_echo_n "checking for llroundl... " >&6; }
22255 if ${gcc_cv_math_func_llroundl+:} false; then :
22256 $as_echo_n "(cached) " >&6
22257 else
22258 if test x$gcc_no_link = xyes; then
22259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22262 /* end confdefs.h. */
22264 #ifdef HAVE_COMPLEX_H
22265 #include <complex.h>
22266 #endif
22267 #ifdef HAVE_MATH_H
22268 #include <math.h>
22269 #endif
22271 int (*ptr)() = (int (*)())llroundl;
22274 main ()
22276 return 0;
22279 _ACEOF
22280 if ac_fn_c_try_link "$LINENO"; then :
22281 gcc_cv_math_func_llroundl=yes
22282 else
22283 gcc_cv_math_func_llroundl=no
22285 rm -f core conftest.err conftest.$ac_objext \
22286 conftest$ac_exeext conftest.$ac_ext
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22289 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22290 if test $gcc_cv_math_func_llroundl = yes; then
22292 cat >>confdefs.h <<_ACEOF
22293 #define HAVE_LLROUNDL 1
22294 _ACEOF
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22302 $as_echo_n "checking for scalbnf... " >&6; }
22303 if ${gcc_cv_math_func_scalbnf+:} false; then :
22304 $as_echo_n "(cached) " >&6
22305 else
22306 if test x$gcc_no_link = xyes; then
22307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22310 /* end confdefs.h. */
22312 #ifdef HAVE_COMPLEX_H
22313 #include <complex.h>
22314 #endif
22315 #ifdef HAVE_MATH_H
22316 #include <math.h>
22317 #endif
22319 int (*ptr)() = (int (*)())scalbnf;
22322 main ()
22324 return 0;
22327 _ACEOF
22328 if ac_fn_c_try_link "$LINENO"; then :
22329 gcc_cv_math_func_scalbnf=yes
22330 else
22331 gcc_cv_math_func_scalbnf=no
22333 rm -f core conftest.err conftest.$ac_objext \
22334 conftest$ac_exeext conftest.$ac_ext
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22337 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22338 if test $gcc_cv_math_func_scalbnf = yes; then
22340 cat >>confdefs.h <<_ACEOF
22341 #define HAVE_SCALBNF 1
22342 _ACEOF
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22350 $as_echo_n "checking for scalbn... " >&6; }
22351 if ${gcc_cv_math_func_scalbn+:} false; then :
22352 $as_echo_n "(cached) " >&6
22353 else
22354 if test x$gcc_no_link = xyes; then
22355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22360 #ifdef HAVE_COMPLEX_H
22361 #include <complex.h>
22362 #endif
22363 #ifdef HAVE_MATH_H
22364 #include <math.h>
22365 #endif
22367 int (*ptr)() = (int (*)())scalbn;
22370 main ()
22372 return 0;
22375 _ACEOF
22376 if ac_fn_c_try_link "$LINENO"; then :
22377 gcc_cv_math_func_scalbn=yes
22378 else
22379 gcc_cv_math_func_scalbn=no
22381 rm -f core conftest.err conftest.$ac_objext \
22382 conftest$ac_exeext conftest.$ac_ext
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22385 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22386 if test $gcc_cv_math_func_scalbn = yes; then
22388 cat >>confdefs.h <<_ACEOF
22389 #define HAVE_SCALBN 1
22390 _ACEOF
22397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22398 $as_echo_n "checking for scalbnl... " >&6; }
22399 if ${gcc_cv_math_func_scalbnl+:} false; then :
22400 $as_echo_n "(cached) " >&6
22401 else
22402 if test x$gcc_no_link = xyes; then
22403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22406 /* end confdefs.h. */
22408 #ifdef HAVE_COMPLEX_H
22409 #include <complex.h>
22410 #endif
22411 #ifdef HAVE_MATH_H
22412 #include <math.h>
22413 #endif
22415 int (*ptr)() = (int (*)())scalbnl;
22418 main ()
22420 return 0;
22423 _ACEOF
22424 if ac_fn_c_try_link "$LINENO"; then :
22425 gcc_cv_math_func_scalbnl=yes
22426 else
22427 gcc_cv_math_func_scalbnl=no
22429 rm -f core conftest.err conftest.$ac_objext \
22430 conftest$ac_exeext conftest.$ac_ext
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22433 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22434 if test $gcc_cv_math_func_scalbnl = yes; then
22436 cat >>confdefs.h <<_ACEOF
22437 #define HAVE_SCALBNL 1
22438 _ACEOF
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22446 $as_echo_n "checking for sinf... " >&6; }
22447 if ${gcc_cv_math_func_sinf+:} false; then :
22448 $as_echo_n "(cached) " >&6
22449 else
22450 if test x$gcc_no_link = xyes; then
22451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22454 /* end confdefs.h. */
22456 #ifdef HAVE_COMPLEX_H
22457 #include <complex.h>
22458 #endif
22459 #ifdef HAVE_MATH_H
22460 #include <math.h>
22461 #endif
22463 int (*ptr)() = (int (*)())sinf;
22466 main ()
22468 return 0;
22471 _ACEOF
22472 if ac_fn_c_try_link "$LINENO"; then :
22473 gcc_cv_math_func_sinf=yes
22474 else
22475 gcc_cv_math_func_sinf=no
22477 rm -f core conftest.err conftest.$ac_objext \
22478 conftest$ac_exeext conftest.$ac_ext
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22481 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22482 if test $gcc_cv_math_func_sinf = yes; then
22484 cat >>confdefs.h <<_ACEOF
22485 #define HAVE_SINF 1
22486 _ACEOF
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22494 $as_echo_n "checking for sin... " >&6; }
22495 if ${gcc_cv_math_func_sin+:} false; then :
22496 $as_echo_n "(cached) " >&6
22497 else
22498 if test x$gcc_no_link = xyes; then
22499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22502 /* end confdefs.h. */
22504 #ifdef HAVE_COMPLEX_H
22505 #include <complex.h>
22506 #endif
22507 #ifdef HAVE_MATH_H
22508 #include <math.h>
22509 #endif
22511 int (*ptr)() = (int (*)())sin;
22514 main ()
22516 return 0;
22519 _ACEOF
22520 if ac_fn_c_try_link "$LINENO"; then :
22521 gcc_cv_math_func_sin=yes
22522 else
22523 gcc_cv_math_func_sin=no
22525 rm -f core conftest.err conftest.$ac_objext \
22526 conftest$ac_exeext conftest.$ac_ext
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22529 $as_echo "$gcc_cv_math_func_sin" >&6; }
22530 if test $gcc_cv_math_func_sin = yes; then
22532 cat >>confdefs.h <<_ACEOF
22533 #define HAVE_SIN 1
22534 _ACEOF
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22542 $as_echo_n "checking for sinl... " >&6; }
22543 if ${gcc_cv_math_func_sinl+:} false; then :
22544 $as_echo_n "(cached) " >&6
22545 else
22546 if test x$gcc_no_link = xyes; then
22547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22550 /* end confdefs.h. */
22552 #ifdef HAVE_COMPLEX_H
22553 #include <complex.h>
22554 #endif
22555 #ifdef HAVE_MATH_H
22556 #include <math.h>
22557 #endif
22559 int (*ptr)() = (int (*)())sinl;
22562 main ()
22564 return 0;
22567 _ACEOF
22568 if ac_fn_c_try_link "$LINENO"; then :
22569 gcc_cv_math_func_sinl=yes
22570 else
22571 gcc_cv_math_func_sinl=no
22573 rm -f core conftest.err conftest.$ac_objext \
22574 conftest$ac_exeext conftest.$ac_ext
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22577 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22578 if test $gcc_cv_math_func_sinl = yes; then
22580 cat >>confdefs.h <<_ACEOF
22581 #define HAVE_SINL 1
22582 _ACEOF
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22590 $as_echo_n "checking for csinf... " >&6; }
22591 if ${gcc_cv_math_func_csinf+:} false; then :
22592 $as_echo_n "(cached) " >&6
22593 else
22594 if test x$gcc_no_link = xyes; then
22595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22598 /* end confdefs.h. */
22600 #ifdef HAVE_COMPLEX_H
22601 #include <complex.h>
22602 #endif
22603 #ifdef HAVE_MATH_H
22604 #include <math.h>
22605 #endif
22607 int (*ptr)() = (int (*)())csinf;
22610 main ()
22612 return 0;
22615 _ACEOF
22616 if ac_fn_c_try_link "$LINENO"; then :
22617 gcc_cv_math_func_csinf=yes
22618 else
22619 gcc_cv_math_func_csinf=no
22621 rm -f core conftest.err conftest.$ac_objext \
22622 conftest$ac_exeext conftest.$ac_ext
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22625 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22626 if test $gcc_cv_math_func_csinf = yes; then
22628 cat >>confdefs.h <<_ACEOF
22629 #define HAVE_CSINF 1
22630 _ACEOF
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22638 $as_echo_n "checking for csin... " >&6; }
22639 if ${gcc_cv_math_func_csin+:} false; then :
22640 $as_echo_n "(cached) " >&6
22641 else
22642 if test x$gcc_no_link = xyes; then
22643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22646 /* end confdefs.h. */
22648 #ifdef HAVE_COMPLEX_H
22649 #include <complex.h>
22650 #endif
22651 #ifdef HAVE_MATH_H
22652 #include <math.h>
22653 #endif
22655 int (*ptr)() = (int (*)())csin;
22658 main ()
22660 return 0;
22663 _ACEOF
22664 if ac_fn_c_try_link "$LINENO"; then :
22665 gcc_cv_math_func_csin=yes
22666 else
22667 gcc_cv_math_func_csin=no
22669 rm -f core conftest.err conftest.$ac_objext \
22670 conftest$ac_exeext conftest.$ac_ext
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22673 $as_echo "$gcc_cv_math_func_csin" >&6; }
22674 if test $gcc_cv_math_func_csin = yes; then
22676 cat >>confdefs.h <<_ACEOF
22677 #define HAVE_CSIN 1
22678 _ACEOF
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22686 $as_echo_n "checking for csinl... " >&6; }
22687 if ${gcc_cv_math_func_csinl+:} false; then :
22688 $as_echo_n "(cached) " >&6
22689 else
22690 if test x$gcc_no_link = xyes; then
22691 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22694 /* end confdefs.h. */
22696 #ifdef HAVE_COMPLEX_H
22697 #include <complex.h>
22698 #endif
22699 #ifdef HAVE_MATH_H
22700 #include <math.h>
22701 #endif
22703 int (*ptr)() = (int (*)())csinl;
22706 main ()
22708 return 0;
22711 _ACEOF
22712 if ac_fn_c_try_link "$LINENO"; then :
22713 gcc_cv_math_func_csinl=yes
22714 else
22715 gcc_cv_math_func_csinl=no
22717 rm -f core conftest.err conftest.$ac_objext \
22718 conftest$ac_exeext conftest.$ac_ext
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22721 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22722 if test $gcc_cv_math_func_csinl = yes; then
22724 cat >>confdefs.h <<_ACEOF
22725 #define HAVE_CSINL 1
22726 _ACEOF
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22734 $as_echo_n "checking for sinhf... " >&6; }
22735 if ${gcc_cv_math_func_sinhf+:} false; then :
22736 $as_echo_n "(cached) " >&6
22737 else
22738 if test x$gcc_no_link = xyes; then
22739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22742 /* end confdefs.h. */
22744 #ifdef HAVE_COMPLEX_H
22745 #include <complex.h>
22746 #endif
22747 #ifdef HAVE_MATH_H
22748 #include <math.h>
22749 #endif
22751 int (*ptr)() = (int (*)())sinhf;
22754 main ()
22756 return 0;
22759 _ACEOF
22760 if ac_fn_c_try_link "$LINENO"; then :
22761 gcc_cv_math_func_sinhf=yes
22762 else
22763 gcc_cv_math_func_sinhf=no
22765 rm -f core conftest.err conftest.$ac_objext \
22766 conftest$ac_exeext conftest.$ac_ext
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22769 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22770 if test $gcc_cv_math_func_sinhf = yes; then
22772 cat >>confdefs.h <<_ACEOF
22773 #define HAVE_SINHF 1
22774 _ACEOF
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22782 $as_echo_n "checking for sinh... " >&6; }
22783 if ${gcc_cv_math_func_sinh+:} false; then :
22784 $as_echo_n "(cached) " >&6
22785 else
22786 if test x$gcc_no_link = xyes; then
22787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22790 /* end confdefs.h. */
22792 #ifdef HAVE_COMPLEX_H
22793 #include <complex.h>
22794 #endif
22795 #ifdef HAVE_MATH_H
22796 #include <math.h>
22797 #endif
22799 int (*ptr)() = (int (*)())sinh;
22802 main ()
22804 return 0;
22807 _ACEOF
22808 if ac_fn_c_try_link "$LINENO"; then :
22809 gcc_cv_math_func_sinh=yes
22810 else
22811 gcc_cv_math_func_sinh=no
22813 rm -f core conftest.err conftest.$ac_objext \
22814 conftest$ac_exeext conftest.$ac_ext
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22817 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22818 if test $gcc_cv_math_func_sinh = yes; then
22820 cat >>confdefs.h <<_ACEOF
22821 #define HAVE_SINH 1
22822 _ACEOF
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22830 $as_echo_n "checking for sinhl... " >&6; }
22831 if ${gcc_cv_math_func_sinhl+:} false; then :
22832 $as_echo_n "(cached) " >&6
22833 else
22834 if test x$gcc_no_link = xyes; then
22835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h. */
22840 #ifdef HAVE_COMPLEX_H
22841 #include <complex.h>
22842 #endif
22843 #ifdef HAVE_MATH_H
22844 #include <math.h>
22845 #endif
22847 int (*ptr)() = (int (*)())sinhl;
22850 main ()
22852 return 0;
22855 _ACEOF
22856 if ac_fn_c_try_link "$LINENO"; then :
22857 gcc_cv_math_func_sinhl=yes
22858 else
22859 gcc_cv_math_func_sinhl=no
22861 rm -f core conftest.err conftest.$ac_objext \
22862 conftest$ac_exeext conftest.$ac_ext
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22865 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22866 if test $gcc_cv_math_func_sinhl = yes; then
22868 cat >>confdefs.h <<_ACEOF
22869 #define HAVE_SINHL 1
22870 _ACEOF
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22878 $as_echo_n "checking for csinhf... " >&6; }
22879 if ${gcc_cv_math_func_csinhf+:} false; then :
22880 $as_echo_n "(cached) " >&6
22881 else
22882 if test x$gcc_no_link = xyes; then
22883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22888 #ifdef HAVE_COMPLEX_H
22889 #include <complex.h>
22890 #endif
22891 #ifdef HAVE_MATH_H
22892 #include <math.h>
22893 #endif
22895 int (*ptr)() = (int (*)())csinhf;
22898 main ()
22900 return 0;
22903 _ACEOF
22904 if ac_fn_c_try_link "$LINENO"; then :
22905 gcc_cv_math_func_csinhf=yes
22906 else
22907 gcc_cv_math_func_csinhf=no
22909 rm -f core conftest.err conftest.$ac_objext \
22910 conftest$ac_exeext conftest.$ac_ext
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22913 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22914 if test $gcc_cv_math_func_csinhf = yes; then
22916 cat >>confdefs.h <<_ACEOF
22917 #define HAVE_CSINHF 1
22918 _ACEOF
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22926 $as_echo_n "checking for csinh... " >&6; }
22927 if ${gcc_cv_math_func_csinh+:} false; then :
22928 $as_echo_n "(cached) " >&6
22929 else
22930 if test x$gcc_no_link = xyes; then
22931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22934 /* end confdefs.h. */
22936 #ifdef HAVE_COMPLEX_H
22937 #include <complex.h>
22938 #endif
22939 #ifdef HAVE_MATH_H
22940 #include <math.h>
22941 #endif
22943 int (*ptr)() = (int (*)())csinh;
22946 main ()
22948 return 0;
22951 _ACEOF
22952 if ac_fn_c_try_link "$LINENO"; then :
22953 gcc_cv_math_func_csinh=yes
22954 else
22955 gcc_cv_math_func_csinh=no
22957 rm -f core conftest.err conftest.$ac_objext \
22958 conftest$ac_exeext conftest.$ac_ext
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22961 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22962 if test $gcc_cv_math_func_csinh = yes; then
22964 cat >>confdefs.h <<_ACEOF
22965 #define HAVE_CSINH 1
22966 _ACEOF
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22974 $as_echo_n "checking for csinhl... " >&6; }
22975 if ${gcc_cv_math_func_csinhl+:} false; then :
22976 $as_echo_n "(cached) " >&6
22977 else
22978 if test x$gcc_no_link = xyes; then
22979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22984 #ifdef HAVE_COMPLEX_H
22985 #include <complex.h>
22986 #endif
22987 #ifdef HAVE_MATH_H
22988 #include <math.h>
22989 #endif
22991 int (*ptr)() = (int (*)())csinhl;
22994 main ()
22996 return 0;
22999 _ACEOF
23000 if ac_fn_c_try_link "$LINENO"; then :
23001 gcc_cv_math_func_csinhl=yes
23002 else
23003 gcc_cv_math_func_csinhl=no
23005 rm -f core conftest.err conftest.$ac_objext \
23006 conftest$ac_exeext conftest.$ac_ext
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
23009 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
23010 if test $gcc_cv_math_func_csinhl = yes; then
23012 cat >>confdefs.h <<_ACEOF
23013 #define HAVE_CSINHL 1
23014 _ACEOF
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
23022 $as_echo_n "checking for sqrtf... " >&6; }
23023 if ${gcc_cv_math_func_sqrtf+:} false; then :
23024 $as_echo_n "(cached) " >&6
23025 else
23026 if test x$gcc_no_link = xyes; then
23027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23030 /* end confdefs.h. */
23032 #ifdef HAVE_COMPLEX_H
23033 #include <complex.h>
23034 #endif
23035 #ifdef HAVE_MATH_H
23036 #include <math.h>
23037 #endif
23039 int (*ptr)() = (int (*)())sqrtf;
23042 main ()
23044 return 0;
23047 _ACEOF
23048 if ac_fn_c_try_link "$LINENO"; then :
23049 gcc_cv_math_func_sqrtf=yes
23050 else
23051 gcc_cv_math_func_sqrtf=no
23053 rm -f core conftest.err conftest.$ac_objext \
23054 conftest$ac_exeext conftest.$ac_ext
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
23057 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
23058 if test $gcc_cv_math_func_sqrtf = yes; then
23060 cat >>confdefs.h <<_ACEOF
23061 #define HAVE_SQRTF 1
23062 _ACEOF
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
23070 $as_echo_n "checking for sqrt... " >&6; }
23071 if ${gcc_cv_math_func_sqrt+:} false; then :
23072 $as_echo_n "(cached) " >&6
23073 else
23074 if test x$gcc_no_link = xyes; then
23075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23078 /* end confdefs.h. */
23080 #ifdef HAVE_COMPLEX_H
23081 #include <complex.h>
23082 #endif
23083 #ifdef HAVE_MATH_H
23084 #include <math.h>
23085 #endif
23087 int (*ptr)() = (int (*)())sqrt;
23090 main ()
23092 return 0;
23095 _ACEOF
23096 if ac_fn_c_try_link "$LINENO"; then :
23097 gcc_cv_math_func_sqrt=yes
23098 else
23099 gcc_cv_math_func_sqrt=no
23101 rm -f core conftest.err conftest.$ac_objext \
23102 conftest$ac_exeext conftest.$ac_ext
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
23105 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
23106 if test $gcc_cv_math_func_sqrt = yes; then
23108 cat >>confdefs.h <<_ACEOF
23109 #define HAVE_SQRT 1
23110 _ACEOF
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
23118 $as_echo_n "checking for sqrtl... " >&6; }
23119 if ${gcc_cv_math_func_sqrtl+:} false; then :
23120 $as_echo_n "(cached) " >&6
23121 else
23122 if test x$gcc_no_link = xyes; then
23123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23126 /* end confdefs.h. */
23128 #ifdef HAVE_COMPLEX_H
23129 #include <complex.h>
23130 #endif
23131 #ifdef HAVE_MATH_H
23132 #include <math.h>
23133 #endif
23135 int (*ptr)() = (int (*)())sqrtl;
23138 main ()
23140 return 0;
23143 _ACEOF
23144 if ac_fn_c_try_link "$LINENO"; then :
23145 gcc_cv_math_func_sqrtl=yes
23146 else
23147 gcc_cv_math_func_sqrtl=no
23149 rm -f core conftest.err conftest.$ac_objext \
23150 conftest$ac_exeext conftest.$ac_ext
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23153 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23154 if test $gcc_cv_math_func_sqrtl = yes; then
23156 cat >>confdefs.h <<_ACEOF
23157 #define HAVE_SQRTL 1
23158 _ACEOF
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23166 $as_echo_n "checking for csqrtf... " >&6; }
23167 if ${gcc_cv_math_func_csqrtf+:} false; then :
23168 $as_echo_n "(cached) " >&6
23169 else
23170 if test x$gcc_no_link = xyes; then
23171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23174 /* end confdefs.h. */
23176 #ifdef HAVE_COMPLEX_H
23177 #include <complex.h>
23178 #endif
23179 #ifdef HAVE_MATH_H
23180 #include <math.h>
23181 #endif
23183 int (*ptr)() = (int (*)())csqrtf;
23186 main ()
23188 return 0;
23191 _ACEOF
23192 if ac_fn_c_try_link "$LINENO"; then :
23193 gcc_cv_math_func_csqrtf=yes
23194 else
23195 gcc_cv_math_func_csqrtf=no
23197 rm -f core conftest.err conftest.$ac_objext \
23198 conftest$ac_exeext conftest.$ac_ext
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23201 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23202 if test $gcc_cv_math_func_csqrtf = yes; then
23204 cat >>confdefs.h <<_ACEOF
23205 #define HAVE_CSQRTF 1
23206 _ACEOF
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23214 $as_echo_n "checking for csqrt... " >&6; }
23215 if ${gcc_cv_math_func_csqrt+:} false; then :
23216 $as_echo_n "(cached) " >&6
23217 else
23218 if test x$gcc_no_link = xyes; then
23219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h. */
23224 #ifdef HAVE_COMPLEX_H
23225 #include <complex.h>
23226 #endif
23227 #ifdef HAVE_MATH_H
23228 #include <math.h>
23229 #endif
23231 int (*ptr)() = (int (*)())csqrt;
23234 main ()
23236 return 0;
23239 _ACEOF
23240 if ac_fn_c_try_link "$LINENO"; then :
23241 gcc_cv_math_func_csqrt=yes
23242 else
23243 gcc_cv_math_func_csqrt=no
23245 rm -f core conftest.err conftest.$ac_objext \
23246 conftest$ac_exeext conftest.$ac_ext
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23249 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23250 if test $gcc_cv_math_func_csqrt = yes; then
23252 cat >>confdefs.h <<_ACEOF
23253 #define HAVE_CSQRT 1
23254 _ACEOF
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23262 $as_echo_n "checking for csqrtl... " >&6; }
23263 if ${gcc_cv_math_func_csqrtl+:} false; then :
23264 $as_echo_n "(cached) " >&6
23265 else
23266 if test x$gcc_no_link = xyes; then
23267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23270 /* end confdefs.h. */
23272 #ifdef HAVE_COMPLEX_H
23273 #include <complex.h>
23274 #endif
23275 #ifdef HAVE_MATH_H
23276 #include <math.h>
23277 #endif
23279 int (*ptr)() = (int (*)())csqrtl;
23282 main ()
23284 return 0;
23287 _ACEOF
23288 if ac_fn_c_try_link "$LINENO"; then :
23289 gcc_cv_math_func_csqrtl=yes
23290 else
23291 gcc_cv_math_func_csqrtl=no
23293 rm -f core conftest.err conftest.$ac_objext \
23294 conftest$ac_exeext conftest.$ac_ext
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23297 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23298 if test $gcc_cv_math_func_csqrtl = yes; then
23300 cat >>confdefs.h <<_ACEOF
23301 #define HAVE_CSQRTL 1
23302 _ACEOF
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23310 $as_echo_n "checking for tanf... " >&6; }
23311 if ${gcc_cv_math_func_tanf+:} false; then :
23312 $as_echo_n "(cached) " >&6
23313 else
23314 if test x$gcc_no_link = xyes; then
23315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23318 /* end confdefs.h. */
23320 #ifdef HAVE_COMPLEX_H
23321 #include <complex.h>
23322 #endif
23323 #ifdef HAVE_MATH_H
23324 #include <math.h>
23325 #endif
23327 int (*ptr)() = (int (*)())tanf;
23330 main ()
23332 return 0;
23335 _ACEOF
23336 if ac_fn_c_try_link "$LINENO"; then :
23337 gcc_cv_math_func_tanf=yes
23338 else
23339 gcc_cv_math_func_tanf=no
23341 rm -f core conftest.err conftest.$ac_objext \
23342 conftest$ac_exeext conftest.$ac_ext
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23345 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23346 if test $gcc_cv_math_func_tanf = yes; then
23348 cat >>confdefs.h <<_ACEOF
23349 #define HAVE_TANF 1
23350 _ACEOF
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23358 $as_echo_n "checking for tan... " >&6; }
23359 if ${gcc_cv_math_func_tan+:} false; then :
23360 $as_echo_n "(cached) " >&6
23361 else
23362 if test x$gcc_no_link = xyes; then
23363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23366 /* end confdefs.h. */
23368 #ifdef HAVE_COMPLEX_H
23369 #include <complex.h>
23370 #endif
23371 #ifdef HAVE_MATH_H
23372 #include <math.h>
23373 #endif
23375 int (*ptr)() = (int (*)())tan;
23378 main ()
23380 return 0;
23383 _ACEOF
23384 if ac_fn_c_try_link "$LINENO"; then :
23385 gcc_cv_math_func_tan=yes
23386 else
23387 gcc_cv_math_func_tan=no
23389 rm -f core conftest.err conftest.$ac_objext \
23390 conftest$ac_exeext conftest.$ac_ext
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23393 $as_echo "$gcc_cv_math_func_tan" >&6; }
23394 if test $gcc_cv_math_func_tan = yes; then
23396 cat >>confdefs.h <<_ACEOF
23397 #define HAVE_TAN 1
23398 _ACEOF
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23406 $as_echo_n "checking for tanl... " >&6; }
23407 if ${gcc_cv_math_func_tanl+:} false; then :
23408 $as_echo_n "(cached) " >&6
23409 else
23410 if test x$gcc_no_link = xyes; then
23411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23414 /* end confdefs.h. */
23416 #ifdef HAVE_COMPLEX_H
23417 #include <complex.h>
23418 #endif
23419 #ifdef HAVE_MATH_H
23420 #include <math.h>
23421 #endif
23423 int (*ptr)() = (int (*)())tanl;
23426 main ()
23428 return 0;
23431 _ACEOF
23432 if ac_fn_c_try_link "$LINENO"; then :
23433 gcc_cv_math_func_tanl=yes
23434 else
23435 gcc_cv_math_func_tanl=no
23437 rm -f core conftest.err conftest.$ac_objext \
23438 conftest$ac_exeext conftest.$ac_ext
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23441 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23442 if test $gcc_cv_math_func_tanl = yes; then
23444 cat >>confdefs.h <<_ACEOF
23445 #define HAVE_TANL 1
23446 _ACEOF
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23454 $as_echo_n "checking for ctanf... " >&6; }
23455 if ${gcc_cv_math_func_ctanf+:} false; then :
23456 $as_echo_n "(cached) " >&6
23457 else
23458 if test x$gcc_no_link = xyes; then
23459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h. */
23464 #ifdef HAVE_COMPLEX_H
23465 #include <complex.h>
23466 #endif
23467 #ifdef HAVE_MATH_H
23468 #include <math.h>
23469 #endif
23471 int (*ptr)() = (int (*)())ctanf;
23474 main ()
23476 return 0;
23479 _ACEOF
23480 if ac_fn_c_try_link "$LINENO"; then :
23481 gcc_cv_math_func_ctanf=yes
23482 else
23483 gcc_cv_math_func_ctanf=no
23485 rm -f core conftest.err conftest.$ac_objext \
23486 conftest$ac_exeext conftest.$ac_ext
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23489 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23490 if test $gcc_cv_math_func_ctanf = yes; then
23492 cat >>confdefs.h <<_ACEOF
23493 #define HAVE_CTANF 1
23494 _ACEOF
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23502 $as_echo_n "checking for ctan... " >&6; }
23503 if ${gcc_cv_math_func_ctan+:} false; then :
23504 $as_echo_n "(cached) " >&6
23505 else
23506 if test x$gcc_no_link = xyes; then
23507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23510 /* end confdefs.h. */
23512 #ifdef HAVE_COMPLEX_H
23513 #include <complex.h>
23514 #endif
23515 #ifdef HAVE_MATH_H
23516 #include <math.h>
23517 #endif
23519 int (*ptr)() = (int (*)())ctan;
23522 main ()
23524 return 0;
23527 _ACEOF
23528 if ac_fn_c_try_link "$LINENO"; then :
23529 gcc_cv_math_func_ctan=yes
23530 else
23531 gcc_cv_math_func_ctan=no
23533 rm -f core conftest.err conftest.$ac_objext \
23534 conftest$ac_exeext conftest.$ac_ext
23536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23537 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23538 if test $gcc_cv_math_func_ctan = yes; then
23540 cat >>confdefs.h <<_ACEOF
23541 #define HAVE_CTAN 1
23542 _ACEOF
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23550 $as_echo_n "checking for ctanl... " >&6; }
23551 if ${gcc_cv_math_func_ctanl+:} false; then :
23552 $as_echo_n "(cached) " >&6
23553 else
23554 if test x$gcc_no_link = xyes; then
23555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23558 /* end confdefs.h. */
23560 #ifdef HAVE_COMPLEX_H
23561 #include <complex.h>
23562 #endif
23563 #ifdef HAVE_MATH_H
23564 #include <math.h>
23565 #endif
23567 int (*ptr)() = (int (*)())ctanl;
23570 main ()
23572 return 0;
23575 _ACEOF
23576 if ac_fn_c_try_link "$LINENO"; then :
23577 gcc_cv_math_func_ctanl=yes
23578 else
23579 gcc_cv_math_func_ctanl=no
23581 rm -f core conftest.err conftest.$ac_objext \
23582 conftest$ac_exeext conftest.$ac_ext
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23585 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23586 if test $gcc_cv_math_func_ctanl = yes; then
23588 cat >>confdefs.h <<_ACEOF
23589 #define HAVE_CTANL 1
23590 _ACEOF
23597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23598 $as_echo_n "checking for tanhf... " >&6; }
23599 if ${gcc_cv_math_func_tanhf+:} false; then :
23600 $as_echo_n "(cached) " >&6
23601 else
23602 if test x$gcc_no_link = xyes; then
23603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23606 /* end confdefs.h. */
23608 #ifdef HAVE_COMPLEX_H
23609 #include <complex.h>
23610 #endif
23611 #ifdef HAVE_MATH_H
23612 #include <math.h>
23613 #endif
23615 int (*ptr)() = (int (*)())tanhf;
23618 main ()
23620 return 0;
23623 _ACEOF
23624 if ac_fn_c_try_link "$LINENO"; then :
23625 gcc_cv_math_func_tanhf=yes
23626 else
23627 gcc_cv_math_func_tanhf=no
23629 rm -f core conftest.err conftest.$ac_objext \
23630 conftest$ac_exeext conftest.$ac_ext
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23633 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23634 if test $gcc_cv_math_func_tanhf = yes; then
23636 cat >>confdefs.h <<_ACEOF
23637 #define HAVE_TANHF 1
23638 _ACEOF
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23646 $as_echo_n "checking for tanh... " >&6; }
23647 if ${gcc_cv_math_func_tanh+:} false; then :
23648 $as_echo_n "(cached) " >&6
23649 else
23650 if test x$gcc_no_link = xyes; then
23651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h. */
23656 #ifdef HAVE_COMPLEX_H
23657 #include <complex.h>
23658 #endif
23659 #ifdef HAVE_MATH_H
23660 #include <math.h>
23661 #endif
23663 int (*ptr)() = (int (*)())tanh;
23666 main ()
23668 return 0;
23671 _ACEOF
23672 if ac_fn_c_try_link "$LINENO"; then :
23673 gcc_cv_math_func_tanh=yes
23674 else
23675 gcc_cv_math_func_tanh=no
23677 rm -f core conftest.err conftest.$ac_objext \
23678 conftest$ac_exeext conftest.$ac_ext
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23681 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23682 if test $gcc_cv_math_func_tanh = yes; then
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE_TANH 1
23686 _ACEOF
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23694 $as_echo_n "checking for tanhl... " >&6; }
23695 if ${gcc_cv_math_func_tanhl+:} false; then :
23696 $as_echo_n "(cached) " >&6
23697 else
23698 if test x$gcc_no_link = xyes; then
23699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23702 /* end confdefs.h. */
23704 #ifdef HAVE_COMPLEX_H
23705 #include <complex.h>
23706 #endif
23707 #ifdef HAVE_MATH_H
23708 #include <math.h>
23709 #endif
23711 int (*ptr)() = (int (*)())tanhl;
23714 main ()
23716 return 0;
23719 _ACEOF
23720 if ac_fn_c_try_link "$LINENO"; then :
23721 gcc_cv_math_func_tanhl=yes
23722 else
23723 gcc_cv_math_func_tanhl=no
23725 rm -f core conftest.err conftest.$ac_objext \
23726 conftest$ac_exeext conftest.$ac_ext
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23729 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23730 if test $gcc_cv_math_func_tanhl = yes; then
23732 cat >>confdefs.h <<_ACEOF
23733 #define HAVE_TANHL 1
23734 _ACEOF
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23742 $as_echo_n "checking for ctanhf... " >&6; }
23743 if ${gcc_cv_math_func_ctanhf+:} false; then :
23744 $as_echo_n "(cached) " >&6
23745 else
23746 if test x$gcc_no_link = xyes; then
23747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h. */
23752 #ifdef HAVE_COMPLEX_H
23753 #include <complex.h>
23754 #endif
23755 #ifdef HAVE_MATH_H
23756 #include <math.h>
23757 #endif
23759 int (*ptr)() = (int (*)())ctanhf;
23762 main ()
23764 return 0;
23767 _ACEOF
23768 if ac_fn_c_try_link "$LINENO"; then :
23769 gcc_cv_math_func_ctanhf=yes
23770 else
23771 gcc_cv_math_func_ctanhf=no
23773 rm -f core conftest.err conftest.$ac_objext \
23774 conftest$ac_exeext conftest.$ac_ext
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23777 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23778 if test $gcc_cv_math_func_ctanhf = yes; then
23780 cat >>confdefs.h <<_ACEOF
23781 #define HAVE_CTANHF 1
23782 _ACEOF
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23790 $as_echo_n "checking for ctanh... " >&6; }
23791 if ${gcc_cv_math_func_ctanh+:} false; then :
23792 $as_echo_n "(cached) " >&6
23793 else
23794 if test x$gcc_no_link = xyes; then
23795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23798 /* end confdefs.h. */
23800 #ifdef HAVE_COMPLEX_H
23801 #include <complex.h>
23802 #endif
23803 #ifdef HAVE_MATH_H
23804 #include <math.h>
23805 #endif
23807 int (*ptr)() = (int (*)())ctanh;
23810 main ()
23812 return 0;
23815 _ACEOF
23816 if ac_fn_c_try_link "$LINENO"; then :
23817 gcc_cv_math_func_ctanh=yes
23818 else
23819 gcc_cv_math_func_ctanh=no
23821 rm -f core conftest.err conftest.$ac_objext \
23822 conftest$ac_exeext conftest.$ac_ext
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23825 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23826 if test $gcc_cv_math_func_ctanh = yes; then
23828 cat >>confdefs.h <<_ACEOF
23829 #define HAVE_CTANH 1
23830 _ACEOF
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23838 $as_echo_n "checking for ctanhl... " >&6; }
23839 if ${gcc_cv_math_func_ctanhl+:} false; then :
23840 $as_echo_n "(cached) " >&6
23841 else
23842 if test x$gcc_no_link = xyes; then
23843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23846 /* end confdefs.h. */
23848 #ifdef HAVE_COMPLEX_H
23849 #include <complex.h>
23850 #endif
23851 #ifdef HAVE_MATH_H
23852 #include <math.h>
23853 #endif
23855 int (*ptr)() = (int (*)())ctanhl;
23858 main ()
23860 return 0;
23863 _ACEOF
23864 if ac_fn_c_try_link "$LINENO"; then :
23865 gcc_cv_math_func_ctanhl=yes
23866 else
23867 gcc_cv_math_func_ctanhl=no
23869 rm -f core conftest.err conftest.$ac_objext \
23870 conftest$ac_exeext conftest.$ac_ext
23872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23873 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23874 if test $gcc_cv_math_func_ctanhl = yes; then
23876 cat >>confdefs.h <<_ACEOF
23877 #define HAVE_CTANHL 1
23878 _ACEOF
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23886 $as_echo_n "checking for truncf... " >&6; }
23887 if ${gcc_cv_math_func_truncf+:} false; then :
23888 $as_echo_n "(cached) " >&6
23889 else
23890 if test x$gcc_no_link = xyes; then
23891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23894 /* end confdefs.h. */
23896 #ifdef HAVE_COMPLEX_H
23897 #include <complex.h>
23898 #endif
23899 #ifdef HAVE_MATH_H
23900 #include <math.h>
23901 #endif
23903 int (*ptr)() = (int (*)())truncf;
23906 main ()
23908 return 0;
23911 _ACEOF
23912 if ac_fn_c_try_link "$LINENO"; then :
23913 gcc_cv_math_func_truncf=yes
23914 else
23915 gcc_cv_math_func_truncf=no
23917 rm -f core conftest.err conftest.$ac_objext \
23918 conftest$ac_exeext conftest.$ac_ext
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23921 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23922 if test $gcc_cv_math_func_truncf = yes; then
23924 cat >>confdefs.h <<_ACEOF
23925 #define HAVE_TRUNCF 1
23926 _ACEOF
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23934 $as_echo_n "checking for trunc... " >&6; }
23935 if ${gcc_cv_math_func_trunc+:} false; then :
23936 $as_echo_n "(cached) " >&6
23937 else
23938 if test x$gcc_no_link = xyes; then
23939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23942 /* end confdefs.h. */
23944 #ifdef HAVE_COMPLEX_H
23945 #include <complex.h>
23946 #endif
23947 #ifdef HAVE_MATH_H
23948 #include <math.h>
23949 #endif
23951 int (*ptr)() = (int (*)())trunc;
23954 main ()
23956 return 0;
23959 _ACEOF
23960 if ac_fn_c_try_link "$LINENO"; then :
23961 gcc_cv_math_func_trunc=yes
23962 else
23963 gcc_cv_math_func_trunc=no
23965 rm -f core conftest.err conftest.$ac_objext \
23966 conftest$ac_exeext conftest.$ac_ext
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23969 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23970 if test $gcc_cv_math_func_trunc = yes; then
23972 cat >>confdefs.h <<_ACEOF
23973 #define HAVE_TRUNC 1
23974 _ACEOF
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23982 $as_echo_n "checking for truncl... " >&6; }
23983 if ${gcc_cv_math_func_truncl+:} false; then :
23984 $as_echo_n "(cached) " >&6
23985 else
23986 if test x$gcc_no_link = xyes; then
23987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23990 /* end confdefs.h. */
23992 #ifdef HAVE_COMPLEX_H
23993 #include <complex.h>
23994 #endif
23995 #ifdef HAVE_MATH_H
23996 #include <math.h>
23997 #endif
23999 int (*ptr)() = (int (*)())truncl;
24002 main ()
24004 return 0;
24007 _ACEOF
24008 if ac_fn_c_try_link "$LINENO"; then :
24009 gcc_cv_math_func_truncl=yes
24010 else
24011 gcc_cv_math_func_truncl=no
24013 rm -f core conftest.err conftest.$ac_objext \
24014 conftest$ac_exeext conftest.$ac_ext
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
24017 $as_echo "$gcc_cv_math_func_truncl" >&6; }
24018 if test $gcc_cv_math_func_truncl = yes; then
24020 cat >>confdefs.h <<_ACEOF
24021 #define HAVE_TRUNCL 1
24022 _ACEOF
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
24030 $as_echo_n "checking for erff... " >&6; }
24031 if ${gcc_cv_math_func_erff+:} false; then :
24032 $as_echo_n "(cached) " >&6
24033 else
24034 if test x$gcc_no_link = xyes; then
24035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h. */
24040 #ifdef HAVE_COMPLEX_H
24041 #include <complex.h>
24042 #endif
24043 #ifdef HAVE_MATH_H
24044 #include <math.h>
24045 #endif
24047 int (*ptr)() = (int (*)())erff;
24050 main ()
24052 return 0;
24055 _ACEOF
24056 if ac_fn_c_try_link "$LINENO"; then :
24057 gcc_cv_math_func_erff=yes
24058 else
24059 gcc_cv_math_func_erff=no
24061 rm -f core conftest.err conftest.$ac_objext \
24062 conftest$ac_exeext conftest.$ac_ext
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
24065 $as_echo "$gcc_cv_math_func_erff" >&6; }
24066 if test $gcc_cv_math_func_erff = yes; then
24068 cat >>confdefs.h <<_ACEOF
24069 #define HAVE_ERFF 1
24070 _ACEOF
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
24078 $as_echo_n "checking for erf... " >&6; }
24079 if ${gcc_cv_math_func_erf+:} false; then :
24080 $as_echo_n "(cached) " >&6
24081 else
24082 if test x$gcc_no_link = xyes; then
24083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h. */
24088 #ifdef HAVE_COMPLEX_H
24089 #include <complex.h>
24090 #endif
24091 #ifdef HAVE_MATH_H
24092 #include <math.h>
24093 #endif
24095 int (*ptr)() = (int (*)())erf;
24098 main ()
24100 return 0;
24103 _ACEOF
24104 if ac_fn_c_try_link "$LINENO"; then :
24105 gcc_cv_math_func_erf=yes
24106 else
24107 gcc_cv_math_func_erf=no
24109 rm -f core conftest.err conftest.$ac_objext \
24110 conftest$ac_exeext conftest.$ac_ext
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
24113 $as_echo "$gcc_cv_math_func_erf" >&6; }
24114 if test $gcc_cv_math_func_erf = yes; then
24116 cat >>confdefs.h <<_ACEOF
24117 #define HAVE_ERF 1
24118 _ACEOF
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24126 $as_echo_n "checking for erfcf... " >&6; }
24127 if ${gcc_cv_math_func_erfcf+:} false; then :
24128 $as_echo_n "(cached) " >&6
24129 else
24130 if test x$gcc_no_link = xyes; then
24131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24134 /* end confdefs.h. */
24136 #ifdef HAVE_COMPLEX_H
24137 #include <complex.h>
24138 #endif
24139 #ifdef HAVE_MATH_H
24140 #include <math.h>
24141 #endif
24143 int (*ptr)() = (int (*)())erfcf;
24146 main ()
24148 return 0;
24151 _ACEOF
24152 if ac_fn_c_try_link "$LINENO"; then :
24153 gcc_cv_math_func_erfcf=yes
24154 else
24155 gcc_cv_math_func_erfcf=no
24157 rm -f core conftest.err conftest.$ac_objext \
24158 conftest$ac_exeext conftest.$ac_ext
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24161 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24162 if test $gcc_cv_math_func_erfcf = yes; then
24164 cat >>confdefs.h <<_ACEOF
24165 #define HAVE_ERFCF 1
24166 _ACEOF
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24174 $as_echo_n "checking for erfc... " >&6; }
24175 if ${gcc_cv_math_func_erfc+:} false; then :
24176 $as_echo_n "(cached) " >&6
24177 else
24178 if test x$gcc_no_link = xyes; then
24179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24182 /* end confdefs.h. */
24184 #ifdef HAVE_COMPLEX_H
24185 #include <complex.h>
24186 #endif
24187 #ifdef HAVE_MATH_H
24188 #include <math.h>
24189 #endif
24191 int (*ptr)() = (int (*)())erfc;
24194 main ()
24196 return 0;
24199 _ACEOF
24200 if ac_fn_c_try_link "$LINENO"; then :
24201 gcc_cv_math_func_erfc=yes
24202 else
24203 gcc_cv_math_func_erfc=no
24205 rm -f core conftest.err conftest.$ac_objext \
24206 conftest$ac_exeext conftest.$ac_ext
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24209 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24210 if test $gcc_cv_math_func_erfc = yes; then
24212 cat >>confdefs.h <<_ACEOF
24213 #define HAVE_ERFC 1
24214 _ACEOF
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24222 $as_echo_n "checking for erfcl... " >&6; }
24223 if ${gcc_cv_math_func_erfcl+:} false; then :
24224 $as_echo_n "(cached) " >&6
24225 else
24226 if test x$gcc_no_link = xyes; then
24227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24232 #ifdef HAVE_COMPLEX_H
24233 #include <complex.h>
24234 #endif
24235 #ifdef HAVE_MATH_H
24236 #include <math.h>
24237 #endif
24239 int (*ptr)() = (int (*)())erfcl;
24242 main ()
24244 return 0;
24247 _ACEOF
24248 if ac_fn_c_try_link "$LINENO"; then :
24249 gcc_cv_math_func_erfcl=yes
24250 else
24251 gcc_cv_math_func_erfcl=no
24253 rm -f core conftest.err conftest.$ac_objext \
24254 conftest$ac_exeext conftest.$ac_ext
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24257 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24258 if test $gcc_cv_math_func_erfcl = yes; then
24260 cat >>confdefs.h <<_ACEOF
24261 #define HAVE_ERFCL 1
24262 _ACEOF
24269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24270 $as_echo_n "checking for j0f... " >&6; }
24271 if ${gcc_cv_math_func_j0f+:} false; then :
24272 $as_echo_n "(cached) " >&6
24273 else
24274 if test x$gcc_no_link = xyes; then
24275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24280 #ifdef HAVE_COMPLEX_H
24281 #include <complex.h>
24282 #endif
24283 #ifdef HAVE_MATH_H
24284 #include <math.h>
24285 #endif
24287 int (*ptr)() = (int (*)())j0f;
24290 main ()
24292 return 0;
24295 _ACEOF
24296 if ac_fn_c_try_link "$LINENO"; then :
24297 gcc_cv_math_func_j0f=yes
24298 else
24299 gcc_cv_math_func_j0f=no
24301 rm -f core conftest.err conftest.$ac_objext \
24302 conftest$ac_exeext conftest.$ac_ext
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24305 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24306 if test $gcc_cv_math_func_j0f = yes; then
24308 cat >>confdefs.h <<_ACEOF
24309 #define HAVE_J0F 1
24310 _ACEOF
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24318 $as_echo_n "checking for j0... " >&6; }
24319 if ${gcc_cv_math_func_j0+:} false; then :
24320 $as_echo_n "(cached) " >&6
24321 else
24322 if test x$gcc_no_link = xyes; then
24323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24328 #ifdef HAVE_COMPLEX_H
24329 #include <complex.h>
24330 #endif
24331 #ifdef HAVE_MATH_H
24332 #include <math.h>
24333 #endif
24335 int (*ptr)() = (int (*)())j0;
24338 main ()
24340 return 0;
24343 _ACEOF
24344 if ac_fn_c_try_link "$LINENO"; then :
24345 gcc_cv_math_func_j0=yes
24346 else
24347 gcc_cv_math_func_j0=no
24349 rm -f core conftest.err conftest.$ac_objext \
24350 conftest$ac_exeext conftest.$ac_ext
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24353 $as_echo "$gcc_cv_math_func_j0" >&6; }
24354 if test $gcc_cv_math_func_j0 = yes; then
24356 cat >>confdefs.h <<_ACEOF
24357 #define HAVE_J0 1
24358 _ACEOF
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24366 $as_echo_n "checking for j1f... " >&6; }
24367 if ${gcc_cv_math_func_j1f+:} false; then :
24368 $as_echo_n "(cached) " >&6
24369 else
24370 if test x$gcc_no_link = xyes; then
24371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h. */
24376 #ifdef HAVE_COMPLEX_H
24377 #include <complex.h>
24378 #endif
24379 #ifdef HAVE_MATH_H
24380 #include <math.h>
24381 #endif
24383 int (*ptr)() = (int (*)())j1f;
24386 main ()
24388 return 0;
24391 _ACEOF
24392 if ac_fn_c_try_link "$LINENO"; then :
24393 gcc_cv_math_func_j1f=yes
24394 else
24395 gcc_cv_math_func_j1f=no
24397 rm -f core conftest.err conftest.$ac_objext \
24398 conftest$ac_exeext conftest.$ac_ext
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24401 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24402 if test $gcc_cv_math_func_j1f = yes; then
24404 cat >>confdefs.h <<_ACEOF
24405 #define HAVE_J1F 1
24406 _ACEOF
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24414 $as_echo_n "checking for j1... " >&6; }
24415 if ${gcc_cv_math_func_j1+:} false; then :
24416 $as_echo_n "(cached) " >&6
24417 else
24418 if test x$gcc_no_link = xyes; then
24419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24422 /* end confdefs.h. */
24424 #ifdef HAVE_COMPLEX_H
24425 #include <complex.h>
24426 #endif
24427 #ifdef HAVE_MATH_H
24428 #include <math.h>
24429 #endif
24431 int (*ptr)() = (int (*)())j1;
24434 main ()
24436 return 0;
24439 _ACEOF
24440 if ac_fn_c_try_link "$LINENO"; then :
24441 gcc_cv_math_func_j1=yes
24442 else
24443 gcc_cv_math_func_j1=no
24445 rm -f core conftest.err conftest.$ac_objext \
24446 conftest$ac_exeext conftest.$ac_ext
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24449 $as_echo "$gcc_cv_math_func_j1" >&6; }
24450 if test $gcc_cv_math_func_j1 = yes; then
24452 cat >>confdefs.h <<_ACEOF
24453 #define HAVE_J1 1
24454 _ACEOF
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24462 $as_echo_n "checking for jnf... " >&6; }
24463 if ${gcc_cv_math_func_jnf+:} false; then :
24464 $as_echo_n "(cached) " >&6
24465 else
24466 if test x$gcc_no_link = xyes; then
24467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24470 /* end confdefs.h. */
24472 #ifdef HAVE_COMPLEX_H
24473 #include <complex.h>
24474 #endif
24475 #ifdef HAVE_MATH_H
24476 #include <math.h>
24477 #endif
24479 int (*ptr)() = (int (*)())jnf;
24482 main ()
24484 return 0;
24487 _ACEOF
24488 if ac_fn_c_try_link "$LINENO"; then :
24489 gcc_cv_math_func_jnf=yes
24490 else
24491 gcc_cv_math_func_jnf=no
24493 rm -f core conftest.err conftest.$ac_objext \
24494 conftest$ac_exeext conftest.$ac_ext
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24497 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24498 if test $gcc_cv_math_func_jnf = yes; then
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE_JNF 1
24502 _ACEOF
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24510 $as_echo_n "checking for jn... " >&6; }
24511 if ${gcc_cv_math_func_jn+:} false; then :
24512 $as_echo_n "(cached) " >&6
24513 else
24514 if test x$gcc_no_link = xyes; then
24515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24518 /* end confdefs.h. */
24520 #ifdef HAVE_COMPLEX_H
24521 #include <complex.h>
24522 #endif
24523 #ifdef HAVE_MATH_H
24524 #include <math.h>
24525 #endif
24527 int (*ptr)() = (int (*)())jn;
24530 main ()
24532 return 0;
24535 _ACEOF
24536 if ac_fn_c_try_link "$LINENO"; then :
24537 gcc_cv_math_func_jn=yes
24538 else
24539 gcc_cv_math_func_jn=no
24541 rm -f core conftest.err conftest.$ac_objext \
24542 conftest$ac_exeext conftest.$ac_ext
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24545 $as_echo "$gcc_cv_math_func_jn" >&6; }
24546 if test $gcc_cv_math_func_jn = yes; then
24548 cat >>confdefs.h <<_ACEOF
24549 #define HAVE_JN 1
24550 _ACEOF
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24558 $as_echo_n "checking for jnl... " >&6; }
24559 if ${gcc_cv_math_func_jnl+:} false; then :
24560 $as_echo_n "(cached) " >&6
24561 else
24562 if test x$gcc_no_link = xyes; then
24563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24566 /* end confdefs.h. */
24568 #ifdef HAVE_COMPLEX_H
24569 #include <complex.h>
24570 #endif
24571 #ifdef HAVE_MATH_H
24572 #include <math.h>
24573 #endif
24575 int (*ptr)() = (int (*)())jnl;
24578 main ()
24580 return 0;
24583 _ACEOF
24584 if ac_fn_c_try_link "$LINENO"; then :
24585 gcc_cv_math_func_jnl=yes
24586 else
24587 gcc_cv_math_func_jnl=no
24589 rm -f core conftest.err conftest.$ac_objext \
24590 conftest$ac_exeext conftest.$ac_ext
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24593 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24594 if test $gcc_cv_math_func_jnl = yes; then
24596 cat >>confdefs.h <<_ACEOF
24597 #define HAVE_JNL 1
24598 _ACEOF
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24606 $as_echo_n "checking for y0f... " >&6; }
24607 if ${gcc_cv_math_func_y0f+:} false; then :
24608 $as_echo_n "(cached) " >&6
24609 else
24610 if test x$gcc_no_link = xyes; then
24611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24614 /* end confdefs.h. */
24616 #ifdef HAVE_COMPLEX_H
24617 #include <complex.h>
24618 #endif
24619 #ifdef HAVE_MATH_H
24620 #include <math.h>
24621 #endif
24623 int (*ptr)() = (int (*)())y0f;
24626 main ()
24628 return 0;
24631 _ACEOF
24632 if ac_fn_c_try_link "$LINENO"; then :
24633 gcc_cv_math_func_y0f=yes
24634 else
24635 gcc_cv_math_func_y0f=no
24637 rm -f core conftest.err conftest.$ac_objext \
24638 conftest$ac_exeext conftest.$ac_ext
24640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24641 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24642 if test $gcc_cv_math_func_y0f = yes; then
24644 cat >>confdefs.h <<_ACEOF
24645 #define HAVE_Y0F 1
24646 _ACEOF
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24654 $as_echo_n "checking for y0... " >&6; }
24655 if ${gcc_cv_math_func_y0+:} false; then :
24656 $as_echo_n "(cached) " >&6
24657 else
24658 if test x$gcc_no_link = xyes; then
24659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24662 /* end confdefs.h. */
24664 #ifdef HAVE_COMPLEX_H
24665 #include <complex.h>
24666 #endif
24667 #ifdef HAVE_MATH_H
24668 #include <math.h>
24669 #endif
24671 int (*ptr)() = (int (*)())y0;
24674 main ()
24676 return 0;
24679 _ACEOF
24680 if ac_fn_c_try_link "$LINENO"; then :
24681 gcc_cv_math_func_y0=yes
24682 else
24683 gcc_cv_math_func_y0=no
24685 rm -f core conftest.err conftest.$ac_objext \
24686 conftest$ac_exeext conftest.$ac_ext
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24689 $as_echo "$gcc_cv_math_func_y0" >&6; }
24690 if test $gcc_cv_math_func_y0 = yes; then
24692 cat >>confdefs.h <<_ACEOF
24693 #define HAVE_Y0 1
24694 _ACEOF
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24702 $as_echo_n "checking for y1f... " >&6; }
24703 if ${gcc_cv_math_func_y1f+:} false; then :
24704 $as_echo_n "(cached) " >&6
24705 else
24706 if test x$gcc_no_link = xyes; then
24707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24710 /* end confdefs.h. */
24712 #ifdef HAVE_COMPLEX_H
24713 #include <complex.h>
24714 #endif
24715 #ifdef HAVE_MATH_H
24716 #include <math.h>
24717 #endif
24719 int (*ptr)() = (int (*)())y1f;
24722 main ()
24724 return 0;
24727 _ACEOF
24728 if ac_fn_c_try_link "$LINENO"; then :
24729 gcc_cv_math_func_y1f=yes
24730 else
24731 gcc_cv_math_func_y1f=no
24733 rm -f core conftest.err conftest.$ac_objext \
24734 conftest$ac_exeext conftest.$ac_ext
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24737 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24738 if test $gcc_cv_math_func_y1f = yes; then
24740 cat >>confdefs.h <<_ACEOF
24741 #define HAVE_Y1F 1
24742 _ACEOF
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24750 $as_echo_n "checking for y1... " >&6; }
24751 if ${gcc_cv_math_func_y1+:} false; then :
24752 $as_echo_n "(cached) " >&6
24753 else
24754 if test x$gcc_no_link = xyes; then
24755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24758 /* end confdefs.h. */
24760 #ifdef HAVE_COMPLEX_H
24761 #include <complex.h>
24762 #endif
24763 #ifdef HAVE_MATH_H
24764 #include <math.h>
24765 #endif
24767 int (*ptr)() = (int (*)())y1;
24770 main ()
24772 return 0;
24775 _ACEOF
24776 if ac_fn_c_try_link "$LINENO"; then :
24777 gcc_cv_math_func_y1=yes
24778 else
24779 gcc_cv_math_func_y1=no
24781 rm -f core conftest.err conftest.$ac_objext \
24782 conftest$ac_exeext conftest.$ac_ext
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24785 $as_echo "$gcc_cv_math_func_y1" >&6; }
24786 if test $gcc_cv_math_func_y1 = yes; then
24788 cat >>confdefs.h <<_ACEOF
24789 #define HAVE_Y1 1
24790 _ACEOF
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24798 $as_echo_n "checking for ynf... " >&6; }
24799 if ${gcc_cv_math_func_ynf+:} false; then :
24800 $as_echo_n "(cached) " >&6
24801 else
24802 if test x$gcc_no_link = xyes; then
24803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24806 /* end confdefs.h. */
24808 #ifdef HAVE_COMPLEX_H
24809 #include <complex.h>
24810 #endif
24811 #ifdef HAVE_MATH_H
24812 #include <math.h>
24813 #endif
24815 int (*ptr)() = (int (*)())ynf;
24818 main ()
24820 return 0;
24823 _ACEOF
24824 if ac_fn_c_try_link "$LINENO"; then :
24825 gcc_cv_math_func_ynf=yes
24826 else
24827 gcc_cv_math_func_ynf=no
24829 rm -f core conftest.err conftest.$ac_objext \
24830 conftest$ac_exeext conftest.$ac_ext
24832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24833 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24834 if test $gcc_cv_math_func_ynf = yes; then
24836 cat >>confdefs.h <<_ACEOF
24837 #define HAVE_YNF 1
24838 _ACEOF
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24846 $as_echo_n "checking for yn... " >&6; }
24847 if ${gcc_cv_math_func_yn+:} false; then :
24848 $as_echo_n "(cached) " >&6
24849 else
24850 if test x$gcc_no_link = xyes; then
24851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24854 /* end confdefs.h. */
24856 #ifdef HAVE_COMPLEX_H
24857 #include <complex.h>
24858 #endif
24859 #ifdef HAVE_MATH_H
24860 #include <math.h>
24861 #endif
24863 int (*ptr)() = (int (*)())yn;
24866 main ()
24868 return 0;
24871 _ACEOF
24872 if ac_fn_c_try_link "$LINENO"; then :
24873 gcc_cv_math_func_yn=yes
24874 else
24875 gcc_cv_math_func_yn=no
24877 rm -f core conftest.err conftest.$ac_objext \
24878 conftest$ac_exeext conftest.$ac_ext
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24881 $as_echo "$gcc_cv_math_func_yn" >&6; }
24882 if test $gcc_cv_math_func_yn = yes; then
24884 cat >>confdefs.h <<_ACEOF
24885 #define HAVE_YN 1
24886 _ACEOF
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24894 $as_echo_n "checking for ynl... " >&6; }
24895 if ${gcc_cv_math_func_ynl+:} false; then :
24896 $as_echo_n "(cached) " >&6
24897 else
24898 if test x$gcc_no_link = xyes; then
24899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24904 #ifdef HAVE_COMPLEX_H
24905 #include <complex.h>
24906 #endif
24907 #ifdef HAVE_MATH_H
24908 #include <math.h>
24909 #endif
24911 int (*ptr)() = (int (*)())ynl;
24914 main ()
24916 return 0;
24919 _ACEOF
24920 if ac_fn_c_try_link "$LINENO"; then :
24921 gcc_cv_math_func_ynl=yes
24922 else
24923 gcc_cv_math_func_ynl=no
24925 rm -f core conftest.err conftest.$ac_objext \
24926 conftest$ac_exeext conftest.$ac_ext
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24929 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24930 if test $gcc_cv_math_func_ynl = yes; then
24932 cat >>confdefs.h <<_ACEOF
24933 #define HAVE_YNL 1
24934 _ACEOF
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24942 $as_echo_n "checking for tgamma... " >&6; }
24943 if ${gcc_cv_math_func_tgamma+:} false; then :
24944 $as_echo_n "(cached) " >&6
24945 else
24946 if test x$gcc_no_link = xyes; then
24947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h. */
24952 #ifdef HAVE_COMPLEX_H
24953 #include <complex.h>
24954 #endif
24955 #ifdef HAVE_MATH_H
24956 #include <math.h>
24957 #endif
24959 int (*ptr)() = (int (*)())tgamma;
24962 main ()
24964 return 0;
24967 _ACEOF
24968 if ac_fn_c_try_link "$LINENO"; then :
24969 gcc_cv_math_func_tgamma=yes
24970 else
24971 gcc_cv_math_func_tgamma=no
24973 rm -f core conftest.err conftest.$ac_objext \
24974 conftest$ac_exeext conftest.$ac_ext
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24977 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24978 if test $gcc_cv_math_func_tgamma = yes; then
24980 cat >>confdefs.h <<_ACEOF
24981 #define HAVE_TGAMMA 1
24982 _ACEOF
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24990 $as_echo_n "checking for tgammaf... " >&6; }
24991 if ${gcc_cv_math_func_tgammaf+:} false; then :
24992 $as_echo_n "(cached) " >&6
24993 else
24994 if test x$gcc_no_link = xyes; then
24995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
25000 #ifdef HAVE_COMPLEX_H
25001 #include <complex.h>
25002 #endif
25003 #ifdef HAVE_MATH_H
25004 #include <math.h>
25005 #endif
25007 int (*ptr)() = (int (*)())tgammaf;
25010 main ()
25012 return 0;
25015 _ACEOF
25016 if ac_fn_c_try_link "$LINENO"; then :
25017 gcc_cv_math_func_tgammaf=yes
25018 else
25019 gcc_cv_math_func_tgammaf=no
25021 rm -f core conftest.err conftest.$ac_objext \
25022 conftest$ac_exeext conftest.$ac_ext
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
25025 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
25026 if test $gcc_cv_math_func_tgammaf = yes; then
25028 cat >>confdefs.h <<_ACEOF
25029 #define HAVE_TGAMMAF 1
25030 _ACEOF
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
25038 $as_echo_n "checking for lgamma... " >&6; }
25039 if ${gcc_cv_math_func_lgamma+:} false; then :
25040 $as_echo_n "(cached) " >&6
25041 else
25042 if test x$gcc_no_link = xyes; then
25043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25046 /* end confdefs.h. */
25048 #ifdef HAVE_COMPLEX_H
25049 #include <complex.h>
25050 #endif
25051 #ifdef HAVE_MATH_H
25052 #include <math.h>
25053 #endif
25055 int (*ptr)() = (int (*)())lgamma;
25058 main ()
25060 return 0;
25063 _ACEOF
25064 if ac_fn_c_try_link "$LINENO"; then :
25065 gcc_cv_math_func_lgamma=yes
25066 else
25067 gcc_cv_math_func_lgamma=no
25069 rm -f core conftest.err conftest.$ac_objext \
25070 conftest$ac_exeext conftest.$ac_ext
25072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
25073 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
25074 if test $gcc_cv_math_func_lgamma = yes; then
25076 cat >>confdefs.h <<_ACEOF
25077 #define HAVE_LGAMMA 1
25078 _ACEOF
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
25086 $as_echo_n "checking for lgammaf... " >&6; }
25087 if ${gcc_cv_math_func_lgammaf+:} false; then :
25088 $as_echo_n "(cached) " >&6
25089 else
25090 if test x$gcc_no_link = xyes; then
25091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25094 /* end confdefs.h. */
25096 #ifdef HAVE_COMPLEX_H
25097 #include <complex.h>
25098 #endif
25099 #ifdef HAVE_MATH_H
25100 #include <math.h>
25101 #endif
25103 int (*ptr)() = (int (*)())lgammaf;
25106 main ()
25108 return 0;
25111 _ACEOF
25112 if ac_fn_c_try_link "$LINENO"; then :
25113 gcc_cv_math_func_lgammaf=yes
25114 else
25115 gcc_cv_math_func_lgammaf=no
25117 rm -f core conftest.err conftest.$ac_objext \
25118 conftest$ac_exeext conftest.$ac_ext
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25121 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25122 if test $gcc_cv_math_func_lgammaf = yes; then
25124 cat >>confdefs.h <<_ACEOF
25125 #define HAVE_LGAMMAF 1
25126 _ACEOF
25131 # Check for GFORTRAN_C99_1.1 funcs
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25136 $as_echo_n "checking for cacos... " >&6; }
25137 if ${gcc_cv_math_func_cacos+:} false; then :
25138 $as_echo_n "(cached) " >&6
25139 else
25140 if test x$gcc_no_link = xyes; then
25141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h. */
25146 #ifdef HAVE_COMPLEX_H
25147 #include <complex.h>
25148 #endif
25149 #ifdef HAVE_MATH_H
25150 #include <math.h>
25151 #endif
25153 int (*ptr)() = (int (*)())cacos;
25156 main ()
25158 return 0;
25161 _ACEOF
25162 if ac_fn_c_try_link "$LINENO"; then :
25163 gcc_cv_math_func_cacos=yes
25164 else
25165 gcc_cv_math_func_cacos=no
25167 rm -f core conftest.err conftest.$ac_objext \
25168 conftest$ac_exeext conftest.$ac_ext
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25171 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25172 if test $gcc_cv_math_func_cacos = yes; then
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE_CACOS 1
25176 _ACEOF
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25184 $as_echo_n "checking for cacosf... " >&6; }
25185 if ${gcc_cv_math_func_cacosf+:} false; then :
25186 $as_echo_n "(cached) " >&6
25187 else
25188 if test x$gcc_no_link = xyes; then
25189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25192 /* end confdefs.h. */
25194 #ifdef HAVE_COMPLEX_H
25195 #include <complex.h>
25196 #endif
25197 #ifdef HAVE_MATH_H
25198 #include <math.h>
25199 #endif
25201 int (*ptr)() = (int (*)())cacosf;
25204 main ()
25206 return 0;
25209 _ACEOF
25210 if ac_fn_c_try_link "$LINENO"; then :
25211 gcc_cv_math_func_cacosf=yes
25212 else
25213 gcc_cv_math_func_cacosf=no
25215 rm -f core conftest.err conftest.$ac_objext \
25216 conftest$ac_exeext conftest.$ac_ext
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25219 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25220 if test $gcc_cv_math_func_cacosf = yes; then
25222 cat >>confdefs.h <<_ACEOF
25223 #define HAVE_CACOSF 1
25224 _ACEOF
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25232 $as_echo_n "checking for cacosh... " >&6; }
25233 if ${gcc_cv_math_func_cacosh+:} false; then :
25234 $as_echo_n "(cached) " >&6
25235 else
25236 if test x$gcc_no_link = xyes; then
25237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25240 /* end confdefs.h. */
25242 #ifdef HAVE_COMPLEX_H
25243 #include <complex.h>
25244 #endif
25245 #ifdef HAVE_MATH_H
25246 #include <math.h>
25247 #endif
25249 int (*ptr)() = (int (*)())cacosh;
25252 main ()
25254 return 0;
25257 _ACEOF
25258 if ac_fn_c_try_link "$LINENO"; then :
25259 gcc_cv_math_func_cacosh=yes
25260 else
25261 gcc_cv_math_func_cacosh=no
25263 rm -f core conftest.err conftest.$ac_objext \
25264 conftest$ac_exeext conftest.$ac_ext
25266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25267 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25268 if test $gcc_cv_math_func_cacosh = yes; then
25270 cat >>confdefs.h <<_ACEOF
25271 #define HAVE_CACOSH 1
25272 _ACEOF
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25280 $as_echo_n "checking for cacoshf... " >&6; }
25281 if ${gcc_cv_math_func_cacoshf+:} false; then :
25282 $as_echo_n "(cached) " >&6
25283 else
25284 if test x$gcc_no_link = xyes; then
25285 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25288 /* end confdefs.h. */
25290 #ifdef HAVE_COMPLEX_H
25291 #include <complex.h>
25292 #endif
25293 #ifdef HAVE_MATH_H
25294 #include <math.h>
25295 #endif
25297 int (*ptr)() = (int (*)())cacoshf;
25300 main ()
25302 return 0;
25305 _ACEOF
25306 if ac_fn_c_try_link "$LINENO"; then :
25307 gcc_cv_math_func_cacoshf=yes
25308 else
25309 gcc_cv_math_func_cacoshf=no
25311 rm -f core conftest.err conftest.$ac_objext \
25312 conftest$ac_exeext conftest.$ac_ext
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25315 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25316 if test $gcc_cv_math_func_cacoshf = yes; then
25318 cat >>confdefs.h <<_ACEOF
25319 #define HAVE_CACOSHF 1
25320 _ACEOF
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25328 $as_echo_n "checking for cacoshl... " >&6; }
25329 if ${gcc_cv_math_func_cacoshl+:} false; then :
25330 $as_echo_n "(cached) " >&6
25331 else
25332 if test x$gcc_no_link = xyes; then
25333 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25338 #ifdef HAVE_COMPLEX_H
25339 #include <complex.h>
25340 #endif
25341 #ifdef HAVE_MATH_H
25342 #include <math.h>
25343 #endif
25345 int (*ptr)() = (int (*)())cacoshl;
25348 main ()
25350 return 0;
25353 _ACEOF
25354 if ac_fn_c_try_link "$LINENO"; then :
25355 gcc_cv_math_func_cacoshl=yes
25356 else
25357 gcc_cv_math_func_cacoshl=no
25359 rm -f core conftest.err conftest.$ac_objext \
25360 conftest$ac_exeext conftest.$ac_ext
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25363 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25364 if test $gcc_cv_math_func_cacoshl = yes; then
25366 cat >>confdefs.h <<_ACEOF
25367 #define HAVE_CACOSHL 1
25368 _ACEOF
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25376 $as_echo_n "checking for cacosl... " >&6; }
25377 if ${gcc_cv_math_func_cacosl+:} false; then :
25378 $as_echo_n "(cached) " >&6
25379 else
25380 if test x$gcc_no_link = xyes; then
25381 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25384 /* end confdefs.h. */
25386 #ifdef HAVE_COMPLEX_H
25387 #include <complex.h>
25388 #endif
25389 #ifdef HAVE_MATH_H
25390 #include <math.h>
25391 #endif
25393 int (*ptr)() = (int (*)())cacosl;
25396 main ()
25398 return 0;
25401 _ACEOF
25402 if ac_fn_c_try_link "$LINENO"; then :
25403 gcc_cv_math_func_cacosl=yes
25404 else
25405 gcc_cv_math_func_cacosl=no
25407 rm -f core conftest.err conftest.$ac_objext \
25408 conftest$ac_exeext conftest.$ac_ext
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25411 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25412 if test $gcc_cv_math_func_cacosl = yes; then
25414 cat >>confdefs.h <<_ACEOF
25415 #define HAVE_CACOSL 1
25416 _ACEOF
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25424 $as_echo_n "checking for casin... " >&6; }
25425 if ${gcc_cv_math_func_casin+:} false; then :
25426 $as_echo_n "(cached) " >&6
25427 else
25428 if test x$gcc_no_link = xyes; then
25429 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25432 /* end confdefs.h. */
25434 #ifdef HAVE_COMPLEX_H
25435 #include <complex.h>
25436 #endif
25437 #ifdef HAVE_MATH_H
25438 #include <math.h>
25439 #endif
25441 int (*ptr)() = (int (*)())casin;
25444 main ()
25446 return 0;
25449 _ACEOF
25450 if ac_fn_c_try_link "$LINENO"; then :
25451 gcc_cv_math_func_casin=yes
25452 else
25453 gcc_cv_math_func_casin=no
25455 rm -f core conftest.err conftest.$ac_objext \
25456 conftest$ac_exeext conftest.$ac_ext
25458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25459 $as_echo "$gcc_cv_math_func_casin" >&6; }
25460 if test $gcc_cv_math_func_casin = yes; then
25462 cat >>confdefs.h <<_ACEOF
25463 #define HAVE_CASIN 1
25464 _ACEOF
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25472 $as_echo_n "checking for casinf... " >&6; }
25473 if ${gcc_cv_math_func_casinf+:} false; then :
25474 $as_echo_n "(cached) " >&6
25475 else
25476 if test x$gcc_no_link = xyes; then
25477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25480 /* end confdefs.h. */
25482 #ifdef HAVE_COMPLEX_H
25483 #include <complex.h>
25484 #endif
25485 #ifdef HAVE_MATH_H
25486 #include <math.h>
25487 #endif
25489 int (*ptr)() = (int (*)())casinf;
25492 main ()
25494 return 0;
25497 _ACEOF
25498 if ac_fn_c_try_link "$LINENO"; then :
25499 gcc_cv_math_func_casinf=yes
25500 else
25501 gcc_cv_math_func_casinf=no
25503 rm -f core conftest.err conftest.$ac_objext \
25504 conftest$ac_exeext conftest.$ac_ext
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25507 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25508 if test $gcc_cv_math_func_casinf = yes; then
25510 cat >>confdefs.h <<_ACEOF
25511 #define HAVE_CASINF 1
25512 _ACEOF
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25520 $as_echo_n "checking for casinh... " >&6; }
25521 if ${gcc_cv_math_func_casinh+:} false; then :
25522 $as_echo_n "(cached) " >&6
25523 else
25524 if test x$gcc_no_link = xyes; then
25525 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25528 /* end confdefs.h. */
25530 #ifdef HAVE_COMPLEX_H
25531 #include <complex.h>
25532 #endif
25533 #ifdef HAVE_MATH_H
25534 #include <math.h>
25535 #endif
25537 int (*ptr)() = (int (*)())casinh;
25540 main ()
25542 return 0;
25545 _ACEOF
25546 if ac_fn_c_try_link "$LINENO"; then :
25547 gcc_cv_math_func_casinh=yes
25548 else
25549 gcc_cv_math_func_casinh=no
25551 rm -f core conftest.err conftest.$ac_objext \
25552 conftest$ac_exeext conftest.$ac_ext
25554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25555 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25556 if test $gcc_cv_math_func_casinh = yes; then
25558 cat >>confdefs.h <<_ACEOF
25559 #define HAVE_CASINH 1
25560 _ACEOF
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25568 $as_echo_n "checking for casinhf... " >&6; }
25569 if ${gcc_cv_math_func_casinhf+:} false; then :
25570 $as_echo_n "(cached) " >&6
25571 else
25572 if test x$gcc_no_link = xyes; then
25573 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25576 /* end confdefs.h. */
25578 #ifdef HAVE_COMPLEX_H
25579 #include <complex.h>
25580 #endif
25581 #ifdef HAVE_MATH_H
25582 #include <math.h>
25583 #endif
25585 int (*ptr)() = (int (*)())casinhf;
25588 main ()
25590 return 0;
25593 _ACEOF
25594 if ac_fn_c_try_link "$LINENO"; then :
25595 gcc_cv_math_func_casinhf=yes
25596 else
25597 gcc_cv_math_func_casinhf=no
25599 rm -f core conftest.err conftest.$ac_objext \
25600 conftest$ac_exeext conftest.$ac_ext
25602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25603 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25604 if test $gcc_cv_math_func_casinhf = yes; then
25606 cat >>confdefs.h <<_ACEOF
25607 #define HAVE_CASINHF 1
25608 _ACEOF
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25616 $as_echo_n "checking for casinhl... " >&6; }
25617 if ${gcc_cv_math_func_casinhl+:} false; then :
25618 $as_echo_n "(cached) " >&6
25619 else
25620 if test x$gcc_no_link = xyes; then
25621 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25624 /* end confdefs.h. */
25626 #ifdef HAVE_COMPLEX_H
25627 #include <complex.h>
25628 #endif
25629 #ifdef HAVE_MATH_H
25630 #include <math.h>
25631 #endif
25633 int (*ptr)() = (int (*)())casinhl;
25636 main ()
25638 return 0;
25641 _ACEOF
25642 if ac_fn_c_try_link "$LINENO"; then :
25643 gcc_cv_math_func_casinhl=yes
25644 else
25645 gcc_cv_math_func_casinhl=no
25647 rm -f core conftest.err conftest.$ac_objext \
25648 conftest$ac_exeext conftest.$ac_ext
25650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25651 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25652 if test $gcc_cv_math_func_casinhl = yes; then
25654 cat >>confdefs.h <<_ACEOF
25655 #define HAVE_CASINHL 1
25656 _ACEOF
25663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25664 $as_echo_n "checking for casinl... " >&6; }
25665 if ${gcc_cv_math_func_casinl+:} false; then :
25666 $as_echo_n "(cached) " >&6
25667 else
25668 if test x$gcc_no_link = xyes; then
25669 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25672 /* end confdefs.h. */
25674 #ifdef HAVE_COMPLEX_H
25675 #include <complex.h>
25676 #endif
25677 #ifdef HAVE_MATH_H
25678 #include <math.h>
25679 #endif
25681 int (*ptr)() = (int (*)())casinl;
25684 main ()
25686 return 0;
25689 _ACEOF
25690 if ac_fn_c_try_link "$LINENO"; then :
25691 gcc_cv_math_func_casinl=yes
25692 else
25693 gcc_cv_math_func_casinl=no
25695 rm -f core conftest.err conftest.$ac_objext \
25696 conftest$ac_exeext conftest.$ac_ext
25698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25699 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25700 if test $gcc_cv_math_func_casinl = yes; then
25702 cat >>confdefs.h <<_ACEOF
25703 #define HAVE_CASINL 1
25704 _ACEOF
25711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25712 $as_echo_n "checking for catan... " >&6; }
25713 if ${gcc_cv_math_func_catan+:} false; then :
25714 $as_echo_n "(cached) " >&6
25715 else
25716 if test x$gcc_no_link = xyes; then
25717 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25720 /* end confdefs.h. */
25722 #ifdef HAVE_COMPLEX_H
25723 #include <complex.h>
25724 #endif
25725 #ifdef HAVE_MATH_H
25726 #include <math.h>
25727 #endif
25729 int (*ptr)() = (int (*)())catan;
25732 main ()
25734 return 0;
25737 _ACEOF
25738 if ac_fn_c_try_link "$LINENO"; then :
25739 gcc_cv_math_func_catan=yes
25740 else
25741 gcc_cv_math_func_catan=no
25743 rm -f core conftest.err conftest.$ac_objext \
25744 conftest$ac_exeext conftest.$ac_ext
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25747 $as_echo "$gcc_cv_math_func_catan" >&6; }
25748 if test $gcc_cv_math_func_catan = yes; then
25750 cat >>confdefs.h <<_ACEOF
25751 #define HAVE_CATAN 1
25752 _ACEOF
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25760 $as_echo_n "checking for catanf... " >&6; }
25761 if ${gcc_cv_math_func_catanf+:} false; then :
25762 $as_echo_n "(cached) " >&6
25763 else
25764 if test x$gcc_no_link = xyes; then
25765 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25768 /* end confdefs.h. */
25770 #ifdef HAVE_COMPLEX_H
25771 #include <complex.h>
25772 #endif
25773 #ifdef HAVE_MATH_H
25774 #include <math.h>
25775 #endif
25777 int (*ptr)() = (int (*)())catanf;
25780 main ()
25782 return 0;
25785 _ACEOF
25786 if ac_fn_c_try_link "$LINENO"; then :
25787 gcc_cv_math_func_catanf=yes
25788 else
25789 gcc_cv_math_func_catanf=no
25791 rm -f core conftest.err conftest.$ac_objext \
25792 conftest$ac_exeext conftest.$ac_ext
25794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25795 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25796 if test $gcc_cv_math_func_catanf = yes; then
25798 cat >>confdefs.h <<_ACEOF
25799 #define HAVE_CATANF 1
25800 _ACEOF
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25808 $as_echo_n "checking for catanh... " >&6; }
25809 if ${gcc_cv_math_func_catanh+:} false; then :
25810 $as_echo_n "(cached) " >&6
25811 else
25812 if test x$gcc_no_link = xyes; then
25813 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25816 /* end confdefs.h. */
25818 #ifdef HAVE_COMPLEX_H
25819 #include <complex.h>
25820 #endif
25821 #ifdef HAVE_MATH_H
25822 #include <math.h>
25823 #endif
25825 int (*ptr)() = (int (*)())catanh;
25828 main ()
25830 return 0;
25833 _ACEOF
25834 if ac_fn_c_try_link "$LINENO"; then :
25835 gcc_cv_math_func_catanh=yes
25836 else
25837 gcc_cv_math_func_catanh=no
25839 rm -f core conftest.err conftest.$ac_objext \
25840 conftest$ac_exeext conftest.$ac_ext
25842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25843 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25844 if test $gcc_cv_math_func_catanh = yes; then
25846 cat >>confdefs.h <<_ACEOF
25847 #define HAVE_CATANH 1
25848 _ACEOF
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25856 $as_echo_n "checking for catanhf... " >&6; }
25857 if ${gcc_cv_math_func_catanhf+:} false; then :
25858 $as_echo_n "(cached) " >&6
25859 else
25860 if test x$gcc_no_link = xyes; then
25861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25864 /* end confdefs.h. */
25866 #ifdef HAVE_COMPLEX_H
25867 #include <complex.h>
25868 #endif
25869 #ifdef HAVE_MATH_H
25870 #include <math.h>
25871 #endif
25873 int (*ptr)() = (int (*)())catanhf;
25876 main ()
25878 return 0;
25881 _ACEOF
25882 if ac_fn_c_try_link "$LINENO"; then :
25883 gcc_cv_math_func_catanhf=yes
25884 else
25885 gcc_cv_math_func_catanhf=no
25887 rm -f core conftest.err conftest.$ac_objext \
25888 conftest$ac_exeext conftest.$ac_ext
25890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25891 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25892 if test $gcc_cv_math_func_catanhf = yes; then
25894 cat >>confdefs.h <<_ACEOF
25895 #define HAVE_CATANHF 1
25896 _ACEOF
25903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25904 $as_echo_n "checking for catanhl... " >&6; }
25905 if ${gcc_cv_math_func_catanhl+:} false; then :
25906 $as_echo_n "(cached) " >&6
25907 else
25908 if test x$gcc_no_link = xyes; then
25909 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25912 /* end confdefs.h. */
25914 #ifdef HAVE_COMPLEX_H
25915 #include <complex.h>
25916 #endif
25917 #ifdef HAVE_MATH_H
25918 #include <math.h>
25919 #endif
25921 int (*ptr)() = (int (*)())catanhl;
25924 main ()
25926 return 0;
25929 _ACEOF
25930 if ac_fn_c_try_link "$LINENO"; then :
25931 gcc_cv_math_func_catanhl=yes
25932 else
25933 gcc_cv_math_func_catanhl=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_catanhl" >&5
25939 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25940 if test $gcc_cv_math_func_catanhl = yes; then
25942 cat >>confdefs.h <<_ACEOF
25943 #define HAVE_CATANHL 1
25944 _ACEOF
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25952 $as_echo_n "checking for catanl... " >&6; }
25953 if ${gcc_cv_math_func_catanl+:} 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 #ifdef HAVE_COMPLEX_H
25963 #include <complex.h>
25964 #endif
25965 #ifdef HAVE_MATH_H
25966 #include <math.h>
25967 #endif
25969 int (*ptr)() = (int (*)())catanl;
25972 main ()
25974 return 0;
25977 _ACEOF
25978 if ac_fn_c_try_link "$LINENO"; then :
25979 gcc_cv_math_func_catanl=yes
25980 else
25981 gcc_cv_math_func_catanl=no
25983 rm -f core conftest.err conftest.$ac_objext \
25984 conftest$ac_exeext conftest.$ac_ext
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25987 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25988 if test $gcc_cv_math_func_catanl = yes; then
25990 cat >>confdefs.h <<_ACEOF
25991 #define HAVE_CATANL 1
25992 _ACEOF
25997 # For POWER, check the ieee128 math functions
25999 if test "x$have_real_17" = "xyes"; then
26001 cat >>confdefs.h <<_ACEOF
26002 #define HAVE_REAL_17 1
26003 _ACEOF
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
26010 $as_echo_n "checking for __acoshieee128... " >&6; }
26011 if ${gcc_cv_math_func___acoshieee128+:} false; then :
26012 $as_echo_n "(cached) " >&6
26013 else
26014 if test x$gcc_no_link = xyes; then
26015 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26018 /* end confdefs.h. */
26020 _Float128 __acoshieee128 (_Float128);
26021 _Float128 (*ptr)(_Float128) = __acoshieee128;
26024 main ()
26026 return 0;
26029 _ACEOF
26030 if ac_fn_c_try_link "$LINENO"; then :
26031 gcc_cv_math_func___acoshieee128=yes
26032 else
26033 gcc_cv_math_func___acoshieee128=no
26035 rm -f core conftest.err conftest.$ac_objext \
26036 conftest$ac_exeext conftest.$ac_ext
26038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
26039 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
26040 if test $gcc_cv_math_func___acoshieee128 = yes; then
26042 cat >>confdefs.h <<_ACEOF
26043 #define HAVE___ACOSHIEEE128 1
26044 _ACEOF
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
26052 $as_echo_n "checking for __acosieee128... " >&6; }
26053 if ${gcc_cv_math_func___acosieee128+:} false; then :
26054 $as_echo_n "(cached) " >&6
26055 else
26056 if test x$gcc_no_link = xyes; then
26057 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26060 /* end confdefs.h. */
26062 _Float128 __acosieee128 (_Float128);
26063 _Float128 (*ptr)(_Float128) = __acosieee128;
26066 main ()
26068 return 0;
26071 _ACEOF
26072 if ac_fn_c_try_link "$LINENO"; then :
26073 gcc_cv_math_func___acosieee128=yes
26074 else
26075 gcc_cv_math_func___acosieee128=no
26077 rm -f core conftest.err conftest.$ac_objext \
26078 conftest$ac_exeext conftest.$ac_ext
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
26081 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
26082 if test $gcc_cv_math_func___acosieee128 = yes; then
26084 cat >>confdefs.h <<_ACEOF
26085 #define HAVE___ACOSIEEE128 1
26086 _ACEOF
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
26094 $as_echo_n "checking for __asinhieee128... " >&6; }
26095 if ${gcc_cv_math_func___asinhieee128+:} false; then :
26096 $as_echo_n "(cached) " >&6
26097 else
26098 if test x$gcc_no_link = xyes; then
26099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26102 /* end confdefs.h. */
26104 _Float128 __asinhieee128 (_Float128);
26105 _Float128 (*ptr)(_Float128) = __asinhieee128;
26108 main ()
26110 return 0;
26113 _ACEOF
26114 if ac_fn_c_try_link "$LINENO"; then :
26115 gcc_cv_math_func___asinhieee128=yes
26116 else
26117 gcc_cv_math_func___asinhieee128=no
26119 rm -f core conftest.err conftest.$ac_objext \
26120 conftest$ac_exeext conftest.$ac_ext
26122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26123 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26124 if test $gcc_cv_math_func___asinhieee128 = yes; then
26126 cat >>confdefs.h <<_ACEOF
26127 #define HAVE___ASINHIEEE128 1
26128 _ACEOF
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26136 $as_echo_n "checking for __asinieee128... " >&6; }
26137 if ${gcc_cv_math_func___asinieee128+:} false; then :
26138 $as_echo_n "(cached) " >&6
26139 else
26140 if test x$gcc_no_link = xyes; then
26141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26144 /* end confdefs.h. */
26146 _Float128 __asinieee128 (_Float128);
26147 _Float128 (*ptr)(_Float128) = __asinieee128;
26150 main ()
26152 return 0;
26155 _ACEOF
26156 if ac_fn_c_try_link "$LINENO"; then :
26157 gcc_cv_math_func___asinieee128=yes
26158 else
26159 gcc_cv_math_func___asinieee128=no
26161 rm -f core conftest.err conftest.$ac_objext \
26162 conftest$ac_exeext conftest.$ac_ext
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26165 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26166 if test $gcc_cv_math_func___asinieee128 = yes; then
26168 cat >>confdefs.h <<_ACEOF
26169 #define HAVE___ASINIEEE128 1
26170 _ACEOF
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26178 $as_echo_n "checking for __atan2ieee128... " >&6; }
26179 if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26180 $as_echo_n "(cached) " >&6
26181 else
26182 if test x$gcc_no_link = xyes; then
26183 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26186 /* end confdefs.h. */
26188 _Float128 __atan2ieee128 (_Float128);
26189 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26192 main ()
26194 return 0;
26197 _ACEOF
26198 if ac_fn_c_try_link "$LINENO"; then :
26199 gcc_cv_math_func___atan2ieee128=yes
26200 else
26201 gcc_cv_math_func___atan2ieee128=no
26203 rm -f core conftest.err conftest.$ac_objext \
26204 conftest$ac_exeext conftest.$ac_ext
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26207 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26208 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26210 cat >>confdefs.h <<_ACEOF
26211 #define HAVE___ATAN2IEEE128 1
26212 _ACEOF
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26220 $as_echo_n "checking for __atanhieee128... " >&6; }
26221 if ${gcc_cv_math_func___atanhieee128+:} false; then :
26222 $as_echo_n "(cached) " >&6
26223 else
26224 if test x$gcc_no_link = xyes; then
26225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26228 /* end confdefs.h. */
26230 _Float128 __atanhieee128 (_Float128);
26231 _Float128 (*ptr)(_Float128) = __atanhieee128;
26234 main ()
26236 return 0;
26239 _ACEOF
26240 if ac_fn_c_try_link "$LINENO"; then :
26241 gcc_cv_math_func___atanhieee128=yes
26242 else
26243 gcc_cv_math_func___atanhieee128=no
26245 rm -f core conftest.err conftest.$ac_objext \
26246 conftest$ac_exeext conftest.$ac_ext
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26249 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26250 if test $gcc_cv_math_func___atanhieee128 = yes; then
26252 cat >>confdefs.h <<_ACEOF
26253 #define HAVE___ATANHIEEE128 1
26254 _ACEOF
26261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26262 $as_echo_n "checking for __atanieee128... " >&6; }
26263 if ${gcc_cv_math_func___atanieee128+:} false; then :
26264 $as_echo_n "(cached) " >&6
26265 else
26266 if test x$gcc_no_link = xyes; then
26267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26270 /* end confdefs.h. */
26272 _Float128 __atanieee128 (_Float128);
26273 _Float128 (*ptr)(_Float128) = __atanieee128;
26276 main ()
26278 return 0;
26281 _ACEOF
26282 if ac_fn_c_try_link "$LINENO"; then :
26283 gcc_cv_math_func___atanieee128=yes
26284 else
26285 gcc_cv_math_func___atanieee128=no
26287 rm -f core conftest.err conftest.$ac_objext \
26288 conftest$ac_exeext conftest.$ac_ext
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26291 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26292 if test $gcc_cv_math_func___atanieee128 = yes; then
26294 cat >>confdefs.h <<_ACEOF
26295 #define HAVE___ATANIEEE128 1
26296 _ACEOF
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26304 $as_echo_n "checking for __coshieee128... " >&6; }
26305 if ${gcc_cv_math_func___coshieee128+:} false; then :
26306 $as_echo_n "(cached) " >&6
26307 else
26308 if test x$gcc_no_link = xyes; then
26309 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26312 /* end confdefs.h. */
26314 _Float128 __coshieee128 (_Float128);
26315 _Float128 (*ptr)(_Float128) = __coshieee128;
26318 main ()
26320 return 0;
26323 _ACEOF
26324 if ac_fn_c_try_link "$LINENO"; then :
26325 gcc_cv_math_func___coshieee128=yes
26326 else
26327 gcc_cv_math_func___coshieee128=no
26329 rm -f core conftest.err conftest.$ac_objext \
26330 conftest$ac_exeext conftest.$ac_ext
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26333 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26334 if test $gcc_cv_math_func___coshieee128 = yes; then
26336 cat >>confdefs.h <<_ACEOF
26337 #define HAVE___COSHIEEE128 1
26338 _ACEOF
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26346 $as_echo_n "checking for __cosieee128... " >&6; }
26347 if ${gcc_cv_math_func___cosieee128+:} false; then :
26348 $as_echo_n "(cached) " >&6
26349 else
26350 if test x$gcc_no_link = xyes; then
26351 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26354 /* end confdefs.h. */
26356 _Float128 __cosieee128 (_Float128);
26357 _Float128 (*ptr)(_Float128) = __cosieee128;
26360 main ()
26362 return 0;
26365 _ACEOF
26366 if ac_fn_c_try_link "$LINENO"; then :
26367 gcc_cv_math_func___cosieee128=yes
26368 else
26369 gcc_cv_math_func___cosieee128=no
26371 rm -f core conftest.err conftest.$ac_objext \
26372 conftest$ac_exeext conftest.$ac_ext
26374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26375 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26376 if test $gcc_cv_math_func___cosieee128 = yes; then
26378 cat >>confdefs.h <<_ACEOF
26379 #define HAVE___COSIEEE128 1
26380 _ACEOF
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26388 $as_echo_n "checking for __erfieee128... " >&6; }
26389 if ${gcc_cv_math_func___erfieee128+:} false; then :
26390 $as_echo_n "(cached) " >&6
26391 else
26392 if test x$gcc_no_link = xyes; then
26393 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26396 /* end confdefs.h. */
26398 _Float128 __erfieee128 (_Float128);
26399 _Float128 (*ptr)(_Float128) = __erfieee128;
26402 main ()
26404 return 0;
26407 _ACEOF
26408 if ac_fn_c_try_link "$LINENO"; then :
26409 gcc_cv_math_func___erfieee128=yes
26410 else
26411 gcc_cv_math_func___erfieee128=no
26413 rm -f core conftest.err conftest.$ac_objext \
26414 conftest$ac_exeext conftest.$ac_ext
26416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26417 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26418 if test $gcc_cv_math_func___erfieee128 = yes; then
26420 cat >>confdefs.h <<_ACEOF
26421 #define HAVE___ERFIEEE128 1
26422 _ACEOF
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26430 $as_echo_n "checking for __expieee128... " >&6; }
26431 if ${gcc_cv_math_func___expieee128+:} false; then :
26432 $as_echo_n "(cached) " >&6
26433 else
26434 if test x$gcc_no_link = xyes; then
26435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26438 /* end confdefs.h. */
26440 _Float128 __expieee128 (_Float128);
26441 _Float128 (*ptr)(_Float128) = __expieee128;
26444 main ()
26446 return 0;
26449 _ACEOF
26450 if ac_fn_c_try_link "$LINENO"; then :
26451 gcc_cv_math_func___expieee128=yes
26452 else
26453 gcc_cv_math_func___expieee128=no
26455 rm -f core conftest.err conftest.$ac_objext \
26456 conftest$ac_exeext conftest.$ac_ext
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26459 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26460 if test $gcc_cv_math_func___expieee128 = yes; then
26462 cat >>confdefs.h <<_ACEOF
26463 #define HAVE___EXPIEEE128 1
26464 _ACEOF
26471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26472 $as_echo_n "checking for __fabsieee128... " >&6; }
26473 if ${gcc_cv_math_func___fabsieee128+:} false; then :
26474 $as_echo_n "(cached) " >&6
26475 else
26476 if test x$gcc_no_link = xyes; then
26477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26480 /* end confdefs.h. */
26482 _Float128 __fabsieee128 (_Float128);
26483 _Float128 (*ptr)(_Float128) = __fabsieee128;
26486 main ()
26488 return 0;
26491 _ACEOF
26492 if ac_fn_c_try_link "$LINENO"; then :
26493 gcc_cv_math_func___fabsieee128=yes
26494 else
26495 gcc_cv_math_func___fabsieee128=no
26497 rm -f core conftest.err conftest.$ac_objext \
26498 conftest$ac_exeext conftest.$ac_ext
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26501 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26502 if test $gcc_cv_math_func___fabsieee128 = yes; then
26504 cat >>confdefs.h <<_ACEOF
26505 #define HAVE___FABSIEEE128 1
26506 _ACEOF
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26514 $as_echo_n "checking for __jnieee128... " >&6; }
26515 if ${gcc_cv_math_func___jnieee128+:} false; then :
26516 $as_echo_n "(cached) " >&6
26517 else
26518 if test x$gcc_no_link = xyes; then
26519 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26522 /* end confdefs.h. */
26524 _Float128 __jnieee128 (_Float128);
26525 _Float128 (*ptr)(_Float128) = __jnieee128;
26528 main ()
26530 return 0;
26533 _ACEOF
26534 if ac_fn_c_try_link "$LINENO"; then :
26535 gcc_cv_math_func___jnieee128=yes
26536 else
26537 gcc_cv_math_func___jnieee128=no
26539 rm -f core conftest.err conftest.$ac_objext \
26540 conftest$ac_exeext conftest.$ac_ext
26542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26543 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26544 if test $gcc_cv_math_func___jnieee128 = yes; then
26546 cat >>confdefs.h <<_ACEOF
26547 #define HAVE___JNIEEE128 1
26548 _ACEOF
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26556 $as_echo_n "checking for __log10ieee128... " >&6; }
26557 if ${gcc_cv_math_func___log10ieee128+:} false; then :
26558 $as_echo_n "(cached) " >&6
26559 else
26560 if test x$gcc_no_link = xyes; then
26561 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26564 /* end confdefs.h. */
26566 _Float128 __log10ieee128 (_Float128);
26567 _Float128 (*ptr)(_Float128) = __log10ieee128;
26570 main ()
26572 return 0;
26575 _ACEOF
26576 if ac_fn_c_try_link "$LINENO"; then :
26577 gcc_cv_math_func___log10ieee128=yes
26578 else
26579 gcc_cv_math_func___log10ieee128=no
26581 rm -f core conftest.err conftest.$ac_objext \
26582 conftest$ac_exeext conftest.$ac_ext
26584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26585 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26586 if test $gcc_cv_math_func___log10ieee128 = yes; then
26588 cat >>confdefs.h <<_ACEOF
26589 #define HAVE___LOG10IEEE128 1
26590 _ACEOF
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26598 $as_echo_n "checking for __logieee128... " >&6; }
26599 if ${gcc_cv_math_func___logieee128+:} false; then :
26600 $as_echo_n "(cached) " >&6
26601 else
26602 if test x$gcc_no_link = xyes; then
26603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26606 /* end confdefs.h. */
26608 _Float128 __logieee128 (_Float128);
26609 _Float128 (*ptr)(_Float128) = __logieee128;
26612 main ()
26614 return 0;
26617 _ACEOF
26618 if ac_fn_c_try_link "$LINENO"; then :
26619 gcc_cv_math_func___logieee128=yes
26620 else
26621 gcc_cv_math_func___logieee128=no
26623 rm -f core conftest.err conftest.$ac_objext \
26624 conftest$ac_exeext conftest.$ac_ext
26626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26627 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26628 if test $gcc_cv_math_func___logieee128 = yes; then
26630 cat >>confdefs.h <<_ACEOF
26631 #define HAVE___LOGIEEE128 1
26632 _ACEOF
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26640 $as_echo_n "checking for __powieee128... " >&6; }
26641 if ${gcc_cv_math_func___powieee128+:} false; then :
26642 $as_echo_n "(cached) " >&6
26643 else
26644 if test x$gcc_no_link = xyes; then
26645 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26648 /* end confdefs.h. */
26650 _Float128 __powieee128 (_Float128);
26651 _Float128 (*ptr)(_Float128) = __powieee128;
26654 main ()
26656 return 0;
26659 _ACEOF
26660 if ac_fn_c_try_link "$LINENO"; then :
26661 gcc_cv_math_func___powieee128=yes
26662 else
26663 gcc_cv_math_func___powieee128=no
26665 rm -f core conftest.err conftest.$ac_objext \
26666 conftest$ac_exeext conftest.$ac_ext
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26669 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26670 if test $gcc_cv_math_func___powieee128 = yes; then
26672 cat >>confdefs.h <<_ACEOF
26673 #define HAVE___POWIEEE128 1
26674 _ACEOF
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26682 $as_echo_n "checking for __sinhieee128... " >&6; }
26683 if ${gcc_cv_math_func___sinhieee128+:} false; then :
26684 $as_echo_n "(cached) " >&6
26685 else
26686 if test x$gcc_no_link = xyes; then
26687 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26690 /* end confdefs.h. */
26692 _Float128 __sinhieee128 (_Float128);
26693 _Float128 (*ptr)(_Float128) = __sinhieee128;
26696 main ()
26698 return 0;
26701 _ACEOF
26702 if ac_fn_c_try_link "$LINENO"; then :
26703 gcc_cv_math_func___sinhieee128=yes
26704 else
26705 gcc_cv_math_func___sinhieee128=no
26707 rm -f core conftest.err conftest.$ac_objext \
26708 conftest$ac_exeext conftest.$ac_ext
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26711 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26712 if test $gcc_cv_math_func___sinhieee128 = yes; then
26714 cat >>confdefs.h <<_ACEOF
26715 #define HAVE___SINHIEEE128 1
26716 _ACEOF
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26724 $as_echo_n "checking for __sinieee128... " >&6; }
26725 if ${gcc_cv_math_func___sinieee128+:} false; then :
26726 $as_echo_n "(cached) " >&6
26727 else
26728 if test x$gcc_no_link = xyes; then
26729 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26732 /* end confdefs.h. */
26734 _Float128 __sinieee128 (_Float128);
26735 _Float128 (*ptr)(_Float128) = __sinieee128;
26738 main ()
26740 return 0;
26743 _ACEOF
26744 if ac_fn_c_try_link "$LINENO"; then :
26745 gcc_cv_math_func___sinieee128=yes
26746 else
26747 gcc_cv_math_func___sinieee128=no
26749 rm -f core conftest.err conftest.$ac_objext \
26750 conftest$ac_exeext conftest.$ac_ext
26752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26753 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26754 if test $gcc_cv_math_func___sinieee128 = yes; then
26756 cat >>confdefs.h <<_ACEOF
26757 #define HAVE___SINIEEE128 1
26758 _ACEOF
26765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26766 $as_echo_n "checking for __sqrtieee128... " >&6; }
26767 if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26768 $as_echo_n "(cached) " >&6
26769 else
26770 if test x$gcc_no_link = xyes; then
26771 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26774 /* end confdefs.h. */
26776 _Float128 __sqrtieee128 (_Float128);
26777 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26780 main ()
26782 return 0;
26785 _ACEOF
26786 if ac_fn_c_try_link "$LINENO"; then :
26787 gcc_cv_math_func___sqrtieee128=yes
26788 else
26789 gcc_cv_math_func___sqrtieee128=no
26791 rm -f core conftest.err conftest.$ac_objext \
26792 conftest$ac_exeext conftest.$ac_ext
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26795 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26796 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26798 cat >>confdefs.h <<_ACEOF
26799 #define HAVE___SQRTIEEE128 1
26800 _ACEOF
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26808 $as_echo_n "checking for __tanhieee128... " >&6; }
26809 if ${gcc_cv_math_func___tanhieee128+:} false; then :
26810 $as_echo_n "(cached) " >&6
26811 else
26812 if test x$gcc_no_link = xyes; then
26813 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26816 /* end confdefs.h. */
26818 _Float128 __tanhieee128 (_Float128);
26819 _Float128 (*ptr)(_Float128) = __tanhieee128;
26822 main ()
26824 return 0;
26827 _ACEOF
26828 if ac_fn_c_try_link "$LINENO"; then :
26829 gcc_cv_math_func___tanhieee128=yes
26830 else
26831 gcc_cv_math_func___tanhieee128=no
26833 rm -f core conftest.err conftest.$ac_objext \
26834 conftest$ac_exeext conftest.$ac_ext
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26837 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26838 if test $gcc_cv_math_func___tanhieee128 = yes; then
26840 cat >>confdefs.h <<_ACEOF
26841 #define HAVE___TANHIEEE128 1
26842 _ACEOF
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26850 $as_echo_n "checking for __tanieee128... " >&6; }
26851 if ${gcc_cv_math_func___tanieee128+:} false; then :
26852 $as_echo_n "(cached) " >&6
26853 else
26854 if test x$gcc_no_link = xyes; then
26855 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26858 /* end confdefs.h. */
26860 _Float128 __tanieee128 (_Float128);
26861 _Float128 (*ptr)(_Float128) = __tanieee128;
26864 main ()
26866 return 0;
26869 _ACEOF
26870 if ac_fn_c_try_link "$LINENO"; then :
26871 gcc_cv_math_func___tanieee128=yes
26872 else
26873 gcc_cv_math_func___tanieee128=no
26875 rm -f core conftest.err conftest.$ac_objext \
26876 conftest$ac_exeext conftest.$ac_ext
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26879 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26880 if test $gcc_cv_math_func___tanieee128 = yes; then
26882 cat >>confdefs.h <<_ACEOF
26883 #define HAVE___TANIEEE128 1
26884 _ACEOF
26891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26892 $as_echo_n "checking for __ynieee128... " >&6; }
26893 if ${gcc_cv_math_func___ynieee128+:} false; then :
26894 $as_echo_n "(cached) " >&6
26895 else
26896 if test x$gcc_no_link = xyes; then
26897 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26900 /* end confdefs.h. */
26902 _Float128 __ynieee128 (_Float128);
26903 _Float128 (*ptr)(_Float128) = __ynieee128;
26906 main ()
26908 return 0;
26911 _ACEOF
26912 if ac_fn_c_try_link "$LINENO"; then :
26913 gcc_cv_math_func___ynieee128=yes
26914 else
26915 gcc_cv_math_func___ynieee128=no
26917 rm -f core conftest.err conftest.$ac_objext \
26918 conftest$ac_exeext conftest.$ac_ext
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26921 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26922 if test $gcc_cv_math_func___ynieee128 = yes; then
26924 cat >>confdefs.h <<_ACEOF
26925 #define HAVE___YNIEEE128 1
26926 _ACEOF
26932 # On AIX, clog is present in libm as __clog
26933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26934 $as_echo_n "checking for __clog in -lm... " >&6; }
26935 if ${ac_cv_lib_m___clog+:} false; then :
26936 $as_echo_n "(cached) " >&6
26937 else
26938 ac_check_lib_save_LIBS=$LIBS
26939 LIBS="-lm $LIBS"
26940 if test x$gcc_no_link = xyes; then
26941 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26944 /* end confdefs.h. */
26946 /* Override any GCC internal prototype to avoid an error.
26947 Use char because int might match the return type of a GCC
26948 builtin and then its argument prototype would still apply. */
26949 #ifdef __cplusplus
26950 extern "C"
26951 #endif
26952 char __clog ();
26954 main ()
26956 return __clog ();
26958 return 0;
26960 _ACEOF
26961 if ac_fn_c_try_link "$LINENO"; then :
26962 ac_cv_lib_m___clog=yes
26963 else
26964 ac_cv_lib_m___clog=no
26966 rm -f core conftest.err conftest.$ac_objext \
26967 conftest$ac_exeext conftest.$ac_ext
26968 LIBS=$ac_check_lib_save_LIBS
26970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26971 $as_echo "$ac_cv_lib_m___clog" >&6; }
26972 if test "x$ac_cv_lib_m___clog" = xyes; then :
26974 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26981 if test $gcc_cv_math_func_copysign = no; then
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26983 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26984 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26985 $as_echo_n "(cached) " >&6
26986 else
26987 if test x$gcc_no_link = xyes; then
26988 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26991 /* end confdefs.h. */
26993 double
26994 copysign_fallback (double x, double y)
26996 return __builtin_copysign (x, y);
27000 main ()
27002 return 0;
27005 _ACEOF
27006 if ac_fn_c_try_link "$LINENO"; then :
27007 gcc_cv_math_inline_builtin_copysign=yes
27008 else
27009 gcc_cv_math_inline_builtin_copysign=no
27011 rm -f core conftest.err conftest.$ac_objext \
27012 conftest$ac_exeext conftest.$ac_ext
27014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
27015 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
27016 if test $gcc_cv_math_inline_builtin_copysign = yes; then
27018 cat >>confdefs.h <<_ACEOF
27019 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
27020 _ACEOF
27026 if test $gcc_cv_math_func_copysignl = no; then
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
27028 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
27029 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
27030 $as_echo_n "(cached) " >&6
27031 else
27032 if test x$gcc_no_link = xyes; then
27033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27036 /* end confdefs.h. */
27038 long double
27039 copysignl_fallback (long double x, long double y)
27041 return __builtin_copysignl (x, y);
27045 main ()
27047 return 0;
27050 _ACEOF
27051 if ac_fn_c_try_link "$LINENO"; then :
27052 gcc_cv_math_inline_builtin_copysignl=yes
27053 else
27054 gcc_cv_math_inline_builtin_copysignl=no
27056 rm -f core conftest.err conftest.$ac_objext \
27057 conftest$ac_exeext conftest.$ac_ext
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
27060 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
27061 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
27063 cat >>confdefs.h <<_ACEOF
27064 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
27065 _ACEOF
27071 if test $gcc_cv_math_func_fabs = no; then
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
27073 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
27074 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
27075 $as_echo_n "(cached) " >&6
27076 else
27077 if test x$gcc_no_link = xyes; then
27078 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27081 /* end confdefs.h. */
27083 double
27084 fabs_fallback (double x)
27086 return __builtin_fabs (x);
27090 main ()
27092 return 0;
27095 _ACEOF
27096 if ac_fn_c_try_link "$LINENO"; then :
27097 gcc_cv_math_inline_builtin_fabs=yes
27098 else
27099 gcc_cv_math_inline_builtin_fabs=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_inline_builtin_fabs" >&5
27105 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
27106 if test $gcc_cv_math_inline_builtin_fabs = yes; then
27108 cat >>confdefs.h <<_ACEOF
27109 #define HAVE_INLINE_BUILTIN_FABS 1
27110 _ACEOF
27116 if test $gcc_cv_math_func_fabsl = no; then
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
27118 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27119 if ${gcc_cv_math_inline_builtin_fabsl+:} 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 long double
27129 fabsl_fallback (long double x)
27131 return __builtin_fabsl (x);
27135 main ()
27137 return 0;
27140 _ACEOF
27141 if ac_fn_c_try_link "$LINENO"; then :
27142 gcc_cv_math_inline_builtin_fabsl=yes
27143 else
27144 gcc_cv_math_inline_builtin_fabsl=no
27146 rm -f core conftest.err conftest.$ac_objext \
27147 conftest$ac_exeext conftest.$ac_ext
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27150 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27151 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27153 cat >>confdefs.h <<_ACEOF
27154 #define HAVE_INLINE_BUILTIN_FABSL 1
27155 _ACEOF
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27164 $as_echo_n "checking for acosf128... " >&6; }
27165 if ${gcc_cv_math_func_acosf128+:} false; then :
27166 $as_echo_n "(cached) " >&6
27167 else
27168 if test x$gcc_no_link = xyes; then
27169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27172 /* end confdefs.h. */
27174 #ifdef HAVE_COMPLEX_H
27175 #include <complex.h>
27176 #endif
27177 #ifdef HAVE_MATH_H
27178 #include <math.h>
27179 #endif
27181 int (*ptr)() = (int (*)())acosf128;
27184 main ()
27186 return 0;
27189 _ACEOF
27190 if ac_fn_c_try_link "$LINENO"; then :
27191 gcc_cv_math_func_acosf128=yes
27192 else
27193 gcc_cv_math_func_acosf128=no
27195 rm -f core conftest.err conftest.$ac_objext \
27196 conftest$ac_exeext conftest.$ac_ext
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27199 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27200 if test $gcc_cv_math_func_acosf128 = yes; then
27202 cat >>confdefs.h <<_ACEOF
27203 #define HAVE_ACOSF128 1
27204 _ACEOF
27211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27212 $as_echo_n "checking for acoshf128... " >&6; }
27213 if ${gcc_cv_math_func_acoshf128+:} false; then :
27214 $as_echo_n "(cached) " >&6
27215 else
27216 if test x$gcc_no_link = xyes; then
27217 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27220 /* end confdefs.h. */
27222 #ifdef HAVE_COMPLEX_H
27223 #include <complex.h>
27224 #endif
27225 #ifdef HAVE_MATH_H
27226 #include <math.h>
27227 #endif
27229 int (*ptr)() = (int (*)())acoshf128;
27232 main ()
27234 return 0;
27237 _ACEOF
27238 if ac_fn_c_try_link "$LINENO"; then :
27239 gcc_cv_math_func_acoshf128=yes
27240 else
27241 gcc_cv_math_func_acoshf128=no
27243 rm -f core conftest.err conftest.$ac_objext \
27244 conftest$ac_exeext conftest.$ac_ext
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27247 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27248 if test $gcc_cv_math_func_acoshf128 = yes; then
27250 cat >>confdefs.h <<_ACEOF
27251 #define HAVE_ACOSHF128 1
27252 _ACEOF
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27260 $as_echo_n "checking for asinf128... " >&6; }
27261 if ${gcc_cv_math_func_asinf128+:} false; then :
27262 $as_echo_n "(cached) " >&6
27263 else
27264 if test x$gcc_no_link = xyes; then
27265 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27268 /* end confdefs.h. */
27270 #ifdef HAVE_COMPLEX_H
27271 #include <complex.h>
27272 #endif
27273 #ifdef HAVE_MATH_H
27274 #include <math.h>
27275 #endif
27277 int (*ptr)() = (int (*)())asinf128;
27280 main ()
27282 return 0;
27285 _ACEOF
27286 if ac_fn_c_try_link "$LINENO"; then :
27287 gcc_cv_math_func_asinf128=yes
27288 else
27289 gcc_cv_math_func_asinf128=no
27291 rm -f core conftest.err conftest.$ac_objext \
27292 conftest$ac_exeext conftest.$ac_ext
27294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27295 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27296 if test $gcc_cv_math_func_asinf128 = yes; then
27298 cat >>confdefs.h <<_ACEOF
27299 #define HAVE_ASINF128 1
27300 _ACEOF
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27308 $as_echo_n "checking for asinhf128... " >&6; }
27309 if ${gcc_cv_math_func_asinhf128+:} false; then :
27310 $as_echo_n "(cached) " >&6
27311 else
27312 if test x$gcc_no_link = xyes; then
27313 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27316 /* end confdefs.h. */
27318 #ifdef HAVE_COMPLEX_H
27319 #include <complex.h>
27320 #endif
27321 #ifdef HAVE_MATH_H
27322 #include <math.h>
27323 #endif
27325 int (*ptr)() = (int (*)())asinhf128;
27328 main ()
27330 return 0;
27333 _ACEOF
27334 if ac_fn_c_try_link "$LINENO"; then :
27335 gcc_cv_math_func_asinhf128=yes
27336 else
27337 gcc_cv_math_func_asinhf128=no
27339 rm -f core conftest.err conftest.$ac_objext \
27340 conftest$ac_exeext conftest.$ac_ext
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27343 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27344 if test $gcc_cv_math_func_asinhf128 = yes; then
27346 cat >>confdefs.h <<_ACEOF
27347 #define HAVE_ASINHF128 1
27348 _ACEOF
27355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27356 $as_echo_n "checking for atan2f128... " >&6; }
27357 if ${gcc_cv_math_func_atan2f128+:} false; then :
27358 $as_echo_n "(cached) " >&6
27359 else
27360 if test x$gcc_no_link = xyes; then
27361 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27364 /* end confdefs.h. */
27366 #ifdef HAVE_COMPLEX_H
27367 #include <complex.h>
27368 #endif
27369 #ifdef HAVE_MATH_H
27370 #include <math.h>
27371 #endif
27373 int (*ptr)() = (int (*)())atan2f128;
27376 main ()
27378 return 0;
27381 _ACEOF
27382 if ac_fn_c_try_link "$LINENO"; then :
27383 gcc_cv_math_func_atan2f128=yes
27384 else
27385 gcc_cv_math_func_atan2f128=no
27387 rm -f core conftest.err conftest.$ac_objext \
27388 conftest$ac_exeext conftest.$ac_ext
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27391 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27392 if test $gcc_cv_math_func_atan2f128 = yes; then
27394 cat >>confdefs.h <<_ACEOF
27395 #define HAVE_ATAN2F128 1
27396 _ACEOF
27403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27404 $as_echo_n "checking for atanf128... " >&6; }
27405 if ${gcc_cv_math_func_atanf128+:} false; then :
27406 $as_echo_n "(cached) " >&6
27407 else
27408 if test x$gcc_no_link = xyes; then
27409 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27412 /* end confdefs.h. */
27414 #ifdef HAVE_COMPLEX_H
27415 #include <complex.h>
27416 #endif
27417 #ifdef HAVE_MATH_H
27418 #include <math.h>
27419 #endif
27421 int (*ptr)() = (int (*)())atanf128;
27424 main ()
27426 return 0;
27429 _ACEOF
27430 if ac_fn_c_try_link "$LINENO"; then :
27431 gcc_cv_math_func_atanf128=yes
27432 else
27433 gcc_cv_math_func_atanf128=no
27435 rm -f core conftest.err conftest.$ac_objext \
27436 conftest$ac_exeext conftest.$ac_ext
27438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27439 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27440 if test $gcc_cv_math_func_atanf128 = yes; then
27442 cat >>confdefs.h <<_ACEOF
27443 #define HAVE_ATANF128 1
27444 _ACEOF
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27452 $as_echo_n "checking for atanhf128... " >&6; }
27453 if ${gcc_cv_math_func_atanhf128+:} false; then :
27454 $as_echo_n "(cached) " >&6
27455 else
27456 if test x$gcc_no_link = xyes; then
27457 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27460 /* end confdefs.h. */
27462 #ifdef HAVE_COMPLEX_H
27463 #include <complex.h>
27464 #endif
27465 #ifdef HAVE_MATH_H
27466 #include <math.h>
27467 #endif
27469 int (*ptr)() = (int (*)())atanhf128;
27472 main ()
27474 return 0;
27477 _ACEOF
27478 if ac_fn_c_try_link "$LINENO"; then :
27479 gcc_cv_math_func_atanhf128=yes
27480 else
27481 gcc_cv_math_func_atanhf128=no
27483 rm -f core conftest.err conftest.$ac_objext \
27484 conftest$ac_exeext conftest.$ac_ext
27486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27487 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27488 if test $gcc_cv_math_func_atanhf128 = yes; then
27490 cat >>confdefs.h <<_ACEOF
27491 #define HAVE_ATANHF128 1
27492 _ACEOF
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27500 $as_echo_n "checking for cargf128... " >&6; }
27501 if ${gcc_cv_math_func_cargf128+:} false; then :
27502 $as_echo_n "(cached) " >&6
27503 else
27504 if test x$gcc_no_link = xyes; then
27505 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27508 /* end confdefs.h. */
27510 #ifdef HAVE_COMPLEX_H
27511 #include <complex.h>
27512 #endif
27513 #ifdef HAVE_MATH_H
27514 #include <math.h>
27515 #endif
27517 int (*ptr)() = (int (*)())cargf128;
27520 main ()
27522 return 0;
27525 _ACEOF
27526 if ac_fn_c_try_link "$LINENO"; then :
27527 gcc_cv_math_func_cargf128=yes
27528 else
27529 gcc_cv_math_func_cargf128=no
27531 rm -f core conftest.err conftest.$ac_objext \
27532 conftest$ac_exeext conftest.$ac_ext
27534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27535 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27536 if test $gcc_cv_math_func_cargf128 = yes; then
27538 cat >>confdefs.h <<_ACEOF
27539 #define HAVE_CARGF128 1
27540 _ACEOF
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27548 $as_echo_n "checking for ceilf128... " >&6; }
27549 if ${gcc_cv_math_func_ceilf128+:} false; then :
27550 $as_echo_n "(cached) " >&6
27551 else
27552 if test x$gcc_no_link = xyes; then
27553 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27558 #ifdef HAVE_COMPLEX_H
27559 #include <complex.h>
27560 #endif
27561 #ifdef HAVE_MATH_H
27562 #include <math.h>
27563 #endif
27565 int (*ptr)() = (int (*)())ceilf128;
27568 main ()
27570 return 0;
27573 _ACEOF
27574 if ac_fn_c_try_link "$LINENO"; then :
27575 gcc_cv_math_func_ceilf128=yes
27576 else
27577 gcc_cv_math_func_ceilf128=no
27579 rm -f core conftest.err conftest.$ac_objext \
27580 conftest$ac_exeext conftest.$ac_ext
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27583 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27584 if test $gcc_cv_math_func_ceilf128 = yes; then
27586 cat >>confdefs.h <<_ACEOF
27587 #define HAVE_CEILF128 1
27588 _ACEOF
27595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27596 $as_echo_n "checking for copysignf128... " >&6; }
27597 if ${gcc_cv_math_func_copysignf128+:} false; then :
27598 $as_echo_n "(cached) " >&6
27599 else
27600 if test x$gcc_no_link = xyes; then
27601 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27604 /* end confdefs.h. */
27606 #ifdef HAVE_COMPLEX_H
27607 #include <complex.h>
27608 #endif
27609 #ifdef HAVE_MATH_H
27610 #include <math.h>
27611 #endif
27613 int (*ptr)() = (int (*)())copysignf128;
27616 main ()
27618 return 0;
27621 _ACEOF
27622 if ac_fn_c_try_link "$LINENO"; then :
27623 gcc_cv_math_func_copysignf128=yes
27624 else
27625 gcc_cv_math_func_copysignf128=no
27627 rm -f core conftest.err conftest.$ac_objext \
27628 conftest$ac_exeext conftest.$ac_ext
27630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27631 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27632 if test $gcc_cv_math_func_copysignf128 = yes; then
27634 cat >>confdefs.h <<_ACEOF
27635 #define HAVE_COPYSIGNF128 1
27636 _ACEOF
27643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27644 $as_echo_n "checking for cosf128... " >&6; }
27645 if ${gcc_cv_math_func_cosf128+:} false; then :
27646 $as_echo_n "(cached) " >&6
27647 else
27648 if test x$gcc_no_link = xyes; then
27649 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27652 /* end confdefs.h. */
27654 #ifdef HAVE_COMPLEX_H
27655 #include <complex.h>
27656 #endif
27657 #ifdef HAVE_MATH_H
27658 #include <math.h>
27659 #endif
27661 int (*ptr)() = (int (*)())cosf128;
27664 main ()
27666 return 0;
27669 _ACEOF
27670 if ac_fn_c_try_link "$LINENO"; then :
27671 gcc_cv_math_func_cosf128=yes
27672 else
27673 gcc_cv_math_func_cosf128=no
27675 rm -f core conftest.err conftest.$ac_objext \
27676 conftest$ac_exeext conftest.$ac_ext
27678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27679 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27680 if test $gcc_cv_math_func_cosf128 = yes; then
27682 cat >>confdefs.h <<_ACEOF
27683 #define HAVE_COSF128 1
27684 _ACEOF
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27692 $as_echo_n "checking for ccosf128... " >&6; }
27693 if ${gcc_cv_math_func_ccosf128+:} false; then :
27694 $as_echo_n "(cached) " >&6
27695 else
27696 if test x$gcc_no_link = xyes; then
27697 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27700 /* end confdefs.h. */
27702 #ifdef HAVE_COMPLEX_H
27703 #include <complex.h>
27704 #endif
27705 #ifdef HAVE_MATH_H
27706 #include <math.h>
27707 #endif
27709 int (*ptr)() = (int (*)())ccosf128;
27712 main ()
27714 return 0;
27717 _ACEOF
27718 if ac_fn_c_try_link "$LINENO"; then :
27719 gcc_cv_math_func_ccosf128=yes
27720 else
27721 gcc_cv_math_func_ccosf128=no
27723 rm -f core conftest.err conftest.$ac_objext \
27724 conftest$ac_exeext conftest.$ac_ext
27726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27727 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27728 if test $gcc_cv_math_func_ccosf128 = yes; then
27730 cat >>confdefs.h <<_ACEOF
27731 #define HAVE_CCOSF128 1
27732 _ACEOF
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27740 $as_echo_n "checking for coshf128... " >&6; }
27741 if ${gcc_cv_math_func_coshf128+:} false; then :
27742 $as_echo_n "(cached) " >&6
27743 else
27744 if test x$gcc_no_link = xyes; then
27745 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27748 /* end confdefs.h. */
27750 #ifdef HAVE_COMPLEX_H
27751 #include <complex.h>
27752 #endif
27753 #ifdef HAVE_MATH_H
27754 #include <math.h>
27755 #endif
27757 int (*ptr)() = (int (*)())coshf128;
27760 main ()
27762 return 0;
27765 _ACEOF
27766 if ac_fn_c_try_link "$LINENO"; then :
27767 gcc_cv_math_func_coshf128=yes
27768 else
27769 gcc_cv_math_func_coshf128=no
27771 rm -f core conftest.err conftest.$ac_objext \
27772 conftest$ac_exeext conftest.$ac_ext
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27775 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27776 if test $gcc_cv_math_func_coshf128 = yes; then
27778 cat >>confdefs.h <<_ACEOF
27779 #define HAVE_COSHF128 1
27780 _ACEOF
27787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27788 $as_echo_n "checking for ccoshf128... " >&6; }
27789 if ${gcc_cv_math_func_ccoshf128+:} false; then :
27790 $as_echo_n "(cached) " >&6
27791 else
27792 if test x$gcc_no_link = xyes; then
27793 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27796 /* end confdefs.h. */
27798 #ifdef HAVE_COMPLEX_H
27799 #include <complex.h>
27800 #endif
27801 #ifdef HAVE_MATH_H
27802 #include <math.h>
27803 #endif
27805 int (*ptr)() = (int (*)())ccoshf128;
27808 main ()
27810 return 0;
27813 _ACEOF
27814 if ac_fn_c_try_link "$LINENO"; then :
27815 gcc_cv_math_func_ccoshf128=yes
27816 else
27817 gcc_cv_math_func_ccoshf128=no
27819 rm -f core conftest.err conftest.$ac_objext \
27820 conftest$ac_exeext conftest.$ac_ext
27822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27823 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27824 if test $gcc_cv_math_func_ccoshf128 = yes; then
27826 cat >>confdefs.h <<_ACEOF
27827 #define HAVE_CCOSHF128 1
27828 _ACEOF
27835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27836 $as_echo_n "checking for expf128... " >&6; }
27837 if ${gcc_cv_math_func_expf128+:} false; then :
27838 $as_echo_n "(cached) " >&6
27839 else
27840 if test x$gcc_no_link = xyes; then
27841 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27844 /* end confdefs.h. */
27846 #ifdef HAVE_COMPLEX_H
27847 #include <complex.h>
27848 #endif
27849 #ifdef HAVE_MATH_H
27850 #include <math.h>
27851 #endif
27853 int (*ptr)() = (int (*)())expf128;
27856 main ()
27858 return 0;
27861 _ACEOF
27862 if ac_fn_c_try_link "$LINENO"; then :
27863 gcc_cv_math_func_expf128=yes
27864 else
27865 gcc_cv_math_func_expf128=no
27867 rm -f core conftest.err conftest.$ac_objext \
27868 conftest$ac_exeext conftest.$ac_ext
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27871 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27872 if test $gcc_cv_math_func_expf128 = yes; then
27874 cat >>confdefs.h <<_ACEOF
27875 #define HAVE_EXPF128 1
27876 _ACEOF
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27884 $as_echo_n "checking for cexpf128... " >&6; }
27885 if ${gcc_cv_math_func_cexpf128+:} false; then :
27886 $as_echo_n "(cached) " >&6
27887 else
27888 if test x$gcc_no_link = xyes; then
27889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27892 /* end confdefs.h. */
27894 #ifdef HAVE_COMPLEX_H
27895 #include <complex.h>
27896 #endif
27897 #ifdef HAVE_MATH_H
27898 #include <math.h>
27899 #endif
27901 int (*ptr)() = (int (*)())cexpf128;
27904 main ()
27906 return 0;
27909 _ACEOF
27910 if ac_fn_c_try_link "$LINENO"; then :
27911 gcc_cv_math_func_cexpf128=yes
27912 else
27913 gcc_cv_math_func_cexpf128=no
27915 rm -f core conftest.err conftest.$ac_objext \
27916 conftest$ac_exeext conftest.$ac_ext
27918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27919 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27920 if test $gcc_cv_math_func_cexpf128 = yes; then
27922 cat >>confdefs.h <<_ACEOF
27923 #define HAVE_CEXPF128 1
27924 _ACEOF
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27932 $as_echo_n "checking for fabsf128... " >&6; }
27933 if ${gcc_cv_math_func_fabsf128+:} false; then :
27934 $as_echo_n "(cached) " >&6
27935 else
27936 if test x$gcc_no_link = xyes; then
27937 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27940 /* end confdefs.h. */
27942 #ifdef HAVE_COMPLEX_H
27943 #include <complex.h>
27944 #endif
27945 #ifdef HAVE_MATH_H
27946 #include <math.h>
27947 #endif
27949 int (*ptr)() = (int (*)())fabsf128;
27952 main ()
27954 return 0;
27957 _ACEOF
27958 if ac_fn_c_try_link "$LINENO"; then :
27959 gcc_cv_math_func_fabsf128=yes
27960 else
27961 gcc_cv_math_func_fabsf128=no
27963 rm -f core conftest.err conftest.$ac_objext \
27964 conftest$ac_exeext conftest.$ac_ext
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27967 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27968 if test $gcc_cv_math_func_fabsf128 = yes; then
27970 cat >>confdefs.h <<_ACEOF
27971 #define HAVE_FABSF128 1
27972 _ACEOF
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27980 $as_echo_n "checking for cabsf128... " >&6; }
27981 if ${gcc_cv_math_func_cabsf128+:} false; then :
27982 $as_echo_n "(cached) " >&6
27983 else
27984 if test x$gcc_no_link = xyes; then
27985 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27988 /* end confdefs.h. */
27990 #ifdef HAVE_COMPLEX_H
27991 #include <complex.h>
27992 #endif
27993 #ifdef HAVE_MATH_H
27994 #include <math.h>
27995 #endif
27997 int (*ptr)() = (int (*)())cabsf128;
28000 main ()
28002 return 0;
28005 _ACEOF
28006 if ac_fn_c_try_link "$LINENO"; then :
28007 gcc_cv_math_func_cabsf128=yes
28008 else
28009 gcc_cv_math_func_cabsf128=no
28011 rm -f core conftest.err conftest.$ac_objext \
28012 conftest$ac_exeext conftest.$ac_ext
28014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
28015 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
28016 if test $gcc_cv_math_func_cabsf128 = yes; then
28018 cat >>confdefs.h <<_ACEOF
28019 #define HAVE_CABSF128 1
28020 _ACEOF
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
28028 $as_echo_n "checking for floorf128... " >&6; }
28029 if ${gcc_cv_math_func_floorf128+:} false; then :
28030 $as_echo_n "(cached) " >&6
28031 else
28032 if test x$gcc_no_link = xyes; then
28033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28036 /* end confdefs.h. */
28038 #ifdef HAVE_COMPLEX_H
28039 #include <complex.h>
28040 #endif
28041 #ifdef HAVE_MATH_H
28042 #include <math.h>
28043 #endif
28045 int (*ptr)() = (int (*)())floorf128;
28048 main ()
28050 return 0;
28053 _ACEOF
28054 if ac_fn_c_try_link "$LINENO"; then :
28055 gcc_cv_math_func_floorf128=yes
28056 else
28057 gcc_cv_math_func_floorf128=no
28059 rm -f core conftest.err conftest.$ac_objext \
28060 conftest$ac_exeext conftest.$ac_ext
28062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
28063 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
28064 if test $gcc_cv_math_func_floorf128 = yes; then
28066 cat >>confdefs.h <<_ACEOF
28067 #define HAVE_FLOORF128 1
28068 _ACEOF
28075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
28076 $as_echo_n "checking for fmaf128... " >&6; }
28077 if ${gcc_cv_math_func_fmaf128+:} false; then :
28078 $as_echo_n "(cached) " >&6
28079 else
28080 if test x$gcc_no_link = xyes; then
28081 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28084 /* end confdefs.h. */
28086 #ifdef HAVE_COMPLEX_H
28087 #include <complex.h>
28088 #endif
28089 #ifdef HAVE_MATH_H
28090 #include <math.h>
28091 #endif
28093 int (*ptr)() = (int (*)())fmaf128;
28096 main ()
28098 return 0;
28101 _ACEOF
28102 if ac_fn_c_try_link "$LINENO"; then :
28103 gcc_cv_math_func_fmaf128=yes
28104 else
28105 gcc_cv_math_func_fmaf128=no
28107 rm -f core conftest.err conftest.$ac_objext \
28108 conftest$ac_exeext conftest.$ac_ext
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
28111 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
28112 if test $gcc_cv_math_func_fmaf128 = yes; then
28114 cat >>confdefs.h <<_ACEOF
28115 #define HAVE_FMAF128 1
28116 _ACEOF
28123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28124 $as_echo_n "checking for fmodf128... " >&6; }
28125 if ${gcc_cv_math_func_fmodf128+:} false; then :
28126 $as_echo_n "(cached) " >&6
28127 else
28128 if test x$gcc_no_link = xyes; then
28129 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28132 /* end confdefs.h. */
28134 #ifdef HAVE_COMPLEX_H
28135 #include <complex.h>
28136 #endif
28137 #ifdef HAVE_MATH_H
28138 #include <math.h>
28139 #endif
28141 int (*ptr)() = (int (*)())fmodf128;
28144 main ()
28146 return 0;
28149 _ACEOF
28150 if ac_fn_c_try_link "$LINENO"; then :
28151 gcc_cv_math_func_fmodf128=yes
28152 else
28153 gcc_cv_math_func_fmodf128=no
28155 rm -f core conftest.err conftest.$ac_objext \
28156 conftest$ac_exeext conftest.$ac_ext
28158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28159 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28160 if test $gcc_cv_math_func_fmodf128 = yes; then
28162 cat >>confdefs.h <<_ACEOF
28163 #define HAVE_FMODF128 1
28164 _ACEOF
28171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28172 $as_echo_n "checking for frexpf128... " >&6; }
28173 if ${gcc_cv_math_func_frexpf128+:} false; then :
28174 $as_echo_n "(cached) " >&6
28175 else
28176 if test x$gcc_no_link = xyes; then
28177 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28180 /* end confdefs.h. */
28182 #ifdef HAVE_COMPLEX_H
28183 #include <complex.h>
28184 #endif
28185 #ifdef HAVE_MATH_H
28186 #include <math.h>
28187 #endif
28189 int (*ptr)() = (int (*)())frexpf128;
28192 main ()
28194 return 0;
28197 _ACEOF
28198 if ac_fn_c_try_link "$LINENO"; then :
28199 gcc_cv_math_func_frexpf128=yes
28200 else
28201 gcc_cv_math_func_frexpf128=no
28203 rm -f core conftest.err conftest.$ac_objext \
28204 conftest$ac_exeext conftest.$ac_ext
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28207 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28208 if test $gcc_cv_math_func_frexpf128 = yes; then
28210 cat >>confdefs.h <<_ACEOF
28211 #define HAVE_FREXPF128 1
28212 _ACEOF
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28220 $as_echo_n "checking for hypotf128... " >&6; }
28221 if ${gcc_cv_math_func_hypotf128+:} false; then :
28222 $as_echo_n "(cached) " >&6
28223 else
28224 if test x$gcc_no_link = xyes; then
28225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28228 /* end confdefs.h. */
28230 #ifdef HAVE_COMPLEX_H
28231 #include <complex.h>
28232 #endif
28233 #ifdef HAVE_MATH_H
28234 #include <math.h>
28235 #endif
28237 int (*ptr)() = (int (*)())hypotf128;
28240 main ()
28242 return 0;
28245 _ACEOF
28246 if ac_fn_c_try_link "$LINENO"; then :
28247 gcc_cv_math_func_hypotf128=yes
28248 else
28249 gcc_cv_math_func_hypotf128=no
28251 rm -f core conftest.err conftest.$ac_objext \
28252 conftest$ac_exeext conftest.$ac_ext
28254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28255 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28256 if test $gcc_cv_math_func_hypotf128 = yes; then
28258 cat >>confdefs.h <<_ACEOF
28259 #define HAVE_HYPOTF128 1
28260 _ACEOF
28267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28268 $as_echo_n "checking for ldexpf128... " >&6; }
28269 if ${gcc_cv_math_func_ldexpf128+:} false; then :
28270 $as_echo_n "(cached) " >&6
28271 else
28272 if test x$gcc_no_link = xyes; then
28273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28276 /* end confdefs.h. */
28278 #ifdef HAVE_COMPLEX_H
28279 #include <complex.h>
28280 #endif
28281 #ifdef HAVE_MATH_H
28282 #include <math.h>
28283 #endif
28285 int (*ptr)() = (int (*)())ldexpf128;
28288 main ()
28290 return 0;
28293 _ACEOF
28294 if ac_fn_c_try_link "$LINENO"; then :
28295 gcc_cv_math_func_ldexpf128=yes
28296 else
28297 gcc_cv_math_func_ldexpf128=no
28299 rm -f core conftest.err conftest.$ac_objext \
28300 conftest$ac_exeext conftest.$ac_ext
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28303 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28304 if test $gcc_cv_math_func_ldexpf128 = yes; then
28306 cat >>confdefs.h <<_ACEOF
28307 #define HAVE_LDEXPF128 1
28308 _ACEOF
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28316 $as_echo_n "checking for logf128... " >&6; }
28317 if ${gcc_cv_math_func_logf128+:} false; then :
28318 $as_echo_n "(cached) " >&6
28319 else
28320 if test x$gcc_no_link = xyes; then
28321 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28324 /* end confdefs.h. */
28326 #ifdef HAVE_COMPLEX_H
28327 #include <complex.h>
28328 #endif
28329 #ifdef HAVE_MATH_H
28330 #include <math.h>
28331 #endif
28333 int (*ptr)() = (int (*)())logf128;
28336 main ()
28338 return 0;
28341 _ACEOF
28342 if ac_fn_c_try_link "$LINENO"; then :
28343 gcc_cv_math_func_logf128=yes
28344 else
28345 gcc_cv_math_func_logf128=no
28347 rm -f core conftest.err conftest.$ac_objext \
28348 conftest$ac_exeext conftest.$ac_ext
28350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28351 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28352 if test $gcc_cv_math_func_logf128 = yes; then
28354 cat >>confdefs.h <<_ACEOF
28355 #define HAVE_LOGF128 1
28356 _ACEOF
28363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28364 $as_echo_n "checking for clogf128... " >&6; }
28365 if ${gcc_cv_math_func_clogf128+:} false; then :
28366 $as_echo_n "(cached) " >&6
28367 else
28368 if test x$gcc_no_link = xyes; then
28369 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28372 /* end confdefs.h. */
28374 #ifdef HAVE_COMPLEX_H
28375 #include <complex.h>
28376 #endif
28377 #ifdef HAVE_MATH_H
28378 #include <math.h>
28379 #endif
28381 int (*ptr)() = (int (*)())clogf128;
28384 main ()
28386 return 0;
28389 _ACEOF
28390 if ac_fn_c_try_link "$LINENO"; then :
28391 gcc_cv_math_func_clogf128=yes
28392 else
28393 gcc_cv_math_func_clogf128=no
28395 rm -f core conftest.err conftest.$ac_objext \
28396 conftest$ac_exeext conftest.$ac_ext
28398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28399 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28400 if test $gcc_cv_math_func_clogf128 = yes; then
28402 cat >>confdefs.h <<_ACEOF
28403 #define HAVE_CLOGF128 1
28404 _ACEOF
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28412 $as_echo_n "checking for log10f128... " >&6; }
28413 if ${gcc_cv_math_func_log10f128+:} false; then :
28414 $as_echo_n "(cached) " >&6
28415 else
28416 if test x$gcc_no_link = xyes; then
28417 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28420 /* end confdefs.h. */
28422 #ifdef HAVE_COMPLEX_H
28423 #include <complex.h>
28424 #endif
28425 #ifdef HAVE_MATH_H
28426 #include <math.h>
28427 #endif
28429 int (*ptr)() = (int (*)())log10f128;
28432 main ()
28434 return 0;
28437 _ACEOF
28438 if ac_fn_c_try_link "$LINENO"; then :
28439 gcc_cv_math_func_log10f128=yes
28440 else
28441 gcc_cv_math_func_log10f128=no
28443 rm -f core conftest.err conftest.$ac_objext \
28444 conftest$ac_exeext conftest.$ac_ext
28446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28447 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28448 if test $gcc_cv_math_func_log10f128 = yes; then
28450 cat >>confdefs.h <<_ACEOF
28451 #define HAVE_LOG10F128 1
28452 _ACEOF
28459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28460 $as_echo_n "checking for clog10f128... " >&6; }
28461 if ${gcc_cv_math_func_clog10f128+:} false; then :
28462 $as_echo_n "(cached) " >&6
28463 else
28464 if test x$gcc_no_link = xyes; then
28465 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28468 /* end confdefs.h. */
28470 #ifdef HAVE_COMPLEX_H
28471 #include <complex.h>
28472 #endif
28473 #ifdef HAVE_MATH_H
28474 #include <math.h>
28475 #endif
28477 int (*ptr)() = (int (*)())clog10f128;
28480 main ()
28482 return 0;
28485 _ACEOF
28486 if ac_fn_c_try_link "$LINENO"; then :
28487 gcc_cv_math_func_clog10f128=yes
28488 else
28489 gcc_cv_math_func_clog10f128=no
28491 rm -f core conftest.err conftest.$ac_objext \
28492 conftest$ac_exeext conftest.$ac_ext
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28495 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28496 if test $gcc_cv_math_func_clog10f128 = yes; then
28498 cat >>confdefs.h <<_ACEOF
28499 #define HAVE_CLOG10F128 1
28500 _ACEOF
28507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28508 $as_echo_n "checking for nextafterf128... " >&6; }
28509 if ${gcc_cv_math_func_nextafterf128+:} false; then :
28510 $as_echo_n "(cached) " >&6
28511 else
28512 if test x$gcc_no_link = xyes; then
28513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28516 /* end confdefs.h. */
28518 #ifdef HAVE_COMPLEX_H
28519 #include <complex.h>
28520 #endif
28521 #ifdef HAVE_MATH_H
28522 #include <math.h>
28523 #endif
28525 int (*ptr)() = (int (*)())nextafterf128;
28528 main ()
28530 return 0;
28533 _ACEOF
28534 if ac_fn_c_try_link "$LINENO"; then :
28535 gcc_cv_math_func_nextafterf128=yes
28536 else
28537 gcc_cv_math_func_nextafterf128=no
28539 rm -f core conftest.err conftest.$ac_objext \
28540 conftest$ac_exeext conftest.$ac_ext
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28543 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28544 if test $gcc_cv_math_func_nextafterf128 = yes; then
28546 cat >>confdefs.h <<_ACEOF
28547 #define HAVE_NEXTAFTERF128 1
28548 _ACEOF
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28556 $as_echo_n "checking for powf128... " >&6; }
28557 if ${gcc_cv_math_func_powf128+:} false; then :
28558 $as_echo_n "(cached) " >&6
28559 else
28560 if test x$gcc_no_link = xyes; then
28561 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28564 /* end confdefs.h. */
28566 #ifdef HAVE_COMPLEX_H
28567 #include <complex.h>
28568 #endif
28569 #ifdef HAVE_MATH_H
28570 #include <math.h>
28571 #endif
28573 int (*ptr)() = (int (*)())powf128;
28576 main ()
28578 return 0;
28581 _ACEOF
28582 if ac_fn_c_try_link "$LINENO"; then :
28583 gcc_cv_math_func_powf128=yes
28584 else
28585 gcc_cv_math_func_powf128=no
28587 rm -f core conftest.err conftest.$ac_objext \
28588 conftest$ac_exeext conftest.$ac_ext
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28591 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28592 if test $gcc_cv_math_func_powf128 = yes; then
28594 cat >>confdefs.h <<_ACEOF
28595 #define HAVE_POWF128 1
28596 _ACEOF
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28604 $as_echo_n "checking for cpowf128... " >&6; }
28605 if ${gcc_cv_math_func_cpowf128+:} false; then :
28606 $as_echo_n "(cached) " >&6
28607 else
28608 if test x$gcc_no_link = xyes; then
28609 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28612 /* end confdefs.h. */
28614 #ifdef HAVE_COMPLEX_H
28615 #include <complex.h>
28616 #endif
28617 #ifdef HAVE_MATH_H
28618 #include <math.h>
28619 #endif
28621 int (*ptr)() = (int (*)())cpowf128;
28624 main ()
28626 return 0;
28629 _ACEOF
28630 if ac_fn_c_try_link "$LINENO"; then :
28631 gcc_cv_math_func_cpowf128=yes
28632 else
28633 gcc_cv_math_func_cpowf128=no
28635 rm -f core conftest.err conftest.$ac_objext \
28636 conftest$ac_exeext conftest.$ac_ext
28638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28639 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28640 if test $gcc_cv_math_func_cpowf128 = yes; then
28642 cat >>confdefs.h <<_ACEOF
28643 #define HAVE_CPOWF128 1
28644 _ACEOF
28651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28652 $as_echo_n "checking for roundf128... " >&6; }
28653 if ${gcc_cv_math_func_roundf128+:} false; then :
28654 $as_echo_n "(cached) " >&6
28655 else
28656 if test x$gcc_no_link = xyes; then
28657 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28660 /* end confdefs.h. */
28662 #ifdef HAVE_COMPLEX_H
28663 #include <complex.h>
28664 #endif
28665 #ifdef HAVE_MATH_H
28666 #include <math.h>
28667 #endif
28669 int (*ptr)() = (int (*)())roundf128;
28672 main ()
28674 return 0;
28677 _ACEOF
28678 if ac_fn_c_try_link "$LINENO"; then :
28679 gcc_cv_math_func_roundf128=yes
28680 else
28681 gcc_cv_math_func_roundf128=no
28683 rm -f core conftest.err conftest.$ac_objext \
28684 conftest$ac_exeext conftest.$ac_ext
28686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28687 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28688 if test $gcc_cv_math_func_roundf128 = yes; then
28690 cat >>confdefs.h <<_ACEOF
28691 #define HAVE_ROUNDF128 1
28692 _ACEOF
28699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28700 $as_echo_n "checking for lroundf128... " >&6; }
28701 if ${gcc_cv_math_func_lroundf128+:} false; then :
28702 $as_echo_n "(cached) " >&6
28703 else
28704 if test x$gcc_no_link = xyes; then
28705 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28708 /* end confdefs.h. */
28710 #ifdef HAVE_COMPLEX_H
28711 #include <complex.h>
28712 #endif
28713 #ifdef HAVE_MATH_H
28714 #include <math.h>
28715 #endif
28717 int (*ptr)() = (int (*)())lroundf128;
28720 main ()
28722 return 0;
28725 _ACEOF
28726 if ac_fn_c_try_link "$LINENO"; then :
28727 gcc_cv_math_func_lroundf128=yes
28728 else
28729 gcc_cv_math_func_lroundf128=no
28731 rm -f core conftest.err conftest.$ac_objext \
28732 conftest$ac_exeext conftest.$ac_ext
28734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28735 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28736 if test $gcc_cv_math_func_lroundf128 = yes; then
28738 cat >>confdefs.h <<_ACEOF
28739 #define HAVE_LROUNDF128 1
28740 _ACEOF
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28748 $as_echo_n "checking for llroundf128... " >&6; }
28749 if ${gcc_cv_math_func_llroundf128+:} false; then :
28750 $as_echo_n "(cached) " >&6
28751 else
28752 if test x$gcc_no_link = xyes; then
28753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28756 /* end confdefs.h. */
28758 #ifdef HAVE_COMPLEX_H
28759 #include <complex.h>
28760 #endif
28761 #ifdef HAVE_MATH_H
28762 #include <math.h>
28763 #endif
28765 int (*ptr)() = (int (*)())llroundf128;
28768 main ()
28770 return 0;
28773 _ACEOF
28774 if ac_fn_c_try_link "$LINENO"; then :
28775 gcc_cv_math_func_llroundf128=yes
28776 else
28777 gcc_cv_math_func_llroundf128=no
28779 rm -f core conftest.err conftest.$ac_objext \
28780 conftest$ac_exeext conftest.$ac_ext
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28783 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28784 if test $gcc_cv_math_func_llroundf128 = yes; then
28786 cat >>confdefs.h <<_ACEOF
28787 #define HAVE_LLROUNDF128 1
28788 _ACEOF
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28796 $as_echo_n "checking for scalbnf128... " >&6; }
28797 if ${gcc_cv_math_func_scalbnf128+:} false; then :
28798 $as_echo_n "(cached) " >&6
28799 else
28800 if test x$gcc_no_link = xyes; then
28801 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28804 /* end confdefs.h. */
28806 #ifdef HAVE_COMPLEX_H
28807 #include <complex.h>
28808 #endif
28809 #ifdef HAVE_MATH_H
28810 #include <math.h>
28811 #endif
28813 int (*ptr)() = (int (*)())scalbnf128;
28816 main ()
28818 return 0;
28821 _ACEOF
28822 if ac_fn_c_try_link "$LINENO"; then :
28823 gcc_cv_math_func_scalbnf128=yes
28824 else
28825 gcc_cv_math_func_scalbnf128=no
28827 rm -f core conftest.err conftest.$ac_objext \
28828 conftest$ac_exeext conftest.$ac_ext
28830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28831 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28832 if test $gcc_cv_math_func_scalbnf128 = yes; then
28834 cat >>confdefs.h <<_ACEOF
28835 #define HAVE_SCALBNF128 1
28836 _ACEOF
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28844 $as_echo_n "checking for sinf128... " >&6; }
28845 if ${gcc_cv_math_func_sinf128+:} false; then :
28846 $as_echo_n "(cached) " >&6
28847 else
28848 if test x$gcc_no_link = xyes; then
28849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28852 /* end confdefs.h. */
28854 #ifdef HAVE_COMPLEX_H
28855 #include <complex.h>
28856 #endif
28857 #ifdef HAVE_MATH_H
28858 #include <math.h>
28859 #endif
28861 int (*ptr)() = (int (*)())sinf128;
28864 main ()
28866 return 0;
28869 _ACEOF
28870 if ac_fn_c_try_link "$LINENO"; then :
28871 gcc_cv_math_func_sinf128=yes
28872 else
28873 gcc_cv_math_func_sinf128=no
28875 rm -f core conftest.err conftest.$ac_objext \
28876 conftest$ac_exeext conftest.$ac_ext
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28879 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28880 if test $gcc_cv_math_func_sinf128 = yes; then
28882 cat >>confdefs.h <<_ACEOF
28883 #define HAVE_SINF128 1
28884 _ACEOF
28891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28892 $as_echo_n "checking for csinf128... " >&6; }
28893 if ${gcc_cv_math_func_csinf128+:} false; then :
28894 $as_echo_n "(cached) " >&6
28895 else
28896 if test x$gcc_no_link = xyes; then
28897 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28900 /* end confdefs.h. */
28902 #ifdef HAVE_COMPLEX_H
28903 #include <complex.h>
28904 #endif
28905 #ifdef HAVE_MATH_H
28906 #include <math.h>
28907 #endif
28909 int (*ptr)() = (int (*)())csinf128;
28912 main ()
28914 return 0;
28917 _ACEOF
28918 if ac_fn_c_try_link "$LINENO"; then :
28919 gcc_cv_math_func_csinf128=yes
28920 else
28921 gcc_cv_math_func_csinf128=no
28923 rm -f core conftest.err conftest.$ac_objext \
28924 conftest$ac_exeext conftest.$ac_ext
28926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28927 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28928 if test $gcc_cv_math_func_csinf128 = yes; then
28930 cat >>confdefs.h <<_ACEOF
28931 #define HAVE_CSINF128 1
28932 _ACEOF
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28940 $as_echo_n "checking for sinhf128... " >&6; }
28941 if ${gcc_cv_math_func_sinhf128+:} false; then :
28942 $as_echo_n "(cached) " >&6
28943 else
28944 if test x$gcc_no_link = xyes; then
28945 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28948 /* end confdefs.h. */
28950 #ifdef HAVE_COMPLEX_H
28951 #include <complex.h>
28952 #endif
28953 #ifdef HAVE_MATH_H
28954 #include <math.h>
28955 #endif
28957 int (*ptr)() = (int (*)())sinhf128;
28960 main ()
28962 return 0;
28965 _ACEOF
28966 if ac_fn_c_try_link "$LINENO"; then :
28967 gcc_cv_math_func_sinhf128=yes
28968 else
28969 gcc_cv_math_func_sinhf128=no
28971 rm -f core conftest.err conftest.$ac_objext \
28972 conftest$ac_exeext conftest.$ac_ext
28974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28975 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28976 if test $gcc_cv_math_func_sinhf128 = yes; then
28978 cat >>confdefs.h <<_ACEOF
28979 #define HAVE_SINHF128 1
28980 _ACEOF
28987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28988 $as_echo_n "checking for csinhf128... " >&6; }
28989 if ${gcc_cv_math_func_csinhf128+:} false; then :
28990 $as_echo_n "(cached) " >&6
28991 else
28992 if test x$gcc_no_link = xyes; then
28993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28996 /* end confdefs.h. */
28998 #ifdef HAVE_COMPLEX_H
28999 #include <complex.h>
29000 #endif
29001 #ifdef HAVE_MATH_H
29002 #include <math.h>
29003 #endif
29005 int (*ptr)() = (int (*)())csinhf128;
29008 main ()
29010 return 0;
29013 _ACEOF
29014 if ac_fn_c_try_link "$LINENO"; then :
29015 gcc_cv_math_func_csinhf128=yes
29016 else
29017 gcc_cv_math_func_csinhf128=no
29019 rm -f core conftest.err conftest.$ac_objext \
29020 conftest$ac_exeext conftest.$ac_ext
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
29023 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
29024 if test $gcc_cv_math_func_csinhf128 = yes; then
29026 cat >>confdefs.h <<_ACEOF
29027 #define HAVE_CSINHF128 1
29028 _ACEOF
29035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
29036 $as_echo_n "checking for sqrtf128... " >&6; }
29037 if ${gcc_cv_math_func_sqrtf128+:} false; then :
29038 $as_echo_n "(cached) " >&6
29039 else
29040 if test x$gcc_no_link = xyes; then
29041 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29044 /* end confdefs.h. */
29046 #ifdef HAVE_COMPLEX_H
29047 #include <complex.h>
29048 #endif
29049 #ifdef HAVE_MATH_H
29050 #include <math.h>
29051 #endif
29053 int (*ptr)() = (int (*)())sqrtf128;
29056 main ()
29058 return 0;
29061 _ACEOF
29062 if ac_fn_c_try_link "$LINENO"; then :
29063 gcc_cv_math_func_sqrtf128=yes
29064 else
29065 gcc_cv_math_func_sqrtf128=no
29067 rm -f core conftest.err conftest.$ac_objext \
29068 conftest$ac_exeext conftest.$ac_ext
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
29071 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
29072 if test $gcc_cv_math_func_sqrtf128 = yes; then
29074 cat >>confdefs.h <<_ACEOF
29075 #define HAVE_SQRTF128 1
29076 _ACEOF
29083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
29084 $as_echo_n "checking for csqrtf128... " >&6; }
29085 if ${gcc_cv_math_func_csqrtf128+:} false; then :
29086 $as_echo_n "(cached) " >&6
29087 else
29088 if test x$gcc_no_link = xyes; then
29089 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29092 /* end confdefs.h. */
29094 #ifdef HAVE_COMPLEX_H
29095 #include <complex.h>
29096 #endif
29097 #ifdef HAVE_MATH_H
29098 #include <math.h>
29099 #endif
29101 int (*ptr)() = (int (*)())csqrtf128;
29104 main ()
29106 return 0;
29109 _ACEOF
29110 if ac_fn_c_try_link "$LINENO"; then :
29111 gcc_cv_math_func_csqrtf128=yes
29112 else
29113 gcc_cv_math_func_csqrtf128=no
29115 rm -f core conftest.err conftest.$ac_objext \
29116 conftest$ac_exeext conftest.$ac_ext
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29119 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29120 if test $gcc_cv_math_func_csqrtf128 = yes; then
29122 cat >>confdefs.h <<_ACEOF
29123 #define HAVE_CSQRTF128 1
29124 _ACEOF
29131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29132 $as_echo_n "checking for tanf128... " >&6; }
29133 if ${gcc_cv_math_func_tanf128+:} false; then :
29134 $as_echo_n "(cached) " >&6
29135 else
29136 if test x$gcc_no_link = xyes; then
29137 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29140 /* end confdefs.h. */
29142 #ifdef HAVE_COMPLEX_H
29143 #include <complex.h>
29144 #endif
29145 #ifdef HAVE_MATH_H
29146 #include <math.h>
29147 #endif
29149 int (*ptr)() = (int (*)())tanf128;
29152 main ()
29154 return 0;
29157 _ACEOF
29158 if ac_fn_c_try_link "$LINENO"; then :
29159 gcc_cv_math_func_tanf128=yes
29160 else
29161 gcc_cv_math_func_tanf128=no
29163 rm -f core conftest.err conftest.$ac_objext \
29164 conftest$ac_exeext conftest.$ac_ext
29166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29167 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29168 if test $gcc_cv_math_func_tanf128 = yes; then
29170 cat >>confdefs.h <<_ACEOF
29171 #define HAVE_TANF128 1
29172 _ACEOF
29179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29180 $as_echo_n "checking for ctanf128... " >&6; }
29181 if ${gcc_cv_math_func_ctanf128+:} false; then :
29182 $as_echo_n "(cached) " >&6
29183 else
29184 if test x$gcc_no_link = xyes; then
29185 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29188 /* end confdefs.h. */
29190 #ifdef HAVE_COMPLEX_H
29191 #include <complex.h>
29192 #endif
29193 #ifdef HAVE_MATH_H
29194 #include <math.h>
29195 #endif
29197 int (*ptr)() = (int (*)())ctanf128;
29200 main ()
29202 return 0;
29205 _ACEOF
29206 if ac_fn_c_try_link "$LINENO"; then :
29207 gcc_cv_math_func_ctanf128=yes
29208 else
29209 gcc_cv_math_func_ctanf128=no
29211 rm -f core conftest.err conftest.$ac_objext \
29212 conftest$ac_exeext conftest.$ac_ext
29214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29215 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29216 if test $gcc_cv_math_func_ctanf128 = yes; then
29218 cat >>confdefs.h <<_ACEOF
29219 #define HAVE_CTANF128 1
29220 _ACEOF
29227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29228 $as_echo_n "checking for tanhf128... " >&6; }
29229 if ${gcc_cv_math_func_tanhf128+:} false; then :
29230 $as_echo_n "(cached) " >&6
29231 else
29232 if test x$gcc_no_link = xyes; then
29233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29236 /* end confdefs.h. */
29238 #ifdef HAVE_COMPLEX_H
29239 #include <complex.h>
29240 #endif
29241 #ifdef HAVE_MATH_H
29242 #include <math.h>
29243 #endif
29245 int (*ptr)() = (int (*)())tanhf128;
29248 main ()
29250 return 0;
29253 _ACEOF
29254 if ac_fn_c_try_link "$LINENO"; then :
29255 gcc_cv_math_func_tanhf128=yes
29256 else
29257 gcc_cv_math_func_tanhf128=no
29259 rm -f core conftest.err conftest.$ac_objext \
29260 conftest$ac_exeext conftest.$ac_ext
29262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29263 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29264 if test $gcc_cv_math_func_tanhf128 = yes; then
29266 cat >>confdefs.h <<_ACEOF
29267 #define HAVE_TANHF128 1
29268 _ACEOF
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29276 $as_echo_n "checking for ctanhf128... " >&6; }
29277 if ${gcc_cv_math_func_ctanhf128+:} false; then :
29278 $as_echo_n "(cached) " >&6
29279 else
29280 if test x$gcc_no_link = xyes; then
29281 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29284 /* end confdefs.h. */
29286 #ifdef HAVE_COMPLEX_H
29287 #include <complex.h>
29288 #endif
29289 #ifdef HAVE_MATH_H
29290 #include <math.h>
29291 #endif
29293 int (*ptr)() = (int (*)())ctanhf128;
29296 main ()
29298 return 0;
29301 _ACEOF
29302 if ac_fn_c_try_link "$LINENO"; then :
29303 gcc_cv_math_func_ctanhf128=yes
29304 else
29305 gcc_cv_math_func_ctanhf128=no
29307 rm -f core conftest.err conftest.$ac_objext \
29308 conftest$ac_exeext conftest.$ac_ext
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29311 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29312 if test $gcc_cv_math_func_ctanhf128 = yes; then
29314 cat >>confdefs.h <<_ACEOF
29315 #define HAVE_CTANHF128 1
29316 _ACEOF
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29324 $as_echo_n "checking for truncf128... " >&6; }
29325 if ${gcc_cv_math_func_truncf128+:} false; then :
29326 $as_echo_n "(cached) " >&6
29327 else
29328 if test x$gcc_no_link = xyes; then
29329 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29332 /* end confdefs.h. */
29334 #ifdef HAVE_COMPLEX_H
29335 #include <complex.h>
29336 #endif
29337 #ifdef HAVE_MATH_H
29338 #include <math.h>
29339 #endif
29341 int (*ptr)() = (int (*)())truncf128;
29344 main ()
29346 return 0;
29349 _ACEOF
29350 if ac_fn_c_try_link "$LINENO"; then :
29351 gcc_cv_math_func_truncf128=yes
29352 else
29353 gcc_cv_math_func_truncf128=no
29355 rm -f core conftest.err conftest.$ac_objext \
29356 conftest$ac_exeext conftest.$ac_ext
29358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29359 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29360 if test $gcc_cv_math_func_truncf128 = yes; then
29362 cat >>confdefs.h <<_ACEOF
29363 #define HAVE_TRUNCF128 1
29364 _ACEOF
29371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29372 $as_echo_n "checking for erff128... " >&6; }
29373 if ${gcc_cv_math_func_erff128+:} false; then :
29374 $as_echo_n "(cached) " >&6
29375 else
29376 if test x$gcc_no_link = xyes; then
29377 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29380 /* end confdefs.h. */
29382 #ifdef HAVE_COMPLEX_H
29383 #include <complex.h>
29384 #endif
29385 #ifdef HAVE_MATH_H
29386 #include <math.h>
29387 #endif
29389 int (*ptr)() = (int (*)())erff128;
29392 main ()
29394 return 0;
29397 _ACEOF
29398 if ac_fn_c_try_link "$LINENO"; then :
29399 gcc_cv_math_func_erff128=yes
29400 else
29401 gcc_cv_math_func_erff128=no
29403 rm -f core conftest.err conftest.$ac_objext \
29404 conftest$ac_exeext conftest.$ac_ext
29406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29407 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29408 if test $gcc_cv_math_func_erff128 = yes; then
29410 cat >>confdefs.h <<_ACEOF
29411 #define HAVE_ERFF128 1
29412 _ACEOF
29419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29420 $as_echo_n "checking for erfcf128... " >&6; }
29421 if ${gcc_cv_math_func_erfcf128+:} false; then :
29422 $as_echo_n "(cached) " >&6
29423 else
29424 if test x$gcc_no_link = xyes; then
29425 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29428 /* end confdefs.h. */
29430 #ifdef HAVE_COMPLEX_H
29431 #include <complex.h>
29432 #endif
29433 #ifdef HAVE_MATH_H
29434 #include <math.h>
29435 #endif
29437 int (*ptr)() = (int (*)())erfcf128;
29440 main ()
29442 return 0;
29445 _ACEOF
29446 if ac_fn_c_try_link "$LINENO"; then :
29447 gcc_cv_math_func_erfcf128=yes
29448 else
29449 gcc_cv_math_func_erfcf128=no
29451 rm -f core conftest.err conftest.$ac_objext \
29452 conftest$ac_exeext conftest.$ac_ext
29454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29455 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29456 if test $gcc_cv_math_func_erfcf128 = yes; then
29458 cat >>confdefs.h <<_ACEOF
29459 #define HAVE_ERFCF128 1
29460 _ACEOF
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29468 $as_echo_n "checking for j0f128... " >&6; }
29469 if ${gcc_cv_math_func_j0f128+:} false; then :
29470 $as_echo_n "(cached) " >&6
29471 else
29472 if test x$gcc_no_link = xyes; then
29473 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h. */
29478 #ifdef HAVE_COMPLEX_H
29479 #include <complex.h>
29480 #endif
29481 #ifdef HAVE_MATH_H
29482 #include <math.h>
29483 #endif
29485 int (*ptr)() = (int (*)())j0f128;
29488 main ()
29490 return 0;
29493 _ACEOF
29494 if ac_fn_c_try_link "$LINENO"; then :
29495 gcc_cv_math_func_j0f128=yes
29496 else
29497 gcc_cv_math_func_j0f128=no
29499 rm -f core conftest.err conftest.$ac_objext \
29500 conftest$ac_exeext conftest.$ac_ext
29502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29503 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29504 if test $gcc_cv_math_func_j0f128 = yes; then
29506 cat >>confdefs.h <<_ACEOF
29507 #define HAVE_J0F128 1
29508 _ACEOF
29515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29516 $as_echo_n "checking for j1f128... " >&6; }
29517 if ${gcc_cv_math_func_j1f128+:} false; then :
29518 $as_echo_n "(cached) " >&6
29519 else
29520 if test x$gcc_no_link = xyes; then
29521 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29524 /* end confdefs.h. */
29526 #ifdef HAVE_COMPLEX_H
29527 #include <complex.h>
29528 #endif
29529 #ifdef HAVE_MATH_H
29530 #include <math.h>
29531 #endif
29533 int (*ptr)() = (int (*)())j1f128;
29536 main ()
29538 return 0;
29541 _ACEOF
29542 if ac_fn_c_try_link "$LINENO"; then :
29543 gcc_cv_math_func_j1f128=yes
29544 else
29545 gcc_cv_math_func_j1f128=no
29547 rm -f core conftest.err conftest.$ac_objext \
29548 conftest$ac_exeext conftest.$ac_ext
29550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29551 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29552 if test $gcc_cv_math_func_j1f128 = yes; then
29554 cat >>confdefs.h <<_ACEOF
29555 #define HAVE_J1F128 1
29556 _ACEOF
29563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29564 $as_echo_n "checking for jnf128... " >&6; }
29565 if ${gcc_cv_math_func_jnf128+:} false; then :
29566 $as_echo_n "(cached) " >&6
29567 else
29568 if test x$gcc_no_link = xyes; then
29569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29572 /* end confdefs.h. */
29574 #ifdef HAVE_COMPLEX_H
29575 #include <complex.h>
29576 #endif
29577 #ifdef HAVE_MATH_H
29578 #include <math.h>
29579 #endif
29581 int (*ptr)() = (int (*)())jnf128;
29584 main ()
29586 return 0;
29589 _ACEOF
29590 if ac_fn_c_try_link "$LINENO"; then :
29591 gcc_cv_math_func_jnf128=yes
29592 else
29593 gcc_cv_math_func_jnf128=no
29595 rm -f core conftest.err conftest.$ac_objext \
29596 conftest$ac_exeext conftest.$ac_ext
29598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29599 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29600 if test $gcc_cv_math_func_jnf128 = yes; then
29602 cat >>confdefs.h <<_ACEOF
29603 #define HAVE_JNF128 1
29604 _ACEOF
29611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29612 $as_echo_n "checking for y0f128... " >&6; }
29613 if ${gcc_cv_math_func_y0f128+:} false; then :
29614 $as_echo_n "(cached) " >&6
29615 else
29616 if test x$gcc_no_link = xyes; then
29617 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29620 /* end confdefs.h. */
29622 #ifdef HAVE_COMPLEX_H
29623 #include <complex.h>
29624 #endif
29625 #ifdef HAVE_MATH_H
29626 #include <math.h>
29627 #endif
29629 int (*ptr)() = (int (*)())y0f128;
29632 main ()
29634 return 0;
29637 _ACEOF
29638 if ac_fn_c_try_link "$LINENO"; then :
29639 gcc_cv_math_func_y0f128=yes
29640 else
29641 gcc_cv_math_func_y0f128=no
29643 rm -f core conftest.err conftest.$ac_objext \
29644 conftest$ac_exeext conftest.$ac_ext
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29647 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29648 if test $gcc_cv_math_func_y0f128 = yes; then
29650 cat >>confdefs.h <<_ACEOF
29651 #define HAVE_Y0F128 1
29652 _ACEOF
29659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29660 $as_echo_n "checking for y1f128... " >&6; }
29661 if ${gcc_cv_math_func_y1f128+:} false; then :
29662 $as_echo_n "(cached) " >&6
29663 else
29664 if test x$gcc_no_link = xyes; then
29665 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h. */
29670 #ifdef HAVE_COMPLEX_H
29671 #include <complex.h>
29672 #endif
29673 #ifdef HAVE_MATH_H
29674 #include <math.h>
29675 #endif
29677 int (*ptr)() = (int (*)())y1f128;
29680 main ()
29682 return 0;
29685 _ACEOF
29686 if ac_fn_c_try_link "$LINENO"; then :
29687 gcc_cv_math_func_y1f128=yes
29688 else
29689 gcc_cv_math_func_y1f128=no
29691 rm -f core conftest.err conftest.$ac_objext \
29692 conftest$ac_exeext conftest.$ac_ext
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29695 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29696 if test $gcc_cv_math_func_y1f128 = yes; then
29698 cat >>confdefs.h <<_ACEOF
29699 #define HAVE_Y1F128 1
29700 _ACEOF
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29708 $as_echo_n "checking for ynf128... " >&6; }
29709 if ${gcc_cv_math_func_ynf128+:} false; then :
29710 $as_echo_n "(cached) " >&6
29711 else
29712 if test x$gcc_no_link = xyes; then
29713 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29716 /* end confdefs.h. */
29718 #ifdef HAVE_COMPLEX_H
29719 #include <complex.h>
29720 #endif
29721 #ifdef HAVE_MATH_H
29722 #include <math.h>
29723 #endif
29725 int (*ptr)() = (int (*)())ynf128;
29728 main ()
29730 return 0;
29733 _ACEOF
29734 if ac_fn_c_try_link "$LINENO"; then :
29735 gcc_cv_math_func_ynf128=yes
29736 else
29737 gcc_cv_math_func_ynf128=no
29739 rm -f core conftest.err conftest.$ac_objext \
29740 conftest$ac_exeext conftest.$ac_ext
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29743 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29744 if test $gcc_cv_math_func_ynf128 = yes; then
29746 cat >>confdefs.h <<_ACEOF
29747 #define HAVE_YNF128 1
29748 _ACEOF
29755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29756 $as_echo_n "checking for tgammaf128... " >&6; }
29757 if ${gcc_cv_math_func_tgammaf128+:} false; then :
29758 $as_echo_n "(cached) " >&6
29759 else
29760 if test x$gcc_no_link = xyes; then
29761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29764 /* end confdefs.h. */
29766 #ifdef HAVE_COMPLEX_H
29767 #include <complex.h>
29768 #endif
29769 #ifdef HAVE_MATH_H
29770 #include <math.h>
29771 #endif
29773 int (*ptr)() = (int (*)())tgammaf128;
29776 main ()
29778 return 0;
29781 _ACEOF
29782 if ac_fn_c_try_link "$LINENO"; then :
29783 gcc_cv_math_func_tgammaf128=yes
29784 else
29785 gcc_cv_math_func_tgammaf128=no
29787 rm -f core conftest.err conftest.$ac_objext \
29788 conftest$ac_exeext conftest.$ac_ext
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29791 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29792 if test $gcc_cv_math_func_tgammaf128 = yes; then
29794 cat >>confdefs.h <<_ACEOF
29795 #define HAVE_TGAMMAF128 1
29796 _ACEOF
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29804 $as_echo_n "checking for lgammaf128... " >&6; }
29805 if ${gcc_cv_math_func_lgammaf128+:} false; then :
29806 $as_echo_n "(cached) " >&6
29807 else
29808 if test x$gcc_no_link = xyes; then
29809 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29812 /* end confdefs.h. */
29814 #ifdef HAVE_COMPLEX_H
29815 #include <complex.h>
29816 #endif
29817 #ifdef HAVE_MATH_H
29818 #include <math.h>
29819 #endif
29821 int (*ptr)() = (int (*)())lgammaf128;
29824 main ()
29826 return 0;
29829 _ACEOF
29830 if ac_fn_c_try_link "$LINENO"; then :
29831 gcc_cv_math_func_lgammaf128=yes
29832 else
29833 gcc_cv_math_func_lgammaf128=no
29835 rm -f core conftest.err conftest.$ac_objext \
29836 conftest$ac_exeext conftest.$ac_ext
29838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29839 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29840 if test $gcc_cv_math_func_lgammaf128 = yes; then
29842 cat >>confdefs.h <<_ACEOF
29843 #define HAVE_LGAMMAF128 1
29844 _ACEOF
29852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29853 $as_echo_n "checking for cacosf128... " >&6; }
29854 if ${gcc_cv_math_func_cacosf128+:} false; then :
29855 $as_echo_n "(cached) " >&6
29856 else
29857 if test x$gcc_no_link = xyes; then
29858 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29861 /* end confdefs.h. */
29863 #ifdef HAVE_COMPLEX_H
29864 #include <complex.h>
29865 #endif
29866 #ifdef HAVE_MATH_H
29867 #include <math.h>
29868 #endif
29870 int (*ptr)() = (int (*)())cacosf128;
29873 main ()
29875 return 0;
29878 _ACEOF
29879 if ac_fn_c_try_link "$LINENO"; then :
29880 gcc_cv_math_func_cacosf128=yes
29881 else
29882 gcc_cv_math_func_cacosf128=no
29884 rm -f core conftest.err conftest.$ac_objext \
29885 conftest$ac_exeext conftest.$ac_ext
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29888 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29889 if test $gcc_cv_math_func_cacosf128 = yes; then
29891 cat >>confdefs.h <<_ACEOF
29892 #define HAVE_CACOSF128 1
29893 _ACEOF
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29901 $as_echo_n "checking for cacoshf128... " >&6; }
29902 if ${gcc_cv_math_func_cacoshf128+:} false; then :
29903 $as_echo_n "(cached) " >&6
29904 else
29905 if test x$gcc_no_link = xyes; then
29906 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29909 /* end confdefs.h. */
29911 #ifdef HAVE_COMPLEX_H
29912 #include <complex.h>
29913 #endif
29914 #ifdef HAVE_MATH_H
29915 #include <math.h>
29916 #endif
29918 int (*ptr)() = (int (*)())cacoshf128;
29921 main ()
29923 return 0;
29926 _ACEOF
29927 if ac_fn_c_try_link "$LINENO"; then :
29928 gcc_cv_math_func_cacoshf128=yes
29929 else
29930 gcc_cv_math_func_cacoshf128=no
29932 rm -f core conftest.err conftest.$ac_objext \
29933 conftest$ac_exeext conftest.$ac_ext
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29936 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29937 if test $gcc_cv_math_func_cacoshf128 = yes; then
29939 cat >>confdefs.h <<_ACEOF
29940 #define HAVE_CACOSHF128 1
29941 _ACEOF
29948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29949 $as_echo_n "checking for casinf128... " >&6; }
29950 if ${gcc_cv_math_func_casinf128+:} false; then :
29951 $as_echo_n "(cached) " >&6
29952 else
29953 if test x$gcc_no_link = xyes; then
29954 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29957 /* end confdefs.h. */
29959 #ifdef HAVE_COMPLEX_H
29960 #include <complex.h>
29961 #endif
29962 #ifdef HAVE_MATH_H
29963 #include <math.h>
29964 #endif
29966 int (*ptr)() = (int (*)())casinf128;
29969 main ()
29971 return 0;
29974 _ACEOF
29975 if ac_fn_c_try_link "$LINENO"; then :
29976 gcc_cv_math_func_casinf128=yes
29977 else
29978 gcc_cv_math_func_casinf128=no
29980 rm -f core conftest.err conftest.$ac_objext \
29981 conftest$ac_exeext conftest.$ac_ext
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29984 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29985 if test $gcc_cv_math_func_casinf128 = yes; then
29987 cat >>confdefs.h <<_ACEOF
29988 #define HAVE_CASINF128 1
29989 _ACEOF
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29997 $as_echo_n "checking for casinhf128... " >&6; }
29998 if ${gcc_cv_math_func_casinhf128+:} false; then :
29999 $as_echo_n "(cached) " >&6
30000 else
30001 if test x$gcc_no_link = xyes; then
30002 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30005 /* end confdefs.h. */
30007 #ifdef HAVE_COMPLEX_H
30008 #include <complex.h>
30009 #endif
30010 #ifdef HAVE_MATH_H
30011 #include <math.h>
30012 #endif
30014 int (*ptr)() = (int (*)())casinhf128;
30017 main ()
30019 return 0;
30022 _ACEOF
30023 if ac_fn_c_try_link "$LINENO"; then :
30024 gcc_cv_math_func_casinhf128=yes
30025 else
30026 gcc_cv_math_func_casinhf128=no
30028 rm -f core conftest.err conftest.$ac_objext \
30029 conftest$ac_exeext conftest.$ac_ext
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
30032 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
30033 if test $gcc_cv_math_func_casinhf128 = yes; then
30035 cat >>confdefs.h <<_ACEOF
30036 #define HAVE_CASINHF128 1
30037 _ACEOF
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
30045 $as_echo_n "checking for catanf128... " >&6; }
30046 if ${gcc_cv_math_func_catanf128+:} false; then :
30047 $as_echo_n "(cached) " >&6
30048 else
30049 if test x$gcc_no_link = xyes; then
30050 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30053 /* end confdefs.h. */
30055 #ifdef HAVE_COMPLEX_H
30056 #include <complex.h>
30057 #endif
30058 #ifdef HAVE_MATH_H
30059 #include <math.h>
30060 #endif
30062 int (*ptr)() = (int (*)())catanf128;
30065 main ()
30067 return 0;
30070 _ACEOF
30071 if ac_fn_c_try_link "$LINENO"; then :
30072 gcc_cv_math_func_catanf128=yes
30073 else
30074 gcc_cv_math_func_catanf128=no
30076 rm -f core conftest.err conftest.$ac_objext \
30077 conftest$ac_exeext conftest.$ac_ext
30079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
30080 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
30081 if test $gcc_cv_math_func_catanf128 = yes; then
30083 cat >>confdefs.h <<_ACEOF
30084 #define HAVE_CATANF128 1
30085 _ACEOF
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
30093 $as_echo_n "checking for catanhf128... " >&6; }
30094 if ${gcc_cv_math_func_catanhf128+:} false; then :
30095 $as_echo_n "(cached) " >&6
30096 else
30097 if test x$gcc_no_link = xyes; then
30098 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30101 /* end confdefs.h. */
30103 #ifdef HAVE_COMPLEX_H
30104 #include <complex.h>
30105 #endif
30106 #ifdef HAVE_MATH_H
30107 #include <math.h>
30108 #endif
30110 int (*ptr)() = (int (*)())catanhf128;
30113 main ()
30115 return 0;
30118 _ACEOF
30119 if ac_fn_c_try_link "$LINENO"; then :
30120 gcc_cv_math_func_catanhf128=yes
30121 else
30122 gcc_cv_math_func_catanhf128=no
30124 rm -f core conftest.err conftest.$ac_objext \
30125 conftest$ac_exeext conftest.$ac_ext
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30128 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30129 if test $gcc_cv_math_func_catanhf128 = yes; then
30131 cat >>confdefs.h <<_ACEOF
30132 #define HAVE_CATANHF128 1
30133 _ACEOF
30138 # Check whether the system has a working stat()
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30141 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30142 if ${libgfor_cv_have_working_stat+:} false; then :
30143 $as_echo_n "(cached) " >&6
30144 else
30146 if test "$cross_compiling" = yes; then :
30148 case "${target}" in
30149 *mingw*) libgfor_cv_have_working_stat=no ;;
30150 *) libgfor_cv_have_working_stat=yes;;
30151 esac
30152 else
30153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30154 /* end confdefs.h. */
30156 #include <stdio.h>
30157 #include <sys/types.h>
30158 #include <sys/stat.h>
30159 #include <unistd.h>
30161 int main ()
30163 FILE *f, *g;
30164 struct stat st1, st2;
30166 f = fopen ("foo", "w");
30167 g = fopen ("bar", "w");
30168 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30169 return 1;
30170 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30171 return 1;
30172 fclose(f);
30173 fclose(g);
30174 return 0;
30176 _ACEOF
30177 if ac_fn_c_try_run "$LINENO"; then :
30178 libgfor_cv_have_working_stat=yes
30179 else
30180 libgfor_cv_have_working_stat=no
30182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30183 conftest.$ac_objext conftest.beam conftest.$ac_ext
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30188 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30189 if test x"$libgfor_cv_have_working_stat" = xyes; then
30191 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30195 # Check whether __mingw_snprintf() is present
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30198 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30199 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
30200 $as_echo_n "(cached) " >&6
30201 else
30203 if test x$gcc_no_link = xyes; then
30204 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30207 /* end confdefs.h. */
30209 #include <stdio.h>
30210 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30213 main ()
30216 __mingw_snprintf (NULL, 0, "%d\n", 1);
30219 return 0;
30221 _ACEOF
30222 if ac_fn_c_try_link "$LINENO"; then :
30223 eval "libgfor_cv_have_mingw_snprintf=yes"
30224 else
30225 eval "libgfor_cv_have_mingw_snprintf=no"
30227 rm -f core conftest.err conftest.$ac_objext \
30228 conftest$ac_exeext conftest.$ac_ext
30231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30232 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30233 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
30235 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30240 have_iec_60559_libc_support=no
30241 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30242 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then
30243 have_iec_60559_libc_support=yes
30246 # Check whether libquadmath should be used
30247 # Check whether --enable-libquadmath-support was given.
30248 if test "${enable_libquadmath_support+set}" = set; then :
30249 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
30250 else
30251 if test "x$have_iec_60559_libc_support" = xyes; then
30252 ENABLE_LIBQUADMATH_SUPPORT=default
30253 else
30254 ENABLE_LIBQUADMATH_SUPPORT=yes
30258 enable_libquadmath_support=
30259 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30260 enable_libquadmath_support=no
30261 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30262 enable_libquadmath_support=default
30265 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30266 # and have_iec_60559_libc_support.
30268 LIBQUADSPEC=
30269 LIBQUADLIB=
30270 LIBQUADLIB_DEP=
30271 LIBQUADINCLUDE=
30272 USE_IEC_60559=no
30274 if test "x$enable_libquadmath_support" != xno; then
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30277 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30278 if ${libgfor_cv_have_float128+:} false; then :
30279 $as_echo_n "(cached) " >&6
30280 else
30282 if test x$gcc_no_link = xyes; then
30283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30284 /* end confdefs.h. */
30286 _Float128 foo (_Float128 x)
30288 _Complex _Float128 z1, z2;
30290 z1 = x;
30291 z2 = x / 7.F128;
30292 z2 /= z1;
30294 return (_Float128) z2;
30297 _Float128 bar (_Float128 x)
30299 return x * __builtin_huge_valf128 ();
30302 __float128 baz (__float128 x)
30304 return x * __builtin_huge_valf128 ();
30308 main ()
30311 foo (1.2F128);
30312 bar (1.2F128);
30313 baz (1.2F128);
30314 foo (1.2Q);
30315 bar (1.2Q);
30316 baz (1.2Q);
30319 return 0;
30321 _ACEOF
30322 if ac_fn_c_try_compile "$LINENO"; then :
30324 libgfor_cv_have_float128=yes
30326 else
30328 libgfor_cv_have_float128=no
30331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30332 else
30333 if test x$gcc_no_link = xyes; then
30334 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30337 /* end confdefs.h. */
30339 _Float128 foo (_Float128 x)
30341 _Complex _Float128 z1, z2;
30343 z1 = x;
30344 z2 = x / 7.F128;
30345 z2 /= z1;
30347 return (_Float128) z2;
30350 _Float128 bar (_Float128 x)
30352 return x * __builtin_huge_valf128 ();
30355 __float128 baz (__float128 x)
30357 return x * __builtin_huge_valf128 ();
30361 main ()
30364 foo (1.2F128);
30365 bar (1.2F128);
30366 baz (1.2F128);
30367 foo (1.2Q);
30368 bar (1.2Q);
30369 baz (1.2Q);
30372 return 0;
30374 _ACEOF
30375 if ac_fn_c_try_link "$LINENO"; then :
30377 libgfor_cv_have_float128=yes
30379 else
30381 libgfor_cv_have_float128=no
30384 rm -f core conftest.err conftest.$ac_objext \
30385 conftest$ac_exeext conftest.$ac_ext
30388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30389 $as_echo "$libgfor_cv_have_float128" >&6; }
30391 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then
30392 USE_IEC_60559=yes
30396 if test "x$libgfor_cv_have_float128" = xyes; then
30397 if test "x$USE_IEC_60559" = xyes; then
30399 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30403 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30406 ac_xsave_c_werror_flag=$ac_c_werror_flag
30407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30408 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30409 if ${libgfor_cv_have_as_needed+:} false; then :
30410 $as_echo_n "(cached) " >&6
30411 else
30413 # Test for native Solaris options first.
30414 # No whitespace after -z to pass it through -Wl.
30415 libgfor_cv_as_needed_option="-zignore"
30416 libgfor_cv_no_as_needed_option="-zrecord"
30417 save_LDFLAGS="$LDFLAGS"
30418 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30419 libgfor_cv_have_as_needed=no
30421 ac_c_werror_flag=yes
30422 if test x$gcc_no_link = xyes; then
30423 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30426 /* end confdefs.h. */
30429 main ()
30433 return 0;
30435 _ACEOF
30436 if ac_fn_c_try_link "$LINENO"; then :
30437 libgfor_cv_have_as_needed=yes
30438 else
30439 libgfor_cv_have_as_needed=no
30441 rm -f core conftest.err conftest.$ac_objext \
30442 conftest$ac_exeext conftest.$ac_ext
30443 LDFLAGS="$save_LDFLAGS"
30444 if test "x$libgfor_cv_have_as_needed" = xno; then
30445 libgfor_cv_as_needed_option="--as-needed"
30446 libgfor_cv_no_as_needed_option="--no-as-needed"
30447 save_LDFLAGS="$LDFLAGS"
30448 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30449 libgfor_cv_have_as_needed=no
30451 ac_c_werror_flag=yes
30452 if test x$gcc_no_link = xyes; then
30453 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30456 /* end confdefs.h. */
30459 main ()
30463 return 0;
30465 _ACEOF
30466 if ac_fn_c_try_link "$LINENO"; then :
30467 libgfor_cv_have_as_needed=yes
30468 else
30469 libgfor_cv_have_as_needed=no
30471 rm -f core conftest.err conftest.$ac_objext \
30472 conftest$ac_exeext conftest.$ac_ext
30473 LDFLAGS="$save_LDFLAGS"
30475 ac_c_werror_flag=$ac_xsave_c_werror_flag
30478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30479 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30481 touch conftest1.$ac_objext conftest2.$ac_objext
30482 LQUADMATH=-lquadmath
30483 $FC -static-libgfortran -### -o conftest \
30484 conftest1.$ac_objext -lgfortran conftest2.$ac_objext 2>&1 >/dev/null \
30485 | grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30486 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30487 conftest.cmd >/dev/null 2>&1; then
30488 LQUADMATH="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30489 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30490 conftest.cmd >/dev/null 2>&1; then
30491 LQUADMATH="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30492 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30493 conftest.cmd >/dev/null 2>&1; then
30494 LQUADMATH="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30495 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30496 conftest.cmd >/dev/null 2>&1; then
30497 LQUADMATH="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30499 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest conftest.cmd
30501 if test "x$libgfor_cv_have_as_needed" = xyes; then
30502 if test "x$USE_IEC_60559" = xyes; then
30503 LIBQUADSPEC="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30504 else
30505 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30507 else
30508 LIBQUADSPEC="$LQUADMATH"
30510 if test "x$USE_IEC_60559" != xyes; then
30511 if test -f ../libquadmath/libquadmath.la; then
30512 LIBQUADLIB=../libquadmath/libquadmath.la
30513 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
30514 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
30515 else
30516 LIBQUADLIB="-lquadmath"
30519 else
30520 USE_IEC_60559=no
30531 # Check for GNU libc feenableexcept
30532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30533 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30534 if ${ac_cv_lib_m_feenableexcept+:} false; then :
30535 $as_echo_n "(cached) " >&6
30536 else
30537 ac_check_lib_save_LIBS=$LIBS
30538 LIBS="-lm $LIBS"
30539 if test x$gcc_no_link = xyes; then
30540 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30543 /* end confdefs.h. */
30545 /* Override any GCC internal prototype to avoid an error.
30546 Use char because int might match the return type of a GCC
30547 builtin and then its argument prototype would still apply. */
30548 #ifdef __cplusplus
30549 extern "C"
30550 #endif
30551 char feenableexcept ();
30553 main ()
30555 return feenableexcept ();
30557 return 0;
30559 _ACEOF
30560 if ac_fn_c_try_link "$LINENO"; then :
30561 ac_cv_lib_m_feenableexcept=yes
30562 else
30563 ac_cv_lib_m_feenableexcept=no
30565 rm -f core conftest.err conftest.$ac_objext \
30566 conftest$ac_exeext conftest.$ac_ext
30567 LIBS=$ac_check_lib_save_LIBS
30569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30570 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30571 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
30572 have_feenableexcept=yes
30573 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30578 # At least for glibc, clock_gettime is in librt. But don't
30579 # pull that in if it still doesn't give us the function we want. This
30580 # test is copied from libgomp, and modified to not link in -lrt as
30581 # libgfortran calls clock_gettime via a weak reference if it's found
30582 # in librt.
30583 if test "$ac_cv_func_clock_gettime" = no; then
30584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30585 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30586 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
30587 $as_echo_n "(cached) " >&6
30588 else
30589 ac_check_lib_save_LIBS=$LIBS
30590 LIBS="-lrt $LIBS"
30591 if test x$gcc_no_link = xyes; then
30592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30595 /* end confdefs.h. */
30597 /* Override any GCC internal prototype to avoid an error.
30598 Use char because int might match the return type of a GCC
30599 builtin and then its argument prototype would still apply. */
30600 #ifdef __cplusplus
30601 extern "C"
30602 #endif
30603 char clock_gettime ();
30605 main ()
30607 return clock_gettime ();
30609 return 0;
30611 _ACEOF
30612 if ac_fn_c_try_link "$LINENO"; then :
30613 ac_cv_lib_rt_clock_gettime=yes
30614 else
30615 ac_cv_lib_rt_clock_gettime=no
30617 rm -f core conftest.err conftest.$ac_objext \
30618 conftest$ac_exeext conftest.$ac_ext
30619 LIBS=$ac_check_lib_save_LIBS
30621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30622 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30623 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
30625 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30631 # Check for SysV fpsetmask
30633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30634 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30635 if ${libgfor_cv_have_fpsetmask+:} false; then :
30636 $as_echo_n "(cached) " >&6
30637 else
30639 if test x$gcc_no_link = xyes; then
30640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30643 /* end confdefs.h. */
30645 #if HAVE_FLOATINGPOINT_H
30646 # include <floatingpoint.h>
30647 #endif /* HAVE_FLOATINGPOINT_H */
30648 #if HAVE_IEEEFP_H
30649 # include <ieeefp.h>
30650 #endif /* HAVE_IEEEFP_H */
30652 main ()
30654 fpsetmask(0);
30656 return 0;
30658 _ACEOF
30659 if ac_fn_c_try_link "$LINENO"; then :
30660 eval "libgfor_cv_have_fpsetmask=yes"
30661 else
30662 eval "libgfor_cv_have_fpsetmask=no"
30664 rm -f core conftest.err conftest.$ac_objext \
30665 conftest$ac_exeext conftest.$ac_ext
30668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30669 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30670 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
30671 have_fpsetmask=yes
30673 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30677 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
30678 #ifdef HAVE_IEEEFP_H
30679 #include <ieeefp.h>
30680 #endif
30681 #include <math.h>
30684 if test "x$ac_cv_type_fp_except" = xyes; then :
30686 cat >>confdefs.h <<_ACEOF
30687 #define HAVE_FP_EXCEPT 1
30688 _ACEOF
30692 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30693 #ifdef HAVE_IEEEFP_H
30694 #include <ieeefp.h>
30695 #endif
30696 #include <math.h>
30699 if test "x$ac_cv_type_fp_except_t" = xyes; then :
30701 cat >>confdefs.h <<_ACEOF
30702 #define HAVE_FP_EXCEPT_T 1
30703 _ACEOF
30708 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30709 #ifdef HAVE_IEEEFP_H
30710 #include <ieeefp.h>
30711 #endif
30712 #include <math.h>
30715 if test "x$ac_cv_type_fp_rnd" = xyes; then :
30717 cat >>confdefs.h <<_ACEOF
30718 #define HAVE_FP_RND 1
30719 _ACEOF
30723 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30724 #ifdef HAVE_IEEEFP_H
30725 #include <ieeefp.h>
30726 #endif
30727 #include <math.h>
30730 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
30732 cat >>confdefs.h <<_ACEOF
30733 #define HAVE_FP_RND_T 1
30734 _ACEOF
30740 # Check whether we have fpsetsticky or fpresetsticky
30741 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30742 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
30743 have_fpsetsticky=yes
30744 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30748 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30749 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
30750 have_fpresetsticky=yes
30751 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30756 # Check for AIX fp_trap and fp_enable
30757 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30758 if test "x$ac_cv_func_fp_trap" = xyes; then :
30759 have_fp_trap=yes
30760 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30764 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30765 if test "x$ac_cv_func_fp_enable" = xyes; then :
30766 have_fp_enable=yes
30767 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30772 # Check if _SOFT_FLOAT is defined
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30775 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30776 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
30777 $as_echo_n "(cached) " >&6
30778 else
30779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30780 /* end confdefs.h. */
30783 main ()
30786 #ifdef _SOFT_FLOAT
30787 int ok;
30788 #else
30789 choke me
30790 #endif
30793 return 0;
30795 _ACEOF
30796 if ac_fn_c_try_compile "$LINENO"; then :
30797 ac_cv_defined__SOFT_FLOAT=yes
30798 else
30799 ac_cv_defined__SOFT_FLOAT=no
30801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30804 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30805 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30806 have_soft_float=yes
30809 # Runs configure.host to set up necessary host-dependent shell variables.
30810 # We then display a message about it, and propagate them through the
30811 # build chain.
30812 . ${srcdir}/configure.host
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30814 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30816 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30817 FPU_HOST_HEADER=config/${fpu_host}.h
30820 # Whether we will build the IEEE modules
30821 if test x${ieee_support} = xyes; then
30822 IEEE_SUPPORT_TRUE=
30823 IEEE_SUPPORT_FALSE='#'
30824 else
30825 IEEE_SUPPORT_TRUE='#'
30826 IEEE_SUPPORT_FALSE=
30831 # Some targets require additional compiler options for IEEE compatibility.
30832 IEEE_FLAGS="${ieee_flags}"
30835 # Conditionalize the makefile for this target machine.
30836 tmake_file_=
30837 for f in ${tmake_file}
30839 if test -f ${srcdir}/config/$f
30840 then
30841 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
30843 done
30844 tmake_file="${tmake_file_}"
30848 # Check for POSIX getpwuid_r
30850 # There are two versions of getpwuid_r, the POSIX one with 5
30851 # arguments, and another one with 4 arguments used by at least HP-UX
30852 # 10.2.
30853 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30855 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30856 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
30857 $as_echo_n "(cached) " >&6
30858 else
30860 if test x$gcc_no_link = xyes; then
30861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30864 /* end confdefs.h. */
30866 #include <stdio.h>
30867 #include <sys/types.h>
30868 #include <pwd.h>
30870 main ()
30873 getpwuid_r(0, NULL, NULL, 0, NULL);
30876 return 0;
30878 _ACEOF
30879 if ac_fn_c_try_link "$LINENO"; then :
30880 libgfor_cv_posix_getpwuid_r="yes"
30881 else
30882 libgfor_cv_posix_getpwuid_r="no"
30884 rm -f core conftest.err conftest.$ac_objext \
30885 conftest$ac_exeext conftest.$ac_ext
30887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30888 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30890 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30892 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30897 # Check out attribute support.
30899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30900 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30901 if ${libgfor_cv_have_attribute_visibility+:} false; then :
30902 $as_echo_n "(cached) " >&6
30903 else
30905 save_CFLAGS="$CFLAGS"
30906 CFLAGS="$CFLAGS -Werror"
30907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30908 /* end confdefs.h. */
30909 void __attribute__((visibility("hidden"))) foo(void) { }
30911 main ()
30915 return 0;
30917 _ACEOF
30918 if ac_fn_c_try_compile "$LINENO"; then :
30919 libgfor_cv_have_attribute_visibility=yes
30920 else
30921 libgfor_cv_have_attribute_visibility=no
30923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30924 CFLAGS="$save_CFLAGS"
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30927 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30928 if test $libgfor_cv_have_attribute_visibility = yes; then
30930 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30935 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30936 if ${libgfor_cv_have_attribute_alias+:} false; then :
30937 $as_echo_n "(cached) " >&6
30938 else
30940 if test x$gcc_no_link = xyes; then
30941 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30944 /* end confdefs.h. */
30946 void foo(void) { }
30947 extern void bar(void) __attribute__((alias("foo")));
30949 main ()
30951 bar();
30953 return 0;
30955 _ACEOF
30956 if ac_fn_c_try_link "$LINENO"; then :
30957 libgfor_cv_have_attribute_alias=yes
30958 else
30959 libgfor_cv_have_attribute_alias=no
30961 rm -f core conftest.err conftest.$ac_objext \
30962 conftest$ac_exeext conftest.$ac_ext
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30965 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30966 if test $libgfor_cv_have_attribute_alias = yes; then
30968 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30972 # Check out atomic builtins support.
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30975 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30976 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
30977 $as_echo_n "(cached) " >&6
30978 else
30980 if test x$gcc_no_link = xyes; then
30981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30984 /* end confdefs.h. */
30985 int foovar = 0;
30987 main ()
30990 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30991 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30993 return 0;
30995 _ACEOF
30996 if ac_fn_c_try_link "$LINENO"; then :
30997 libgfor_cv_have_atomic_fetch_add=yes
30998 else
30999 libgfor_cv_have_atomic_fetch_add=no
31001 rm -f core conftest.err conftest.$ac_objext \
31002 conftest$ac_exeext conftest.$ac_ext
31004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
31005 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
31006 if test $libgfor_cv_have_atomic_fetch_add = yes; then
31008 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
31012 # Check out #pragma weak.
31014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
31015 $as_echo_n "checking whether pragma weak works... " >&6; }
31016 if ${libgfor_cv_have_pragma_weak+:} false; then :
31017 $as_echo_n "(cached) " >&6
31018 else
31020 gfor_save_CFLAGS="$CFLAGS"
31021 CFLAGS="$CFLAGS -Wunknown-pragmas"
31022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31023 /* end confdefs.h. */
31025 void foo (void);
31026 #pragma weak foo
31029 main ()
31031 if (foo) foo ();
31033 return 0;
31035 _ACEOF
31036 if ac_fn_c_try_compile "$LINENO"; then :
31037 libgfor_cv_have_pragma_weak=yes
31038 else
31039 libgfor_cv_have_pragma_weak=no
31041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
31044 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
31045 if test $libgfor_cv_have_pragma_weak = yes; then
31047 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
31050 case "$host" in
31051 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
31053 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
31056 esac
31058 # Check out weakref support.
31060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
31061 $as_echo_n "checking whether the target supports weakref... " >&6; }
31062 if ${libgfor_cv_have_weakref+:} false; then :
31063 $as_echo_n "(cached) " >&6
31064 else
31066 save_CFLAGS="$CFLAGS"
31067 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
31068 if test x$gcc_no_link = xyes; then
31069 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31072 /* end confdefs.h. */
31074 static int mytoto (int) __attribute__((__weakref__("toto")));
31077 main ()
31079 return (mytoto != 0);
31081 return 0;
31083 _ACEOF
31084 if ac_fn_c_try_link "$LINENO"; then :
31085 libgfor_cv_have_weakref=yes
31086 else
31087 libgfor_cv_have_weakref=no
31089 rm -f core conftest.err conftest.$ac_objext \
31090 conftest$ac_exeext conftest.$ac_ext
31091 CFLAGS="$save_CFLAGS"
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
31094 $as_echo "$libgfor_cv_have_weakref" >&6; }
31095 if test $libgfor_cv_have_weakref = yes; then
31097 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
31101 # Various other checks on target
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
31104 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
31105 if ${libgfor_cv_have_unlink_open_file+:} false; then :
31106 $as_echo_n "(cached) " >&6
31107 else
31109 if test "$cross_compiling" = yes; then :
31111 case "${target}" in
31112 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
31113 *) libgfor_cv_have_unlink_open_file=yes;;
31114 esac
31115 else
31116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h. */
31119 #include <errno.h>
31120 #include <fcntl.h>
31121 #include <unistd.h>
31122 #include <sys/stat.h>
31124 int main ()
31126 int fd;
31128 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31129 if (fd <= 0)
31130 return 0;
31131 if (unlink ("testfile") == -1)
31132 return 1;
31133 write (fd, "This is a test\n", 15);
31134 close (fd);
31136 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31137 return 0;
31138 else
31139 return 1;
31141 _ACEOF
31142 if ac_fn_c_try_run "$LINENO"; then :
31143 libgfor_cv_have_unlink_open_file=yes
31144 else
31145 libgfor_cv_have_unlink_open_file=no
31147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31148 conftest.$ac_objext conftest.beam conftest.$ac_ext
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31153 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31154 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
31156 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31160 # Check whether line terminator is LF or CRLF
31162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31163 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31164 if ${libgfor_cv_have_crlf+:} false; then :
31165 $as_echo_n "(cached) " >&6
31166 else
31168 if test "$cross_compiling" = yes; then :
31170 case "${target}" in
31171 *mingw*) libgfor_cv_have_crlf=yes ;;
31172 *) libgfor_cv_have_crlf=no;;
31173 esac
31174 else
31175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31176 /* end confdefs.h. */
31178 /* This test program should exit with status 0 if system uses a CRLF as
31179 line terminator, and status 1 otherwise.
31180 Since it is used to check for mingw systems, and should return 0 in any
31181 other case, in case of a failure we will not use CRLF. */
31182 #include <sys/stat.h>
31183 #include <stdlib.h>
31184 #include <fcntl.h>
31185 #include <stdio.h>
31187 int main ()
31189 #ifndef O_BINARY
31190 exit(1);
31191 #else
31192 int fd, bytes;
31193 char buff[5];
31195 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31196 if (fd < 0)
31197 exit(1);
31198 if (write (fd, "\n", 1) < 0)
31199 perror ("write");
31201 close (fd);
31203 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31204 exit(1);
31205 bytes = read (fd, buff, 5);
31206 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31207 exit(0);
31208 else
31209 exit(1);
31210 #endif
31212 _ACEOF
31213 if ac_fn_c_try_run "$LINENO"; then :
31214 libgfor_cv_have_crlf=yes
31215 else
31216 libgfor_cv_have_crlf=no
31218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31219 conftest.$ac_objext conftest.beam conftest.$ac_ext
31223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31224 $as_echo "$libgfor_cv_have_crlf" >&6; }
31225 if test x"$libgfor_cv_have_crlf" = xyes; then
31227 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31231 # Check whether we support AVX extensions
31233 ac_save_CFLAGS="$CFLAGS"
31234 CFLAGS="-O2 -mavx"
31235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31236 /* end confdefs.h. */
31238 void _mm256_zeroall (void)
31240 __builtin_ia32_vzeroall ();
31243 main ()
31247 return 0;
31249 _ACEOF
31250 if ac_fn_c_try_compile "$LINENO"; then :
31252 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31256 CFLAGS="$ac_save_CFLAGS"
31259 # Check whether we support AVX2 extensions
31261 ac_save_CFLAGS="$CFLAGS"
31262 CFLAGS="-O2 -mavx2"
31263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31264 /* end confdefs.h. */
31266 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31267 __v4di
31268 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31270 return __builtin_ia32_andnotsi256 (__X, __Y);
31273 main ()
31277 return 0;
31279 _ACEOF
31280 if ac_fn_c_try_compile "$LINENO"; then :
31282 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31286 CFLAGS="$ac_save_CFLAGS"
31289 # Check whether we support AVX512f extensions
31291 ac_save_CFLAGS="$CFLAGS"
31292 CFLAGS="-O2 -mavx512f"
31293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31294 /* end confdefs.h. */
31296 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31297 __m512d _mm512_add (__m512d a)
31299 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31300 /* For -m64/-mx32 also verify that code will work even if
31301 the target uses call saved zmm16+ and needs to emit
31302 unwind info for them (e.g. on mingw). See PR79127. */
31303 #ifdef __x86_64__
31304 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31305 #endif
31306 return b;
31309 main ()
31313 return 0;
31315 _ACEOF
31316 if ac_fn_c_try_compile "$LINENO"; then :
31318 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31322 CFLAGS="$ac_save_CFLAGS"
31325 # Check for FMA3 extensions
31327 ac_save_CFLAGS="$CFLAGS"
31328 CFLAGS="-O2 -mfma -mno-fma4"
31329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31330 /* end confdefs.h. */
31332 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31333 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31334 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31336 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31337 (__v4sf)__B,
31338 (__v4sf)__C);
31341 main ()
31345 return 0;
31347 _ACEOF
31348 if ac_fn_c_try_compile "$LINENO"; then :
31350 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31354 CFLAGS="$ac_save_CFLAGS"
31357 # Check for FMA4 extensions
31359 ac_save_CFLAGS="$CFLAGS"
31360 CFLAGS="-O2 -mfma4 -mno-fma"
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31364 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31365 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31366 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31368 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31369 (__v4sf)__B,
31370 (__v4sf)__C);
31373 main ()
31377 return 0;
31379 _ACEOF
31380 if ac_fn_c_try_compile "$LINENO"; then :
31382 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31386 CFLAGS="$ac_save_CFLAGS"
31389 # Check if AVX128 works
31391 ac_save_CFLAGS="$CFLAGS"
31392 CFLAGS="-O2 -mavx -mprefer-avx128"
31393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31394 /* end confdefs.h. */
31396 void foo()
31400 main ()
31404 return 0;
31406 _ACEOF
31407 if ac_fn_c_try_compile "$LINENO"; then :
31409 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31411 if true; then
31412 HAVE_AVX128_TRUE=
31413 HAVE_AVX128_FALSE='#'
31414 else
31415 HAVE_AVX128_TRUE='#'
31416 HAVE_AVX128_FALSE=
31419 else
31420 if false; then
31421 HAVE_AVX128_TRUE=
31422 HAVE_AVX128_FALSE='#'
31423 else
31424 HAVE_AVX128_TRUE='#'
31425 HAVE_AVX128_FALSE=
31429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31430 CFLAGS="$ac_save_CFLAGS"
31433 # Determine what GCC version number to use in filesystem paths.
31435 get_gcc_base_ver="cat"
31437 # Check whether --with-gcc-major-version-only was given.
31438 if test "${with_gcc_major_version_only+set}" = set; then :
31439 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
31440 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
31448 cat >confcache <<\_ACEOF
31449 # This file is a shell script that caches the results of configure
31450 # tests run on this system so they can be shared between configure
31451 # scripts and configure runs, see configure's option --config-cache.
31452 # It is not useful on other systems. If it contains results you don't
31453 # want to keep, you may remove or edit it.
31455 # config.status only pays attention to the cache file if you give it
31456 # the --recheck option to rerun configure.
31458 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31459 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31460 # following values.
31462 _ACEOF
31464 # The following way of writing the cache mishandles newlines in values,
31465 # but we know of no workaround that is simple, portable, and efficient.
31466 # So, we kill variables containing newlines.
31467 # Ultrix sh set writes to stderr and can't be redirected directly,
31468 # and sets the high bit in the cache file unless we assign to the vars.
31470 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31471 eval ac_val=\$$ac_var
31472 case $ac_val in #(
31473 *${as_nl}*)
31474 case $ac_var in #(
31475 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31476 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31477 esac
31478 case $ac_var in #(
31479 _ | IFS | as_nl) ;; #(
31480 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31481 *) { eval $ac_var=; unset $ac_var;} ;;
31482 esac ;;
31483 esac
31484 done
31486 (set) 2>&1 |
31487 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31488 *${as_nl}ac_space=\ *)
31489 # `set' does not quote correctly, so add quotes: double-quote
31490 # substitution turns \\\\ into \\, and sed turns \\ into \.
31491 sed -n \
31492 "s/'/'\\\\''/g;
31493 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31494 ;; #(
31496 # `set' quotes correctly as required by POSIX, so do not add quotes.
31497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31499 esac |
31500 sort
31502 sed '
31503 /^ac_cv_env_/b end
31504 t clear
31505 :clear
31506 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31507 t end
31508 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31509 :end' >>confcache
31510 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31511 if test -w "$cache_file"; then
31512 if test "x$cache_file" != "x/dev/null"; then
31513 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31514 $as_echo "$as_me: updating cache $cache_file" >&6;}
31515 if test ! -f "$cache_file" || test -h "$cache_file"; then
31516 cat confcache >"$cache_file"
31517 else
31518 case $cache_file in #(
31519 */* | ?:*)
31520 mv -f confcache "$cache_file"$$ &&
31521 mv -f "$cache_file"$$ "$cache_file" ;; #(
31523 mv -f confcache "$cache_file" ;;
31524 esac
31527 else
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31529 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31532 rm -f confcache
31534 if test ${multilib} = yes; then
31535 multilib_arg="--enable-multilib"
31536 else
31537 multilib_arg=
31540 # Write our Makefile and spec file.
31541 ac_config_files="$ac_config_files Makefile libgfortran.spec"
31543 cat >confcache <<\_ACEOF
31544 # This file is a shell script that caches the results of configure
31545 # tests run on this system so they can be shared between configure
31546 # scripts and configure runs, see configure's option --config-cache.
31547 # It is not useful on other systems. If it contains results you don't
31548 # want to keep, you may remove or edit it.
31550 # config.status only pays attention to the cache file if you give it
31551 # the --recheck option to rerun configure.
31553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31555 # following values.
31557 _ACEOF
31559 # The following way of writing the cache mishandles newlines in values,
31560 # but we know of no workaround that is simple, portable, and efficient.
31561 # So, we kill variables containing newlines.
31562 # Ultrix sh set writes to stderr and can't be redirected directly,
31563 # and sets the high bit in the cache file unless we assign to the vars.
31565 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31566 eval ac_val=\$$ac_var
31567 case $ac_val in #(
31568 *${as_nl}*)
31569 case $ac_var in #(
31570 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31571 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31572 esac
31573 case $ac_var in #(
31574 _ | IFS | as_nl) ;; #(
31575 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31576 *) { eval $ac_var=; unset $ac_var;} ;;
31577 esac ;;
31578 esac
31579 done
31581 (set) 2>&1 |
31582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31583 *${as_nl}ac_space=\ *)
31584 # `set' does not quote correctly, so add quotes: double-quote
31585 # substitution turns \\\\ into \\, and sed turns \\ into \.
31586 sed -n \
31587 "s/'/'\\\\''/g;
31588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31589 ;; #(
31591 # `set' quotes correctly as required by POSIX, so do not add quotes.
31592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31594 esac |
31595 sort
31597 sed '
31598 /^ac_cv_env_/b end
31599 t clear
31600 :clear
31601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31602 t end
31603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31604 :end' >>confcache
31605 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31606 if test -w "$cache_file"; then
31607 if test "x$cache_file" != "x/dev/null"; then
31608 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31609 $as_echo "$as_me: updating cache $cache_file" >&6;}
31610 if test ! -f "$cache_file" || test -h "$cache_file"; then
31611 cat confcache >"$cache_file"
31612 else
31613 case $cache_file in #(
31614 */* | ?:*)
31615 mv -f confcache "$cache_file"$$ &&
31616 mv -f "$cache_file"$$ "$cache_file" ;; #(
31618 mv -f confcache "$cache_file" ;;
31619 esac
31622 else
31623 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31624 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31627 rm -f confcache
31629 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31630 # Let make expand exec_prefix.
31631 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31633 DEFS=-DHAVE_CONFIG_H
31635 ac_libobjs=
31636 ac_ltlibobjs=
31638 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31639 # 1. Remove the extension, and $U if already installed.
31640 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31641 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31642 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31643 # will be set to the directory where LIBOBJS objects are built.
31644 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31645 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31646 done
31647 LIBOBJS=$ac_libobjs
31649 LTLIBOBJS=$ac_ltlibobjs
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31653 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31654 if test -n "$am_sleep_pid"; then
31655 # Hide warnings about reused PIDs.
31656 wait $am_sleep_pid 2>/dev/null
31658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31659 $as_echo "done" >&6; }
31660 if test -n "$EXEEXT"; then
31661 am__EXEEXT_TRUE=
31662 am__EXEEXT_FALSE='#'
31663 else
31664 am__EXEEXT_TRUE='#'
31665 am__EXEEXT_FALSE=
31668 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31669 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31672 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31673 as_fn_error $? "conditional \"AMDEP\" was never defined.
31674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31676 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31677 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31680 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31681 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31684 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31685 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
31686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31688 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31689 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31692 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31693 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31696 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31697 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31700 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31701 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
31702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31704 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31705 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
31706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31708 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
31709 as_fn_error $? "conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
31710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31712 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31713 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
31714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31716 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31717 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31720 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31721 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31725 : "${CONFIG_STATUS=./config.status}"
31726 ac_write_fail=0
31727 ac_clean_files_save=$ac_clean_files
31728 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31730 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31731 as_write_fail=0
31732 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31733 #! $SHELL
31734 # Generated by $as_me.
31735 # Run this file to recreate the current configuration.
31736 # Compiler output produced by configure, useful for debugging
31737 # configure, is in config.log if it exists.
31739 debug=false
31740 ac_cs_recheck=false
31741 ac_cs_silent=false
31743 SHELL=\${CONFIG_SHELL-$SHELL}
31744 export SHELL
31745 _ASEOF
31746 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31747 ## -------------------- ##
31748 ## M4sh Initialization. ##
31749 ## -------------------- ##
31751 # Be more Bourne compatible
31752 DUALCASE=1; export DUALCASE # for MKS sh
31753 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31754 emulate sh
31755 NULLCMD=:
31756 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31757 # is contrary to our usage. Disable this feature.
31758 alias -g '${1+"$@"}'='"$@"'
31759 setopt NO_GLOB_SUBST
31760 else
31761 case `(set -o) 2>/dev/null` in #(
31762 *posix*) :
31763 set -o posix ;; #(
31764 *) :
31766 esac
31770 as_nl='
31772 export as_nl
31773 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31774 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31775 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31777 # Prefer a ksh shell builtin over an external printf program on Solaris,
31778 # but without wasting forks for bash or zsh.
31779 if test -z "$BASH_VERSION$ZSH_VERSION" \
31780 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31781 as_echo='print -r --'
31782 as_echo_n='print -rn --'
31783 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31784 as_echo='printf %s\n'
31785 as_echo_n='printf %s'
31786 else
31787 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31788 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31789 as_echo_n='/usr/ucb/echo -n'
31790 else
31791 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31792 as_echo_n_body='eval
31793 arg=$1;
31794 case $arg in #(
31795 *"$as_nl"*)
31796 expr "X$arg" : "X\\(.*\\)$as_nl";
31797 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31798 esac;
31799 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31801 export as_echo_n_body
31802 as_echo_n='sh -c $as_echo_n_body as_echo'
31804 export as_echo_body
31805 as_echo='sh -c $as_echo_body as_echo'
31808 # The user is always right.
31809 if test "${PATH_SEPARATOR+set}" != set; then
31810 PATH_SEPARATOR=:
31811 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31812 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31813 PATH_SEPARATOR=';'
31818 # IFS
31819 # We need space, tab and new line, in precisely that order. Quoting is
31820 # there to prevent editors from complaining about space-tab.
31821 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31822 # splitting by setting IFS to empty value.)
31823 IFS=" "" $as_nl"
31825 # Find who we are. Look in the path if we contain no directory separator.
31826 as_myself=
31827 case $0 in #((
31828 *[\\/]* ) as_myself=$0 ;;
31829 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31830 for as_dir in $PATH
31832 IFS=$as_save_IFS
31833 test -z "$as_dir" && as_dir=.
31834 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31835 done
31836 IFS=$as_save_IFS
31839 esac
31840 # We did not find ourselves, most probably we were run as `sh COMMAND'
31841 # in which case we are not to be found in the path.
31842 if test "x$as_myself" = x; then
31843 as_myself=$0
31845 if test ! -f "$as_myself"; then
31846 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31847 exit 1
31850 # Unset variables that we do not need and which cause bugs (e.g. in
31851 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31852 # suppresses any "Segmentation fault" message there. '((' could
31853 # trigger a bug in pdksh 5.2.14.
31854 for as_var in BASH_ENV ENV MAIL MAILPATH
31855 do eval test x\${$as_var+set} = xset \
31856 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31857 done
31858 PS1='$ '
31859 PS2='> '
31860 PS4='+ '
31862 # NLS nuisances.
31863 LC_ALL=C
31864 export LC_ALL
31865 LANGUAGE=C
31866 export LANGUAGE
31868 # CDPATH.
31869 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31872 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31873 # ----------------------------------------
31874 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31875 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31876 # script with STATUS, using 1 if that was 0.
31877 as_fn_error ()
31879 as_status=$1; test $as_status -eq 0 && as_status=1
31880 if test "$4"; then
31881 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31882 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31884 $as_echo "$as_me: error: $2" >&2
31885 as_fn_exit $as_status
31886 } # as_fn_error
31889 # as_fn_set_status STATUS
31890 # -----------------------
31891 # Set $? to STATUS, without forking.
31892 as_fn_set_status ()
31894 return $1
31895 } # as_fn_set_status
31897 # as_fn_exit STATUS
31898 # -----------------
31899 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31900 as_fn_exit ()
31902 set +e
31903 as_fn_set_status $1
31904 exit $1
31905 } # as_fn_exit
31907 # as_fn_unset VAR
31908 # ---------------
31909 # Portably unset VAR.
31910 as_fn_unset ()
31912 { eval $1=; unset $1;}
31914 as_unset=as_fn_unset
31915 # as_fn_append VAR VALUE
31916 # ----------------------
31917 # Append the text in VALUE to the end of the definition contained in VAR. Take
31918 # advantage of any shell optimizations that allow amortized linear growth over
31919 # repeated appends, instead of the typical quadratic growth present in naive
31920 # implementations.
31921 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31922 eval 'as_fn_append ()
31924 eval $1+=\$2
31926 else
31927 as_fn_append ()
31929 eval $1=\$$1\$2
31931 fi # as_fn_append
31933 # as_fn_arith ARG...
31934 # ------------------
31935 # Perform arithmetic evaluation on the ARGs, and store the result in the
31936 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31937 # must be portable across $(()) and expr.
31938 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31939 eval 'as_fn_arith ()
31941 as_val=$(( $* ))
31943 else
31944 as_fn_arith ()
31946 as_val=`expr "$@" || test $? -eq 1`
31948 fi # as_fn_arith
31951 if expr a : '\(a\)' >/dev/null 2>&1 &&
31952 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31953 as_expr=expr
31954 else
31955 as_expr=false
31958 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31959 as_basename=basename
31960 else
31961 as_basename=false
31964 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31965 as_dirname=dirname
31966 else
31967 as_dirname=false
31970 as_me=`$as_basename -- "$0" ||
31971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31972 X"$0" : 'X\(//\)$' \| \
31973 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31974 $as_echo X/"$0" |
31975 sed '/^.*\/\([^/][^/]*\)\/*$/{
31976 s//\1/
31979 /^X\/\(\/\/\)$/{
31980 s//\1/
31983 /^X\/\(\/\).*/{
31984 s//\1/
31987 s/.*/./; q'`
31989 # Avoid depending upon Character Ranges.
31990 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31991 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31992 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31993 as_cr_digits='0123456789'
31994 as_cr_alnum=$as_cr_Letters$as_cr_digits
31996 ECHO_C= ECHO_N= ECHO_T=
31997 case `echo -n x` in #(((((
31998 -n*)
31999 case `echo 'xy\c'` in
32000 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
32001 xy) ECHO_C='\c';;
32002 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
32003 ECHO_T=' ';;
32004 esac;;
32006 ECHO_N='-n';;
32007 esac
32009 rm -f conf$$ conf$$.exe conf$$.file
32010 if test -d conf$$.dir; then
32011 rm -f conf$$.dir/conf$$.file
32012 else
32013 rm -f conf$$.dir
32014 mkdir conf$$.dir 2>/dev/null
32016 if (echo >conf$$.file) 2>/dev/null; then
32017 if ln -s conf$$.file conf$$ 2>/dev/null; then
32018 as_ln_s='ln -s'
32019 # ... but there are two gotchas:
32020 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32021 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32022 # In both cases, we have to default to `cp -pR'.
32023 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32024 as_ln_s='cp -pR'
32025 elif ln conf$$.file conf$$ 2>/dev/null; then
32026 as_ln_s=ln
32027 else
32028 as_ln_s='cp -pR'
32030 else
32031 as_ln_s='cp -pR'
32033 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32034 rmdir conf$$.dir 2>/dev/null
32037 # as_fn_mkdir_p
32038 # -------------
32039 # Create "$as_dir" as a directory, including parents if necessary.
32040 as_fn_mkdir_p ()
32043 case $as_dir in #(
32044 -*) as_dir=./$as_dir;;
32045 esac
32046 test -d "$as_dir" || eval $as_mkdir_p || {
32047 as_dirs=
32048 while :; do
32049 case $as_dir in #(
32050 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32051 *) as_qdir=$as_dir;;
32052 esac
32053 as_dirs="'$as_qdir' $as_dirs"
32054 as_dir=`$as_dirname -- "$as_dir" ||
32055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32056 X"$as_dir" : 'X\(//\)[^/]' \| \
32057 X"$as_dir" : 'X\(//\)$' \| \
32058 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32059 $as_echo X"$as_dir" |
32060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32061 s//\1/
32064 /^X\(\/\/\)[^/].*/{
32065 s//\1/
32068 /^X\(\/\/\)$/{
32069 s//\1/
32072 /^X\(\/\).*/{
32073 s//\1/
32076 s/.*/./; q'`
32077 test -d "$as_dir" && break
32078 done
32079 test -z "$as_dirs" || eval "mkdir $as_dirs"
32080 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32083 } # as_fn_mkdir_p
32084 if mkdir -p . 2>/dev/null; then
32085 as_mkdir_p='mkdir -p "$as_dir"'
32086 else
32087 test -d ./-p && rmdir ./-p
32088 as_mkdir_p=false
32092 # as_fn_executable_p FILE
32093 # -----------------------
32094 # Test if FILE is an executable regular file.
32095 as_fn_executable_p ()
32097 test -f "$1" && test -x "$1"
32098 } # as_fn_executable_p
32099 as_test_x='test -x'
32100 as_executable_p=as_fn_executable_p
32102 # Sed expression to map a string onto a valid CPP name.
32103 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32105 # Sed expression to map a string onto a valid variable name.
32106 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32109 exec 6>&1
32110 ## ----------------------------------- ##
32111 ## Main body of $CONFIG_STATUS script. ##
32112 ## ----------------------------------- ##
32113 _ASEOF
32114 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32117 # Save the log message, to keep $0 and so on meaningful, and to
32118 # report actual input values of CONFIG_FILES etc. instead of their
32119 # values after options handling.
32120 ac_log="
32121 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32122 generated by GNU Autoconf 2.69. Invocation command line was
32124 CONFIG_FILES = $CONFIG_FILES
32125 CONFIG_HEADERS = $CONFIG_HEADERS
32126 CONFIG_LINKS = $CONFIG_LINKS
32127 CONFIG_COMMANDS = $CONFIG_COMMANDS
32128 $ $0 $@
32130 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32133 _ACEOF
32135 case $ac_config_files in *"
32136 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32137 esac
32139 case $ac_config_headers in *"
32140 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32141 esac
32144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32145 # Files that config.status was made for.
32146 config_files="$ac_config_files"
32147 config_headers="$ac_config_headers"
32148 config_commands="$ac_config_commands"
32150 _ACEOF
32152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32153 ac_cs_usage="\
32154 \`$as_me' instantiates files and other configuration actions
32155 from templates according to the current configuration. Unless the files
32156 and actions are specified as TAGs, all are instantiated by default.
32158 Usage: $0 [OPTION]... [TAG]...
32160 -h, --help print this help, then exit
32161 -V, --version print version number and configuration settings, then exit
32162 --config print configuration, then exit
32163 -q, --quiet, --silent
32164 do not print progress messages
32165 -d, --debug don't remove temporary files
32166 --recheck update $as_me by reconfiguring in the same conditions
32167 --file=FILE[:TEMPLATE]
32168 instantiate the configuration file FILE
32169 --header=FILE[:TEMPLATE]
32170 instantiate the configuration header FILE
32172 Configuration files:
32173 $config_files
32175 Configuration headers:
32176 $config_headers
32178 Configuration commands:
32179 $config_commands
32181 Report bugs to the package provider.
32182 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32183 General help using GNU software: <http://www.gnu.org/gethelp/>."
32185 _ACEOF
32186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32187 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32188 ac_cs_version="\\
32189 GNU Fortran Runtime Library config.status 0.3
32190 configured by $0, generated by GNU Autoconf 2.69,
32191 with options \\"\$ac_cs_config\\"
32193 Copyright (C) 2012 Free Software Foundation, Inc.
32194 This config.status script is free software; the Free Software Foundation
32195 gives unlimited permission to copy, distribute and modify it."
32197 ac_pwd='$ac_pwd'
32198 srcdir='$srcdir'
32199 INSTALL='$INSTALL'
32200 MKDIR_P='$MKDIR_P'
32201 AWK='$AWK'
32202 test -n "\$AWK" || AWK=awk
32203 _ACEOF
32205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32206 # The default lists apply if the user does not specify any file.
32207 ac_need_defaults=:
32208 while test $# != 0
32210 case $1 in
32211 --*=?*)
32212 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32213 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32214 ac_shift=:
32216 --*=)
32217 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32218 ac_optarg=
32219 ac_shift=:
32222 ac_option=$1
32223 ac_optarg=$2
32224 ac_shift=shift
32226 esac
32228 case $ac_option in
32229 # Handling of the options.
32230 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32231 ac_cs_recheck=: ;;
32232 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32233 $as_echo "$ac_cs_version"; exit ;;
32234 --config | --confi | --conf | --con | --co | --c )
32235 $as_echo "$ac_cs_config"; exit ;;
32236 --debug | --debu | --deb | --de | --d | -d )
32237 debug=: ;;
32238 --file | --fil | --fi | --f )
32239 $ac_shift
32240 case $ac_optarg in
32241 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32242 '') as_fn_error $? "missing file argument" ;;
32243 esac
32244 as_fn_append CONFIG_FILES " '$ac_optarg'"
32245 ac_need_defaults=false;;
32246 --header | --heade | --head | --hea )
32247 $ac_shift
32248 case $ac_optarg in
32249 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32250 esac
32251 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32252 ac_need_defaults=false;;
32253 --he | --h)
32254 # Conflict between --help and --header
32255 as_fn_error $? "ambiguous option: \`$1'
32256 Try \`$0 --help' for more information.";;
32257 --help | --hel | -h )
32258 $as_echo "$ac_cs_usage"; exit ;;
32259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32260 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32261 ac_cs_silent=: ;;
32263 # This is an error.
32264 -*) as_fn_error $? "unrecognized option: \`$1'
32265 Try \`$0 --help' for more information." ;;
32267 *) as_fn_append ac_config_targets " $1"
32268 ac_need_defaults=false ;;
32270 esac
32271 shift
32272 done
32274 ac_configure_extra_args=
32276 if $ac_cs_silent; then
32277 exec 6>/dev/null
32278 ac_configure_extra_args="$ac_configure_extra_args --silent"
32281 _ACEOF
32282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32283 if \$ac_cs_recheck; then
32284 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32285 shift
32286 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32287 CONFIG_SHELL='$SHELL'
32288 export CONFIG_SHELL
32289 exec "\$@"
32292 _ACEOF
32293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32294 exec 5>>config.log
32296 echo
32297 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32298 ## Running $as_me. ##
32299 _ASBOX
32300 $as_echo "$ac_log"
32301 } >&5
32303 _ACEOF
32304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32306 # INIT-COMMANDS
32309 srcdir="$srcdir"
32310 host="$host"
32311 target="$target"
32312 with_multisubdir="$with_multisubdir"
32313 with_multisrctop="$with_multisrctop"
32314 with_target_subdir="$with_target_subdir"
32315 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32316 multi_basedir="$multi_basedir"
32317 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32318 CC="$CC"
32319 CXX="$CXX"
32320 GFORTRAN="$GFORTRAN"
32321 GDC="$GDC"
32322 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32325 # The HP-UX ksh and POSIX shell print the target directory to stdout
32326 # if CDPATH is set.
32327 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32329 sed_quote_subst='$sed_quote_subst'
32330 double_quote_subst='$double_quote_subst'
32331 delay_variable_subst='$delay_variable_subst'
32332 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32333 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32334 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32335 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32336 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32337 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32338 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32339 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32340 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32341 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32342 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32343 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32344 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32345 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32346 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32347 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32348 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32349 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32350 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32351 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32352 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32353 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32354 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32355 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32356 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32357 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32358 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32359 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32360 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32361 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32362 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32363 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32364 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32365 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32366 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32367 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32368 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32369 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32370 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32371 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32372 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32373 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32374 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32375 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32376 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32377 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32378 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32379 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32380 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"`'
32381 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32382 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32383 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32384 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32385 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32386 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32387 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32388 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32389 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32390 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32391 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32392 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32393 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32394 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32395 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32396 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32397 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32398 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32399 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32400 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32401 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32402 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32403 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32404 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32405 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32406 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32407 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32408 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32409 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32410 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32411 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32412 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32413 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32414 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32415 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32416 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32417 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32418 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32419 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32420 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32421 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32422 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32423 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32424 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32425 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32426 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32427 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32428 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32429 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32430 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32431 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32432 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32433 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32434 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32435 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32436 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32437 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32438 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32439 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32440 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32441 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32442 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32443 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32444 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32445 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32446 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32447 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32448 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32449 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32450 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32451 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32452 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32453 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32454 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32455 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32456 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32457 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32458 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32459 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32460 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32461 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32462 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32463 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32464 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32465 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32466 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32467 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32468 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32469 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32470 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32471 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32472 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32473 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32474 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32475 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32476 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32477 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32478 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32479 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32480 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32481 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32482 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32483 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32484 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32485 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32486 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32487 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32488 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32489 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32490 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32491 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32492 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32493 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32494 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32495 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32496 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32497 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32498 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32499 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32500 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32501 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32502 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32503 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32504 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32505 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32506 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32508 LTCC='$LTCC'
32509 LTCFLAGS='$LTCFLAGS'
32510 compiler='$compiler_DEFAULT'
32512 # A function that is used when there is no print builtin or printf.
32513 func_fallback_echo ()
32515 eval 'cat <<_LTECHO_EOF
32517 _LTECHO_EOF'
32520 # Quote evaled strings.
32521 for var in SED \
32522 GREP \
32523 EGREP \
32524 FGREP \
32525 SHELL \
32526 ECHO \
32527 LD \
32528 NM \
32529 LN_S \
32530 lt_SP2NL \
32531 lt_NL2SP \
32532 reload_flag \
32533 OBJDUMP \
32534 deplibs_check_method \
32535 file_magic_cmd \
32536 AR \
32537 AR_FLAGS \
32538 STRIP \
32539 RANLIB \
32540 CC \
32541 CFLAGS \
32542 compiler \
32543 lt_cv_sys_global_symbol_pipe \
32544 lt_cv_sys_global_symbol_to_cdecl \
32545 lt_cv_sys_global_symbol_to_c_name_address \
32546 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32547 lt_prog_compiler_no_builtin_flag \
32548 lt_prog_compiler_wl \
32549 lt_prog_compiler_pic \
32550 lt_prog_compiler_static \
32551 lt_cv_prog_compiler_c_o \
32552 need_locks \
32553 DSYMUTIL \
32554 NMEDIT \
32555 LIPO \
32556 OTOOL \
32557 OTOOL64 \
32558 shrext_cmds \
32559 export_dynamic_flag_spec \
32560 whole_archive_flag_spec \
32561 compiler_needs_object \
32562 with_gnu_ld \
32563 allow_undefined_flag \
32564 no_undefined_flag \
32565 hardcode_libdir_flag_spec \
32566 hardcode_libdir_flag_spec_ld \
32567 hardcode_libdir_separator \
32568 fix_srcfile_path \
32569 exclude_expsyms \
32570 include_expsyms \
32571 file_list_spec \
32572 variables_saved_for_relink \
32573 libname_spec \
32574 library_names_spec \
32575 soname_spec \
32576 install_override_mode \
32577 finish_eval \
32578 old_striplib \
32579 striplib \
32580 compiler_lib_search_dirs \
32581 predep_objects \
32582 postdep_objects \
32583 predeps \
32584 postdeps \
32585 compiler_lib_search_path \
32586 LD_FC \
32587 reload_flag_FC \
32588 compiler_FC \
32589 lt_prog_compiler_no_builtin_flag_FC \
32590 lt_prog_compiler_wl_FC \
32591 lt_prog_compiler_pic_FC \
32592 lt_prog_compiler_static_FC \
32593 lt_cv_prog_compiler_c_o_FC \
32594 export_dynamic_flag_spec_FC \
32595 whole_archive_flag_spec_FC \
32596 compiler_needs_object_FC \
32597 with_gnu_ld_FC \
32598 allow_undefined_flag_FC \
32599 no_undefined_flag_FC \
32600 hardcode_libdir_flag_spec_FC \
32601 hardcode_libdir_flag_spec_ld_FC \
32602 hardcode_libdir_separator_FC \
32603 fix_srcfile_path_FC \
32604 exclude_expsyms_FC \
32605 include_expsyms_FC \
32606 file_list_spec_FC \
32607 compiler_lib_search_dirs_FC \
32608 predep_objects_FC \
32609 postdep_objects_FC \
32610 predeps_FC \
32611 postdeps_FC \
32612 compiler_lib_search_path_FC; do
32613 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32614 *[\\\\\\\`\\"\\\$]*)
32615 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32618 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32620 esac
32621 done
32623 # Double-quote double-evaled strings.
32624 for var in reload_cmds \
32625 old_postinstall_cmds \
32626 old_postuninstall_cmds \
32627 old_archive_cmds \
32628 extract_expsyms_cmds \
32629 old_archive_from_new_cmds \
32630 old_archive_from_expsyms_cmds \
32631 archive_cmds \
32632 archive_expsym_cmds \
32633 module_cmds \
32634 module_expsym_cmds \
32635 export_symbols_cmds \
32636 prelink_cmds \
32637 postinstall_cmds \
32638 postuninstall_cmds \
32639 finish_cmds \
32640 sys_lib_search_path_spec \
32641 sys_lib_dlsearch_path_spec \
32642 reload_cmds_FC \
32643 old_archive_cmds_FC \
32644 old_archive_from_new_cmds_FC \
32645 old_archive_from_expsyms_cmds_FC \
32646 archive_cmds_FC \
32647 archive_expsym_cmds_FC \
32648 module_cmds_FC \
32649 module_expsym_cmds_FC \
32650 export_symbols_cmds_FC \
32651 prelink_cmds_FC; do
32652 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32653 *[\\\\\\\`\\"\\\$]*)
32654 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32657 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32659 esac
32660 done
32662 ac_aux_dir='$ac_aux_dir'
32663 xsi_shell='$xsi_shell'
32664 lt_shell_append='$lt_shell_append'
32666 # See if we are running on zsh, and set the options which allow our
32667 # commands through without removal of \ escapes INIT.
32668 if test -n "\${ZSH_VERSION+set}" ; then
32669 setopt NO_GLOB_SUBST
32673 PACKAGE='$PACKAGE'
32674 VERSION='$VERSION'
32675 TIMESTAMP='$TIMESTAMP'
32676 RM='$RM'
32677 ofile='$ofile'
32684 GCC="$GCC"
32685 CC="$CC"
32686 acx_cv_header_stdint="$acx_cv_header_stdint"
32687 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32688 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32689 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32690 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32691 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32692 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32693 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32694 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32695 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32696 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32697 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32698 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32699 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32702 _ACEOF
32704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32706 # Handling of arguments.
32707 for ac_config_target in $ac_config_targets
32709 case $ac_config_target in
32710 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32711 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
32712 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32713 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32714 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
32715 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32716 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
32718 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32719 esac
32720 done
32723 # If the user did not use the arguments to specify the items to instantiate,
32724 # then the envvar interface is used. Set only those that are not.
32725 # We use the long form for the default assignment because of an extremely
32726 # bizarre bug on SunOS 4.1.3.
32727 if $ac_need_defaults; then
32728 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32729 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32730 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32733 # Have a temporary directory for convenience. Make it in the build tree
32734 # simply because there is no reason against having it here, and in addition,
32735 # creating and moving files from /tmp can sometimes cause problems.
32736 # Hook for its removal unless debugging.
32737 # Note that there is a small window in which the directory will not be cleaned:
32738 # after its creation but before its name has been assigned to `$tmp'.
32739 $debug ||
32741 tmp= ac_tmp=
32742 trap 'exit_status=$?
32743 : "${ac_tmp:=$tmp}"
32744 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32746 trap 'as_fn_exit 1' 1 2 13 15
32748 # Create a (secure) tmp directory for tmp files.
32751 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32752 test -d "$tmp"
32753 } ||
32755 tmp=./conf$$-$RANDOM
32756 (umask 077 && mkdir "$tmp")
32757 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32758 ac_tmp=$tmp
32760 # Set up the scripts for CONFIG_FILES section.
32761 # No need to generate them if there are no CONFIG_FILES.
32762 # This happens for instance with `./config.status config.h'.
32763 if test -n "$CONFIG_FILES"; then
32766 ac_cr=`echo X | tr X '\015'`
32767 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32768 # But we know of no other shell where ac_cr would be empty at this
32769 # point, so we can use a bashism as a fallback.
32770 if test "x$ac_cr" = x; then
32771 eval ac_cr=\$\'\\r\'
32773 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32774 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32775 ac_cs_awk_cr='\\r'
32776 else
32777 ac_cs_awk_cr=$ac_cr
32780 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32781 _ACEOF
32785 echo "cat >conf$$subs.awk <<_ACEOF" &&
32786 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32787 echo "_ACEOF"
32788 } >conf$$subs.sh ||
32789 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32790 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32791 ac_delim='%!_!# '
32792 for ac_last_try in false false false false false :; do
32793 . ./conf$$subs.sh ||
32794 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32796 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32797 if test $ac_delim_n = $ac_delim_num; then
32798 break
32799 elif $ac_last_try; then
32800 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32801 else
32802 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32804 done
32805 rm -f conf$$subs.sh
32807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32808 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
32809 _ACEOF
32810 sed -n '
32812 s/^/S["/; s/!.*/"]=/
32815 s/^[^!]*!//
32816 :repl
32817 t repl
32818 s/'"$ac_delim"'$//
32819 t delim
32822 s/\(.\{148\}\)..*/\1/
32823 t more1
32824 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32827 b repl
32828 :more1
32829 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32832 s/.\{148\}//
32833 t nl
32834 :delim
32836 s/\(.\{148\}\)..*/\1/
32837 t more2
32838 s/["\\]/\\&/g; s/^/"/; s/$/"/
32841 :more2
32842 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32845 s/.\{148\}//
32846 t delim
32847 ' <conf$$subs.awk | sed '
32848 /^[^""]/{
32850 s/\n//
32852 ' >>$CONFIG_STATUS || ac_write_fail=1
32853 rm -f conf$$subs.awk
32854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32855 _ACAWK
32856 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
32857 for (key in S) S_is_set[key] = 1
32858 FS = "\a"
32862 line = $ 0
32863 nfields = split(line, field, "@")
32864 substed = 0
32865 len = length(field[1])
32866 for (i = 2; i < nfields; i++) {
32867 key = field[i]
32868 keylen = length(key)
32869 if (S_is_set[key]) {
32870 value = S[key]
32871 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32872 len += length(value) + length(field[++i])
32873 substed = 1
32874 } else
32875 len += 1 + keylen
32878 print line
32881 _ACAWK
32882 _ACEOF
32883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32884 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32885 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32886 else
32888 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
32889 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32890 _ACEOF
32892 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32893 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32894 # trailing colons and then remove the whole line if VPATH becomes empty
32895 # (actually we leave an empty line to preserve line numbers).
32896 if test "x$srcdir" = x.; then
32897 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32899 s///
32900 s/^/:/
32901 s/[ ]*$/:/
32902 s/:\$(srcdir):/:/g
32903 s/:\${srcdir}:/:/g
32904 s/:@srcdir@:/:/g
32905 s/^:*//
32906 s/:*$//
32908 s/\(=[ ]*\).*/\1/
32910 s/\n//
32911 s/^[^=]*=[ ]*$//
32915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32916 fi # test -n "$CONFIG_FILES"
32918 # Set up the scripts for CONFIG_HEADERS section.
32919 # No need to generate them if there are no CONFIG_HEADERS.
32920 # This happens for instance with `./config.status Makefile'.
32921 if test -n "$CONFIG_HEADERS"; then
32922 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
32923 BEGIN {
32924 _ACEOF
32926 # Transform confdefs.h into an awk script `defines.awk', embedded as
32927 # here-document in config.status, that substitutes the proper values into
32928 # config.h.in to produce config.h.
32930 # Create a delimiter string that does not exist in confdefs.h, to ease
32931 # handling of long lines.
32932 ac_delim='%!_!# '
32933 for ac_last_try in false false :; do
32934 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32935 if test -z "$ac_tt"; then
32936 break
32937 elif $ac_last_try; then
32938 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32939 else
32940 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32942 done
32944 # For the awk script, D is an array of macro values keyed by name,
32945 # likewise P contains macro parameters if any. Preserve backslash
32946 # newline sequences.
32948 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32949 sed -n '
32950 s/.\{148\}/&'"$ac_delim"'/g
32951 t rset
32952 :rset
32953 s/^[ ]*#[ ]*define[ ][ ]*/ /
32954 t def
32956 :def
32957 s/\\$//
32958 t bsnl
32959 s/["\\]/\\&/g
32960 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32961 D["\1"]=" \3"/p
32962 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32964 :bsnl
32965 s/["\\]/\\&/g
32966 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32967 D["\1"]=" \3\\\\\\n"\\/p
32968 t cont
32969 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32970 t cont
32972 :cont
32974 s/.\{148\}/&'"$ac_delim"'/g
32975 t clear
32976 :clear
32977 s/\\$//
32978 t bsnlc
32979 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32981 :bsnlc
32982 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32983 b cont
32984 ' <confdefs.h | sed '
32985 s/'"$ac_delim"'/"\\\
32986 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32989 for (key in D) D_is_set[key] = 1
32990 FS = "\a"
32992 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32993 line = \$ 0
32994 split(line, arg, " ")
32995 if (arg[1] == "#") {
32996 defundef = arg[2]
32997 mac1 = arg[3]
32998 } else {
32999 defundef = substr(arg[1], 2)
33000 mac1 = arg[2]
33002 split(mac1, mac2, "(") #)
33003 macro = mac2[1]
33004 prefix = substr(line, 1, index(line, defundef) - 1)
33005 if (D_is_set[macro]) {
33006 # Preserve the white space surrounding the "#".
33007 print prefix "define", macro P[macro] D[macro]
33008 next
33009 } else {
33010 # Replace #undef with comments. This is necessary, for example,
33011 # in the case of _POSIX_SOURCE, which is predefined and required
33012 # on some systems where configure will not decide to define it.
33013 if (defundef == "undef") {
33014 print "/*", prefix defundef, macro, "*/"
33015 next
33019 { print }
33020 _ACAWK
33021 _ACEOF
33022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33023 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
33024 fi # test -n "$CONFIG_HEADERS"
33027 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
33028 shift
33029 for ac_tag
33031 case $ac_tag in
33032 :[FHLC]) ac_mode=$ac_tag; continue;;
33033 esac
33034 case $ac_mode$ac_tag in
33035 :[FHL]*:*);;
33036 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
33037 :[FH]-) ac_tag=-:-;;
33038 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33039 esac
33040 ac_save_IFS=$IFS
33041 IFS=:
33042 set x $ac_tag
33043 IFS=$ac_save_IFS
33044 shift
33045 ac_file=$1
33046 shift
33048 case $ac_mode in
33049 :L) ac_source=$1;;
33050 :[FH])
33051 ac_file_inputs=
33052 for ac_f
33054 case $ac_f in
33055 -) ac_f="$ac_tmp/stdin";;
33056 *) # Look for the file first in the build tree, then in the source tree
33057 # (if the path is not absolute). The absolute path cannot be DOS-style,
33058 # because $ac_f cannot contain `:'.
33059 test -f "$ac_f" ||
33060 case $ac_f in
33061 [\\/$]*) false;;
33062 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33063 esac ||
33064 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33065 esac
33066 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33067 as_fn_append ac_file_inputs " '$ac_f'"
33068 done
33070 # Let's still pretend it is `configure' which instantiates (i.e., don't
33071 # use $as_me), people would be surprised to read:
33072 # /* config.h. Generated by config.status. */
33073 configure_input='Generated from '`
33074 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33075 `' by configure.'
33076 if test x"$ac_file" != x-; then
33077 configure_input="$ac_file. $configure_input"
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33079 $as_echo "$as_me: creating $ac_file" >&6;}
33081 # Neutralize special characters interpreted by sed in replacement strings.
33082 case $configure_input in #(
33083 *\&* | *\|* | *\\* )
33084 ac_sed_conf_input=`$as_echo "$configure_input" |
33085 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33086 *) ac_sed_conf_input=$configure_input;;
33087 esac
33089 case $ac_tag in
33090 *:-:* | *:-) cat >"$ac_tmp/stdin" \
33091 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33092 esac
33094 esac
33096 ac_dir=`$as_dirname -- "$ac_file" ||
33097 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33098 X"$ac_file" : 'X\(//\)[^/]' \| \
33099 X"$ac_file" : 'X\(//\)$' \| \
33100 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33101 $as_echo X"$ac_file" |
33102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33103 s//\1/
33106 /^X\(\/\/\)[^/].*/{
33107 s//\1/
33110 /^X\(\/\/\)$/{
33111 s//\1/
33114 /^X\(\/\).*/{
33115 s//\1/
33118 s/.*/./; q'`
33119 as_dir="$ac_dir"; as_fn_mkdir_p
33120 ac_builddir=.
33122 case "$ac_dir" in
33123 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33125 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33126 # A ".." for each directory in $ac_dir_suffix.
33127 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33128 case $ac_top_builddir_sub in
33129 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33130 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33131 esac ;;
33132 esac
33133 ac_abs_top_builddir=$ac_pwd
33134 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33135 # for backward compatibility:
33136 ac_top_builddir=$ac_top_build_prefix
33138 case $srcdir in
33139 .) # We are building in place.
33140 ac_srcdir=.
33141 ac_top_srcdir=$ac_top_builddir_sub
33142 ac_abs_top_srcdir=$ac_pwd ;;
33143 [\\/]* | ?:[\\/]* ) # Absolute name.
33144 ac_srcdir=$srcdir$ac_dir_suffix;
33145 ac_top_srcdir=$srcdir
33146 ac_abs_top_srcdir=$srcdir ;;
33147 *) # Relative name.
33148 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33149 ac_top_srcdir=$ac_top_build_prefix$srcdir
33150 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33151 esac
33152 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33155 case $ac_mode in
33158 # CONFIG_FILE
33161 case $INSTALL in
33162 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33163 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33164 esac
33165 ac_MKDIR_P=$MKDIR_P
33166 case $MKDIR_P in
33167 [\\/$]* | ?:[\\/]* ) ;;
33168 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33169 esac
33170 _ACEOF
33172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33173 # If the template does not know about datarootdir, expand it.
33174 # FIXME: This hack should be removed a few years after 2.60.
33175 ac_datarootdir_hack=; ac_datarootdir_seen=
33176 ac_sed_dataroot='
33177 /datarootdir/ {
33181 /@datadir@/p
33182 /@docdir@/p
33183 /@infodir@/p
33184 /@localedir@/p
33185 /@mandir@/p'
33186 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33187 *datarootdir*) ac_datarootdir_seen=yes;;
33188 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33190 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33191 _ACEOF
33192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33193 ac_datarootdir_hack='
33194 s&@datadir@&$datadir&g
33195 s&@docdir@&$docdir&g
33196 s&@infodir@&$infodir&g
33197 s&@localedir@&$localedir&g
33198 s&@mandir@&$mandir&g
33199 s&\\\${datarootdir}&$datarootdir&g' ;;
33200 esac
33201 _ACEOF
33203 # Neutralize VPATH when `$srcdir' = `.'.
33204 # Shell code in configure.ac might set extrasub.
33205 # FIXME: do we really want to maintain this feature?
33206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33207 ac_sed_extra="$ac_vpsub
33208 $extrasub
33209 _ACEOF
33210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33212 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33213 s|@configure_input@|$ac_sed_conf_input|;t t
33214 s&@top_builddir@&$ac_top_builddir_sub&;t t
33215 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33216 s&@srcdir@&$ac_srcdir&;t t
33217 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33218 s&@top_srcdir@&$ac_top_srcdir&;t t
33219 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33220 s&@builddir@&$ac_builddir&;t t
33221 s&@abs_builddir@&$ac_abs_builddir&;t t
33222 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33223 s&@INSTALL@&$ac_INSTALL&;t t
33224 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33225 $ac_datarootdir_hack
33227 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33228 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33230 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33231 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33232 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33233 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33235 which seems to be undefined. Please make sure it is defined" >&5
33236 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33237 which seems to be undefined. Please make sure it is defined" >&2;}
33239 rm -f "$ac_tmp/stdin"
33240 case $ac_file in
33241 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33242 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33243 esac \
33244 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33248 # CONFIG_HEADER
33250 if test x"$ac_file" != x-; then
33252 $as_echo "/* $configure_input */" \
33253 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33254 } >"$ac_tmp/config.h" \
33255 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33256 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33258 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33259 else
33260 rm -f "$ac_file"
33261 mv "$ac_tmp/config.h" "$ac_file" \
33262 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33264 else
33265 $as_echo "/* $configure_input */" \
33266 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33267 || as_fn_error $? "could not create -" "$LINENO" 5
33269 # Compute "$ac_file"'s index in $config_headers.
33270 _am_arg="$ac_file"
33271 _am_stamp_count=1
33272 for _am_header in $config_headers :; do
33273 case $_am_header in
33274 $_am_arg | $_am_arg:* )
33275 break ;;
33277 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33278 esac
33279 done
33280 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33281 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33282 X"$_am_arg" : 'X\(//\)[^/]' \| \
33283 X"$_am_arg" : 'X\(//\)$' \| \
33284 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33285 $as_echo X"$_am_arg" |
33286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33287 s//\1/
33290 /^X\(\/\/\)[^/].*/{
33291 s//\1/
33294 /^X\(\/\/\)$/{
33295 s//\1/
33298 /^X\(\/\).*/{
33299 s//\1/
33302 s/.*/./; q'`/stamp-h$_am_stamp_count
33305 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33306 $as_echo "$as_me: executing $ac_file commands" >&6;}
33308 esac
33311 case $ac_file$ac_mode in
33312 "default-1":C)
33313 # Only add multilib support code if we just rebuilt the top-level
33314 # Makefile.
33315 case " $CONFIG_FILES " in
33316 *" Makefile "*)
33317 ac_file=Makefile . ${multi_basedir}/config-ml.in
33319 esac ;;
33320 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33321 # Older Autoconf quotes --file arguments for eval, but not when files
33322 # are listed without --file. Let's play safe and only enable the eval
33323 # if we detect the quoting.
33324 case $CONFIG_FILES in
33325 *\'*) eval set x "$CONFIG_FILES" ;;
33326 *) set x $CONFIG_FILES ;;
33327 esac
33328 shift
33329 for mf
33331 # Strip MF so we end up with the name of the file.
33332 mf=`echo "$mf" | sed -e 's/:.*$//'`
33333 # Check whether this is an Automake generated Makefile or not.
33334 # We used to match only the files named 'Makefile.in', but
33335 # some people rename them; so instead we look at the file content.
33336 # Grep'ing the first line is not enough: some people post-process
33337 # each Makefile.in and add a new line on top of each file to say so.
33338 # Grep'ing the whole file is not good either: AIX grep has a line
33339 # limit of 2048, but all sed's we know have understand at least 4000.
33340 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33341 dirpart=`$as_dirname -- "$mf" ||
33342 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33343 X"$mf" : 'X\(//\)[^/]' \| \
33344 X"$mf" : 'X\(//\)$' \| \
33345 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33346 $as_echo X"$mf" |
33347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33348 s//\1/
33351 /^X\(\/\/\)[^/].*/{
33352 s//\1/
33355 /^X\(\/\/\)$/{
33356 s//\1/
33359 /^X\(\/\).*/{
33360 s//\1/
33363 s/.*/./; q'`
33364 else
33365 continue
33367 # Extract the definition of DEPDIR, am__include, and am__quote
33368 # from the Makefile without running 'make'.
33369 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33370 test -z "$DEPDIR" && continue
33371 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33372 test -z "$am__include" && continue
33373 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33374 # Find all dependency output files, they are included files with
33375 # $(DEPDIR) in their names. We invoke sed twice because it is the
33376 # simplest approach to changing $(DEPDIR) to its actual value in the
33377 # expansion.
33378 for file in `sed -n "
33379 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33380 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33381 # Make sure the directory exists.
33382 test -f "$dirpart/$file" && continue
33383 fdir=`$as_dirname -- "$file" ||
33384 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33385 X"$file" : 'X\(//\)[^/]' \| \
33386 X"$file" : 'X\(//\)$' \| \
33387 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33388 $as_echo X"$file" |
33389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33390 s//\1/
33393 /^X\(\/\/\)[^/].*/{
33394 s//\1/
33397 /^X\(\/\/\)$/{
33398 s//\1/
33401 /^X\(\/\).*/{
33402 s//\1/
33405 s/.*/./; q'`
33406 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33407 # echo "creating $dirpart/$file"
33408 echo '# dummy' > "$dirpart/$file"
33409 done
33410 done
33413 "libtool":C)
33415 # See if we are running on zsh, and set the options which allow our
33416 # commands through without removal of \ escapes.
33417 if test -n "${ZSH_VERSION+set}" ; then
33418 setopt NO_GLOB_SUBST
33421 cfgfile="${ofile}T"
33422 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33423 $RM "$cfgfile"
33425 cat <<_LT_EOF >> "$cfgfile"
33426 #! $SHELL
33428 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33429 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33430 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33431 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33433 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33434 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33435 # Written by Gordon Matzigkeit, 1996
33437 # This file is part of GNU Libtool.
33439 # GNU Libtool is free software; you can redistribute it and/or
33440 # modify it under the terms of the GNU General Public License as
33441 # published by the Free Software Foundation; either version 2 of
33442 # the License, or (at your option) any later version.
33444 # As a special exception to the GNU General Public License,
33445 # if you distribute this file as part of a program or library that
33446 # is built using GNU Libtool, you may include this file under the
33447 # same distribution terms that you use for the rest of that program.
33449 # GNU Libtool is distributed in the hope that it will be useful,
33450 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33451 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33452 # GNU General Public License for more details.
33454 # You should have received a copy of the GNU General Public License
33455 # along with GNU Libtool; see the file COPYING. If not, a copy
33456 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33457 # obtained by writing to the Free Software Foundation, Inc.,
33458 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33461 # The names of the tagged configurations supported by this script.
33462 available_tags="FC "
33464 # ### BEGIN LIBTOOL CONFIG
33466 # A sed program that does not truncate output.
33467 SED=$lt_SED
33469 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33470 Xsed="\$SED -e 1s/^X//"
33472 # A grep program that handles long lines.
33473 GREP=$lt_GREP
33475 # An ERE matcher.
33476 EGREP=$lt_EGREP
33478 # A literal string matcher.
33479 FGREP=$lt_FGREP
33481 # Shell to use when invoking shell scripts.
33482 SHELL=$lt_SHELL
33484 # An echo program that protects backslashes.
33485 ECHO=$lt_ECHO
33487 # Which release of libtool.m4 was used?
33488 macro_version=$macro_version
33489 macro_revision=$macro_revision
33491 # Whether or not to build shared libraries.
33492 build_libtool_libs=$enable_shared
33494 # Whether or not to build static libraries.
33495 build_old_libs=$enable_static
33497 # What type of objects to build.
33498 pic_mode=$pic_mode
33500 # Whether or not to optimize for fast installation.
33501 fast_install=$enable_fast_install
33503 # The host system.
33504 host_alias=$host_alias
33505 host=$host
33506 host_os=$host_os
33508 # The build system.
33509 build_alias=$build_alias
33510 build=$build
33511 build_os=$build_os
33513 # A BSD- or MS-compatible name lister.
33514 NM=$lt_NM
33516 # Whether we need soft or hard links.
33517 LN_S=$lt_LN_S
33519 # What is the maximum length of a command?
33520 max_cmd_len=$max_cmd_len
33522 # Object file suffix (normally "o").
33523 objext=$ac_objext
33525 # Executable file suffix (normally "").
33526 exeext=$exeext
33528 # whether the shell understands "unset".
33529 lt_unset=$lt_unset
33531 # turn spaces into newlines.
33532 SP2NL=$lt_lt_SP2NL
33534 # turn newlines into spaces.
33535 NL2SP=$lt_lt_NL2SP
33537 # An object symbol dumper.
33538 OBJDUMP=$lt_OBJDUMP
33540 # Method to check whether dependent libraries are shared objects.
33541 deplibs_check_method=$lt_deplibs_check_method
33543 # Command to use when deplibs_check_method == "file_magic".
33544 file_magic_cmd=$lt_file_magic_cmd
33546 # The archiver.
33547 AR=$lt_AR
33548 AR_FLAGS=$lt_AR_FLAGS
33550 # A symbol stripping program.
33551 STRIP=$lt_STRIP
33553 # Commands used to install an old-style archive.
33554 RANLIB=$lt_RANLIB
33555 old_postinstall_cmds=$lt_old_postinstall_cmds
33556 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33558 # Whether to use a lock for old archive extraction.
33559 lock_old_archive_extraction=$lock_old_archive_extraction
33561 # A C compiler.
33562 LTCC=$lt_CC
33564 # LTCC compiler flags.
33565 LTCFLAGS=$lt_CFLAGS
33567 # Take the output of nm and produce a listing of raw symbols and C names.
33568 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33570 # Transform the output of nm in a proper C declaration.
33571 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33573 # Transform the output of nm in a C name address pair.
33574 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33576 # Transform the output of nm in a C name address pair when lib prefix is needed.
33577 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33579 # The name of the directory that contains temporary libtool files.
33580 objdir=$objdir
33582 # Used to examine libraries when file_magic_cmd begins with "file".
33583 MAGIC_CMD=$MAGIC_CMD
33585 # Must we lock files when doing compilation?
33586 need_locks=$lt_need_locks
33588 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33589 DSYMUTIL=$lt_DSYMUTIL
33591 # Tool to change global to local symbols on Mac OS X.
33592 NMEDIT=$lt_NMEDIT
33594 # Tool to manipulate fat objects and archives on Mac OS X.
33595 LIPO=$lt_LIPO
33597 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33598 OTOOL=$lt_OTOOL
33600 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33601 OTOOL64=$lt_OTOOL64
33603 # Old archive suffix (normally "a").
33604 libext=$libext
33606 # Shared library suffix (normally ".so").
33607 shrext_cmds=$lt_shrext_cmds
33609 # The commands to extract the exported symbol list from a shared archive.
33610 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33612 # Variables whose values should be saved in libtool wrapper scripts and
33613 # restored at link time.
33614 variables_saved_for_relink=$lt_variables_saved_for_relink
33616 # Do we need the "lib" prefix for modules?
33617 need_lib_prefix=$need_lib_prefix
33619 # Do we need a version for libraries?
33620 need_version=$need_version
33622 # Library versioning type.
33623 version_type=$version_type
33625 # Shared library runtime path variable.
33626 runpath_var=$runpath_var
33628 # Shared library path variable.
33629 shlibpath_var=$shlibpath_var
33631 # Is shlibpath searched before the hard-coded library search path?
33632 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33634 # Format of library name prefix.
33635 libname_spec=$lt_libname_spec
33637 # List of archive names. First name is the real one, the rest are links.
33638 # The last name is the one that the linker finds with -lNAME
33639 library_names_spec=$lt_library_names_spec
33641 # The coded name of the library, if different from the real name.
33642 soname_spec=$lt_soname_spec
33644 # Permission mode override for installation of shared libraries.
33645 install_override_mode=$lt_install_override_mode
33647 # Command to use after installation of a shared archive.
33648 postinstall_cmds=$lt_postinstall_cmds
33650 # Command to use after uninstallation of a shared archive.
33651 postuninstall_cmds=$lt_postuninstall_cmds
33653 # Commands used to finish a libtool library installation in a directory.
33654 finish_cmds=$lt_finish_cmds
33656 # As "finish_cmds", except a single script fragment to be evaled but
33657 # not shown.
33658 finish_eval=$lt_finish_eval
33660 # Whether we should hardcode library paths into libraries.
33661 hardcode_into_libs=$hardcode_into_libs
33663 # Compile-time system search path for libraries.
33664 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33666 # Run-time system search path for libraries.
33667 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33669 # Whether dlopen is supported.
33670 dlopen_support=$enable_dlopen
33672 # Whether dlopen of programs is supported.
33673 dlopen_self=$enable_dlopen_self
33675 # Whether dlopen of statically linked programs is supported.
33676 dlopen_self_static=$enable_dlopen_self_static
33678 # Commands to strip libraries.
33679 old_striplib=$lt_old_striplib
33680 striplib=$lt_striplib
33683 # The linker used to build libraries.
33684 LD=$lt_LD
33686 # How to create reloadable object files.
33687 reload_flag=$lt_reload_flag
33688 reload_cmds=$lt_reload_cmds
33690 # Commands used to build an old-style archive.
33691 old_archive_cmds=$lt_old_archive_cmds
33693 # A language specific compiler.
33694 CC=$lt_compiler
33696 # Is the compiler the GNU compiler?
33697 with_gcc=$GCC
33699 # Compiler flag to turn off builtin functions.
33700 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33702 # How to pass a linker flag through the compiler.
33703 wl=$lt_lt_prog_compiler_wl
33705 # Additional compiler flags for building library objects.
33706 pic_flag=$lt_lt_prog_compiler_pic
33708 # Compiler flag to prevent dynamic linking.
33709 link_static_flag=$lt_lt_prog_compiler_static
33711 # Does compiler simultaneously support -c and -o options?
33712 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33714 # Whether or not to add -lc for building shared libraries.
33715 build_libtool_need_lc=$archive_cmds_need_lc
33717 # Whether or not to disallow shared libs when runtime libs are static.
33718 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33720 # Compiler flag to allow reflexive dlopens.
33721 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33723 # Compiler flag to generate shared objects directly from archives.
33724 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33726 # Whether the compiler copes with passing no objects directly.
33727 compiler_needs_object=$lt_compiler_needs_object
33729 # Create an old-style archive from a shared archive.
33730 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33732 # Create a temporary old-style archive to link instead of a shared archive.
33733 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33735 # Commands used to build a shared archive.
33736 archive_cmds=$lt_archive_cmds
33737 archive_expsym_cmds=$lt_archive_expsym_cmds
33739 # Commands used to build a loadable module if different from building
33740 # a shared archive.
33741 module_cmds=$lt_module_cmds
33742 module_expsym_cmds=$lt_module_expsym_cmds
33744 # Whether we are building with GNU ld or not.
33745 with_gnu_ld=$lt_with_gnu_ld
33747 # Flag that allows shared libraries with undefined symbols to be built.
33748 allow_undefined_flag=$lt_allow_undefined_flag
33750 # Flag that enforces no undefined symbols.
33751 no_undefined_flag=$lt_no_undefined_flag
33753 # Flag to hardcode \$libdir into a binary during linking.
33754 # This must work even if \$libdir does not exist
33755 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33757 # If ld is used when linking, flag to hardcode \$libdir into a binary
33758 # during linking. This must work even if \$libdir does not exist.
33759 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33761 # Whether we need a single "-rpath" flag with a separated argument.
33762 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33764 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33765 # DIR into the resulting binary.
33766 hardcode_direct=$hardcode_direct
33768 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33769 # DIR into the resulting binary and the resulting library dependency is
33770 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33771 # library is relocated.
33772 hardcode_direct_absolute=$hardcode_direct_absolute
33774 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33775 # into the resulting binary.
33776 hardcode_minus_L=$hardcode_minus_L
33778 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33779 # into the resulting binary.
33780 hardcode_shlibpath_var=$hardcode_shlibpath_var
33782 # Set to "yes" if building a shared library automatically hardcodes DIR
33783 # into the library and all subsequent libraries and executables linked
33784 # against it.
33785 hardcode_automatic=$hardcode_automatic
33787 # Set to yes if linker adds runtime paths of dependent libraries
33788 # to runtime path list.
33789 inherit_rpath=$inherit_rpath
33791 # Whether libtool must link a program against all its dependency libraries.
33792 link_all_deplibs=$link_all_deplibs
33794 # Fix the shell variable \$srcfile for the compiler.
33795 fix_srcfile_path=$lt_fix_srcfile_path
33797 # Set to "yes" if exported symbols are required.
33798 always_export_symbols=$always_export_symbols
33800 # The commands to list exported symbols.
33801 export_symbols_cmds=$lt_export_symbols_cmds
33803 # Symbols that should not be listed in the preloaded symbols.
33804 exclude_expsyms=$lt_exclude_expsyms
33806 # Symbols that must always be exported.
33807 include_expsyms=$lt_include_expsyms
33809 # Commands necessary for linking programs (against libraries) with templates.
33810 prelink_cmds=$lt_prelink_cmds
33812 # Specify filename containing input files.
33813 file_list_spec=$lt_file_list_spec
33815 # How to hardcode a shared library path into an executable.
33816 hardcode_action=$hardcode_action
33818 # The directories searched by this compiler when creating a shared library.
33819 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33821 # Dependencies to place before and after the objects being linked to
33822 # create a shared library.
33823 predep_objects=$lt_predep_objects
33824 postdep_objects=$lt_postdep_objects
33825 predeps=$lt_predeps
33826 postdeps=$lt_postdeps
33828 # The library search path used internally by the compiler when linking
33829 # a shared library.
33830 compiler_lib_search_path=$lt_compiler_lib_search_path
33832 # ### END LIBTOOL CONFIG
33834 _LT_EOF
33836 case $host_os in
33837 aix3*)
33838 cat <<\_LT_EOF >> "$cfgfile"
33839 # AIX sometimes has problems with the GCC collect2 program. For some
33840 # reason, if we set the COLLECT_NAMES environment variable, the problems
33841 # vanish in a puff of smoke.
33842 if test "X${COLLECT_NAMES+set}" != Xset; then
33843 COLLECT_NAMES=
33844 export COLLECT_NAMES
33846 _LT_EOF
33848 esac
33851 ltmain="$ac_aux_dir/ltmain.sh"
33854 # We use sed instead of cat because bash on DJGPP gets confused if
33855 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33856 # text mode, it properly converts lines to CR/LF. This bash problem
33857 # is reportedly fixed, but why not run on old versions too?
33858 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33859 || (rm -f "$cfgfile"; exit 1)
33861 case $xsi_shell in
33862 yes)
33863 cat << \_LT_EOF >> "$cfgfile"
33865 # func_dirname file append nondir_replacement
33866 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33867 # otherwise set result to NONDIR_REPLACEMENT.
33868 func_dirname ()
33870 case ${1} in
33871 */*) func_dirname_result="${1%/*}${2}" ;;
33872 * ) func_dirname_result="${3}" ;;
33873 esac
33876 # func_basename file
33877 func_basename ()
33879 func_basename_result="${1##*/}"
33882 # func_dirname_and_basename file append nondir_replacement
33883 # perform func_basename and func_dirname in a single function
33884 # call:
33885 # dirname: Compute the dirname of FILE. If nonempty,
33886 # add APPEND to the result, otherwise set result
33887 # to NONDIR_REPLACEMENT.
33888 # value returned in "$func_dirname_result"
33889 # basename: Compute filename of FILE.
33890 # value retuned in "$func_basename_result"
33891 # Implementation must be kept synchronized with func_dirname
33892 # and func_basename. For efficiency, we do not delegate to
33893 # those functions but instead duplicate the functionality here.
33894 func_dirname_and_basename ()
33896 case ${1} in
33897 */*) func_dirname_result="${1%/*}${2}" ;;
33898 * ) func_dirname_result="${3}" ;;
33899 esac
33900 func_basename_result="${1##*/}"
33903 # func_stripname prefix suffix name
33904 # strip PREFIX and SUFFIX off of NAME.
33905 # PREFIX and SUFFIX must not contain globbing or regex special
33906 # characters, hashes, percent signs, but SUFFIX may contain a leading
33907 # dot (in which case that matches only a dot).
33908 func_stripname ()
33910 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33911 # positional parameters, so assign one to ordinary parameter first.
33912 func_stripname_result=${3}
33913 func_stripname_result=${func_stripname_result#"${1}"}
33914 func_stripname_result=${func_stripname_result%"${2}"}
33917 # func_opt_split
33918 func_opt_split ()
33920 func_opt_split_opt=${1%%=*}
33921 func_opt_split_arg=${1#*=}
33924 # func_lo2o object
33925 func_lo2o ()
33927 case ${1} in
33928 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33929 *) func_lo2o_result=${1} ;;
33930 esac
33933 # func_xform libobj-or-source
33934 func_xform ()
33936 func_xform_result=${1%.*}.lo
33939 # func_arith arithmetic-term...
33940 func_arith ()
33942 func_arith_result=$(( $* ))
33945 # func_len string
33946 # STRING may not start with a hyphen.
33947 func_len ()
33949 func_len_result=${#1}
33952 _LT_EOF
33954 *) # Bourne compatible functions.
33955 cat << \_LT_EOF >> "$cfgfile"
33957 # func_dirname file append nondir_replacement
33958 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33959 # otherwise set result to NONDIR_REPLACEMENT.
33960 func_dirname ()
33962 # Extract subdirectory from the argument.
33963 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
33964 if test "X$func_dirname_result" = "X${1}"; then
33965 func_dirname_result="${3}"
33966 else
33967 func_dirname_result="$func_dirname_result${2}"
33971 # func_basename file
33972 func_basename ()
33974 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
33978 # func_stripname prefix suffix name
33979 # strip PREFIX and SUFFIX off of NAME.
33980 # PREFIX and SUFFIX must not contain globbing or regex special
33981 # characters, hashes, percent signs, but SUFFIX may contain a leading
33982 # dot (in which case that matches only a dot).
33983 # func_strip_suffix prefix name
33984 func_stripname ()
33986 case ${2} in
33987 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33988 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33989 esac
33992 # sed scripts:
33993 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33994 my_sed_long_arg='1s/^-[^=]*=//'
33996 # func_opt_split
33997 func_opt_split ()
33999 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
34000 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
34003 # func_lo2o object
34004 func_lo2o ()
34006 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
34009 # func_xform libobj-or-source
34010 func_xform ()
34012 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
34015 # func_arith arithmetic-term...
34016 func_arith ()
34018 func_arith_result=`expr "$@"`
34021 # func_len string
34022 # STRING may not start with a hyphen.
34023 func_len ()
34025 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
34028 _LT_EOF
34029 esac
34031 case $lt_shell_append in
34032 yes)
34033 cat << \_LT_EOF >> "$cfgfile"
34035 # func_append var value
34036 # Append VALUE to the end of shell variable VAR.
34037 func_append ()
34039 eval "$1+=\$2"
34041 _LT_EOF
34044 cat << \_LT_EOF >> "$cfgfile"
34046 # func_append var value
34047 # Append VALUE to the end of shell variable VAR.
34048 func_append ()
34050 eval "$1=\$$1\$2"
34053 _LT_EOF
34055 esac
34058 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
34059 || (rm -f "$cfgfile"; exit 1)
34061 mv -f "$cfgfile" "$ofile" ||
34062 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34063 chmod +x "$ofile"
34066 cat <<_LT_EOF >> "$ofile"
34068 # ### BEGIN LIBTOOL TAG CONFIG: FC
34070 # The linker used to build libraries.
34071 LD=$lt_LD_FC
34073 # How to create reloadable object files.
34074 reload_flag=$lt_reload_flag_FC
34075 reload_cmds=$lt_reload_cmds_FC
34077 # Commands used to build an old-style archive.
34078 old_archive_cmds=$lt_old_archive_cmds_FC
34080 # A language specific compiler.
34081 CC=$lt_compiler_FC
34083 # Is the compiler the GNU compiler?
34084 with_gcc=$GCC_FC
34086 # Compiler flag to turn off builtin functions.
34087 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
34089 # How to pass a linker flag through the compiler.
34090 wl=$lt_lt_prog_compiler_wl_FC
34092 # Additional compiler flags for building library objects.
34093 pic_flag=$lt_lt_prog_compiler_pic_FC
34095 # Compiler flag to prevent dynamic linking.
34096 link_static_flag=$lt_lt_prog_compiler_static_FC
34098 # Does compiler simultaneously support -c and -o options?
34099 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
34101 # Whether or not to add -lc for building shared libraries.
34102 build_libtool_need_lc=$archive_cmds_need_lc_FC
34104 # Whether or not to disallow shared libs when runtime libs are static.
34105 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
34107 # Compiler flag to allow reflexive dlopens.
34108 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
34110 # Compiler flag to generate shared objects directly from archives.
34111 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34113 # Whether the compiler copes with passing no objects directly.
34114 compiler_needs_object=$lt_compiler_needs_object_FC
34116 # Create an old-style archive from a shared archive.
34117 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34119 # Create a temporary old-style archive to link instead of a shared archive.
34120 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34122 # Commands used to build a shared archive.
34123 archive_cmds=$lt_archive_cmds_FC
34124 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34126 # Commands used to build a loadable module if different from building
34127 # a shared archive.
34128 module_cmds=$lt_module_cmds_FC
34129 module_expsym_cmds=$lt_module_expsym_cmds_FC
34131 # Whether we are building with GNU ld or not.
34132 with_gnu_ld=$lt_with_gnu_ld_FC
34134 # Flag that allows shared libraries with undefined symbols to be built.
34135 allow_undefined_flag=$lt_allow_undefined_flag_FC
34137 # Flag that enforces no undefined symbols.
34138 no_undefined_flag=$lt_no_undefined_flag_FC
34140 # Flag to hardcode \$libdir into a binary during linking.
34141 # This must work even if \$libdir does not exist
34142 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34144 # If ld is used when linking, flag to hardcode \$libdir into a binary
34145 # during linking. This must work even if \$libdir does not exist.
34146 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34148 # Whether we need a single "-rpath" flag with a separated argument.
34149 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34151 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34152 # DIR into the resulting binary.
34153 hardcode_direct=$hardcode_direct_FC
34155 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34156 # DIR into the resulting binary and the resulting library dependency is
34157 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34158 # library is relocated.
34159 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34161 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34162 # into the resulting binary.
34163 hardcode_minus_L=$hardcode_minus_L_FC
34165 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34166 # into the resulting binary.
34167 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34169 # Set to "yes" if building a shared library automatically hardcodes DIR
34170 # into the library and all subsequent libraries and executables linked
34171 # against it.
34172 hardcode_automatic=$hardcode_automatic_FC
34174 # Set to yes if linker adds runtime paths of dependent libraries
34175 # to runtime path list.
34176 inherit_rpath=$inherit_rpath_FC
34178 # Whether libtool must link a program against all its dependency libraries.
34179 link_all_deplibs=$link_all_deplibs_FC
34181 # Fix the shell variable \$srcfile for the compiler.
34182 fix_srcfile_path=$lt_fix_srcfile_path_FC
34184 # Set to "yes" if exported symbols are required.
34185 always_export_symbols=$always_export_symbols_FC
34187 # The commands to list exported symbols.
34188 export_symbols_cmds=$lt_export_symbols_cmds_FC
34190 # Symbols that should not be listed in the preloaded symbols.
34191 exclude_expsyms=$lt_exclude_expsyms_FC
34193 # Symbols that must always be exported.
34194 include_expsyms=$lt_include_expsyms_FC
34196 # Commands necessary for linking programs (against libraries) with templates.
34197 prelink_cmds=$lt_prelink_cmds_FC
34199 # Specify filename containing input files.
34200 file_list_spec=$lt_file_list_spec_FC
34202 # How to hardcode a shared library path into an executable.
34203 hardcode_action=$hardcode_action_FC
34205 # The directories searched by this compiler when creating a shared library.
34206 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34208 # Dependencies to place before and after the objects being linked to
34209 # create a shared library.
34210 predep_objects=$lt_predep_objects_FC
34211 postdep_objects=$lt_postdep_objects_FC
34212 predeps=$lt_predeps_FC
34213 postdeps=$lt_postdeps_FC
34215 # The library search path used internally by the compiler when linking
34216 # a shared library.
34217 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34219 # ### END LIBTOOL TAG CONFIG: FC
34220 _LT_EOF
34223 "gstdint.h":C)
34224 if test "$GCC" = yes; then
34225 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34226 else
34227 echo "/* generated for $CC */" > tmp-stdint.h
34230 sed 's/^ *//' >> tmp-stdint.h <<EOF
34232 #ifndef GCC_GENERATED_STDINT_H
34233 #define GCC_GENERATED_STDINT_H 1
34235 #include <sys/types.h>
34238 if test "$acx_cv_header_stdint" != stdint.h; then
34239 echo "#include <stddef.h>" >> tmp-stdint.h
34241 if test "$acx_cv_header_stdint" != stddef.h; then
34242 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34245 sed 's/^ *//' >> tmp-stdint.h <<EOF
34246 /* glibc uses these symbols as guards to prevent redefinitions. */
34247 #ifdef __int8_t_defined
34248 #define _INT8_T
34249 #define _INT16_T
34250 #define _INT32_T
34251 #endif
34252 #ifdef __uint32_t_defined
34253 #define _UINT32_T
34254 #endif
34258 # ----------------- done header, emit basic int types -------------
34259 if test "$acx_cv_header_stdint" = stddef.h; then
34260 sed 's/^ *//' >> tmp-stdint.h <<EOF
34262 #ifndef _UINT8_T
34263 #define _UINT8_T
34264 #ifndef __uint8_t_defined
34265 #define __uint8_t_defined
34266 #ifndef uint8_t
34267 typedef unsigned $acx_cv_type_int8_t uint8_t;
34268 #endif
34269 #endif
34270 #endif
34272 #ifndef _UINT16_T
34273 #define _UINT16_T
34274 #ifndef __uint16_t_defined
34275 #define __uint16_t_defined
34276 #ifndef uint16_t
34277 typedef unsigned $acx_cv_type_int16_t uint16_t;
34278 #endif
34279 #endif
34280 #endif
34282 #ifndef _UINT32_T
34283 #define _UINT32_T
34284 #ifndef __uint32_t_defined
34285 #define __uint32_t_defined
34286 #ifndef uint32_t
34287 typedef unsigned $acx_cv_type_int32_t uint32_t;
34288 #endif
34289 #endif
34290 #endif
34292 #ifndef _INT8_T
34293 #define _INT8_T
34294 #ifndef __int8_t_defined
34295 #define __int8_t_defined
34296 #ifndef int8_t
34297 typedef $acx_cv_type_int8_t int8_t;
34298 #endif
34299 #endif
34300 #endif
34302 #ifndef _INT16_T
34303 #define _INT16_T
34304 #ifndef __int16_t_defined
34305 #define __int16_t_defined
34306 #ifndef int16_t
34307 typedef $acx_cv_type_int16_t int16_t;
34308 #endif
34309 #endif
34310 #endif
34312 #ifndef _INT32_T
34313 #define _INT32_T
34314 #ifndef __int32_t_defined
34315 #define __int32_t_defined
34316 #ifndef int32_t
34317 typedef $acx_cv_type_int32_t int32_t;
34318 #endif
34319 #endif
34320 #endif
34322 elif test "$ac_cv_type_u_int32_t" = yes; then
34323 sed 's/^ *//' >> tmp-stdint.h <<EOF
34325 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34326 #ifndef _INT8_T
34327 #define _INT8_T
34328 #endif
34329 #ifndef _INT16_T
34330 #define _INT16_T
34331 #endif
34332 #ifndef _INT32_T
34333 #define _INT32_T
34334 #endif
34336 #ifndef _UINT8_T
34337 #define _UINT8_T
34338 #ifndef __uint8_t_defined
34339 #define __uint8_t_defined
34340 #ifndef uint8_t
34341 typedef u_int8_t uint8_t;
34342 #endif
34343 #endif
34344 #endif
34346 #ifndef _UINT16_T
34347 #define _UINT16_T
34348 #ifndef __uint16_t_defined
34349 #define __uint16_t_defined
34350 #ifndef uint16_t
34351 typedef u_int16_t uint16_t;
34352 #endif
34353 #endif
34354 #endif
34356 #ifndef _UINT32_T
34357 #define _UINT32_T
34358 #ifndef __uint32_t_defined
34359 #define __uint32_t_defined
34360 #ifndef uint32_t
34361 typedef u_int32_t uint32_t;
34362 #endif
34363 #endif
34364 #endif
34366 else
34367 sed 's/^ *//' >> tmp-stdint.h <<EOF
34369 /* Some systems have guard macros to prevent redefinitions, define them. */
34370 #ifndef _INT8_T
34371 #define _INT8_T
34372 #endif
34373 #ifndef _INT16_T
34374 #define _INT16_T
34375 #endif
34376 #ifndef _INT32_T
34377 #define _INT32_T
34378 #endif
34379 #ifndef _UINT8_T
34380 #define _UINT8_T
34381 #endif
34382 #ifndef _UINT16_T
34383 #define _UINT16_T
34384 #endif
34385 #ifndef _UINT32_T
34386 #define _UINT32_T
34387 #endif
34391 # ------------- done basic int types, emit int64_t types ------------
34392 if test "$ac_cv_type_uint64_t" = yes; then
34393 sed 's/^ *//' >> tmp-stdint.h <<EOF
34395 /* system headers have good uint64_t and int64_t */
34396 #ifndef _INT64_T
34397 #define _INT64_T
34398 #endif
34399 #ifndef _UINT64_T
34400 #define _UINT64_T
34401 #endif
34403 elif test "$ac_cv_type_u_int64_t" = yes; then
34404 sed 's/^ *//' >> tmp-stdint.h <<EOF
34406 /* system headers have an u_int64_t (and int64_t) */
34407 #ifndef _INT64_T
34408 #define _INT64_T
34409 #endif
34410 #ifndef _UINT64_T
34411 #define _UINT64_T
34412 #ifndef __uint64_t_defined
34413 #define __uint64_t_defined
34414 #ifndef uint64_t
34415 typedef u_int64_t uint64_t;
34416 #endif
34417 #endif
34418 #endif
34420 elif test -n "$acx_cv_type_int64_t"; then
34421 sed 's/^ *//' >> tmp-stdint.h <<EOF
34423 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34424 #ifndef _INT64_T
34425 #define _INT64_T
34426 #ifndef int64_t
34427 typedef $acx_cv_type_int64_t int64_t;
34428 #endif
34429 #endif
34430 #ifndef _UINT64_T
34431 #define _UINT64_T
34432 #ifndef __uint64_t_defined
34433 #define __uint64_t_defined
34434 #ifndef uint64_t
34435 typedef unsigned $acx_cv_type_int64_t uint64_t;
34436 #endif
34437 #endif
34438 #endif
34440 else
34441 sed 's/^ *//' >> tmp-stdint.h <<EOF
34443 /* some common heuristics for int64_t, using compiler-specific tests */
34444 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34445 #ifndef _INT64_T
34446 #define _INT64_T
34447 #ifndef __int64_t_defined
34448 #ifndef int64_t
34449 typedef long long int64_t;
34450 #endif
34451 #endif
34452 #endif
34453 #ifndef _UINT64_T
34454 #define _UINT64_T
34455 #ifndef uint64_t
34456 typedef unsigned long long uint64_t;
34457 #endif
34458 #endif
34460 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34461 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34462 does not implement __extension__. But that compiler doesn't define
34463 __GNUC_MINOR__. */
34464 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34465 # define __extension__
34466 # endif
34468 # ifndef _INT64_T
34469 # define _INT64_T
34470 # ifndef int64_t
34471 __extension__ typedef long long int64_t;
34472 # endif
34473 # endif
34474 # ifndef _UINT64_T
34475 # define _UINT64_T
34476 # ifndef uint64_t
34477 __extension__ typedef unsigned long long uint64_t;
34478 # endif
34479 # endif
34481 #elif !defined __STRICT_ANSI__
34482 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34484 # ifndef _INT64_T
34485 # define _INT64_T
34486 # ifndef int64_t
34487 typedef __int64 int64_t;
34488 # endif
34489 # endif
34490 # ifndef _UINT64_T
34491 # define _UINT64_T
34492 # ifndef uint64_t
34493 typedef unsigned __int64 uint64_t;
34494 # endif
34495 # endif
34496 # endif /* compiler */
34498 #endif /* ANSI version */
34502 # ------------- done int64_t types, emit intptr types ------------
34503 if test "$ac_cv_type_uintptr_t" != yes; then
34504 sed 's/^ *//' >> tmp-stdint.h <<EOF
34506 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34507 #ifndef __uintptr_t_defined
34508 #ifndef uintptr_t
34509 typedef u$acx_cv_type_intptr_t uintptr_t;
34510 #endif
34511 #endif
34512 #ifndef __intptr_t_defined
34513 #ifndef intptr_t
34514 typedef $acx_cv_type_intptr_t intptr_t;
34515 #endif
34516 #endif
34520 # ------------- done intptr types, emit int_least types ------------
34521 if test "$ac_cv_type_int_least32_t" != yes; then
34522 sed 's/^ *//' >> tmp-stdint.h <<EOF
34524 /* Define int_least types */
34525 typedef int8_t int_least8_t;
34526 typedef int16_t int_least16_t;
34527 typedef int32_t int_least32_t;
34528 #ifdef _INT64_T
34529 typedef int64_t int_least64_t;
34530 #endif
34532 typedef uint8_t uint_least8_t;
34533 typedef uint16_t uint_least16_t;
34534 typedef uint32_t uint_least32_t;
34535 #ifdef _UINT64_T
34536 typedef uint64_t uint_least64_t;
34537 #endif
34541 # ------------- done intptr types, emit int_fast types ------------
34542 if test "$ac_cv_type_int_fast32_t" != yes; then
34543 sed 's/^ *//' >> tmp-stdint.h <<EOF
34545 /* Define int_fast types. short is often slow */
34546 typedef int8_t int_fast8_t;
34547 typedef int int_fast16_t;
34548 typedef int32_t int_fast32_t;
34549 #ifdef _INT64_T
34550 typedef int64_t int_fast64_t;
34551 #endif
34553 typedef uint8_t uint_fast8_t;
34554 typedef unsigned int uint_fast16_t;
34555 typedef uint32_t uint_fast32_t;
34556 #ifdef _UINT64_T
34557 typedef uint64_t uint_fast64_t;
34558 #endif
34562 if test "$ac_cv_type_uintmax_t" != yes; then
34563 sed 's/^ *//' >> tmp-stdint.h <<EOF
34565 /* Define intmax based on what we found */
34566 #ifndef intmax_t
34567 #ifdef _INT64_T
34568 typedef int64_t intmax_t;
34569 #else
34570 typedef long intmax_t;
34571 #endif
34572 #endif
34573 #ifndef uintmax_t
34574 #ifdef _UINT64_T
34575 typedef uint64_t uintmax_t;
34576 #else
34577 typedef unsigned long uintmax_t;
34578 #endif
34579 #endif
34583 sed 's/^ *//' >> tmp-stdint.h <<EOF
34585 #endif /* GCC_GENERATED_STDINT_H */
34588 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
34589 rm -f tmp-stdint.h
34590 else
34591 mv -f tmp-stdint.h gstdint.h
34596 esac
34597 done # for ac_tag
34600 as_fn_exit 0
34601 _ACEOF
34602 ac_clean_files=$ac_clean_files_save
34604 test $ac_write_fail = 0 ||
34605 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34608 # configure is writing to config.log, and then calls config.status.
34609 # config.status does its own redirection, appending to config.log.
34610 # Unfortunately, on DOS this fails, as config.log is still kept open
34611 # by configure, so config.status won't be able to write to it; its
34612 # output is simply discarded. So we exec the FD to /dev/null,
34613 # effectively closing config.log, so it can be properly (re)opened and
34614 # appended to by config.status. When coming back to configure, we
34615 # need to make the FD available again.
34616 if test "$no_create" != yes; then
34617 ac_cs_success=:
34618 ac_config_status_args=
34619 test "$silent" = yes &&
34620 ac_config_status_args="$ac_config_status_args --quiet"
34621 exec 5>/dev/null
34622 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34623 exec 5>>config.log
34624 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34625 # would make configure fail if this is the last instruction.
34626 $ac_cs_success || as_fn_exit 1
34628 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34630 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}