Fix SLP of masked loads
[official-gcc.git] / libgfortran / configure
blob774dd52fc95dec5c0e5eade832abc62a685df596
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 # For GPU offloading, not everything in libfortran can be supported.
6211 # Currently, the only target that has this problem is nvptx. The
6212 # following is a (partial) list of features that are unsupportable on
6213 # this particular target:
6214 # * Constructors
6215 # * alloca
6216 # * C library support for I/O, with printf as the one notable exception
6217 # * C library support for other features such as signal, environment
6218 # variables, time functions
6220 if test "x${target_cpu}" = xnvptx; then
6221 LIBGFOR_MINIMAL_TRUE=
6222 LIBGFOR_MINIMAL_FALSE='#'
6223 else
6224 LIBGFOR_MINIMAL_TRUE='#'
6225 LIBGFOR_MINIMAL_FALSE=
6229 # Some compiler target support may have limited support for integer
6230 # or floating point numbers – or may want to reduce the libgfortran size
6231 # although they do have the support.
6232 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6233 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6238 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6239 # similarly to how libstdc++ does it
6240 ac_test_CFLAGS="${CFLAGS+set}"
6241 ac_save_CFLAGS="$CFLAGS"
6243 # Check for -ffunction-sections -fdata-sections
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6245 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6246 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6251 main ()
6253 int foo;
6255 return 0;
6257 _ACEOF
6258 if ac_fn_c_try_compile "$LINENO"; then :
6259 ac_fdsections=yes
6260 else
6261 ac_fdsections=no
6263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6264 if test "$ac_test_CFLAGS" = set; then
6265 CFLAGS="$ac_save_CFLAGS"
6266 else
6267 # this is the suspicious part
6268 CFLAGS=""
6270 if test x"$ac_fdsections" = x"yes"; then
6271 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6274 $as_echo "$ac_fdsections" >&6; }
6277 # Check linker hardware capability support.
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6279 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6280 if ${ac_cv_path_SED+:} false; then :
6281 $as_echo_n "(cached) " >&6
6282 else
6283 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6284 for ac_i in 1 2 3 4 5 6 7; do
6285 ac_script="$ac_script$as_nl$ac_script"
6286 done
6287 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6288 { ac_script=; unset ac_script;}
6289 if test -z "$SED"; then
6290 ac_path_SED_found=false
6291 # Loop through the user's path and test for each of PROGNAME-LIST
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 for as_dir in $PATH
6295 IFS=$as_save_IFS
6296 test -z "$as_dir" && as_dir=.
6297 for ac_prog in sed gsed; do
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6300 as_fn_executable_p "$ac_path_SED" || continue
6301 # Check for GNU ac_path_SED and select it if it is found.
6302 # Check for GNU $ac_path_SED
6303 case `"$ac_path_SED" --version 2>&1` in
6304 *GNU*)
6305 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6307 ac_count=0
6308 $as_echo_n 0123456789 >"conftest.in"
6309 while :
6311 cat "conftest.in" "conftest.in" >"conftest.tmp"
6312 mv "conftest.tmp" "conftest.in"
6313 cp "conftest.in" "conftest.nl"
6314 $as_echo '' >> "conftest.nl"
6315 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6316 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6317 as_fn_arith $ac_count + 1 && ac_count=$as_val
6318 if test $ac_count -gt ${ac_path_SED_max-0}; then
6319 # Best one so far, save it but keep looking for a better one
6320 ac_cv_path_SED="$ac_path_SED"
6321 ac_path_SED_max=$ac_count
6323 # 10*(2^10) chars as input seems more than enough
6324 test $ac_count -gt 10 && break
6325 done
6326 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6327 esac
6329 $ac_path_SED_found && break 3
6330 done
6331 done
6332 done
6333 IFS=$as_save_IFS
6334 if test -z "$ac_cv_path_SED"; then
6335 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6337 else
6338 ac_cv_path_SED=$SED
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6343 $as_echo "$ac_cv_path_SED" >&6; }
6344 SED="$ac_cv_path_SED"
6345 rm -f conftest.sed
6347 test -z "$SED" && SED=sed
6348 Xsed="$SED -e 1s/^X//"
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6361 $as_echo_n "checking for fgrep... " >&6; }
6362 if ${ac_cv_path_FGREP+:} false; then :
6363 $as_echo_n "(cached) " >&6
6364 else
6365 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6366 then ac_cv_path_FGREP="$GREP -F"
6367 else
6368 if test -z "$FGREP"; then
6369 ac_path_FGREP_found=false
6370 # Loop through the user's path and test for each of PROGNAME-LIST
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6374 IFS=$as_save_IFS
6375 test -z "$as_dir" && as_dir=.
6376 for ac_prog in fgrep; do
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6379 as_fn_executable_p "$ac_path_FGREP" || continue
6380 # Check for GNU ac_path_FGREP and select it if it is found.
6381 # Check for GNU $ac_path_FGREP
6382 case `"$ac_path_FGREP" --version 2>&1` in
6383 *GNU*)
6384 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6386 ac_count=0
6387 $as_echo_n 0123456789 >"conftest.in"
6388 while :
6390 cat "conftest.in" "conftest.in" >"conftest.tmp"
6391 mv "conftest.tmp" "conftest.in"
6392 cp "conftest.in" "conftest.nl"
6393 $as_echo 'FGREP' >> "conftest.nl"
6394 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6396 as_fn_arith $ac_count + 1 && ac_count=$as_val
6397 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6398 # Best one so far, save it but keep looking for a better one
6399 ac_cv_path_FGREP="$ac_path_FGREP"
6400 ac_path_FGREP_max=$ac_count
6402 # 10*(2^10) chars as input seems more than enough
6403 test $ac_count -gt 10 && break
6404 done
6405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6406 esac
6408 $ac_path_FGREP_found && break 3
6409 done
6410 done
6411 done
6412 IFS=$as_save_IFS
6413 if test -z "$ac_cv_path_FGREP"; then
6414 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6416 else
6417 ac_cv_path_FGREP=$FGREP
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6423 $as_echo "$ac_cv_path_FGREP" >&6; }
6424 FGREP="$ac_cv_path_FGREP"
6427 test -z "$GREP" && GREP=grep
6445 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6446 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6447 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6450 $as_echo_n "checking how to print strings... " >&6; }
6451 # Test print first, because it will be a builtin if present.
6452 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6453 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6454 ECHO='print -r --'
6455 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6456 ECHO='printf %s\n'
6457 else
6458 # Use this function as a fallback that always works.
6459 func_fallback_echo ()
6461 eval 'cat <<_LTECHO_EOF
6463 _LTECHO_EOF'
6465 ECHO='func_fallback_echo'
6468 # func_echo_all arg...
6469 # Invoke $ECHO with all args, space-separated.
6470 func_echo_all ()
6472 $ECHO ""
6475 case "$ECHO" in
6476 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6477 $as_echo "printf" >&6; } ;;
6478 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6479 $as_echo "print -r" >&6; } ;;
6480 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6481 $as_echo "cat" >&6; } ;;
6482 esac
6499 # Check whether --with-gnu-ld was given.
6500 if test "${with_gnu_ld+set}" = set; then :
6501 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6502 else
6503 with_gnu_ld=no
6506 ac_prog=ld
6507 if test "$GCC" = yes; then
6508 # Check if gcc -print-prog-name=ld gives a path.
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6510 $as_echo_n "checking for ld used by $CC... " >&6; }
6511 case $host in
6512 *-*-mingw*)
6513 # gcc leaves a trailing carriage return which upsets mingw
6514 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6516 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6517 esac
6518 case $ac_prog in
6519 # Accept absolute paths.
6520 [\\/]* | ?:[\\/]*)
6521 re_direlt='/[^/][^/]*/\.\./'
6522 # Canonicalize the pathname of ld
6523 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6524 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6525 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6526 done
6527 test -z "$LD" && LD="$ac_prog"
6530 # If it fails, then pretend we aren't using GCC.
6531 ac_prog=ld
6534 # If it is relative, then search for the first ld in PATH.
6535 with_gnu_ld=unknown
6537 esac
6538 elif test "$with_gnu_ld" = yes; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6540 $as_echo_n "checking for GNU ld... " >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6543 $as_echo_n "checking for non-GNU ld... " >&6; }
6545 if ${lt_cv_path_LD+:} false; then :
6546 $as_echo_n "(cached) " >&6
6547 else
6548 if test -z "$LD"; then
6549 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6550 for ac_dir in $PATH; do
6551 IFS="$lt_save_ifs"
6552 test -z "$ac_dir" && ac_dir=.
6553 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6554 lt_cv_path_LD="$ac_dir/$ac_prog"
6555 # Check to see if the program is GNU ld. I'd rather use --version,
6556 # but apparently some variants of GNU ld only accept -v.
6557 # Break only if it was the GNU/non-GNU ld that we prefer.
6558 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6559 *GNU* | *'with BFD'*)
6560 test "$with_gnu_ld" != no && break
6563 test "$with_gnu_ld" != yes && break
6565 esac
6567 done
6568 IFS="$lt_save_ifs"
6569 else
6570 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6574 LD="$lt_cv_path_LD"
6575 if test -n "$LD"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6577 $as_echo "$LD" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6582 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6584 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6585 if ${lt_cv_prog_gnu_ld+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6589 case `$LD -v 2>&1 </dev/null` in
6590 *GNU* | *'with BFD'*)
6591 lt_cv_prog_gnu_ld=yes
6594 lt_cv_prog_gnu_ld=no
6596 esac
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6599 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6600 with_gnu_ld=$lt_cv_prog_gnu_ld
6611 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6614 ac_save_LDFLAGS="$LDFLAGS"
6615 LDFLAGS="$LFLAGS -mclear-hwcap"
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6618 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6619 if test x$gcc_no_link = xyes; then
6620 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6626 main ()
6628 return 0;
6630 return 0;
6632 _ACEOF
6633 if ac_fn_c_try_link "$LINENO"; then :
6634 ac_hwcap_ldflags=yes
6635 else
6636 ac_hwcap_ldflags=no
6638 rm -f core conftest.err conftest.$ac_objext \
6639 conftest$ac_exeext conftest.$ac_ext
6640 if test "$ac_hwcap_ldflags" = "yes"; then
6641 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6644 $as_echo "$ac_hwcap_ldflags" >&6; }
6646 LDFLAGS="$ac_save_LDFLAGS"
6650 if test $ac_hwcap_ldflags != no; then
6651 HAVE_HWCAP_TRUE=
6652 HAVE_HWCAP_FALSE='#'
6653 else
6654 HAVE_HWCAP_TRUE='#'
6655 HAVE_HWCAP_FALSE=
6660 # Find other programs we need.
6661 if test -n "$ac_tool_prefix"; then
6662 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6663 set dummy ${ac_tool_prefix}as; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if ${ac_cv_prog_AS+:} false; then :
6667 $as_echo_n "(cached) " >&6
6668 else
6669 if test -n "$AS"; then
6670 ac_cv_prog_AS="$AS" # Let the user override the test.
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6679 ac_cv_prog_AS="${ac_tool_prefix}as"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 break 2
6683 done
6684 done
6685 IFS=$as_save_IFS
6689 AS=$ac_cv_prog_AS
6690 if test -n "$AS"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6692 $as_echo "$AS" >&6; }
6693 else
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6700 if test -z "$ac_cv_prog_AS"; then
6701 ac_ct_AS=$AS
6702 # Extract the first word of "as", so it can be a program name with args.
6703 set dummy as; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6707 $as_echo_n "(cached) " >&6
6708 else
6709 if test -n "$ac_ct_AS"; then
6710 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6711 else
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 for as_dir in $PATH
6715 IFS=$as_save_IFS
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6719 ac_cv_prog_ac_ct_AS="as"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 break 2
6723 done
6724 done
6725 IFS=$as_save_IFS
6729 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6730 if test -n "$ac_ct_AS"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6732 $as_echo "$ac_ct_AS" >&6; }
6733 else
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
6738 if test "x$ac_ct_AS" = x; then
6739 AS=""
6740 else
6741 case $cross_compiling:$ac_tool_warned in
6742 yes:)
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6745 ac_tool_warned=yes ;;
6746 esac
6747 AS=$ac_ct_AS
6749 else
6750 AS="$ac_cv_prog_AS"
6753 if test -n "$ac_tool_prefix"; then
6754 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6755 set dummy ${ac_tool_prefix}ar; ac_word=$2
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 $as_echo_n "checking for $ac_word... " >&6; }
6758 if ${ac_cv_prog_AR+:} false; then :
6759 $as_echo_n "(cached) " >&6
6760 else
6761 if test -n "$AR"; then
6762 ac_cv_prog_AR="$AR" # Let the user override the test.
6763 else
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765 for as_dir in $PATH
6767 IFS=$as_save_IFS
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6771 ac_cv_prog_AR="${ac_tool_prefix}ar"
6772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 break 2
6775 done
6776 done
6777 IFS=$as_save_IFS
6781 AR=$ac_cv_prog_AR
6782 if test -n "$AR"; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6784 $as_echo "$AR" >&6; }
6785 else
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 $as_echo "no" >&6; }
6792 if test -z "$ac_cv_prog_AR"; then
6793 ac_ct_AR=$AR
6794 # Extract the first word of "ar", so it can be a program name with args.
6795 set dummy ar; ac_word=$2
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797 $as_echo_n "checking for $ac_word... " >&6; }
6798 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6799 $as_echo_n "(cached) " >&6
6800 else
6801 if test -n "$ac_ct_AR"; then
6802 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6803 else
6804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 for as_dir in $PATH
6807 IFS=$as_save_IFS
6808 test -z "$as_dir" && as_dir=.
6809 for ac_exec_ext in '' $ac_executable_extensions; do
6810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6811 ac_cv_prog_ac_ct_AR="ar"
6812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 break 2
6815 done
6816 done
6817 IFS=$as_save_IFS
6821 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6822 if test -n "$ac_ct_AR"; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6824 $as_echo "$ac_ct_AR" >&6; }
6825 else
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827 $as_echo "no" >&6; }
6830 if test "x$ac_ct_AR" = x; then
6831 AR=""
6832 else
6833 case $cross_compiling:$ac_tool_warned in
6834 yes:)
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6837 ac_tool_warned=yes ;;
6838 esac
6839 AR=$ac_ct_AR
6841 else
6842 AR="$ac_cv_prog_AR"
6845 if test -n "$ac_tool_prefix"; then
6846 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6847 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849 $as_echo_n "checking for $ac_word... " >&6; }
6850 if ${ac_cv_prog_RANLIB+:} false; then :
6851 $as_echo_n "(cached) " >&6
6852 else
6853 if test -n "$RANLIB"; then
6854 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6855 else
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6857 for as_dir in $PATH
6859 IFS=$as_save_IFS
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6863 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 break 2
6867 done
6868 done
6869 IFS=$as_save_IFS
6873 RANLIB=$ac_cv_prog_RANLIB
6874 if test -n "$RANLIB"; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6876 $as_echo "$RANLIB" >&6; }
6877 else
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6879 $as_echo "no" >&6; }
6884 if test -z "$ac_cv_prog_RANLIB"; then
6885 ac_ct_RANLIB=$RANLIB
6886 # Extract the first word of "ranlib", so it can be a program name with args.
6887 set dummy ranlib; ac_word=$2
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 $as_echo_n "checking for $ac_word... " >&6; }
6890 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6891 $as_echo_n "(cached) " >&6
6892 else
6893 if test -n "$ac_ct_RANLIB"; then
6894 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6895 else
6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 for as_dir in $PATH
6899 IFS=$as_save_IFS
6900 test -z "$as_dir" && as_dir=.
6901 for ac_exec_ext in '' $ac_executable_extensions; do
6902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903 ac_cv_prog_ac_ct_RANLIB="ranlib"
6904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 break 2
6907 done
6908 done
6909 IFS=$as_save_IFS
6913 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6914 if test -n "$ac_ct_RANLIB"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6916 $as_echo "$ac_ct_RANLIB" >&6; }
6917 else
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 $as_echo "no" >&6; }
6922 if test "x$ac_ct_RANLIB" = x; then
6923 RANLIB="ranlib-not-found-in-path-error"
6924 else
6925 case $cross_compiling:$ac_tool_warned in
6926 yes:)
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6929 ac_tool_warned=yes ;;
6930 esac
6931 RANLIB=$ac_ct_RANLIB
6933 else
6934 RANLIB="$ac_cv_prog_RANLIB"
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6938 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6939 set x ${MAKE-make}
6940 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6941 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6942 $as_echo_n "(cached) " >&6
6943 else
6944 cat >conftest.make <<\_ACEOF
6945 SHELL = /bin/sh
6946 all:
6947 @echo '@@@%%%=$(MAKE)=@@@%%%'
6948 _ACEOF
6949 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6950 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6951 *@@@%%%=?*=@@@%%%*)
6952 eval ac_cv_prog_make_${ac_make}_set=yes;;
6954 eval ac_cv_prog_make_${ac_make}_set=no;;
6955 esac
6956 rm -f conftest.make
6958 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6960 $as_echo "yes" >&6; }
6961 SET_MAKE=
6962 else
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6965 SET_MAKE="MAKE=${MAKE-make}"
6970 # Configure libtool
6971 #AC_MSG_NOTICE([====== Starting libtool configuration])
6972 enable_dlopen=yes
6976 case `pwd` in
6977 *\ * | *\ *)
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6979 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6980 esac
6984 macro_version='2.2.7a'
6985 macro_revision='1.3134'
6999 ltmain="$ac_aux_dir/ltmain.sh"
7001 # Backslashify metacharacters that are still active within
7002 # double-quoted strings.
7003 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7005 # Same as above, but do not quote variable references.
7006 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7008 # Sed substitution to delay expansion of an escaped shell variable in a
7009 # double_quote_subst'ed string.
7010 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7012 # Sed substitution to delay expansion of an escaped single quote.
7013 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7015 # Sed substitution to avoid accidental globbing in evaled expressions
7016 no_glob_subst='s/\*/\\\*/g'
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7019 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7020 if ${lt_cv_path_NM+:} false; then :
7021 $as_echo_n "(cached) " >&6
7022 else
7023 if test -n "$NM"; then
7024 # Let the user override the nm to test.
7025 lt_nm_to_check="$NM"
7026 else
7027 lt_nm_to_check="${ac_tool_prefix}nm"
7028 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7029 lt_nm_to_check="$lt_nm_to_check nm"
7032 for lt_tmp_nm in "$lt_nm_to_check"; do
7033 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7034 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7035 IFS="$lt_save_ifs"
7036 test -z "$ac_dir" && ac_dir=.
7037 # Strip out any user-provided options from the nm to test twice,
7038 # the first time to test to see if nm (rather than its options) has
7039 # an explicit path, the second time to yield a file which can be
7040 # nm'ed itself.
7041 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
7042 case "$tmp_nm_path" in
7043 */*|*\\*) tmp_nm="$lt_tmp_nm";;
7044 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
7045 esac
7046 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
7047 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
7048 # Check to see if the nm accepts a BSD-compat flag.
7049 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7050 # nm: unknown option "B" ignored
7051 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7052 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
7053 break
7056 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7057 *$tmp_nm*)
7058 lt_cv_path_NM="$tmp_nm -p"
7059 break
7062 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7063 continue # so that we can try to find one that supports BSD flags
7065 esac
7067 esac
7069 done
7070 IFS="$lt_save_ifs"
7071 done
7072 : ${lt_cv_path_NM=no}
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7075 $as_echo "$lt_cv_path_NM" >&6; }
7076 if test "$lt_cv_path_NM" != "no"; then
7077 NM="$lt_cv_path_NM"
7078 else
7079 # Didn't find any BSD compatible name lister, look for dumpbin.
7080 if test -n "$DUMPBIN"; then :
7081 # Let the user override the test.
7082 else
7083 if test -n "$ac_tool_prefix"; then
7084 for ac_prog in dumpbin "link -dump"
7086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7087 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if ${ac_cv_prog_DUMPBIN+:} false; then :
7091 $as_echo_n "(cached) " >&6
7092 else
7093 if test -n "$DUMPBIN"; then
7094 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7095 else
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 for as_dir in $PATH
7099 IFS=$as_save_IFS
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 break 2
7107 done
7108 done
7109 IFS=$as_save_IFS
7113 DUMPBIN=$ac_cv_prog_DUMPBIN
7114 if test -n "$DUMPBIN"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7116 $as_echo "$DUMPBIN" >&6; }
7117 else
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7123 test -n "$DUMPBIN" && break
7124 done
7126 if test -z "$DUMPBIN"; then
7127 ac_ct_DUMPBIN=$DUMPBIN
7128 for ac_prog in dumpbin "link -dump"
7130 # Extract the first word of "$ac_prog", so it can be a program name with args.
7131 set dummy $ac_prog; ac_word=$2
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133 $as_echo_n "checking for $ac_word... " >&6; }
7134 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7135 $as_echo_n "(cached) " >&6
7136 else
7137 if test -n "$ac_ct_DUMPBIN"; then
7138 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7139 else
7140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 for as_dir in $PATH
7143 IFS=$as_save_IFS
7144 test -z "$as_dir" && as_dir=.
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 break 2
7151 done
7152 done
7153 IFS=$as_save_IFS
7157 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7158 if test -n "$ac_ct_DUMPBIN"; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7160 $as_echo "$ac_ct_DUMPBIN" >&6; }
7161 else
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 $as_echo "no" >&6; }
7167 test -n "$ac_ct_DUMPBIN" && break
7168 done
7170 if test "x$ac_ct_DUMPBIN" = x; then
7171 DUMPBIN=":"
7172 else
7173 case $cross_compiling:$ac_tool_warned in
7174 yes:)
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7177 ac_tool_warned=yes ;;
7178 esac
7179 DUMPBIN=$ac_ct_DUMPBIN
7183 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7184 *COFF*)
7185 DUMPBIN="$DUMPBIN -symbols"
7188 DUMPBIN=:
7190 esac
7193 if test "$DUMPBIN" != ":"; then
7194 NM="$DUMPBIN"
7197 test -z "$NM" && NM=nm
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7205 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7206 if ${lt_cv_nm_interface+:} false; then :
7207 $as_echo_n "(cached) " >&6
7208 else
7209 lt_cv_nm_interface="BSD nm"
7210 echo "int some_variable = 0;" > conftest.$ac_ext
7211 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7212 (eval "$ac_compile" 2>conftest.err)
7213 cat conftest.err >&5
7214 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7215 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7216 cat conftest.err >&5
7217 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7218 cat conftest.out >&5
7219 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7220 lt_cv_nm_interface="MS dumpbin"
7222 rm -f conftest*
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7225 $as_echo "$lt_cv_nm_interface" >&6; }
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7228 $as_echo_n "checking whether ln -s works... " >&6; }
7229 LN_S=$as_ln_s
7230 if test "$LN_S" = "ln -s"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7232 $as_echo "yes" >&6; }
7233 else
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7235 $as_echo "no, using $LN_S" >&6; }
7238 # find the maximum length of command line arguments
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7240 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7241 if ${lt_cv_sys_max_cmd_len+:} false; then :
7242 $as_echo_n "(cached) " >&6
7243 else
7245 teststring="ABCD"
7247 case $build_os in
7248 msdosdjgpp*)
7249 # On DJGPP, this test can blow up pretty badly due to problems in libc
7250 # (any single argument exceeding 2000 bytes causes a buffer overrun
7251 # during glob expansion). Even if it were fixed, the result of this
7252 # check would be larger than it should be.
7253 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7256 gnu*)
7257 # Under GNU Hurd, this test is not required because there is
7258 # no limit to the length of command line arguments.
7259 # Libtool will interpret -1 as no limit whatsoever
7260 lt_cv_sys_max_cmd_len=-1;
7263 cygwin* | mingw* | cegcc*)
7264 # On Win9x/ME, this test blows up -- it succeeds, but takes
7265 # about 5 minutes as the teststring grows exponentially.
7266 # Worse, since 9x/ME are not pre-emptively multitasking,
7267 # you end up with a "frozen" computer, even though with patience
7268 # the test eventually succeeds (with a max line length of 256k).
7269 # Instead, let's just punt: use the minimum linelength reported by
7270 # all of the supported platforms: 8192 (on NT/2K/XP).
7271 lt_cv_sys_max_cmd_len=8192;
7274 mint*)
7275 # On MiNT this can take a long time and run out of memory.
7276 lt_cv_sys_max_cmd_len=8192;
7279 amigaos*)
7280 # On AmigaOS with pdksh, this test takes hours, literally.
7281 # So we just punt and use a minimum line length of 8192.
7282 lt_cv_sys_max_cmd_len=8192;
7285 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7286 # This has been around since 386BSD, at least. Likely further.
7287 if test -x /sbin/sysctl; then
7288 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7289 elif test -x /usr/sbin/sysctl; then
7290 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7291 else
7292 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7294 # And add a safety zone
7295 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7296 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7299 interix*)
7300 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7301 lt_cv_sys_max_cmd_len=196608
7304 osf*)
7305 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7306 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7307 # nice to cause kernel panics so lets avoid the loop below.
7308 # First set a reasonable default.
7309 lt_cv_sys_max_cmd_len=16384
7311 if test -x /sbin/sysconfig; then
7312 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7313 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7314 esac
7317 sco3.2v5*)
7318 lt_cv_sys_max_cmd_len=102400
7320 sysv5* | sco5v6* | sysv4.2uw2*)
7321 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7322 if test -n "$kargmax"; then
7323 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7324 else
7325 lt_cv_sys_max_cmd_len=32768
7329 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7330 if test -n "$lt_cv_sys_max_cmd_len"; then
7331 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7332 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7333 else
7334 # Make teststring a little bigger before we do anything with it.
7335 # a 1K string should be a reasonable start.
7336 for i in 1 2 3 4 5 6 7 8 ; do
7337 teststring=$teststring$teststring
7338 done
7339 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7340 # If test is not a shell built-in, we'll probably end up computing a
7341 # maximum length that is only half of the actual maximum length, but
7342 # we can't tell.
7343 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7344 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7345 test $i != 17 # 1/2 MB should be enough
7347 i=`expr $i + 1`
7348 teststring=$teststring$teststring
7349 done
7350 # Only check the string length outside the loop.
7351 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7352 teststring=
7353 # Add a significant safety factor because C++ compilers can tack on
7354 # massive amounts of additional arguments before passing them to the
7355 # linker. It appears as though 1/2 is a usable value.
7356 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7359 esac
7363 if test -n $lt_cv_sys_max_cmd_len ; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7365 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7366 else
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7368 $as_echo "none" >&6; }
7370 max_cmd_len=$lt_cv_sys_max_cmd_len
7377 : ${CP="cp -f"}
7378 : ${MV="mv -f"}
7379 : ${RM="rm -f"}
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7382 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7383 # Try some XSI features
7384 xsi_shell=no
7385 ( _lt_dummy="a/b/c"
7386 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7387 = c,a/b,, \
7388 && eval 'test $(( 1 + 1 )) -eq 2 \
7389 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7390 && xsi_shell=yes
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7392 $as_echo "$xsi_shell" >&6; }
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7396 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7397 lt_shell_append=no
7398 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7399 >/dev/null 2>&1 \
7400 && lt_shell_append=yes
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7402 $as_echo "$lt_shell_append" >&6; }
7405 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7406 lt_unset=unset
7407 else
7408 lt_unset=false
7415 # test EBCDIC or ASCII
7416 case `echo X|tr X '\101'` in
7417 A) # ASCII based system
7418 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7419 lt_SP2NL='tr \040 \012'
7420 lt_NL2SP='tr \015\012 \040\040'
7422 *) # EBCDIC based system
7423 lt_SP2NL='tr \100 \n'
7424 lt_NL2SP='tr \r\n \100\100'
7426 esac
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7437 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7438 if ${lt_cv_ld_reload_flag+:} false; then :
7439 $as_echo_n "(cached) " >&6
7440 else
7441 lt_cv_ld_reload_flag='-r'
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7444 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7445 reload_flag=$lt_cv_ld_reload_flag
7446 case $reload_flag in
7447 "" | " "*) ;;
7448 *) reload_flag=" $reload_flag" ;;
7449 esac
7450 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7451 case $host_os in
7452 darwin*)
7453 if test "$GCC" = yes; then
7454 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7455 else
7456 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7459 esac
7469 if test -n "$ac_tool_prefix"; then
7470 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7471 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if ${ac_cv_prog_OBJDUMP+:} false; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$OBJDUMP"; then
7478 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7491 done
7492 done
7493 IFS=$as_save_IFS
7497 OBJDUMP=$ac_cv_prog_OBJDUMP
7498 if test -n "$OBJDUMP"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7500 $as_echo "$OBJDUMP" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7508 if test -z "$ac_cv_prog_OBJDUMP"; then
7509 ac_ct_OBJDUMP=$OBJDUMP
7510 # Extract the first word of "objdump", so it can be a program name with args.
7511 set dummy objdump; ac_word=$2
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 $as_echo_n "checking for $ac_word... " >&6; }
7514 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 if test -n "$ac_ct_OBJDUMP"; then
7518 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7519 else
7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 for as_dir in $PATH
7523 IFS=$as_save_IFS
7524 test -z "$as_dir" && as_dir=.
7525 for ac_exec_ext in '' $ac_executable_extensions; do
7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7529 break 2
7531 done
7532 done
7533 IFS=$as_save_IFS
7537 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7538 if test -n "$ac_ct_OBJDUMP"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7540 $as_echo "$ac_ct_OBJDUMP" >&6; }
7541 else
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7546 if test "x$ac_ct_OBJDUMP" = x; then
7547 OBJDUMP="false"
7548 else
7549 case $cross_compiling:$ac_tool_warned in
7550 yes:)
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7553 ac_tool_warned=yes ;;
7554 esac
7555 OBJDUMP=$ac_ct_OBJDUMP
7557 else
7558 OBJDUMP="$ac_cv_prog_OBJDUMP"
7561 test -z "$OBJDUMP" && OBJDUMP=objdump
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7572 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7573 if ${lt_cv_deplibs_check_method+:} false; then :
7574 $as_echo_n "(cached) " >&6
7575 else
7576 lt_cv_file_magic_cmd='$MAGIC_CMD'
7577 lt_cv_file_magic_test_file=
7578 lt_cv_deplibs_check_method='unknown'
7579 # Need to set the preceding variable on all platforms that support
7580 # interlibrary dependencies.
7581 # 'none' -- dependencies not supported.
7582 # `unknown' -- same as none, but documents that we really don't know.
7583 # 'pass_all' -- all dependencies passed with no checks.
7584 # 'test_compile' -- check by making test program.
7585 # 'file_magic [[regex]]' -- check by looking for files in library path
7586 # which responds to the $file_magic_cmd with a given extended regex.
7587 # If you have `file' or equivalent on your system and you're not sure
7588 # whether `pass_all' will *always* work, you probably want this one.
7590 case $host_os in
7591 aix[4-9]*)
7592 lt_cv_deplibs_check_method=pass_all
7595 beos*)
7596 lt_cv_deplibs_check_method=pass_all
7599 bsdi[45]*)
7600 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7601 lt_cv_file_magic_cmd='/usr/bin/file -L'
7602 lt_cv_file_magic_test_file=/shlib/libc.so
7605 cygwin*)
7606 # func_win32_libid is a shell function defined in ltmain.sh
7607 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7608 lt_cv_file_magic_cmd='func_win32_libid'
7611 mingw* | pw32*)
7612 # Base MSYS/MinGW do not provide the 'file' command needed by
7613 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7614 # unless we find 'file', for example because we are cross-compiling.
7615 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7616 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7617 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7618 lt_cv_file_magic_cmd='func_win32_libid'
7619 else
7620 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7621 lt_cv_file_magic_cmd='$OBJDUMP -f'
7625 cegcc*)
7626 # use the weaker test based on 'objdump'. See mingw*.
7627 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7628 lt_cv_file_magic_cmd='$OBJDUMP -f'
7631 darwin* | rhapsody*)
7632 lt_cv_deplibs_check_method=pass_all
7635 freebsd* | dragonfly*)
7636 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7637 case $host_cpu in
7638 i*86 )
7639 # Not sure whether the presence of OpenBSD here was a mistake.
7640 # Let's accept both of them until this is cleared up.
7641 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7642 lt_cv_file_magic_cmd=/usr/bin/file
7643 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7645 esac
7646 else
7647 lt_cv_deplibs_check_method=pass_all
7651 gnu*)
7652 lt_cv_deplibs_check_method=pass_all
7655 haiku*)
7656 lt_cv_deplibs_check_method=pass_all
7659 hpux10.20* | hpux11*)
7660 lt_cv_file_magic_cmd=/usr/bin/file
7661 case $host_cpu in
7662 ia64*)
7663 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7664 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7666 hppa*64*)
7667 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]'
7668 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7671 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7672 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7674 esac
7677 interix[3-9]*)
7678 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7679 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7682 irix5* | irix6* | nonstopux*)
7683 case $LD in
7684 *-32|*"-32 ") libmagic=32-bit;;
7685 *-n32|*"-n32 ") libmagic=N32;;
7686 *-64|*"-64 ") libmagic=64-bit;;
7687 *) libmagic=never-match;;
7688 esac
7689 lt_cv_deplibs_check_method=pass_all
7692 # This must be Linux ELF.
7693 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7694 lt_cv_deplibs_check_method=pass_all
7697 netbsd*)
7698 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7699 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7700 else
7701 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7705 newos6*)
7706 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7707 lt_cv_file_magic_cmd=/usr/bin/file
7708 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7711 *nto* | *qnx*)
7712 lt_cv_deplibs_check_method=pass_all
7715 openbsd*)
7716 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7717 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7718 else
7719 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7723 osf3* | osf4* | osf5*)
7724 lt_cv_deplibs_check_method=pass_all
7727 rdos*)
7728 lt_cv_deplibs_check_method=pass_all
7731 solaris*)
7732 lt_cv_deplibs_check_method=pass_all
7735 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7736 lt_cv_deplibs_check_method=pass_all
7739 sysv4 | sysv4.3*)
7740 case $host_vendor in
7741 motorola)
7742 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]'
7743 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7745 ncr)
7746 lt_cv_deplibs_check_method=pass_all
7748 sequent)
7749 lt_cv_file_magic_cmd='/bin/file'
7750 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7752 sni)
7753 lt_cv_file_magic_cmd='/bin/file'
7754 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7755 lt_cv_file_magic_test_file=/lib/libc.so
7757 siemens)
7758 lt_cv_deplibs_check_method=pass_all
7761 lt_cv_deplibs_check_method=pass_all
7763 esac
7766 tpf*)
7767 lt_cv_deplibs_check_method=pass_all
7769 vxworks*)
7770 # Assume VxWorks cross toolchains are built on Linux, possibly
7771 # as canadian for Windows hosts.
7772 lt_cv_deplibs_check_method=pass_all
7774 esac
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7778 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7779 file_magic_cmd=$lt_cv_file_magic_cmd
7780 deplibs_check_method=$lt_cv_deplibs_check_method
7781 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7794 plugin_option=
7795 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7796 for plugin in $plugin_names; do
7797 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7798 if test x$plugin_so = x$plugin; then
7799 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7801 if test x$plugin_so != x$plugin; then
7802 plugin_option="--plugin $plugin_so"
7803 break
7805 done
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7809 set dummy ${ac_tool_prefix}ar; ac_word=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811 $as_echo_n "checking for $ac_word... " >&6; }
7812 if ${ac_cv_prog_AR+:} false; then :
7813 $as_echo_n "(cached) " >&6
7814 else
7815 if test -n "$AR"; then
7816 ac_cv_prog_AR="$AR" # Let the user override the test.
7817 else
7818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 for as_dir in $PATH
7821 IFS=$as_save_IFS
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7825 ac_cv_prog_AR="${ac_tool_prefix}ar"
7826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 break 2
7829 done
7830 done
7831 IFS=$as_save_IFS
7835 AR=$ac_cv_prog_AR
7836 if test -n "$AR"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7838 $as_echo "$AR" >&6; }
7839 else
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841 $as_echo "no" >&6; }
7846 if test -z "$ac_cv_prog_AR"; then
7847 ac_ct_AR=$AR
7848 # Extract the first word of "ar", so it can be a program name with args.
7849 set dummy ar; ac_word=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7851 $as_echo_n "checking for $ac_word... " >&6; }
7852 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 if test -n "$ac_ct_AR"; then
7856 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7857 else
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 for as_dir in $PATH
7861 IFS=$as_save_IFS
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7865 ac_cv_prog_ac_ct_AR="ar"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 break 2
7869 done
7870 done
7871 IFS=$as_save_IFS
7875 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7876 if test -n "$ac_ct_AR"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7878 $as_echo "$ac_ct_AR" >&6; }
7879 else
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7881 $as_echo "no" >&6; }
7884 if test "x$ac_ct_AR" = x; then
7885 AR="false"
7886 else
7887 case $cross_compiling:$ac_tool_warned in
7888 yes:)
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7891 ac_tool_warned=yes ;;
7892 esac
7893 AR=$ac_ct_AR
7895 else
7896 AR="$ac_cv_prog_AR"
7899 test -z "$AR" && AR=ar
7900 if test -n "$plugin_option"; then
7901 if $AR --help 2>&1 | grep -q "\--plugin"; then
7902 touch conftest.c
7903 $AR $plugin_option rc conftest.a conftest.c
7904 if test "$?" != 0; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7906 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7907 else
7908 AR="$AR $plugin_option"
7910 rm -f conftest.*
7913 test -z "$AR_FLAGS" && AR_FLAGS=cru
7925 if test -n "$ac_tool_prefix"; then
7926 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7927 set dummy ${ac_tool_prefix}strip; ac_word=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_prog_STRIP+:} false; then :
7931 $as_echo_n "(cached) " >&6
7932 else
7933 if test -n "$STRIP"; then
7934 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7935 else
7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 for as_dir in $PATH
7939 IFS=$as_save_IFS
7940 test -z "$as_dir" && as_dir=.
7941 for ac_exec_ext in '' $ac_executable_extensions; do
7942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7943 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 break 2
7947 done
7948 done
7949 IFS=$as_save_IFS
7953 STRIP=$ac_cv_prog_STRIP
7954 if test -n "$STRIP"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7956 $as_echo "$STRIP" >&6; }
7957 else
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7964 if test -z "$ac_cv_prog_STRIP"; then
7965 ac_ct_STRIP=$STRIP
7966 # Extract the first word of "strip", so it can be a program name with args.
7967 set dummy strip; ac_word=$2
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969 $as_echo_n "checking for $ac_word... " >&6; }
7970 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7971 $as_echo_n "(cached) " >&6
7972 else
7973 if test -n "$ac_ct_STRIP"; then
7974 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7975 else
7976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 for as_dir in $PATH
7979 IFS=$as_save_IFS
7980 test -z "$as_dir" && as_dir=.
7981 for ac_exec_ext in '' $ac_executable_extensions; do
7982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7983 ac_cv_prog_ac_ct_STRIP="strip"
7984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 break 2
7987 done
7988 done
7989 IFS=$as_save_IFS
7993 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7994 if test -n "$ac_ct_STRIP"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7996 $as_echo "$ac_ct_STRIP" >&6; }
7997 else
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8002 if test "x$ac_ct_STRIP" = x; then
8003 STRIP=":"
8004 else
8005 case $cross_compiling:$ac_tool_warned in
8006 yes:)
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8009 ac_tool_warned=yes ;;
8010 esac
8011 STRIP=$ac_ct_STRIP
8013 else
8014 STRIP="$ac_cv_prog_STRIP"
8017 test -z "$STRIP" && STRIP=:
8024 if test -n "$ac_tool_prefix"; then
8025 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8026 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028 $as_echo_n "checking for $ac_word... " >&6; }
8029 if ${ac_cv_prog_RANLIB+:} false; then :
8030 $as_echo_n "(cached) " >&6
8031 else
8032 if test -n "$RANLIB"; then
8033 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8034 else
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 for as_dir in $PATH
8038 IFS=$as_save_IFS
8039 test -z "$as_dir" && as_dir=.
8040 for ac_exec_ext in '' $ac_executable_extensions; do
8041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8042 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8044 break 2
8046 done
8047 done
8048 IFS=$as_save_IFS
8052 RANLIB=$ac_cv_prog_RANLIB
8053 if test -n "$RANLIB"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8055 $as_echo "$RANLIB" >&6; }
8056 else
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 $as_echo "no" >&6; }
8063 if test -z "$ac_cv_prog_RANLIB"; then
8064 ac_ct_RANLIB=$RANLIB
8065 # Extract the first word of "ranlib", so it can be a program name with args.
8066 set dummy ranlib; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068 $as_echo_n "checking for $ac_word... " >&6; }
8069 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8070 $as_echo_n "(cached) " >&6
8071 else
8072 if test -n "$ac_ct_RANLIB"; then
8073 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8074 else
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 for as_dir in $PATH
8078 IFS=$as_save_IFS
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8082 ac_cv_prog_ac_ct_RANLIB="ranlib"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8084 break 2
8086 done
8087 done
8088 IFS=$as_save_IFS
8092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8093 if test -n "$ac_ct_RANLIB"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8095 $as_echo "$ac_ct_RANLIB" >&6; }
8096 else
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8101 if test "x$ac_ct_RANLIB" = x; then
8102 RANLIB=":"
8103 else
8104 case $cross_compiling:$ac_tool_warned in
8105 yes:)
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8108 ac_tool_warned=yes ;;
8109 esac
8110 RANLIB=$ac_ct_RANLIB
8112 else
8113 RANLIB="$ac_cv_prog_RANLIB"
8116 test -z "$RANLIB" && RANLIB=:
8117 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8118 if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
8119 RANLIB="$RANLIB $plugin_option"
8128 # Determine commands to create old-style static archives.
8129 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8130 old_postinstall_cmds='chmod 644 $oldlib'
8131 old_postuninstall_cmds=
8133 if test -n "$RANLIB"; then
8134 case $host_os in
8135 openbsd*)
8136 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8139 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8141 esac
8142 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8145 case $host_os in
8146 darwin*)
8147 lock_old_archive_extraction=yes ;;
8149 lock_old_archive_extraction=no ;;
8150 esac
8190 # If no C compiler was specified, use CC.
8191 LTCC=${LTCC-"$CC"}
8193 # If no C compiler flags were specified, use CFLAGS.
8194 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8196 # Allow CC to be a program name with arguments.
8197 compiler=$CC
8200 # Check for command to grab the raw symbol name followed by C symbol from nm.
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8202 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8203 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8207 # These are sane defaults that work on at least a few old systems.
8208 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8210 # Character class describing NM global symbol codes.
8211 symcode='[BCDEGRST]'
8213 # Regexp to match symbols that can be accessed directly from C.
8214 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8216 # Define system-specific variables.
8217 case $host_os in
8218 aix*)
8219 symcode='[BCDT]'
8221 cygwin* | mingw* | pw32* | cegcc*)
8222 symcode='[ABCDGISTW]'
8224 hpux*)
8225 if test "$host_cpu" = ia64; then
8226 symcode='[ABCDEGRST]'
8229 irix* | nonstopux*)
8230 symcode='[BCDEGRST]'
8232 osf*)
8233 symcode='[BCDEGQRST]'
8235 solaris*)
8236 symcode='[BCDRT]'
8238 sco3.2v5*)
8239 symcode='[DT]'
8241 sysv4.2uw2*)
8242 symcode='[DT]'
8244 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8245 symcode='[ABDT]'
8247 sysv4)
8248 symcode='[DFNSTU]'
8250 esac
8252 # If we're using GNU nm, then use its standard symbol codes.
8253 case `$NM -V 2>&1` in
8254 *GNU* | *'with BFD'*)
8255 symcode='[ABCDGIRSTW]' ;;
8256 esac
8258 # Transform an extracted symbol line into a proper C declaration.
8259 # Some systems (esp. on ia64) link data and code symbols differently,
8260 # so use this general approach.
8261 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8263 # Transform an extracted symbol line into symbol name and symbol address
8264 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8265 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'"
8267 # Handle CRLF in mingw tool chain
8268 opt_cr=
8269 case $build_os in
8270 mingw*)
8271 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8273 esac
8275 # Try without a prefix underscore, then with it.
8276 for ac_symprfx in "" "_"; do
8278 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8279 symxfrm="\\1 $ac_symprfx\\2 \\2"
8281 # Write the raw and C identifiers.
8282 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8283 # Fake it for dumpbin and say T for any non-static function
8284 # and D for any global variable.
8285 # Also find C++ and __fastcall symbols from MSVC++,
8286 # which start with @ or ?.
8287 lt_cv_sys_global_symbol_pipe="$AWK '"\
8288 " {last_section=section; section=\$ 3};"\
8289 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8290 " \$ 0!~/External *\|/{next};"\
8291 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8292 " {if(hide[section]) next};"\
8293 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8294 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8295 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8296 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8297 " ' prfx=^$ac_symprfx"
8298 else
8299 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8302 # Check to see that the pipe works correctly.
8303 pipe_works=no
8305 rm -f conftest*
8306 cat > conftest.$ac_ext <<_LT_EOF
8307 #ifdef __cplusplus
8308 extern "C" {
8309 #endif
8310 char nm_test_var;
8311 void nm_test_func(void);
8312 void nm_test_func(void){}
8313 #ifdef __cplusplus
8315 #endif
8316 int main(){nm_test_var='a';nm_test_func();return(0);}
8317 _LT_EOF
8319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8320 (eval $ac_compile) 2>&5
8321 ac_status=$?
8322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8323 test $ac_status = 0; }; then
8324 # Now try to grab the symbols.
8325 nlist=conftest.nm
8326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8327 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8328 ac_status=$?
8329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8330 test $ac_status = 0; } && test -s "$nlist"; then
8331 # Try sorting and uniquifying the output.
8332 if sort "$nlist" | uniq > "$nlist"T; then
8333 mv -f "$nlist"T "$nlist"
8334 else
8335 rm -f "$nlist"T
8338 # Make sure that we snagged all the symbols we need.
8339 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8340 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8341 cat <<_LT_EOF > conftest.$ac_ext
8342 #ifdef __cplusplus
8343 extern "C" {
8344 #endif
8346 _LT_EOF
8347 # Now generate the symbol file.
8348 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8350 cat <<_LT_EOF >> conftest.$ac_ext
8352 /* The mapping between symbol names and symbols. */
8353 const struct {
8354 const char *name;
8355 void *address;
8357 lt__PROGRAM__LTX_preloaded_symbols[] =
8359 { "@PROGRAM@", (void *) 0 },
8360 _LT_EOF
8361 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8362 cat <<\_LT_EOF >> conftest.$ac_ext
8363 {0, (void *) 0}
8366 /* This works around a problem in FreeBSD linker */
8367 #ifdef FREEBSD_WORKAROUND
8368 static const void *lt_preloaded_setup() {
8369 return lt__PROGRAM__LTX_preloaded_symbols;
8371 #endif
8373 #ifdef __cplusplus
8375 #endif
8376 _LT_EOF
8377 # Now try linking the two files.
8378 mv conftest.$ac_objext conftstm.$ac_objext
8379 lt_save_LIBS="$LIBS"
8380 lt_save_CFLAGS="$CFLAGS"
8381 LIBS="conftstm.$ac_objext"
8382 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8384 (eval $ac_link) 2>&5
8385 ac_status=$?
8386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8387 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8388 pipe_works=yes
8390 LIBS="$lt_save_LIBS"
8391 CFLAGS="$lt_save_CFLAGS"
8392 else
8393 echo "cannot find nm_test_func in $nlist" >&5
8395 else
8396 echo "cannot find nm_test_var in $nlist" >&5
8398 else
8399 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8401 else
8402 echo "$progname: failed program was:" >&5
8403 cat conftest.$ac_ext >&5
8405 rm -rf conftest* conftst*
8407 # Do not use the global_symbol_pipe unless it works.
8408 if test "$pipe_works" = yes; then
8409 break
8410 else
8411 lt_cv_sys_global_symbol_pipe=
8413 done
8417 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8418 lt_cv_sys_global_symbol_to_cdecl=
8420 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8422 $as_echo "failed" >&6; }
8423 else
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8425 $as_echo "ok" >&6; }
8449 # Check whether --enable-libtool-lock was given.
8450 if test "${enable_libtool_lock+set}" = set; then :
8451 enableval=$enable_libtool_lock;
8454 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8456 # Some flags need to be propagated to the compiler or linker for good
8457 # libtool support.
8458 case $host in
8459 ia64-*-hpux*)
8460 # Find out which ABI we are using.
8461 echo 'int i;' > conftest.$ac_ext
8462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8463 (eval $ac_compile) 2>&5
8464 ac_status=$?
8465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8466 test $ac_status = 0; }; then
8467 case `/usr/bin/file conftest.$ac_objext` in
8468 *ELF-32*)
8469 HPUX_IA64_MODE="32"
8471 *ELF-64*)
8472 HPUX_IA64_MODE="64"
8474 esac
8476 rm -rf conftest*
8478 *-*-irix6*)
8479 # Find out which ABI we are using.
8480 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8482 (eval $ac_compile) 2>&5
8483 ac_status=$?
8484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8485 test $ac_status = 0; }; then
8486 if test "$lt_cv_prog_gnu_ld" = yes; then
8487 case `/usr/bin/file conftest.$ac_objext` in
8488 *32-bit*)
8489 LD="${LD-ld} -melf32bsmip"
8491 *N32*)
8492 LD="${LD-ld} -melf32bmipn32"
8494 *64-bit*)
8495 LD="${LD-ld} -melf64bmip"
8497 esac
8498 else
8499 case `/usr/bin/file conftest.$ac_objext` in
8500 *32-bit*)
8501 LD="${LD-ld} -32"
8503 *N32*)
8504 LD="${LD-ld} -n32"
8506 *64-bit*)
8507 LD="${LD-ld} -64"
8509 esac
8512 rm -rf conftest*
8515 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8516 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8517 # Find out which ABI we are using.
8518 echo 'int i;' > conftest.$ac_ext
8519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8520 (eval $ac_compile) 2>&5
8521 ac_status=$?
8522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8523 test $ac_status = 0; }; then
8524 case `/usr/bin/file conftest.o` in
8525 *32-bit*)
8526 case $host in
8527 x86_64-*kfreebsd*-gnu)
8528 LD="${LD-ld} -m elf_i386_fbsd"
8530 x86_64-*linux*)
8531 case `/usr/bin/file conftest.o` in
8532 *x86-64*)
8533 LD="${LD-ld} -m elf32_x86_64"
8536 LD="${LD-ld} -m elf_i386"
8538 esac
8540 powerpc64le-*linux*)
8541 LD="${LD-ld} -m elf32lppclinux"
8543 powerpc64-*linux*)
8544 LD="${LD-ld} -m elf32ppclinux"
8546 s390x-*linux*)
8547 LD="${LD-ld} -m elf_s390"
8549 sparc64-*linux*)
8550 LD="${LD-ld} -m elf32_sparc"
8552 esac
8554 *64-bit*)
8555 case $host in
8556 x86_64-*kfreebsd*-gnu)
8557 LD="${LD-ld} -m elf_x86_64_fbsd"
8559 x86_64-*linux*)
8560 LD="${LD-ld} -m elf_x86_64"
8562 powerpcle-*linux*)
8563 LD="${LD-ld} -m elf64lppc"
8565 powerpc-*linux*)
8566 LD="${LD-ld} -m elf64ppc"
8568 s390*-*linux*|s390*-*tpf*)
8569 LD="${LD-ld} -m elf64_s390"
8571 sparc*-*linux*)
8572 LD="${LD-ld} -m elf64_sparc"
8574 esac
8576 esac
8578 rm -rf conftest*
8581 *-*-sco3.2v5*)
8582 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8583 SAVE_CFLAGS="$CFLAGS"
8584 CFLAGS="$CFLAGS -belf"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8586 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8587 if ${lt_cv_cc_needs_belf+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_ext=c
8591 ac_cpp='$CPP $CPPFLAGS'
8592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8596 if test x$gcc_no_link = xyes; then
8597 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8603 main ()
8607 return 0;
8609 _ACEOF
8610 if ac_fn_c_try_link "$LINENO"; then :
8611 lt_cv_cc_needs_belf=yes
8612 else
8613 lt_cv_cc_needs_belf=no
8615 rm -f core conftest.err conftest.$ac_objext \
8616 conftest$ac_exeext conftest.$ac_ext
8617 ac_ext=c
8618 ac_cpp='$CPP $CPPFLAGS'
8619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8625 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8626 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8627 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8628 CFLAGS="$SAVE_CFLAGS"
8631 sparc*-*solaris*)
8632 # Find out which ABI we are using.
8633 echo 'int i;' > conftest.$ac_ext
8634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8635 (eval $ac_compile) 2>&5
8636 ac_status=$?
8637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8638 test $ac_status = 0; }; then
8639 case `/usr/bin/file conftest.o` in
8640 *64-bit*)
8641 case $lt_cv_prog_gnu_ld in
8642 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8644 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8645 LD="${LD-ld} -64"
8648 esac
8650 esac
8652 rm -rf conftest*
8654 esac
8656 need_locks="$enable_libtool_lock"
8659 case $host_os in
8660 rhapsody* | darwin*)
8661 if test -n "$ac_tool_prefix"; then
8662 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8663 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8665 $as_echo_n "checking for $ac_word... " >&6; }
8666 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 if test -n "$DSYMUTIL"; then
8670 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8671 else
8672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673 for as_dir in $PATH
8675 IFS=$as_save_IFS
8676 test -z "$as_dir" && as_dir=.
8677 for ac_exec_ext in '' $ac_executable_extensions; do
8678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8679 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8681 break 2
8683 done
8684 done
8685 IFS=$as_save_IFS
8689 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8690 if test -n "$DSYMUTIL"; then
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8692 $as_echo "$DSYMUTIL" >&6; }
8693 else
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8695 $as_echo "no" >&6; }
8700 if test -z "$ac_cv_prog_DSYMUTIL"; then
8701 ac_ct_DSYMUTIL=$DSYMUTIL
8702 # Extract the first word of "dsymutil", so it can be a program name with args.
8703 set dummy dsymutil; ac_word=$2
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8705 $as_echo_n "checking for $ac_word... " >&6; }
8706 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8707 $as_echo_n "(cached) " >&6
8708 else
8709 if test -n "$ac_ct_DSYMUTIL"; then
8710 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8711 else
8712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8713 for as_dir in $PATH
8715 IFS=$as_save_IFS
8716 test -z "$as_dir" && as_dir=.
8717 for ac_exec_ext in '' $ac_executable_extensions; do
8718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8719 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8721 break 2
8723 done
8724 done
8725 IFS=$as_save_IFS
8729 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8730 if test -n "$ac_ct_DSYMUTIL"; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8732 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8733 else
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8735 $as_echo "no" >&6; }
8738 if test "x$ac_ct_DSYMUTIL" = x; then
8739 DSYMUTIL=":"
8740 else
8741 case $cross_compiling:$ac_tool_warned in
8742 yes:)
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8745 ac_tool_warned=yes ;;
8746 esac
8747 DSYMUTIL=$ac_ct_DSYMUTIL
8749 else
8750 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8753 if test -n "$ac_tool_prefix"; then
8754 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8755 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8757 $as_echo_n "checking for $ac_word... " >&6; }
8758 if ${ac_cv_prog_NMEDIT+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 if test -n "$NMEDIT"; then
8762 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8763 else
8764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 for as_dir in $PATH
8767 IFS=$as_save_IFS
8768 test -z "$as_dir" && as_dir=.
8769 for ac_exec_ext in '' $ac_executable_extensions; do
8770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8773 break 2
8775 done
8776 done
8777 IFS=$as_save_IFS
8781 NMEDIT=$ac_cv_prog_NMEDIT
8782 if test -n "$NMEDIT"; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8784 $as_echo "$NMEDIT" >&6; }
8785 else
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8787 $as_echo "no" >&6; }
8792 if test -z "$ac_cv_prog_NMEDIT"; then
8793 ac_ct_NMEDIT=$NMEDIT
8794 # Extract the first word of "nmedit", so it can be a program name with args.
8795 set dummy nmedit; ac_word=$2
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8797 $as_echo_n "checking for $ac_word... " >&6; }
8798 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8799 $as_echo_n "(cached) " >&6
8800 else
8801 if test -n "$ac_ct_NMEDIT"; then
8802 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8803 else
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8805 for as_dir in $PATH
8807 IFS=$as_save_IFS
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8811 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8813 break 2
8815 done
8816 done
8817 IFS=$as_save_IFS
8821 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8822 if test -n "$ac_ct_NMEDIT"; then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8824 $as_echo "$ac_ct_NMEDIT" >&6; }
8825 else
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8827 $as_echo "no" >&6; }
8830 if test "x$ac_ct_NMEDIT" = x; then
8831 NMEDIT=":"
8832 else
8833 case $cross_compiling:$ac_tool_warned in
8834 yes:)
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8837 ac_tool_warned=yes ;;
8838 esac
8839 NMEDIT=$ac_ct_NMEDIT
8841 else
8842 NMEDIT="$ac_cv_prog_NMEDIT"
8845 if test -n "$ac_tool_prefix"; then
8846 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8847 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8849 $as_echo_n "checking for $ac_word... " >&6; }
8850 if ${ac_cv_prog_LIPO+:} false; then :
8851 $as_echo_n "(cached) " >&6
8852 else
8853 if test -n "$LIPO"; then
8854 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8855 else
8856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8857 for as_dir in $PATH
8859 IFS=$as_save_IFS
8860 test -z "$as_dir" && as_dir=.
8861 for ac_exec_ext in '' $ac_executable_extensions; do
8862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8863 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8865 break 2
8867 done
8868 done
8869 IFS=$as_save_IFS
8873 LIPO=$ac_cv_prog_LIPO
8874 if test -n "$LIPO"; then
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8876 $as_echo "$LIPO" >&6; }
8877 else
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8879 $as_echo "no" >&6; }
8884 if test -z "$ac_cv_prog_LIPO"; then
8885 ac_ct_LIPO=$LIPO
8886 # Extract the first word of "lipo", so it can be a program name with args.
8887 set dummy lipo; ac_word=$2
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8889 $as_echo_n "checking for $ac_word... " >&6; }
8890 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 if test -n "$ac_ct_LIPO"; then
8894 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8895 else
8896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8897 for as_dir in $PATH
8899 IFS=$as_save_IFS
8900 test -z "$as_dir" && as_dir=.
8901 for ac_exec_ext in '' $ac_executable_extensions; do
8902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8903 ac_cv_prog_ac_ct_LIPO="lipo"
8904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8905 break 2
8907 done
8908 done
8909 IFS=$as_save_IFS
8913 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8914 if test -n "$ac_ct_LIPO"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8916 $as_echo "$ac_ct_LIPO" >&6; }
8917 else
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8919 $as_echo "no" >&6; }
8922 if test "x$ac_ct_LIPO" = x; then
8923 LIPO=":"
8924 else
8925 case $cross_compiling:$ac_tool_warned in
8926 yes:)
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8929 ac_tool_warned=yes ;;
8930 esac
8931 LIPO=$ac_ct_LIPO
8933 else
8934 LIPO="$ac_cv_prog_LIPO"
8937 if test -n "$ac_tool_prefix"; then
8938 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8939 set dummy ${ac_tool_prefix}otool; ac_word=$2
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8941 $as_echo_n "checking for $ac_word... " >&6; }
8942 if ${ac_cv_prog_OTOOL+:} false; then :
8943 $as_echo_n "(cached) " >&6
8944 else
8945 if test -n "$OTOOL"; then
8946 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8947 else
8948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8949 for as_dir in $PATH
8951 IFS=$as_save_IFS
8952 test -z "$as_dir" && as_dir=.
8953 for ac_exec_ext in '' $ac_executable_extensions; do
8954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8955 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8957 break 2
8959 done
8960 done
8961 IFS=$as_save_IFS
8965 OTOOL=$ac_cv_prog_OTOOL
8966 if test -n "$OTOOL"; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8968 $as_echo "$OTOOL" >&6; }
8969 else
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971 $as_echo "no" >&6; }
8976 if test -z "$ac_cv_prog_OTOOL"; then
8977 ac_ct_OTOOL=$OTOOL
8978 # Extract the first word of "otool", so it can be a program name with args.
8979 set dummy otool; ac_word=$2
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8981 $as_echo_n "checking for $ac_word... " >&6; }
8982 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8983 $as_echo_n "(cached) " >&6
8984 else
8985 if test -n "$ac_ct_OTOOL"; then
8986 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8987 else
8988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8989 for as_dir in $PATH
8991 IFS=$as_save_IFS
8992 test -z "$as_dir" && as_dir=.
8993 for ac_exec_ext in '' $ac_executable_extensions; do
8994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8995 ac_cv_prog_ac_ct_OTOOL="otool"
8996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8997 break 2
8999 done
9000 done
9001 IFS=$as_save_IFS
9005 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9006 if test -n "$ac_ct_OTOOL"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9008 $as_echo "$ac_ct_OTOOL" >&6; }
9009 else
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9014 if test "x$ac_ct_OTOOL" = x; then
9015 OTOOL=":"
9016 else
9017 case $cross_compiling:$ac_tool_warned in
9018 yes:)
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9021 ac_tool_warned=yes ;;
9022 esac
9023 OTOOL=$ac_ct_OTOOL
9025 else
9026 OTOOL="$ac_cv_prog_OTOOL"
9029 if test -n "$ac_tool_prefix"; then
9030 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9031 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9033 $as_echo_n "checking for $ac_word... " >&6; }
9034 if ${ac_cv_prog_OTOOL64+:} false; then :
9035 $as_echo_n "(cached) " >&6
9036 else
9037 if test -n "$OTOOL64"; then
9038 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9039 else
9040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9041 for as_dir in $PATH
9043 IFS=$as_save_IFS
9044 test -z "$as_dir" && as_dir=.
9045 for ac_exec_ext in '' $ac_executable_extensions; do
9046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9047 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9049 break 2
9051 done
9052 done
9053 IFS=$as_save_IFS
9057 OTOOL64=$ac_cv_prog_OTOOL64
9058 if test -n "$OTOOL64"; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9060 $as_echo "$OTOOL64" >&6; }
9061 else
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9063 $as_echo "no" >&6; }
9068 if test -z "$ac_cv_prog_OTOOL64"; then
9069 ac_ct_OTOOL64=$OTOOL64
9070 # Extract the first word of "otool64", so it can be a program name with args.
9071 set dummy otool64; ac_word=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9073 $as_echo_n "checking for $ac_word... " >&6; }
9074 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9075 $as_echo_n "(cached) " >&6
9076 else
9077 if test -n "$ac_ct_OTOOL64"; then
9078 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9079 else
9080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9081 for as_dir in $PATH
9083 IFS=$as_save_IFS
9084 test -z "$as_dir" && as_dir=.
9085 for ac_exec_ext in '' $ac_executable_extensions; do
9086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9087 ac_cv_prog_ac_ct_OTOOL64="otool64"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9089 break 2
9091 done
9092 done
9093 IFS=$as_save_IFS
9097 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9098 if test -n "$ac_ct_OTOOL64"; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9100 $as_echo "$ac_ct_OTOOL64" >&6; }
9101 else
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9103 $as_echo "no" >&6; }
9106 if test "x$ac_ct_OTOOL64" = x; then
9107 OTOOL64=":"
9108 else
9109 case $cross_compiling:$ac_tool_warned in
9110 yes:)
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9113 ac_tool_warned=yes ;;
9114 esac
9115 OTOOL64=$ac_ct_OTOOL64
9117 else
9118 OTOOL64="$ac_cv_prog_OTOOL64"
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9148 $as_echo_n "checking for -single_module linker flag... " >&6; }
9149 if ${lt_cv_apple_cc_single_mod+:} false; then :
9150 $as_echo_n "(cached) " >&6
9151 else
9152 lt_cv_apple_cc_single_mod=no
9153 if test -z "${LT_MULTI_MODULE}"; then
9154 # By default we will add the -single_module flag. You can override
9155 # by either setting the environment variable LT_MULTI_MODULE
9156 # non-empty at configure time, or by adding -multi_module to the
9157 # link flags.
9158 rm -rf libconftest.dylib*
9159 echo "int foo(void){return 1;}" > conftest.c
9160 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9161 -dynamiclib -Wl,-single_module conftest.c" >&5
9162 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9163 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9164 _lt_result=$?
9165 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9166 lt_cv_apple_cc_single_mod=yes
9167 else
9168 cat conftest.err >&5
9170 rm -rf libconftest.dylib*
9171 rm -f conftest.*
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9175 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9177 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9178 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9179 $as_echo_n "(cached) " >&6
9180 else
9181 lt_cv_ld_exported_symbols_list=no
9182 save_LDFLAGS=$LDFLAGS
9183 echo "_main" > conftest.sym
9184 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9185 if test x$gcc_no_link = xyes; then
9186 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9192 main ()
9196 return 0;
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9200 lt_cv_ld_exported_symbols_list=yes
9201 else
9202 lt_cv_ld_exported_symbols_list=no
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9206 LDFLAGS="$save_LDFLAGS"
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9210 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9212 $as_echo_n "checking for -force_load linker flag... " >&6; }
9213 if ${lt_cv_ld_force_load+:} false; then :
9214 $as_echo_n "(cached) " >&6
9215 else
9216 lt_cv_ld_force_load=no
9217 cat > conftest.c << _LT_EOF
9218 int forced_loaded() { return 2;}
9219 _LT_EOF
9220 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9221 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9222 echo "$AR cru libconftest.a conftest.o" >&5
9223 $AR cru libconftest.a conftest.o 2>&5
9224 cat > conftest.c << _LT_EOF
9225 int main() { return 0;}
9226 _LT_EOF
9227 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9228 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9229 _lt_result=$?
9230 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9231 lt_cv_ld_force_load=yes
9232 else
9233 cat conftest.err >&5
9235 rm -f conftest.err libconftest.a conftest conftest.c
9236 rm -rf conftest.dSYM
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9240 $as_echo "$lt_cv_ld_force_load" >&6; }
9241 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9242 # build without first building modern cctools / linker.
9243 case $host_cpu-$host_os in
9244 *-rhapsody* | *-darwin1.[012])
9245 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9246 *-darwin1.*)
9247 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9248 *-darwin*)
9249 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9250 # deployment target is forced to an earlier version.
9251 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9252 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
9254 10.[012][,.]*)
9255 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9259 esac
9261 esac
9262 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9263 _lt_dar_single_mod='$single_module'
9265 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9266 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9267 else
9268 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9270 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9271 _lt_dsymutil='~$DSYMUTIL $lib || :'
9272 else
9273 _lt_dsymutil=
9276 esac
9278 for ac_header in dlfcn.h
9279 do :
9280 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9282 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9283 cat >>confdefs.h <<_ACEOF
9284 #define HAVE_DLFCN_H 1
9285 _ACEOF
9289 done
9295 # Set options
9300 enable_win32_dll=no
9303 # Check whether --enable-shared was given.
9304 if test "${enable_shared+set}" = set; then :
9305 enableval=$enable_shared; p=${PACKAGE-default}
9306 case $enableval in
9307 yes) enable_shared=yes ;;
9308 no) enable_shared=no ;;
9310 enable_shared=no
9311 # Look at the argument we got. We use all the common list separators.
9312 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9313 for pkg in $enableval; do
9314 IFS="$lt_save_ifs"
9315 if test "X$pkg" = "X$p"; then
9316 enable_shared=yes
9318 done
9319 IFS="$lt_save_ifs"
9321 esac
9322 else
9323 enable_shared=yes
9334 # Check whether --enable-static was given.
9335 if test "${enable_static+set}" = set; then :
9336 enableval=$enable_static; p=${PACKAGE-default}
9337 case $enableval in
9338 yes) enable_static=yes ;;
9339 no) enable_static=no ;;
9341 enable_static=no
9342 # Look at the argument we got. We use all the common list separators.
9343 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9344 for pkg in $enableval; do
9345 IFS="$lt_save_ifs"
9346 if test "X$pkg" = "X$p"; then
9347 enable_static=yes
9349 done
9350 IFS="$lt_save_ifs"
9352 esac
9353 else
9354 enable_static=yes
9366 # Check whether --with-pic was given.
9367 if test "${with_pic+set}" = set; then :
9368 withval=$with_pic; pic_mode="$withval"
9369 else
9370 pic_mode=default
9374 test -z "$pic_mode" && pic_mode=default
9382 # Check whether --enable-fast-install was given.
9383 if test "${enable_fast_install+set}" = set; then :
9384 enableval=$enable_fast_install; p=${PACKAGE-default}
9385 case $enableval in
9386 yes) enable_fast_install=yes ;;
9387 no) enable_fast_install=no ;;
9389 enable_fast_install=no
9390 # Look at the argument we got. We use all the common list separators.
9391 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9392 for pkg in $enableval; do
9393 IFS="$lt_save_ifs"
9394 if test "X$pkg" = "X$p"; then
9395 enable_fast_install=yes
9397 done
9398 IFS="$lt_save_ifs"
9400 esac
9401 else
9402 enable_fast_install=yes
9415 # This can be used to rebuild libtool when needed
9416 LIBTOOL_DEPS="$ltmain"
9418 # Always use our own libtool.
9419 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9446 test -z "$LN_S" && LN_S="ln -s"
9461 if test -n "${ZSH_VERSION+set}" ; then
9462 setopt NO_GLOB_SUBST
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9466 $as_echo_n "checking for objdir... " >&6; }
9467 if ${lt_cv_objdir+:} false; then :
9468 $as_echo_n "(cached) " >&6
9469 else
9470 rm -f .libs 2>/dev/null
9471 mkdir .libs 2>/dev/null
9472 if test -d .libs; then
9473 lt_cv_objdir=.libs
9474 else
9475 # MS-DOS does not allow filenames that begin with a dot.
9476 lt_cv_objdir=_libs
9478 rmdir .libs 2>/dev/null
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9481 $as_echo "$lt_cv_objdir" >&6; }
9482 objdir=$lt_cv_objdir
9488 cat >>confdefs.h <<_ACEOF
9489 #define LT_OBJDIR "$lt_cv_objdir/"
9490 _ACEOF
9495 case $host_os in
9496 aix3*)
9497 # AIX sometimes has problems with the GCC collect2 program. For some
9498 # reason, if we set the COLLECT_NAMES environment variable, the problems
9499 # vanish in a puff of smoke.
9500 if test "X${COLLECT_NAMES+set}" != Xset; then
9501 COLLECT_NAMES=
9502 export COLLECT_NAMES
9505 esac
9507 # Global variables:
9508 ofile=libtool
9509 can_build_shared=yes
9511 # All known linkers require a `.a' archive for static linking (except MSVC,
9512 # which needs '.lib').
9513 libext=a
9515 with_gnu_ld="$lt_cv_prog_gnu_ld"
9517 old_CC="$CC"
9518 old_CFLAGS="$CFLAGS"
9520 # Set sane defaults for various variables
9521 test -z "$CC" && CC=cc
9522 test -z "$LTCC" && LTCC=$CC
9523 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9524 test -z "$LD" && LD=ld
9525 test -z "$ac_objext" && ac_objext=o
9527 for cc_temp in $compiler""; do
9528 case $cc_temp in
9529 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9530 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9531 \-*) ;;
9532 *) break;;
9533 esac
9534 done
9535 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9538 # Only perform the check for file, if the check method requires it
9539 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9540 case $deplibs_check_method in
9541 file_magic*)
9542 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9544 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9545 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9546 $as_echo_n "(cached) " >&6
9547 else
9548 case $MAGIC_CMD in
9549 [\\/*] | ?:[\\/]*)
9550 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9553 lt_save_MAGIC_CMD="$MAGIC_CMD"
9554 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9555 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9556 for ac_dir in $ac_dummy; do
9557 IFS="$lt_save_ifs"
9558 test -z "$ac_dir" && ac_dir=.
9559 if test -f $ac_dir/${ac_tool_prefix}file; then
9560 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9561 if test -n "$file_magic_test_file"; then
9562 case $deplibs_check_method in
9563 "file_magic "*)
9564 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9565 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9566 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9567 $EGREP "$file_magic_regex" > /dev/null; then
9569 else
9570 cat <<_LT_EOF 1>&2
9572 *** Warning: the command libtool uses to detect shared libraries,
9573 *** $file_magic_cmd, produces output that libtool cannot recognize.
9574 *** The result is that libtool may fail to recognize shared libraries
9575 *** as such. This will affect the creation of libtool libraries that
9576 *** depend on shared libraries, but programs linked with such libtool
9577 *** libraries will work regardless of this problem. Nevertheless, you
9578 *** may want to report the problem to your system manager and/or to
9579 *** bug-libtool@gnu.org
9581 _LT_EOF
9582 fi ;;
9583 esac
9585 break
9587 done
9588 IFS="$lt_save_ifs"
9589 MAGIC_CMD="$lt_save_MAGIC_CMD"
9591 esac
9594 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9595 if test -n "$MAGIC_CMD"; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9597 $as_echo "$MAGIC_CMD" >&6; }
9598 else
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9600 $as_echo "no" >&6; }
9607 if test -z "$lt_cv_path_MAGIC_CMD"; then
9608 if test -n "$ac_tool_prefix"; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9610 $as_echo_n "checking for file... " >&6; }
9611 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9612 $as_echo_n "(cached) " >&6
9613 else
9614 case $MAGIC_CMD in
9615 [\\/*] | ?:[\\/]*)
9616 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9619 lt_save_MAGIC_CMD="$MAGIC_CMD"
9620 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9621 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9622 for ac_dir in $ac_dummy; do
9623 IFS="$lt_save_ifs"
9624 test -z "$ac_dir" && ac_dir=.
9625 if test -f $ac_dir/file; then
9626 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9627 if test -n "$file_magic_test_file"; then
9628 case $deplibs_check_method in
9629 "file_magic "*)
9630 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9631 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9632 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9633 $EGREP "$file_magic_regex" > /dev/null; then
9635 else
9636 cat <<_LT_EOF 1>&2
9638 *** Warning: the command libtool uses to detect shared libraries,
9639 *** $file_magic_cmd, produces output that libtool cannot recognize.
9640 *** The result is that libtool may fail to recognize shared libraries
9641 *** as such. This will affect the creation of libtool libraries that
9642 *** depend on shared libraries, but programs linked with such libtool
9643 *** libraries will work regardless of this problem. Nevertheless, you
9644 *** may want to report the problem to your system manager and/or to
9645 *** bug-libtool@gnu.org
9647 _LT_EOF
9648 fi ;;
9649 esac
9651 break
9653 done
9654 IFS="$lt_save_ifs"
9655 MAGIC_CMD="$lt_save_MAGIC_CMD"
9657 esac
9660 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9661 if test -n "$MAGIC_CMD"; then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9663 $as_echo "$MAGIC_CMD" >&6; }
9664 else
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9666 $as_echo "no" >&6; }
9670 else
9671 MAGIC_CMD=:
9677 esac
9679 # Use C for the default configuration in the libtool script
9681 lt_save_CC="$CC"
9682 ac_ext=c
9683 ac_cpp='$CPP $CPPFLAGS'
9684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9689 # Source file extension for C test sources.
9690 ac_ext=c
9692 # Object file extension for compiled C test sources.
9693 objext=o
9694 objext=$objext
9696 # Code to be used in simple compile tests
9697 lt_simple_compile_test_code="int some_variable = 0;"
9699 # Code to be used in simple link tests
9700 lt_simple_link_test_code='int main(){return(0);}'
9708 # If no C compiler was specified, use CC.
9709 LTCC=${LTCC-"$CC"}
9711 # If no C compiler flags were specified, use CFLAGS.
9712 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9714 # Allow CC to be a program name with arguments.
9715 compiler=$CC
9717 # Save the default compiler, since it gets overwritten when the other
9718 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9719 compiler_DEFAULT=$CC
9721 # save warnings/boilerplate of simple test code
9722 ac_outfile=conftest.$ac_objext
9723 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9724 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9725 _lt_compiler_boilerplate=`cat conftest.err`
9726 $RM conftest*
9728 ac_outfile=conftest.$ac_objext
9729 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9730 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9731 _lt_linker_boilerplate=`cat conftest.err`
9732 $RM -r conftest*
9735 ## CAVEAT EMPTOR:
9736 ## There is no encapsulation within the following macros, do not change
9737 ## the running order or otherwise move them around unless you know exactly
9738 ## what you are doing...
9739 if test -n "$compiler"; then
9741 lt_prog_compiler_no_builtin_flag=
9743 if test "$GCC" = yes; then
9744 case $cc_basename in
9745 nvcc*)
9746 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9748 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9749 esac
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9752 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9753 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9754 $as_echo_n "(cached) " >&6
9755 else
9756 lt_cv_prog_compiler_rtti_exceptions=no
9757 ac_outfile=conftest.$ac_objext
9758 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9759 lt_compiler_flag="-fno-rtti -fno-exceptions"
9760 # Insert the option either (1) after the last *FLAGS variable, or
9761 # (2) before a word containing "conftest.", or (3) at the end.
9762 # Note that $ac_compile itself does not contain backslashes and begins
9763 # with a dollar sign (not a hyphen), so the echo should work correctly.
9764 # The option is referenced via a variable to avoid confusing sed.
9765 lt_compile=`echo "$ac_compile" | $SED \
9766 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9767 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9768 -e 's:$: $lt_compiler_flag:'`
9769 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9770 (eval "$lt_compile" 2>conftest.err)
9771 ac_status=$?
9772 cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 if (exit $ac_status) && test -s "$ac_outfile"; then
9775 # The compiler can only warn and ignore the option if not recognized
9776 # So say no if there are warnings other than the usual output.
9777 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9778 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9779 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9780 lt_cv_prog_compiler_rtti_exceptions=yes
9783 $RM conftest*
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9787 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9789 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9790 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9791 else
9802 lt_prog_compiler_wl=
9803 lt_prog_compiler_pic=
9804 lt_prog_compiler_static=
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9807 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9809 if test "$GCC" = yes; then
9810 lt_prog_compiler_wl='-Wl,'
9811 lt_prog_compiler_static='-static'
9813 case $host_os in
9814 aix*)
9815 # All AIX code is PIC.
9816 if test "$host_cpu" = ia64; then
9817 # AIX 5 now supports IA64 processor
9818 lt_prog_compiler_static='-Bstatic'
9820 lt_prog_compiler_pic='-fPIC'
9823 amigaos*)
9824 case $host_cpu in
9825 powerpc)
9826 # see comment about AmigaOS4 .so support
9827 lt_prog_compiler_pic='-fPIC'
9829 m68k)
9830 # FIXME: we need at least 68020 code to build shared libraries, but
9831 # adding the `-m68020' flag to GCC prevents building anything better,
9832 # like `-m68040'.
9833 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9835 esac
9838 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9839 # PIC is the default for these OSes.
9842 mingw* | cygwin* | pw32* | os2* | cegcc*)
9843 # This hack is so that the source file can tell whether it is being
9844 # built for inclusion in a dll (and should export symbols for example).
9845 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9846 # (--disable-auto-import) libraries
9847 lt_prog_compiler_pic='-DDLL_EXPORT'
9850 darwin* | rhapsody*)
9851 # PIC is the default on this platform
9852 # Common symbols not allowed in MH_DYLIB files
9853 lt_prog_compiler_pic='-fno-common'
9856 haiku*)
9857 # PIC is the default for Haiku.
9858 # The "-static" flag exists, but is broken.
9859 lt_prog_compiler_static=
9862 hpux*)
9863 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9864 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9865 # sets the default TLS model and affects inlining.
9866 case $host_cpu in
9867 hppa*64*)
9868 # +Z the default
9871 lt_prog_compiler_pic='-fPIC'
9873 esac
9876 interix[3-9]*)
9877 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9878 # Instead, we relocate shared libraries at runtime.
9881 msdosdjgpp*)
9882 # Just because we use GCC doesn't mean we suddenly get shared libraries
9883 # on systems that don't support them.
9884 lt_prog_compiler_can_build_shared=no
9885 enable_shared=no
9888 *nto* | *qnx*)
9889 # QNX uses GNU C++, but need to define -shared option too, otherwise
9890 # it will coredump.
9891 lt_prog_compiler_pic='-fPIC -shared'
9894 sysv4*MP*)
9895 if test -d /usr/nec; then
9896 lt_prog_compiler_pic=-Kconform_pic
9901 lt_prog_compiler_pic='-fPIC'
9903 esac
9905 case $cc_basename in
9906 nvcc*) # Cuda Compiler Driver 2.2
9907 lt_prog_compiler_wl='-Xlinker '
9908 lt_prog_compiler_pic='-Xcompiler -fPIC'
9910 esac
9911 else
9912 # PORTME Check for flag to pass linker flags through the system compiler.
9913 case $host_os in
9914 aix*)
9915 lt_prog_compiler_wl='-Wl,'
9916 if test "$host_cpu" = ia64; then
9917 # AIX 5 now supports IA64 processor
9918 lt_prog_compiler_static='-Bstatic'
9919 else
9920 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9924 mingw* | cygwin* | pw32* | os2* | cegcc*)
9925 # This hack is so that the source file can tell whether it is being
9926 # built for inclusion in a dll (and should export symbols for example).
9927 lt_prog_compiler_pic='-DDLL_EXPORT'
9930 hpux9* | hpux10* | hpux11*)
9931 lt_prog_compiler_wl='-Wl,'
9932 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9933 # not for PA HP-UX.
9934 case $host_cpu in
9935 hppa*64*|ia64*)
9936 # +Z the default
9939 lt_prog_compiler_pic='+Z'
9941 esac
9942 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9943 lt_prog_compiler_static='${wl}-a ${wl}archive'
9946 irix5* | irix6* | nonstopux*)
9947 lt_prog_compiler_wl='-Wl,'
9948 # PIC (with -KPIC) is the default.
9949 lt_prog_compiler_static='-non_shared'
9952 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9953 case $cc_basename in
9954 # old Intel for x86_64 which still supported -KPIC.
9955 ecc*)
9956 lt_prog_compiler_wl='-Wl,'
9957 lt_prog_compiler_pic='-KPIC'
9958 lt_prog_compiler_static='-static'
9960 # icc used to be incompatible with GCC.
9961 # ICC 10 doesn't accept -KPIC any more.
9962 icc* | ifort*)
9963 lt_prog_compiler_wl='-Wl,'
9964 lt_prog_compiler_pic='-fPIC'
9965 lt_prog_compiler_static='-static'
9967 # Lahey Fortran 8.1.
9968 lf95*)
9969 lt_prog_compiler_wl='-Wl,'
9970 lt_prog_compiler_pic='--shared'
9971 lt_prog_compiler_static='--static'
9973 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9974 # Portland Group compilers (*not* the Pentium gcc compiler,
9975 # which looks to be a dead project)
9976 lt_prog_compiler_wl='-Wl,'
9977 lt_prog_compiler_pic='-fpic'
9978 lt_prog_compiler_static='-Bstatic'
9980 ccc*)
9981 lt_prog_compiler_wl='-Wl,'
9982 # All Alpha code is PIC.
9983 lt_prog_compiler_static='-non_shared'
9985 xl* | bgxl* | bgf* | mpixl*)
9986 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9987 lt_prog_compiler_wl='-Wl,'
9988 lt_prog_compiler_pic='-qpic'
9989 lt_prog_compiler_static='-qstaticlink'
9992 case `$CC -V 2>&1 | sed 5q` in
9993 *Sun\ F* | *Sun*Fortran*)
9994 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9995 lt_prog_compiler_pic='-KPIC'
9996 lt_prog_compiler_static='-Bstatic'
9997 lt_prog_compiler_wl=''
9999 *Sun\ C*)
10000 # Sun C 5.9
10001 lt_prog_compiler_pic='-KPIC'
10002 lt_prog_compiler_static='-Bstatic'
10003 lt_prog_compiler_wl='-Wl,'
10005 esac
10007 esac
10010 newsos6)
10011 lt_prog_compiler_pic='-KPIC'
10012 lt_prog_compiler_static='-Bstatic'
10015 *nto* | *qnx*)
10016 # QNX uses GNU C++, but need to define -shared option too, otherwise
10017 # it will coredump.
10018 lt_prog_compiler_pic='-fPIC -shared'
10021 osf3* | osf4* | osf5*)
10022 lt_prog_compiler_wl='-Wl,'
10023 # All OSF/1 code is PIC.
10024 lt_prog_compiler_static='-non_shared'
10027 rdos*)
10028 lt_prog_compiler_static='-non_shared'
10031 solaris*)
10032 lt_prog_compiler_pic='-KPIC'
10033 lt_prog_compiler_static='-Bstatic'
10034 case $cc_basename in
10035 f77* | f90* | f95*)
10036 lt_prog_compiler_wl='-Qoption ld ';;
10038 lt_prog_compiler_wl='-Wl,';;
10039 esac
10042 sunos4*)
10043 lt_prog_compiler_wl='-Qoption ld '
10044 lt_prog_compiler_pic='-PIC'
10045 lt_prog_compiler_static='-Bstatic'
10048 sysv4 | sysv4.2uw2* | sysv4.3*)
10049 lt_prog_compiler_wl='-Wl,'
10050 lt_prog_compiler_pic='-KPIC'
10051 lt_prog_compiler_static='-Bstatic'
10054 sysv4*MP*)
10055 if test -d /usr/nec ;then
10056 lt_prog_compiler_pic='-Kconform_pic'
10057 lt_prog_compiler_static='-Bstatic'
10061 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10062 lt_prog_compiler_wl='-Wl,'
10063 lt_prog_compiler_pic='-KPIC'
10064 lt_prog_compiler_static='-Bstatic'
10067 unicos*)
10068 lt_prog_compiler_wl='-Wl,'
10069 lt_prog_compiler_can_build_shared=no
10072 uts4*)
10073 lt_prog_compiler_pic='-pic'
10074 lt_prog_compiler_static='-Bstatic'
10078 lt_prog_compiler_can_build_shared=no
10080 esac
10083 case $host_os in
10084 # For platforms which do not support PIC, -DPIC is meaningless:
10085 *djgpp*)
10086 lt_prog_compiler_pic=
10089 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10091 esac
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10093 $as_echo "$lt_prog_compiler_pic" >&6; }
10101 # Check to make sure the PIC flag actually works.
10103 if test -n "$lt_prog_compiler_pic"; then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10105 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10106 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 lt_cv_prog_compiler_pic_works=no
10110 ac_outfile=conftest.$ac_objext
10111 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10112 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10113 # Insert the option either (1) after the last *FLAGS variable, or
10114 # (2) before a word containing "conftest.", or (3) at the end.
10115 # Note that $ac_compile itself does not contain backslashes and begins
10116 # with a dollar sign (not a hyphen), so the echo should work correctly.
10117 # The option is referenced via a variable to avoid confusing sed.
10118 lt_compile=`echo "$ac_compile" | $SED \
10119 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10121 -e 's:$: $lt_compiler_flag:'`
10122 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10123 (eval "$lt_compile" 2>conftest.err)
10124 ac_status=$?
10125 cat conftest.err >&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 if (exit $ac_status) && test -s "$ac_outfile"; then
10128 # The compiler can only warn and ignore the option if not recognized
10129 # So say no if there are warnings other than the usual output.
10130 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10131 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10132 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10133 lt_cv_prog_compiler_pic_works=yes
10136 $RM conftest*
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10140 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10142 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10143 case $lt_prog_compiler_pic in
10144 "" | " "*) ;;
10145 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10146 esac
10147 else
10148 lt_prog_compiler_pic=
10149 lt_prog_compiler_can_build_shared=no
10160 # Check to make sure the static flag actually works.
10162 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10164 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10165 if ${lt_cv_prog_compiler_static_works+:} false; then :
10166 $as_echo_n "(cached) " >&6
10167 else
10168 lt_cv_prog_compiler_static_works=no
10169 save_LDFLAGS="$LDFLAGS"
10170 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10171 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10172 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10173 # The linker can only warn and ignore the option if not recognized
10174 # So say no if there are warnings
10175 if test -s conftest.err; then
10176 # Append any errors to the config.log.
10177 cat conftest.err 1>&5
10178 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10179 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10180 if diff conftest.exp conftest.er2 >/dev/null; then
10181 lt_cv_prog_compiler_static_works=yes
10183 else
10184 lt_cv_prog_compiler_static_works=yes
10187 $RM -r conftest*
10188 LDFLAGS="$save_LDFLAGS"
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10192 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10194 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10196 else
10197 lt_prog_compiler_static=
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10207 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10208 if ${lt_cv_prog_compiler_c_o+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 lt_cv_prog_compiler_c_o=no
10212 $RM -r conftest 2>/dev/null
10213 mkdir conftest
10214 cd conftest
10215 mkdir out
10216 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10218 lt_compiler_flag="-o out/conftest2.$ac_objext"
10219 # Insert the option either (1) after the last *FLAGS variable, or
10220 # (2) before a word containing "conftest.", or (3) at the end.
10221 # Note that $ac_compile itself does not contain backslashes and begins
10222 # with a dollar sign (not a hyphen), so the echo should work correctly.
10223 lt_compile=`echo "$ac_compile" | $SED \
10224 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10226 -e 's:$: $lt_compiler_flag:'`
10227 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10228 (eval "$lt_compile" 2>out/conftest.err)
10229 ac_status=$?
10230 cat out/conftest.err >&5
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10233 then
10234 # The compiler can only warn and ignore the option if not recognized
10235 # So say no if there are warnings
10236 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10237 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10238 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10239 lt_cv_prog_compiler_c_o=yes
10242 chmod u+w . 2>&5
10243 $RM conftest*
10244 # SGI C++ compiler will create directory out/ii_files/ for
10245 # template instantiation
10246 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10247 $RM out/* && rmdir out
10248 cd ..
10249 $RM -r conftest
10250 $RM conftest*
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10254 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10262 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10263 if ${lt_cv_prog_compiler_c_o+:} false; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 lt_cv_prog_compiler_c_o=no
10267 $RM -r conftest 2>/dev/null
10268 mkdir conftest
10269 cd conftest
10270 mkdir out
10271 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10273 lt_compiler_flag="-o out/conftest2.$ac_objext"
10274 # Insert the option either (1) after the last *FLAGS variable, or
10275 # (2) before a word containing "conftest.", or (3) at the end.
10276 # Note that $ac_compile itself does not contain backslashes and begins
10277 # with a dollar sign (not a hyphen), so the echo should work correctly.
10278 lt_compile=`echo "$ac_compile" | $SED \
10279 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10281 -e 's:$: $lt_compiler_flag:'`
10282 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10283 (eval "$lt_compile" 2>out/conftest.err)
10284 ac_status=$?
10285 cat out/conftest.err >&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10288 then
10289 # The compiler can only warn and ignore the option if not recognized
10290 # So say no if there are warnings
10291 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10292 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10293 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10294 lt_cv_prog_compiler_c_o=yes
10297 chmod u+w . 2>&5
10298 $RM conftest*
10299 # SGI C++ compiler will create directory out/ii_files/ for
10300 # template instantiation
10301 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10302 $RM out/* && rmdir out
10303 cd ..
10304 $RM -r conftest
10305 $RM conftest*
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10309 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10314 hard_links="nottested"
10315 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10316 # do not overwrite the value of need_locks provided by the user
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10318 $as_echo_n "checking if we can lock with hard links... " >&6; }
10319 hard_links=yes
10320 $RM conftest*
10321 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10322 touch conftest.a
10323 ln conftest.a conftest.b 2>&5 || hard_links=no
10324 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10326 $as_echo "$hard_links" >&6; }
10327 if test "$hard_links" = no; then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10329 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10330 need_locks=warn
10332 else
10333 need_locks=no
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10342 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10344 runpath_var=
10345 allow_undefined_flag=
10346 always_export_symbols=no
10347 archive_cmds=
10348 archive_expsym_cmds=
10349 compiler_needs_object=no
10350 enable_shared_with_static_runtimes=no
10351 export_dynamic_flag_spec=
10352 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10353 hardcode_automatic=no
10354 hardcode_direct=no
10355 hardcode_direct_absolute=no
10356 hardcode_libdir_flag_spec=
10357 hardcode_libdir_flag_spec_ld=
10358 hardcode_libdir_separator=
10359 hardcode_minus_L=no
10360 hardcode_shlibpath_var=unsupported
10361 inherit_rpath=no
10362 link_all_deplibs=unknown
10363 module_cmds=
10364 module_expsym_cmds=
10365 old_archive_from_new_cmds=
10366 old_archive_from_expsyms_cmds=
10367 thread_safe_flag_spec=
10368 whole_archive_flag_spec=
10369 # include_expsyms should be a list of space-separated symbols to be *always*
10370 # included in the symbol list
10371 include_expsyms=
10372 # exclude_expsyms can be an extended regexp of symbols to exclude
10373 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10374 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10375 # as well as any symbol that contains `d'.
10376 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10377 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10378 # platforms (ab)use it in PIC code, but their linkers get confused if
10379 # the symbol is explicitly referenced. Since portable code cannot
10380 # rely on this symbol name, it's probably fine to never include it in
10381 # preloaded symbol tables.
10382 # Exclude shared library initialization/finalization symbols.
10383 extract_expsyms_cmds=
10385 case $host_os in
10386 cygwin* | mingw* | pw32* | cegcc*)
10387 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10388 # When not using gcc, we currently assume that we are using
10389 # Microsoft Visual C++.
10390 if test "$GCC" != yes; then
10391 with_gnu_ld=no
10394 interix*)
10395 # we just hope/assume this is gcc and not c89 (= MSVC++)
10396 with_gnu_ld=yes
10398 openbsd*)
10399 with_gnu_ld=no
10401 esac
10403 ld_shlibs=yes
10405 # On some targets, GNU ld is compatible enough with the native linker
10406 # that we're better off using the native interface for both.
10407 lt_use_gnu_ld_interface=no
10408 if test "$with_gnu_ld" = yes; then
10409 case $host_os in
10410 aix*)
10411 # The AIX port of GNU ld has always aspired to compatibility
10412 # with the native linker. However, as the warning in the GNU ld
10413 # block says, versions before 2.19.5* couldn't really create working
10414 # shared libraries, regardless of the interface used.
10415 case `$LD -v 2>&1` in
10416 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10417 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10418 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10420 lt_use_gnu_ld_interface=yes
10422 esac
10425 lt_use_gnu_ld_interface=yes
10427 esac
10430 if test "$lt_use_gnu_ld_interface" = yes; then
10431 # If archive_cmds runs LD, not CC, wlarc should be empty
10432 wlarc='${wl}'
10434 # Set some defaults for GNU ld with shared library support. These
10435 # are reset later if shared libraries are not supported. Putting them
10436 # here allows them to be overridden if necessary.
10437 runpath_var=LD_RUN_PATH
10438 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10439 export_dynamic_flag_spec='${wl}--export-dynamic'
10440 # ancient GNU ld didn't support --whole-archive et. al.
10441 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10442 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10443 else
10444 whole_archive_flag_spec=
10446 supports_anon_versioning=no
10447 case `$LD -v 2>&1` in
10448 *GNU\ gold*) supports_anon_versioning=yes ;;
10449 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10450 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10451 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10452 *\ 2.11.*) ;; # other 2.11 versions
10453 *) supports_anon_versioning=yes ;;
10454 esac
10456 # See if GNU ld supports shared libraries.
10457 case $host_os in
10458 aix[3-9]*)
10459 # On AIX/PPC, the GNU linker is very broken
10460 if test "$host_cpu" != ia64; then
10461 ld_shlibs=no
10462 cat <<_LT_EOF 1>&2
10464 *** Warning: the GNU linker, at least up to release 2.19, is reported
10465 *** to be unable to reliably create shared libraries on AIX.
10466 *** Therefore, libtool is disabling shared libraries support. If you
10467 *** really care for shared libraries, you may want to install binutils
10468 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10469 *** You will then need to restart the configuration process.
10471 _LT_EOF
10475 amigaos*)
10476 case $host_cpu in
10477 powerpc)
10478 # see comment about AmigaOS4 .so support
10479 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10480 archive_expsym_cmds=''
10482 m68k)
10483 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)'
10484 hardcode_libdir_flag_spec='-L$libdir'
10485 hardcode_minus_L=yes
10487 esac
10490 beos*)
10491 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10492 allow_undefined_flag=unsupported
10493 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10494 # support --undefined. This deserves some investigation. FIXME
10495 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10496 else
10497 ld_shlibs=no
10501 cygwin* | mingw* | pw32* | cegcc*)
10502 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10503 # as there is no search path for DLLs.
10504 hardcode_libdir_flag_spec='-L$libdir'
10505 export_dynamic_flag_spec='${wl}--export-all-symbols'
10506 allow_undefined_flag=unsupported
10507 always_export_symbols=no
10508 enable_shared_with_static_runtimes=yes
10509 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10511 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10512 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10513 # If the export-symbols file already is a .def file (1st line
10514 # is EXPORTS), use it as is; otherwise, prepend...
10515 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10516 cp $export_symbols $output_objdir/$soname.def;
10517 else
10518 echo EXPORTS > $output_objdir/$soname.def;
10519 cat $export_symbols >> $output_objdir/$soname.def;
10521 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10522 else
10523 ld_shlibs=no
10527 haiku*)
10528 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10529 link_all_deplibs=yes
10532 interix[3-9]*)
10533 hardcode_direct=no
10534 hardcode_shlibpath_var=no
10535 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10536 export_dynamic_flag_spec='${wl}-E'
10537 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10538 # Instead, shared libraries are loaded at an image base (0x10000000 by
10539 # default) and relocated if they conflict, which is a slow very memory
10540 # consuming and fragmenting process. To avoid this, we pick a random,
10541 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10542 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10543 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10544 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'
10547 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10548 tmp_diet=no
10549 if test "$host_os" = linux-dietlibc; then
10550 case $cc_basename in
10551 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10552 esac
10554 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10555 && test "$tmp_diet" = no
10556 then
10557 tmp_addflag=' $pic_flag'
10558 tmp_sharedflag='-shared'
10559 case $cc_basename,$host_cpu in
10560 pgcc*) # Portland Group C compiler
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'
10564 pgf77* | pgf90* | pgf95* | pgfortran*)
10565 # Portland Group f77 and f90 compilers
10566 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'
10567 tmp_addflag=' $pic_flag -Mnomain' ;;
10568 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10569 tmp_addflag=' -i_dynamic' ;;
10570 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10571 tmp_addflag=' -i_dynamic -nofor_main' ;;
10572 ifc* | ifort*) # Intel Fortran compiler
10573 tmp_addflag=' -nofor_main' ;;
10574 lf95*) # Lahey Fortran 8.1
10575 whole_archive_flag_spec=
10576 tmp_sharedflag='--shared' ;;
10577 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10578 tmp_sharedflag='-qmkshrobj'
10579 tmp_addflag= ;;
10580 nvcc*) # Cuda Compiler Driver 2.2
10581 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'
10582 compiler_needs_object=yes
10584 esac
10585 case `$CC -V 2>&1 | sed 5q` in
10586 *Sun\ C*) # Sun C 5.9
10587 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'
10588 compiler_needs_object=yes
10589 tmp_sharedflag='-G' ;;
10590 *Sun\ F*) # Sun Fortran 8.3
10591 tmp_sharedflag='-G' ;;
10592 esac
10593 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10595 if test "x$supports_anon_versioning" = xyes; then
10596 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10597 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10598 echo "local: *; };" >> $output_objdir/$libname.ver~
10599 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10602 case $cc_basename in
10603 xlf* | bgf* | bgxlf* | mpixlf*)
10604 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10605 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10606 hardcode_libdir_flag_spec=
10607 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10608 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10609 if test "x$supports_anon_versioning" = xyes; then
10610 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10611 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10612 echo "local: *; };" >> $output_objdir/$libname.ver~
10613 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10616 esac
10617 else
10618 ld_shlibs=no
10622 netbsd*)
10623 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10624 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10625 wlarc=
10626 else
10627 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10628 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10632 solaris*)
10633 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10634 ld_shlibs=no
10635 cat <<_LT_EOF 1>&2
10637 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10638 *** create shared libraries on Solaris systems. Therefore, libtool
10639 *** is disabling shared libraries support. We urge you to upgrade GNU
10640 *** binutils to release 2.9.1 or newer. Another option is to modify
10641 *** your PATH or compiler configuration so that the native linker is
10642 *** used, and then restart.
10644 _LT_EOF
10645 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10646 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10647 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10648 else
10649 ld_shlibs=no
10653 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10654 case `$LD -v 2>&1` in
10655 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10656 ld_shlibs=no
10657 cat <<_LT_EOF 1>&2
10659 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10660 *** reliably create shared libraries on SCO systems. Therefore, libtool
10661 *** is disabling shared libraries support. We urge you to upgrade GNU
10662 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10663 *** your PATH or compiler configuration so that the native linker is
10664 *** used, and then restart.
10666 _LT_EOF
10669 # For security reasons, it is highly recommended that you always
10670 # use absolute paths for naming shared libraries, and exclude the
10671 # DT_RUNPATH tag from executables and libraries. But doing so
10672 # requires that you compile everything twice, which is a pain.
10673 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10674 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10676 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10677 else
10678 ld_shlibs=no
10681 esac
10684 sunos4*)
10685 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10686 wlarc=
10687 hardcode_direct=yes
10688 hardcode_shlibpath_var=no
10692 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10693 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10694 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10695 else
10696 ld_shlibs=no
10699 esac
10701 if test "$ld_shlibs" = no; then
10702 runpath_var=
10703 hardcode_libdir_flag_spec=
10704 export_dynamic_flag_spec=
10705 whole_archive_flag_spec=
10707 else
10708 # PORTME fill in a description of your system's linker (not GNU ld)
10709 case $host_os in
10710 aix3*)
10711 allow_undefined_flag=unsupported
10712 always_export_symbols=yes
10713 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'
10714 # Note: this linker hardcodes the directories in LIBPATH if there
10715 # are no directories specified by -L.
10716 hardcode_minus_L=yes
10717 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10718 # Neither direct hardcoding nor static linking is supported with a
10719 # broken collect2.
10720 hardcode_direct=unsupported
10724 aix[4-9]*)
10725 if test "$host_cpu" = ia64; then
10726 # On IA64, the linker does run time linking by default, so we don't
10727 # have to do anything special.
10728 aix_use_runtimelinking=no
10729 exp_sym_flag='-Bexport'
10730 no_entry_flag=""
10731 else
10732 # If we're using GNU nm, then we don't want the "-C" option.
10733 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10734 # Also, AIX nm treats weak defined symbols like other global
10735 # defined symbols, whereas GNU nm marks them as "W".
10736 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10737 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'
10738 else
10739 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'
10741 aix_use_runtimelinking=no
10743 # Test if we are trying to use run time linking or normal
10744 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10745 # need to do runtime linking.
10746 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10747 for ld_flag in $LDFLAGS; do
10748 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10749 aix_use_runtimelinking=yes
10750 break
10752 done
10754 esac
10756 exp_sym_flag='-bexport'
10757 no_entry_flag='-bnoentry'
10760 # When large executables or shared objects are built, AIX ld can
10761 # have problems creating the table of contents. If linking a library
10762 # or program results in "error TOC overflow" add -mminimal-toc to
10763 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10764 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10766 archive_cmds=''
10767 hardcode_direct=yes
10768 hardcode_direct_absolute=yes
10769 hardcode_libdir_separator=':'
10770 link_all_deplibs=yes
10771 file_list_spec='${wl}-f,'
10773 if test "$GCC" = yes; then
10774 case $host_os in aix4.[012]|aix4.[012].*)
10775 # We only want to do this on AIX 4.2 and lower, the check
10776 # below for broken collect2 doesn't work under 4.3+
10777 collect2name=`${CC} -print-prog-name=collect2`
10778 if test -f "$collect2name" &&
10779 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10780 then
10781 # We have reworked collect2
10783 else
10784 # We have old collect2
10785 hardcode_direct=unsupported
10786 # It fails to find uninstalled libraries when the uninstalled
10787 # path is not listed in the libpath. Setting hardcode_minus_L
10788 # to unsupported forces relinking
10789 hardcode_minus_L=yes
10790 hardcode_libdir_flag_spec='-L$libdir'
10791 hardcode_libdir_separator=
10794 esac
10795 shared_flag='-shared'
10796 if test "$aix_use_runtimelinking" = yes; then
10797 shared_flag="$shared_flag "'${wl}-G'
10799 else
10800 # not using gcc
10801 if test "$host_cpu" = ia64; then
10802 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10803 # chokes on -Wl,-G. The following line is correct:
10804 shared_flag='-G'
10805 else
10806 if test "$aix_use_runtimelinking" = yes; then
10807 shared_flag='${wl}-G'
10808 else
10809 shared_flag='${wl}-bM:SRE'
10814 export_dynamic_flag_spec='${wl}-bexpall'
10815 # It seems that -bexpall does not export symbols beginning with
10816 # underscore (_), so it is better to generate a list of symbols to export.
10817 always_export_symbols=yes
10818 if test "$aix_use_runtimelinking" = yes; then
10819 # Warning - without using the other runtime loading flags (-brtl),
10820 # -berok will link without error, but may produce a broken library.
10821 allow_undefined_flag='-berok'
10822 # Determine the default libpath from the value encoded in an
10823 # empty executable.
10824 if test x$gcc_no_link = xyes; then
10825 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10831 main ()
10835 return 0;
10837 _ACEOF
10838 if ac_fn_c_try_link "$LINENO"; then :
10840 lt_aix_libpath_sed='
10841 /Import File Strings/,/^$/ {
10842 /^0/ {
10843 s/^0 *\(.*\)$/\1/
10847 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10848 # Check for a 64-bit object if we didn't find anything.
10849 if test -z "$aix_libpath"; then
10850 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10853 rm -f core conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10857 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10858 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"
10859 else
10860 if test "$host_cpu" = ia64; then
10861 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10862 allow_undefined_flag="-z nodefs"
10863 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"
10864 else
10865 # Determine the default libpath from the value encoded in an
10866 # empty executable.
10867 if test x$gcc_no_link = xyes; then
10868 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10874 main ()
10878 return 0;
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"; then :
10883 lt_aix_libpath_sed='
10884 /Import File Strings/,/^$/ {
10885 /^0/ {
10886 s/^0 *\(.*\)$/\1/
10890 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10891 # Check for a 64-bit object if we didn't find anything.
10892 if test -z "$aix_libpath"; then
10893 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10896 rm -f core conftest.err conftest.$ac_objext \
10897 conftest$ac_exeext conftest.$ac_ext
10898 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10900 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10901 # Warning - without using the other run time loading flags,
10902 # -berok will link without error, but may produce a broken library.
10903 no_undefined_flag=' ${wl}-bernotok'
10904 allow_undefined_flag=' ${wl}-berok'
10905 if test "$with_gnu_ld" = yes; then
10906 # We only use this code for GNU lds that support --whole-archive.
10907 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10908 else
10909 # Exported symbols can be pulled into shared objects from archives
10910 whole_archive_flag_spec='$convenience'
10912 archive_cmds_need_lc=yes
10913 # This is similar to how AIX traditionally builds its shared libraries.
10914 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'
10919 amigaos*)
10920 case $host_cpu in
10921 powerpc)
10922 # see comment about AmigaOS4 .so support
10923 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10924 archive_expsym_cmds=''
10926 m68k)
10927 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)'
10928 hardcode_libdir_flag_spec='-L$libdir'
10929 hardcode_minus_L=yes
10931 esac
10934 bsdi[45]*)
10935 export_dynamic_flag_spec=-rdynamic
10938 cygwin* | mingw* | pw32* | cegcc*)
10939 # When not using gcc, we currently assume that we are using
10940 # Microsoft Visual C++.
10941 # hardcode_libdir_flag_spec is actually meaningless, as there is
10942 # no search path for DLLs.
10943 hardcode_libdir_flag_spec=' '
10944 allow_undefined_flag=unsupported
10945 # Tell ltmain to make .lib files, not .a files.
10946 libext=lib
10947 # Tell ltmain to make .dll files, not .so files.
10948 shrext_cmds=".dll"
10949 # FIXME: Setting linknames here is a bad hack.
10950 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10951 # The linker will automatically build a .lib file if we build a DLL.
10952 old_archive_from_new_cmds='true'
10953 # FIXME: Should let the user specify the lib program.
10954 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10955 fix_srcfile_path='`cygpath -w "$srcfile"`'
10956 enable_shared_with_static_runtimes=yes
10959 darwin* | rhapsody*)
10963 # Publish an arg to allow the user to select that Darwin host (and target)
10964 # libraries should be given install-names like @rpath/libfoo.dylib. This
10965 # requires that the user of the library then adds an 'rpath' to the DSO that
10966 # needs access.
10967 # NOTE: there are defaults below, for systems that support rpaths. The person
10968 # configuring can override the defaults for any system version that supports
10969 # them - they are, however, forced off for system versions without support.
10970 # Check whether --enable-darwin-at-rpath was given.
10971 if test "${enable_darwin_at_rpath+set}" = set; then :
10972 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10973 # This is not supported before macOS 10.5 / Darwin9.
10974 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10975 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10977 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10978 enable_darwin_at_rpath=no
10980 esac
10982 else
10983 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10984 # As above, before 10.5 / Darwin9 this does not work.
10985 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10986 enable_darwin_at_rpath=no
10989 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10990 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10991 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10992 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10994 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10995 enable_darwin_at_rpath=yes
10997 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10998 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
11000 esac
11005 archive_cmds_need_lc=no
11006 hardcode_direct=no
11007 hardcode_automatic=yes
11008 hardcode_shlibpath_var=unsupported
11009 if test "$lt_cv_ld_force_load" = "yes"; then
11010 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\"`'
11011 else
11012 whole_archive_flag_spec=''
11014 link_all_deplibs=yes
11015 allow_undefined_flag="$_lt_dar_allow_undefined"
11016 case $cc_basename in
11017 ifort*) _lt_dar_can_shared=yes ;;
11018 *) _lt_dar_can_shared=$GCC ;;
11019 esac
11020 if test "$_lt_dar_can_shared" = "yes"; then
11021 output_verbose_link_cmd=func_echo_all
11022 _lt_install_name='\$rpath/\$soname'
11023 if test "x$enable_darwin_at_rpath" = "xyes"; then
11024 _lt_install_name='@rpath/\$soname'
11026 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
11027 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11028 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}"
11029 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}"
11031 else
11032 ld_shlibs=no
11037 dgux*)
11038 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11039 hardcode_libdir_flag_spec='-L$libdir'
11040 hardcode_shlibpath_var=no
11043 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11044 # support. Future versions do this automatically, but an explicit c++rt0.o
11045 # does not break anything, and helps significantly (at the cost of a little
11046 # extra space).
11047 freebsd2.2*)
11048 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11049 hardcode_libdir_flag_spec='-R$libdir'
11050 hardcode_direct=yes
11051 hardcode_shlibpath_var=no
11054 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11055 freebsd2.*)
11056 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11057 hardcode_direct=yes
11058 hardcode_minus_L=yes
11059 hardcode_shlibpath_var=no
11062 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11063 freebsd* | dragonfly*)
11064 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11065 hardcode_libdir_flag_spec='-R$libdir'
11066 hardcode_direct=yes
11067 hardcode_shlibpath_var=no
11070 hpux9*)
11071 if test "$GCC" = yes; then
11072 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'
11073 else
11074 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'
11076 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11077 hardcode_libdir_separator=:
11078 hardcode_direct=yes
11080 # hardcode_minus_L: Not really in the search PATH,
11081 # but as the default location of the library.
11082 hardcode_minus_L=yes
11083 export_dynamic_flag_spec='${wl}-E'
11086 hpux10*)
11087 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11088 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11089 else
11090 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11092 if test "$with_gnu_ld" = no; then
11093 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11094 hardcode_libdir_flag_spec_ld='+b $libdir'
11095 hardcode_libdir_separator=:
11096 hardcode_direct=yes
11097 hardcode_direct_absolute=yes
11098 export_dynamic_flag_spec='${wl}-E'
11099 # hardcode_minus_L: Not really in the search PATH,
11100 # but as the default location of the library.
11101 hardcode_minus_L=yes
11105 hpux11*)
11106 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11107 case $host_cpu in
11108 hppa*64*)
11109 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11111 ia64*)
11112 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11115 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11117 esac
11118 else
11119 case $host_cpu in
11120 hppa*64*)
11121 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11123 ia64*)
11124 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11128 # Older versions of the 11.00 compiler do not understand -b yet
11129 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11131 $as_echo_n "checking if $CC understands -b... " >&6; }
11132 if ${lt_cv_prog_compiler__b+:} false; then :
11133 $as_echo_n "(cached) " >&6
11134 else
11135 lt_cv_prog_compiler__b=no
11136 save_LDFLAGS="$LDFLAGS"
11137 LDFLAGS="$LDFLAGS -b"
11138 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11139 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11140 # The linker can only warn and ignore the option if not recognized
11141 # So say no if there are warnings
11142 if test -s conftest.err; then
11143 # Append any errors to the config.log.
11144 cat conftest.err 1>&5
11145 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11146 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11147 if diff conftest.exp conftest.er2 >/dev/null; then
11148 lt_cv_prog_compiler__b=yes
11150 else
11151 lt_cv_prog_compiler__b=yes
11154 $RM -r conftest*
11155 LDFLAGS="$save_LDFLAGS"
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11159 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11161 if test x"$lt_cv_prog_compiler__b" = xyes; then
11162 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11163 else
11164 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11168 esac
11170 if test "$with_gnu_ld" = no; then
11171 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11172 hardcode_libdir_separator=:
11174 case $host_cpu in
11175 hppa*64*|ia64*)
11176 hardcode_direct=no
11177 hardcode_shlibpath_var=no
11180 hardcode_direct=yes
11181 hardcode_direct_absolute=yes
11182 export_dynamic_flag_spec='${wl}-E'
11184 # hardcode_minus_L: Not really in the search PATH,
11185 # but as the default location of the library.
11186 hardcode_minus_L=yes
11188 esac
11192 irix5* | irix6* | nonstopux*)
11193 if test "$GCC" = yes; then
11194 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'
11195 # Try to use the -exported_symbol ld option, if it does not
11196 # work, assume that -exports_file does not work either and
11197 # implicitly export all symbols.
11198 save_LDFLAGS="$LDFLAGS"
11199 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11200 if test x$gcc_no_link = xyes; then
11201 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11205 int foo(void) {}
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"; then :
11208 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'
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LDFLAGS="$save_LDFLAGS"
11214 else
11215 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'
11216 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'
11218 archive_cmds_need_lc='no'
11219 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11220 hardcode_libdir_separator=:
11221 inherit_rpath=yes
11222 link_all_deplibs=yes
11225 netbsd*)
11226 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11227 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11228 else
11229 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11231 hardcode_libdir_flag_spec='-R$libdir'
11232 hardcode_direct=yes
11233 hardcode_shlibpath_var=no
11236 newsos6)
11237 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11238 hardcode_direct=yes
11239 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11240 hardcode_libdir_separator=:
11241 hardcode_shlibpath_var=no
11244 *nto* | *qnx*)
11247 openbsd*)
11248 if test -f /usr/libexec/ld.so; then
11249 hardcode_direct=yes
11250 hardcode_shlibpath_var=no
11251 hardcode_direct_absolute=yes
11252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11253 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11254 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11255 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11256 export_dynamic_flag_spec='${wl}-E'
11257 else
11258 case $host_os in
11259 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11260 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11261 hardcode_libdir_flag_spec='-R$libdir'
11264 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11265 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11267 esac
11269 else
11270 ld_shlibs=no
11274 os2*)
11275 hardcode_libdir_flag_spec='-L$libdir'
11276 hardcode_minus_L=yes
11277 allow_undefined_flag=unsupported
11278 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'
11279 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11282 osf3*)
11283 if test "$GCC" = yes; then
11284 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11285 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'
11286 else
11287 allow_undefined_flag=' -expect_unresolved \*'
11288 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'
11290 archive_cmds_need_lc='no'
11291 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11292 hardcode_libdir_separator=:
11295 osf4* | osf5*) # as osf3* with the addition of -msym flag
11296 if test "$GCC" = yes; then
11297 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11298 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'
11299 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11300 else
11301 allow_undefined_flag=' -expect_unresolved \*'
11302 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'
11303 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~
11304 $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'
11306 # Both c and cxx compiler support -rpath directly
11307 hardcode_libdir_flag_spec='-rpath $libdir'
11309 archive_cmds_need_lc='no'
11310 hardcode_libdir_separator=:
11313 solaris*)
11314 no_undefined_flag=' -z defs'
11315 if test "$GCC" = yes; then
11316 wlarc='${wl}'
11317 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11318 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11319 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11320 else
11321 case `$CC -V 2>&1` in
11322 *"Compilers 5.0"*)
11323 wlarc=''
11324 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11325 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11326 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11329 wlarc='${wl}'
11330 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11331 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11332 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11334 esac
11336 hardcode_libdir_flag_spec='-R$libdir'
11337 hardcode_shlibpath_var=no
11338 case $host_os in
11339 solaris2.[0-5] | solaris2.[0-5].*) ;;
11341 # The compiler driver will combine and reorder linker options,
11342 # but understands `-z linker_flag'. GCC discards it without `$wl',
11343 # but is careful enough not to reorder.
11344 # Supported since Solaris 2.6 (maybe 2.5.1?)
11345 if test "$GCC" = yes; then
11346 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11347 else
11348 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11351 esac
11352 link_all_deplibs=yes
11355 sunos4*)
11356 if test "x$host_vendor" = xsequent; then
11357 # Use $CC to link under sequent, because it throws in some extra .o
11358 # files that make .init and .fini sections work.
11359 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11360 else
11361 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11363 hardcode_libdir_flag_spec='-L$libdir'
11364 hardcode_direct=yes
11365 hardcode_minus_L=yes
11366 hardcode_shlibpath_var=no
11369 sysv4)
11370 case $host_vendor in
11371 sni)
11372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11373 hardcode_direct=yes # is this really true???
11375 siemens)
11376 ## LD is ld it makes a PLAMLIB
11377 ## CC just makes a GrossModule.
11378 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11379 reload_cmds='$CC -r -o $output$reload_objs'
11380 hardcode_direct=no
11382 motorola)
11383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11384 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11386 esac
11387 runpath_var='LD_RUN_PATH'
11388 hardcode_shlibpath_var=no
11391 sysv4.3*)
11392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11393 hardcode_shlibpath_var=no
11394 export_dynamic_flag_spec='-Bexport'
11397 sysv4*MP*)
11398 if test -d /usr/nec; then
11399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11400 hardcode_shlibpath_var=no
11401 runpath_var=LD_RUN_PATH
11402 hardcode_runpath_var=yes
11403 ld_shlibs=yes
11407 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11408 no_undefined_flag='${wl}-z,text'
11409 archive_cmds_need_lc=no
11410 hardcode_shlibpath_var=no
11411 runpath_var='LD_RUN_PATH'
11413 if test "$GCC" = yes; then
11414 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11415 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11416 else
11417 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11418 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11422 sysv5* | sco3.2v5* | sco5v6*)
11423 # Note: We can NOT use -z defs as we might desire, because we do not
11424 # link with -lc, and that would cause any symbols used from libc to
11425 # always be unresolved, which means just about no library would
11426 # ever link correctly. If we're not using GNU ld we use -z text
11427 # though, which does catch some bad symbols but isn't as heavy-handed
11428 # as -z defs.
11429 no_undefined_flag='${wl}-z,text'
11430 allow_undefined_flag='${wl}-z,nodefs'
11431 archive_cmds_need_lc=no
11432 hardcode_shlibpath_var=no
11433 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11434 hardcode_libdir_separator=':'
11435 link_all_deplibs=yes
11436 export_dynamic_flag_spec='${wl}-Bexport'
11437 runpath_var='LD_RUN_PATH'
11439 if test "$GCC" = yes; then
11440 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11441 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11442 else
11443 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11444 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11448 uts4*)
11449 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11450 hardcode_libdir_flag_spec='-L$libdir'
11451 hardcode_shlibpath_var=no
11455 ld_shlibs=no
11457 esac
11459 if test x$host_vendor = xsni; then
11460 case $host in
11461 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11462 export_dynamic_flag_spec='${wl}-Blargedynsym'
11464 esac
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11469 $as_echo "$ld_shlibs" >&6; }
11470 test "$ld_shlibs" = no && can_build_shared=no
11472 with_gnu_ld=$with_gnu_ld
11489 # Do we need to explicitly link libc?
11491 case "x$archive_cmds_need_lc" in
11492 x|xyes)
11493 # Assume -lc should be added
11494 archive_cmds_need_lc=yes
11496 if test "$enable_shared" = yes && test "$GCC" = yes; then
11497 case $archive_cmds in
11498 *'~'*)
11499 # FIXME: we may have to deal with multi-command sequences.
11501 '$CC '*)
11502 # Test whether the compiler implicitly links with -lc since on some
11503 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11504 # to ld, don't add -lc before -lgcc.
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11506 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11507 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 $RM conftest*
11511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11514 (eval $ac_compile) 2>&5
11515 ac_status=$?
11516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11517 test $ac_status = 0; } 2>conftest.err; then
11518 soname=conftest
11519 lib=conftest
11520 libobjs=conftest.$ac_objext
11521 deplibs=
11522 wl=$lt_prog_compiler_wl
11523 pic_flag=$lt_prog_compiler_pic
11524 compiler_flags=-v
11525 linker_flags=-v
11526 verstring=
11527 output_objdir=.
11528 libname=conftest
11529 lt_save_allow_undefined_flag=$allow_undefined_flag
11530 allow_undefined_flag=
11531 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11532 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11533 ac_status=$?
11534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11535 test $ac_status = 0; }
11536 then
11537 lt_cv_archive_cmds_need_lc=no
11538 else
11539 lt_cv_archive_cmds_need_lc=yes
11541 allow_undefined_flag=$lt_save_allow_undefined_flag
11542 else
11543 cat conftest.err 1>&5
11545 $RM conftest*
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11549 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11550 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11552 esac
11555 esac
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11714 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11716 if test "$GCC" = yes; then
11717 case $host_os in
11718 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11719 *) lt_awk_arg="/^libraries:/" ;;
11720 esac
11721 case $host_os in
11722 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11723 *) lt_sed_strip_eq="s,=/,/,g" ;;
11724 esac
11725 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11726 case $lt_search_path_spec in
11727 *\;*)
11728 # if the path contains ";" then we assume it to be the separator
11729 # otherwise default to the standard path separator (i.e. ":") - it is
11730 # assumed that no part of a normal pathname contains ";" but that should
11731 # okay in the real world where ";" in dirpaths is itself problematic.
11732 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11735 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11737 esac
11738 # Ok, now we have the path, separated by spaces, we can step through it
11739 # and add multilib dir if necessary.
11740 lt_tmp_lt_search_path_spec=
11741 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11742 for lt_sys_path in $lt_search_path_spec; do
11743 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11744 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11745 else
11746 test -d "$lt_sys_path" && \
11747 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11749 done
11750 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11751 BEGIN {RS=" "; FS="/|\n";} {
11752 lt_foo="";
11753 lt_count=0;
11754 for (lt_i = NF; lt_i > 0; lt_i--) {
11755 if ($lt_i != "" && $lt_i != ".") {
11756 if ($lt_i == "..") {
11757 lt_count++;
11758 } else {
11759 if (lt_count == 0) {
11760 lt_foo="/" $lt_i lt_foo;
11761 } else {
11762 lt_count--;
11767 if (lt_foo != "") { lt_freq[lt_foo]++; }
11768 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11770 # AWK program above erroneously prepends '/' to C:/dos/paths
11771 # for these hosts.
11772 case $host_os in
11773 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11774 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11775 esac
11776 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11777 else
11778 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11780 library_names_spec=
11781 libname_spec='lib$name'
11782 soname_spec=
11783 shrext_cmds=".so"
11784 postinstall_cmds=
11785 postuninstall_cmds=
11786 finish_cmds=
11787 finish_eval=
11788 shlibpath_var=
11789 shlibpath_overrides_runpath=unknown
11790 version_type=none
11791 dynamic_linker="$host_os ld.so"
11792 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11793 need_lib_prefix=unknown
11794 hardcode_into_libs=no
11796 # when you set need_version to no, make sure it does not cause -set_version
11797 # flags to be left without arguments
11798 need_version=unknown
11800 case $host_os in
11801 aix3*)
11802 version_type=linux
11803 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11804 shlibpath_var=LIBPATH
11806 # AIX 3 has no versioning support, so we append a major version to the name.
11807 soname_spec='${libname}${release}${shared_ext}$major'
11810 aix[4-9]*)
11811 version_type=linux
11812 need_lib_prefix=no
11813 need_version=no
11814 hardcode_into_libs=yes
11815 if test "$host_cpu" = ia64; then
11816 # AIX 5 supports IA64
11817 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11818 shlibpath_var=LD_LIBRARY_PATH
11819 else
11820 # With GCC up to 2.95.x, collect2 would create an import file
11821 # for dependence libraries. The import file would start with
11822 # the line `#! .'. This would cause the generated library to
11823 # depend on `.', always an invalid library. This was fixed in
11824 # development snapshots of GCC prior to 3.0.
11825 case $host_os in
11826 aix4 | aix4.[01] | aix4.[01].*)
11827 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11828 echo ' yes '
11829 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11831 else
11832 can_build_shared=no
11835 esac
11836 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11837 # soname into executable. Probably we can add versioning support to
11838 # collect2, so additional links can be useful in future.
11839 if test "$aix_use_runtimelinking" = yes; then
11840 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11841 # instead of lib<name>.a to let people know that these are not
11842 # typical AIX shared libraries.
11843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11844 else
11845 # We preserve .a as extension for shared libraries through AIX4.2
11846 # and later when we are not doing run time linking.
11847 library_names_spec='${libname}${release}.a $libname.a'
11848 soname_spec='${libname}${release}${shared_ext}$major'
11850 shlibpath_var=LIBPATH
11854 amigaos*)
11855 case $host_cpu in
11856 powerpc)
11857 # Since July 2007 AmigaOS4 officially supports .so libraries.
11858 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11861 m68k)
11862 library_names_spec='$libname.ixlibrary $libname.a'
11863 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11864 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'
11866 esac
11869 beos*)
11870 library_names_spec='${libname}${shared_ext}'
11871 dynamic_linker="$host_os ld.so"
11872 shlibpath_var=LIBRARY_PATH
11875 bsdi[45]*)
11876 version_type=linux
11877 need_version=no
11878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11879 soname_spec='${libname}${release}${shared_ext}$major'
11880 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11881 shlibpath_var=LD_LIBRARY_PATH
11882 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11883 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11884 # the default ld.so.conf also contains /usr/contrib/lib and
11885 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11886 # libtool to hard-code these into programs
11889 cygwin* | mingw* | pw32* | cegcc*)
11890 version_type=windows
11891 shrext_cmds=".dll"
11892 need_version=no
11893 need_lib_prefix=no
11895 case $GCC,$host_os in
11896 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11897 library_names_spec='$libname.dll.a'
11898 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11899 postinstall_cmds='base_file=`basename \${file}`~
11900 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11901 dldir=$destdir/`dirname \$dlpath`~
11902 test -d \$dldir || mkdir -p \$dldir~
11903 $install_prog $dir/$dlname \$dldir/$dlname~
11904 chmod a+x \$dldir/$dlname~
11905 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11906 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11908 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11909 dlpath=$dir/\$dldll~
11910 $RM \$dlpath'
11911 shlibpath_overrides_runpath=yes
11913 case $host_os in
11914 cygwin*)
11915 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11916 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11918 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11920 mingw* | cegcc*)
11921 # MinGW DLLs use traditional 'lib' prefix
11922 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11924 pw32*)
11925 # pw32 DLLs use 'pw' prefix rather than 'lib'
11926 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11928 esac
11932 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11934 esac
11935 dynamic_linker='Win32 ld.exe'
11936 # FIXME: first we should search . and the directory the executable is in
11937 shlibpath_var=PATH
11940 darwin* | rhapsody*)
11941 dynamic_linker="$host_os dyld"
11942 version_type=darwin
11943 need_lib_prefix=no
11944 need_version=no
11945 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11946 soname_spec='${libname}${release}${major}$shared_ext'
11947 shlibpath_overrides_runpath=yes
11948 shlibpath_var=DYLD_LIBRARY_PATH
11949 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11951 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11952 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11955 dgux*)
11956 version_type=linux
11957 need_lib_prefix=no
11958 need_version=no
11959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11960 soname_spec='${libname}${release}${shared_ext}$major'
11961 shlibpath_var=LD_LIBRARY_PATH
11964 freebsd* | dragonfly*)
11965 # DragonFly does not have aout. When/if they implement a new
11966 # versioning mechanism, adjust this.
11967 if test -x /usr/bin/objformat; then
11968 objformat=`/usr/bin/objformat`
11969 else
11970 case $host_os in
11971 freebsd[23].*) objformat=aout ;;
11972 *) objformat=elf ;;
11973 esac
11975 version_type=freebsd-$objformat
11976 case $version_type in
11977 freebsd-elf*)
11978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11979 need_version=no
11980 need_lib_prefix=no
11982 freebsd-*)
11983 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11984 need_version=yes
11986 esac
11987 shlibpath_var=LD_LIBRARY_PATH
11988 case $host_os in
11989 freebsd2.*)
11990 shlibpath_overrides_runpath=yes
11992 freebsd3.[01]* | freebsdelf3.[01]*)
11993 shlibpath_overrides_runpath=yes
11994 hardcode_into_libs=yes
11996 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11997 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11998 shlibpath_overrides_runpath=no
11999 hardcode_into_libs=yes
12001 *) # from 4.6 on, and DragonFly
12002 shlibpath_overrides_runpath=yes
12003 hardcode_into_libs=yes
12005 esac
12008 haiku*)
12009 version_type=linux
12010 need_lib_prefix=no
12011 need_version=no
12012 dynamic_linker="$host_os runtime_loader"
12013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12014 soname_spec='${libname}${release}${shared_ext}$major'
12015 shlibpath_var=LIBRARY_PATH
12016 shlibpath_overrides_runpath=yes
12017 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12018 hardcode_into_libs=yes
12021 hpux9* | hpux10* | hpux11*)
12022 # Give a soname corresponding to the major version so that dld.sl refuses to
12023 # link against other versions.
12024 version_type=sunos
12025 need_lib_prefix=no
12026 need_version=no
12027 case $host_cpu in
12028 ia64*)
12029 shrext_cmds='.so'
12030 hardcode_into_libs=yes
12031 dynamic_linker="$host_os dld.so"
12032 shlibpath_var=LD_LIBRARY_PATH
12033 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12035 soname_spec='${libname}${release}${shared_ext}$major'
12036 if test "X$HPUX_IA64_MODE" = X32; then
12037 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12038 else
12039 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12041 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12043 hppa*64*)
12044 shrext_cmds='.sl'
12045 hardcode_into_libs=yes
12046 dynamic_linker="$host_os dld.sl"
12047 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12048 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12050 soname_spec='${libname}${release}${shared_ext}$major'
12051 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12052 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12055 shrext_cmds='.sl'
12056 dynamic_linker="$host_os dld.sl"
12057 shlibpath_var=SHLIB_PATH
12058 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12060 soname_spec='${libname}${release}${shared_ext}$major'
12062 esac
12063 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12064 postinstall_cmds='chmod 555 $lib'
12065 # or fails outright, so override atomically:
12066 install_override_mode=555
12069 interix[3-9]*)
12070 version_type=linux
12071 need_lib_prefix=no
12072 need_version=no
12073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12074 soname_spec='${libname}${release}${shared_ext}$major'
12075 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12076 shlibpath_var=LD_LIBRARY_PATH
12077 shlibpath_overrides_runpath=no
12078 hardcode_into_libs=yes
12081 irix5* | irix6* | nonstopux*)
12082 case $host_os in
12083 nonstopux*) version_type=nonstopux ;;
12085 if test "$lt_cv_prog_gnu_ld" = yes; then
12086 version_type=linux
12087 else
12088 version_type=irix
12089 fi ;;
12090 esac
12091 need_lib_prefix=no
12092 need_version=no
12093 soname_spec='${libname}${release}${shared_ext}$major'
12094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12095 case $host_os in
12096 irix5* | nonstopux*)
12097 libsuff= shlibsuff=
12100 case $LD in # libtool.m4 will add one of these switches to LD
12101 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12102 libsuff= shlibsuff= libmagic=32-bit;;
12103 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12104 libsuff=32 shlibsuff=N32 libmagic=N32;;
12105 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12106 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12107 *) libsuff= shlibsuff= libmagic=never-match;;
12108 esac
12110 esac
12111 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12112 shlibpath_overrides_runpath=no
12113 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12114 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12115 hardcode_into_libs=yes
12118 # No shared lib support for Linux oldld, aout, or coff.
12119 linux*oldld* | linux*aout* | linux*coff*)
12120 dynamic_linker=no
12123 # This must be Linux ELF.
12125 # uclinux* changes (here and below) have been submitted to the libtool
12126 # project, but have not yet been accepted: they are GCC-local changes
12127 # for the time being. (See
12128 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12129 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12130 version_type=linux
12131 need_lib_prefix=no
12132 need_version=no
12133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12134 soname_spec='${libname}${release}${shared_ext}$major'
12135 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12136 shlibpath_var=LD_LIBRARY_PATH
12137 shlibpath_overrides_runpath=no
12139 # Some binutils ld are patched to set DT_RUNPATH
12140 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 lt_cv_shlibpath_overrides_runpath=no
12144 save_LDFLAGS=$LDFLAGS
12145 save_libdir=$libdir
12146 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12147 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12148 if test x$gcc_no_link = xyes; then
12149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12155 main ()
12159 return 0;
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12164 lt_cv_shlibpath_overrides_runpath=yes
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 LDFLAGS=$save_LDFLAGS
12170 libdir=$save_libdir
12174 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12176 # This implies no fast_install, which is unacceptable.
12177 # Some rework will be needed to allow for fast_install
12178 # before this can be enabled.
12179 hardcode_into_libs=yes
12181 # Append ld.so.conf contents to the search path
12182 if test -f /etc/ld.so.conf; then
12183 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' ' '`
12184 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12187 # We used to test for /lib/ld.so.1 and disable shared libraries on
12188 # powerpc, because MkLinux only supported shared libraries with the
12189 # GNU dynamic linker. Since this was broken with cross compilers,
12190 # most powerpc-linux boxes support dynamic linking these days and
12191 # people can always --disable-shared, the test was removed, and we
12192 # assume the GNU/Linux dynamic linker is in use.
12193 dynamic_linker='GNU/Linux ld.so'
12196 netbsd*)
12197 version_type=sunos
12198 need_lib_prefix=no
12199 need_version=no
12200 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12202 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12203 dynamic_linker='NetBSD (a.out) ld.so'
12204 else
12205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12206 soname_spec='${libname}${release}${shared_ext}$major'
12207 dynamic_linker='NetBSD ld.elf_so'
12209 shlibpath_var=LD_LIBRARY_PATH
12210 shlibpath_overrides_runpath=yes
12211 hardcode_into_libs=yes
12214 newsos6)
12215 version_type=linux
12216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12217 shlibpath_var=LD_LIBRARY_PATH
12218 shlibpath_overrides_runpath=yes
12221 *nto* | *qnx*)
12222 version_type=qnx
12223 need_lib_prefix=no
12224 need_version=no
12225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12226 soname_spec='${libname}${release}${shared_ext}$major'
12227 shlibpath_var=LD_LIBRARY_PATH
12228 shlibpath_overrides_runpath=no
12229 hardcode_into_libs=yes
12230 dynamic_linker='ldqnx.so'
12233 openbsd*)
12234 version_type=sunos
12235 sys_lib_dlsearch_path_spec="/usr/lib"
12236 need_lib_prefix=no
12237 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12238 case $host_os in
12239 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12240 *) need_version=no ;;
12241 esac
12242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12243 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12244 shlibpath_var=LD_LIBRARY_PATH
12245 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12246 case $host_os in
12247 openbsd2.[89] | openbsd2.[89].*)
12248 shlibpath_overrides_runpath=no
12251 shlibpath_overrides_runpath=yes
12253 esac
12254 else
12255 shlibpath_overrides_runpath=yes
12259 os2*)
12260 libname_spec='$name'
12261 shrext_cmds=".dll"
12262 need_lib_prefix=no
12263 library_names_spec='$libname${shared_ext} $libname.a'
12264 dynamic_linker='OS/2 ld.exe'
12265 shlibpath_var=LIBPATH
12268 osf3* | osf4* | osf5*)
12269 version_type=osf
12270 need_lib_prefix=no
12271 need_version=no
12272 soname_spec='${libname}${release}${shared_ext}$major'
12273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12274 shlibpath_var=LD_LIBRARY_PATH
12275 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12276 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12279 rdos*)
12280 dynamic_linker=no
12283 solaris*)
12284 version_type=linux
12285 need_lib_prefix=no
12286 need_version=no
12287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12288 soname_spec='${libname}${release}${shared_ext}$major'
12289 shlibpath_var=LD_LIBRARY_PATH
12290 shlibpath_overrides_runpath=yes
12291 hardcode_into_libs=yes
12292 # ldd complains unless libraries are executable
12293 postinstall_cmds='chmod +x $lib'
12296 sunos4*)
12297 version_type=sunos
12298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12299 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12300 shlibpath_var=LD_LIBRARY_PATH
12301 shlibpath_overrides_runpath=yes
12302 if test "$with_gnu_ld" = yes; then
12303 need_lib_prefix=no
12305 need_version=yes
12308 sysv4 | sysv4.3*)
12309 version_type=linux
12310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12311 soname_spec='${libname}${release}${shared_ext}$major'
12312 shlibpath_var=LD_LIBRARY_PATH
12313 case $host_vendor in
12314 sni)
12315 shlibpath_overrides_runpath=no
12316 need_lib_prefix=no
12317 runpath_var=LD_RUN_PATH
12319 siemens)
12320 need_lib_prefix=no
12322 motorola)
12323 need_lib_prefix=no
12324 need_version=no
12325 shlibpath_overrides_runpath=no
12326 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12328 esac
12331 sysv4*MP*)
12332 if test -d /usr/nec ;then
12333 version_type=linux
12334 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12335 soname_spec='$libname${shared_ext}.$major'
12336 shlibpath_var=LD_LIBRARY_PATH
12340 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12341 version_type=freebsd-elf
12342 need_lib_prefix=no
12343 need_version=no
12344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12345 soname_spec='${libname}${release}${shared_ext}$major'
12346 shlibpath_var=LD_LIBRARY_PATH
12347 shlibpath_overrides_runpath=yes
12348 hardcode_into_libs=yes
12349 if test "$with_gnu_ld" = yes; then
12350 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12351 else
12352 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12353 case $host_os in
12354 sco3.2v5*)
12355 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12357 esac
12359 sys_lib_dlsearch_path_spec='/usr/lib'
12362 tpf*)
12363 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12364 version_type=linux
12365 need_lib_prefix=no
12366 need_version=no
12367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12368 shlibpath_var=LD_LIBRARY_PATH
12369 shlibpath_overrides_runpath=no
12370 hardcode_into_libs=yes
12373 uts4*)
12374 version_type=linux
12375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12376 soname_spec='${libname}${release}${shared_ext}$major'
12377 shlibpath_var=LD_LIBRARY_PATH
12380 # Shared libraries for VwWorks, >= 7 only at this stage
12381 # and (fpic) still incompatible with "large" code models
12382 # in a few configurations. Only for RTP mode in any case,
12383 # and upon explicit request at configure time.
12384 vxworks7*)
12385 dynamic_linker=no
12386 case ${with_multisubdir}-${enable_shared} in
12387 *large*)
12389 *mrtp*-yes)
12390 version_type=linux
12391 need_lib_prefix=no
12392 need_version=no
12393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12394 soname_spec='${libname}${release}${shared_ext}$major'
12395 dynamic_linker="$host_os module_loader"
12397 esac
12400 dynamic_linker=no
12402 esac
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12404 $as_echo "$dynamic_linker" >&6; }
12405 test "$dynamic_linker" = no && can_build_shared=no
12407 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12408 if test "$GCC" = yes; then
12409 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12412 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12413 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12415 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12416 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12511 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12512 hardcode_action=
12513 if test -n "$hardcode_libdir_flag_spec" ||
12514 test -n "$runpath_var" ||
12515 test "X$hardcode_automatic" = "Xyes" ; then
12517 # We can hardcode non-existent directories.
12518 if test "$hardcode_direct" != no &&
12519 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12520 # have to relink, otherwise we might link with an installed library
12521 # when we should be linking with a yet-to-be-installed one
12522 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12523 test "$hardcode_minus_L" != no; then
12524 # Linking always hardcodes the temporary library directory.
12525 hardcode_action=relink
12526 else
12527 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12528 hardcode_action=immediate
12530 else
12531 # We cannot hardcode anything, or else we can only hardcode existing
12532 # directories.
12533 hardcode_action=unsupported
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12536 $as_echo "$hardcode_action" >&6; }
12538 if test "$hardcode_action" = relink ||
12539 test "$inherit_rpath" = yes; then
12540 # Fast installation is not supported
12541 enable_fast_install=no
12542 elif test "$shlibpath_overrides_runpath" = yes ||
12543 test "$enable_shared" = no; then
12544 # Fast installation is not necessary
12545 enable_fast_install=needless
12553 if test "x$enable_dlopen" != xyes; then
12554 enable_dlopen=unknown
12555 enable_dlopen_self=unknown
12556 enable_dlopen_self_static=unknown
12557 else
12558 lt_cv_dlopen=no
12559 lt_cv_dlopen_libs=
12561 case $host_os in
12562 beos*)
12563 lt_cv_dlopen="load_add_on"
12564 lt_cv_dlopen_libs=
12565 lt_cv_dlopen_self=yes
12568 mingw* | pw32* | cegcc*)
12569 lt_cv_dlopen="LoadLibrary"
12570 lt_cv_dlopen_libs=
12573 cygwin*)
12574 lt_cv_dlopen="dlopen"
12575 lt_cv_dlopen_libs=
12578 darwin*)
12579 # if libdl is installed we need to link against it
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12581 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12582 if ${ac_cv_lib_dl_dlopen+:} false; then :
12583 $as_echo_n "(cached) " >&6
12584 else
12585 ac_check_lib_save_LIBS=$LIBS
12586 LIBS="-ldl $LIBS"
12587 if test x$gcc_no_link = xyes; then
12588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12596 #ifdef __cplusplus
12597 extern "C"
12598 #endif
12599 char dlopen ();
12601 main ()
12603 return dlopen ();
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_link "$LINENO"; then :
12609 ac_cv_lib_dl_dlopen=yes
12610 else
12611 ac_cv_lib_dl_dlopen=no
12613 rm -f core conftest.err conftest.$ac_objext \
12614 conftest$ac_exeext conftest.$ac_ext
12615 LIBS=$ac_check_lib_save_LIBS
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12618 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12619 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12620 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12621 else
12623 lt_cv_dlopen="dyld"
12624 lt_cv_dlopen_libs=
12625 lt_cv_dlopen_self=yes
12632 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12633 if test "x$ac_cv_func_shl_load" = xyes; then :
12634 lt_cv_dlopen="shl_load"
12635 else
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12637 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12638 if ${ac_cv_lib_dld_shl_load+:} false; then :
12639 $as_echo_n "(cached) " >&6
12640 else
12641 ac_check_lib_save_LIBS=$LIBS
12642 LIBS="-ldld $LIBS"
12643 if test x$gcc_no_link = xyes; then
12644 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 /* Override any GCC internal prototype to avoid an error.
12650 Use char because int might match the return type of a GCC
12651 builtin and then its argument prototype would still apply. */
12652 #ifdef __cplusplus
12653 extern "C"
12654 #endif
12655 char shl_load ();
12657 main ()
12659 return shl_load ();
12661 return 0;
12663 _ACEOF
12664 if ac_fn_c_try_link "$LINENO"; then :
12665 ac_cv_lib_dld_shl_load=yes
12666 else
12667 ac_cv_lib_dld_shl_load=no
12669 rm -f core conftest.err conftest.$ac_objext \
12670 conftest$ac_exeext conftest.$ac_ext
12671 LIBS=$ac_check_lib_save_LIBS
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12674 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12675 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12676 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12677 else
12678 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12679 if test "x$ac_cv_func_dlopen" = xyes; then :
12680 lt_cv_dlopen="dlopen"
12681 else
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12683 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12684 if ${ac_cv_lib_dl_dlopen+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 ac_check_lib_save_LIBS=$LIBS
12688 LIBS="-ldl $LIBS"
12689 if test x$gcc_no_link = xyes; then
12690 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12695 /* Override any GCC internal prototype to avoid an error.
12696 Use char because int might match the return type of a GCC
12697 builtin and then its argument prototype would still apply. */
12698 #ifdef __cplusplus
12699 extern "C"
12700 #endif
12701 char dlopen ();
12703 main ()
12705 return dlopen ();
12707 return 0;
12709 _ACEOF
12710 if ac_fn_c_try_link "$LINENO"; then :
12711 ac_cv_lib_dl_dlopen=yes
12712 else
12713 ac_cv_lib_dl_dlopen=no
12715 rm -f core conftest.err conftest.$ac_objext \
12716 conftest$ac_exeext conftest.$ac_ext
12717 LIBS=$ac_check_lib_save_LIBS
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12720 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12721 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12722 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12723 else
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12725 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12726 if ${ac_cv_lib_svld_dlopen+:} false; then :
12727 $as_echo_n "(cached) " >&6
12728 else
12729 ac_check_lib_save_LIBS=$LIBS
12730 LIBS="-lsvld $LIBS"
12731 if test x$gcc_no_link = xyes; then
12732 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12740 #ifdef __cplusplus
12741 extern "C"
12742 #endif
12743 char dlopen ();
12745 main ()
12747 return dlopen ();
12749 return 0;
12751 _ACEOF
12752 if ac_fn_c_try_link "$LINENO"; then :
12753 ac_cv_lib_svld_dlopen=yes
12754 else
12755 ac_cv_lib_svld_dlopen=no
12757 rm -f core conftest.err conftest.$ac_objext \
12758 conftest$ac_exeext conftest.$ac_ext
12759 LIBS=$ac_check_lib_save_LIBS
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12762 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12763 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12764 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12765 else
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12767 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12768 if ${ac_cv_lib_dld_dld_link+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 ac_check_lib_save_LIBS=$LIBS
12772 LIBS="-ldld $LIBS"
12773 if test x$gcc_no_link = xyes; then
12774 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12782 #ifdef __cplusplus
12783 extern "C"
12784 #endif
12785 char dld_link ();
12787 main ()
12789 return dld_link ();
12791 return 0;
12793 _ACEOF
12794 if ac_fn_c_try_link "$LINENO"; then :
12795 ac_cv_lib_dld_dld_link=yes
12796 else
12797 ac_cv_lib_dld_dld_link=no
12799 rm -f core conftest.err conftest.$ac_objext \
12800 conftest$ac_exeext conftest.$ac_ext
12801 LIBS=$ac_check_lib_save_LIBS
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12804 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12805 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12806 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12825 esac
12827 if test "x$lt_cv_dlopen" != xno; then
12828 enable_dlopen=yes
12829 else
12830 enable_dlopen=no
12833 case $lt_cv_dlopen in
12834 dlopen)
12835 save_CPPFLAGS="$CPPFLAGS"
12836 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12838 save_LDFLAGS="$LDFLAGS"
12839 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12841 save_LIBS="$LIBS"
12842 LIBS="$lt_cv_dlopen_libs $LIBS"
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12845 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12846 if ${lt_cv_dlopen_self+:} false; then :
12847 $as_echo_n "(cached) " >&6
12848 else
12849 if test "$cross_compiling" = yes; then :
12850 lt_cv_dlopen_self=cross
12851 else
12852 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12853 lt_status=$lt_dlunknown
12854 cat > conftest.$ac_ext <<_LT_EOF
12855 #line 12855 "configure"
12856 #include "confdefs.h"
12858 #if HAVE_DLFCN_H
12859 #include <dlfcn.h>
12860 #endif
12862 #include <stdio.h>
12864 #ifdef RTLD_GLOBAL
12865 # define LT_DLGLOBAL RTLD_GLOBAL
12866 #else
12867 # ifdef DL_GLOBAL
12868 # define LT_DLGLOBAL DL_GLOBAL
12869 # else
12870 # define LT_DLGLOBAL 0
12871 # endif
12872 #endif
12874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12875 find out it does not work in some platform. */
12876 #ifndef LT_DLLAZY_OR_NOW
12877 # ifdef RTLD_LAZY
12878 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12879 # else
12880 # ifdef DL_LAZY
12881 # define LT_DLLAZY_OR_NOW DL_LAZY
12882 # else
12883 # ifdef RTLD_NOW
12884 # define LT_DLLAZY_OR_NOW RTLD_NOW
12885 # else
12886 # ifdef DL_NOW
12887 # define LT_DLLAZY_OR_NOW DL_NOW
12888 # else
12889 # define LT_DLLAZY_OR_NOW 0
12890 # endif
12891 # endif
12892 # endif
12893 # endif
12894 #endif
12896 /* When -fvisbility=hidden is used, assume the code has been annotated
12897 correspondingly for the symbols needed. */
12898 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12899 void fnord () __attribute__((visibility("default")));
12900 #endif
12902 void fnord () { int i=42; }
12903 int main ()
12905 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12906 int status = $lt_dlunknown;
12908 if (self)
12910 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12911 else
12913 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12914 else puts (dlerror ());
12916 /* dlclose (self); */
12918 else
12919 puts (dlerror ());
12921 return status;
12923 _LT_EOF
12924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12925 (eval $ac_link) 2>&5
12926 ac_status=$?
12927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12928 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12929 (./conftest; exit; ) >&5 2>/dev/null
12930 lt_status=$?
12931 case x$lt_status in
12932 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12933 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12934 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12935 esac
12936 else :
12937 # compilation failed
12938 lt_cv_dlopen_self=no
12941 rm -fr conftest*
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12946 $as_echo "$lt_cv_dlopen_self" >&6; }
12948 if test "x$lt_cv_dlopen_self" = xyes; then
12949 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12951 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12952 if ${lt_cv_dlopen_self_static+:} false; then :
12953 $as_echo_n "(cached) " >&6
12954 else
12955 if test "$cross_compiling" = yes; then :
12956 lt_cv_dlopen_self_static=cross
12957 else
12958 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12959 lt_status=$lt_dlunknown
12960 cat > conftest.$ac_ext <<_LT_EOF
12961 #line 12961 "configure"
12962 #include "confdefs.h"
12964 #if HAVE_DLFCN_H
12965 #include <dlfcn.h>
12966 #endif
12968 #include <stdio.h>
12970 #ifdef RTLD_GLOBAL
12971 # define LT_DLGLOBAL RTLD_GLOBAL
12972 #else
12973 # ifdef DL_GLOBAL
12974 # define LT_DLGLOBAL DL_GLOBAL
12975 # else
12976 # define LT_DLGLOBAL 0
12977 # endif
12978 #endif
12980 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12981 find out it does not work in some platform. */
12982 #ifndef LT_DLLAZY_OR_NOW
12983 # ifdef RTLD_LAZY
12984 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12985 # else
12986 # ifdef DL_LAZY
12987 # define LT_DLLAZY_OR_NOW DL_LAZY
12988 # else
12989 # ifdef RTLD_NOW
12990 # define LT_DLLAZY_OR_NOW RTLD_NOW
12991 # else
12992 # ifdef DL_NOW
12993 # define LT_DLLAZY_OR_NOW DL_NOW
12994 # else
12995 # define LT_DLLAZY_OR_NOW 0
12996 # endif
12997 # endif
12998 # endif
12999 # endif
13000 #endif
13002 /* When -fvisbility=hidden is used, assume the code has been annotated
13003 correspondingly for the symbols needed. */
13004 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13005 void fnord () __attribute__((visibility("default")));
13006 #endif
13008 void fnord () { int i=42; }
13009 int main ()
13011 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13012 int status = $lt_dlunknown;
13014 if (self)
13016 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13017 else
13019 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13020 else puts (dlerror ());
13022 /* dlclose (self); */
13024 else
13025 puts (dlerror ());
13027 return status;
13029 _LT_EOF
13030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13031 (eval $ac_link) 2>&5
13032 ac_status=$?
13033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13034 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13035 (./conftest; exit; ) >&5 2>/dev/null
13036 lt_status=$?
13037 case x$lt_status in
13038 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13039 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13040 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13041 esac
13042 else :
13043 # compilation failed
13044 lt_cv_dlopen_self_static=no
13047 rm -fr conftest*
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13052 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13055 CPPFLAGS="$save_CPPFLAGS"
13056 LDFLAGS="$save_LDFLAGS"
13057 LIBS="$save_LIBS"
13059 esac
13061 case $lt_cv_dlopen_self in
13062 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13063 *) enable_dlopen_self=unknown ;;
13064 esac
13066 case $lt_cv_dlopen_self_static in
13067 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13068 *) enable_dlopen_self_static=unknown ;;
13069 esac
13088 striplib=
13089 old_striplib=
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13091 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13092 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13093 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13094 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13096 $as_echo "yes" >&6; }
13097 else
13098 # FIXME - insert some real tests, host_os isn't really good enough
13099 case $host_os in
13100 darwin*)
13101 if test -n "$STRIP" ; then
13102 striplib="$STRIP -x"
13103 old_striplib="$STRIP -S"
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13105 $as_echo "yes" >&6; }
13106 else
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13108 $as_echo "no" >&6; }
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13115 esac
13129 # Report which library types will actually be built
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13131 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13133 $as_echo "$can_build_shared" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13136 $as_echo_n "checking whether to build shared libraries... " >&6; }
13137 test "$can_build_shared" = "no" && enable_shared=no
13139 # On AIX, shared libraries and static libraries use the same namespace, and
13140 # are all built from PIC.
13141 case $host_os in
13142 aix3*)
13143 test "$enable_shared" = yes && enable_static=no
13144 if test -n "$RANLIB"; then
13145 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13146 postinstall_cmds='$RANLIB $lib'
13150 aix[4-9]*)
13151 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13152 test "$enable_shared" = yes && enable_static=no
13155 esac
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13157 $as_echo "$enable_shared" >&6; }
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13160 $as_echo_n "checking whether to build static libraries... " >&6; }
13161 # Make sure either enable_shared or enable_static is yes.
13162 test "$enable_shared" = yes || enable_static=yes
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13164 $as_echo "$enable_static" >&6; }
13170 ac_ext=c
13171 ac_cpp='$CPP $CPPFLAGS'
13172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13176 CC="$lt_save_CC"
13190 ac_config_commands="$ac_config_commands libtool"
13195 # Only expand once:
13198 LIBM=
13199 case $host in
13200 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13201 # These system don't have libm, or don't need it
13203 *-ncr-sysv4.3*)
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13205 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13206 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13207 $as_echo_n "(cached) " >&6
13208 else
13209 ac_check_lib_save_LIBS=$LIBS
13210 LIBS="-lmw $LIBS"
13211 if test x$gcc_no_link = xyes; then
13212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13217 /* Override any GCC internal prototype to avoid an error.
13218 Use char because int might match the return type of a GCC
13219 builtin and then its argument prototype would still apply. */
13220 #ifdef __cplusplus
13221 extern "C"
13222 #endif
13223 char _mwvalidcheckl ();
13225 main ()
13227 return _mwvalidcheckl ();
13229 return 0;
13231 _ACEOF
13232 if ac_fn_c_try_link "$LINENO"; then :
13233 ac_cv_lib_mw__mwvalidcheckl=yes
13234 else
13235 ac_cv_lib_mw__mwvalidcheckl=no
13237 rm -f core conftest.err conftest.$ac_objext \
13238 conftest$ac_exeext conftest.$ac_ext
13239 LIBS=$ac_check_lib_save_LIBS
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13242 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13243 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13244 LIBM="-lmw"
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13248 $as_echo_n "checking for cos in -lm... " >&6; }
13249 if ${ac_cv_lib_m_cos+:} false; then :
13250 $as_echo_n "(cached) " >&6
13251 else
13252 ac_check_lib_save_LIBS=$LIBS
13253 LIBS="-lm $LIBS"
13254 if test x$gcc_no_link = xyes; then
13255 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13263 #ifdef __cplusplus
13264 extern "C"
13265 #endif
13266 char cos ();
13268 main ()
13270 return cos ();
13272 return 0;
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"; then :
13276 ac_cv_lib_m_cos=yes
13277 else
13278 ac_cv_lib_m_cos=no
13280 rm -f core conftest.err conftest.$ac_objext \
13281 conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_lib_save_LIBS
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13285 $as_echo "$ac_cv_lib_m_cos" >&6; }
13286 if test "x$ac_cv_lib_m_cos" = xyes; then :
13287 LIBM="$LIBM -lm"
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13293 $as_echo_n "checking for cos in -lm... " >&6; }
13294 if ${ac_cv_lib_m_cos+:} false; then :
13295 $as_echo_n "(cached) " >&6
13296 else
13297 ac_check_lib_save_LIBS=$LIBS
13298 LIBS="-lm $LIBS"
13299 if test x$gcc_no_link = xyes; then
13300 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13308 #ifdef __cplusplus
13309 extern "C"
13310 #endif
13311 char cos ();
13313 main ()
13315 return cos ();
13317 return 0;
13319 _ACEOF
13320 if ac_fn_c_try_link "$LINENO"; then :
13321 ac_cv_lib_m_cos=yes
13322 else
13323 ac_cv_lib_m_cos=no
13325 rm -f core conftest.err conftest.$ac_objext \
13326 conftest$ac_exeext conftest.$ac_ext
13327 LIBS=$ac_check_lib_save_LIBS
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13330 $as_echo "$ac_cv_lib_m_cos" >&6; }
13331 if test "x$ac_cv_lib_m_cos" = xyes; then :
13332 LIBM="-lm"
13336 esac
13342 case $host in
13343 *-cygwin* | *-mingw*)
13344 # 'host' will be top-level target in the case of a target lib,
13345 # we must compare to with_cross_host to decide if this is a native
13346 # or cross-compiler and select where to install dlls appropriately.
13347 if test -n "$with_cross_host" &&
13348 test x"$with_cross_host" != x"no"; then
13349 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13350 else
13351 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13355 lt_host_flags=
13357 esac
13363 if test x$enable_darwin_at_rpath = xyes; then
13364 ENABLE_DARWIN_AT_RPATH_TRUE=
13365 ENABLE_DARWIN_AT_RPATH_FALSE='#'
13366 else
13367 ENABLE_DARWIN_AT_RPATH_TRUE='#'
13368 ENABLE_DARWIN_AT_RPATH_FALSE=
13371 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13373 # We need gfortran to compile parts of the library
13374 #AC_PROG_FC(gfortran)
13375 FC="$GFORTRAN"
13376 ac_ext=${ac_fc_srcext-f}
13377 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13378 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13380 if test -n "$ac_tool_prefix"; then
13381 for ac_prog in gfortran
13383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13384 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13386 $as_echo_n "checking for $ac_word... " >&6; }
13387 if ${ac_cv_prog_FC+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 if test -n "$FC"; then
13391 ac_cv_prog_FC="$FC" # Let the user override the test.
13392 else
13393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13394 for as_dir in $PATH
13396 IFS=$as_save_IFS
13397 test -z "$as_dir" && as_dir=.
13398 for ac_exec_ext in '' $ac_executable_extensions; do
13399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13400 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13402 break 2
13404 done
13405 done
13406 IFS=$as_save_IFS
13410 FC=$ac_cv_prog_FC
13411 if test -n "$FC"; then
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13413 $as_echo "$FC" >&6; }
13414 else
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13416 $as_echo "no" >&6; }
13420 test -n "$FC" && break
13421 done
13423 if test -z "$FC"; then
13424 ac_ct_FC=$FC
13425 for ac_prog in gfortran
13427 # Extract the first word of "$ac_prog", so it can be a program name with args.
13428 set dummy $ac_prog; ac_word=$2
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13430 $as_echo_n "checking for $ac_word... " >&6; }
13431 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13432 $as_echo_n "(cached) " >&6
13433 else
13434 if test -n "$ac_ct_FC"; then
13435 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13436 else
13437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13438 for as_dir in $PATH
13440 IFS=$as_save_IFS
13441 test -z "$as_dir" && as_dir=.
13442 for ac_exec_ext in '' $ac_executable_extensions; do
13443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13444 ac_cv_prog_ac_ct_FC="$ac_prog"
13445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13446 break 2
13448 done
13449 done
13450 IFS=$as_save_IFS
13454 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13455 if test -n "$ac_ct_FC"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13457 $as_echo "$ac_ct_FC" >&6; }
13458 else
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13460 $as_echo "no" >&6; }
13464 test -n "$ac_ct_FC" && break
13465 done
13467 if test "x$ac_ct_FC" = x; then
13468 FC=""
13469 else
13470 case $cross_compiling:$ac_tool_warned in
13471 yes:)
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13474 ac_tool_warned=yes ;;
13475 esac
13476 FC=$ac_ct_FC
13481 # Provide some information about the compiler.
13482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13483 set X $ac_compile
13484 ac_compiler=$2
13485 for ac_option in --version -v -V -qversion; do
13486 { { ac_try="$ac_compiler $ac_option >&5"
13487 case "(($ac_try" in
13488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13489 *) ac_try_echo=$ac_try;;
13490 esac
13491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13492 $as_echo "$ac_try_echo"; } >&5
13493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13494 ac_status=$?
13495 if test -s conftest.err; then
13496 sed '10a\
13497 ... rest of stderr output deleted ...
13498 10q' conftest.err >conftest.er1
13499 cat conftest.er1 >&5
13501 rm -f conftest.er1 conftest.err
13502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13503 test $ac_status = 0; }
13504 done
13505 rm -f a.out
13507 # If we don't use `.F' as extension, the preprocessor is not run on the
13508 # input file. (Note that this only needs to work for GNU compilers.)
13509 ac_save_ext=$ac_ext
13510 ac_ext=F
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13512 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13513 if ${ac_cv_fc_compiler_gnu+:} false; then :
13514 $as_echo_n "(cached) " >&6
13515 else
13516 cat > conftest.$ac_ext <<_ACEOF
13517 program main
13518 #ifndef __GNUC__
13519 choke me
13520 #endif
13523 _ACEOF
13524 if ac_fn_fc_try_compile "$LINENO"; then :
13525 ac_compiler_gnu=yes
13526 else
13527 ac_compiler_gnu=no
13529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13530 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13534 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13535 ac_ext=$ac_save_ext
13536 ac_test_FCFLAGS=${FCFLAGS+set}
13537 ac_save_FCFLAGS=$FCFLAGS
13538 FCFLAGS=
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13540 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13541 if ${ac_cv_prog_fc_g+:} false; then :
13542 $as_echo_n "(cached) " >&6
13543 else
13544 FCFLAGS=-g
13545 cat > conftest.$ac_ext <<_ACEOF
13546 program main
13549 _ACEOF
13550 if ac_fn_fc_try_compile "$LINENO"; then :
13551 ac_cv_prog_fc_g=yes
13552 else
13553 ac_cv_prog_fc_g=no
13555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13559 $as_echo "$ac_cv_prog_fc_g" >&6; }
13560 if test "$ac_test_FCFLAGS" = set; then
13561 FCFLAGS=$ac_save_FCFLAGS
13562 elif test $ac_cv_prog_fc_g = yes; then
13563 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13564 FCFLAGS="-g -O2"
13565 else
13566 FCFLAGS="-g"
13568 else
13569 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13570 FCFLAGS="-O2"
13571 else
13572 FCFLAGS=
13576 if test $ac_compiler_gnu = yes; then
13577 GFC=yes
13578 else
13579 GFC=
13581 ac_ext=c
13582 ac_cpp='$CPP $CPPFLAGS'
13583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13587 ac_ext=${ac_fc_srcext-f}
13588 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13589 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13590 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13593 if test -z "$FC" || test "X$FC" = "Xno"; then
13594 _lt_disable_FC=yes
13597 archive_cmds_need_lc_FC=no
13598 allow_undefined_flag_FC=
13599 always_export_symbols_FC=no
13600 archive_expsym_cmds_FC=
13601 export_dynamic_flag_spec_FC=
13602 hardcode_direct_FC=no
13603 hardcode_direct_absolute_FC=no
13604 hardcode_libdir_flag_spec_FC=
13605 hardcode_libdir_flag_spec_ld_FC=
13606 hardcode_libdir_separator_FC=
13607 hardcode_minus_L_FC=no
13608 hardcode_automatic_FC=no
13609 inherit_rpath_FC=no
13610 module_cmds_FC=
13611 module_expsym_cmds_FC=
13612 link_all_deplibs_FC=unknown
13613 old_archive_cmds_FC=$old_archive_cmds
13614 reload_flag_FC=$reload_flag
13615 reload_cmds_FC=$reload_cmds
13616 no_undefined_flag_FC=
13617 whole_archive_flag_spec_FC=
13618 enable_shared_with_static_runtimes_FC=no
13620 # Source file extension for fc test sources.
13621 ac_ext=${ac_fc_srcext-f}
13623 # Object file extension for compiled fc test sources.
13624 objext=o
13625 objext_FC=$objext
13627 # No sense in running all these tests if we already determined that
13628 # the FC compiler isn't working. Some variables (like enable_shared)
13629 # are currently assumed to apply to all compilers on this platform,
13630 # and will be corrupted by setting them based on a non-working compiler.
13631 if test "$_lt_disable_FC" != yes; then
13632 # Code to be used in simple compile tests
13633 lt_simple_compile_test_code="\
13634 subroutine t
13635 return
13639 # Code to be used in simple link tests
13640 lt_simple_link_test_code="\
13641 program t
13645 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13652 # If no C compiler was specified, use CC.
13653 LTCC=${LTCC-"$CC"}
13655 # If no C compiler flags were specified, use CFLAGS.
13656 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13658 # Allow CC to be a program name with arguments.
13659 compiler=$CC
13662 # save warnings/boilerplate of simple test code
13663 ac_outfile=conftest.$ac_objext
13664 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13665 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13666 _lt_compiler_boilerplate=`cat conftest.err`
13667 $RM conftest*
13669 ac_outfile=conftest.$ac_objext
13670 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13671 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13672 _lt_linker_boilerplate=`cat conftest.err`
13673 $RM -r conftest*
13676 # Allow CC to be a program name with arguments.
13677 lt_save_CC="$CC"
13678 lt_save_GCC=$GCC
13679 CC=${FC-"f95"}
13680 compiler=$CC
13681 GCC=$ac_cv_fc_compiler_gnu
13683 compiler_FC=$CC
13684 for cc_temp in $compiler""; do
13685 case $cc_temp in
13686 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13687 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13688 \-*) ;;
13689 *) break;;
13690 esac
13691 done
13692 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13695 if test -n "$compiler"; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13697 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13699 $as_echo "$can_build_shared" >&6; }
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13702 $as_echo_n "checking whether to build shared libraries... " >&6; }
13703 test "$can_build_shared" = "no" && enable_shared=no
13705 # On AIX, shared libraries and static libraries use the same namespace, and
13706 # are all built from PIC.
13707 case $host_os in
13708 aix3*)
13709 test "$enable_shared" = yes && enable_static=no
13710 if test -n "$RANLIB"; then
13711 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13712 postinstall_cmds='$RANLIB $lib'
13715 aix[4-9]*)
13716 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13717 test "$enable_shared" = yes && enable_static=no
13720 esac
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13722 $as_echo "$enable_shared" >&6; }
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13725 $as_echo_n "checking whether to build static libraries... " >&6; }
13726 # Make sure either enable_shared or enable_static is yes.
13727 test "$enable_shared" = yes || enable_static=yes
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13729 $as_echo "$enable_static" >&6; }
13731 GCC_FC="$ac_cv_fc_compiler_gnu"
13732 LD_FC="$LD"
13734 ## CAVEAT EMPTOR:
13735 ## There is no encapsulation within the following macros, do not change
13736 ## the running order or otherwise move them around unless you know exactly
13737 ## what you are doing...
13738 # Dependencies to place before and after the object being linked:
13739 predep_objects_FC=
13740 postdep_objects_FC=
13741 predeps_FC=
13742 postdeps_FC=
13743 compiler_lib_search_path_FC=
13745 cat > conftest.$ac_ext <<_LT_EOF
13746 subroutine foo
13747 implicit none
13748 integer a
13750 return
13752 _LT_EOF
13754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13755 (eval $ac_compile) 2>&5
13756 ac_status=$?
13757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13758 test $ac_status = 0; }; then
13759 # Parse the compiler output and extract the necessary
13760 # objects, libraries and library flags.
13762 # Sentinel used to keep track of whether or not we are before
13763 # the conftest object file.
13764 pre_test_object_deps_done=no
13766 for p in `eval "$output_verbose_link_cmd"`; do
13767 case $p in
13769 -L* | -R* | -l*)
13770 # Some compilers place space between "-{L,R}" and the path.
13771 # Remove the space.
13772 if test $p = "-L" ||
13773 test $p = "-R"; then
13774 prev=$p
13775 continue
13776 else
13777 prev=
13780 if test "$pre_test_object_deps_done" = no; then
13781 case $p in
13782 -L* | -R*)
13783 # Internal compiler library paths should come after those
13784 # provided the user. The postdeps already come after the
13785 # user supplied libs so there is no need to process them.
13786 if test -z "$compiler_lib_search_path_FC"; then
13787 compiler_lib_search_path_FC="${prev}${p}"
13788 else
13789 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13792 # The "-l" case would never come before the object being
13793 # linked, so don't bother handling this case.
13794 esac
13795 else
13796 if test -z "$postdeps_FC"; then
13797 postdeps_FC="${prev}${p}"
13798 else
13799 postdeps_FC="${postdeps_FC} ${prev}${p}"
13804 *.$objext)
13805 # This assumes that the test object file only shows up
13806 # once in the compiler output.
13807 if test "$p" = "conftest.$objext"; then
13808 pre_test_object_deps_done=yes
13809 continue
13812 if test "$pre_test_object_deps_done" = no; then
13813 if test -z "$predep_objects_FC"; then
13814 predep_objects_FC="$p"
13815 else
13816 predep_objects_FC="$predep_objects_FC $p"
13818 else
13819 if test -z "$postdep_objects_FC"; then
13820 postdep_objects_FC="$p"
13821 else
13822 postdep_objects_FC="$postdep_objects_FC $p"
13827 *) ;; # Ignore the rest.
13829 esac
13830 done
13832 # Clean up.
13833 rm -f a.out a.exe
13834 else
13835 echo "libtool.m4: error: problem compiling FC test program"
13838 $RM -f confest.$objext
13840 # PORTME: override above test on systems where it is broken
13843 case " $postdeps_FC " in
13844 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13845 esac
13846 compiler_lib_search_dirs_FC=
13847 if test -n "${compiler_lib_search_path_FC}"; then
13848 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13881 lt_prog_compiler_wl_FC=
13882 lt_prog_compiler_pic_FC=
13883 lt_prog_compiler_static_FC=
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13886 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13888 if test "$GCC" = yes; then
13889 lt_prog_compiler_wl_FC='-Wl,'
13890 lt_prog_compiler_static_FC='-static'
13892 case $host_os in
13893 aix*)
13894 # All AIX code is PIC.
13895 if test "$host_cpu" = ia64; then
13896 # AIX 5 now supports IA64 processor
13897 lt_prog_compiler_static_FC='-Bstatic'
13899 lt_prog_compiler_pic_FC='-fPIC'
13902 amigaos*)
13903 case $host_cpu in
13904 powerpc)
13905 # see comment about AmigaOS4 .so support
13906 lt_prog_compiler_pic_FC='-fPIC'
13908 m68k)
13909 # FIXME: we need at least 68020 code to build shared libraries, but
13910 # adding the `-m68020' flag to GCC prevents building anything better,
13911 # like `-m68040'.
13912 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13914 esac
13917 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13918 # PIC is the default for these OSes.
13921 mingw* | cygwin* | pw32* | os2* | cegcc*)
13922 # This hack is so that the source file can tell whether it is being
13923 # built for inclusion in a dll (and should export symbols for example).
13924 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13925 # (--disable-auto-import) libraries
13926 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13929 darwin* | rhapsody*)
13930 # PIC is the default on this platform
13931 # Common symbols not allowed in MH_DYLIB files
13932 lt_prog_compiler_pic_FC='-fno-common'
13935 haiku*)
13936 # PIC is the default for Haiku.
13937 # The "-static" flag exists, but is broken.
13938 lt_prog_compiler_static_FC=
13941 hpux*)
13942 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13943 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13944 # sets the default TLS model and affects inlining.
13945 case $host_cpu in
13946 hppa*64*)
13947 # +Z the default
13950 lt_prog_compiler_pic_FC='-fPIC'
13952 esac
13955 interix[3-9]*)
13956 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13957 # Instead, we relocate shared libraries at runtime.
13960 msdosdjgpp*)
13961 # Just because we use GCC doesn't mean we suddenly get shared libraries
13962 # on systems that don't support them.
13963 lt_prog_compiler_can_build_shared_FC=no
13964 enable_shared=no
13967 *nto* | *qnx*)
13968 # QNX uses GNU C++, but need to define -shared option too, otherwise
13969 # it will coredump.
13970 lt_prog_compiler_pic_FC='-fPIC -shared'
13973 sysv4*MP*)
13974 if test -d /usr/nec; then
13975 lt_prog_compiler_pic_FC=-Kconform_pic
13980 lt_prog_compiler_pic_FC='-fPIC'
13982 esac
13984 case $cc_basename in
13985 nvcc*) # Cuda Compiler Driver 2.2
13986 lt_prog_compiler_wl_FC='-Xlinker '
13987 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13989 esac
13990 else
13991 # PORTME Check for flag to pass linker flags through the system compiler.
13992 case $host_os in
13993 aix*)
13994 lt_prog_compiler_wl_FC='-Wl,'
13995 if test "$host_cpu" = ia64; then
13996 # AIX 5 now supports IA64 processor
13997 lt_prog_compiler_static_FC='-Bstatic'
13998 else
13999 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
14003 mingw* | cygwin* | pw32* | os2* | cegcc*)
14004 # This hack is so that the source file can tell whether it is being
14005 # built for inclusion in a dll (and should export symbols for example).
14006 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
14009 hpux9* | hpux10* | hpux11*)
14010 lt_prog_compiler_wl_FC='-Wl,'
14011 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14012 # not for PA HP-UX.
14013 case $host_cpu in
14014 hppa*64*|ia64*)
14015 # +Z the default
14018 lt_prog_compiler_pic_FC='+Z'
14020 esac
14021 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14022 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
14025 irix5* | irix6* | nonstopux*)
14026 lt_prog_compiler_wl_FC='-Wl,'
14027 # PIC (with -KPIC) is the default.
14028 lt_prog_compiler_static_FC='-non_shared'
14031 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14032 case $cc_basename in
14033 # old Intel for x86_64 which still supported -KPIC.
14034 ecc*)
14035 lt_prog_compiler_wl_FC='-Wl,'
14036 lt_prog_compiler_pic_FC='-KPIC'
14037 lt_prog_compiler_static_FC='-static'
14039 # icc used to be incompatible with GCC.
14040 # ICC 10 doesn't accept -KPIC any more.
14041 icc* | ifort*)
14042 lt_prog_compiler_wl_FC='-Wl,'
14043 lt_prog_compiler_pic_FC='-fPIC'
14044 lt_prog_compiler_static_FC='-static'
14046 # Lahey Fortran 8.1.
14047 lf95*)
14048 lt_prog_compiler_wl_FC='-Wl,'
14049 lt_prog_compiler_pic_FC='--shared'
14050 lt_prog_compiler_static_FC='--static'
14052 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
14053 # Portland Group compilers (*not* the Pentium gcc compiler,
14054 # which looks to be a dead project)
14055 lt_prog_compiler_wl_FC='-Wl,'
14056 lt_prog_compiler_pic_FC='-fpic'
14057 lt_prog_compiler_static_FC='-Bstatic'
14059 ccc*)
14060 lt_prog_compiler_wl_FC='-Wl,'
14061 # All Alpha code is PIC.
14062 lt_prog_compiler_static_FC='-non_shared'
14064 xl* | bgxl* | bgf* | mpixl*)
14065 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14066 lt_prog_compiler_wl_FC='-Wl,'
14067 lt_prog_compiler_pic_FC='-qpic'
14068 lt_prog_compiler_static_FC='-qstaticlink'
14071 case `$CC -V 2>&1 | sed 5q` in
14072 *Sun\ F* | *Sun*Fortran*)
14073 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14074 lt_prog_compiler_pic_FC='-KPIC'
14075 lt_prog_compiler_static_FC='-Bstatic'
14076 lt_prog_compiler_wl_FC=''
14078 *Sun\ C*)
14079 # Sun C 5.9
14080 lt_prog_compiler_pic_FC='-KPIC'
14081 lt_prog_compiler_static_FC='-Bstatic'
14082 lt_prog_compiler_wl_FC='-Wl,'
14084 esac
14086 esac
14089 newsos6)
14090 lt_prog_compiler_pic_FC='-KPIC'
14091 lt_prog_compiler_static_FC='-Bstatic'
14094 *nto* | *qnx*)
14095 # QNX uses GNU C++, but need to define -shared option too, otherwise
14096 # it will coredump.
14097 lt_prog_compiler_pic_FC='-fPIC -shared'
14100 osf3* | osf4* | osf5*)
14101 lt_prog_compiler_wl_FC='-Wl,'
14102 # All OSF/1 code is PIC.
14103 lt_prog_compiler_static_FC='-non_shared'
14106 rdos*)
14107 lt_prog_compiler_static_FC='-non_shared'
14110 solaris*)
14111 lt_prog_compiler_pic_FC='-KPIC'
14112 lt_prog_compiler_static_FC='-Bstatic'
14113 case $cc_basename in
14114 f77* | f90* | f95*)
14115 lt_prog_compiler_wl_FC='-Qoption ld ';;
14117 lt_prog_compiler_wl_FC='-Wl,';;
14118 esac
14121 sunos4*)
14122 lt_prog_compiler_wl_FC='-Qoption ld '
14123 lt_prog_compiler_pic_FC='-PIC'
14124 lt_prog_compiler_static_FC='-Bstatic'
14127 sysv4 | sysv4.2uw2* | sysv4.3*)
14128 lt_prog_compiler_wl_FC='-Wl,'
14129 lt_prog_compiler_pic_FC='-KPIC'
14130 lt_prog_compiler_static_FC='-Bstatic'
14133 sysv4*MP*)
14134 if test -d /usr/nec ;then
14135 lt_prog_compiler_pic_FC='-Kconform_pic'
14136 lt_prog_compiler_static_FC='-Bstatic'
14140 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14141 lt_prog_compiler_wl_FC='-Wl,'
14142 lt_prog_compiler_pic_FC='-KPIC'
14143 lt_prog_compiler_static_FC='-Bstatic'
14146 unicos*)
14147 lt_prog_compiler_wl_FC='-Wl,'
14148 lt_prog_compiler_can_build_shared_FC=no
14151 uts4*)
14152 lt_prog_compiler_pic_FC='-pic'
14153 lt_prog_compiler_static_FC='-Bstatic'
14157 lt_prog_compiler_can_build_shared_FC=no
14159 esac
14162 case $host_os in
14163 # For platforms which do not support PIC, -DPIC is meaningless:
14164 *djgpp*)
14165 lt_prog_compiler_pic_FC=
14168 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14170 esac
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14172 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14177 # Check to make sure the PIC flag actually works.
14179 if test -n "$lt_prog_compiler_pic_FC"; then
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14181 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14182 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 lt_cv_prog_compiler_pic_works_FC=no
14186 ac_outfile=conftest.$ac_objext
14187 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14188 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14189 # Insert the option either (1) after the last *FLAGS variable, or
14190 # (2) before a word containing "conftest.", or (3) at the end.
14191 # Note that $ac_compile itself does not contain backslashes and begins
14192 # with a dollar sign (not a hyphen), so the echo should work correctly.
14193 # The option is referenced via a variable to avoid confusing sed.
14194 lt_compile=`echo "$ac_compile" | $SED \
14195 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14196 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14197 -e 's:$: $lt_compiler_flag:'`
14198 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14199 (eval "$lt_compile" 2>conftest.err)
14200 ac_status=$?
14201 cat conftest.err >&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 if (exit $ac_status) && test -s "$ac_outfile"; then
14204 # The compiler can only warn and ignore the option if not recognized
14205 # So say no if there are warnings other than the usual output.
14206 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14207 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14208 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14209 lt_cv_prog_compiler_pic_works_FC=yes
14212 $RM conftest*
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14216 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14218 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14219 case $lt_prog_compiler_pic_FC in
14220 "" | " "*) ;;
14221 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14222 esac
14223 else
14224 lt_prog_compiler_pic_FC=
14225 lt_prog_compiler_can_build_shared_FC=no
14233 # Check to make sure the static flag actually works.
14235 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14237 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14238 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 lt_cv_prog_compiler_static_works_FC=no
14242 save_LDFLAGS="$LDFLAGS"
14243 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14244 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14245 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14246 # The linker can only warn and ignore the option if not recognized
14247 # So say no if there are warnings
14248 if test -s conftest.err; then
14249 # Append any errors to the config.log.
14250 cat conftest.err 1>&5
14251 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14252 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14253 if diff conftest.exp conftest.er2 >/dev/null; then
14254 lt_cv_prog_compiler_static_works_FC=yes
14256 else
14257 lt_cv_prog_compiler_static_works_FC=yes
14260 $RM -r conftest*
14261 LDFLAGS="$save_LDFLAGS"
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14265 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14267 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14269 else
14270 lt_prog_compiler_static_FC=
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14277 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14278 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 lt_cv_prog_compiler_c_o_FC=no
14282 $RM -r conftest 2>/dev/null
14283 mkdir conftest
14284 cd conftest
14285 mkdir out
14286 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14288 lt_compiler_flag="-o out/conftest2.$ac_objext"
14289 # Insert the option either (1) after the last *FLAGS variable, or
14290 # (2) before a word containing "conftest.", or (3) at the end.
14291 # Note that $ac_compile itself does not contain backslashes and begins
14292 # with a dollar sign (not a hyphen), so the echo should work correctly.
14293 lt_compile=`echo "$ac_compile" | $SED \
14294 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14296 -e 's:$: $lt_compiler_flag:'`
14297 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14298 (eval "$lt_compile" 2>out/conftest.err)
14299 ac_status=$?
14300 cat out/conftest.err >&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14303 then
14304 # The compiler can only warn and ignore the option if not recognized
14305 # So say no if there are warnings
14306 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14307 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14308 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14309 lt_cv_prog_compiler_c_o_FC=yes
14312 chmod u+w . 2>&5
14313 $RM conftest*
14314 # SGI C++ compiler will create directory out/ii_files/ for
14315 # template instantiation
14316 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14317 $RM out/* && rmdir out
14318 cd ..
14319 $RM -r conftest
14320 $RM conftest*
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14324 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14329 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14330 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14331 $as_echo_n "(cached) " >&6
14332 else
14333 lt_cv_prog_compiler_c_o_FC=no
14334 $RM -r conftest 2>/dev/null
14335 mkdir conftest
14336 cd conftest
14337 mkdir out
14338 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14340 lt_compiler_flag="-o out/conftest2.$ac_objext"
14341 # Insert the option either (1) after the last *FLAGS variable, or
14342 # (2) before a word containing "conftest.", or (3) at the end.
14343 # Note that $ac_compile itself does not contain backslashes and begins
14344 # with a dollar sign (not a hyphen), so the echo should work correctly.
14345 lt_compile=`echo "$ac_compile" | $SED \
14346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14348 -e 's:$: $lt_compiler_flag:'`
14349 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14350 (eval "$lt_compile" 2>out/conftest.err)
14351 ac_status=$?
14352 cat out/conftest.err >&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14355 then
14356 # The compiler can only warn and ignore the option if not recognized
14357 # So say no if there are warnings
14358 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14359 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14360 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14361 lt_cv_prog_compiler_c_o_FC=yes
14364 chmod u+w . 2>&5
14365 $RM conftest*
14366 # SGI C++ compiler will create directory out/ii_files/ for
14367 # template instantiation
14368 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14369 $RM out/* && rmdir out
14370 cd ..
14371 $RM -r conftest
14372 $RM conftest*
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14376 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14381 hard_links="nottested"
14382 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14383 # do not overwrite the value of need_locks provided by the user
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14385 $as_echo_n "checking if we can lock with hard links... " >&6; }
14386 hard_links=yes
14387 $RM conftest*
14388 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14389 touch conftest.a
14390 ln conftest.a conftest.b 2>&5 || hard_links=no
14391 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14393 $as_echo "$hard_links" >&6; }
14394 if test "$hard_links" = no; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14396 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14397 need_locks=warn
14399 else
14400 need_locks=no
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14406 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14408 runpath_var=
14409 allow_undefined_flag_FC=
14410 always_export_symbols_FC=no
14411 archive_cmds_FC=
14412 archive_expsym_cmds_FC=
14413 compiler_needs_object_FC=no
14414 enable_shared_with_static_runtimes_FC=no
14415 export_dynamic_flag_spec_FC=
14416 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14417 hardcode_automatic_FC=no
14418 hardcode_direct_FC=no
14419 hardcode_direct_absolute_FC=no
14420 hardcode_libdir_flag_spec_FC=
14421 hardcode_libdir_flag_spec_ld_FC=
14422 hardcode_libdir_separator_FC=
14423 hardcode_minus_L_FC=no
14424 hardcode_shlibpath_var_FC=unsupported
14425 inherit_rpath_FC=no
14426 link_all_deplibs_FC=unknown
14427 module_cmds_FC=
14428 module_expsym_cmds_FC=
14429 old_archive_from_new_cmds_FC=
14430 old_archive_from_expsyms_cmds_FC=
14431 thread_safe_flag_spec_FC=
14432 whole_archive_flag_spec_FC=
14433 # include_expsyms should be a list of space-separated symbols to be *always*
14434 # included in the symbol list
14435 include_expsyms_FC=
14436 # exclude_expsyms can be an extended regexp of symbols to exclude
14437 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14438 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14439 # as well as any symbol that contains `d'.
14440 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14441 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14442 # platforms (ab)use it in PIC code, but their linkers get confused if
14443 # the symbol is explicitly referenced. Since portable code cannot
14444 # rely on this symbol name, it's probably fine to never include it in
14445 # preloaded symbol tables.
14446 # Exclude shared library initialization/finalization symbols.
14447 extract_expsyms_cmds=
14449 case $host_os in
14450 cygwin* | mingw* | pw32* | cegcc*)
14451 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14452 # When not using gcc, we currently assume that we are using
14453 # Microsoft Visual C++.
14454 if test "$GCC" != yes; then
14455 with_gnu_ld=no
14458 interix*)
14459 # we just hope/assume this is gcc and not c89 (= MSVC++)
14460 with_gnu_ld=yes
14462 openbsd*)
14463 with_gnu_ld=no
14465 esac
14467 ld_shlibs_FC=yes
14469 # On some targets, GNU ld is compatible enough with the native linker
14470 # that we're better off using the native interface for both.
14471 lt_use_gnu_ld_interface=no
14472 if test "$with_gnu_ld" = yes; then
14473 case $host_os in
14474 aix*)
14475 # The AIX port of GNU ld has always aspired to compatibility
14476 # with the native linker. However, as the warning in the GNU ld
14477 # block says, versions before 2.19.5* couldn't really create working
14478 # shared libraries, regardless of the interface used.
14479 case `$LD -v 2>&1` in
14480 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14481 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14482 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14484 lt_use_gnu_ld_interface=yes
14486 esac
14489 lt_use_gnu_ld_interface=yes
14491 esac
14494 if test "$lt_use_gnu_ld_interface" = yes; then
14495 # If archive_cmds runs LD, not CC, wlarc should be empty
14496 wlarc='${wl}'
14498 # Set some defaults for GNU ld with shared library support. These
14499 # are reset later if shared libraries are not supported. Putting them
14500 # here allows them to be overridden if necessary.
14501 runpath_var=LD_RUN_PATH
14502 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14503 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14504 # ancient GNU ld didn't support --whole-archive et. al.
14505 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14506 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14507 else
14508 whole_archive_flag_spec_FC=
14510 supports_anon_versioning=no
14511 case `$LD -v 2>&1` in
14512 *GNU\ gold*) supports_anon_versioning=yes ;;
14513 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14514 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14515 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14516 *\ 2.11.*) ;; # other 2.11 versions
14517 *) supports_anon_versioning=yes ;;
14518 esac
14520 # See if GNU ld supports shared libraries.
14521 case $host_os in
14522 aix[3-9]*)
14523 # On AIX/PPC, the GNU linker is very broken
14524 if test "$host_cpu" != ia64; then
14525 ld_shlibs_FC=no
14526 cat <<_LT_EOF 1>&2
14528 *** Warning: the GNU linker, at least up to release 2.19, is reported
14529 *** to be unable to reliably create shared libraries on AIX.
14530 *** Therefore, libtool is disabling shared libraries support. If you
14531 *** really care for shared libraries, you may want to install binutils
14532 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14533 *** You will then need to restart the configuration process.
14535 _LT_EOF
14539 amigaos*)
14540 case $host_cpu in
14541 powerpc)
14542 # see comment about AmigaOS4 .so support
14543 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14544 archive_expsym_cmds_FC=''
14546 m68k)
14547 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)'
14548 hardcode_libdir_flag_spec_FC='-L$libdir'
14549 hardcode_minus_L_FC=yes
14551 esac
14554 beos*)
14555 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14556 allow_undefined_flag_FC=unsupported
14557 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14558 # support --undefined. This deserves some investigation. FIXME
14559 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14560 else
14561 ld_shlibs_FC=no
14565 cygwin* | mingw* | pw32* | cegcc*)
14566 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14567 # as there is no search path for DLLs.
14568 hardcode_libdir_flag_spec_FC='-L$libdir'
14569 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14570 allow_undefined_flag_FC=unsupported
14571 always_export_symbols_FC=no
14572 enable_shared_with_static_runtimes_FC=yes
14573 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14575 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14576 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14577 # If the export-symbols file already is a .def file (1st line
14578 # is EXPORTS), use it as is; otherwise, prepend...
14579 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14580 cp $export_symbols $output_objdir/$soname.def;
14581 else
14582 echo EXPORTS > $output_objdir/$soname.def;
14583 cat $export_symbols >> $output_objdir/$soname.def;
14585 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14586 else
14587 ld_shlibs_FC=no
14591 haiku*)
14592 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14593 link_all_deplibs_FC=yes
14596 interix[3-9]*)
14597 hardcode_direct_FC=no
14598 hardcode_shlibpath_var_FC=no
14599 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14600 export_dynamic_flag_spec_FC='${wl}-E'
14601 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14602 # Instead, shared libraries are loaded at an image base (0x10000000 by
14603 # default) and relocated if they conflict, which is a slow very memory
14604 # consuming and fragmenting process. To avoid this, we pick a random,
14605 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14606 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14607 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'
14608 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'
14611 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14612 tmp_diet=no
14613 if test "$host_os" = linux-dietlibc; then
14614 case $cc_basename in
14615 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14616 esac
14618 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14619 && test "$tmp_diet" = no
14620 then
14621 tmp_addflag=' $pic_flag'
14622 tmp_sharedflag='-shared'
14623 case $cc_basename,$host_cpu in
14624 pgcc*) # Portland Group C compiler
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'
14628 pgf77* | pgf90* | pgf95* | pgfortran*)
14629 # Portland Group f77 and f90 compilers
14630 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'
14631 tmp_addflag=' $pic_flag -Mnomain' ;;
14632 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14633 tmp_addflag=' -i_dynamic' ;;
14634 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14635 tmp_addflag=' -i_dynamic -nofor_main' ;;
14636 ifc* | ifort*) # Intel Fortran compiler
14637 tmp_addflag=' -nofor_main' ;;
14638 lf95*) # Lahey Fortran 8.1
14639 whole_archive_flag_spec_FC=
14640 tmp_sharedflag='--shared' ;;
14641 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14642 tmp_sharedflag='-qmkshrobj'
14643 tmp_addflag= ;;
14644 nvcc*) # Cuda Compiler Driver 2.2
14645 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'
14646 compiler_needs_object_FC=yes
14648 esac
14649 case `$CC -V 2>&1 | sed 5q` in
14650 *Sun\ C*) # Sun C 5.9
14651 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'
14652 compiler_needs_object_FC=yes
14653 tmp_sharedflag='-G' ;;
14654 *Sun\ F*) # Sun Fortran 8.3
14655 tmp_sharedflag='-G' ;;
14656 esac
14657 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14659 if test "x$supports_anon_versioning" = xyes; then
14660 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14661 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14662 echo "local: *; };" >> $output_objdir/$libname.ver~
14663 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14666 case $cc_basename in
14667 xlf* | bgf* | bgxlf* | mpixlf*)
14668 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14669 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14670 hardcode_libdir_flag_spec_FC=
14671 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14672 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14673 if test "x$supports_anon_versioning" = xyes; then
14674 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14675 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14676 echo "local: *; };" >> $output_objdir/$libname.ver~
14677 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14680 esac
14681 else
14682 ld_shlibs_FC=no
14686 netbsd*)
14687 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14688 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14689 wlarc=
14690 else
14691 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14692 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14696 solaris*)
14697 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14698 ld_shlibs_FC=no
14699 cat <<_LT_EOF 1>&2
14701 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14702 *** create shared libraries on Solaris systems. Therefore, libtool
14703 *** is disabling shared libraries support. We urge you to upgrade GNU
14704 *** binutils to release 2.9.1 or newer. Another option is to modify
14705 *** your PATH or compiler configuration so that the native linker is
14706 *** used, and then restart.
14708 _LT_EOF
14709 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14710 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14711 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14712 else
14713 ld_shlibs_FC=no
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14718 case `$LD -v 2>&1` in
14719 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14720 ld_shlibs_FC=no
14721 cat <<_LT_EOF 1>&2
14723 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14724 *** reliably create shared libraries on SCO systems. Therefore, libtool
14725 *** is disabling shared libraries support. We urge you to upgrade GNU
14726 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14727 *** your PATH or compiler configuration so that the native linker is
14728 *** used, and then restart.
14730 _LT_EOF
14733 # For security reasons, it is highly recommended that you always
14734 # use absolute paths for naming shared libraries, and exclude the
14735 # DT_RUNPATH tag from executables and libraries. But doing so
14736 # requires that you compile everything twice, which is a pain.
14737 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14738 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14739 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14740 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14741 else
14742 ld_shlibs_FC=no
14745 esac
14748 sunos4*)
14749 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14750 wlarc=
14751 hardcode_direct_FC=yes
14752 hardcode_shlibpath_var_FC=no
14756 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14757 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14758 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14759 else
14760 ld_shlibs_FC=no
14763 esac
14765 if test "$ld_shlibs_FC" = no; then
14766 runpath_var=
14767 hardcode_libdir_flag_spec_FC=
14768 export_dynamic_flag_spec_FC=
14769 whole_archive_flag_spec_FC=
14771 else
14772 # PORTME fill in a description of your system's linker (not GNU ld)
14773 case $host_os in
14774 aix3*)
14775 allow_undefined_flag_FC=unsupported
14776 always_export_symbols_FC=yes
14777 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'
14778 # Note: this linker hardcodes the directories in LIBPATH if there
14779 # are no directories specified by -L.
14780 hardcode_minus_L_FC=yes
14781 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14782 # Neither direct hardcoding nor static linking is supported with a
14783 # broken collect2.
14784 hardcode_direct_FC=unsupported
14788 aix[4-9]*)
14789 if test "$host_cpu" = ia64; then
14790 # On IA64, the linker does run time linking by default, so we don't
14791 # have to do anything special.
14792 aix_use_runtimelinking=no
14793 exp_sym_flag='-Bexport'
14794 no_entry_flag=""
14795 else
14796 # If we're using GNU nm, then we don't want the "-C" option.
14797 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14798 # Also, AIX nm treats weak defined symbols like other global
14799 # defined symbols, whereas GNU nm marks them as "W".
14800 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14801 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'
14802 else
14803 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'
14805 aix_use_runtimelinking=no
14807 # Test if we are trying to use run time linking or normal
14808 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14809 # need to do runtime linking.
14810 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14811 for ld_flag in $LDFLAGS; do
14812 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14813 aix_use_runtimelinking=yes
14814 break
14816 done
14818 esac
14820 exp_sym_flag='-bexport'
14821 no_entry_flag='-bnoentry'
14824 # When large executables or shared objects are built, AIX ld can
14825 # have problems creating the table of contents. If linking a library
14826 # or program results in "error TOC overflow" add -mminimal-toc to
14827 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14828 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14830 archive_cmds_FC=''
14831 hardcode_direct_FC=yes
14832 hardcode_direct_absolute_FC=yes
14833 hardcode_libdir_separator_FC=':'
14834 link_all_deplibs_FC=yes
14835 file_list_spec_FC='${wl}-f,'
14837 if test "$GCC" = yes; then
14838 case $host_os in aix4.[012]|aix4.[012].*)
14839 # We only want to do this on AIX 4.2 and lower, the check
14840 # below for broken collect2 doesn't work under 4.3+
14841 collect2name=`${CC} -print-prog-name=collect2`
14842 if test -f "$collect2name" &&
14843 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14844 then
14845 # We have reworked collect2
14847 else
14848 # We have old collect2
14849 hardcode_direct_FC=unsupported
14850 # It fails to find uninstalled libraries when the uninstalled
14851 # path is not listed in the libpath. Setting hardcode_minus_L
14852 # to unsupported forces relinking
14853 hardcode_minus_L_FC=yes
14854 hardcode_libdir_flag_spec_FC='-L$libdir'
14855 hardcode_libdir_separator_FC=
14858 esac
14859 shared_flag='-shared'
14860 if test "$aix_use_runtimelinking" = yes; then
14861 shared_flag="$shared_flag "'${wl}-G'
14863 else
14864 # not using gcc
14865 if test "$host_cpu" = ia64; then
14866 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14867 # chokes on -Wl,-G. The following line is correct:
14868 shared_flag='-G'
14869 else
14870 if test "$aix_use_runtimelinking" = yes; then
14871 shared_flag='${wl}-G'
14872 else
14873 shared_flag='${wl}-bM:SRE'
14878 export_dynamic_flag_spec_FC='${wl}-bexpall'
14879 # It seems that -bexpall does not export symbols beginning with
14880 # underscore (_), so it is better to generate a list of symbols to export.
14881 always_export_symbols_FC=yes
14882 if test "$aix_use_runtimelinking" = yes; then
14883 # Warning - without using the other runtime loading flags (-brtl),
14884 # -berok will link without error, but may produce a broken library.
14885 allow_undefined_flag_FC='-berok'
14886 # Determine the default libpath from the value encoded in an
14887 # empty executable.
14888 if test x$gcc_no_link = xyes; then
14889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14891 cat > conftest.$ac_ext <<_ACEOF
14892 program main
14895 _ACEOF
14896 if ac_fn_fc_try_link "$LINENO"; then :
14898 lt_aix_libpath_sed='
14899 /Import File Strings/,/^$/ {
14900 /^0/ {
14901 s/^0 *\(.*\)$/\1/
14905 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14906 # Check for a 64-bit object if we didn't find anything.
14907 if test -z "$aix_libpath"; then
14908 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14913 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14915 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14916 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"
14917 else
14918 if test "$host_cpu" = ia64; then
14919 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14920 allow_undefined_flag_FC="-z nodefs"
14921 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"
14922 else
14923 # Determine the default libpath from the value encoded in an
14924 # empty executable.
14925 if test x$gcc_no_link = xyes; then
14926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14928 cat > conftest.$ac_ext <<_ACEOF
14929 program main
14932 _ACEOF
14933 if ac_fn_fc_try_link "$LINENO"; then :
14935 lt_aix_libpath_sed='
14936 /Import File Strings/,/^$/ {
14937 /^0/ {
14938 s/^0 *\(.*\)$/\1/
14942 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14943 # Check for a 64-bit object if we didn't find anything.
14944 if test -z "$aix_libpath"; then
14945 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14948 rm -f core conftest.err conftest.$ac_objext \
14949 conftest$ac_exeext conftest.$ac_ext
14950 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14952 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14953 # Warning - without using the other run time loading flags,
14954 # -berok will link without error, but may produce a broken library.
14955 no_undefined_flag_FC=' ${wl}-bernotok'
14956 allow_undefined_flag_FC=' ${wl}-berok'
14957 if test "$with_gnu_ld" = yes; then
14958 # We only use this code for GNU lds that support --whole-archive.
14959 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14960 else
14961 # Exported symbols can be pulled into shared objects from archives
14962 whole_archive_flag_spec_FC='$convenience'
14964 archive_cmds_need_lc_FC=yes
14965 # This is similar to how AIX traditionally builds its shared libraries.
14966 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'
14971 amigaos*)
14972 case $host_cpu in
14973 powerpc)
14974 # see comment about AmigaOS4 .so support
14975 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14976 archive_expsym_cmds_FC=''
14978 m68k)
14979 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)'
14980 hardcode_libdir_flag_spec_FC='-L$libdir'
14981 hardcode_minus_L_FC=yes
14983 esac
14986 bsdi[45]*)
14987 export_dynamic_flag_spec_FC=-rdynamic
14990 cygwin* | mingw* | pw32* | cegcc*)
14991 # When not using gcc, we currently assume that we are using
14992 # Microsoft Visual C++.
14993 # hardcode_libdir_flag_spec is actually meaningless, as there is
14994 # no search path for DLLs.
14995 hardcode_libdir_flag_spec_FC=' '
14996 allow_undefined_flag_FC=unsupported
14997 # Tell ltmain to make .lib files, not .a files.
14998 libext=lib
14999 # Tell ltmain to make .dll files, not .so files.
15000 shrext_cmds=".dll"
15001 # FIXME: Setting linknames here is a bad hack.
15002 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
15003 # The linker will automatically build a .lib file if we build a DLL.
15004 old_archive_from_new_cmds_FC='true'
15005 # FIXME: Should let the user specify the lib program.
15006 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
15007 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
15008 enable_shared_with_static_runtimes_FC=yes
15011 darwin* | rhapsody*)
15015 # Publish an arg to allow the user to select that Darwin host (and target)
15016 # libraries should be given install-names like @rpath/libfoo.dylib. This
15017 # requires that the user of the library then adds an 'rpath' to the DSO that
15018 # needs access.
15019 # NOTE: there are defaults below, for systems that support rpaths. The person
15020 # configuring can override the defaults for any system version that supports
15021 # them - they are, however, forced off for system versions without support.
15022 # Check whether --enable-darwin-at-rpath was given.
15023 if test "${enable_darwin_at_rpath+set}" = set; then :
15024 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
15025 # This is not supported before macOS 10.5 / Darwin9.
15026 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15027 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
15029 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
15030 enable_darwin_at_rpath=no
15032 esac
15034 else
15035 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15036 # As above, before 10.5 / Darwin9 this does not work.
15037 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
15038 enable_darwin_at_rpath=no
15041 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
15042 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
15043 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
15044 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
15046 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
15047 enable_darwin_at_rpath=yes
15049 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
15050 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
15052 esac
15057 archive_cmds_need_lc_FC=no
15058 hardcode_direct_FC=no
15059 hardcode_automatic_FC=yes
15060 hardcode_shlibpath_var_FC=unsupported
15061 if test "$lt_cv_ld_force_load" = "yes"; then
15062 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\"`'
15063 else
15064 whole_archive_flag_spec_FC=''
15066 link_all_deplibs_FC=yes
15067 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
15068 case $cc_basename in
15069 ifort*) _lt_dar_can_shared=yes ;;
15070 *) _lt_dar_can_shared=$GCC ;;
15071 esac
15072 if test "$_lt_dar_can_shared" = "yes"; then
15073 output_verbose_link_cmd=func_echo_all
15074 _lt_install_name='\$rpath/\$soname'
15075 if test "x$enable_darwin_at_rpath" = "xyes"; then
15076 _lt_install_name='@rpath/\$soname'
15078 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
15079 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15080 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}"
15081 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}"
15083 else
15084 ld_shlibs_FC=no
15089 dgux*)
15090 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15091 hardcode_libdir_flag_spec_FC='-L$libdir'
15092 hardcode_shlibpath_var_FC=no
15095 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15096 # support. Future versions do this automatically, but an explicit c++rt0.o
15097 # does not break anything, and helps significantly (at the cost of a little
15098 # extra space).
15099 freebsd2.2*)
15100 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15101 hardcode_libdir_flag_spec_FC='-R$libdir'
15102 hardcode_direct_FC=yes
15103 hardcode_shlibpath_var_FC=no
15106 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15107 freebsd2.*)
15108 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15109 hardcode_direct_FC=yes
15110 hardcode_minus_L_FC=yes
15111 hardcode_shlibpath_var_FC=no
15114 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15115 freebsd* | dragonfly*)
15116 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15117 hardcode_libdir_flag_spec_FC='-R$libdir'
15118 hardcode_direct_FC=yes
15119 hardcode_shlibpath_var_FC=no
15122 hpux9*)
15123 if test "$GCC" = yes; then
15124 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'
15125 else
15126 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'
15128 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15129 hardcode_libdir_separator_FC=:
15130 hardcode_direct_FC=yes
15132 # hardcode_minus_L: Not really in the search PATH,
15133 # but as the default location of the library.
15134 hardcode_minus_L_FC=yes
15135 export_dynamic_flag_spec_FC='${wl}-E'
15138 hpux10*)
15139 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15140 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15141 else
15142 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15144 if test "$with_gnu_ld" = no; then
15145 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15146 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15147 hardcode_libdir_separator_FC=:
15148 hardcode_direct_FC=yes
15149 hardcode_direct_absolute_FC=yes
15150 export_dynamic_flag_spec_FC='${wl}-E'
15151 # hardcode_minus_L: Not really in the search PATH,
15152 # but as the default location of the library.
15153 hardcode_minus_L_FC=yes
15157 hpux11*)
15158 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15159 case $host_cpu in
15160 hppa*64*)
15161 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15163 ia64*)
15164 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15167 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15169 esac
15170 else
15171 case $host_cpu in
15172 hppa*64*)
15173 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15175 ia64*)
15176 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15179 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15181 esac
15183 if test "$with_gnu_ld" = no; then
15184 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15185 hardcode_libdir_separator_FC=:
15187 case $host_cpu in
15188 hppa*64*|ia64*)
15189 hardcode_direct_FC=no
15190 hardcode_shlibpath_var_FC=no
15193 hardcode_direct_FC=yes
15194 hardcode_direct_absolute_FC=yes
15195 export_dynamic_flag_spec_FC='${wl}-E'
15197 # hardcode_minus_L: Not really in the search PATH,
15198 # but as the default location of the library.
15199 hardcode_minus_L_FC=yes
15201 esac
15205 irix5* | irix6* | nonstopux*)
15206 if test "$GCC" = yes; then
15207 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'
15208 # Try to use the -exported_symbol ld option, if it does not
15209 # work, assume that -exports_file does not work either and
15210 # implicitly export all symbols.
15211 save_LDFLAGS="$LDFLAGS"
15212 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15213 if test x$gcc_no_link = xyes; then
15214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15216 cat > conftest.$ac_ext <<_ACEOF
15217 int foo(void) {}
15218 _ACEOF
15219 if ac_fn_fc_try_link "$LINENO"; then :
15220 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'
15223 rm -f core conftest.err conftest.$ac_objext \
15224 conftest$ac_exeext conftest.$ac_ext
15225 LDFLAGS="$save_LDFLAGS"
15226 else
15227 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'
15228 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'
15230 archive_cmds_need_lc_FC='no'
15231 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15232 hardcode_libdir_separator_FC=:
15233 inherit_rpath_FC=yes
15234 link_all_deplibs_FC=yes
15237 netbsd*)
15238 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15239 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15240 else
15241 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15243 hardcode_libdir_flag_spec_FC='-R$libdir'
15244 hardcode_direct_FC=yes
15245 hardcode_shlibpath_var_FC=no
15248 newsos6)
15249 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15250 hardcode_direct_FC=yes
15251 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15252 hardcode_libdir_separator_FC=:
15253 hardcode_shlibpath_var_FC=no
15256 *nto* | *qnx*)
15259 openbsd*)
15260 if test -f /usr/libexec/ld.so; then
15261 hardcode_direct_FC=yes
15262 hardcode_shlibpath_var_FC=no
15263 hardcode_direct_absolute_FC=yes
15264 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15265 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15266 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15267 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15268 export_dynamic_flag_spec_FC='${wl}-E'
15269 else
15270 case $host_os in
15271 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15272 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15273 hardcode_libdir_flag_spec_FC='-R$libdir'
15276 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15277 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15279 esac
15281 else
15282 ld_shlibs_FC=no
15286 os2*)
15287 hardcode_libdir_flag_spec_FC='-L$libdir'
15288 hardcode_minus_L_FC=yes
15289 allow_undefined_flag_FC=unsupported
15290 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'
15291 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15294 osf3*)
15295 if test "$GCC" = yes; then
15296 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15297 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'
15298 else
15299 allow_undefined_flag_FC=' -expect_unresolved \*'
15300 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'
15302 archive_cmds_need_lc_FC='no'
15303 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15304 hardcode_libdir_separator_FC=:
15307 osf4* | osf5*) # as osf3* with the addition of -msym flag
15308 if test "$GCC" = yes; then
15309 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15310 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'
15311 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15312 else
15313 allow_undefined_flag_FC=' -expect_unresolved \*'
15314 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'
15315 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~
15316 $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'
15318 # Both c and cxx compiler support -rpath directly
15319 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15321 archive_cmds_need_lc_FC='no'
15322 hardcode_libdir_separator_FC=:
15325 solaris*)
15326 no_undefined_flag_FC=' -z defs'
15327 if test "$GCC" = yes; then
15328 wlarc='${wl}'
15329 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15330 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15331 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15332 else
15333 case `$CC -V 2>&1` in
15334 *"Compilers 5.0"*)
15335 wlarc=''
15336 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15337 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15338 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15341 wlarc='${wl}'
15342 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15343 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15344 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15346 esac
15348 hardcode_libdir_flag_spec_FC='-R$libdir'
15349 hardcode_shlibpath_var_FC=no
15350 case $host_os in
15351 solaris2.[0-5] | solaris2.[0-5].*) ;;
15353 # The compiler driver will combine and reorder linker options,
15354 # but understands `-z linker_flag'. GCC discards it without `$wl',
15355 # but is careful enough not to reorder.
15356 # Supported since Solaris 2.6 (maybe 2.5.1?)
15357 if test "$GCC" = yes; then
15358 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15359 else
15360 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15363 esac
15364 link_all_deplibs_FC=yes
15367 sunos4*)
15368 if test "x$host_vendor" = xsequent; then
15369 # Use $CC to link under sequent, because it throws in some extra .o
15370 # files that make .init and .fini sections work.
15371 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15372 else
15373 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15375 hardcode_libdir_flag_spec_FC='-L$libdir'
15376 hardcode_direct_FC=yes
15377 hardcode_minus_L_FC=yes
15378 hardcode_shlibpath_var_FC=no
15381 sysv4)
15382 case $host_vendor in
15383 sni)
15384 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15385 hardcode_direct_FC=yes # is this really true???
15387 siemens)
15388 ## LD is ld it makes a PLAMLIB
15389 ## CC just makes a GrossModule.
15390 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15391 reload_cmds_FC='$CC -r -o $output$reload_objs'
15392 hardcode_direct_FC=no
15394 motorola)
15395 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15396 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15398 esac
15399 runpath_var='LD_RUN_PATH'
15400 hardcode_shlibpath_var_FC=no
15403 sysv4.3*)
15404 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15405 hardcode_shlibpath_var_FC=no
15406 export_dynamic_flag_spec_FC='-Bexport'
15409 sysv4*MP*)
15410 if test -d /usr/nec; then
15411 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15412 hardcode_shlibpath_var_FC=no
15413 runpath_var=LD_RUN_PATH
15414 hardcode_runpath_var=yes
15415 ld_shlibs_FC=yes
15419 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15420 no_undefined_flag_FC='${wl}-z,text'
15421 archive_cmds_need_lc_FC=no
15422 hardcode_shlibpath_var_FC=no
15423 runpath_var='LD_RUN_PATH'
15425 if test "$GCC" = yes; then
15426 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15427 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15428 else
15429 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15430 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15434 sysv5* | sco3.2v5* | sco5v6*)
15435 # Note: We can NOT use -z defs as we might desire, because we do not
15436 # link with -lc, and that would cause any symbols used from libc to
15437 # always be unresolved, which means just about no library would
15438 # ever link correctly. If we're not using GNU ld we use -z text
15439 # though, which does catch some bad symbols but isn't as heavy-handed
15440 # as -z defs.
15441 no_undefined_flag_FC='${wl}-z,text'
15442 allow_undefined_flag_FC='${wl}-z,nodefs'
15443 archive_cmds_need_lc_FC=no
15444 hardcode_shlibpath_var_FC=no
15445 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15446 hardcode_libdir_separator_FC=':'
15447 link_all_deplibs_FC=yes
15448 export_dynamic_flag_spec_FC='${wl}-Bexport'
15449 runpath_var='LD_RUN_PATH'
15451 if test "$GCC" = yes; then
15452 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15453 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15454 else
15455 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15456 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15460 uts4*)
15461 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15462 hardcode_libdir_flag_spec_FC='-L$libdir'
15463 hardcode_shlibpath_var_FC=no
15467 ld_shlibs_FC=no
15469 esac
15471 if test x$host_vendor = xsni; then
15472 case $host in
15473 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15474 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15476 esac
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15481 $as_echo "$ld_shlibs_FC" >&6; }
15482 test "$ld_shlibs_FC" = no && can_build_shared=no
15484 with_gnu_ld_FC=$with_gnu_ld
15492 # Do we need to explicitly link libc?
15494 case "x$archive_cmds_need_lc_FC" in
15495 x|xyes)
15496 # Assume -lc should be added
15497 archive_cmds_need_lc_FC=yes
15499 if test "$enable_shared" = yes && test "$GCC" = yes; then
15500 case $archive_cmds_FC in
15501 *'~'*)
15502 # FIXME: we may have to deal with multi-command sequences.
15504 '$CC '*)
15505 # Test whether the compiler implicitly links with -lc since on some
15506 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15507 # to ld, don't add -lc before -lgcc.
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15509 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15510 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15511 $as_echo_n "(cached) " >&6
15512 else
15513 $RM conftest*
15514 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15517 (eval $ac_compile) 2>&5
15518 ac_status=$?
15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 test $ac_status = 0; } 2>conftest.err; then
15521 soname=conftest
15522 lib=conftest
15523 libobjs=conftest.$ac_objext
15524 deplibs=
15525 wl=$lt_prog_compiler_wl_FC
15526 pic_flag=$lt_prog_compiler_pic_FC
15527 compiler_flags=-v
15528 linker_flags=-v
15529 verstring=
15530 output_objdir=.
15531 libname=conftest
15532 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15533 allow_undefined_flag_FC=
15534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15535 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15536 ac_status=$?
15537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15538 test $ac_status = 0; }
15539 then
15540 lt_cv_archive_cmds_need_lc_FC=no
15541 else
15542 lt_cv_archive_cmds_need_lc_FC=yes
15544 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15545 else
15546 cat conftest.err 1>&5
15548 $RM conftest*
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15552 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15553 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15555 esac
15558 esac
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15624 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15626 library_names_spec=
15627 libname_spec='lib$name'
15628 soname_spec=
15629 shrext_cmds=".so"
15630 postinstall_cmds=
15631 postuninstall_cmds=
15632 finish_cmds=
15633 finish_eval=
15634 shlibpath_var=
15635 shlibpath_overrides_runpath=unknown
15636 version_type=none
15637 dynamic_linker="$host_os ld.so"
15638 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15639 need_lib_prefix=unknown
15640 hardcode_into_libs=no
15642 # when you set need_version to no, make sure it does not cause -set_version
15643 # flags to be left without arguments
15644 need_version=unknown
15646 case $host_os in
15647 aix3*)
15648 version_type=linux
15649 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15650 shlibpath_var=LIBPATH
15652 # AIX 3 has no versioning support, so we append a major version to the name.
15653 soname_spec='${libname}${release}${shared_ext}$major'
15656 aix[4-9]*)
15657 version_type=linux
15658 need_lib_prefix=no
15659 need_version=no
15660 hardcode_into_libs=yes
15661 if test "$host_cpu" = ia64; then
15662 # AIX 5 supports IA64
15663 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15664 shlibpath_var=LD_LIBRARY_PATH
15665 else
15666 # With GCC up to 2.95.x, collect2 would create an import file
15667 # for dependence libraries. The import file would start with
15668 # the line `#! .'. This would cause the generated library to
15669 # depend on `.', always an invalid library. This was fixed in
15670 # development snapshots of GCC prior to 3.0.
15671 case $host_os in
15672 aix4 | aix4.[01] | aix4.[01].*)
15673 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15674 echo ' yes '
15675 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15677 else
15678 can_build_shared=no
15681 esac
15682 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15683 # soname into executable. Probably we can add versioning support to
15684 # collect2, so additional links can be useful in future.
15685 if test "$aix_use_runtimelinking" = yes; then
15686 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15687 # instead of lib<name>.a to let people know that these are not
15688 # typical AIX shared libraries.
15689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15690 else
15691 # We preserve .a as extension for shared libraries through AIX4.2
15692 # and later when we are not doing run time linking.
15693 library_names_spec='${libname}${release}.a $libname.a'
15694 soname_spec='${libname}${release}${shared_ext}$major'
15696 shlibpath_var=LIBPATH
15700 amigaos*)
15701 case $host_cpu in
15702 powerpc)
15703 # Since July 2007 AmigaOS4 officially supports .so libraries.
15704 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15707 m68k)
15708 library_names_spec='$libname.ixlibrary $libname.a'
15709 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15710 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'
15712 esac
15715 beos*)
15716 library_names_spec='${libname}${shared_ext}'
15717 dynamic_linker="$host_os ld.so"
15718 shlibpath_var=LIBRARY_PATH
15721 bsdi[45]*)
15722 version_type=linux
15723 need_version=no
15724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15725 soname_spec='${libname}${release}${shared_ext}$major'
15726 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15727 shlibpath_var=LD_LIBRARY_PATH
15728 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15729 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15730 # the default ld.so.conf also contains /usr/contrib/lib and
15731 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15732 # libtool to hard-code these into programs
15735 cygwin* | mingw* | pw32* | cegcc*)
15736 version_type=windows
15737 shrext_cmds=".dll"
15738 need_version=no
15739 need_lib_prefix=no
15741 case $GCC,$host_os in
15742 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15743 library_names_spec='$libname.dll.a'
15744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15745 postinstall_cmds='base_file=`basename \${file}`~
15746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15747 dldir=$destdir/`dirname \$dlpath`~
15748 test -d \$dldir || mkdir -p \$dldir~
15749 $install_prog $dir/$dlname \$dldir/$dlname~
15750 chmod a+x \$dldir/$dlname~
15751 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15752 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15754 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15755 dlpath=$dir/\$dldll~
15756 $RM \$dlpath'
15757 shlibpath_overrides_runpath=yes
15759 case $host_os in
15760 cygwin*)
15761 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15762 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15765 mingw* | cegcc*)
15766 # MinGW DLLs use traditional 'lib' prefix
15767 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15769 pw32*)
15770 # pw32 DLLs use 'pw' prefix rather than 'lib'
15771 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15773 esac
15777 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15779 esac
15780 dynamic_linker='Win32 ld.exe'
15781 # FIXME: first we should search . and the directory the executable is in
15782 shlibpath_var=PATH
15785 darwin* | rhapsody*)
15786 dynamic_linker="$host_os dyld"
15787 version_type=darwin
15788 need_lib_prefix=no
15789 need_version=no
15790 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15791 soname_spec='${libname}${release}${major}$shared_ext'
15792 shlibpath_overrides_runpath=yes
15793 shlibpath_var=DYLD_LIBRARY_PATH
15794 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15796 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15799 dgux*)
15800 version_type=linux
15801 need_lib_prefix=no
15802 need_version=no
15803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15804 soname_spec='${libname}${release}${shared_ext}$major'
15805 shlibpath_var=LD_LIBRARY_PATH
15808 freebsd* | dragonfly*)
15809 # DragonFly does not have aout. When/if they implement a new
15810 # versioning mechanism, adjust this.
15811 if test -x /usr/bin/objformat; then
15812 objformat=`/usr/bin/objformat`
15813 else
15814 case $host_os in
15815 freebsd[23].*) objformat=aout ;;
15816 *) objformat=elf ;;
15817 esac
15819 version_type=freebsd-$objformat
15820 case $version_type in
15821 freebsd-elf*)
15822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15823 need_version=no
15824 need_lib_prefix=no
15826 freebsd-*)
15827 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15828 need_version=yes
15830 esac
15831 shlibpath_var=LD_LIBRARY_PATH
15832 case $host_os in
15833 freebsd2.*)
15834 shlibpath_overrides_runpath=yes
15836 freebsd3.[01]* | freebsdelf3.[01]*)
15837 shlibpath_overrides_runpath=yes
15838 hardcode_into_libs=yes
15840 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15841 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15842 shlibpath_overrides_runpath=no
15843 hardcode_into_libs=yes
15845 *) # from 4.6 on, and DragonFly
15846 shlibpath_overrides_runpath=yes
15847 hardcode_into_libs=yes
15849 esac
15852 haiku*)
15853 version_type=linux
15854 need_lib_prefix=no
15855 need_version=no
15856 dynamic_linker="$host_os runtime_loader"
15857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15858 soname_spec='${libname}${release}${shared_ext}$major'
15859 shlibpath_var=LIBRARY_PATH
15860 shlibpath_overrides_runpath=yes
15861 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15862 hardcode_into_libs=yes
15865 hpux9* | hpux10* | hpux11*)
15866 # Give a soname corresponding to the major version so that dld.sl refuses to
15867 # link against other versions.
15868 version_type=sunos
15869 need_lib_prefix=no
15870 need_version=no
15871 case $host_cpu in
15872 ia64*)
15873 shrext_cmds='.so'
15874 hardcode_into_libs=yes
15875 dynamic_linker="$host_os dld.so"
15876 shlibpath_var=LD_LIBRARY_PATH
15877 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15879 soname_spec='${libname}${release}${shared_ext}$major'
15880 if test "X$HPUX_IA64_MODE" = X32; then
15881 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15882 else
15883 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15885 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15887 hppa*64*)
15888 shrext_cmds='.sl'
15889 hardcode_into_libs=yes
15890 dynamic_linker="$host_os dld.sl"
15891 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15892 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15894 soname_spec='${libname}${release}${shared_ext}$major'
15895 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15896 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15899 shrext_cmds='.sl'
15900 dynamic_linker="$host_os dld.sl"
15901 shlibpath_var=SHLIB_PATH
15902 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15904 soname_spec='${libname}${release}${shared_ext}$major'
15906 esac
15907 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15908 postinstall_cmds='chmod 555 $lib'
15909 # or fails outright, so override atomically:
15910 install_override_mode=555
15913 interix[3-9]*)
15914 version_type=linux
15915 need_lib_prefix=no
15916 need_version=no
15917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15918 soname_spec='${libname}${release}${shared_ext}$major'
15919 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15920 shlibpath_var=LD_LIBRARY_PATH
15921 shlibpath_overrides_runpath=no
15922 hardcode_into_libs=yes
15925 irix5* | irix6* | nonstopux*)
15926 case $host_os in
15927 nonstopux*) version_type=nonstopux ;;
15929 if test "$lt_cv_prog_gnu_ld" = yes; then
15930 version_type=linux
15931 else
15932 version_type=irix
15933 fi ;;
15934 esac
15935 need_lib_prefix=no
15936 need_version=no
15937 soname_spec='${libname}${release}${shared_ext}$major'
15938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15939 case $host_os in
15940 irix5* | nonstopux*)
15941 libsuff= shlibsuff=
15944 case $LD in # libtool.m4 will add one of these switches to LD
15945 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15946 libsuff= shlibsuff= libmagic=32-bit;;
15947 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15948 libsuff=32 shlibsuff=N32 libmagic=N32;;
15949 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15950 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15951 *) libsuff= shlibsuff= libmagic=never-match;;
15952 esac
15954 esac
15955 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15956 shlibpath_overrides_runpath=no
15957 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15958 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15959 hardcode_into_libs=yes
15962 # No shared lib support for Linux oldld, aout, or coff.
15963 linux*oldld* | linux*aout* | linux*coff*)
15964 dynamic_linker=no
15967 # This must be Linux ELF.
15969 # uclinux* changes (here and below) have been submitted to the libtool
15970 # project, but have not yet been accepted: they are GCC-local changes
15971 # for the time being. (See
15972 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15973 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15974 version_type=linux
15975 need_lib_prefix=no
15976 need_version=no
15977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15978 soname_spec='${libname}${release}${shared_ext}$major'
15979 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15980 shlibpath_var=LD_LIBRARY_PATH
15981 shlibpath_overrides_runpath=no
15983 # Some binutils ld are patched to set DT_RUNPATH
15984 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15985 $as_echo_n "(cached) " >&6
15986 else
15987 lt_cv_shlibpath_overrides_runpath=no
15988 save_LDFLAGS=$LDFLAGS
15989 save_libdir=$libdir
15990 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15991 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15992 if test x$gcc_no_link = xyes; then
15993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15995 cat > conftest.$ac_ext <<_ACEOF
15996 program main
15999 _ACEOF
16000 if ac_fn_fc_try_link "$LINENO"; then :
16001 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16002 lt_cv_shlibpath_overrides_runpath=yes
16005 rm -f core conftest.err conftest.$ac_objext \
16006 conftest$ac_exeext conftest.$ac_ext
16007 LDFLAGS=$save_LDFLAGS
16008 libdir=$save_libdir
16012 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16014 # This implies no fast_install, which is unacceptable.
16015 # Some rework will be needed to allow for fast_install
16016 # before this can be enabled.
16017 hardcode_into_libs=yes
16019 # Append ld.so.conf contents to the search path
16020 if test -f /etc/ld.so.conf; then
16021 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' ' '`
16022 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16025 # We used to test for /lib/ld.so.1 and disable shared libraries on
16026 # powerpc, because MkLinux only supported shared libraries with the
16027 # GNU dynamic linker. Since this was broken with cross compilers,
16028 # most powerpc-linux boxes support dynamic linking these days and
16029 # people can always --disable-shared, the test was removed, and we
16030 # assume the GNU/Linux dynamic linker is in use.
16031 dynamic_linker='GNU/Linux ld.so'
16034 netbsd*)
16035 version_type=sunos
16036 need_lib_prefix=no
16037 need_version=no
16038 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16040 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16041 dynamic_linker='NetBSD (a.out) ld.so'
16042 else
16043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16044 soname_spec='${libname}${release}${shared_ext}$major'
16045 dynamic_linker='NetBSD ld.elf_so'
16047 shlibpath_var=LD_LIBRARY_PATH
16048 shlibpath_overrides_runpath=yes
16049 hardcode_into_libs=yes
16052 newsos6)
16053 version_type=linux
16054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16055 shlibpath_var=LD_LIBRARY_PATH
16056 shlibpath_overrides_runpath=yes
16059 *nto* | *qnx*)
16060 version_type=qnx
16061 need_lib_prefix=no
16062 need_version=no
16063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16064 soname_spec='${libname}${release}${shared_ext}$major'
16065 shlibpath_var=LD_LIBRARY_PATH
16066 shlibpath_overrides_runpath=no
16067 hardcode_into_libs=yes
16068 dynamic_linker='ldqnx.so'
16071 openbsd*)
16072 version_type=sunos
16073 sys_lib_dlsearch_path_spec="/usr/lib"
16074 need_lib_prefix=no
16075 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16076 case $host_os in
16077 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16078 *) need_version=no ;;
16079 esac
16080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16081 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16082 shlibpath_var=LD_LIBRARY_PATH
16083 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16084 case $host_os in
16085 openbsd2.[89] | openbsd2.[89].*)
16086 shlibpath_overrides_runpath=no
16089 shlibpath_overrides_runpath=yes
16091 esac
16092 else
16093 shlibpath_overrides_runpath=yes
16097 os2*)
16098 libname_spec='$name'
16099 shrext_cmds=".dll"
16100 need_lib_prefix=no
16101 library_names_spec='$libname${shared_ext} $libname.a'
16102 dynamic_linker='OS/2 ld.exe'
16103 shlibpath_var=LIBPATH
16106 osf3* | osf4* | osf5*)
16107 version_type=osf
16108 need_lib_prefix=no
16109 need_version=no
16110 soname_spec='${libname}${release}${shared_ext}$major'
16111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16112 shlibpath_var=LD_LIBRARY_PATH
16113 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16114 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16117 rdos*)
16118 dynamic_linker=no
16121 solaris*)
16122 version_type=linux
16123 need_lib_prefix=no
16124 need_version=no
16125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16126 soname_spec='${libname}${release}${shared_ext}$major'
16127 shlibpath_var=LD_LIBRARY_PATH
16128 shlibpath_overrides_runpath=yes
16129 hardcode_into_libs=yes
16130 # ldd complains unless libraries are executable
16131 postinstall_cmds='chmod +x $lib'
16134 sunos4*)
16135 version_type=sunos
16136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16137 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16138 shlibpath_var=LD_LIBRARY_PATH
16139 shlibpath_overrides_runpath=yes
16140 if test "$with_gnu_ld" = yes; then
16141 need_lib_prefix=no
16143 need_version=yes
16146 sysv4 | sysv4.3*)
16147 version_type=linux
16148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16149 soname_spec='${libname}${release}${shared_ext}$major'
16150 shlibpath_var=LD_LIBRARY_PATH
16151 case $host_vendor in
16152 sni)
16153 shlibpath_overrides_runpath=no
16154 need_lib_prefix=no
16155 runpath_var=LD_RUN_PATH
16157 siemens)
16158 need_lib_prefix=no
16160 motorola)
16161 need_lib_prefix=no
16162 need_version=no
16163 shlibpath_overrides_runpath=no
16164 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16166 esac
16169 sysv4*MP*)
16170 if test -d /usr/nec ;then
16171 version_type=linux
16172 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16173 soname_spec='$libname${shared_ext}.$major'
16174 shlibpath_var=LD_LIBRARY_PATH
16178 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16179 version_type=freebsd-elf
16180 need_lib_prefix=no
16181 need_version=no
16182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16183 soname_spec='${libname}${release}${shared_ext}$major'
16184 shlibpath_var=LD_LIBRARY_PATH
16185 shlibpath_overrides_runpath=yes
16186 hardcode_into_libs=yes
16187 if test "$with_gnu_ld" = yes; then
16188 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16189 else
16190 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16191 case $host_os in
16192 sco3.2v5*)
16193 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16195 esac
16197 sys_lib_dlsearch_path_spec='/usr/lib'
16200 tpf*)
16201 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16202 version_type=linux
16203 need_lib_prefix=no
16204 need_version=no
16205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16206 shlibpath_var=LD_LIBRARY_PATH
16207 shlibpath_overrides_runpath=no
16208 hardcode_into_libs=yes
16211 uts4*)
16212 version_type=linux
16213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16214 soname_spec='${libname}${release}${shared_ext}$major'
16215 shlibpath_var=LD_LIBRARY_PATH
16218 # Shared libraries for VwWorks, >= 7 only at this stage
16219 # and (fpic) still incompatible with "large" code models
16220 # in a few configurations. Only for RTP mode in any case,
16221 # and upon explicit request at configure time.
16222 vxworks7*)
16223 dynamic_linker=no
16224 case ${with_multisubdir}-${enable_shared} in
16225 *large*)
16227 *mrtp*-yes)
16228 version_type=linux
16229 need_lib_prefix=no
16230 need_version=no
16231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16232 soname_spec='${libname}${release}${shared_ext}$major'
16233 dynamic_linker="$host_os module_loader"
16235 esac
16238 dynamic_linker=no
16240 esac
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16242 $as_echo "$dynamic_linker" >&6; }
16243 test "$dynamic_linker" = no && can_build_shared=no
16245 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16246 if test "$GCC" = yes; then
16247 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16250 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16251 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16253 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16254 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16295 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16296 hardcode_action_FC=
16297 if test -n "$hardcode_libdir_flag_spec_FC" ||
16298 test -n "$runpath_var_FC" ||
16299 test "X$hardcode_automatic_FC" = "Xyes" ; then
16301 # We can hardcode non-existent directories.
16302 if test "$hardcode_direct_FC" != no &&
16303 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16304 # have to relink, otherwise we might link with an installed library
16305 # when we should be linking with a yet-to-be-installed one
16306 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16307 test "$hardcode_minus_L_FC" != no; then
16308 # Linking always hardcodes the temporary library directory.
16309 hardcode_action_FC=relink
16310 else
16311 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16312 hardcode_action_FC=immediate
16314 else
16315 # We cannot hardcode anything, or else we can only hardcode existing
16316 # directories.
16317 hardcode_action_FC=unsupported
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16320 $as_echo "$hardcode_action_FC" >&6; }
16322 if test "$hardcode_action_FC" = relink ||
16323 test "$inherit_rpath_FC" = yes; then
16324 # Fast installation is not supported
16325 enable_fast_install=no
16326 elif test "$shlibpath_overrides_runpath" = yes ||
16327 test "$enable_shared" = no; then
16328 # Fast installation is not necessary
16329 enable_fast_install=needless
16338 fi # test -n "$compiler"
16340 GCC=$lt_save_GCC
16341 CC="$lt_save_CC"
16342 fi # test "$_lt_disable_FC" != yes
16344 ac_ext=c
16345 ac_cpp='$CPP $CPPFLAGS'
16346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16352 # extra LD Flags which are required for targets
16353 extra_ldflags_libgfortran=
16354 case "${host}" in
16355 *-*-darwin[4567]*)
16356 # Earlier Darwin needs -single_module when linking libgfortran
16357 extra_ldflags_libgfortran=-Wl,-single_module
16359 esac
16362 # We need a working compiler at that point, otherwise give a clear
16363 # error message and bail out.
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16366 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16367 ac_ext=${ac_fc_srcext-f}
16368 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16369 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16370 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16372 cat > conftest.$ac_ext <<_ACEOF
16374 program foo
16375 real, parameter :: bar = sin (12.34 / 2.5)
16376 end program foo
16377 _ACEOF
16378 if ac_fn_fc_try_compile "$LINENO"; then :
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16380 $as_echo "yes" >&6; }
16381 else
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16383 $as_echo "no" >&6; }
16384 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388 ac_ext=c
16389 ac_cpp='$CPP $CPPFLAGS'
16390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16396 # Check whether --enable-largefile was given.
16397 if test "${enable_largefile+set}" = set; then :
16398 enableval=$enable_largefile;
16401 if test "$enable_largefile" != no; then
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16404 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16405 if ${ac_cv_sys_largefile_CC+:} false; then :
16406 $as_echo_n "(cached) " >&6
16407 else
16408 ac_cv_sys_largefile_CC=no
16409 if test "$GCC" != yes; then
16410 ac_save_CC=$CC
16411 while :; do
16412 # IRIX 6.2 and later do not support large files by default,
16413 # so use the C compiler's -n32 option if that helps.
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 #include <sys/types.h>
16417 /* Check that off_t can represent 2**63 - 1 correctly.
16418 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16419 since some C++ compilers masquerading as C compilers
16420 incorrectly reject 9223372036854775807. */
16421 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16422 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16423 && LARGE_OFF_T % 2147483647 == 1)
16424 ? 1 : -1];
16426 main ()
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_compile "$LINENO"; then :
16434 break
16436 rm -f core conftest.err conftest.$ac_objext
16437 CC="$CC -n32"
16438 if ac_fn_c_try_compile "$LINENO"; then :
16439 ac_cv_sys_largefile_CC=' -n32'; break
16441 rm -f core conftest.err conftest.$ac_objext
16442 break
16443 done
16444 CC=$ac_save_CC
16445 rm -f conftest.$ac_ext
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16449 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16450 if test "$ac_cv_sys_largefile_CC" != no; then
16451 CC=$CC$ac_cv_sys_largefile_CC
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16455 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16456 if ${ac_cv_sys_file_offset_bits+:} false; then :
16457 $as_echo_n "(cached) " >&6
16458 else
16459 while :; do
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #include <sys/types.h>
16463 /* Check that off_t can represent 2**63 - 1 correctly.
16464 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16465 since some C++ compilers masquerading as C compilers
16466 incorrectly reject 9223372036854775807. */
16467 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16468 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16469 && LARGE_OFF_T % 2147483647 == 1)
16470 ? 1 : -1];
16472 main ()
16476 return 0;
16478 _ACEOF
16479 if ac_fn_c_try_compile "$LINENO"; then :
16480 ac_cv_sys_file_offset_bits=no; break
16482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #define _FILE_OFFSET_BITS 64
16486 #include <sys/types.h>
16487 /* Check that off_t can represent 2**63 - 1 correctly.
16488 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16489 since some C++ compilers masquerading as C compilers
16490 incorrectly reject 9223372036854775807. */
16491 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16492 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16493 && LARGE_OFF_T % 2147483647 == 1)
16494 ? 1 : -1];
16496 main ()
16500 return 0;
16502 _ACEOF
16503 if ac_fn_c_try_compile "$LINENO"; then :
16504 ac_cv_sys_file_offset_bits=64; break
16506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507 ac_cv_sys_file_offset_bits=unknown
16508 break
16509 done
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16512 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16513 case $ac_cv_sys_file_offset_bits in #(
16514 no | unknown) ;;
16516 cat >>confdefs.h <<_ACEOF
16517 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16518 _ACEOF
16520 esac
16521 rm -rf conftest*
16522 if test $ac_cv_sys_file_offset_bits = unknown; then
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16524 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16525 if ${ac_cv_sys_large_files+:} false; then :
16526 $as_echo_n "(cached) " >&6
16527 else
16528 while :; do
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #include <sys/types.h>
16532 /* Check that off_t can represent 2**63 - 1 correctly.
16533 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16534 since some C++ compilers masquerading as C compilers
16535 incorrectly reject 9223372036854775807. */
16536 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16537 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16538 && LARGE_OFF_T % 2147483647 == 1)
16539 ? 1 : -1];
16541 main ()
16545 return 0;
16547 _ACEOF
16548 if ac_fn_c_try_compile "$LINENO"; then :
16549 ac_cv_sys_large_files=no; break
16551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16554 #define _LARGE_FILES 1
16555 #include <sys/types.h>
16556 /* Check that off_t can represent 2**63 - 1 correctly.
16557 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16558 since some C++ compilers masquerading as C compilers
16559 incorrectly reject 9223372036854775807. */
16560 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16561 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16562 && LARGE_OFF_T % 2147483647 == 1)
16563 ? 1 : -1];
16565 main ()
16569 return 0;
16571 _ACEOF
16572 if ac_fn_c_try_compile "$LINENO"; then :
16573 ac_cv_sys_large_files=1; break
16575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16576 ac_cv_sys_large_files=unknown
16577 break
16578 done
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16581 $as_echo "$ac_cv_sys_large_files" >&6; }
16582 case $ac_cv_sys_large_files in #(
16583 no | unknown) ;;
16585 cat >>confdefs.h <<_ACEOF
16586 #define _LARGE_FILES $ac_cv_sys_large_files
16587 _ACEOF
16589 esac
16590 rm -rf conftest*
16597 # Types
16598 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16599 if test "x$ac_cv_type_off_t" = xyes; then :
16601 else
16603 cat >>confdefs.h <<_ACEOF
16604 #define off_t long int
16605 _ACEOF
16610 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16611 if test "x$ac_cv_type_intptr_t" = xyes; then :
16613 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16615 else
16616 for ac_type in 'int' 'long int' 'long long int'; do
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16619 $ac_includes_default
16621 main ()
16623 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16624 test_array [0] = 0;
16625 return test_array [0];
16628 return 0;
16630 _ACEOF
16631 if ac_fn_c_try_compile "$LINENO"; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define intptr_t $ac_type
16635 _ACEOF
16637 ac_type=
16639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16640 test -z "$ac_type" && break
16641 done
16646 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16647 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16649 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16651 else
16652 for ac_type in 'unsigned int' 'unsigned long int' \
16653 'unsigned long long int'; do
16654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16656 $ac_includes_default
16658 main ()
16660 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16661 test_array [0] = 0;
16662 return test_array [0];
16665 return 0;
16667 _ACEOF
16668 if ac_fn_c_try_compile "$LINENO"; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define uintptr_t $ac_type
16672 _ACEOF
16674 ac_type=
16676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16677 test -z "$ac_type" && break
16678 done
16682 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16683 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16685 cat >>confdefs.h <<_ACEOF
16686 #define HAVE_PTRDIFF_T 1
16687 _ACEOF
16693 # check header files (we assume C89 is available, so don't check for that)
16697 for ac_header in $ac_header_list
16698 do :
16699 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16700 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16705 _ACEOF
16709 done
16749 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16751 acx_cv_header_stdint=stddef.h
16752 acx_cv_header_stdint_kind="(already complete)"
16753 for i in stdint.h $inttype_headers; do
16754 unset ac_cv_type_uintptr_t
16755 unset ac_cv_type_uintmax_t
16756 unset ac_cv_type_int_least32_t
16757 unset ac_cv_type_int_fast32_t
16758 unset ac_cv_type_uint64_t
16759 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16760 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16761 #include <$i>
16763 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16764 acx_cv_header_stdint=$i
16765 else
16766 continue
16769 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16770 #include <$i>
16772 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16774 else
16775 acx_cv_header_stdint_kind="(mostly complete)"
16778 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16779 #include <$i>
16781 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16783 else
16784 acx_cv_header_stdint_kind="(mostly complete)"
16787 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16788 #include <$i>
16790 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16792 else
16793 acx_cv_header_stdint_kind="(mostly complete)"
16796 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16797 #include <$i>
16799 if test "x$ac_cv_type_uint64_t" = xyes; then :
16801 else
16802 acx_cv_header_stdint_kind="(lacks uint64_t)"
16805 break
16806 done
16807 if test "$acx_cv_header_stdint" = stddef.h; then
16808 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16809 for i in stdint.h $inttype_headers; do
16810 unset ac_cv_type_uintptr_t
16811 unset ac_cv_type_uint32_t
16812 unset ac_cv_type_uint64_t
16813 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16814 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16815 #include <$i>
16817 if test "x$ac_cv_type_uint32_t" = xyes; then :
16818 acx_cv_header_stdint=$i
16819 else
16820 continue
16823 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16824 #include <$i>
16826 if test "x$ac_cv_type_uint64_t" = xyes; then :
16830 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16831 #include <$i>
16833 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16837 break
16838 done
16840 if test "$acx_cv_header_stdint" = stddef.h; then
16841 acx_cv_header_stdint_kind="(u_intXX_t style)"
16842 for i in sys/types.h $inttype_headers; do
16843 unset ac_cv_type_u_int32_t
16844 unset ac_cv_type_u_int64_t
16845 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16846 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16847 #include <$i>
16849 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16850 acx_cv_header_stdint=$i
16851 else
16852 continue
16855 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16856 #include <$i>
16858 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16862 break
16863 done
16865 if test "$acx_cv_header_stdint" = stddef.h; then
16866 acx_cv_header_stdint_kind="(using manual detection)"
16869 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16870 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16871 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16872 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16873 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16875 # ----------------- Summarize what we found so far
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16878 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16880 case `$as_basename -- gstdint.h ||
16881 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16882 Xgstdint.h : 'X\(//\)$' \| \
16883 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16884 $as_echo X/gstdint.h |
16885 sed '/^.*\/\([^/][^/]*\)\/*$/{
16886 s//\1/
16889 /^X\/\(\/\/\)$/{
16890 s//\1/
16893 /^X\/\(\/\).*/{
16894 s//\1/
16897 s/.*/./; q'` in
16898 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16899 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16900 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16901 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16902 *) ;;
16903 esac
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16906 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16908 # ----------------- done included file, check C basic types --------
16910 # Lacking an uintptr_t? Test size of void *
16911 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16912 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16915 # This bug is HP SR number 8606223364.
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16917 $as_echo_n "checking size of void *... " >&6; }
16918 if ${ac_cv_sizeof_void_p+:} false; then :
16919 $as_echo_n "(cached) " >&6
16920 else
16921 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16923 else
16924 if test "$ac_cv_type_void_p" = yes; then
16925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16927 as_fn_error 77 "cannot compute sizeof (void *)
16928 See \`config.log' for more details" "$LINENO" 5; }
16929 else
16930 ac_cv_sizeof_void_p=0
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16936 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16940 cat >>confdefs.h <<_ACEOF
16941 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16942 _ACEOF
16945 esac
16947 # Lacking an uint64_t? Test size of long
16948 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16949 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16952 # This bug is HP SR number 8606223364.
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16954 $as_echo_n "checking size of long... " >&6; }
16955 if ${ac_cv_sizeof_long+:} false; then :
16956 $as_echo_n "(cached) " >&6
16957 else
16958 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16960 else
16961 if test "$ac_cv_type_long" = yes; then
16962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16964 as_fn_error 77 "cannot compute sizeof (long)
16965 See \`config.log' for more details" "$LINENO" 5; }
16966 else
16967 ac_cv_sizeof_long=0
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16973 $as_echo "$ac_cv_sizeof_long" >&6; }
16977 cat >>confdefs.h <<_ACEOF
16978 #define SIZEOF_LONG $ac_cv_sizeof_long
16979 _ACEOF
16982 esac
16984 if test $acx_cv_header_stdint = stddef.h; then
16985 # Lacking a good header? Test size of everything and deduce all types.
16986 # The cast to long int works around a bug in the HP C Compiler
16987 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16988 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16989 # This bug is HP SR number 8606223364.
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16991 $as_echo_n "checking size of int... " >&6; }
16992 if ${ac_cv_sizeof_int+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16997 else
16998 if test "$ac_cv_type_int" = yes; then
16999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17001 as_fn_error 77 "cannot compute sizeof (int)
17002 See \`config.log' for more details" "$LINENO" 5; }
17003 else
17004 ac_cv_sizeof_int=0
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
17010 $as_echo "$ac_cv_sizeof_int" >&6; }
17014 cat >>confdefs.h <<_ACEOF
17015 #define SIZEOF_INT $ac_cv_sizeof_int
17016 _ACEOF
17019 # The cast to long int works around a bug in the HP C Compiler
17020 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17021 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17022 # This bug is HP SR number 8606223364.
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
17024 $as_echo_n "checking size of short... " >&6; }
17025 if ${ac_cv_sizeof_short+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
17030 else
17031 if test "$ac_cv_type_short" = yes; then
17032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17034 as_fn_error 77 "cannot compute sizeof (short)
17035 See \`config.log' for more details" "$LINENO" 5; }
17036 else
17037 ac_cv_sizeof_short=0
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
17043 $as_echo "$ac_cv_sizeof_short" >&6; }
17047 cat >>confdefs.h <<_ACEOF
17048 #define SIZEOF_SHORT $ac_cv_sizeof_short
17049 _ACEOF
17052 # The cast to long int works around a bug in the HP C Compiler
17053 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17054 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17055 # This bug is HP SR number 8606223364.
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
17057 $as_echo_n "checking size of char... " >&6; }
17058 if ${ac_cv_sizeof_char+:} false; then :
17059 $as_echo_n "(cached) " >&6
17060 else
17061 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
17063 else
17064 if test "$ac_cv_type_char" = yes; then
17065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17067 as_fn_error 77 "cannot compute sizeof (char)
17068 See \`config.log' for more details" "$LINENO" 5; }
17069 else
17070 ac_cv_sizeof_char=0
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
17076 $as_echo "$ac_cv_sizeof_char" >&6; }
17080 cat >>confdefs.h <<_ACEOF
17081 #define SIZEOF_CHAR $ac_cv_sizeof_char
17082 _ACEOF
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
17087 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
17088 case "$ac_cv_sizeof_char" in
17089 1) acx_cv_type_int8_t=char ;;
17090 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
17091 esac
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
17093 $as_echo "$acx_cv_type_int8_t" >&6; }
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
17096 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
17097 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17098 2:*) acx_cv_type_int16_t=int ;;
17099 *:2) acx_cv_type_int16_t=short ;;
17100 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
17101 esac
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
17103 $as_echo "$acx_cv_type_int16_t" >&6; }
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
17106 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
17107 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17108 4:*) acx_cv_type_int32_t=int ;;
17109 *:4) acx_cv_type_int32_t=long ;;
17110 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
17111 esac
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
17113 $as_echo "$acx_cv_type_int32_t" >&6; }
17116 # These tests are here to make the output prettier
17118 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17119 case "$ac_cv_sizeof_long" in
17120 8) acx_cv_type_int64_t=long ;;
17121 esac
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
17123 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17125 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17128 # Now we can use the above types
17130 if test "$ac_cv_type_uintptr_t" != yes; then
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17132 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17133 case $ac_cv_sizeof_void_p in
17134 2) acx_cv_type_intptr_t=int16_t ;;
17135 4) acx_cv_type_intptr_t=int32_t ;;
17136 8) acx_cv_type_intptr_t=int64_t ;;
17137 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
17138 esac
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17140 $as_echo "$acx_cv_type_intptr_t" >&6; }
17143 # ----------------- done all checks, emit header -------------
17144 ac_config_commands="$ac_config_commands gstdint.h"
17149 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17150 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17154 _ACEOF
17158 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17159 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17161 cat >>confdefs.h <<_ACEOF
17162 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17163 _ACEOF
17167 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17168 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17170 cat >>confdefs.h <<_ACEOF
17171 #define HAVE_STRUCT_STAT_ST_RDEV 1
17172 _ACEOF
17178 case "${host}--x${with_newlib}" in
17179 mips*--xyes)
17180 hardwire_newlib=1;;
17181 nvptx*--xyes)
17182 hardwire_newlib=1;;
17183 esac
17185 # Check for library functions.
17186 if test "${hardwire_newlib:-0}" -eq 1; then
17187 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17188 # may not work correctly, because the compiler may not be able to
17189 # link executables.
17191 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17194 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17197 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17200 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17203 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17206 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17209 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17212 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17215 # At some point, we should differentiate between architectures
17216 # like x86, which have long double versions, and alpha/powerpc/etc.,
17217 # which don't. For the time being, punt.
17218 if test x"long_double_math_on_this_cpu" = x"yes"; then
17220 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17223 else
17227 for ac_func in $ac_func_list
17228 do :
17229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17231 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17232 cat >>confdefs.h <<_ACEOF
17233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17234 _ACEOF
17237 done
17354 # Check strerror_r, cannot be above as versions with two and three arguments exist
17356 ac_save_CFLAGS="$CFLAGS"
17357 CFLAGS="-Wimplicit-function-declaration -Werror"
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 #define _GNU_SOURCE 1
17361 #include <string.h>
17362 #include <locale.h>
17364 main ()
17366 char s[128]; strerror_r(5, s, 128);
17368 return 0;
17370 _ACEOF
17371 if ac_fn_c_try_compile "$LINENO"; then :
17373 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 CFLAGS="$ac_save_CFLAGS"
17379 ac_save_CFLAGS="$CFLAGS"
17380 CFLAGS="-Wimplicit-function-declaration -Werror"
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #define _GNU_SOURCE 1
17384 #include <string.h>
17385 #include <locale.h>
17387 main ()
17389 char s[128]; strerror_r(5, s);
17391 return 0;
17393 _ACEOF
17394 if ac_fn_c_try_compile "$LINENO"; then :
17396 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 CFLAGS="$ac_save_CFLAGS"
17403 # Check for C99 (and other IEEE) math functions
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17405 $as_echo_n "checking for sin in -lm... " >&6; }
17406 if ${ac_cv_lib_m_sin+:} false; then :
17407 $as_echo_n "(cached) " >&6
17408 else
17409 ac_check_lib_save_LIBS=$LIBS
17410 LIBS="-lm $LIBS"
17411 if test x$gcc_no_link = xyes; then
17412 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17420 #ifdef __cplusplus
17421 extern "C"
17422 #endif
17423 char sin ();
17425 main ()
17427 return sin ();
17429 return 0;
17431 _ACEOF
17432 if ac_fn_c_try_link "$LINENO"; then :
17433 ac_cv_lib_m_sin=yes
17434 else
17435 ac_cv_lib_m_sin=no
17437 rm -f core conftest.err conftest.$ac_objext \
17438 conftest$ac_exeext conftest.$ac_ext
17439 LIBS=$ac_check_lib_save_LIBS
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17442 $as_echo "$ac_cv_lib_m_sin" >&6; }
17443 if test "x$ac_cv_lib_m_sin" = xyes; then :
17444 cat >>confdefs.h <<_ACEOF
17445 #define HAVE_LIBM 1
17446 _ACEOF
17448 LIBS="-lm $LIBS"
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17459 $as_echo_n "checking for acosf... " >&6; }
17460 if ${gcc_cv_math_func_acosf+:} false; then :
17461 $as_echo_n "(cached) " >&6
17462 else
17463 if test x$gcc_no_link = xyes; then
17464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17469 #ifdef HAVE_COMPLEX_H
17470 #include <complex.h>
17471 #endif
17472 #ifdef HAVE_MATH_H
17473 #include <math.h>
17474 #endif
17476 int (*ptr)() = (int (*)())acosf;
17479 main ()
17481 return 0;
17484 _ACEOF
17485 if ac_fn_c_try_link "$LINENO"; then :
17486 gcc_cv_math_func_acosf=yes
17487 else
17488 gcc_cv_math_func_acosf=no
17490 rm -f core conftest.err conftest.$ac_objext \
17491 conftest$ac_exeext conftest.$ac_ext
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17494 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17495 if test $gcc_cv_math_func_acosf = yes; then
17497 cat >>confdefs.h <<_ACEOF
17498 #define HAVE_ACOSF 1
17499 _ACEOF
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17507 $as_echo_n "checking for acos... " >&6; }
17508 if ${gcc_cv_math_func_acos+:} false; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511 if test x$gcc_no_link = xyes; then
17512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17517 #ifdef HAVE_COMPLEX_H
17518 #include <complex.h>
17519 #endif
17520 #ifdef HAVE_MATH_H
17521 #include <math.h>
17522 #endif
17524 int (*ptr)() = (int (*)())acos;
17527 main ()
17529 return 0;
17532 _ACEOF
17533 if ac_fn_c_try_link "$LINENO"; then :
17534 gcc_cv_math_func_acos=yes
17535 else
17536 gcc_cv_math_func_acos=no
17538 rm -f core conftest.err conftest.$ac_objext \
17539 conftest$ac_exeext conftest.$ac_ext
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17542 $as_echo "$gcc_cv_math_func_acos" >&6; }
17543 if test $gcc_cv_math_func_acos = yes; then
17545 cat >>confdefs.h <<_ACEOF
17546 #define HAVE_ACOS 1
17547 _ACEOF
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17555 $as_echo_n "checking for acosl... " >&6; }
17556 if ${gcc_cv_math_func_acosl+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 if test x$gcc_no_link = xyes; then
17560 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17565 #ifdef HAVE_COMPLEX_H
17566 #include <complex.h>
17567 #endif
17568 #ifdef HAVE_MATH_H
17569 #include <math.h>
17570 #endif
17572 int (*ptr)() = (int (*)())acosl;
17575 main ()
17577 return 0;
17580 _ACEOF
17581 if ac_fn_c_try_link "$LINENO"; then :
17582 gcc_cv_math_func_acosl=yes
17583 else
17584 gcc_cv_math_func_acosl=no
17586 rm -f core conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17590 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17591 if test $gcc_cv_math_func_acosl = yes; then
17593 cat >>confdefs.h <<_ACEOF
17594 #define HAVE_ACOSL 1
17595 _ACEOF
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17603 $as_echo_n "checking for acoshf... " >&6; }
17604 if ${gcc_cv_math_func_acoshf+:} false; then :
17605 $as_echo_n "(cached) " >&6
17606 else
17607 if test x$gcc_no_link = xyes; then
17608 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17613 #ifdef HAVE_COMPLEX_H
17614 #include <complex.h>
17615 #endif
17616 #ifdef HAVE_MATH_H
17617 #include <math.h>
17618 #endif
17620 int (*ptr)() = (int (*)())acoshf;
17623 main ()
17625 return 0;
17628 _ACEOF
17629 if ac_fn_c_try_link "$LINENO"; then :
17630 gcc_cv_math_func_acoshf=yes
17631 else
17632 gcc_cv_math_func_acoshf=no
17634 rm -f core conftest.err conftest.$ac_objext \
17635 conftest$ac_exeext conftest.$ac_ext
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17638 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17639 if test $gcc_cv_math_func_acoshf = yes; then
17641 cat >>confdefs.h <<_ACEOF
17642 #define HAVE_ACOSHF 1
17643 _ACEOF
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17651 $as_echo_n "checking for acosh... " >&6; }
17652 if ${gcc_cv_math_func_acosh+:} false; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17655 if test x$gcc_no_link = xyes; then
17656 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17661 #ifdef HAVE_COMPLEX_H
17662 #include <complex.h>
17663 #endif
17664 #ifdef HAVE_MATH_H
17665 #include <math.h>
17666 #endif
17668 int (*ptr)() = (int (*)())acosh;
17671 main ()
17673 return 0;
17676 _ACEOF
17677 if ac_fn_c_try_link "$LINENO"; then :
17678 gcc_cv_math_func_acosh=yes
17679 else
17680 gcc_cv_math_func_acosh=no
17682 rm -f core conftest.err conftest.$ac_objext \
17683 conftest$ac_exeext conftest.$ac_ext
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17686 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17687 if test $gcc_cv_math_func_acosh = yes; then
17689 cat >>confdefs.h <<_ACEOF
17690 #define HAVE_ACOSH 1
17691 _ACEOF
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17699 $as_echo_n "checking for acoshl... " >&6; }
17700 if ${gcc_cv_math_func_acoshl+:} false; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703 if test x$gcc_no_link = xyes; then
17704 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17709 #ifdef HAVE_COMPLEX_H
17710 #include <complex.h>
17711 #endif
17712 #ifdef HAVE_MATH_H
17713 #include <math.h>
17714 #endif
17716 int (*ptr)() = (int (*)())acoshl;
17719 main ()
17721 return 0;
17724 _ACEOF
17725 if ac_fn_c_try_link "$LINENO"; then :
17726 gcc_cv_math_func_acoshl=yes
17727 else
17728 gcc_cv_math_func_acoshl=no
17730 rm -f core conftest.err conftest.$ac_objext \
17731 conftest$ac_exeext conftest.$ac_ext
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17734 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17735 if test $gcc_cv_math_func_acoshl = yes; then
17737 cat >>confdefs.h <<_ACEOF
17738 #define HAVE_ACOSHL 1
17739 _ACEOF
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17747 $as_echo_n "checking for asinf... " >&6; }
17748 if ${gcc_cv_math_func_asinf+:} false; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751 if test x$gcc_no_link = xyes; then
17752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17757 #ifdef HAVE_COMPLEX_H
17758 #include <complex.h>
17759 #endif
17760 #ifdef HAVE_MATH_H
17761 #include <math.h>
17762 #endif
17764 int (*ptr)() = (int (*)())asinf;
17767 main ()
17769 return 0;
17772 _ACEOF
17773 if ac_fn_c_try_link "$LINENO"; then :
17774 gcc_cv_math_func_asinf=yes
17775 else
17776 gcc_cv_math_func_asinf=no
17778 rm -f core conftest.err conftest.$ac_objext \
17779 conftest$ac_exeext conftest.$ac_ext
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17782 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17783 if test $gcc_cv_math_func_asinf = yes; then
17785 cat >>confdefs.h <<_ACEOF
17786 #define HAVE_ASINF 1
17787 _ACEOF
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17795 $as_echo_n "checking for asin... " >&6; }
17796 if ${gcc_cv_math_func_asin+:} false; then :
17797 $as_echo_n "(cached) " >&6
17798 else
17799 if test x$gcc_no_link = xyes; then
17800 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17805 #ifdef HAVE_COMPLEX_H
17806 #include <complex.h>
17807 #endif
17808 #ifdef HAVE_MATH_H
17809 #include <math.h>
17810 #endif
17812 int (*ptr)() = (int (*)())asin;
17815 main ()
17817 return 0;
17820 _ACEOF
17821 if ac_fn_c_try_link "$LINENO"; then :
17822 gcc_cv_math_func_asin=yes
17823 else
17824 gcc_cv_math_func_asin=no
17826 rm -f core conftest.err conftest.$ac_objext \
17827 conftest$ac_exeext conftest.$ac_ext
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17830 $as_echo "$gcc_cv_math_func_asin" >&6; }
17831 if test $gcc_cv_math_func_asin = yes; then
17833 cat >>confdefs.h <<_ACEOF
17834 #define HAVE_ASIN 1
17835 _ACEOF
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17843 $as_echo_n "checking for asinl... " >&6; }
17844 if ${gcc_cv_math_func_asinl+:} false; then :
17845 $as_echo_n "(cached) " >&6
17846 else
17847 if test x$gcc_no_link = xyes; then
17848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17853 #ifdef HAVE_COMPLEX_H
17854 #include <complex.h>
17855 #endif
17856 #ifdef HAVE_MATH_H
17857 #include <math.h>
17858 #endif
17860 int (*ptr)() = (int (*)())asinl;
17863 main ()
17865 return 0;
17868 _ACEOF
17869 if ac_fn_c_try_link "$LINENO"; then :
17870 gcc_cv_math_func_asinl=yes
17871 else
17872 gcc_cv_math_func_asinl=no
17874 rm -f core conftest.err conftest.$ac_objext \
17875 conftest$ac_exeext conftest.$ac_ext
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17878 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17879 if test $gcc_cv_math_func_asinl = yes; then
17881 cat >>confdefs.h <<_ACEOF
17882 #define HAVE_ASINL 1
17883 _ACEOF
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17891 $as_echo_n "checking for asinhf... " >&6; }
17892 if ${gcc_cv_math_func_asinhf+:} false; then :
17893 $as_echo_n "(cached) " >&6
17894 else
17895 if test x$gcc_no_link = xyes; then
17896 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17901 #ifdef HAVE_COMPLEX_H
17902 #include <complex.h>
17903 #endif
17904 #ifdef HAVE_MATH_H
17905 #include <math.h>
17906 #endif
17908 int (*ptr)() = (int (*)())asinhf;
17911 main ()
17913 return 0;
17916 _ACEOF
17917 if ac_fn_c_try_link "$LINENO"; then :
17918 gcc_cv_math_func_asinhf=yes
17919 else
17920 gcc_cv_math_func_asinhf=no
17922 rm -f core conftest.err conftest.$ac_objext \
17923 conftest$ac_exeext conftest.$ac_ext
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17926 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17927 if test $gcc_cv_math_func_asinhf = yes; then
17929 cat >>confdefs.h <<_ACEOF
17930 #define HAVE_ASINHF 1
17931 _ACEOF
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17939 $as_echo_n "checking for asinh... " >&6; }
17940 if ${gcc_cv_math_func_asinh+:} false; then :
17941 $as_echo_n "(cached) " >&6
17942 else
17943 if test x$gcc_no_link = xyes; then
17944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17949 #ifdef HAVE_COMPLEX_H
17950 #include <complex.h>
17951 #endif
17952 #ifdef HAVE_MATH_H
17953 #include <math.h>
17954 #endif
17956 int (*ptr)() = (int (*)())asinh;
17959 main ()
17961 return 0;
17964 _ACEOF
17965 if ac_fn_c_try_link "$LINENO"; then :
17966 gcc_cv_math_func_asinh=yes
17967 else
17968 gcc_cv_math_func_asinh=no
17970 rm -f core conftest.err conftest.$ac_objext \
17971 conftest$ac_exeext conftest.$ac_ext
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17974 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17975 if test $gcc_cv_math_func_asinh = yes; then
17977 cat >>confdefs.h <<_ACEOF
17978 #define HAVE_ASINH 1
17979 _ACEOF
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17987 $as_echo_n "checking for asinhl... " >&6; }
17988 if ${gcc_cv_math_func_asinhl+:} false; then :
17989 $as_echo_n "(cached) " >&6
17990 else
17991 if test x$gcc_no_link = xyes; then
17992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17997 #ifdef HAVE_COMPLEX_H
17998 #include <complex.h>
17999 #endif
18000 #ifdef HAVE_MATH_H
18001 #include <math.h>
18002 #endif
18004 int (*ptr)() = (int (*)())asinhl;
18007 main ()
18009 return 0;
18012 _ACEOF
18013 if ac_fn_c_try_link "$LINENO"; then :
18014 gcc_cv_math_func_asinhl=yes
18015 else
18016 gcc_cv_math_func_asinhl=no
18018 rm -f core conftest.err conftest.$ac_objext \
18019 conftest$ac_exeext conftest.$ac_ext
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
18022 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
18023 if test $gcc_cv_math_func_asinhl = yes; then
18025 cat >>confdefs.h <<_ACEOF
18026 #define HAVE_ASINHL 1
18027 _ACEOF
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
18035 $as_echo_n "checking for atan2f... " >&6; }
18036 if ${gcc_cv_math_func_atan2f+:} false; then :
18037 $as_echo_n "(cached) " >&6
18038 else
18039 if test x$gcc_no_link = xyes; then
18040 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18045 #ifdef HAVE_COMPLEX_H
18046 #include <complex.h>
18047 #endif
18048 #ifdef HAVE_MATH_H
18049 #include <math.h>
18050 #endif
18052 int (*ptr)() = (int (*)())atan2f;
18055 main ()
18057 return 0;
18060 _ACEOF
18061 if ac_fn_c_try_link "$LINENO"; then :
18062 gcc_cv_math_func_atan2f=yes
18063 else
18064 gcc_cv_math_func_atan2f=no
18066 rm -f core conftest.err conftest.$ac_objext \
18067 conftest$ac_exeext conftest.$ac_ext
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
18070 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
18071 if test $gcc_cv_math_func_atan2f = yes; then
18073 cat >>confdefs.h <<_ACEOF
18074 #define HAVE_ATAN2F 1
18075 _ACEOF
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
18083 $as_echo_n "checking for atan2... " >&6; }
18084 if ${gcc_cv_math_func_atan2+:} false; then :
18085 $as_echo_n "(cached) " >&6
18086 else
18087 if test x$gcc_no_link = xyes; then
18088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18093 #ifdef HAVE_COMPLEX_H
18094 #include <complex.h>
18095 #endif
18096 #ifdef HAVE_MATH_H
18097 #include <math.h>
18098 #endif
18100 int (*ptr)() = (int (*)())atan2;
18103 main ()
18105 return 0;
18108 _ACEOF
18109 if ac_fn_c_try_link "$LINENO"; then :
18110 gcc_cv_math_func_atan2=yes
18111 else
18112 gcc_cv_math_func_atan2=no
18114 rm -f core conftest.err conftest.$ac_objext \
18115 conftest$ac_exeext conftest.$ac_ext
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
18118 $as_echo "$gcc_cv_math_func_atan2" >&6; }
18119 if test $gcc_cv_math_func_atan2 = yes; then
18121 cat >>confdefs.h <<_ACEOF
18122 #define HAVE_ATAN2 1
18123 _ACEOF
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18131 $as_echo_n "checking for atan2l... " >&6; }
18132 if ${gcc_cv_math_func_atan2l+:} false; then :
18133 $as_echo_n "(cached) " >&6
18134 else
18135 if test x$gcc_no_link = xyes; then
18136 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18139 /* end confdefs.h. */
18141 #ifdef HAVE_COMPLEX_H
18142 #include <complex.h>
18143 #endif
18144 #ifdef HAVE_MATH_H
18145 #include <math.h>
18146 #endif
18148 int (*ptr)() = (int (*)())atan2l;
18151 main ()
18153 return 0;
18156 _ACEOF
18157 if ac_fn_c_try_link "$LINENO"; then :
18158 gcc_cv_math_func_atan2l=yes
18159 else
18160 gcc_cv_math_func_atan2l=no
18162 rm -f core conftest.err conftest.$ac_objext \
18163 conftest$ac_exeext conftest.$ac_ext
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18166 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18167 if test $gcc_cv_math_func_atan2l = yes; then
18169 cat >>confdefs.h <<_ACEOF
18170 #define HAVE_ATAN2L 1
18171 _ACEOF
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18179 $as_echo_n "checking for atanf... " >&6; }
18180 if ${gcc_cv_math_func_atanf+:} false; then :
18181 $as_echo_n "(cached) " >&6
18182 else
18183 if test x$gcc_no_link = xyes; then
18184 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h. */
18189 #ifdef HAVE_COMPLEX_H
18190 #include <complex.h>
18191 #endif
18192 #ifdef HAVE_MATH_H
18193 #include <math.h>
18194 #endif
18196 int (*ptr)() = (int (*)())atanf;
18199 main ()
18201 return 0;
18204 _ACEOF
18205 if ac_fn_c_try_link "$LINENO"; then :
18206 gcc_cv_math_func_atanf=yes
18207 else
18208 gcc_cv_math_func_atanf=no
18210 rm -f core conftest.err conftest.$ac_objext \
18211 conftest$ac_exeext conftest.$ac_ext
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18214 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18215 if test $gcc_cv_math_func_atanf = yes; then
18217 cat >>confdefs.h <<_ACEOF
18218 #define HAVE_ATANF 1
18219 _ACEOF
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18227 $as_echo_n "checking for atan... " >&6; }
18228 if ${gcc_cv_math_func_atan+:} false; then :
18229 $as_echo_n "(cached) " >&6
18230 else
18231 if test x$gcc_no_link = xyes; then
18232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18237 #ifdef HAVE_COMPLEX_H
18238 #include <complex.h>
18239 #endif
18240 #ifdef HAVE_MATH_H
18241 #include <math.h>
18242 #endif
18244 int (*ptr)() = (int (*)())atan;
18247 main ()
18249 return 0;
18252 _ACEOF
18253 if ac_fn_c_try_link "$LINENO"; then :
18254 gcc_cv_math_func_atan=yes
18255 else
18256 gcc_cv_math_func_atan=no
18258 rm -f core conftest.err conftest.$ac_objext \
18259 conftest$ac_exeext conftest.$ac_ext
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18262 $as_echo "$gcc_cv_math_func_atan" >&6; }
18263 if test $gcc_cv_math_func_atan = yes; then
18265 cat >>confdefs.h <<_ACEOF
18266 #define HAVE_ATAN 1
18267 _ACEOF
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18275 $as_echo_n "checking for atanl... " >&6; }
18276 if ${gcc_cv_math_func_atanl+:} false; then :
18277 $as_echo_n "(cached) " >&6
18278 else
18279 if test x$gcc_no_link = xyes; then
18280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18285 #ifdef HAVE_COMPLEX_H
18286 #include <complex.h>
18287 #endif
18288 #ifdef HAVE_MATH_H
18289 #include <math.h>
18290 #endif
18292 int (*ptr)() = (int (*)())atanl;
18295 main ()
18297 return 0;
18300 _ACEOF
18301 if ac_fn_c_try_link "$LINENO"; then :
18302 gcc_cv_math_func_atanl=yes
18303 else
18304 gcc_cv_math_func_atanl=no
18306 rm -f core conftest.err conftest.$ac_objext \
18307 conftest$ac_exeext conftest.$ac_ext
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18310 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18311 if test $gcc_cv_math_func_atanl = yes; then
18313 cat >>confdefs.h <<_ACEOF
18314 #define HAVE_ATANL 1
18315 _ACEOF
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18323 $as_echo_n "checking for atanhf... " >&6; }
18324 if ${gcc_cv_math_func_atanhf+:} false; then :
18325 $as_echo_n "(cached) " >&6
18326 else
18327 if test x$gcc_no_link = xyes; then
18328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18333 #ifdef HAVE_COMPLEX_H
18334 #include <complex.h>
18335 #endif
18336 #ifdef HAVE_MATH_H
18337 #include <math.h>
18338 #endif
18340 int (*ptr)() = (int (*)())atanhf;
18343 main ()
18345 return 0;
18348 _ACEOF
18349 if ac_fn_c_try_link "$LINENO"; then :
18350 gcc_cv_math_func_atanhf=yes
18351 else
18352 gcc_cv_math_func_atanhf=no
18354 rm -f core conftest.err conftest.$ac_objext \
18355 conftest$ac_exeext conftest.$ac_ext
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18358 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18359 if test $gcc_cv_math_func_atanhf = yes; then
18361 cat >>confdefs.h <<_ACEOF
18362 #define HAVE_ATANHF 1
18363 _ACEOF
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18371 $as_echo_n "checking for atanh... " >&6; }
18372 if ${gcc_cv_math_func_atanh+:} false; then :
18373 $as_echo_n "(cached) " >&6
18374 else
18375 if test x$gcc_no_link = xyes; then
18376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18381 #ifdef HAVE_COMPLEX_H
18382 #include <complex.h>
18383 #endif
18384 #ifdef HAVE_MATH_H
18385 #include <math.h>
18386 #endif
18388 int (*ptr)() = (int (*)())atanh;
18391 main ()
18393 return 0;
18396 _ACEOF
18397 if ac_fn_c_try_link "$LINENO"; then :
18398 gcc_cv_math_func_atanh=yes
18399 else
18400 gcc_cv_math_func_atanh=no
18402 rm -f core conftest.err conftest.$ac_objext \
18403 conftest$ac_exeext conftest.$ac_ext
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18406 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18407 if test $gcc_cv_math_func_atanh = yes; then
18409 cat >>confdefs.h <<_ACEOF
18410 #define HAVE_ATANH 1
18411 _ACEOF
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18419 $as_echo_n "checking for atanhl... " >&6; }
18420 if ${gcc_cv_math_func_atanhl+:} false; then :
18421 $as_echo_n "(cached) " >&6
18422 else
18423 if test x$gcc_no_link = xyes; then
18424 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18429 #ifdef HAVE_COMPLEX_H
18430 #include <complex.h>
18431 #endif
18432 #ifdef HAVE_MATH_H
18433 #include <math.h>
18434 #endif
18436 int (*ptr)() = (int (*)())atanhl;
18439 main ()
18441 return 0;
18444 _ACEOF
18445 if ac_fn_c_try_link "$LINENO"; then :
18446 gcc_cv_math_func_atanhl=yes
18447 else
18448 gcc_cv_math_func_atanhl=no
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18454 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18455 if test $gcc_cv_math_func_atanhl = yes; then
18457 cat >>confdefs.h <<_ACEOF
18458 #define HAVE_ATANHL 1
18459 _ACEOF
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18467 $as_echo_n "checking for cargf... " >&6; }
18468 if ${gcc_cv_math_func_cargf+:} false; then :
18469 $as_echo_n "(cached) " >&6
18470 else
18471 if test x$gcc_no_link = xyes; then
18472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18477 #ifdef HAVE_COMPLEX_H
18478 #include <complex.h>
18479 #endif
18480 #ifdef HAVE_MATH_H
18481 #include <math.h>
18482 #endif
18484 int (*ptr)() = (int (*)())cargf;
18487 main ()
18489 return 0;
18492 _ACEOF
18493 if ac_fn_c_try_link "$LINENO"; then :
18494 gcc_cv_math_func_cargf=yes
18495 else
18496 gcc_cv_math_func_cargf=no
18498 rm -f core conftest.err conftest.$ac_objext \
18499 conftest$ac_exeext conftest.$ac_ext
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18502 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18503 if test $gcc_cv_math_func_cargf = yes; then
18505 cat >>confdefs.h <<_ACEOF
18506 #define HAVE_CARGF 1
18507 _ACEOF
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18515 $as_echo_n "checking for carg... " >&6; }
18516 if ${gcc_cv_math_func_carg+:} false; then :
18517 $as_echo_n "(cached) " >&6
18518 else
18519 if test x$gcc_no_link = xyes; then
18520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18525 #ifdef HAVE_COMPLEX_H
18526 #include <complex.h>
18527 #endif
18528 #ifdef HAVE_MATH_H
18529 #include <math.h>
18530 #endif
18532 int (*ptr)() = (int (*)())carg;
18535 main ()
18537 return 0;
18540 _ACEOF
18541 if ac_fn_c_try_link "$LINENO"; then :
18542 gcc_cv_math_func_carg=yes
18543 else
18544 gcc_cv_math_func_carg=no
18546 rm -f core conftest.err conftest.$ac_objext \
18547 conftest$ac_exeext conftest.$ac_ext
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18550 $as_echo "$gcc_cv_math_func_carg" >&6; }
18551 if test $gcc_cv_math_func_carg = yes; then
18553 cat >>confdefs.h <<_ACEOF
18554 #define HAVE_CARG 1
18555 _ACEOF
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18563 $as_echo_n "checking for cargl... " >&6; }
18564 if ${gcc_cv_math_func_cargl+:} false; then :
18565 $as_echo_n "(cached) " >&6
18566 else
18567 if test x$gcc_no_link = xyes; then
18568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18573 #ifdef HAVE_COMPLEX_H
18574 #include <complex.h>
18575 #endif
18576 #ifdef HAVE_MATH_H
18577 #include <math.h>
18578 #endif
18580 int (*ptr)() = (int (*)())cargl;
18583 main ()
18585 return 0;
18588 _ACEOF
18589 if ac_fn_c_try_link "$LINENO"; then :
18590 gcc_cv_math_func_cargl=yes
18591 else
18592 gcc_cv_math_func_cargl=no
18594 rm -f core conftest.err conftest.$ac_objext \
18595 conftest$ac_exeext conftest.$ac_ext
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18598 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18599 if test $gcc_cv_math_func_cargl = yes; then
18601 cat >>confdefs.h <<_ACEOF
18602 #define HAVE_CARGL 1
18603 _ACEOF
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18611 $as_echo_n "checking for ceilf... " >&6; }
18612 if ${gcc_cv_math_func_ceilf+:} false; then :
18613 $as_echo_n "(cached) " >&6
18614 else
18615 if test x$gcc_no_link = xyes; then
18616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18621 #ifdef HAVE_COMPLEX_H
18622 #include <complex.h>
18623 #endif
18624 #ifdef HAVE_MATH_H
18625 #include <math.h>
18626 #endif
18628 int (*ptr)() = (int (*)())ceilf;
18631 main ()
18633 return 0;
18636 _ACEOF
18637 if ac_fn_c_try_link "$LINENO"; then :
18638 gcc_cv_math_func_ceilf=yes
18639 else
18640 gcc_cv_math_func_ceilf=no
18642 rm -f core conftest.err conftest.$ac_objext \
18643 conftest$ac_exeext conftest.$ac_ext
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18646 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18647 if test $gcc_cv_math_func_ceilf = yes; then
18649 cat >>confdefs.h <<_ACEOF
18650 #define HAVE_CEILF 1
18651 _ACEOF
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18659 $as_echo_n "checking for ceil... " >&6; }
18660 if ${gcc_cv_math_func_ceil+:} false; then :
18661 $as_echo_n "(cached) " >&6
18662 else
18663 if test x$gcc_no_link = xyes; then
18664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18669 #ifdef HAVE_COMPLEX_H
18670 #include <complex.h>
18671 #endif
18672 #ifdef HAVE_MATH_H
18673 #include <math.h>
18674 #endif
18676 int (*ptr)() = (int (*)())ceil;
18679 main ()
18681 return 0;
18684 _ACEOF
18685 if ac_fn_c_try_link "$LINENO"; then :
18686 gcc_cv_math_func_ceil=yes
18687 else
18688 gcc_cv_math_func_ceil=no
18690 rm -f core conftest.err conftest.$ac_objext \
18691 conftest$ac_exeext conftest.$ac_ext
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18694 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18695 if test $gcc_cv_math_func_ceil = yes; then
18697 cat >>confdefs.h <<_ACEOF
18698 #define HAVE_CEIL 1
18699 _ACEOF
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18707 $as_echo_n "checking for ceill... " >&6; }
18708 if ${gcc_cv_math_func_ceill+:} false; then :
18709 $as_echo_n "(cached) " >&6
18710 else
18711 if test x$gcc_no_link = xyes; then
18712 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18717 #ifdef HAVE_COMPLEX_H
18718 #include <complex.h>
18719 #endif
18720 #ifdef HAVE_MATH_H
18721 #include <math.h>
18722 #endif
18724 int (*ptr)() = (int (*)())ceill;
18727 main ()
18729 return 0;
18732 _ACEOF
18733 if ac_fn_c_try_link "$LINENO"; then :
18734 gcc_cv_math_func_ceill=yes
18735 else
18736 gcc_cv_math_func_ceill=no
18738 rm -f core conftest.err conftest.$ac_objext \
18739 conftest$ac_exeext conftest.$ac_ext
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18742 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18743 if test $gcc_cv_math_func_ceill = yes; then
18745 cat >>confdefs.h <<_ACEOF
18746 #define HAVE_CEILL 1
18747 _ACEOF
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18755 $as_echo_n "checking for copysignf... " >&6; }
18756 if ${gcc_cv_math_func_copysignf+:} false; then :
18757 $as_echo_n "(cached) " >&6
18758 else
18759 if test x$gcc_no_link = xyes; then
18760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18765 #ifdef HAVE_COMPLEX_H
18766 #include <complex.h>
18767 #endif
18768 #ifdef HAVE_MATH_H
18769 #include <math.h>
18770 #endif
18772 int (*ptr)() = (int (*)())copysignf;
18775 main ()
18777 return 0;
18780 _ACEOF
18781 if ac_fn_c_try_link "$LINENO"; then :
18782 gcc_cv_math_func_copysignf=yes
18783 else
18784 gcc_cv_math_func_copysignf=no
18786 rm -f core conftest.err conftest.$ac_objext \
18787 conftest$ac_exeext conftest.$ac_ext
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18790 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18791 if test $gcc_cv_math_func_copysignf = yes; then
18793 cat >>confdefs.h <<_ACEOF
18794 #define HAVE_COPYSIGNF 1
18795 _ACEOF
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18803 $as_echo_n "checking for copysign... " >&6; }
18804 if ${gcc_cv_math_func_copysign+:} false; then :
18805 $as_echo_n "(cached) " >&6
18806 else
18807 if test x$gcc_no_link = xyes; then
18808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18811 /* end confdefs.h. */
18813 #ifdef HAVE_COMPLEX_H
18814 #include <complex.h>
18815 #endif
18816 #ifdef HAVE_MATH_H
18817 #include <math.h>
18818 #endif
18820 int (*ptr)() = (int (*)())copysign;
18823 main ()
18825 return 0;
18828 _ACEOF
18829 if ac_fn_c_try_link "$LINENO"; then :
18830 gcc_cv_math_func_copysign=yes
18831 else
18832 gcc_cv_math_func_copysign=no
18834 rm -f core conftest.err conftest.$ac_objext \
18835 conftest$ac_exeext conftest.$ac_ext
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18838 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18839 if test $gcc_cv_math_func_copysign = yes; then
18841 cat >>confdefs.h <<_ACEOF
18842 #define HAVE_COPYSIGN 1
18843 _ACEOF
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18851 $as_echo_n "checking for copysignl... " >&6; }
18852 if ${gcc_cv_math_func_copysignl+:} false; then :
18853 $as_echo_n "(cached) " >&6
18854 else
18855 if test x$gcc_no_link = xyes; then
18856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18861 #ifdef HAVE_COMPLEX_H
18862 #include <complex.h>
18863 #endif
18864 #ifdef HAVE_MATH_H
18865 #include <math.h>
18866 #endif
18868 int (*ptr)() = (int (*)())copysignl;
18871 main ()
18873 return 0;
18876 _ACEOF
18877 if ac_fn_c_try_link "$LINENO"; then :
18878 gcc_cv_math_func_copysignl=yes
18879 else
18880 gcc_cv_math_func_copysignl=no
18882 rm -f core conftest.err conftest.$ac_objext \
18883 conftest$ac_exeext conftest.$ac_ext
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18886 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18887 if test $gcc_cv_math_func_copysignl = yes; then
18889 cat >>confdefs.h <<_ACEOF
18890 #define HAVE_COPYSIGNL 1
18891 _ACEOF
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18899 $as_echo_n "checking for cosf... " >&6; }
18900 if ${gcc_cv_math_func_cosf+:} false; then :
18901 $as_echo_n "(cached) " >&6
18902 else
18903 if test x$gcc_no_link = xyes; then
18904 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18909 #ifdef HAVE_COMPLEX_H
18910 #include <complex.h>
18911 #endif
18912 #ifdef HAVE_MATH_H
18913 #include <math.h>
18914 #endif
18916 int (*ptr)() = (int (*)())cosf;
18919 main ()
18921 return 0;
18924 _ACEOF
18925 if ac_fn_c_try_link "$LINENO"; then :
18926 gcc_cv_math_func_cosf=yes
18927 else
18928 gcc_cv_math_func_cosf=no
18930 rm -f core conftest.err conftest.$ac_objext \
18931 conftest$ac_exeext conftest.$ac_ext
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18934 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18935 if test $gcc_cv_math_func_cosf = yes; then
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_COSF 1
18939 _ACEOF
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18947 $as_echo_n "checking for cos... " >&6; }
18948 if ${gcc_cv_math_func_cos+:} false; then :
18949 $as_echo_n "(cached) " >&6
18950 else
18951 if test x$gcc_no_link = xyes; then
18952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18957 #ifdef HAVE_COMPLEX_H
18958 #include <complex.h>
18959 #endif
18960 #ifdef HAVE_MATH_H
18961 #include <math.h>
18962 #endif
18964 int (*ptr)() = (int (*)())cos;
18967 main ()
18969 return 0;
18972 _ACEOF
18973 if ac_fn_c_try_link "$LINENO"; then :
18974 gcc_cv_math_func_cos=yes
18975 else
18976 gcc_cv_math_func_cos=no
18978 rm -f core conftest.err conftest.$ac_objext \
18979 conftest$ac_exeext conftest.$ac_ext
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18982 $as_echo "$gcc_cv_math_func_cos" >&6; }
18983 if test $gcc_cv_math_func_cos = yes; then
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_COS 1
18987 _ACEOF
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18995 $as_echo_n "checking for cosl... " >&6; }
18996 if ${gcc_cv_math_func_cosl+:} false; then :
18997 $as_echo_n "(cached) " >&6
18998 else
18999 if test x$gcc_no_link = xyes; then
19000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19005 #ifdef HAVE_COMPLEX_H
19006 #include <complex.h>
19007 #endif
19008 #ifdef HAVE_MATH_H
19009 #include <math.h>
19010 #endif
19012 int (*ptr)() = (int (*)())cosl;
19015 main ()
19017 return 0;
19020 _ACEOF
19021 if ac_fn_c_try_link "$LINENO"; then :
19022 gcc_cv_math_func_cosl=yes
19023 else
19024 gcc_cv_math_func_cosl=no
19026 rm -f core conftest.err conftest.$ac_objext \
19027 conftest$ac_exeext conftest.$ac_ext
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
19030 $as_echo "$gcc_cv_math_func_cosl" >&6; }
19031 if test $gcc_cv_math_func_cosl = yes; then
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_COSL 1
19035 _ACEOF
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
19043 $as_echo_n "checking for ccosf... " >&6; }
19044 if ${gcc_cv_math_func_ccosf+:} false; then :
19045 $as_echo_n "(cached) " >&6
19046 else
19047 if test x$gcc_no_link = xyes; then
19048 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19053 #ifdef HAVE_COMPLEX_H
19054 #include <complex.h>
19055 #endif
19056 #ifdef HAVE_MATH_H
19057 #include <math.h>
19058 #endif
19060 int (*ptr)() = (int (*)())ccosf;
19063 main ()
19065 return 0;
19068 _ACEOF
19069 if ac_fn_c_try_link "$LINENO"; then :
19070 gcc_cv_math_func_ccosf=yes
19071 else
19072 gcc_cv_math_func_ccosf=no
19074 rm -f core conftest.err conftest.$ac_objext \
19075 conftest$ac_exeext conftest.$ac_ext
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
19078 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
19079 if test $gcc_cv_math_func_ccosf = yes; then
19081 cat >>confdefs.h <<_ACEOF
19082 #define HAVE_CCOSF 1
19083 _ACEOF
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
19091 $as_echo_n "checking for ccos... " >&6; }
19092 if ${gcc_cv_math_func_ccos+:} false; then :
19093 $as_echo_n "(cached) " >&6
19094 else
19095 if test x$gcc_no_link = xyes; then
19096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19101 #ifdef HAVE_COMPLEX_H
19102 #include <complex.h>
19103 #endif
19104 #ifdef HAVE_MATH_H
19105 #include <math.h>
19106 #endif
19108 int (*ptr)() = (int (*)())ccos;
19111 main ()
19113 return 0;
19116 _ACEOF
19117 if ac_fn_c_try_link "$LINENO"; then :
19118 gcc_cv_math_func_ccos=yes
19119 else
19120 gcc_cv_math_func_ccos=no
19122 rm -f core conftest.err conftest.$ac_objext \
19123 conftest$ac_exeext conftest.$ac_ext
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19126 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19127 if test $gcc_cv_math_func_ccos = yes; then
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_CCOS 1
19131 _ACEOF
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19139 $as_echo_n "checking for ccosl... " >&6; }
19140 if ${gcc_cv_math_func_ccosl+:} false; then :
19141 $as_echo_n "(cached) " >&6
19142 else
19143 if test x$gcc_no_link = xyes; then
19144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h. */
19149 #ifdef HAVE_COMPLEX_H
19150 #include <complex.h>
19151 #endif
19152 #ifdef HAVE_MATH_H
19153 #include <math.h>
19154 #endif
19156 int (*ptr)() = (int (*)())ccosl;
19159 main ()
19161 return 0;
19164 _ACEOF
19165 if ac_fn_c_try_link "$LINENO"; then :
19166 gcc_cv_math_func_ccosl=yes
19167 else
19168 gcc_cv_math_func_ccosl=no
19170 rm -f core conftest.err conftest.$ac_objext \
19171 conftest$ac_exeext conftest.$ac_ext
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19174 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19175 if test $gcc_cv_math_func_ccosl = yes; then
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_CCOSL 1
19179 _ACEOF
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19187 $as_echo_n "checking for coshf... " >&6; }
19188 if ${gcc_cv_math_func_coshf+:} false; then :
19189 $as_echo_n "(cached) " >&6
19190 else
19191 if test x$gcc_no_link = xyes; then
19192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19195 /* end confdefs.h. */
19197 #ifdef HAVE_COMPLEX_H
19198 #include <complex.h>
19199 #endif
19200 #ifdef HAVE_MATH_H
19201 #include <math.h>
19202 #endif
19204 int (*ptr)() = (int (*)())coshf;
19207 main ()
19209 return 0;
19212 _ACEOF
19213 if ac_fn_c_try_link "$LINENO"; then :
19214 gcc_cv_math_func_coshf=yes
19215 else
19216 gcc_cv_math_func_coshf=no
19218 rm -f core conftest.err conftest.$ac_objext \
19219 conftest$ac_exeext conftest.$ac_ext
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19222 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19223 if test $gcc_cv_math_func_coshf = yes; then
19225 cat >>confdefs.h <<_ACEOF
19226 #define HAVE_COSHF 1
19227 _ACEOF
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19235 $as_echo_n "checking for cosh... " >&6; }
19236 if ${gcc_cv_math_func_cosh+:} false; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19239 if test x$gcc_no_link = xyes; then
19240 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19243 /* end confdefs.h. */
19245 #ifdef HAVE_COMPLEX_H
19246 #include <complex.h>
19247 #endif
19248 #ifdef HAVE_MATH_H
19249 #include <math.h>
19250 #endif
19252 int (*ptr)() = (int (*)())cosh;
19255 main ()
19257 return 0;
19260 _ACEOF
19261 if ac_fn_c_try_link "$LINENO"; then :
19262 gcc_cv_math_func_cosh=yes
19263 else
19264 gcc_cv_math_func_cosh=no
19266 rm -f core conftest.err conftest.$ac_objext \
19267 conftest$ac_exeext conftest.$ac_ext
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19270 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19271 if test $gcc_cv_math_func_cosh = yes; then
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_COSH 1
19275 _ACEOF
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19283 $as_echo_n "checking for coshl... " >&6; }
19284 if ${gcc_cv_math_func_coshl+:} false; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19287 if test x$gcc_no_link = xyes; then
19288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19293 #ifdef HAVE_COMPLEX_H
19294 #include <complex.h>
19295 #endif
19296 #ifdef HAVE_MATH_H
19297 #include <math.h>
19298 #endif
19300 int (*ptr)() = (int (*)())coshl;
19303 main ()
19305 return 0;
19308 _ACEOF
19309 if ac_fn_c_try_link "$LINENO"; then :
19310 gcc_cv_math_func_coshl=yes
19311 else
19312 gcc_cv_math_func_coshl=no
19314 rm -f core conftest.err conftest.$ac_objext \
19315 conftest$ac_exeext conftest.$ac_ext
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19318 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19319 if test $gcc_cv_math_func_coshl = yes; then
19321 cat >>confdefs.h <<_ACEOF
19322 #define HAVE_COSHL 1
19323 _ACEOF
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19331 $as_echo_n "checking for ccoshf... " >&6; }
19332 if ${gcc_cv_math_func_ccoshf+:} false; then :
19333 $as_echo_n "(cached) " >&6
19334 else
19335 if test x$gcc_no_link = xyes; then
19336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19341 #ifdef HAVE_COMPLEX_H
19342 #include <complex.h>
19343 #endif
19344 #ifdef HAVE_MATH_H
19345 #include <math.h>
19346 #endif
19348 int (*ptr)() = (int (*)())ccoshf;
19351 main ()
19353 return 0;
19356 _ACEOF
19357 if ac_fn_c_try_link "$LINENO"; then :
19358 gcc_cv_math_func_ccoshf=yes
19359 else
19360 gcc_cv_math_func_ccoshf=no
19362 rm -f core conftest.err conftest.$ac_objext \
19363 conftest$ac_exeext conftest.$ac_ext
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19366 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19367 if test $gcc_cv_math_func_ccoshf = yes; then
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_CCOSHF 1
19371 _ACEOF
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19379 $as_echo_n "checking for ccosh... " >&6; }
19380 if ${gcc_cv_math_func_ccosh+:} false; then :
19381 $as_echo_n "(cached) " >&6
19382 else
19383 if test x$gcc_no_link = xyes; then
19384 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19389 #ifdef HAVE_COMPLEX_H
19390 #include <complex.h>
19391 #endif
19392 #ifdef HAVE_MATH_H
19393 #include <math.h>
19394 #endif
19396 int (*ptr)() = (int (*)())ccosh;
19399 main ()
19401 return 0;
19404 _ACEOF
19405 if ac_fn_c_try_link "$LINENO"; then :
19406 gcc_cv_math_func_ccosh=yes
19407 else
19408 gcc_cv_math_func_ccosh=no
19410 rm -f core conftest.err conftest.$ac_objext \
19411 conftest$ac_exeext conftest.$ac_ext
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19414 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19415 if test $gcc_cv_math_func_ccosh = yes; then
19417 cat >>confdefs.h <<_ACEOF
19418 #define HAVE_CCOSH 1
19419 _ACEOF
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19427 $as_echo_n "checking for ccoshl... " >&6; }
19428 if ${gcc_cv_math_func_ccoshl+:} false; then :
19429 $as_echo_n "(cached) " >&6
19430 else
19431 if test x$gcc_no_link = xyes; then
19432 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19437 #ifdef HAVE_COMPLEX_H
19438 #include <complex.h>
19439 #endif
19440 #ifdef HAVE_MATH_H
19441 #include <math.h>
19442 #endif
19444 int (*ptr)() = (int (*)())ccoshl;
19447 main ()
19449 return 0;
19452 _ACEOF
19453 if ac_fn_c_try_link "$LINENO"; then :
19454 gcc_cv_math_func_ccoshl=yes
19455 else
19456 gcc_cv_math_func_ccoshl=no
19458 rm -f core conftest.err conftest.$ac_objext \
19459 conftest$ac_exeext conftest.$ac_ext
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19462 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19463 if test $gcc_cv_math_func_ccoshl = yes; then
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_CCOSHL 1
19467 _ACEOF
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19475 $as_echo_n "checking for expf... " >&6; }
19476 if ${gcc_cv_math_func_expf+:} false; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19479 if test x$gcc_no_link = xyes; then
19480 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19485 #ifdef HAVE_COMPLEX_H
19486 #include <complex.h>
19487 #endif
19488 #ifdef HAVE_MATH_H
19489 #include <math.h>
19490 #endif
19492 int (*ptr)() = (int (*)())expf;
19495 main ()
19497 return 0;
19500 _ACEOF
19501 if ac_fn_c_try_link "$LINENO"; then :
19502 gcc_cv_math_func_expf=yes
19503 else
19504 gcc_cv_math_func_expf=no
19506 rm -f core conftest.err conftest.$ac_objext \
19507 conftest$ac_exeext conftest.$ac_ext
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19510 $as_echo "$gcc_cv_math_func_expf" >&6; }
19511 if test $gcc_cv_math_func_expf = yes; then
19513 cat >>confdefs.h <<_ACEOF
19514 #define HAVE_EXPF 1
19515 _ACEOF
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19523 $as_echo_n "checking for exp... " >&6; }
19524 if ${gcc_cv_math_func_exp+:} false; then :
19525 $as_echo_n "(cached) " >&6
19526 else
19527 if test x$gcc_no_link = xyes; then
19528 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19531 /* end confdefs.h. */
19533 #ifdef HAVE_COMPLEX_H
19534 #include <complex.h>
19535 #endif
19536 #ifdef HAVE_MATH_H
19537 #include <math.h>
19538 #endif
19540 int (*ptr)() = (int (*)())exp;
19543 main ()
19545 return 0;
19548 _ACEOF
19549 if ac_fn_c_try_link "$LINENO"; then :
19550 gcc_cv_math_func_exp=yes
19551 else
19552 gcc_cv_math_func_exp=no
19554 rm -f core conftest.err conftest.$ac_objext \
19555 conftest$ac_exeext conftest.$ac_ext
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19558 $as_echo "$gcc_cv_math_func_exp" >&6; }
19559 if test $gcc_cv_math_func_exp = yes; then
19561 cat >>confdefs.h <<_ACEOF
19562 #define HAVE_EXP 1
19563 _ACEOF
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19571 $as_echo_n "checking for expl... " >&6; }
19572 if ${gcc_cv_math_func_expl+:} false; then :
19573 $as_echo_n "(cached) " >&6
19574 else
19575 if test x$gcc_no_link = xyes; then
19576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19581 #ifdef HAVE_COMPLEX_H
19582 #include <complex.h>
19583 #endif
19584 #ifdef HAVE_MATH_H
19585 #include <math.h>
19586 #endif
19588 int (*ptr)() = (int (*)())expl;
19591 main ()
19593 return 0;
19596 _ACEOF
19597 if ac_fn_c_try_link "$LINENO"; then :
19598 gcc_cv_math_func_expl=yes
19599 else
19600 gcc_cv_math_func_expl=no
19602 rm -f core conftest.err conftest.$ac_objext \
19603 conftest$ac_exeext conftest.$ac_ext
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19606 $as_echo "$gcc_cv_math_func_expl" >&6; }
19607 if test $gcc_cv_math_func_expl = yes; then
19609 cat >>confdefs.h <<_ACEOF
19610 #define HAVE_EXPL 1
19611 _ACEOF
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19619 $as_echo_n "checking for cexpf... " >&6; }
19620 if ${gcc_cv_math_func_cexpf+:} false; then :
19621 $as_echo_n "(cached) " >&6
19622 else
19623 if test x$gcc_no_link = xyes; then
19624 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h. */
19629 #ifdef HAVE_COMPLEX_H
19630 #include <complex.h>
19631 #endif
19632 #ifdef HAVE_MATH_H
19633 #include <math.h>
19634 #endif
19636 int (*ptr)() = (int (*)())cexpf;
19639 main ()
19641 return 0;
19644 _ACEOF
19645 if ac_fn_c_try_link "$LINENO"; then :
19646 gcc_cv_math_func_cexpf=yes
19647 else
19648 gcc_cv_math_func_cexpf=no
19650 rm -f core conftest.err conftest.$ac_objext \
19651 conftest$ac_exeext conftest.$ac_ext
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19654 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19655 if test $gcc_cv_math_func_cexpf = yes; then
19657 cat >>confdefs.h <<_ACEOF
19658 #define HAVE_CEXPF 1
19659 _ACEOF
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19667 $as_echo_n "checking for cexp... " >&6; }
19668 if ${gcc_cv_math_func_cexp+:} false; then :
19669 $as_echo_n "(cached) " >&6
19670 else
19671 if test x$gcc_no_link = xyes; then
19672 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19677 #ifdef HAVE_COMPLEX_H
19678 #include <complex.h>
19679 #endif
19680 #ifdef HAVE_MATH_H
19681 #include <math.h>
19682 #endif
19684 int (*ptr)() = (int (*)())cexp;
19687 main ()
19689 return 0;
19692 _ACEOF
19693 if ac_fn_c_try_link "$LINENO"; then :
19694 gcc_cv_math_func_cexp=yes
19695 else
19696 gcc_cv_math_func_cexp=no
19698 rm -f core conftest.err conftest.$ac_objext \
19699 conftest$ac_exeext conftest.$ac_ext
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19702 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19703 if test $gcc_cv_math_func_cexp = yes; then
19705 cat >>confdefs.h <<_ACEOF
19706 #define HAVE_CEXP 1
19707 _ACEOF
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19715 $as_echo_n "checking for cexpl... " >&6; }
19716 if ${gcc_cv_math_func_cexpl+:} false; then :
19717 $as_echo_n "(cached) " >&6
19718 else
19719 if test x$gcc_no_link = xyes; then
19720 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19725 #ifdef HAVE_COMPLEX_H
19726 #include <complex.h>
19727 #endif
19728 #ifdef HAVE_MATH_H
19729 #include <math.h>
19730 #endif
19732 int (*ptr)() = (int (*)())cexpl;
19735 main ()
19737 return 0;
19740 _ACEOF
19741 if ac_fn_c_try_link "$LINENO"; then :
19742 gcc_cv_math_func_cexpl=yes
19743 else
19744 gcc_cv_math_func_cexpl=no
19746 rm -f core conftest.err conftest.$ac_objext \
19747 conftest$ac_exeext conftest.$ac_ext
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19750 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19751 if test $gcc_cv_math_func_cexpl = yes; then
19753 cat >>confdefs.h <<_ACEOF
19754 #define HAVE_CEXPL 1
19755 _ACEOF
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19763 $as_echo_n "checking for fabsf... " >&6; }
19764 if ${gcc_cv_math_func_fabsf+:} false; then :
19765 $as_echo_n "(cached) " >&6
19766 else
19767 if test x$gcc_no_link = xyes; then
19768 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19773 #ifdef HAVE_COMPLEX_H
19774 #include <complex.h>
19775 #endif
19776 #ifdef HAVE_MATH_H
19777 #include <math.h>
19778 #endif
19780 int (*ptr)() = (int (*)())fabsf;
19783 main ()
19785 return 0;
19788 _ACEOF
19789 if ac_fn_c_try_link "$LINENO"; then :
19790 gcc_cv_math_func_fabsf=yes
19791 else
19792 gcc_cv_math_func_fabsf=no
19794 rm -f core conftest.err conftest.$ac_objext \
19795 conftest$ac_exeext conftest.$ac_ext
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19798 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19799 if test $gcc_cv_math_func_fabsf = yes; then
19801 cat >>confdefs.h <<_ACEOF
19802 #define HAVE_FABSF 1
19803 _ACEOF
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19811 $as_echo_n "checking for fabs... " >&6; }
19812 if ${gcc_cv_math_func_fabs+:} false; then :
19813 $as_echo_n "(cached) " >&6
19814 else
19815 if test x$gcc_no_link = xyes; then
19816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19821 #ifdef HAVE_COMPLEX_H
19822 #include <complex.h>
19823 #endif
19824 #ifdef HAVE_MATH_H
19825 #include <math.h>
19826 #endif
19828 int (*ptr)() = (int (*)())fabs;
19831 main ()
19833 return 0;
19836 _ACEOF
19837 if ac_fn_c_try_link "$LINENO"; then :
19838 gcc_cv_math_func_fabs=yes
19839 else
19840 gcc_cv_math_func_fabs=no
19842 rm -f core conftest.err conftest.$ac_objext \
19843 conftest$ac_exeext conftest.$ac_ext
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19846 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19847 if test $gcc_cv_math_func_fabs = yes; then
19849 cat >>confdefs.h <<_ACEOF
19850 #define HAVE_FABS 1
19851 _ACEOF
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19859 $as_echo_n "checking for fabsl... " >&6; }
19860 if ${gcc_cv_math_func_fabsl+:} false; then :
19861 $as_echo_n "(cached) " >&6
19862 else
19863 if test x$gcc_no_link = xyes; then
19864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19869 #ifdef HAVE_COMPLEX_H
19870 #include <complex.h>
19871 #endif
19872 #ifdef HAVE_MATH_H
19873 #include <math.h>
19874 #endif
19876 int (*ptr)() = (int (*)())fabsl;
19879 main ()
19881 return 0;
19884 _ACEOF
19885 if ac_fn_c_try_link "$LINENO"; then :
19886 gcc_cv_math_func_fabsl=yes
19887 else
19888 gcc_cv_math_func_fabsl=no
19890 rm -f core conftest.err conftest.$ac_objext \
19891 conftest$ac_exeext conftest.$ac_ext
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19894 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19895 if test $gcc_cv_math_func_fabsl = yes; then
19897 cat >>confdefs.h <<_ACEOF
19898 #define HAVE_FABSL 1
19899 _ACEOF
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19907 $as_echo_n "checking for cabsf... " >&6; }
19908 if ${gcc_cv_math_func_cabsf+:} false; then :
19909 $as_echo_n "(cached) " >&6
19910 else
19911 if test x$gcc_no_link = xyes; then
19912 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19917 #ifdef HAVE_COMPLEX_H
19918 #include <complex.h>
19919 #endif
19920 #ifdef HAVE_MATH_H
19921 #include <math.h>
19922 #endif
19924 int (*ptr)() = (int (*)())cabsf;
19927 main ()
19929 return 0;
19932 _ACEOF
19933 if ac_fn_c_try_link "$LINENO"; then :
19934 gcc_cv_math_func_cabsf=yes
19935 else
19936 gcc_cv_math_func_cabsf=no
19938 rm -f core conftest.err conftest.$ac_objext \
19939 conftest$ac_exeext conftest.$ac_ext
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19942 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19943 if test $gcc_cv_math_func_cabsf = yes; then
19945 cat >>confdefs.h <<_ACEOF
19946 #define HAVE_CABSF 1
19947 _ACEOF
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19955 $as_echo_n "checking for cabs... " >&6; }
19956 if ${gcc_cv_math_func_cabs+:} false; then :
19957 $as_echo_n "(cached) " >&6
19958 else
19959 if test x$gcc_no_link = xyes; then
19960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19965 #ifdef HAVE_COMPLEX_H
19966 #include <complex.h>
19967 #endif
19968 #ifdef HAVE_MATH_H
19969 #include <math.h>
19970 #endif
19972 int (*ptr)() = (int (*)())cabs;
19975 main ()
19977 return 0;
19980 _ACEOF
19981 if ac_fn_c_try_link "$LINENO"; then :
19982 gcc_cv_math_func_cabs=yes
19983 else
19984 gcc_cv_math_func_cabs=no
19986 rm -f core conftest.err conftest.$ac_objext \
19987 conftest$ac_exeext conftest.$ac_ext
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19990 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19991 if test $gcc_cv_math_func_cabs = yes; then
19993 cat >>confdefs.h <<_ACEOF
19994 #define HAVE_CABS 1
19995 _ACEOF
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
20003 $as_echo_n "checking for cabsl... " >&6; }
20004 if ${gcc_cv_math_func_cabsl+:} false; then :
20005 $as_echo_n "(cached) " >&6
20006 else
20007 if test x$gcc_no_link = xyes; then
20008 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20011 /* end confdefs.h. */
20013 #ifdef HAVE_COMPLEX_H
20014 #include <complex.h>
20015 #endif
20016 #ifdef HAVE_MATH_H
20017 #include <math.h>
20018 #endif
20020 int (*ptr)() = (int (*)())cabsl;
20023 main ()
20025 return 0;
20028 _ACEOF
20029 if ac_fn_c_try_link "$LINENO"; then :
20030 gcc_cv_math_func_cabsl=yes
20031 else
20032 gcc_cv_math_func_cabsl=no
20034 rm -f core conftest.err conftest.$ac_objext \
20035 conftest$ac_exeext conftest.$ac_ext
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
20038 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
20039 if test $gcc_cv_math_func_cabsl = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_CABSL 1
20043 _ACEOF
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
20051 $as_echo_n "checking for floorf... " >&6; }
20052 if ${gcc_cv_math_func_floorf+:} false; then :
20053 $as_echo_n "(cached) " >&6
20054 else
20055 if test x$gcc_no_link = xyes; then
20056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20059 /* end confdefs.h. */
20061 #ifdef HAVE_COMPLEX_H
20062 #include <complex.h>
20063 #endif
20064 #ifdef HAVE_MATH_H
20065 #include <math.h>
20066 #endif
20068 int (*ptr)() = (int (*)())floorf;
20071 main ()
20073 return 0;
20076 _ACEOF
20077 if ac_fn_c_try_link "$LINENO"; then :
20078 gcc_cv_math_func_floorf=yes
20079 else
20080 gcc_cv_math_func_floorf=no
20082 rm -f core conftest.err conftest.$ac_objext \
20083 conftest$ac_exeext conftest.$ac_ext
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
20086 $as_echo "$gcc_cv_math_func_floorf" >&6; }
20087 if test $gcc_cv_math_func_floorf = yes; then
20089 cat >>confdefs.h <<_ACEOF
20090 #define HAVE_FLOORF 1
20091 _ACEOF
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
20099 $as_echo_n "checking for floor... " >&6; }
20100 if ${gcc_cv_math_func_floor+:} false; then :
20101 $as_echo_n "(cached) " >&6
20102 else
20103 if test x$gcc_no_link = xyes; then
20104 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h. */
20109 #ifdef HAVE_COMPLEX_H
20110 #include <complex.h>
20111 #endif
20112 #ifdef HAVE_MATH_H
20113 #include <math.h>
20114 #endif
20116 int (*ptr)() = (int (*)())floor;
20119 main ()
20121 return 0;
20124 _ACEOF
20125 if ac_fn_c_try_link "$LINENO"; then :
20126 gcc_cv_math_func_floor=yes
20127 else
20128 gcc_cv_math_func_floor=no
20130 rm -f core conftest.err conftest.$ac_objext \
20131 conftest$ac_exeext conftest.$ac_ext
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20134 $as_echo "$gcc_cv_math_func_floor" >&6; }
20135 if test $gcc_cv_math_func_floor = yes; then
20137 cat >>confdefs.h <<_ACEOF
20138 #define HAVE_FLOOR 1
20139 _ACEOF
20146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20147 $as_echo_n "checking for floorl... " >&6; }
20148 if ${gcc_cv_math_func_floorl+:} false; then :
20149 $as_echo_n "(cached) " >&6
20150 else
20151 if test x$gcc_no_link = xyes; then
20152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20155 /* end confdefs.h. */
20157 #ifdef HAVE_COMPLEX_H
20158 #include <complex.h>
20159 #endif
20160 #ifdef HAVE_MATH_H
20161 #include <math.h>
20162 #endif
20164 int (*ptr)() = (int (*)())floorl;
20167 main ()
20169 return 0;
20172 _ACEOF
20173 if ac_fn_c_try_link "$LINENO"; then :
20174 gcc_cv_math_func_floorl=yes
20175 else
20176 gcc_cv_math_func_floorl=no
20178 rm -f core conftest.err conftest.$ac_objext \
20179 conftest$ac_exeext conftest.$ac_ext
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20182 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20183 if test $gcc_cv_math_func_floorl = yes; then
20185 cat >>confdefs.h <<_ACEOF
20186 #define HAVE_FLOORL 1
20187 _ACEOF
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20195 $as_echo_n "checking for fmaf... " >&6; }
20196 if ${gcc_cv_math_func_fmaf+:} false; then :
20197 $as_echo_n "(cached) " >&6
20198 else
20199 if test x$gcc_no_link = xyes; then
20200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20203 /* end confdefs.h. */
20205 #ifdef HAVE_COMPLEX_H
20206 #include <complex.h>
20207 #endif
20208 #ifdef HAVE_MATH_H
20209 #include <math.h>
20210 #endif
20212 int (*ptr)() = (int (*)())fmaf;
20215 main ()
20217 return 0;
20220 _ACEOF
20221 if ac_fn_c_try_link "$LINENO"; then :
20222 gcc_cv_math_func_fmaf=yes
20223 else
20224 gcc_cv_math_func_fmaf=no
20226 rm -f core conftest.err conftest.$ac_objext \
20227 conftest$ac_exeext conftest.$ac_ext
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20230 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20231 if test $gcc_cv_math_func_fmaf = yes; then
20233 cat >>confdefs.h <<_ACEOF
20234 #define HAVE_FMAF 1
20235 _ACEOF
20242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20243 $as_echo_n "checking for fma... " >&6; }
20244 if ${gcc_cv_math_func_fma+:} false; then :
20245 $as_echo_n "(cached) " >&6
20246 else
20247 if test x$gcc_no_link = xyes; then
20248 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20251 /* end confdefs.h. */
20253 #ifdef HAVE_COMPLEX_H
20254 #include <complex.h>
20255 #endif
20256 #ifdef HAVE_MATH_H
20257 #include <math.h>
20258 #endif
20260 int (*ptr)() = (int (*)())fma;
20263 main ()
20265 return 0;
20268 _ACEOF
20269 if ac_fn_c_try_link "$LINENO"; then :
20270 gcc_cv_math_func_fma=yes
20271 else
20272 gcc_cv_math_func_fma=no
20274 rm -f core conftest.err conftest.$ac_objext \
20275 conftest$ac_exeext conftest.$ac_ext
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20278 $as_echo "$gcc_cv_math_func_fma" >&6; }
20279 if test $gcc_cv_math_func_fma = yes; then
20281 cat >>confdefs.h <<_ACEOF
20282 #define HAVE_FMA 1
20283 _ACEOF
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20291 $as_echo_n "checking for fmal... " >&6; }
20292 if ${gcc_cv_math_func_fmal+:} false; then :
20293 $as_echo_n "(cached) " >&6
20294 else
20295 if test x$gcc_no_link = xyes; then
20296 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20299 /* end confdefs.h. */
20301 #ifdef HAVE_COMPLEX_H
20302 #include <complex.h>
20303 #endif
20304 #ifdef HAVE_MATH_H
20305 #include <math.h>
20306 #endif
20308 int (*ptr)() = (int (*)())fmal;
20311 main ()
20313 return 0;
20316 _ACEOF
20317 if ac_fn_c_try_link "$LINENO"; then :
20318 gcc_cv_math_func_fmal=yes
20319 else
20320 gcc_cv_math_func_fmal=no
20322 rm -f core conftest.err conftest.$ac_objext \
20323 conftest$ac_exeext conftest.$ac_ext
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20326 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20327 if test $gcc_cv_math_func_fmal = yes; then
20329 cat >>confdefs.h <<_ACEOF
20330 #define HAVE_FMAL 1
20331 _ACEOF
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20339 $as_echo_n "checking for fmodf... " >&6; }
20340 if ${gcc_cv_math_func_fmodf+:} false; then :
20341 $as_echo_n "(cached) " >&6
20342 else
20343 if test x$gcc_no_link = xyes; then
20344 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20347 /* end confdefs.h. */
20349 #ifdef HAVE_COMPLEX_H
20350 #include <complex.h>
20351 #endif
20352 #ifdef HAVE_MATH_H
20353 #include <math.h>
20354 #endif
20356 int (*ptr)() = (int (*)())fmodf;
20359 main ()
20361 return 0;
20364 _ACEOF
20365 if ac_fn_c_try_link "$LINENO"; then :
20366 gcc_cv_math_func_fmodf=yes
20367 else
20368 gcc_cv_math_func_fmodf=no
20370 rm -f core conftest.err conftest.$ac_objext \
20371 conftest$ac_exeext conftest.$ac_ext
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20374 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20375 if test $gcc_cv_math_func_fmodf = yes; then
20377 cat >>confdefs.h <<_ACEOF
20378 #define HAVE_FMODF 1
20379 _ACEOF
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20387 $as_echo_n "checking for fmod... " >&6; }
20388 if ${gcc_cv_math_func_fmod+:} false; then :
20389 $as_echo_n "(cached) " >&6
20390 else
20391 if test x$gcc_no_link = xyes; then
20392 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20395 /* end confdefs.h. */
20397 #ifdef HAVE_COMPLEX_H
20398 #include <complex.h>
20399 #endif
20400 #ifdef HAVE_MATH_H
20401 #include <math.h>
20402 #endif
20404 int (*ptr)() = (int (*)())fmod;
20407 main ()
20409 return 0;
20412 _ACEOF
20413 if ac_fn_c_try_link "$LINENO"; then :
20414 gcc_cv_math_func_fmod=yes
20415 else
20416 gcc_cv_math_func_fmod=no
20418 rm -f core conftest.err conftest.$ac_objext \
20419 conftest$ac_exeext conftest.$ac_ext
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20422 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20423 if test $gcc_cv_math_func_fmod = yes; then
20425 cat >>confdefs.h <<_ACEOF
20426 #define HAVE_FMOD 1
20427 _ACEOF
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20435 $as_echo_n "checking for fmodl... " >&6; }
20436 if ${gcc_cv_math_func_fmodl+:} false; then :
20437 $as_echo_n "(cached) " >&6
20438 else
20439 if test x$gcc_no_link = xyes; then
20440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20443 /* end confdefs.h. */
20445 #ifdef HAVE_COMPLEX_H
20446 #include <complex.h>
20447 #endif
20448 #ifdef HAVE_MATH_H
20449 #include <math.h>
20450 #endif
20452 int (*ptr)() = (int (*)())fmodl;
20455 main ()
20457 return 0;
20460 _ACEOF
20461 if ac_fn_c_try_link "$LINENO"; then :
20462 gcc_cv_math_func_fmodl=yes
20463 else
20464 gcc_cv_math_func_fmodl=no
20466 rm -f core conftest.err conftest.$ac_objext \
20467 conftest$ac_exeext conftest.$ac_ext
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20470 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20471 if test $gcc_cv_math_func_fmodl = yes; then
20473 cat >>confdefs.h <<_ACEOF
20474 #define HAVE_FMODL 1
20475 _ACEOF
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20483 $as_echo_n "checking for frexpf... " >&6; }
20484 if ${gcc_cv_math_func_frexpf+:} false; then :
20485 $as_echo_n "(cached) " >&6
20486 else
20487 if test x$gcc_no_link = xyes; then
20488 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20491 /* end confdefs.h. */
20493 #ifdef HAVE_COMPLEX_H
20494 #include <complex.h>
20495 #endif
20496 #ifdef HAVE_MATH_H
20497 #include <math.h>
20498 #endif
20500 int (*ptr)() = (int (*)())frexpf;
20503 main ()
20505 return 0;
20508 _ACEOF
20509 if ac_fn_c_try_link "$LINENO"; then :
20510 gcc_cv_math_func_frexpf=yes
20511 else
20512 gcc_cv_math_func_frexpf=no
20514 rm -f core conftest.err conftest.$ac_objext \
20515 conftest$ac_exeext conftest.$ac_ext
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20518 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20519 if test $gcc_cv_math_func_frexpf = yes; then
20521 cat >>confdefs.h <<_ACEOF
20522 #define HAVE_FREXPF 1
20523 _ACEOF
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20531 $as_echo_n "checking for frexp... " >&6; }
20532 if ${gcc_cv_math_func_frexp+:} false; then :
20533 $as_echo_n "(cached) " >&6
20534 else
20535 if test x$gcc_no_link = xyes; then
20536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20539 /* end confdefs.h. */
20541 #ifdef HAVE_COMPLEX_H
20542 #include <complex.h>
20543 #endif
20544 #ifdef HAVE_MATH_H
20545 #include <math.h>
20546 #endif
20548 int (*ptr)() = (int (*)())frexp;
20551 main ()
20553 return 0;
20556 _ACEOF
20557 if ac_fn_c_try_link "$LINENO"; then :
20558 gcc_cv_math_func_frexp=yes
20559 else
20560 gcc_cv_math_func_frexp=no
20562 rm -f core conftest.err conftest.$ac_objext \
20563 conftest$ac_exeext conftest.$ac_ext
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20566 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20567 if test $gcc_cv_math_func_frexp = yes; then
20569 cat >>confdefs.h <<_ACEOF
20570 #define HAVE_FREXP 1
20571 _ACEOF
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20579 $as_echo_n "checking for frexpl... " >&6; }
20580 if ${gcc_cv_math_func_frexpl+:} false; then :
20581 $as_echo_n "(cached) " >&6
20582 else
20583 if test x$gcc_no_link = xyes; then
20584 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20587 /* end confdefs.h. */
20589 #ifdef HAVE_COMPLEX_H
20590 #include <complex.h>
20591 #endif
20592 #ifdef HAVE_MATH_H
20593 #include <math.h>
20594 #endif
20596 int (*ptr)() = (int (*)())frexpl;
20599 main ()
20601 return 0;
20604 _ACEOF
20605 if ac_fn_c_try_link "$LINENO"; then :
20606 gcc_cv_math_func_frexpl=yes
20607 else
20608 gcc_cv_math_func_frexpl=no
20610 rm -f core conftest.err conftest.$ac_objext \
20611 conftest$ac_exeext conftest.$ac_ext
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20614 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20615 if test $gcc_cv_math_func_frexpl = yes; then
20617 cat >>confdefs.h <<_ACEOF
20618 #define HAVE_FREXPL 1
20619 _ACEOF
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20627 $as_echo_n "checking for hypotf... " >&6; }
20628 if ${gcc_cv_math_func_hypotf+:} false; then :
20629 $as_echo_n "(cached) " >&6
20630 else
20631 if test x$gcc_no_link = xyes; then
20632 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20635 /* end confdefs.h. */
20637 #ifdef HAVE_COMPLEX_H
20638 #include <complex.h>
20639 #endif
20640 #ifdef HAVE_MATH_H
20641 #include <math.h>
20642 #endif
20644 int (*ptr)() = (int (*)())hypotf;
20647 main ()
20649 return 0;
20652 _ACEOF
20653 if ac_fn_c_try_link "$LINENO"; then :
20654 gcc_cv_math_func_hypotf=yes
20655 else
20656 gcc_cv_math_func_hypotf=no
20658 rm -f core conftest.err conftest.$ac_objext \
20659 conftest$ac_exeext conftest.$ac_ext
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20662 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20663 if test $gcc_cv_math_func_hypotf = yes; then
20665 cat >>confdefs.h <<_ACEOF
20666 #define HAVE_HYPOTF 1
20667 _ACEOF
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20675 $as_echo_n "checking for hypot... " >&6; }
20676 if ${gcc_cv_math_func_hypot+:} false; then :
20677 $as_echo_n "(cached) " >&6
20678 else
20679 if test x$gcc_no_link = xyes; then
20680 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20685 #ifdef HAVE_COMPLEX_H
20686 #include <complex.h>
20687 #endif
20688 #ifdef HAVE_MATH_H
20689 #include <math.h>
20690 #endif
20692 int (*ptr)() = (int (*)())hypot;
20695 main ()
20697 return 0;
20700 _ACEOF
20701 if ac_fn_c_try_link "$LINENO"; then :
20702 gcc_cv_math_func_hypot=yes
20703 else
20704 gcc_cv_math_func_hypot=no
20706 rm -f core conftest.err conftest.$ac_objext \
20707 conftest$ac_exeext conftest.$ac_ext
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20710 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20711 if test $gcc_cv_math_func_hypot = yes; then
20713 cat >>confdefs.h <<_ACEOF
20714 #define HAVE_HYPOT 1
20715 _ACEOF
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20723 $as_echo_n "checking for hypotl... " >&6; }
20724 if ${gcc_cv_math_func_hypotl+:} false; then :
20725 $as_echo_n "(cached) " >&6
20726 else
20727 if test x$gcc_no_link = xyes; then
20728 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20731 /* end confdefs.h. */
20733 #ifdef HAVE_COMPLEX_H
20734 #include <complex.h>
20735 #endif
20736 #ifdef HAVE_MATH_H
20737 #include <math.h>
20738 #endif
20740 int (*ptr)() = (int (*)())hypotl;
20743 main ()
20745 return 0;
20748 _ACEOF
20749 if ac_fn_c_try_link "$LINENO"; then :
20750 gcc_cv_math_func_hypotl=yes
20751 else
20752 gcc_cv_math_func_hypotl=no
20754 rm -f core conftest.err conftest.$ac_objext \
20755 conftest$ac_exeext conftest.$ac_ext
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20758 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20759 if test $gcc_cv_math_func_hypotl = yes; then
20761 cat >>confdefs.h <<_ACEOF
20762 #define HAVE_HYPOTL 1
20763 _ACEOF
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20771 $as_echo_n "checking for ldexpf... " >&6; }
20772 if ${gcc_cv_math_func_ldexpf+:} false; then :
20773 $as_echo_n "(cached) " >&6
20774 else
20775 if test x$gcc_no_link = xyes; then
20776 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20781 #ifdef HAVE_COMPLEX_H
20782 #include <complex.h>
20783 #endif
20784 #ifdef HAVE_MATH_H
20785 #include <math.h>
20786 #endif
20788 int (*ptr)() = (int (*)())ldexpf;
20791 main ()
20793 return 0;
20796 _ACEOF
20797 if ac_fn_c_try_link "$LINENO"; then :
20798 gcc_cv_math_func_ldexpf=yes
20799 else
20800 gcc_cv_math_func_ldexpf=no
20802 rm -f core conftest.err conftest.$ac_objext \
20803 conftest$ac_exeext conftest.$ac_ext
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20806 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20807 if test $gcc_cv_math_func_ldexpf = yes; then
20809 cat >>confdefs.h <<_ACEOF
20810 #define HAVE_LDEXPF 1
20811 _ACEOF
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20819 $as_echo_n "checking for ldexp... " >&6; }
20820 if ${gcc_cv_math_func_ldexp+:} false; then :
20821 $as_echo_n "(cached) " >&6
20822 else
20823 if test x$gcc_no_link = xyes; then
20824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20829 #ifdef HAVE_COMPLEX_H
20830 #include <complex.h>
20831 #endif
20832 #ifdef HAVE_MATH_H
20833 #include <math.h>
20834 #endif
20836 int (*ptr)() = (int (*)())ldexp;
20839 main ()
20841 return 0;
20844 _ACEOF
20845 if ac_fn_c_try_link "$LINENO"; then :
20846 gcc_cv_math_func_ldexp=yes
20847 else
20848 gcc_cv_math_func_ldexp=no
20850 rm -f core conftest.err conftest.$ac_objext \
20851 conftest$ac_exeext conftest.$ac_ext
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20854 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20855 if test $gcc_cv_math_func_ldexp = yes; then
20857 cat >>confdefs.h <<_ACEOF
20858 #define HAVE_LDEXP 1
20859 _ACEOF
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20867 $as_echo_n "checking for ldexpl... " >&6; }
20868 if ${gcc_cv_math_func_ldexpl+:} false; then :
20869 $as_echo_n "(cached) " >&6
20870 else
20871 if test x$gcc_no_link = xyes; then
20872 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20877 #ifdef HAVE_COMPLEX_H
20878 #include <complex.h>
20879 #endif
20880 #ifdef HAVE_MATH_H
20881 #include <math.h>
20882 #endif
20884 int (*ptr)() = (int (*)())ldexpl;
20887 main ()
20889 return 0;
20892 _ACEOF
20893 if ac_fn_c_try_link "$LINENO"; then :
20894 gcc_cv_math_func_ldexpl=yes
20895 else
20896 gcc_cv_math_func_ldexpl=no
20898 rm -f core conftest.err conftest.$ac_objext \
20899 conftest$ac_exeext conftest.$ac_ext
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20902 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20903 if test $gcc_cv_math_func_ldexpl = yes; then
20905 cat >>confdefs.h <<_ACEOF
20906 #define HAVE_LDEXPL 1
20907 _ACEOF
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20915 $as_echo_n "checking for logf... " >&6; }
20916 if ${gcc_cv_math_func_logf+:} false; then :
20917 $as_echo_n "(cached) " >&6
20918 else
20919 if test x$gcc_no_link = xyes; then
20920 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20925 #ifdef HAVE_COMPLEX_H
20926 #include <complex.h>
20927 #endif
20928 #ifdef HAVE_MATH_H
20929 #include <math.h>
20930 #endif
20932 int (*ptr)() = (int (*)())logf;
20935 main ()
20937 return 0;
20940 _ACEOF
20941 if ac_fn_c_try_link "$LINENO"; then :
20942 gcc_cv_math_func_logf=yes
20943 else
20944 gcc_cv_math_func_logf=no
20946 rm -f core conftest.err conftest.$ac_objext \
20947 conftest$ac_exeext conftest.$ac_ext
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20950 $as_echo "$gcc_cv_math_func_logf" >&6; }
20951 if test $gcc_cv_math_func_logf = yes; then
20953 cat >>confdefs.h <<_ACEOF
20954 #define HAVE_LOGF 1
20955 _ACEOF
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20963 $as_echo_n "checking for log... " >&6; }
20964 if ${gcc_cv_math_func_log+:} false; then :
20965 $as_echo_n "(cached) " >&6
20966 else
20967 if test x$gcc_no_link = xyes; then
20968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20971 /* end confdefs.h. */
20973 #ifdef HAVE_COMPLEX_H
20974 #include <complex.h>
20975 #endif
20976 #ifdef HAVE_MATH_H
20977 #include <math.h>
20978 #endif
20980 int (*ptr)() = (int (*)())log;
20983 main ()
20985 return 0;
20988 _ACEOF
20989 if ac_fn_c_try_link "$LINENO"; then :
20990 gcc_cv_math_func_log=yes
20991 else
20992 gcc_cv_math_func_log=no
20994 rm -f core conftest.err conftest.$ac_objext \
20995 conftest$ac_exeext conftest.$ac_ext
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20998 $as_echo "$gcc_cv_math_func_log" >&6; }
20999 if test $gcc_cv_math_func_log = yes; then
21001 cat >>confdefs.h <<_ACEOF
21002 #define HAVE_LOG 1
21003 _ACEOF
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
21011 $as_echo_n "checking for logl... " >&6; }
21012 if ${gcc_cv_math_func_logl+:} false; then :
21013 $as_echo_n "(cached) " >&6
21014 else
21015 if test x$gcc_no_link = xyes; then
21016 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21021 #ifdef HAVE_COMPLEX_H
21022 #include <complex.h>
21023 #endif
21024 #ifdef HAVE_MATH_H
21025 #include <math.h>
21026 #endif
21028 int (*ptr)() = (int (*)())logl;
21031 main ()
21033 return 0;
21036 _ACEOF
21037 if ac_fn_c_try_link "$LINENO"; then :
21038 gcc_cv_math_func_logl=yes
21039 else
21040 gcc_cv_math_func_logl=no
21042 rm -f core conftest.err conftest.$ac_objext \
21043 conftest$ac_exeext conftest.$ac_ext
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
21046 $as_echo "$gcc_cv_math_func_logl" >&6; }
21047 if test $gcc_cv_math_func_logl = yes; then
21049 cat >>confdefs.h <<_ACEOF
21050 #define HAVE_LOGL 1
21051 _ACEOF
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
21059 $as_echo_n "checking for clogf... " >&6; }
21060 if ${gcc_cv_math_func_clogf+:} false; then :
21061 $as_echo_n "(cached) " >&6
21062 else
21063 if test x$gcc_no_link = xyes; then
21064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21067 /* end confdefs.h. */
21069 #ifdef HAVE_COMPLEX_H
21070 #include <complex.h>
21071 #endif
21072 #ifdef HAVE_MATH_H
21073 #include <math.h>
21074 #endif
21076 int (*ptr)() = (int (*)())clogf;
21079 main ()
21081 return 0;
21084 _ACEOF
21085 if ac_fn_c_try_link "$LINENO"; then :
21086 gcc_cv_math_func_clogf=yes
21087 else
21088 gcc_cv_math_func_clogf=no
21090 rm -f core conftest.err conftest.$ac_objext \
21091 conftest$ac_exeext conftest.$ac_ext
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
21094 $as_echo "$gcc_cv_math_func_clogf" >&6; }
21095 if test $gcc_cv_math_func_clogf = yes; then
21097 cat >>confdefs.h <<_ACEOF
21098 #define HAVE_CLOGF 1
21099 _ACEOF
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
21107 $as_echo_n "checking for clog... " >&6; }
21108 if ${gcc_cv_math_func_clog+:} false; then :
21109 $as_echo_n "(cached) " >&6
21110 else
21111 if test x$gcc_no_link = xyes; then
21112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h. */
21117 #ifdef HAVE_COMPLEX_H
21118 #include <complex.h>
21119 #endif
21120 #ifdef HAVE_MATH_H
21121 #include <math.h>
21122 #endif
21124 int (*ptr)() = (int (*)())clog;
21127 main ()
21129 return 0;
21132 _ACEOF
21133 if ac_fn_c_try_link "$LINENO"; then :
21134 gcc_cv_math_func_clog=yes
21135 else
21136 gcc_cv_math_func_clog=no
21138 rm -f core conftest.err conftest.$ac_objext \
21139 conftest$ac_exeext conftest.$ac_ext
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21142 $as_echo "$gcc_cv_math_func_clog" >&6; }
21143 if test $gcc_cv_math_func_clog = yes; then
21145 cat >>confdefs.h <<_ACEOF
21146 #define HAVE_CLOG 1
21147 _ACEOF
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21155 $as_echo_n "checking for clogl... " >&6; }
21156 if ${gcc_cv_math_func_clogl+:} false; then :
21157 $as_echo_n "(cached) " >&6
21158 else
21159 if test x$gcc_no_link = xyes; then
21160 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21165 #ifdef HAVE_COMPLEX_H
21166 #include <complex.h>
21167 #endif
21168 #ifdef HAVE_MATH_H
21169 #include <math.h>
21170 #endif
21172 int (*ptr)() = (int (*)())clogl;
21175 main ()
21177 return 0;
21180 _ACEOF
21181 if ac_fn_c_try_link "$LINENO"; then :
21182 gcc_cv_math_func_clogl=yes
21183 else
21184 gcc_cv_math_func_clogl=no
21186 rm -f core conftest.err conftest.$ac_objext \
21187 conftest$ac_exeext conftest.$ac_ext
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21190 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21191 if test $gcc_cv_math_func_clogl = yes; then
21193 cat >>confdefs.h <<_ACEOF
21194 #define HAVE_CLOGL 1
21195 _ACEOF
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21203 $as_echo_n "checking for log10f... " >&6; }
21204 if ${gcc_cv_math_func_log10f+:} false; then :
21205 $as_echo_n "(cached) " >&6
21206 else
21207 if test x$gcc_no_link = xyes; then
21208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21211 /* end confdefs.h. */
21213 #ifdef HAVE_COMPLEX_H
21214 #include <complex.h>
21215 #endif
21216 #ifdef HAVE_MATH_H
21217 #include <math.h>
21218 #endif
21220 int (*ptr)() = (int (*)())log10f;
21223 main ()
21225 return 0;
21228 _ACEOF
21229 if ac_fn_c_try_link "$LINENO"; then :
21230 gcc_cv_math_func_log10f=yes
21231 else
21232 gcc_cv_math_func_log10f=no
21234 rm -f core conftest.err conftest.$ac_objext \
21235 conftest$ac_exeext conftest.$ac_ext
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21238 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21239 if test $gcc_cv_math_func_log10f = yes; then
21241 cat >>confdefs.h <<_ACEOF
21242 #define HAVE_LOG10F 1
21243 _ACEOF
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21251 $as_echo_n "checking for log10... " >&6; }
21252 if ${gcc_cv_math_func_log10+:} false; then :
21253 $as_echo_n "(cached) " >&6
21254 else
21255 if test x$gcc_no_link = xyes; then
21256 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21259 /* end confdefs.h. */
21261 #ifdef HAVE_COMPLEX_H
21262 #include <complex.h>
21263 #endif
21264 #ifdef HAVE_MATH_H
21265 #include <math.h>
21266 #endif
21268 int (*ptr)() = (int (*)())log10;
21271 main ()
21273 return 0;
21276 _ACEOF
21277 if ac_fn_c_try_link "$LINENO"; then :
21278 gcc_cv_math_func_log10=yes
21279 else
21280 gcc_cv_math_func_log10=no
21282 rm -f core conftest.err conftest.$ac_objext \
21283 conftest$ac_exeext conftest.$ac_ext
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21286 $as_echo "$gcc_cv_math_func_log10" >&6; }
21287 if test $gcc_cv_math_func_log10 = yes; then
21289 cat >>confdefs.h <<_ACEOF
21290 #define HAVE_LOG10 1
21291 _ACEOF
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21299 $as_echo_n "checking for log10l... " >&6; }
21300 if ${gcc_cv_math_func_log10l+:} false; then :
21301 $as_echo_n "(cached) " >&6
21302 else
21303 if test x$gcc_no_link = xyes; then
21304 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21309 #ifdef HAVE_COMPLEX_H
21310 #include <complex.h>
21311 #endif
21312 #ifdef HAVE_MATH_H
21313 #include <math.h>
21314 #endif
21316 int (*ptr)() = (int (*)())log10l;
21319 main ()
21321 return 0;
21324 _ACEOF
21325 if ac_fn_c_try_link "$LINENO"; then :
21326 gcc_cv_math_func_log10l=yes
21327 else
21328 gcc_cv_math_func_log10l=no
21330 rm -f core conftest.err conftest.$ac_objext \
21331 conftest$ac_exeext conftest.$ac_ext
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21334 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21335 if test $gcc_cv_math_func_log10l = yes; then
21337 cat >>confdefs.h <<_ACEOF
21338 #define HAVE_LOG10L 1
21339 _ACEOF
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21347 $as_echo_n "checking for clog10f... " >&6; }
21348 if ${gcc_cv_math_func_clog10f+:} false; then :
21349 $as_echo_n "(cached) " >&6
21350 else
21351 if test x$gcc_no_link = xyes; then
21352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21357 #ifdef HAVE_COMPLEX_H
21358 #include <complex.h>
21359 #endif
21360 #ifdef HAVE_MATH_H
21361 #include <math.h>
21362 #endif
21364 int (*ptr)() = (int (*)())clog10f;
21367 main ()
21369 return 0;
21372 _ACEOF
21373 if ac_fn_c_try_link "$LINENO"; then :
21374 gcc_cv_math_func_clog10f=yes
21375 else
21376 gcc_cv_math_func_clog10f=no
21378 rm -f core conftest.err conftest.$ac_objext \
21379 conftest$ac_exeext conftest.$ac_ext
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21382 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21383 if test $gcc_cv_math_func_clog10f = yes; then
21385 cat >>confdefs.h <<_ACEOF
21386 #define HAVE_CLOG10F 1
21387 _ACEOF
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21395 $as_echo_n "checking for clog10... " >&6; }
21396 if ${gcc_cv_math_func_clog10+:} false; then :
21397 $as_echo_n "(cached) " >&6
21398 else
21399 if test x$gcc_no_link = xyes; then
21400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21405 #ifdef HAVE_COMPLEX_H
21406 #include <complex.h>
21407 #endif
21408 #ifdef HAVE_MATH_H
21409 #include <math.h>
21410 #endif
21412 int (*ptr)() = (int (*)())clog10;
21415 main ()
21417 return 0;
21420 _ACEOF
21421 if ac_fn_c_try_link "$LINENO"; then :
21422 gcc_cv_math_func_clog10=yes
21423 else
21424 gcc_cv_math_func_clog10=no
21426 rm -f core conftest.err conftest.$ac_objext \
21427 conftest$ac_exeext conftest.$ac_ext
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21430 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21431 if test $gcc_cv_math_func_clog10 = yes; then
21433 cat >>confdefs.h <<_ACEOF
21434 #define HAVE_CLOG10 1
21435 _ACEOF
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21443 $as_echo_n "checking for clog10l... " >&6; }
21444 if ${gcc_cv_math_func_clog10l+:} false; then :
21445 $as_echo_n "(cached) " >&6
21446 else
21447 if test x$gcc_no_link = xyes; then
21448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21451 /* end confdefs.h. */
21453 #ifdef HAVE_COMPLEX_H
21454 #include <complex.h>
21455 #endif
21456 #ifdef HAVE_MATH_H
21457 #include <math.h>
21458 #endif
21460 int (*ptr)() = (int (*)())clog10l;
21463 main ()
21465 return 0;
21468 _ACEOF
21469 if ac_fn_c_try_link "$LINENO"; then :
21470 gcc_cv_math_func_clog10l=yes
21471 else
21472 gcc_cv_math_func_clog10l=no
21474 rm -f core conftest.err conftest.$ac_objext \
21475 conftest$ac_exeext conftest.$ac_ext
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21478 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21479 if test $gcc_cv_math_func_clog10l = yes; then
21481 cat >>confdefs.h <<_ACEOF
21482 #define HAVE_CLOG10L 1
21483 _ACEOF
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21491 $as_echo_n "checking for nextafterf... " >&6; }
21492 if ${gcc_cv_math_func_nextafterf+:} false; then :
21493 $as_echo_n "(cached) " >&6
21494 else
21495 if test x$gcc_no_link = xyes; then
21496 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21499 /* end confdefs.h. */
21501 #ifdef HAVE_COMPLEX_H
21502 #include <complex.h>
21503 #endif
21504 #ifdef HAVE_MATH_H
21505 #include <math.h>
21506 #endif
21508 int (*ptr)() = (int (*)())nextafterf;
21511 main ()
21513 return 0;
21516 _ACEOF
21517 if ac_fn_c_try_link "$LINENO"; then :
21518 gcc_cv_math_func_nextafterf=yes
21519 else
21520 gcc_cv_math_func_nextafterf=no
21522 rm -f core conftest.err conftest.$ac_objext \
21523 conftest$ac_exeext conftest.$ac_ext
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21526 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21527 if test $gcc_cv_math_func_nextafterf = yes; then
21529 cat >>confdefs.h <<_ACEOF
21530 #define HAVE_NEXTAFTERF 1
21531 _ACEOF
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21539 $as_echo_n "checking for nextafter... " >&6; }
21540 if ${gcc_cv_math_func_nextafter+:} false; then :
21541 $as_echo_n "(cached) " >&6
21542 else
21543 if test x$gcc_no_link = xyes; then
21544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21547 /* end confdefs.h. */
21549 #ifdef HAVE_COMPLEX_H
21550 #include <complex.h>
21551 #endif
21552 #ifdef HAVE_MATH_H
21553 #include <math.h>
21554 #endif
21556 int (*ptr)() = (int (*)())nextafter;
21559 main ()
21561 return 0;
21564 _ACEOF
21565 if ac_fn_c_try_link "$LINENO"; then :
21566 gcc_cv_math_func_nextafter=yes
21567 else
21568 gcc_cv_math_func_nextafter=no
21570 rm -f core conftest.err conftest.$ac_objext \
21571 conftest$ac_exeext conftest.$ac_ext
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21574 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21575 if test $gcc_cv_math_func_nextafter = yes; then
21577 cat >>confdefs.h <<_ACEOF
21578 #define HAVE_NEXTAFTER 1
21579 _ACEOF
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21587 $as_echo_n "checking for nextafterl... " >&6; }
21588 if ${gcc_cv_math_func_nextafterl+:} false; then :
21589 $as_echo_n "(cached) " >&6
21590 else
21591 if test x$gcc_no_link = xyes; then
21592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21595 /* end confdefs.h. */
21597 #ifdef HAVE_COMPLEX_H
21598 #include <complex.h>
21599 #endif
21600 #ifdef HAVE_MATH_H
21601 #include <math.h>
21602 #endif
21604 int (*ptr)() = (int (*)())nextafterl;
21607 main ()
21609 return 0;
21612 _ACEOF
21613 if ac_fn_c_try_link "$LINENO"; then :
21614 gcc_cv_math_func_nextafterl=yes
21615 else
21616 gcc_cv_math_func_nextafterl=no
21618 rm -f core conftest.err conftest.$ac_objext \
21619 conftest$ac_exeext conftest.$ac_ext
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21622 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21623 if test $gcc_cv_math_func_nextafterl = yes; then
21625 cat >>confdefs.h <<_ACEOF
21626 #define HAVE_NEXTAFTERL 1
21627 _ACEOF
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21635 $as_echo_n "checking for powf... " >&6; }
21636 if ${gcc_cv_math_func_powf+:} false; then :
21637 $as_echo_n "(cached) " >&6
21638 else
21639 if test x$gcc_no_link = xyes; then
21640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21643 /* end confdefs.h. */
21645 #ifdef HAVE_COMPLEX_H
21646 #include <complex.h>
21647 #endif
21648 #ifdef HAVE_MATH_H
21649 #include <math.h>
21650 #endif
21652 int (*ptr)() = (int (*)())powf;
21655 main ()
21657 return 0;
21660 _ACEOF
21661 if ac_fn_c_try_link "$LINENO"; then :
21662 gcc_cv_math_func_powf=yes
21663 else
21664 gcc_cv_math_func_powf=no
21666 rm -f core conftest.err conftest.$ac_objext \
21667 conftest$ac_exeext conftest.$ac_ext
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21670 $as_echo "$gcc_cv_math_func_powf" >&6; }
21671 if test $gcc_cv_math_func_powf = yes; then
21673 cat >>confdefs.h <<_ACEOF
21674 #define HAVE_POWF 1
21675 _ACEOF
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21683 $as_echo_n "checking for pow... " >&6; }
21684 if ${gcc_cv_math_func_pow+:} false; then :
21685 $as_echo_n "(cached) " >&6
21686 else
21687 if test x$gcc_no_link = xyes; then
21688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21691 /* end confdefs.h. */
21693 #ifdef HAVE_COMPLEX_H
21694 #include <complex.h>
21695 #endif
21696 #ifdef HAVE_MATH_H
21697 #include <math.h>
21698 #endif
21700 int (*ptr)() = (int (*)())pow;
21703 main ()
21705 return 0;
21708 _ACEOF
21709 if ac_fn_c_try_link "$LINENO"; then :
21710 gcc_cv_math_func_pow=yes
21711 else
21712 gcc_cv_math_func_pow=no
21714 rm -f core conftest.err conftest.$ac_objext \
21715 conftest$ac_exeext conftest.$ac_ext
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21718 $as_echo "$gcc_cv_math_func_pow" >&6; }
21719 if test $gcc_cv_math_func_pow = yes; then
21721 cat >>confdefs.h <<_ACEOF
21722 #define HAVE_POW 1
21723 _ACEOF
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21731 $as_echo_n "checking for cpowf... " >&6; }
21732 if ${gcc_cv_math_func_cpowf+:} false; then :
21733 $as_echo_n "(cached) " >&6
21734 else
21735 if test x$gcc_no_link = xyes; then
21736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21739 /* end confdefs.h. */
21741 #ifdef HAVE_COMPLEX_H
21742 #include <complex.h>
21743 #endif
21744 #ifdef HAVE_MATH_H
21745 #include <math.h>
21746 #endif
21748 int (*ptr)() = (int (*)())cpowf;
21751 main ()
21753 return 0;
21756 _ACEOF
21757 if ac_fn_c_try_link "$LINENO"; then :
21758 gcc_cv_math_func_cpowf=yes
21759 else
21760 gcc_cv_math_func_cpowf=no
21762 rm -f core conftest.err conftest.$ac_objext \
21763 conftest$ac_exeext conftest.$ac_ext
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21766 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21767 if test $gcc_cv_math_func_cpowf = yes; then
21769 cat >>confdefs.h <<_ACEOF
21770 #define HAVE_CPOWF 1
21771 _ACEOF
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21779 $as_echo_n "checking for cpow... " >&6; }
21780 if ${gcc_cv_math_func_cpow+:} false; then :
21781 $as_echo_n "(cached) " >&6
21782 else
21783 if test x$gcc_no_link = xyes; then
21784 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21787 /* end confdefs.h. */
21789 #ifdef HAVE_COMPLEX_H
21790 #include <complex.h>
21791 #endif
21792 #ifdef HAVE_MATH_H
21793 #include <math.h>
21794 #endif
21796 int (*ptr)() = (int (*)())cpow;
21799 main ()
21801 return 0;
21804 _ACEOF
21805 if ac_fn_c_try_link "$LINENO"; then :
21806 gcc_cv_math_func_cpow=yes
21807 else
21808 gcc_cv_math_func_cpow=no
21810 rm -f core conftest.err conftest.$ac_objext \
21811 conftest$ac_exeext conftest.$ac_ext
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21814 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21815 if test $gcc_cv_math_func_cpow = yes; then
21817 cat >>confdefs.h <<_ACEOF
21818 #define HAVE_CPOW 1
21819 _ACEOF
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21827 $as_echo_n "checking for cpowl... " >&6; }
21828 if ${gcc_cv_math_func_cpowl+:} false; then :
21829 $as_echo_n "(cached) " >&6
21830 else
21831 if test x$gcc_no_link = xyes; then
21832 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21835 /* end confdefs.h. */
21837 #ifdef HAVE_COMPLEX_H
21838 #include <complex.h>
21839 #endif
21840 #ifdef HAVE_MATH_H
21841 #include <math.h>
21842 #endif
21844 int (*ptr)() = (int (*)())cpowl;
21847 main ()
21849 return 0;
21852 _ACEOF
21853 if ac_fn_c_try_link "$LINENO"; then :
21854 gcc_cv_math_func_cpowl=yes
21855 else
21856 gcc_cv_math_func_cpowl=no
21858 rm -f core conftest.err conftest.$ac_objext \
21859 conftest$ac_exeext conftest.$ac_ext
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21862 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21863 if test $gcc_cv_math_func_cpowl = yes; then
21865 cat >>confdefs.h <<_ACEOF
21866 #define HAVE_CPOWL 1
21867 _ACEOF
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21875 $as_echo_n "checking for roundf... " >&6; }
21876 if ${gcc_cv_math_func_roundf+:} false; then :
21877 $as_echo_n "(cached) " >&6
21878 else
21879 if test x$gcc_no_link = xyes; then
21880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21883 /* end confdefs.h. */
21885 #ifdef HAVE_COMPLEX_H
21886 #include <complex.h>
21887 #endif
21888 #ifdef HAVE_MATH_H
21889 #include <math.h>
21890 #endif
21892 int (*ptr)() = (int (*)())roundf;
21895 main ()
21897 return 0;
21900 _ACEOF
21901 if ac_fn_c_try_link "$LINENO"; then :
21902 gcc_cv_math_func_roundf=yes
21903 else
21904 gcc_cv_math_func_roundf=no
21906 rm -f core conftest.err conftest.$ac_objext \
21907 conftest$ac_exeext conftest.$ac_ext
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21910 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21911 if test $gcc_cv_math_func_roundf = yes; then
21913 cat >>confdefs.h <<_ACEOF
21914 #define HAVE_ROUNDF 1
21915 _ACEOF
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21923 $as_echo_n "checking for round... " >&6; }
21924 if ${gcc_cv_math_func_round+:} false; then :
21925 $as_echo_n "(cached) " >&6
21926 else
21927 if test x$gcc_no_link = xyes; then
21928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h. */
21933 #ifdef HAVE_COMPLEX_H
21934 #include <complex.h>
21935 #endif
21936 #ifdef HAVE_MATH_H
21937 #include <math.h>
21938 #endif
21940 int (*ptr)() = (int (*)())round;
21943 main ()
21945 return 0;
21948 _ACEOF
21949 if ac_fn_c_try_link "$LINENO"; then :
21950 gcc_cv_math_func_round=yes
21951 else
21952 gcc_cv_math_func_round=no
21954 rm -f core conftest.err conftest.$ac_objext \
21955 conftest$ac_exeext conftest.$ac_ext
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21958 $as_echo "$gcc_cv_math_func_round" >&6; }
21959 if test $gcc_cv_math_func_round = yes; then
21961 cat >>confdefs.h <<_ACEOF
21962 #define HAVE_ROUND 1
21963 _ACEOF
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21971 $as_echo_n "checking for roundl... " >&6; }
21972 if ${gcc_cv_math_func_roundl+:} false; then :
21973 $as_echo_n "(cached) " >&6
21974 else
21975 if test x$gcc_no_link = xyes; then
21976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21979 /* end confdefs.h. */
21981 #ifdef HAVE_COMPLEX_H
21982 #include <complex.h>
21983 #endif
21984 #ifdef HAVE_MATH_H
21985 #include <math.h>
21986 #endif
21988 int (*ptr)() = (int (*)())roundl;
21991 main ()
21993 return 0;
21996 _ACEOF
21997 if ac_fn_c_try_link "$LINENO"; then :
21998 gcc_cv_math_func_roundl=yes
21999 else
22000 gcc_cv_math_func_roundl=no
22002 rm -f core conftest.err conftest.$ac_objext \
22003 conftest$ac_exeext conftest.$ac_ext
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
22006 $as_echo "$gcc_cv_math_func_roundl" >&6; }
22007 if test $gcc_cv_math_func_roundl = yes; then
22009 cat >>confdefs.h <<_ACEOF
22010 #define HAVE_ROUNDL 1
22011 _ACEOF
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
22019 $as_echo_n "checking for lroundf... " >&6; }
22020 if ${gcc_cv_math_func_lroundf+:} false; then :
22021 $as_echo_n "(cached) " >&6
22022 else
22023 if test x$gcc_no_link = xyes; then
22024 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22027 /* end confdefs.h. */
22029 #ifdef HAVE_COMPLEX_H
22030 #include <complex.h>
22031 #endif
22032 #ifdef HAVE_MATH_H
22033 #include <math.h>
22034 #endif
22036 int (*ptr)() = (int (*)())lroundf;
22039 main ()
22041 return 0;
22044 _ACEOF
22045 if ac_fn_c_try_link "$LINENO"; then :
22046 gcc_cv_math_func_lroundf=yes
22047 else
22048 gcc_cv_math_func_lroundf=no
22050 rm -f core conftest.err conftest.$ac_objext \
22051 conftest$ac_exeext conftest.$ac_ext
22053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
22054 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
22055 if test $gcc_cv_math_func_lroundf = yes; then
22057 cat >>confdefs.h <<_ACEOF
22058 #define HAVE_LROUNDF 1
22059 _ACEOF
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
22067 $as_echo_n "checking for lround... " >&6; }
22068 if ${gcc_cv_math_func_lround+:} false; then :
22069 $as_echo_n "(cached) " >&6
22070 else
22071 if test x$gcc_no_link = xyes; then
22072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22075 /* end confdefs.h. */
22077 #ifdef HAVE_COMPLEX_H
22078 #include <complex.h>
22079 #endif
22080 #ifdef HAVE_MATH_H
22081 #include <math.h>
22082 #endif
22084 int (*ptr)() = (int (*)())lround;
22087 main ()
22089 return 0;
22092 _ACEOF
22093 if ac_fn_c_try_link "$LINENO"; then :
22094 gcc_cv_math_func_lround=yes
22095 else
22096 gcc_cv_math_func_lround=no
22098 rm -f core conftest.err conftest.$ac_objext \
22099 conftest$ac_exeext conftest.$ac_ext
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
22102 $as_echo "$gcc_cv_math_func_lround" >&6; }
22103 if test $gcc_cv_math_func_lround = yes; then
22105 cat >>confdefs.h <<_ACEOF
22106 #define HAVE_LROUND 1
22107 _ACEOF
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
22115 $as_echo_n "checking for lroundl... " >&6; }
22116 if ${gcc_cv_math_func_lroundl+:} false; then :
22117 $as_echo_n "(cached) " >&6
22118 else
22119 if test x$gcc_no_link = xyes; then
22120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22123 /* end confdefs.h. */
22125 #ifdef HAVE_COMPLEX_H
22126 #include <complex.h>
22127 #endif
22128 #ifdef HAVE_MATH_H
22129 #include <math.h>
22130 #endif
22132 int (*ptr)() = (int (*)())lroundl;
22135 main ()
22137 return 0;
22140 _ACEOF
22141 if ac_fn_c_try_link "$LINENO"; then :
22142 gcc_cv_math_func_lroundl=yes
22143 else
22144 gcc_cv_math_func_lroundl=no
22146 rm -f core conftest.err conftest.$ac_objext \
22147 conftest$ac_exeext conftest.$ac_ext
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22150 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22151 if test $gcc_cv_math_func_lroundl = yes; then
22153 cat >>confdefs.h <<_ACEOF
22154 #define HAVE_LROUNDL 1
22155 _ACEOF
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22163 $as_echo_n "checking for llroundf... " >&6; }
22164 if ${gcc_cv_math_func_llroundf+:} false; then :
22165 $as_echo_n "(cached) " >&6
22166 else
22167 if test x$gcc_no_link = xyes; then
22168 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22171 /* end confdefs.h. */
22173 #ifdef HAVE_COMPLEX_H
22174 #include <complex.h>
22175 #endif
22176 #ifdef HAVE_MATH_H
22177 #include <math.h>
22178 #endif
22180 int (*ptr)() = (int (*)())llroundf;
22183 main ()
22185 return 0;
22188 _ACEOF
22189 if ac_fn_c_try_link "$LINENO"; then :
22190 gcc_cv_math_func_llroundf=yes
22191 else
22192 gcc_cv_math_func_llroundf=no
22194 rm -f core conftest.err conftest.$ac_objext \
22195 conftest$ac_exeext conftest.$ac_ext
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22198 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22199 if test $gcc_cv_math_func_llroundf = yes; then
22201 cat >>confdefs.h <<_ACEOF
22202 #define HAVE_LLROUNDF 1
22203 _ACEOF
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22211 $as_echo_n "checking for llround... " >&6; }
22212 if ${gcc_cv_math_func_llround+:} false; then :
22213 $as_echo_n "(cached) " >&6
22214 else
22215 if test x$gcc_no_link = xyes; then
22216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22219 /* end confdefs.h. */
22221 #ifdef HAVE_COMPLEX_H
22222 #include <complex.h>
22223 #endif
22224 #ifdef HAVE_MATH_H
22225 #include <math.h>
22226 #endif
22228 int (*ptr)() = (int (*)())llround;
22231 main ()
22233 return 0;
22236 _ACEOF
22237 if ac_fn_c_try_link "$LINENO"; then :
22238 gcc_cv_math_func_llround=yes
22239 else
22240 gcc_cv_math_func_llround=no
22242 rm -f core conftest.err conftest.$ac_objext \
22243 conftest$ac_exeext conftest.$ac_ext
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22246 $as_echo "$gcc_cv_math_func_llround" >&6; }
22247 if test $gcc_cv_math_func_llround = yes; then
22249 cat >>confdefs.h <<_ACEOF
22250 #define HAVE_LLROUND 1
22251 _ACEOF
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22259 $as_echo_n "checking for llroundl... " >&6; }
22260 if ${gcc_cv_math_func_llroundl+:} false; then :
22261 $as_echo_n "(cached) " >&6
22262 else
22263 if test x$gcc_no_link = xyes; then
22264 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22267 /* end confdefs.h. */
22269 #ifdef HAVE_COMPLEX_H
22270 #include <complex.h>
22271 #endif
22272 #ifdef HAVE_MATH_H
22273 #include <math.h>
22274 #endif
22276 int (*ptr)() = (int (*)())llroundl;
22279 main ()
22281 return 0;
22284 _ACEOF
22285 if ac_fn_c_try_link "$LINENO"; then :
22286 gcc_cv_math_func_llroundl=yes
22287 else
22288 gcc_cv_math_func_llroundl=no
22290 rm -f core conftest.err conftest.$ac_objext \
22291 conftest$ac_exeext conftest.$ac_ext
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22294 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22295 if test $gcc_cv_math_func_llroundl = yes; then
22297 cat >>confdefs.h <<_ACEOF
22298 #define HAVE_LLROUNDL 1
22299 _ACEOF
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22307 $as_echo_n "checking for scalbnf... " >&6; }
22308 if ${gcc_cv_math_func_scalbnf+:} false; then :
22309 $as_echo_n "(cached) " >&6
22310 else
22311 if test x$gcc_no_link = xyes; then
22312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22315 /* end confdefs.h. */
22317 #ifdef HAVE_COMPLEX_H
22318 #include <complex.h>
22319 #endif
22320 #ifdef HAVE_MATH_H
22321 #include <math.h>
22322 #endif
22324 int (*ptr)() = (int (*)())scalbnf;
22327 main ()
22329 return 0;
22332 _ACEOF
22333 if ac_fn_c_try_link "$LINENO"; then :
22334 gcc_cv_math_func_scalbnf=yes
22335 else
22336 gcc_cv_math_func_scalbnf=no
22338 rm -f core conftest.err conftest.$ac_objext \
22339 conftest$ac_exeext conftest.$ac_ext
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22342 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22343 if test $gcc_cv_math_func_scalbnf = yes; then
22345 cat >>confdefs.h <<_ACEOF
22346 #define HAVE_SCALBNF 1
22347 _ACEOF
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22355 $as_echo_n "checking for scalbn... " >&6; }
22356 if ${gcc_cv_math_func_scalbn+:} false; then :
22357 $as_echo_n "(cached) " >&6
22358 else
22359 if test x$gcc_no_link = xyes; then
22360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22363 /* end confdefs.h. */
22365 #ifdef HAVE_COMPLEX_H
22366 #include <complex.h>
22367 #endif
22368 #ifdef HAVE_MATH_H
22369 #include <math.h>
22370 #endif
22372 int (*ptr)() = (int (*)())scalbn;
22375 main ()
22377 return 0;
22380 _ACEOF
22381 if ac_fn_c_try_link "$LINENO"; then :
22382 gcc_cv_math_func_scalbn=yes
22383 else
22384 gcc_cv_math_func_scalbn=no
22386 rm -f core conftest.err conftest.$ac_objext \
22387 conftest$ac_exeext conftest.$ac_ext
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22390 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22391 if test $gcc_cv_math_func_scalbn = yes; then
22393 cat >>confdefs.h <<_ACEOF
22394 #define HAVE_SCALBN 1
22395 _ACEOF
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22403 $as_echo_n "checking for scalbnl... " >&6; }
22404 if ${gcc_cv_math_func_scalbnl+:} false; then :
22405 $as_echo_n "(cached) " >&6
22406 else
22407 if test x$gcc_no_link = xyes; then
22408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22411 /* end confdefs.h. */
22413 #ifdef HAVE_COMPLEX_H
22414 #include <complex.h>
22415 #endif
22416 #ifdef HAVE_MATH_H
22417 #include <math.h>
22418 #endif
22420 int (*ptr)() = (int (*)())scalbnl;
22423 main ()
22425 return 0;
22428 _ACEOF
22429 if ac_fn_c_try_link "$LINENO"; then :
22430 gcc_cv_math_func_scalbnl=yes
22431 else
22432 gcc_cv_math_func_scalbnl=no
22434 rm -f core conftest.err conftest.$ac_objext \
22435 conftest$ac_exeext conftest.$ac_ext
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22438 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22439 if test $gcc_cv_math_func_scalbnl = yes; then
22441 cat >>confdefs.h <<_ACEOF
22442 #define HAVE_SCALBNL 1
22443 _ACEOF
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22451 $as_echo_n "checking for sinf... " >&6; }
22452 if ${gcc_cv_math_func_sinf+:} false; then :
22453 $as_echo_n "(cached) " >&6
22454 else
22455 if test x$gcc_no_link = xyes; then
22456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22459 /* end confdefs.h. */
22461 #ifdef HAVE_COMPLEX_H
22462 #include <complex.h>
22463 #endif
22464 #ifdef HAVE_MATH_H
22465 #include <math.h>
22466 #endif
22468 int (*ptr)() = (int (*)())sinf;
22471 main ()
22473 return 0;
22476 _ACEOF
22477 if ac_fn_c_try_link "$LINENO"; then :
22478 gcc_cv_math_func_sinf=yes
22479 else
22480 gcc_cv_math_func_sinf=no
22482 rm -f core conftest.err conftest.$ac_objext \
22483 conftest$ac_exeext conftest.$ac_ext
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22486 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22487 if test $gcc_cv_math_func_sinf = yes; then
22489 cat >>confdefs.h <<_ACEOF
22490 #define HAVE_SINF 1
22491 _ACEOF
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22499 $as_echo_n "checking for sin... " >&6; }
22500 if ${gcc_cv_math_func_sin+:} false; then :
22501 $as_echo_n "(cached) " >&6
22502 else
22503 if test x$gcc_no_link = xyes; then
22504 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22507 /* end confdefs.h. */
22509 #ifdef HAVE_COMPLEX_H
22510 #include <complex.h>
22511 #endif
22512 #ifdef HAVE_MATH_H
22513 #include <math.h>
22514 #endif
22516 int (*ptr)() = (int (*)())sin;
22519 main ()
22521 return 0;
22524 _ACEOF
22525 if ac_fn_c_try_link "$LINENO"; then :
22526 gcc_cv_math_func_sin=yes
22527 else
22528 gcc_cv_math_func_sin=no
22530 rm -f core conftest.err conftest.$ac_objext \
22531 conftest$ac_exeext conftest.$ac_ext
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22534 $as_echo "$gcc_cv_math_func_sin" >&6; }
22535 if test $gcc_cv_math_func_sin = yes; then
22537 cat >>confdefs.h <<_ACEOF
22538 #define HAVE_SIN 1
22539 _ACEOF
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22547 $as_echo_n "checking for sinl... " >&6; }
22548 if ${gcc_cv_math_func_sinl+:} false; then :
22549 $as_echo_n "(cached) " >&6
22550 else
22551 if test x$gcc_no_link = xyes; then
22552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22555 /* end confdefs.h. */
22557 #ifdef HAVE_COMPLEX_H
22558 #include <complex.h>
22559 #endif
22560 #ifdef HAVE_MATH_H
22561 #include <math.h>
22562 #endif
22564 int (*ptr)() = (int (*)())sinl;
22567 main ()
22569 return 0;
22572 _ACEOF
22573 if ac_fn_c_try_link "$LINENO"; then :
22574 gcc_cv_math_func_sinl=yes
22575 else
22576 gcc_cv_math_func_sinl=no
22578 rm -f core conftest.err conftest.$ac_objext \
22579 conftest$ac_exeext conftest.$ac_ext
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22582 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22583 if test $gcc_cv_math_func_sinl = yes; then
22585 cat >>confdefs.h <<_ACEOF
22586 #define HAVE_SINL 1
22587 _ACEOF
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22595 $as_echo_n "checking for csinf... " >&6; }
22596 if ${gcc_cv_math_func_csinf+:} false; then :
22597 $as_echo_n "(cached) " >&6
22598 else
22599 if test x$gcc_no_link = xyes; then
22600 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22603 /* end confdefs.h. */
22605 #ifdef HAVE_COMPLEX_H
22606 #include <complex.h>
22607 #endif
22608 #ifdef HAVE_MATH_H
22609 #include <math.h>
22610 #endif
22612 int (*ptr)() = (int (*)())csinf;
22615 main ()
22617 return 0;
22620 _ACEOF
22621 if ac_fn_c_try_link "$LINENO"; then :
22622 gcc_cv_math_func_csinf=yes
22623 else
22624 gcc_cv_math_func_csinf=no
22626 rm -f core conftest.err conftest.$ac_objext \
22627 conftest$ac_exeext conftest.$ac_ext
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22630 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22631 if test $gcc_cv_math_func_csinf = yes; then
22633 cat >>confdefs.h <<_ACEOF
22634 #define HAVE_CSINF 1
22635 _ACEOF
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22643 $as_echo_n "checking for csin... " >&6; }
22644 if ${gcc_cv_math_func_csin+:} false; then :
22645 $as_echo_n "(cached) " >&6
22646 else
22647 if test x$gcc_no_link = xyes; then
22648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22651 /* end confdefs.h. */
22653 #ifdef HAVE_COMPLEX_H
22654 #include <complex.h>
22655 #endif
22656 #ifdef HAVE_MATH_H
22657 #include <math.h>
22658 #endif
22660 int (*ptr)() = (int (*)())csin;
22663 main ()
22665 return 0;
22668 _ACEOF
22669 if ac_fn_c_try_link "$LINENO"; then :
22670 gcc_cv_math_func_csin=yes
22671 else
22672 gcc_cv_math_func_csin=no
22674 rm -f core conftest.err conftest.$ac_objext \
22675 conftest$ac_exeext conftest.$ac_ext
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22678 $as_echo "$gcc_cv_math_func_csin" >&6; }
22679 if test $gcc_cv_math_func_csin = yes; then
22681 cat >>confdefs.h <<_ACEOF
22682 #define HAVE_CSIN 1
22683 _ACEOF
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22691 $as_echo_n "checking for csinl... " >&6; }
22692 if ${gcc_cv_math_func_csinl+:} false; then :
22693 $as_echo_n "(cached) " >&6
22694 else
22695 if test x$gcc_no_link = xyes; then
22696 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h. */
22701 #ifdef HAVE_COMPLEX_H
22702 #include <complex.h>
22703 #endif
22704 #ifdef HAVE_MATH_H
22705 #include <math.h>
22706 #endif
22708 int (*ptr)() = (int (*)())csinl;
22711 main ()
22713 return 0;
22716 _ACEOF
22717 if ac_fn_c_try_link "$LINENO"; then :
22718 gcc_cv_math_func_csinl=yes
22719 else
22720 gcc_cv_math_func_csinl=no
22722 rm -f core conftest.err conftest.$ac_objext \
22723 conftest$ac_exeext conftest.$ac_ext
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22726 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22727 if test $gcc_cv_math_func_csinl = yes; then
22729 cat >>confdefs.h <<_ACEOF
22730 #define HAVE_CSINL 1
22731 _ACEOF
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22739 $as_echo_n "checking for sinhf... " >&6; }
22740 if ${gcc_cv_math_func_sinhf+:} false; then :
22741 $as_echo_n "(cached) " >&6
22742 else
22743 if test x$gcc_no_link = xyes; then
22744 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22747 /* end confdefs.h. */
22749 #ifdef HAVE_COMPLEX_H
22750 #include <complex.h>
22751 #endif
22752 #ifdef HAVE_MATH_H
22753 #include <math.h>
22754 #endif
22756 int (*ptr)() = (int (*)())sinhf;
22759 main ()
22761 return 0;
22764 _ACEOF
22765 if ac_fn_c_try_link "$LINENO"; then :
22766 gcc_cv_math_func_sinhf=yes
22767 else
22768 gcc_cv_math_func_sinhf=no
22770 rm -f core conftest.err conftest.$ac_objext \
22771 conftest$ac_exeext conftest.$ac_ext
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22774 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22775 if test $gcc_cv_math_func_sinhf = yes; then
22777 cat >>confdefs.h <<_ACEOF
22778 #define HAVE_SINHF 1
22779 _ACEOF
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22787 $as_echo_n "checking for sinh... " >&6; }
22788 if ${gcc_cv_math_func_sinh+:} false; then :
22789 $as_echo_n "(cached) " >&6
22790 else
22791 if test x$gcc_no_link = xyes; then
22792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22795 /* end confdefs.h. */
22797 #ifdef HAVE_COMPLEX_H
22798 #include <complex.h>
22799 #endif
22800 #ifdef HAVE_MATH_H
22801 #include <math.h>
22802 #endif
22804 int (*ptr)() = (int (*)())sinh;
22807 main ()
22809 return 0;
22812 _ACEOF
22813 if ac_fn_c_try_link "$LINENO"; then :
22814 gcc_cv_math_func_sinh=yes
22815 else
22816 gcc_cv_math_func_sinh=no
22818 rm -f core conftest.err conftest.$ac_objext \
22819 conftest$ac_exeext conftest.$ac_ext
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22822 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22823 if test $gcc_cv_math_func_sinh = yes; then
22825 cat >>confdefs.h <<_ACEOF
22826 #define HAVE_SINH 1
22827 _ACEOF
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22835 $as_echo_n "checking for sinhl... " >&6; }
22836 if ${gcc_cv_math_func_sinhl+:} false; then :
22837 $as_echo_n "(cached) " >&6
22838 else
22839 if test x$gcc_no_link = xyes; then
22840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h. */
22845 #ifdef HAVE_COMPLEX_H
22846 #include <complex.h>
22847 #endif
22848 #ifdef HAVE_MATH_H
22849 #include <math.h>
22850 #endif
22852 int (*ptr)() = (int (*)())sinhl;
22855 main ()
22857 return 0;
22860 _ACEOF
22861 if ac_fn_c_try_link "$LINENO"; then :
22862 gcc_cv_math_func_sinhl=yes
22863 else
22864 gcc_cv_math_func_sinhl=no
22866 rm -f core conftest.err conftest.$ac_objext \
22867 conftest$ac_exeext conftest.$ac_ext
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22870 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22871 if test $gcc_cv_math_func_sinhl = yes; then
22873 cat >>confdefs.h <<_ACEOF
22874 #define HAVE_SINHL 1
22875 _ACEOF
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22883 $as_echo_n "checking for csinhf... " >&6; }
22884 if ${gcc_cv_math_func_csinhf+:} false; then :
22885 $as_echo_n "(cached) " >&6
22886 else
22887 if test x$gcc_no_link = xyes; then
22888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h. */
22893 #ifdef HAVE_COMPLEX_H
22894 #include <complex.h>
22895 #endif
22896 #ifdef HAVE_MATH_H
22897 #include <math.h>
22898 #endif
22900 int (*ptr)() = (int (*)())csinhf;
22903 main ()
22905 return 0;
22908 _ACEOF
22909 if ac_fn_c_try_link "$LINENO"; then :
22910 gcc_cv_math_func_csinhf=yes
22911 else
22912 gcc_cv_math_func_csinhf=no
22914 rm -f core conftest.err conftest.$ac_objext \
22915 conftest$ac_exeext conftest.$ac_ext
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22918 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22919 if test $gcc_cv_math_func_csinhf = yes; then
22921 cat >>confdefs.h <<_ACEOF
22922 #define HAVE_CSINHF 1
22923 _ACEOF
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22931 $as_echo_n "checking for csinh... " >&6; }
22932 if ${gcc_cv_math_func_csinh+:} false; then :
22933 $as_echo_n "(cached) " >&6
22934 else
22935 if test x$gcc_no_link = xyes; then
22936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22941 #ifdef HAVE_COMPLEX_H
22942 #include <complex.h>
22943 #endif
22944 #ifdef HAVE_MATH_H
22945 #include <math.h>
22946 #endif
22948 int (*ptr)() = (int (*)())csinh;
22951 main ()
22953 return 0;
22956 _ACEOF
22957 if ac_fn_c_try_link "$LINENO"; then :
22958 gcc_cv_math_func_csinh=yes
22959 else
22960 gcc_cv_math_func_csinh=no
22962 rm -f core conftest.err conftest.$ac_objext \
22963 conftest$ac_exeext conftest.$ac_ext
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22966 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22967 if test $gcc_cv_math_func_csinh = yes; then
22969 cat >>confdefs.h <<_ACEOF
22970 #define HAVE_CSINH 1
22971 _ACEOF
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22979 $as_echo_n "checking for csinhl... " >&6; }
22980 if ${gcc_cv_math_func_csinhl+:} false; then :
22981 $as_echo_n "(cached) " >&6
22982 else
22983 if test x$gcc_no_link = xyes; then
22984 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22987 /* end confdefs.h. */
22989 #ifdef HAVE_COMPLEX_H
22990 #include <complex.h>
22991 #endif
22992 #ifdef HAVE_MATH_H
22993 #include <math.h>
22994 #endif
22996 int (*ptr)() = (int (*)())csinhl;
22999 main ()
23001 return 0;
23004 _ACEOF
23005 if ac_fn_c_try_link "$LINENO"; then :
23006 gcc_cv_math_func_csinhl=yes
23007 else
23008 gcc_cv_math_func_csinhl=no
23010 rm -f core conftest.err conftest.$ac_objext \
23011 conftest$ac_exeext conftest.$ac_ext
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
23014 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
23015 if test $gcc_cv_math_func_csinhl = yes; then
23017 cat >>confdefs.h <<_ACEOF
23018 #define HAVE_CSINHL 1
23019 _ACEOF
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
23027 $as_echo_n "checking for sqrtf... " >&6; }
23028 if ${gcc_cv_math_func_sqrtf+:} false; then :
23029 $as_echo_n "(cached) " >&6
23030 else
23031 if test x$gcc_no_link = xyes; then
23032 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23035 /* end confdefs.h. */
23037 #ifdef HAVE_COMPLEX_H
23038 #include <complex.h>
23039 #endif
23040 #ifdef HAVE_MATH_H
23041 #include <math.h>
23042 #endif
23044 int (*ptr)() = (int (*)())sqrtf;
23047 main ()
23049 return 0;
23052 _ACEOF
23053 if ac_fn_c_try_link "$LINENO"; then :
23054 gcc_cv_math_func_sqrtf=yes
23055 else
23056 gcc_cv_math_func_sqrtf=no
23058 rm -f core conftest.err conftest.$ac_objext \
23059 conftest$ac_exeext conftest.$ac_ext
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
23062 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
23063 if test $gcc_cv_math_func_sqrtf = yes; then
23065 cat >>confdefs.h <<_ACEOF
23066 #define HAVE_SQRTF 1
23067 _ACEOF
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
23075 $as_echo_n "checking for sqrt... " >&6; }
23076 if ${gcc_cv_math_func_sqrt+:} false; then :
23077 $as_echo_n "(cached) " >&6
23078 else
23079 if test x$gcc_no_link = xyes; then
23080 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23083 /* end confdefs.h. */
23085 #ifdef HAVE_COMPLEX_H
23086 #include <complex.h>
23087 #endif
23088 #ifdef HAVE_MATH_H
23089 #include <math.h>
23090 #endif
23092 int (*ptr)() = (int (*)())sqrt;
23095 main ()
23097 return 0;
23100 _ACEOF
23101 if ac_fn_c_try_link "$LINENO"; then :
23102 gcc_cv_math_func_sqrt=yes
23103 else
23104 gcc_cv_math_func_sqrt=no
23106 rm -f core conftest.err conftest.$ac_objext \
23107 conftest$ac_exeext conftest.$ac_ext
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
23110 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
23111 if test $gcc_cv_math_func_sqrt = yes; then
23113 cat >>confdefs.h <<_ACEOF
23114 #define HAVE_SQRT 1
23115 _ACEOF
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
23123 $as_echo_n "checking for sqrtl... " >&6; }
23124 if ${gcc_cv_math_func_sqrtl+:} false; then :
23125 $as_echo_n "(cached) " >&6
23126 else
23127 if test x$gcc_no_link = xyes; then
23128 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23131 /* end confdefs.h. */
23133 #ifdef HAVE_COMPLEX_H
23134 #include <complex.h>
23135 #endif
23136 #ifdef HAVE_MATH_H
23137 #include <math.h>
23138 #endif
23140 int (*ptr)() = (int (*)())sqrtl;
23143 main ()
23145 return 0;
23148 _ACEOF
23149 if ac_fn_c_try_link "$LINENO"; then :
23150 gcc_cv_math_func_sqrtl=yes
23151 else
23152 gcc_cv_math_func_sqrtl=no
23154 rm -f core conftest.err conftest.$ac_objext \
23155 conftest$ac_exeext conftest.$ac_ext
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23158 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23159 if test $gcc_cv_math_func_sqrtl = yes; then
23161 cat >>confdefs.h <<_ACEOF
23162 #define HAVE_SQRTL 1
23163 _ACEOF
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23171 $as_echo_n "checking for csqrtf... " >&6; }
23172 if ${gcc_cv_math_func_csqrtf+:} false; then :
23173 $as_echo_n "(cached) " >&6
23174 else
23175 if test x$gcc_no_link = xyes; then
23176 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23179 /* end confdefs.h. */
23181 #ifdef HAVE_COMPLEX_H
23182 #include <complex.h>
23183 #endif
23184 #ifdef HAVE_MATH_H
23185 #include <math.h>
23186 #endif
23188 int (*ptr)() = (int (*)())csqrtf;
23191 main ()
23193 return 0;
23196 _ACEOF
23197 if ac_fn_c_try_link "$LINENO"; then :
23198 gcc_cv_math_func_csqrtf=yes
23199 else
23200 gcc_cv_math_func_csqrtf=no
23202 rm -f core conftest.err conftest.$ac_objext \
23203 conftest$ac_exeext conftest.$ac_ext
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23206 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23207 if test $gcc_cv_math_func_csqrtf = yes; then
23209 cat >>confdefs.h <<_ACEOF
23210 #define HAVE_CSQRTF 1
23211 _ACEOF
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23219 $as_echo_n "checking for csqrt... " >&6; }
23220 if ${gcc_cv_math_func_csqrt+:} false; then :
23221 $as_echo_n "(cached) " >&6
23222 else
23223 if test x$gcc_no_link = xyes; then
23224 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23227 /* end confdefs.h. */
23229 #ifdef HAVE_COMPLEX_H
23230 #include <complex.h>
23231 #endif
23232 #ifdef HAVE_MATH_H
23233 #include <math.h>
23234 #endif
23236 int (*ptr)() = (int (*)())csqrt;
23239 main ()
23241 return 0;
23244 _ACEOF
23245 if ac_fn_c_try_link "$LINENO"; then :
23246 gcc_cv_math_func_csqrt=yes
23247 else
23248 gcc_cv_math_func_csqrt=no
23250 rm -f core conftest.err conftest.$ac_objext \
23251 conftest$ac_exeext conftest.$ac_ext
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23254 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23255 if test $gcc_cv_math_func_csqrt = yes; then
23257 cat >>confdefs.h <<_ACEOF
23258 #define HAVE_CSQRT 1
23259 _ACEOF
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23267 $as_echo_n "checking for csqrtl... " >&6; }
23268 if ${gcc_cv_math_func_csqrtl+:} false; then :
23269 $as_echo_n "(cached) " >&6
23270 else
23271 if test x$gcc_no_link = xyes; then
23272 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23275 /* end confdefs.h. */
23277 #ifdef HAVE_COMPLEX_H
23278 #include <complex.h>
23279 #endif
23280 #ifdef HAVE_MATH_H
23281 #include <math.h>
23282 #endif
23284 int (*ptr)() = (int (*)())csqrtl;
23287 main ()
23289 return 0;
23292 _ACEOF
23293 if ac_fn_c_try_link "$LINENO"; then :
23294 gcc_cv_math_func_csqrtl=yes
23295 else
23296 gcc_cv_math_func_csqrtl=no
23298 rm -f core conftest.err conftest.$ac_objext \
23299 conftest$ac_exeext conftest.$ac_ext
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23302 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23303 if test $gcc_cv_math_func_csqrtl = yes; then
23305 cat >>confdefs.h <<_ACEOF
23306 #define HAVE_CSQRTL 1
23307 _ACEOF
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23315 $as_echo_n "checking for tanf... " >&6; }
23316 if ${gcc_cv_math_func_tanf+:} false; then :
23317 $as_echo_n "(cached) " >&6
23318 else
23319 if test x$gcc_no_link = xyes; then
23320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23323 /* end confdefs.h. */
23325 #ifdef HAVE_COMPLEX_H
23326 #include <complex.h>
23327 #endif
23328 #ifdef HAVE_MATH_H
23329 #include <math.h>
23330 #endif
23332 int (*ptr)() = (int (*)())tanf;
23335 main ()
23337 return 0;
23340 _ACEOF
23341 if ac_fn_c_try_link "$LINENO"; then :
23342 gcc_cv_math_func_tanf=yes
23343 else
23344 gcc_cv_math_func_tanf=no
23346 rm -f core conftest.err conftest.$ac_objext \
23347 conftest$ac_exeext conftest.$ac_ext
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23350 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23351 if test $gcc_cv_math_func_tanf = yes; then
23353 cat >>confdefs.h <<_ACEOF
23354 #define HAVE_TANF 1
23355 _ACEOF
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23363 $as_echo_n "checking for tan... " >&6; }
23364 if ${gcc_cv_math_func_tan+:} false; then :
23365 $as_echo_n "(cached) " >&6
23366 else
23367 if test x$gcc_no_link = xyes; then
23368 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23371 /* end confdefs.h. */
23373 #ifdef HAVE_COMPLEX_H
23374 #include <complex.h>
23375 #endif
23376 #ifdef HAVE_MATH_H
23377 #include <math.h>
23378 #endif
23380 int (*ptr)() = (int (*)())tan;
23383 main ()
23385 return 0;
23388 _ACEOF
23389 if ac_fn_c_try_link "$LINENO"; then :
23390 gcc_cv_math_func_tan=yes
23391 else
23392 gcc_cv_math_func_tan=no
23394 rm -f core conftest.err conftest.$ac_objext \
23395 conftest$ac_exeext conftest.$ac_ext
23397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23398 $as_echo "$gcc_cv_math_func_tan" >&6; }
23399 if test $gcc_cv_math_func_tan = yes; then
23401 cat >>confdefs.h <<_ACEOF
23402 #define HAVE_TAN 1
23403 _ACEOF
23410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23411 $as_echo_n "checking for tanl... " >&6; }
23412 if ${gcc_cv_math_func_tanl+:} false; then :
23413 $as_echo_n "(cached) " >&6
23414 else
23415 if test x$gcc_no_link = xyes; then
23416 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23419 /* end confdefs.h. */
23421 #ifdef HAVE_COMPLEX_H
23422 #include <complex.h>
23423 #endif
23424 #ifdef HAVE_MATH_H
23425 #include <math.h>
23426 #endif
23428 int (*ptr)() = (int (*)())tanl;
23431 main ()
23433 return 0;
23436 _ACEOF
23437 if ac_fn_c_try_link "$LINENO"; then :
23438 gcc_cv_math_func_tanl=yes
23439 else
23440 gcc_cv_math_func_tanl=no
23442 rm -f core conftest.err conftest.$ac_objext \
23443 conftest$ac_exeext conftest.$ac_ext
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23446 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23447 if test $gcc_cv_math_func_tanl = yes; then
23449 cat >>confdefs.h <<_ACEOF
23450 #define HAVE_TANL 1
23451 _ACEOF
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23459 $as_echo_n "checking for ctanf... " >&6; }
23460 if ${gcc_cv_math_func_ctanf+:} false; then :
23461 $as_echo_n "(cached) " >&6
23462 else
23463 if test x$gcc_no_link = xyes; then
23464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23467 /* end confdefs.h. */
23469 #ifdef HAVE_COMPLEX_H
23470 #include <complex.h>
23471 #endif
23472 #ifdef HAVE_MATH_H
23473 #include <math.h>
23474 #endif
23476 int (*ptr)() = (int (*)())ctanf;
23479 main ()
23481 return 0;
23484 _ACEOF
23485 if ac_fn_c_try_link "$LINENO"; then :
23486 gcc_cv_math_func_ctanf=yes
23487 else
23488 gcc_cv_math_func_ctanf=no
23490 rm -f core conftest.err conftest.$ac_objext \
23491 conftest$ac_exeext conftest.$ac_ext
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23494 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23495 if test $gcc_cv_math_func_ctanf = yes; then
23497 cat >>confdefs.h <<_ACEOF
23498 #define HAVE_CTANF 1
23499 _ACEOF
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23507 $as_echo_n "checking for ctan... " >&6; }
23508 if ${gcc_cv_math_func_ctan+:} false; then :
23509 $as_echo_n "(cached) " >&6
23510 else
23511 if test x$gcc_no_link = xyes; then
23512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23515 /* end confdefs.h. */
23517 #ifdef HAVE_COMPLEX_H
23518 #include <complex.h>
23519 #endif
23520 #ifdef HAVE_MATH_H
23521 #include <math.h>
23522 #endif
23524 int (*ptr)() = (int (*)())ctan;
23527 main ()
23529 return 0;
23532 _ACEOF
23533 if ac_fn_c_try_link "$LINENO"; then :
23534 gcc_cv_math_func_ctan=yes
23535 else
23536 gcc_cv_math_func_ctan=no
23538 rm -f core conftest.err conftest.$ac_objext \
23539 conftest$ac_exeext conftest.$ac_ext
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23542 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23543 if test $gcc_cv_math_func_ctan = yes; then
23545 cat >>confdefs.h <<_ACEOF
23546 #define HAVE_CTAN 1
23547 _ACEOF
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23555 $as_echo_n "checking for ctanl... " >&6; }
23556 if ${gcc_cv_math_func_ctanl+:} false; then :
23557 $as_echo_n "(cached) " >&6
23558 else
23559 if test x$gcc_no_link = xyes; then
23560 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23563 /* end confdefs.h. */
23565 #ifdef HAVE_COMPLEX_H
23566 #include <complex.h>
23567 #endif
23568 #ifdef HAVE_MATH_H
23569 #include <math.h>
23570 #endif
23572 int (*ptr)() = (int (*)())ctanl;
23575 main ()
23577 return 0;
23580 _ACEOF
23581 if ac_fn_c_try_link "$LINENO"; then :
23582 gcc_cv_math_func_ctanl=yes
23583 else
23584 gcc_cv_math_func_ctanl=no
23586 rm -f core conftest.err conftest.$ac_objext \
23587 conftest$ac_exeext conftest.$ac_ext
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23590 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23591 if test $gcc_cv_math_func_ctanl = yes; then
23593 cat >>confdefs.h <<_ACEOF
23594 #define HAVE_CTANL 1
23595 _ACEOF
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23603 $as_echo_n "checking for tanhf... " >&6; }
23604 if ${gcc_cv_math_func_tanhf+:} false; then :
23605 $as_echo_n "(cached) " >&6
23606 else
23607 if test x$gcc_no_link = xyes; then
23608 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23611 /* end confdefs.h. */
23613 #ifdef HAVE_COMPLEX_H
23614 #include <complex.h>
23615 #endif
23616 #ifdef HAVE_MATH_H
23617 #include <math.h>
23618 #endif
23620 int (*ptr)() = (int (*)())tanhf;
23623 main ()
23625 return 0;
23628 _ACEOF
23629 if ac_fn_c_try_link "$LINENO"; then :
23630 gcc_cv_math_func_tanhf=yes
23631 else
23632 gcc_cv_math_func_tanhf=no
23634 rm -f core conftest.err conftest.$ac_objext \
23635 conftest$ac_exeext conftest.$ac_ext
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23638 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23639 if test $gcc_cv_math_func_tanhf = yes; then
23641 cat >>confdefs.h <<_ACEOF
23642 #define HAVE_TANHF 1
23643 _ACEOF
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23651 $as_echo_n "checking for tanh... " >&6; }
23652 if ${gcc_cv_math_func_tanh+:} false; then :
23653 $as_echo_n "(cached) " >&6
23654 else
23655 if test x$gcc_no_link = xyes; then
23656 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23659 /* end confdefs.h. */
23661 #ifdef HAVE_COMPLEX_H
23662 #include <complex.h>
23663 #endif
23664 #ifdef HAVE_MATH_H
23665 #include <math.h>
23666 #endif
23668 int (*ptr)() = (int (*)())tanh;
23671 main ()
23673 return 0;
23676 _ACEOF
23677 if ac_fn_c_try_link "$LINENO"; then :
23678 gcc_cv_math_func_tanh=yes
23679 else
23680 gcc_cv_math_func_tanh=no
23682 rm -f core conftest.err conftest.$ac_objext \
23683 conftest$ac_exeext conftest.$ac_ext
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23686 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23687 if test $gcc_cv_math_func_tanh = yes; then
23689 cat >>confdefs.h <<_ACEOF
23690 #define HAVE_TANH 1
23691 _ACEOF
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23699 $as_echo_n "checking for tanhl... " >&6; }
23700 if ${gcc_cv_math_func_tanhl+:} false; then :
23701 $as_echo_n "(cached) " >&6
23702 else
23703 if test x$gcc_no_link = xyes; then
23704 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23707 /* end confdefs.h. */
23709 #ifdef HAVE_COMPLEX_H
23710 #include <complex.h>
23711 #endif
23712 #ifdef HAVE_MATH_H
23713 #include <math.h>
23714 #endif
23716 int (*ptr)() = (int (*)())tanhl;
23719 main ()
23721 return 0;
23724 _ACEOF
23725 if ac_fn_c_try_link "$LINENO"; then :
23726 gcc_cv_math_func_tanhl=yes
23727 else
23728 gcc_cv_math_func_tanhl=no
23730 rm -f core conftest.err conftest.$ac_objext \
23731 conftest$ac_exeext conftest.$ac_ext
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23734 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23735 if test $gcc_cv_math_func_tanhl = yes; then
23737 cat >>confdefs.h <<_ACEOF
23738 #define HAVE_TANHL 1
23739 _ACEOF
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23747 $as_echo_n "checking for ctanhf... " >&6; }
23748 if ${gcc_cv_math_func_ctanhf+:} false; then :
23749 $as_echo_n "(cached) " >&6
23750 else
23751 if test x$gcc_no_link = xyes; then
23752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23755 /* end confdefs.h. */
23757 #ifdef HAVE_COMPLEX_H
23758 #include <complex.h>
23759 #endif
23760 #ifdef HAVE_MATH_H
23761 #include <math.h>
23762 #endif
23764 int (*ptr)() = (int (*)())ctanhf;
23767 main ()
23769 return 0;
23772 _ACEOF
23773 if ac_fn_c_try_link "$LINENO"; then :
23774 gcc_cv_math_func_ctanhf=yes
23775 else
23776 gcc_cv_math_func_ctanhf=no
23778 rm -f core conftest.err conftest.$ac_objext \
23779 conftest$ac_exeext conftest.$ac_ext
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23782 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23783 if test $gcc_cv_math_func_ctanhf = yes; then
23785 cat >>confdefs.h <<_ACEOF
23786 #define HAVE_CTANHF 1
23787 _ACEOF
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23795 $as_echo_n "checking for ctanh... " >&6; }
23796 if ${gcc_cv_math_func_ctanh+:} false; then :
23797 $as_echo_n "(cached) " >&6
23798 else
23799 if test x$gcc_no_link = xyes; then
23800 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23803 /* end confdefs.h. */
23805 #ifdef HAVE_COMPLEX_H
23806 #include <complex.h>
23807 #endif
23808 #ifdef HAVE_MATH_H
23809 #include <math.h>
23810 #endif
23812 int (*ptr)() = (int (*)())ctanh;
23815 main ()
23817 return 0;
23820 _ACEOF
23821 if ac_fn_c_try_link "$LINENO"; then :
23822 gcc_cv_math_func_ctanh=yes
23823 else
23824 gcc_cv_math_func_ctanh=no
23826 rm -f core conftest.err conftest.$ac_objext \
23827 conftest$ac_exeext conftest.$ac_ext
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23830 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23831 if test $gcc_cv_math_func_ctanh = yes; then
23833 cat >>confdefs.h <<_ACEOF
23834 #define HAVE_CTANH 1
23835 _ACEOF
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23843 $as_echo_n "checking for ctanhl... " >&6; }
23844 if ${gcc_cv_math_func_ctanhl+:} false; then :
23845 $as_echo_n "(cached) " >&6
23846 else
23847 if test x$gcc_no_link = xyes; then
23848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h. */
23853 #ifdef HAVE_COMPLEX_H
23854 #include <complex.h>
23855 #endif
23856 #ifdef HAVE_MATH_H
23857 #include <math.h>
23858 #endif
23860 int (*ptr)() = (int (*)())ctanhl;
23863 main ()
23865 return 0;
23868 _ACEOF
23869 if ac_fn_c_try_link "$LINENO"; then :
23870 gcc_cv_math_func_ctanhl=yes
23871 else
23872 gcc_cv_math_func_ctanhl=no
23874 rm -f core conftest.err conftest.$ac_objext \
23875 conftest$ac_exeext conftest.$ac_ext
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23878 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23879 if test $gcc_cv_math_func_ctanhl = yes; then
23881 cat >>confdefs.h <<_ACEOF
23882 #define HAVE_CTANHL 1
23883 _ACEOF
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23891 $as_echo_n "checking for truncf... " >&6; }
23892 if ${gcc_cv_math_func_truncf+:} false; then :
23893 $as_echo_n "(cached) " >&6
23894 else
23895 if test x$gcc_no_link = xyes; then
23896 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23899 /* end confdefs.h. */
23901 #ifdef HAVE_COMPLEX_H
23902 #include <complex.h>
23903 #endif
23904 #ifdef HAVE_MATH_H
23905 #include <math.h>
23906 #endif
23908 int (*ptr)() = (int (*)())truncf;
23911 main ()
23913 return 0;
23916 _ACEOF
23917 if ac_fn_c_try_link "$LINENO"; then :
23918 gcc_cv_math_func_truncf=yes
23919 else
23920 gcc_cv_math_func_truncf=no
23922 rm -f core conftest.err conftest.$ac_objext \
23923 conftest$ac_exeext conftest.$ac_ext
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23926 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23927 if test $gcc_cv_math_func_truncf = yes; then
23929 cat >>confdefs.h <<_ACEOF
23930 #define HAVE_TRUNCF 1
23931 _ACEOF
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23939 $as_echo_n "checking for trunc... " >&6; }
23940 if ${gcc_cv_math_func_trunc+:} false; then :
23941 $as_echo_n "(cached) " >&6
23942 else
23943 if test x$gcc_no_link = xyes; then
23944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23947 /* end confdefs.h. */
23949 #ifdef HAVE_COMPLEX_H
23950 #include <complex.h>
23951 #endif
23952 #ifdef HAVE_MATH_H
23953 #include <math.h>
23954 #endif
23956 int (*ptr)() = (int (*)())trunc;
23959 main ()
23961 return 0;
23964 _ACEOF
23965 if ac_fn_c_try_link "$LINENO"; then :
23966 gcc_cv_math_func_trunc=yes
23967 else
23968 gcc_cv_math_func_trunc=no
23970 rm -f core conftest.err conftest.$ac_objext \
23971 conftest$ac_exeext conftest.$ac_ext
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23974 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23975 if test $gcc_cv_math_func_trunc = yes; then
23977 cat >>confdefs.h <<_ACEOF
23978 #define HAVE_TRUNC 1
23979 _ACEOF
23986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23987 $as_echo_n "checking for truncl... " >&6; }
23988 if ${gcc_cv_math_func_truncl+:} false; then :
23989 $as_echo_n "(cached) " >&6
23990 else
23991 if test x$gcc_no_link = xyes; then
23992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23995 /* end confdefs.h. */
23997 #ifdef HAVE_COMPLEX_H
23998 #include <complex.h>
23999 #endif
24000 #ifdef HAVE_MATH_H
24001 #include <math.h>
24002 #endif
24004 int (*ptr)() = (int (*)())truncl;
24007 main ()
24009 return 0;
24012 _ACEOF
24013 if ac_fn_c_try_link "$LINENO"; then :
24014 gcc_cv_math_func_truncl=yes
24015 else
24016 gcc_cv_math_func_truncl=no
24018 rm -f core conftest.err conftest.$ac_objext \
24019 conftest$ac_exeext conftest.$ac_ext
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
24022 $as_echo "$gcc_cv_math_func_truncl" >&6; }
24023 if test $gcc_cv_math_func_truncl = yes; then
24025 cat >>confdefs.h <<_ACEOF
24026 #define HAVE_TRUNCL 1
24027 _ACEOF
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
24035 $as_echo_n "checking for erff... " >&6; }
24036 if ${gcc_cv_math_func_erff+:} false; then :
24037 $as_echo_n "(cached) " >&6
24038 else
24039 if test x$gcc_no_link = xyes; then
24040 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24043 /* end confdefs.h. */
24045 #ifdef HAVE_COMPLEX_H
24046 #include <complex.h>
24047 #endif
24048 #ifdef HAVE_MATH_H
24049 #include <math.h>
24050 #endif
24052 int (*ptr)() = (int (*)())erff;
24055 main ()
24057 return 0;
24060 _ACEOF
24061 if ac_fn_c_try_link "$LINENO"; then :
24062 gcc_cv_math_func_erff=yes
24063 else
24064 gcc_cv_math_func_erff=no
24066 rm -f core conftest.err conftest.$ac_objext \
24067 conftest$ac_exeext conftest.$ac_ext
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
24070 $as_echo "$gcc_cv_math_func_erff" >&6; }
24071 if test $gcc_cv_math_func_erff = yes; then
24073 cat >>confdefs.h <<_ACEOF
24074 #define HAVE_ERFF 1
24075 _ACEOF
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
24083 $as_echo_n "checking for erf... " >&6; }
24084 if ${gcc_cv_math_func_erf+:} false; then :
24085 $as_echo_n "(cached) " >&6
24086 else
24087 if test x$gcc_no_link = xyes; then
24088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24091 /* end confdefs.h. */
24093 #ifdef HAVE_COMPLEX_H
24094 #include <complex.h>
24095 #endif
24096 #ifdef HAVE_MATH_H
24097 #include <math.h>
24098 #endif
24100 int (*ptr)() = (int (*)())erf;
24103 main ()
24105 return 0;
24108 _ACEOF
24109 if ac_fn_c_try_link "$LINENO"; then :
24110 gcc_cv_math_func_erf=yes
24111 else
24112 gcc_cv_math_func_erf=no
24114 rm -f core conftest.err conftest.$ac_objext \
24115 conftest$ac_exeext conftest.$ac_ext
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
24118 $as_echo "$gcc_cv_math_func_erf" >&6; }
24119 if test $gcc_cv_math_func_erf = yes; then
24121 cat >>confdefs.h <<_ACEOF
24122 #define HAVE_ERF 1
24123 _ACEOF
24130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24131 $as_echo_n "checking for erfcf... " >&6; }
24132 if ${gcc_cv_math_func_erfcf+:} false; then :
24133 $as_echo_n "(cached) " >&6
24134 else
24135 if test x$gcc_no_link = xyes; then
24136 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24141 #ifdef HAVE_COMPLEX_H
24142 #include <complex.h>
24143 #endif
24144 #ifdef HAVE_MATH_H
24145 #include <math.h>
24146 #endif
24148 int (*ptr)() = (int (*)())erfcf;
24151 main ()
24153 return 0;
24156 _ACEOF
24157 if ac_fn_c_try_link "$LINENO"; then :
24158 gcc_cv_math_func_erfcf=yes
24159 else
24160 gcc_cv_math_func_erfcf=no
24162 rm -f core conftest.err conftest.$ac_objext \
24163 conftest$ac_exeext conftest.$ac_ext
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24166 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24167 if test $gcc_cv_math_func_erfcf = yes; then
24169 cat >>confdefs.h <<_ACEOF
24170 #define HAVE_ERFCF 1
24171 _ACEOF
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24179 $as_echo_n "checking for erfc... " >&6; }
24180 if ${gcc_cv_math_func_erfc+:} false; then :
24181 $as_echo_n "(cached) " >&6
24182 else
24183 if test x$gcc_no_link = xyes; then
24184 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24187 /* end confdefs.h. */
24189 #ifdef HAVE_COMPLEX_H
24190 #include <complex.h>
24191 #endif
24192 #ifdef HAVE_MATH_H
24193 #include <math.h>
24194 #endif
24196 int (*ptr)() = (int (*)())erfc;
24199 main ()
24201 return 0;
24204 _ACEOF
24205 if ac_fn_c_try_link "$LINENO"; then :
24206 gcc_cv_math_func_erfc=yes
24207 else
24208 gcc_cv_math_func_erfc=no
24210 rm -f core conftest.err conftest.$ac_objext \
24211 conftest$ac_exeext conftest.$ac_ext
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24214 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24215 if test $gcc_cv_math_func_erfc = yes; then
24217 cat >>confdefs.h <<_ACEOF
24218 #define HAVE_ERFC 1
24219 _ACEOF
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24227 $as_echo_n "checking for erfcl... " >&6; }
24228 if ${gcc_cv_math_func_erfcl+:} false; then :
24229 $as_echo_n "(cached) " >&6
24230 else
24231 if test x$gcc_no_link = xyes; then
24232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24235 /* end confdefs.h. */
24237 #ifdef HAVE_COMPLEX_H
24238 #include <complex.h>
24239 #endif
24240 #ifdef HAVE_MATH_H
24241 #include <math.h>
24242 #endif
24244 int (*ptr)() = (int (*)())erfcl;
24247 main ()
24249 return 0;
24252 _ACEOF
24253 if ac_fn_c_try_link "$LINENO"; then :
24254 gcc_cv_math_func_erfcl=yes
24255 else
24256 gcc_cv_math_func_erfcl=no
24258 rm -f core conftest.err conftest.$ac_objext \
24259 conftest$ac_exeext conftest.$ac_ext
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24262 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24263 if test $gcc_cv_math_func_erfcl = yes; then
24265 cat >>confdefs.h <<_ACEOF
24266 #define HAVE_ERFCL 1
24267 _ACEOF
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24275 $as_echo_n "checking for j0f... " >&6; }
24276 if ${gcc_cv_math_func_j0f+:} false; then :
24277 $as_echo_n "(cached) " >&6
24278 else
24279 if test x$gcc_no_link = xyes; then
24280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24283 /* end confdefs.h. */
24285 #ifdef HAVE_COMPLEX_H
24286 #include <complex.h>
24287 #endif
24288 #ifdef HAVE_MATH_H
24289 #include <math.h>
24290 #endif
24292 int (*ptr)() = (int (*)())j0f;
24295 main ()
24297 return 0;
24300 _ACEOF
24301 if ac_fn_c_try_link "$LINENO"; then :
24302 gcc_cv_math_func_j0f=yes
24303 else
24304 gcc_cv_math_func_j0f=no
24306 rm -f core conftest.err conftest.$ac_objext \
24307 conftest$ac_exeext conftest.$ac_ext
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24310 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24311 if test $gcc_cv_math_func_j0f = yes; then
24313 cat >>confdefs.h <<_ACEOF
24314 #define HAVE_J0F 1
24315 _ACEOF
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24323 $as_echo_n "checking for j0... " >&6; }
24324 if ${gcc_cv_math_func_j0+:} false; then :
24325 $as_echo_n "(cached) " >&6
24326 else
24327 if test x$gcc_no_link = xyes; then
24328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24331 /* end confdefs.h. */
24333 #ifdef HAVE_COMPLEX_H
24334 #include <complex.h>
24335 #endif
24336 #ifdef HAVE_MATH_H
24337 #include <math.h>
24338 #endif
24340 int (*ptr)() = (int (*)())j0;
24343 main ()
24345 return 0;
24348 _ACEOF
24349 if ac_fn_c_try_link "$LINENO"; then :
24350 gcc_cv_math_func_j0=yes
24351 else
24352 gcc_cv_math_func_j0=no
24354 rm -f core conftest.err conftest.$ac_objext \
24355 conftest$ac_exeext conftest.$ac_ext
24357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24358 $as_echo "$gcc_cv_math_func_j0" >&6; }
24359 if test $gcc_cv_math_func_j0 = yes; then
24361 cat >>confdefs.h <<_ACEOF
24362 #define HAVE_J0 1
24363 _ACEOF
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24371 $as_echo_n "checking for j1f... " >&6; }
24372 if ${gcc_cv_math_func_j1f+:} false; then :
24373 $as_echo_n "(cached) " >&6
24374 else
24375 if test x$gcc_no_link = xyes; then
24376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24379 /* end confdefs.h. */
24381 #ifdef HAVE_COMPLEX_H
24382 #include <complex.h>
24383 #endif
24384 #ifdef HAVE_MATH_H
24385 #include <math.h>
24386 #endif
24388 int (*ptr)() = (int (*)())j1f;
24391 main ()
24393 return 0;
24396 _ACEOF
24397 if ac_fn_c_try_link "$LINENO"; then :
24398 gcc_cv_math_func_j1f=yes
24399 else
24400 gcc_cv_math_func_j1f=no
24402 rm -f core conftest.err conftest.$ac_objext \
24403 conftest$ac_exeext conftest.$ac_ext
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24406 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24407 if test $gcc_cv_math_func_j1f = yes; then
24409 cat >>confdefs.h <<_ACEOF
24410 #define HAVE_J1F 1
24411 _ACEOF
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24419 $as_echo_n "checking for j1... " >&6; }
24420 if ${gcc_cv_math_func_j1+:} false; then :
24421 $as_echo_n "(cached) " >&6
24422 else
24423 if test x$gcc_no_link = xyes; then
24424 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24427 /* end confdefs.h. */
24429 #ifdef HAVE_COMPLEX_H
24430 #include <complex.h>
24431 #endif
24432 #ifdef HAVE_MATH_H
24433 #include <math.h>
24434 #endif
24436 int (*ptr)() = (int (*)())j1;
24439 main ()
24441 return 0;
24444 _ACEOF
24445 if ac_fn_c_try_link "$LINENO"; then :
24446 gcc_cv_math_func_j1=yes
24447 else
24448 gcc_cv_math_func_j1=no
24450 rm -f core conftest.err conftest.$ac_objext \
24451 conftest$ac_exeext conftest.$ac_ext
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24454 $as_echo "$gcc_cv_math_func_j1" >&6; }
24455 if test $gcc_cv_math_func_j1 = yes; then
24457 cat >>confdefs.h <<_ACEOF
24458 #define HAVE_J1 1
24459 _ACEOF
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24467 $as_echo_n "checking for jnf... " >&6; }
24468 if ${gcc_cv_math_func_jnf+:} false; then :
24469 $as_echo_n "(cached) " >&6
24470 else
24471 if test x$gcc_no_link = xyes; then
24472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24475 /* end confdefs.h. */
24477 #ifdef HAVE_COMPLEX_H
24478 #include <complex.h>
24479 #endif
24480 #ifdef HAVE_MATH_H
24481 #include <math.h>
24482 #endif
24484 int (*ptr)() = (int (*)())jnf;
24487 main ()
24489 return 0;
24492 _ACEOF
24493 if ac_fn_c_try_link "$LINENO"; then :
24494 gcc_cv_math_func_jnf=yes
24495 else
24496 gcc_cv_math_func_jnf=no
24498 rm -f core conftest.err conftest.$ac_objext \
24499 conftest$ac_exeext conftest.$ac_ext
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24502 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24503 if test $gcc_cv_math_func_jnf = yes; then
24505 cat >>confdefs.h <<_ACEOF
24506 #define HAVE_JNF 1
24507 _ACEOF
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24515 $as_echo_n "checking for jn... " >&6; }
24516 if ${gcc_cv_math_func_jn+:} false; then :
24517 $as_echo_n "(cached) " >&6
24518 else
24519 if test x$gcc_no_link = xyes; then
24520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24523 /* end confdefs.h. */
24525 #ifdef HAVE_COMPLEX_H
24526 #include <complex.h>
24527 #endif
24528 #ifdef HAVE_MATH_H
24529 #include <math.h>
24530 #endif
24532 int (*ptr)() = (int (*)())jn;
24535 main ()
24537 return 0;
24540 _ACEOF
24541 if ac_fn_c_try_link "$LINENO"; then :
24542 gcc_cv_math_func_jn=yes
24543 else
24544 gcc_cv_math_func_jn=no
24546 rm -f core conftest.err conftest.$ac_objext \
24547 conftest$ac_exeext conftest.$ac_ext
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24550 $as_echo "$gcc_cv_math_func_jn" >&6; }
24551 if test $gcc_cv_math_func_jn = yes; then
24553 cat >>confdefs.h <<_ACEOF
24554 #define HAVE_JN 1
24555 _ACEOF
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24563 $as_echo_n "checking for jnl... " >&6; }
24564 if ${gcc_cv_math_func_jnl+:} false; then :
24565 $as_echo_n "(cached) " >&6
24566 else
24567 if test x$gcc_no_link = xyes; then
24568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24571 /* end confdefs.h. */
24573 #ifdef HAVE_COMPLEX_H
24574 #include <complex.h>
24575 #endif
24576 #ifdef HAVE_MATH_H
24577 #include <math.h>
24578 #endif
24580 int (*ptr)() = (int (*)())jnl;
24583 main ()
24585 return 0;
24588 _ACEOF
24589 if ac_fn_c_try_link "$LINENO"; then :
24590 gcc_cv_math_func_jnl=yes
24591 else
24592 gcc_cv_math_func_jnl=no
24594 rm -f core conftest.err conftest.$ac_objext \
24595 conftest$ac_exeext conftest.$ac_ext
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24598 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24599 if test $gcc_cv_math_func_jnl = yes; then
24601 cat >>confdefs.h <<_ACEOF
24602 #define HAVE_JNL 1
24603 _ACEOF
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24611 $as_echo_n "checking for y0f... " >&6; }
24612 if ${gcc_cv_math_func_y0f+:} false; then :
24613 $as_echo_n "(cached) " >&6
24614 else
24615 if test x$gcc_no_link = xyes; then
24616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24619 /* end confdefs.h. */
24621 #ifdef HAVE_COMPLEX_H
24622 #include <complex.h>
24623 #endif
24624 #ifdef HAVE_MATH_H
24625 #include <math.h>
24626 #endif
24628 int (*ptr)() = (int (*)())y0f;
24631 main ()
24633 return 0;
24636 _ACEOF
24637 if ac_fn_c_try_link "$LINENO"; then :
24638 gcc_cv_math_func_y0f=yes
24639 else
24640 gcc_cv_math_func_y0f=no
24642 rm -f core conftest.err conftest.$ac_objext \
24643 conftest$ac_exeext conftest.$ac_ext
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24646 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24647 if test $gcc_cv_math_func_y0f = yes; then
24649 cat >>confdefs.h <<_ACEOF
24650 #define HAVE_Y0F 1
24651 _ACEOF
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24659 $as_echo_n "checking for y0... " >&6; }
24660 if ${gcc_cv_math_func_y0+:} false; then :
24661 $as_echo_n "(cached) " >&6
24662 else
24663 if test x$gcc_no_link = xyes; then
24664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24667 /* end confdefs.h. */
24669 #ifdef HAVE_COMPLEX_H
24670 #include <complex.h>
24671 #endif
24672 #ifdef HAVE_MATH_H
24673 #include <math.h>
24674 #endif
24676 int (*ptr)() = (int (*)())y0;
24679 main ()
24681 return 0;
24684 _ACEOF
24685 if ac_fn_c_try_link "$LINENO"; then :
24686 gcc_cv_math_func_y0=yes
24687 else
24688 gcc_cv_math_func_y0=no
24690 rm -f core conftest.err conftest.$ac_objext \
24691 conftest$ac_exeext conftest.$ac_ext
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24694 $as_echo "$gcc_cv_math_func_y0" >&6; }
24695 if test $gcc_cv_math_func_y0 = yes; then
24697 cat >>confdefs.h <<_ACEOF
24698 #define HAVE_Y0 1
24699 _ACEOF
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24707 $as_echo_n "checking for y1f... " >&6; }
24708 if ${gcc_cv_math_func_y1f+:} false; then :
24709 $as_echo_n "(cached) " >&6
24710 else
24711 if test x$gcc_no_link = xyes; then
24712 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24717 #ifdef HAVE_COMPLEX_H
24718 #include <complex.h>
24719 #endif
24720 #ifdef HAVE_MATH_H
24721 #include <math.h>
24722 #endif
24724 int (*ptr)() = (int (*)())y1f;
24727 main ()
24729 return 0;
24732 _ACEOF
24733 if ac_fn_c_try_link "$LINENO"; then :
24734 gcc_cv_math_func_y1f=yes
24735 else
24736 gcc_cv_math_func_y1f=no
24738 rm -f core conftest.err conftest.$ac_objext \
24739 conftest$ac_exeext conftest.$ac_ext
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24742 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24743 if test $gcc_cv_math_func_y1f = yes; then
24745 cat >>confdefs.h <<_ACEOF
24746 #define HAVE_Y1F 1
24747 _ACEOF
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24755 $as_echo_n "checking for y1... " >&6; }
24756 if ${gcc_cv_math_func_y1+:} false; then :
24757 $as_echo_n "(cached) " >&6
24758 else
24759 if test x$gcc_no_link = xyes; then
24760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24765 #ifdef HAVE_COMPLEX_H
24766 #include <complex.h>
24767 #endif
24768 #ifdef HAVE_MATH_H
24769 #include <math.h>
24770 #endif
24772 int (*ptr)() = (int (*)())y1;
24775 main ()
24777 return 0;
24780 _ACEOF
24781 if ac_fn_c_try_link "$LINENO"; then :
24782 gcc_cv_math_func_y1=yes
24783 else
24784 gcc_cv_math_func_y1=no
24786 rm -f core conftest.err conftest.$ac_objext \
24787 conftest$ac_exeext conftest.$ac_ext
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24790 $as_echo "$gcc_cv_math_func_y1" >&6; }
24791 if test $gcc_cv_math_func_y1 = yes; then
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE_Y1 1
24795 _ACEOF
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24803 $as_echo_n "checking for ynf... " >&6; }
24804 if ${gcc_cv_math_func_ynf+:} false; then :
24805 $as_echo_n "(cached) " >&6
24806 else
24807 if test x$gcc_no_link = xyes; then
24808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24811 /* end confdefs.h. */
24813 #ifdef HAVE_COMPLEX_H
24814 #include <complex.h>
24815 #endif
24816 #ifdef HAVE_MATH_H
24817 #include <math.h>
24818 #endif
24820 int (*ptr)() = (int (*)())ynf;
24823 main ()
24825 return 0;
24828 _ACEOF
24829 if ac_fn_c_try_link "$LINENO"; then :
24830 gcc_cv_math_func_ynf=yes
24831 else
24832 gcc_cv_math_func_ynf=no
24834 rm -f core conftest.err conftest.$ac_objext \
24835 conftest$ac_exeext conftest.$ac_ext
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24838 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24839 if test $gcc_cv_math_func_ynf = yes; then
24841 cat >>confdefs.h <<_ACEOF
24842 #define HAVE_YNF 1
24843 _ACEOF
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24851 $as_echo_n "checking for yn... " >&6; }
24852 if ${gcc_cv_math_func_yn+:} false; then :
24853 $as_echo_n "(cached) " >&6
24854 else
24855 if test x$gcc_no_link = xyes; then
24856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24859 /* end confdefs.h. */
24861 #ifdef HAVE_COMPLEX_H
24862 #include <complex.h>
24863 #endif
24864 #ifdef HAVE_MATH_H
24865 #include <math.h>
24866 #endif
24868 int (*ptr)() = (int (*)())yn;
24871 main ()
24873 return 0;
24876 _ACEOF
24877 if ac_fn_c_try_link "$LINENO"; then :
24878 gcc_cv_math_func_yn=yes
24879 else
24880 gcc_cv_math_func_yn=no
24882 rm -f core conftest.err conftest.$ac_objext \
24883 conftest$ac_exeext conftest.$ac_ext
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24886 $as_echo "$gcc_cv_math_func_yn" >&6; }
24887 if test $gcc_cv_math_func_yn = yes; then
24889 cat >>confdefs.h <<_ACEOF
24890 #define HAVE_YN 1
24891 _ACEOF
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24899 $as_echo_n "checking for ynl... " >&6; }
24900 if ${gcc_cv_math_func_ynl+:} false; then :
24901 $as_echo_n "(cached) " >&6
24902 else
24903 if test x$gcc_no_link = xyes; then
24904 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h. */
24909 #ifdef HAVE_COMPLEX_H
24910 #include <complex.h>
24911 #endif
24912 #ifdef HAVE_MATH_H
24913 #include <math.h>
24914 #endif
24916 int (*ptr)() = (int (*)())ynl;
24919 main ()
24921 return 0;
24924 _ACEOF
24925 if ac_fn_c_try_link "$LINENO"; then :
24926 gcc_cv_math_func_ynl=yes
24927 else
24928 gcc_cv_math_func_ynl=no
24930 rm -f core conftest.err conftest.$ac_objext \
24931 conftest$ac_exeext conftest.$ac_ext
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24934 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24935 if test $gcc_cv_math_func_ynl = yes; then
24937 cat >>confdefs.h <<_ACEOF
24938 #define HAVE_YNL 1
24939 _ACEOF
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24947 $as_echo_n "checking for tgamma... " >&6; }
24948 if ${gcc_cv_math_func_tgamma+:} false; then :
24949 $as_echo_n "(cached) " >&6
24950 else
24951 if test x$gcc_no_link = xyes; then
24952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24955 /* end confdefs.h. */
24957 #ifdef HAVE_COMPLEX_H
24958 #include <complex.h>
24959 #endif
24960 #ifdef HAVE_MATH_H
24961 #include <math.h>
24962 #endif
24964 int (*ptr)() = (int (*)())tgamma;
24967 main ()
24969 return 0;
24972 _ACEOF
24973 if ac_fn_c_try_link "$LINENO"; then :
24974 gcc_cv_math_func_tgamma=yes
24975 else
24976 gcc_cv_math_func_tgamma=no
24978 rm -f core conftest.err conftest.$ac_objext \
24979 conftest$ac_exeext conftest.$ac_ext
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24982 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24983 if test $gcc_cv_math_func_tgamma = yes; then
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_TGAMMA 1
24987 _ACEOF
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24995 $as_echo_n "checking for tgammaf... " >&6; }
24996 if ${gcc_cv_math_func_tgammaf+:} false; then :
24997 $as_echo_n "(cached) " >&6
24998 else
24999 if test x$gcc_no_link = xyes; then
25000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25003 /* end confdefs.h. */
25005 #ifdef HAVE_COMPLEX_H
25006 #include <complex.h>
25007 #endif
25008 #ifdef HAVE_MATH_H
25009 #include <math.h>
25010 #endif
25012 int (*ptr)() = (int (*)())tgammaf;
25015 main ()
25017 return 0;
25020 _ACEOF
25021 if ac_fn_c_try_link "$LINENO"; then :
25022 gcc_cv_math_func_tgammaf=yes
25023 else
25024 gcc_cv_math_func_tgammaf=no
25026 rm -f core conftest.err conftest.$ac_objext \
25027 conftest$ac_exeext conftest.$ac_ext
25029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
25030 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
25031 if test $gcc_cv_math_func_tgammaf = yes; then
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE_TGAMMAF 1
25035 _ACEOF
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
25043 $as_echo_n "checking for lgamma... " >&6; }
25044 if ${gcc_cv_math_func_lgamma+:} false; then :
25045 $as_echo_n "(cached) " >&6
25046 else
25047 if test x$gcc_no_link = xyes; then
25048 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25053 #ifdef HAVE_COMPLEX_H
25054 #include <complex.h>
25055 #endif
25056 #ifdef HAVE_MATH_H
25057 #include <math.h>
25058 #endif
25060 int (*ptr)() = (int (*)())lgamma;
25063 main ()
25065 return 0;
25068 _ACEOF
25069 if ac_fn_c_try_link "$LINENO"; then :
25070 gcc_cv_math_func_lgamma=yes
25071 else
25072 gcc_cv_math_func_lgamma=no
25074 rm -f core conftest.err conftest.$ac_objext \
25075 conftest$ac_exeext conftest.$ac_ext
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
25078 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
25079 if test $gcc_cv_math_func_lgamma = yes; then
25081 cat >>confdefs.h <<_ACEOF
25082 #define HAVE_LGAMMA 1
25083 _ACEOF
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
25091 $as_echo_n "checking for lgammaf... " >&6; }
25092 if ${gcc_cv_math_func_lgammaf+:} false; then :
25093 $as_echo_n "(cached) " >&6
25094 else
25095 if test x$gcc_no_link = xyes; then
25096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25099 /* end confdefs.h. */
25101 #ifdef HAVE_COMPLEX_H
25102 #include <complex.h>
25103 #endif
25104 #ifdef HAVE_MATH_H
25105 #include <math.h>
25106 #endif
25108 int (*ptr)() = (int (*)())lgammaf;
25111 main ()
25113 return 0;
25116 _ACEOF
25117 if ac_fn_c_try_link "$LINENO"; then :
25118 gcc_cv_math_func_lgammaf=yes
25119 else
25120 gcc_cv_math_func_lgammaf=no
25122 rm -f core conftest.err conftest.$ac_objext \
25123 conftest$ac_exeext conftest.$ac_ext
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25126 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25127 if test $gcc_cv_math_func_lgammaf = yes; then
25129 cat >>confdefs.h <<_ACEOF
25130 #define HAVE_LGAMMAF 1
25131 _ACEOF
25136 # Check for GFORTRAN_C99_1.1 funcs
25140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25141 $as_echo_n "checking for cacos... " >&6; }
25142 if ${gcc_cv_math_func_cacos+:} false; then :
25143 $as_echo_n "(cached) " >&6
25144 else
25145 if test x$gcc_no_link = xyes; then
25146 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h. */
25151 #ifdef HAVE_COMPLEX_H
25152 #include <complex.h>
25153 #endif
25154 #ifdef HAVE_MATH_H
25155 #include <math.h>
25156 #endif
25158 int (*ptr)() = (int (*)())cacos;
25161 main ()
25163 return 0;
25166 _ACEOF
25167 if ac_fn_c_try_link "$LINENO"; then :
25168 gcc_cv_math_func_cacos=yes
25169 else
25170 gcc_cv_math_func_cacos=no
25172 rm -f core conftest.err conftest.$ac_objext \
25173 conftest$ac_exeext conftest.$ac_ext
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25176 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25177 if test $gcc_cv_math_func_cacos = yes; then
25179 cat >>confdefs.h <<_ACEOF
25180 #define HAVE_CACOS 1
25181 _ACEOF
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25189 $as_echo_n "checking for cacosf... " >&6; }
25190 if ${gcc_cv_math_func_cacosf+:} false; then :
25191 $as_echo_n "(cached) " >&6
25192 else
25193 if test x$gcc_no_link = xyes; then
25194 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25197 /* end confdefs.h. */
25199 #ifdef HAVE_COMPLEX_H
25200 #include <complex.h>
25201 #endif
25202 #ifdef HAVE_MATH_H
25203 #include <math.h>
25204 #endif
25206 int (*ptr)() = (int (*)())cacosf;
25209 main ()
25211 return 0;
25214 _ACEOF
25215 if ac_fn_c_try_link "$LINENO"; then :
25216 gcc_cv_math_func_cacosf=yes
25217 else
25218 gcc_cv_math_func_cacosf=no
25220 rm -f core conftest.err conftest.$ac_objext \
25221 conftest$ac_exeext conftest.$ac_ext
25223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25224 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25225 if test $gcc_cv_math_func_cacosf = yes; then
25227 cat >>confdefs.h <<_ACEOF
25228 #define HAVE_CACOSF 1
25229 _ACEOF
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25237 $as_echo_n "checking for cacosh... " >&6; }
25238 if ${gcc_cv_math_func_cacosh+:} false; then :
25239 $as_echo_n "(cached) " >&6
25240 else
25241 if test x$gcc_no_link = xyes; then
25242 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25245 /* end confdefs.h. */
25247 #ifdef HAVE_COMPLEX_H
25248 #include <complex.h>
25249 #endif
25250 #ifdef HAVE_MATH_H
25251 #include <math.h>
25252 #endif
25254 int (*ptr)() = (int (*)())cacosh;
25257 main ()
25259 return 0;
25262 _ACEOF
25263 if ac_fn_c_try_link "$LINENO"; then :
25264 gcc_cv_math_func_cacosh=yes
25265 else
25266 gcc_cv_math_func_cacosh=no
25268 rm -f core conftest.err conftest.$ac_objext \
25269 conftest$ac_exeext conftest.$ac_ext
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25272 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25273 if test $gcc_cv_math_func_cacosh = yes; then
25275 cat >>confdefs.h <<_ACEOF
25276 #define HAVE_CACOSH 1
25277 _ACEOF
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25285 $as_echo_n "checking for cacoshf... " >&6; }
25286 if ${gcc_cv_math_func_cacoshf+:} false; then :
25287 $as_echo_n "(cached) " >&6
25288 else
25289 if test x$gcc_no_link = xyes; then
25290 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25293 /* end confdefs.h. */
25295 #ifdef HAVE_COMPLEX_H
25296 #include <complex.h>
25297 #endif
25298 #ifdef HAVE_MATH_H
25299 #include <math.h>
25300 #endif
25302 int (*ptr)() = (int (*)())cacoshf;
25305 main ()
25307 return 0;
25310 _ACEOF
25311 if ac_fn_c_try_link "$LINENO"; then :
25312 gcc_cv_math_func_cacoshf=yes
25313 else
25314 gcc_cv_math_func_cacoshf=no
25316 rm -f core conftest.err conftest.$ac_objext \
25317 conftest$ac_exeext conftest.$ac_ext
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25320 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25321 if test $gcc_cv_math_func_cacoshf = yes; then
25323 cat >>confdefs.h <<_ACEOF
25324 #define HAVE_CACOSHF 1
25325 _ACEOF
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25333 $as_echo_n "checking for cacoshl... " >&6; }
25334 if ${gcc_cv_math_func_cacoshl+:} false; then :
25335 $as_echo_n "(cached) " >&6
25336 else
25337 if test x$gcc_no_link = xyes; then
25338 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25341 /* end confdefs.h. */
25343 #ifdef HAVE_COMPLEX_H
25344 #include <complex.h>
25345 #endif
25346 #ifdef HAVE_MATH_H
25347 #include <math.h>
25348 #endif
25350 int (*ptr)() = (int (*)())cacoshl;
25353 main ()
25355 return 0;
25358 _ACEOF
25359 if ac_fn_c_try_link "$LINENO"; then :
25360 gcc_cv_math_func_cacoshl=yes
25361 else
25362 gcc_cv_math_func_cacoshl=no
25364 rm -f core conftest.err conftest.$ac_objext \
25365 conftest$ac_exeext conftest.$ac_ext
25367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25368 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25369 if test $gcc_cv_math_func_cacoshl = yes; then
25371 cat >>confdefs.h <<_ACEOF
25372 #define HAVE_CACOSHL 1
25373 _ACEOF
25380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25381 $as_echo_n "checking for cacosl... " >&6; }
25382 if ${gcc_cv_math_func_cacosl+:} false; then :
25383 $as_echo_n "(cached) " >&6
25384 else
25385 if test x$gcc_no_link = xyes; then
25386 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25391 #ifdef HAVE_COMPLEX_H
25392 #include <complex.h>
25393 #endif
25394 #ifdef HAVE_MATH_H
25395 #include <math.h>
25396 #endif
25398 int (*ptr)() = (int (*)())cacosl;
25401 main ()
25403 return 0;
25406 _ACEOF
25407 if ac_fn_c_try_link "$LINENO"; then :
25408 gcc_cv_math_func_cacosl=yes
25409 else
25410 gcc_cv_math_func_cacosl=no
25412 rm -f core conftest.err conftest.$ac_objext \
25413 conftest$ac_exeext conftest.$ac_ext
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25416 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25417 if test $gcc_cv_math_func_cacosl = yes; then
25419 cat >>confdefs.h <<_ACEOF
25420 #define HAVE_CACOSL 1
25421 _ACEOF
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25429 $as_echo_n "checking for casin... " >&6; }
25430 if ${gcc_cv_math_func_casin+:} false; then :
25431 $as_echo_n "(cached) " >&6
25432 else
25433 if test x$gcc_no_link = xyes; then
25434 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25437 /* end confdefs.h. */
25439 #ifdef HAVE_COMPLEX_H
25440 #include <complex.h>
25441 #endif
25442 #ifdef HAVE_MATH_H
25443 #include <math.h>
25444 #endif
25446 int (*ptr)() = (int (*)())casin;
25449 main ()
25451 return 0;
25454 _ACEOF
25455 if ac_fn_c_try_link "$LINENO"; then :
25456 gcc_cv_math_func_casin=yes
25457 else
25458 gcc_cv_math_func_casin=no
25460 rm -f core conftest.err conftest.$ac_objext \
25461 conftest$ac_exeext conftest.$ac_ext
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25464 $as_echo "$gcc_cv_math_func_casin" >&6; }
25465 if test $gcc_cv_math_func_casin = yes; then
25467 cat >>confdefs.h <<_ACEOF
25468 #define HAVE_CASIN 1
25469 _ACEOF
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25477 $as_echo_n "checking for casinf... " >&6; }
25478 if ${gcc_cv_math_func_casinf+:} false; then :
25479 $as_echo_n "(cached) " >&6
25480 else
25481 if test x$gcc_no_link = xyes; then
25482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25485 /* end confdefs.h. */
25487 #ifdef HAVE_COMPLEX_H
25488 #include <complex.h>
25489 #endif
25490 #ifdef HAVE_MATH_H
25491 #include <math.h>
25492 #endif
25494 int (*ptr)() = (int (*)())casinf;
25497 main ()
25499 return 0;
25502 _ACEOF
25503 if ac_fn_c_try_link "$LINENO"; then :
25504 gcc_cv_math_func_casinf=yes
25505 else
25506 gcc_cv_math_func_casinf=no
25508 rm -f core conftest.err conftest.$ac_objext \
25509 conftest$ac_exeext conftest.$ac_ext
25511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25512 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25513 if test $gcc_cv_math_func_casinf = yes; then
25515 cat >>confdefs.h <<_ACEOF
25516 #define HAVE_CASINF 1
25517 _ACEOF
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25525 $as_echo_n "checking for casinh... " >&6; }
25526 if ${gcc_cv_math_func_casinh+:} false; then :
25527 $as_echo_n "(cached) " >&6
25528 else
25529 if test x$gcc_no_link = xyes; then
25530 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25533 /* end confdefs.h. */
25535 #ifdef HAVE_COMPLEX_H
25536 #include <complex.h>
25537 #endif
25538 #ifdef HAVE_MATH_H
25539 #include <math.h>
25540 #endif
25542 int (*ptr)() = (int (*)())casinh;
25545 main ()
25547 return 0;
25550 _ACEOF
25551 if ac_fn_c_try_link "$LINENO"; then :
25552 gcc_cv_math_func_casinh=yes
25553 else
25554 gcc_cv_math_func_casinh=no
25556 rm -f core conftest.err conftest.$ac_objext \
25557 conftest$ac_exeext conftest.$ac_ext
25559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25560 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25561 if test $gcc_cv_math_func_casinh = yes; then
25563 cat >>confdefs.h <<_ACEOF
25564 #define HAVE_CASINH 1
25565 _ACEOF
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25573 $as_echo_n "checking for casinhf... " >&6; }
25574 if ${gcc_cv_math_func_casinhf+:} false; then :
25575 $as_echo_n "(cached) " >&6
25576 else
25577 if test x$gcc_no_link = xyes; then
25578 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25581 /* end confdefs.h. */
25583 #ifdef HAVE_COMPLEX_H
25584 #include <complex.h>
25585 #endif
25586 #ifdef HAVE_MATH_H
25587 #include <math.h>
25588 #endif
25590 int (*ptr)() = (int (*)())casinhf;
25593 main ()
25595 return 0;
25598 _ACEOF
25599 if ac_fn_c_try_link "$LINENO"; then :
25600 gcc_cv_math_func_casinhf=yes
25601 else
25602 gcc_cv_math_func_casinhf=no
25604 rm -f core conftest.err conftest.$ac_objext \
25605 conftest$ac_exeext conftest.$ac_ext
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25608 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25609 if test $gcc_cv_math_func_casinhf = yes; then
25611 cat >>confdefs.h <<_ACEOF
25612 #define HAVE_CASINHF 1
25613 _ACEOF
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25621 $as_echo_n "checking for casinhl... " >&6; }
25622 if ${gcc_cv_math_func_casinhl+:} false; then :
25623 $as_echo_n "(cached) " >&6
25624 else
25625 if test x$gcc_no_link = xyes; then
25626 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25629 /* end confdefs.h. */
25631 #ifdef HAVE_COMPLEX_H
25632 #include <complex.h>
25633 #endif
25634 #ifdef HAVE_MATH_H
25635 #include <math.h>
25636 #endif
25638 int (*ptr)() = (int (*)())casinhl;
25641 main ()
25643 return 0;
25646 _ACEOF
25647 if ac_fn_c_try_link "$LINENO"; then :
25648 gcc_cv_math_func_casinhl=yes
25649 else
25650 gcc_cv_math_func_casinhl=no
25652 rm -f core conftest.err conftest.$ac_objext \
25653 conftest$ac_exeext conftest.$ac_ext
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25656 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25657 if test $gcc_cv_math_func_casinhl = yes; then
25659 cat >>confdefs.h <<_ACEOF
25660 #define HAVE_CASINHL 1
25661 _ACEOF
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25669 $as_echo_n "checking for casinl... " >&6; }
25670 if ${gcc_cv_math_func_casinl+:} false; then :
25671 $as_echo_n "(cached) " >&6
25672 else
25673 if test x$gcc_no_link = xyes; then
25674 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25677 /* end confdefs.h. */
25679 #ifdef HAVE_COMPLEX_H
25680 #include <complex.h>
25681 #endif
25682 #ifdef HAVE_MATH_H
25683 #include <math.h>
25684 #endif
25686 int (*ptr)() = (int (*)())casinl;
25689 main ()
25691 return 0;
25694 _ACEOF
25695 if ac_fn_c_try_link "$LINENO"; then :
25696 gcc_cv_math_func_casinl=yes
25697 else
25698 gcc_cv_math_func_casinl=no
25700 rm -f core conftest.err conftest.$ac_objext \
25701 conftest$ac_exeext conftest.$ac_ext
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25704 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25705 if test $gcc_cv_math_func_casinl = yes; then
25707 cat >>confdefs.h <<_ACEOF
25708 #define HAVE_CASINL 1
25709 _ACEOF
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25717 $as_echo_n "checking for catan... " >&6; }
25718 if ${gcc_cv_math_func_catan+:} false; then :
25719 $as_echo_n "(cached) " >&6
25720 else
25721 if test x$gcc_no_link = xyes; then
25722 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25725 /* end confdefs.h. */
25727 #ifdef HAVE_COMPLEX_H
25728 #include <complex.h>
25729 #endif
25730 #ifdef HAVE_MATH_H
25731 #include <math.h>
25732 #endif
25734 int (*ptr)() = (int (*)())catan;
25737 main ()
25739 return 0;
25742 _ACEOF
25743 if ac_fn_c_try_link "$LINENO"; then :
25744 gcc_cv_math_func_catan=yes
25745 else
25746 gcc_cv_math_func_catan=no
25748 rm -f core conftest.err conftest.$ac_objext \
25749 conftest$ac_exeext conftest.$ac_ext
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25752 $as_echo "$gcc_cv_math_func_catan" >&6; }
25753 if test $gcc_cv_math_func_catan = yes; then
25755 cat >>confdefs.h <<_ACEOF
25756 #define HAVE_CATAN 1
25757 _ACEOF
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25765 $as_echo_n "checking for catanf... " >&6; }
25766 if ${gcc_cv_math_func_catanf+:} false; then :
25767 $as_echo_n "(cached) " >&6
25768 else
25769 if test x$gcc_no_link = xyes; then
25770 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25773 /* end confdefs.h. */
25775 #ifdef HAVE_COMPLEX_H
25776 #include <complex.h>
25777 #endif
25778 #ifdef HAVE_MATH_H
25779 #include <math.h>
25780 #endif
25782 int (*ptr)() = (int (*)())catanf;
25785 main ()
25787 return 0;
25790 _ACEOF
25791 if ac_fn_c_try_link "$LINENO"; then :
25792 gcc_cv_math_func_catanf=yes
25793 else
25794 gcc_cv_math_func_catanf=no
25796 rm -f core conftest.err conftest.$ac_objext \
25797 conftest$ac_exeext conftest.$ac_ext
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25800 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25801 if test $gcc_cv_math_func_catanf = yes; then
25803 cat >>confdefs.h <<_ACEOF
25804 #define HAVE_CATANF 1
25805 _ACEOF
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25813 $as_echo_n "checking for catanh... " >&6; }
25814 if ${gcc_cv_math_func_catanh+:} false; then :
25815 $as_echo_n "(cached) " >&6
25816 else
25817 if test x$gcc_no_link = xyes; then
25818 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25821 /* end confdefs.h. */
25823 #ifdef HAVE_COMPLEX_H
25824 #include <complex.h>
25825 #endif
25826 #ifdef HAVE_MATH_H
25827 #include <math.h>
25828 #endif
25830 int (*ptr)() = (int (*)())catanh;
25833 main ()
25835 return 0;
25838 _ACEOF
25839 if ac_fn_c_try_link "$LINENO"; then :
25840 gcc_cv_math_func_catanh=yes
25841 else
25842 gcc_cv_math_func_catanh=no
25844 rm -f core conftest.err conftest.$ac_objext \
25845 conftest$ac_exeext conftest.$ac_ext
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25848 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25849 if test $gcc_cv_math_func_catanh = yes; then
25851 cat >>confdefs.h <<_ACEOF
25852 #define HAVE_CATANH 1
25853 _ACEOF
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25861 $as_echo_n "checking for catanhf... " >&6; }
25862 if ${gcc_cv_math_func_catanhf+:} false; then :
25863 $as_echo_n "(cached) " >&6
25864 else
25865 if test x$gcc_no_link = xyes; then
25866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25869 /* end confdefs.h. */
25871 #ifdef HAVE_COMPLEX_H
25872 #include <complex.h>
25873 #endif
25874 #ifdef HAVE_MATH_H
25875 #include <math.h>
25876 #endif
25878 int (*ptr)() = (int (*)())catanhf;
25881 main ()
25883 return 0;
25886 _ACEOF
25887 if ac_fn_c_try_link "$LINENO"; then :
25888 gcc_cv_math_func_catanhf=yes
25889 else
25890 gcc_cv_math_func_catanhf=no
25892 rm -f core conftest.err conftest.$ac_objext \
25893 conftest$ac_exeext conftest.$ac_ext
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25896 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25897 if test $gcc_cv_math_func_catanhf = yes; then
25899 cat >>confdefs.h <<_ACEOF
25900 #define HAVE_CATANHF 1
25901 _ACEOF
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25909 $as_echo_n "checking for catanhl... " >&6; }
25910 if ${gcc_cv_math_func_catanhl+:} false; then :
25911 $as_echo_n "(cached) " >&6
25912 else
25913 if test x$gcc_no_link = xyes; then
25914 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25917 /* end confdefs.h. */
25919 #ifdef HAVE_COMPLEX_H
25920 #include <complex.h>
25921 #endif
25922 #ifdef HAVE_MATH_H
25923 #include <math.h>
25924 #endif
25926 int (*ptr)() = (int (*)())catanhl;
25929 main ()
25931 return 0;
25934 _ACEOF
25935 if ac_fn_c_try_link "$LINENO"; then :
25936 gcc_cv_math_func_catanhl=yes
25937 else
25938 gcc_cv_math_func_catanhl=no
25940 rm -f core conftest.err conftest.$ac_objext \
25941 conftest$ac_exeext conftest.$ac_ext
25943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25944 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25945 if test $gcc_cv_math_func_catanhl = yes; then
25947 cat >>confdefs.h <<_ACEOF
25948 #define HAVE_CATANHL 1
25949 _ACEOF
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25957 $as_echo_n "checking for catanl... " >&6; }
25958 if ${gcc_cv_math_func_catanl+:} false; then :
25959 $as_echo_n "(cached) " >&6
25960 else
25961 if test x$gcc_no_link = xyes; then
25962 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25965 /* end confdefs.h. */
25967 #ifdef HAVE_COMPLEX_H
25968 #include <complex.h>
25969 #endif
25970 #ifdef HAVE_MATH_H
25971 #include <math.h>
25972 #endif
25974 int (*ptr)() = (int (*)())catanl;
25977 main ()
25979 return 0;
25982 _ACEOF
25983 if ac_fn_c_try_link "$LINENO"; then :
25984 gcc_cv_math_func_catanl=yes
25985 else
25986 gcc_cv_math_func_catanl=no
25988 rm -f core conftest.err conftest.$ac_objext \
25989 conftest$ac_exeext conftest.$ac_ext
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25992 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25993 if test $gcc_cv_math_func_catanl = yes; then
25995 cat >>confdefs.h <<_ACEOF
25996 #define HAVE_CATANL 1
25997 _ACEOF
26002 # For POWER, check the ieee128 math functions
26004 if test "x$have_real_17" = "xyes"; then
26006 cat >>confdefs.h <<_ACEOF
26007 #define HAVE_REAL_17 1
26008 _ACEOF
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
26015 $as_echo_n "checking for __acoshieee128... " >&6; }
26016 if ${gcc_cv_math_func___acoshieee128+:} false; then :
26017 $as_echo_n "(cached) " >&6
26018 else
26019 if test x$gcc_no_link = xyes; then
26020 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26023 /* end confdefs.h. */
26025 _Float128 __acoshieee128 (_Float128);
26026 _Float128 (*ptr)(_Float128) = __acoshieee128;
26029 main ()
26031 return 0;
26034 _ACEOF
26035 if ac_fn_c_try_link "$LINENO"; then :
26036 gcc_cv_math_func___acoshieee128=yes
26037 else
26038 gcc_cv_math_func___acoshieee128=no
26040 rm -f core conftest.err conftest.$ac_objext \
26041 conftest$ac_exeext conftest.$ac_ext
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
26044 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
26045 if test $gcc_cv_math_func___acoshieee128 = yes; then
26047 cat >>confdefs.h <<_ACEOF
26048 #define HAVE___ACOSHIEEE128 1
26049 _ACEOF
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
26057 $as_echo_n "checking for __acosieee128... " >&6; }
26058 if ${gcc_cv_math_func___acosieee128+:} false; then :
26059 $as_echo_n "(cached) " >&6
26060 else
26061 if test x$gcc_no_link = xyes; then
26062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26065 /* end confdefs.h. */
26067 _Float128 __acosieee128 (_Float128);
26068 _Float128 (*ptr)(_Float128) = __acosieee128;
26071 main ()
26073 return 0;
26076 _ACEOF
26077 if ac_fn_c_try_link "$LINENO"; then :
26078 gcc_cv_math_func___acosieee128=yes
26079 else
26080 gcc_cv_math_func___acosieee128=no
26082 rm -f core conftest.err conftest.$ac_objext \
26083 conftest$ac_exeext conftest.$ac_ext
26085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
26086 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
26087 if test $gcc_cv_math_func___acosieee128 = yes; then
26089 cat >>confdefs.h <<_ACEOF
26090 #define HAVE___ACOSIEEE128 1
26091 _ACEOF
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
26099 $as_echo_n "checking for __asinhieee128... " >&6; }
26100 if ${gcc_cv_math_func___asinhieee128+:} false; then :
26101 $as_echo_n "(cached) " >&6
26102 else
26103 if test x$gcc_no_link = xyes; then
26104 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26109 _Float128 __asinhieee128 (_Float128);
26110 _Float128 (*ptr)(_Float128) = __asinhieee128;
26113 main ()
26115 return 0;
26118 _ACEOF
26119 if ac_fn_c_try_link "$LINENO"; then :
26120 gcc_cv_math_func___asinhieee128=yes
26121 else
26122 gcc_cv_math_func___asinhieee128=no
26124 rm -f core conftest.err conftest.$ac_objext \
26125 conftest$ac_exeext conftest.$ac_ext
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26128 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26129 if test $gcc_cv_math_func___asinhieee128 = yes; then
26131 cat >>confdefs.h <<_ACEOF
26132 #define HAVE___ASINHIEEE128 1
26133 _ACEOF
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26141 $as_echo_n "checking for __asinieee128... " >&6; }
26142 if ${gcc_cv_math_func___asinieee128+:} false; then :
26143 $as_echo_n "(cached) " >&6
26144 else
26145 if test x$gcc_no_link = xyes; then
26146 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26149 /* end confdefs.h. */
26151 _Float128 __asinieee128 (_Float128);
26152 _Float128 (*ptr)(_Float128) = __asinieee128;
26155 main ()
26157 return 0;
26160 _ACEOF
26161 if ac_fn_c_try_link "$LINENO"; then :
26162 gcc_cv_math_func___asinieee128=yes
26163 else
26164 gcc_cv_math_func___asinieee128=no
26166 rm -f core conftest.err conftest.$ac_objext \
26167 conftest$ac_exeext conftest.$ac_ext
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26170 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26171 if test $gcc_cv_math_func___asinieee128 = yes; then
26173 cat >>confdefs.h <<_ACEOF
26174 #define HAVE___ASINIEEE128 1
26175 _ACEOF
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26183 $as_echo_n "checking for __atan2ieee128... " >&6; }
26184 if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26185 $as_echo_n "(cached) " >&6
26186 else
26187 if test x$gcc_no_link = xyes; then
26188 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26191 /* end confdefs.h. */
26193 _Float128 __atan2ieee128 (_Float128);
26194 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26197 main ()
26199 return 0;
26202 _ACEOF
26203 if ac_fn_c_try_link "$LINENO"; then :
26204 gcc_cv_math_func___atan2ieee128=yes
26205 else
26206 gcc_cv_math_func___atan2ieee128=no
26208 rm -f core conftest.err conftest.$ac_objext \
26209 conftest$ac_exeext conftest.$ac_ext
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26212 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26213 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26215 cat >>confdefs.h <<_ACEOF
26216 #define HAVE___ATAN2IEEE128 1
26217 _ACEOF
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26225 $as_echo_n "checking for __atanhieee128... " >&6; }
26226 if ${gcc_cv_math_func___atanhieee128+:} false; then :
26227 $as_echo_n "(cached) " >&6
26228 else
26229 if test x$gcc_no_link = xyes; then
26230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26235 _Float128 __atanhieee128 (_Float128);
26236 _Float128 (*ptr)(_Float128) = __atanhieee128;
26239 main ()
26241 return 0;
26244 _ACEOF
26245 if ac_fn_c_try_link "$LINENO"; then :
26246 gcc_cv_math_func___atanhieee128=yes
26247 else
26248 gcc_cv_math_func___atanhieee128=no
26250 rm -f core conftest.err conftest.$ac_objext \
26251 conftest$ac_exeext conftest.$ac_ext
26253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26254 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26255 if test $gcc_cv_math_func___atanhieee128 = yes; then
26257 cat >>confdefs.h <<_ACEOF
26258 #define HAVE___ATANHIEEE128 1
26259 _ACEOF
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26267 $as_echo_n "checking for __atanieee128... " >&6; }
26268 if ${gcc_cv_math_func___atanieee128+:} false; then :
26269 $as_echo_n "(cached) " >&6
26270 else
26271 if test x$gcc_no_link = xyes; then
26272 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26275 /* end confdefs.h. */
26277 _Float128 __atanieee128 (_Float128);
26278 _Float128 (*ptr)(_Float128) = __atanieee128;
26281 main ()
26283 return 0;
26286 _ACEOF
26287 if ac_fn_c_try_link "$LINENO"; then :
26288 gcc_cv_math_func___atanieee128=yes
26289 else
26290 gcc_cv_math_func___atanieee128=no
26292 rm -f core conftest.err conftest.$ac_objext \
26293 conftest$ac_exeext conftest.$ac_ext
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26296 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26297 if test $gcc_cv_math_func___atanieee128 = yes; then
26299 cat >>confdefs.h <<_ACEOF
26300 #define HAVE___ATANIEEE128 1
26301 _ACEOF
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26309 $as_echo_n "checking for __coshieee128... " >&6; }
26310 if ${gcc_cv_math_func___coshieee128+:} false; then :
26311 $as_echo_n "(cached) " >&6
26312 else
26313 if test x$gcc_no_link = xyes; then
26314 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26317 /* end confdefs.h. */
26319 _Float128 __coshieee128 (_Float128);
26320 _Float128 (*ptr)(_Float128) = __coshieee128;
26323 main ()
26325 return 0;
26328 _ACEOF
26329 if ac_fn_c_try_link "$LINENO"; then :
26330 gcc_cv_math_func___coshieee128=yes
26331 else
26332 gcc_cv_math_func___coshieee128=no
26334 rm -f core conftest.err conftest.$ac_objext \
26335 conftest$ac_exeext conftest.$ac_ext
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26338 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26339 if test $gcc_cv_math_func___coshieee128 = yes; then
26341 cat >>confdefs.h <<_ACEOF
26342 #define HAVE___COSHIEEE128 1
26343 _ACEOF
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26351 $as_echo_n "checking for __cosieee128... " >&6; }
26352 if ${gcc_cv_math_func___cosieee128+:} false; then :
26353 $as_echo_n "(cached) " >&6
26354 else
26355 if test x$gcc_no_link = xyes; then
26356 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26359 /* end confdefs.h. */
26361 _Float128 __cosieee128 (_Float128);
26362 _Float128 (*ptr)(_Float128) = __cosieee128;
26365 main ()
26367 return 0;
26370 _ACEOF
26371 if ac_fn_c_try_link "$LINENO"; then :
26372 gcc_cv_math_func___cosieee128=yes
26373 else
26374 gcc_cv_math_func___cosieee128=no
26376 rm -f core conftest.err conftest.$ac_objext \
26377 conftest$ac_exeext conftest.$ac_ext
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26380 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26381 if test $gcc_cv_math_func___cosieee128 = yes; then
26383 cat >>confdefs.h <<_ACEOF
26384 #define HAVE___COSIEEE128 1
26385 _ACEOF
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26393 $as_echo_n "checking for __erfieee128... " >&6; }
26394 if ${gcc_cv_math_func___erfieee128+:} false; then :
26395 $as_echo_n "(cached) " >&6
26396 else
26397 if test x$gcc_no_link = xyes; then
26398 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h. */
26403 _Float128 __erfieee128 (_Float128);
26404 _Float128 (*ptr)(_Float128) = __erfieee128;
26407 main ()
26409 return 0;
26412 _ACEOF
26413 if ac_fn_c_try_link "$LINENO"; then :
26414 gcc_cv_math_func___erfieee128=yes
26415 else
26416 gcc_cv_math_func___erfieee128=no
26418 rm -f core conftest.err conftest.$ac_objext \
26419 conftest$ac_exeext conftest.$ac_ext
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26422 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26423 if test $gcc_cv_math_func___erfieee128 = yes; then
26425 cat >>confdefs.h <<_ACEOF
26426 #define HAVE___ERFIEEE128 1
26427 _ACEOF
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26435 $as_echo_n "checking for __expieee128... " >&6; }
26436 if ${gcc_cv_math_func___expieee128+:} false; then :
26437 $as_echo_n "(cached) " >&6
26438 else
26439 if test x$gcc_no_link = xyes; then
26440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26445 _Float128 __expieee128 (_Float128);
26446 _Float128 (*ptr)(_Float128) = __expieee128;
26449 main ()
26451 return 0;
26454 _ACEOF
26455 if ac_fn_c_try_link "$LINENO"; then :
26456 gcc_cv_math_func___expieee128=yes
26457 else
26458 gcc_cv_math_func___expieee128=no
26460 rm -f core conftest.err conftest.$ac_objext \
26461 conftest$ac_exeext conftest.$ac_ext
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26464 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26465 if test $gcc_cv_math_func___expieee128 = yes; then
26467 cat >>confdefs.h <<_ACEOF
26468 #define HAVE___EXPIEEE128 1
26469 _ACEOF
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26477 $as_echo_n "checking for __fabsieee128... " >&6; }
26478 if ${gcc_cv_math_func___fabsieee128+:} false; then :
26479 $as_echo_n "(cached) " >&6
26480 else
26481 if test x$gcc_no_link = xyes; then
26482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26485 /* end confdefs.h. */
26487 _Float128 __fabsieee128 (_Float128);
26488 _Float128 (*ptr)(_Float128) = __fabsieee128;
26491 main ()
26493 return 0;
26496 _ACEOF
26497 if ac_fn_c_try_link "$LINENO"; then :
26498 gcc_cv_math_func___fabsieee128=yes
26499 else
26500 gcc_cv_math_func___fabsieee128=no
26502 rm -f core conftest.err conftest.$ac_objext \
26503 conftest$ac_exeext conftest.$ac_ext
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26506 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26507 if test $gcc_cv_math_func___fabsieee128 = yes; then
26509 cat >>confdefs.h <<_ACEOF
26510 #define HAVE___FABSIEEE128 1
26511 _ACEOF
26518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26519 $as_echo_n "checking for __jnieee128... " >&6; }
26520 if ${gcc_cv_math_func___jnieee128+:} false; then :
26521 $as_echo_n "(cached) " >&6
26522 else
26523 if test x$gcc_no_link = xyes; then
26524 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26527 /* end confdefs.h. */
26529 _Float128 __jnieee128 (_Float128);
26530 _Float128 (*ptr)(_Float128) = __jnieee128;
26533 main ()
26535 return 0;
26538 _ACEOF
26539 if ac_fn_c_try_link "$LINENO"; then :
26540 gcc_cv_math_func___jnieee128=yes
26541 else
26542 gcc_cv_math_func___jnieee128=no
26544 rm -f core conftest.err conftest.$ac_objext \
26545 conftest$ac_exeext conftest.$ac_ext
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26548 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26549 if test $gcc_cv_math_func___jnieee128 = yes; then
26551 cat >>confdefs.h <<_ACEOF
26552 #define HAVE___JNIEEE128 1
26553 _ACEOF
26560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26561 $as_echo_n "checking for __log10ieee128... " >&6; }
26562 if ${gcc_cv_math_func___log10ieee128+:} false; then :
26563 $as_echo_n "(cached) " >&6
26564 else
26565 if test x$gcc_no_link = xyes; then
26566 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26569 /* end confdefs.h. */
26571 _Float128 __log10ieee128 (_Float128);
26572 _Float128 (*ptr)(_Float128) = __log10ieee128;
26575 main ()
26577 return 0;
26580 _ACEOF
26581 if ac_fn_c_try_link "$LINENO"; then :
26582 gcc_cv_math_func___log10ieee128=yes
26583 else
26584 gcc_cv_math_func___log10ieee128=no
26586 rm -f core conftest.err conftest.$ac_objext \
26587 conftest$ac_exeext conftest.$ac_ext
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26590 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26591 if test $gcc_cv_math_func___log10ieee128 = yes; then
26593 cat >>confdefs.h <<_ACEOF
26594 #define HAVE___LOG10IEEE128 1
26595 _ACEOF
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26603 $as_echo_n "checking for __logieee128... " >&6; }
26604 if ${gcc_cv_math_func___logieee128+:} false; then :
26605 $as_echo_n "(cached) " >&6
26606 else
26607 if test x$gcc_no_link = xyes; then
26608 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26611 /* end confdefs.h. */
26613 _Float128 __logieee128 (_Float128);
26614 _Float128 (*ptr)(_Float128) = __logieee128;
26617 main ()
26619 return 0;
26622 _ACEOF
26623 if ac_fn_c_try_link "$LINENO"; then :
26624 gcc_cv_math_func___logieee128=yes
26625 else
26626 gcc_cv_math_func___logieee128=no
26628 rm -f core conftest.err conftest.$ac_objext \
26629 conftest$ac_exeext conftest.$ac_ext
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26632 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26633 if test $gcc_cv_math_func___logieee128 = yes; then
26635 cat >>confdefs.h <<_ACEOF
26636 #define HAVE___LOGIEEE128 1
26637 _ACEOF
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26645 $as_echo_n "checking for __powieee128... " >&6; }
26646 if ${gcc_cv_math_func___powieee128+:} false; then :
26647 $as_echo_n "(cached) " >&6
26648 else
26649 if test x$gcc_no_link = xyes; then
26650 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26653 /* end confdefs.h. */
26655 _Float128 __powieee128 (_Float128);
26656 _Float128 (*ptr)(_Float128) = __powieee128;
26659 main ()
26661 return 0;
26664 _ACEOF
26665 if ac_fn_c_try_link "$LINENO"; then :
26666 gcc_cv_math_func___powieee128=yes
26667 else
26668 gcc_cv_math_func___powieee128=no
26670 rm -f core conftest.err conftest.$ac_objext \
26671 conftest$ac_exeext conftest.$ac_ext
26673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26674 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26675 if test $gcc_cv_math_func___powieee128 = yes; then
26677 cat >>confdefs.h <<_ACEOF
26678 #define HAVE___POWIEEE128 1
26679 _ACEOF
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26687 $as_echo_n "checking for __sinhieee128... " >&6; }
26688 if ${gcc_cv_math_func___sinhieee128+:} false; then :
26689 $as_echo_n "(cached) " >&6
26690 else
26691 if test x$gcc_no_link = xyes; then
26692 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26695 /* end confdefs.h. */
26697 _Float128 __sinhieee128 (_Float128);
26698 _Float128 (*ptr)(_Float128) = __sinhieee128;
26701 main ()
26703 return 0;
26706 _ACEOF
26707 if ac_fn_c_try_link "$LINENO"; then :
26708 gcc_cv_math_func___sinhieee128=yes
26709 else
26710 gcc_cv_math_func___sinhieee128=no
26712 rm -f core conftest.err conftest.$ac_objext \
26713 conftest$ac_exeext conftest.$ac_ext
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26716 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26717 if test $gcc_cv_math_func___sinhieee128 = yes; then
26719 cat >>confdefs.h <<_ACEOF
26720 #define HAVE___SINHIEEE128 1
26721 _ACEOF
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26729 $as_echo_n "checking for __sinieee128... " >&6; }
26730 if ${gcc_cv_math_func___sinieee128+:} false; then :
26731 $as_echo_n "(cached) " >&6
26732 else
26733 if test x$gcc_no_link = xyes; then
26734 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26737 /* end confdefs.h. */
26739 _Float128 __sinieee128 (_Float128);
26740 _Float128 (*ptr)(_Float128) = __sinieee128;
26743 main ()
26745 return 0;
26748 _ACEOF
26749 if ac_fn_c_try_link "$LINENO"; then :
26750 gcc_cv_math_func___sinieee128=yes
26751 else
26752 gcc_cv_math_func___sinieee128=no
26754 rm -f core conftest.err conftest.$ac_objext \
26755 conftest$ac_exeext conftest.$ac_ext
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26758 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26759 if test $gcc_cv_math_func___sinieee128 = yes; then
26761 cat >>confdefs.h <<_ACEOF
26762 #define HAVE___SINIEEE128 1
26763 _ACEOF
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26771 $as_echo_n "checking for __sqrtieee128... " >&6; }
26772 if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26773 $as_echo_n "(cached) " >&6
26774 else
26775 if test x$gcc_no_link = xyes; then
26776 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26779 /* end confdefs.h. */
26781 _Float128 __sqrtieee128 (_Float128);
26782 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26785 main ()
26787 return 0;
26790 _ACEOF
26791 if ac_fn_c_try_link "$LINENO"; then :
26792 gcc_cv_math_func___sqrtieee128=yes
26793 else
26794 gcc_cv_math_func___sqrtieee128=no
26796 rm -f core conftest.err conftest.$ac_objext \
26797 conftest$ac_exeext conftest.$ac_ext
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26800 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26801 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26803 cat >>confdefs.h <<_ACEOF
26804 #define HAVE___SQRTIEEE128 1
26805 _ACEOF
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26813 $as_echo_n "checking for __tanhieee128... " >&6; }
26814 if ${gcc_cv_math_func___tanhieee128+:} false; then :
26815 $as_echo_n "(cached) " >&6
26816 else
26817 if test x$gcc_no_link = xyes; then
26818 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26821 /* end confdefs.h. */
26823 _Float128 __tanhieee128 (_Float128);
26824 _Float128 (*ptr)(_Float128) = __tanhieee128;
26827 main ()
26829 return 0;
26832 _ACEOF
26833 if ac_fn_c_try_link "$LINENO"; then :
26834 gcc_cv_math_func___tanhieee128=yes
26835 else
26836 gcc_cv_math_func___tanhieee128=no
26838 rm -f core conftest.err conftest.$ac_objext \
26839 conftest$ac_exeext conftest.$ac_ext
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26842 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26843 if test $gcc_cv_math_func___tanhieee128 = yes; then
26845 cat >>confdefs.h <<_ACEOF
26846 #define HAVE___TANHIEEE128 1
26847 _ACEOF
26854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26855 $as_echo_n "checking for __tanieee128... " >&6; }
26856 if ${gcc_cv_math_func___tanieee128+:} false; then :
26857 $as_echo_n "(cached) " >&6
26858 else
26859 if test x$gcc_no_link = xyes; then
26860 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26863 /* end confdefs.h. */
26865 _Float128 __tanieee128 (_Float128);
26866 _Float128 (*ptr)(_Float128) = __tanieee128;
26869 main ()
26871 return 0;
26874 _ACEOF
26875 if ac_fn_c_try_link "$LINENO"; then :
26876 gcc_cv_math_func___tanieee128=yes
26877 else
26878 gcc_cv_math_func___tanieee128=no
26880 rm -f core conftest.err conftest.$ac_objext \
26881 conftest$ac_exeext conftest.$ac_ext
26883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26884 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26885 if test $gcc_cv_math_func___tanieee128 = yes; then
26887 cat >>confdefs.h <<_ACEOF
26888 #define HAVE___TANIEEE128 1
26889 _ACEOF
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26897 $as_echo_n "checking for __ynieee128... " >&6; }
26898 if ${gcc_cv_math_func___ynieee128+:} false; then :
26899 $as_echo_n "(cached) " >&6
26900 else
26901 if test x$gcc_no_link = xyes; then
26902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26905 /* end confdefs.h. */
26907 _Float128 __ynieee128 (_Float128);
26908 _Float128 (*ptr)(_Float128) = __ynieee128;
26911 main ()
26913 return 0;
26916 _ACEOF
26917 if ac_fn_c_try_link "$LINENO"; then :
26918 gcc_cv_math_func___ynieee128=yes
26919 else
26920 gcc_cv_math_func___ynieee128=no
26922 rm -f core conftest.err conftest.$ac_objext \
26923 conftest$ac_exeext conftest.$ac_ext
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26926 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26927 if test $gcc_cv_math_func___ynieee128 = yes; then
26929 cat >>confdefs.h <<_ACEOF
26930 #define HAVE___YNIEEE128 1
26931 _ACEOF
26937 # On AIX, clog is present in libm as __clog
26938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26939 $as_echo_n "checking for __clog in -lm... " >&6; }
26940 if ${ac_cv_lib_m___clog+:} false; then :
26941 $as_echo_n "(cached) " >&6
26942 else
26943 ac_check_lib_save_LIBS=$LIBS
26944 LIBS="-lm $LIBS"
26945 if test x$gcc_no_link = xyes; then
26946 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26949 /* end confdefs.h. */
26951 /* Override any GCC internal prototype to avoid an error.
26952 Use char because int might match the return type of a GCC
26953 builtin and then its argument prototype would still apply. */
26954 #ifdef __cplusplus
26955 extern "C"
26956 #endif
26957 char __clog ();
26959 main ()
26961 return __clog ();
26963 return 0;
26965 _ACEOF
26966 if ac_fn_c_try_link "$LINENO"; then :
26967 ac_cv_lib_m___clog=yes
26968 else
26969 ac_cv_lib_m___clog=no
26971 rm -f core conftest.err conftest.$ac_objext \
26972 conftest$ac_exeext conftest.$ac_ext
26973 LIBS=$ac_check_lib_save_LIBS
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26976 $as_echo "$ac_cv_lib_m___clog" >&6; }
26977 if test "x$ac_cv_lib_m___clog" = xyes; then :
26979 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26986 if test $gcc_cv_math_func_copysign = no; then
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26988 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26989 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26990 $as_echo_n "(cached) " >&6
26991 else
26992 if test x$gcc_no_link = xyes; then
26993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26996 /* end confdefs.h. */
26998 double
26999 copysign_fallback (double x, double y)
27001 return __builtin_copysign (x, y);
27005 main ()
27007 return 0;
27010 _ACEOF
27011 if ac_fn_c_try_link "$LINENO"; then :
27012 gcc_cv_math_inline_builtin_copysign=yes
27013 else
27014 gcc_cv_math_inline_builtin_copysign=no
27016 rm -f core conftest.err conftest.$ac_objext \
27017 conftest$ac_exeext conftest.$ac_ext
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
27020 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
27021 if test $gcc_cv_math_inline_builtin_copysign = yes; then
27023 cat >>confdefs.h <<_ACEOF
27024 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
27025 _ACEOF
27031 if test $gcc_cv_math_func_copysignl = no; then
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
27033 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
27034 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
27035 $as_echo_n "(cached) " >&6
27036 else
27037 if test x$gcc_no_link = xyes; then
27038 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27041 /* end confdefs.h. */
27043 long double
27044 copysignl_fallback (long double x, long double y)
27046 return __builtin_copysignl (x, y);
27050 main ()
27052 return 0;
27055 _ACEOF
27056 if ac_fn_c_try_link "$LINENO"; then :
27057 gcc_cv_math_inline_builtin_copysignl=yes
27058 else
27059 gcc_cv_math_inline_builtin_copysignl=no
27061 rm -f core conftest.err conftest.$ac_objext \
27062 conftest$ac_exeext conftest.$ac_ext
27064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
27065 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
27066 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
27068 cat >>confdefs.h <<_ACEOF
27069 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
27070 _ACEOF
27076 if test $gcc_cv_math_func_fabs = no; then
27077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
27078 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
27079 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
27080 $as_echo_n "(cached) " >&6
27081 else
27082 if test x$gcc_no_link = xyes; then
27083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27086 /* end confdefs.h. */
27088 double
27089 fabs_fallback (double x)
27091 return __builtin_fabs (x);
27095 main ()
27097 return 0;
27100 _ACEOF
27101 if ac_fn_c_try_link "$LINENO"; then :
27102 gcc_cv_math_inline_builtin_fabs=yes
27103 else
27104 gcc_cv_math_inline_builtin_fabs=no
27106 rm -f core conftest.err conftest.$ac_objext \
27107 conftest$ac_exeext conftest.$ac_ext
27109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
27110 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
27111 if test $gcc_cv_math_inline_builtin_fabs = yes; then
27113 cat >>confdefs.h <<_ACEOF
27114 #define HAVE_INLINE_BUILTIN_FABS 1
27115 _ACEOF
27121 if test $gcc_cv_math_func_fabsl = no; then
27122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
27123 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27124 if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
27125 $as_echo_n "(cached) " >&6
27126 else
27127 if test x$gcc_no_link = xyes; then
27128 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27131 /* end confdefs.h. */
27133 long double
27134 fabsl_fallback (long double x)
27136 return __builtin_fabsl (x);
27140 main ()
27142 return 0;
27145 _ACEOF
27146 if ac_fn_c_try_link "$LINENO"; then :
27147 gcc_cv_math_inline_builtin_fabsl=yes
27148 else
27149 gcc_cv_math_inline_builtin_fabsl=no
27151 rm -f core conftest.err conftest.$ac_objext \
27152 conftest$ac_exeext conftest.$ac_ext
27154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27155 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27156 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27158 cat >>confdefs.h <<_ACEOF
27159 #define HAVE_INLINE_BUILTIN_FABSL 1
27160 _ACEOF
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27169 $as_echo_n "checking for acosf128... " >&6; }
27170 if ${gcc_cv_math_func_acosf128+:} false; then :
27171 $as_echo_n "(cached) " >&6
27172 else
27173 if test x$gcc_no_link = xyes; then
27174 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27177 /* end confdefs.h. */
27179 #ifdef HAVE_COMPLEX_H
27180 #include <complex.h>
27181 #endif
27182 #ifdef HAVE_MATH_H
27183 #include <math.h>
27184 #endif
27186 int (*ptr)() = (int (*)())acosf128;
27189 main ()
27191 return 0;
27194 _ACEOF
27195 if ac_fn_c_try_link "$LINENO"; then :
27196 gcc_cv_math_func_acosf128=yes
27197 else
27198 gcc_cv_math_func_acosf128=no
27200 rm -f core conftest.err conftest.$ac_objext \
27201 conftest$ac_exeext conftest.$ac_ext
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27204 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27205 if test $gcc_cv_math_func_acosf128 = yes; then
27207 cat >>confdefs.h <<_ACEOF
27208 #define HAVE_ACOSF128 1
27209 _ACEOF
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27217 $as_echo_n "checking for acoshf128... " >&6; }
27218 if ${gcc_cv_math_func_acoshf128+:} false; then :
27219 $as_echo_n "(cached) " >&6
27220 else
27221 if test x$gcc_no_link = xyes; then
27222 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27225 /* end confdefs.h. */
27227 #ifdef HAVE_COMPLEX_H
27228 #include <complex.h>
27229 #endif
27230 #ifdef HAVE_MATH_H
27231 #include <math.h>
27232 #endif
27234 int (*ptr)() = (int (*)())acoshf128;
27237 main ()
27239 return 0;
27242 _ACEOF
27243 if ac_fn_c_try_link "$LINENO"; then :
27244 gcc_cv_math_func_acoshf128=yes
27245 else
27246 gcc_cv_math_func_acoshf128=no
27248 rm -f core conftest.err conftest.$ac_objext \
27249 conftest$ac_exeext conftest.$ac_ext
27251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27252 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27253 if test $gcc_cv_math_func_acoshf128 = yes; then
27255 cat >>confdefs.h <<_ACEOF
27256 #define HAVE_ACOSHF128 1
27257 _ACEOF
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27265 $as_echo_n "checking for asinf128... " >&6; }
27266 if ${gcc_cv_math_func_asinf128+:} false; then :
27267 $as_echo_n "(cached) " >&6
27268 else
27269 if test x$gcc_no_link = xyes; then
27270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27273 /* end confdefs.h. */
27275 #ifdef HAVE_COMPLEX_H
27276 #include <complex.h>
27277 #endif
27278 #ifdef HAVE_MATH_H
27279 #include <math.h>
27280 #endif
27282 int (*ptr)() = (int (*)())asinf128;
27285 main ()
27287 return 0;
27290 _ACEOF
27291 if ac_fn_c_try_link "$LINENO"; then :
27292 gcc_cv_math_func_asinf128=yes
27293 else
27294 gcc_cv_math_func_asinf128=no
27296 rm -f core conftest.err conftest.$ac_objext \
27297 conftest$ac_exeext conftest.$ac_ext
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27300 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27301 if test $gcc_cv_math_func_asinf128 = yes; then
27303 cat >>confdefs.h <<_ACEOF
27304 #define HAVE_ASINF128 1
27305 _ACEOF
27312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27313 $as_echo_n "checking for asinhf128... " >&6; }
27314 if ${gcc_cv_math_func_asinhf128+:} false; then :
27315 $as_echo_n "(cached) " >&6
27316 else
27317 if test x$gcc_no_link = xyes; then
27318 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27321 /* end confdefs.h. */
27323 #ifdef HAVE_COMPLEX_H
27324 #include <complex.h>
27325 #endif
27326 #ifdef HAVE_MATH_H
27327 #include <math.h>
27328 #endif
27330 int (*ptr)() = (int (*)())asinhf128;
27333 main ()
27335 return 0;
27338 _ACEOF
27339 if ac_fn_c_try_link "$LINENO"; then :
27340 gcc_cv_math_func_asinhf128=yes
27341 else
27342 gcc_cv_math_func_asinhf128=no
27344 rm -f core conftest.err conftest.$ac_objext \
27345 conftest$ac_exeext conftest.$ac_ext
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27348 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27349 if test $gcc_cv_math_func_asinhf128 = yes; then
27351 cat >>confdefs.h <<_ACEOF
27352 #define HAVE_ASINHF128 1
27353 _ACEOF
27360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27361 $as_echo_n "checking for atan2f128... " >&6; }
27362 if ${gcc_cv_math_func_atan2f128+:} false; then :
27363 $as_echo_n "(cached) " >&6
27364 else
27365 if test x$gcc_no_link = xyes; then
27366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27369 /* end confdefs.h. */
27371 #ifdef HAVE_COMPLEX_H
27372 #include <complex.h>
27373 #endif
27374 #ifdef HAVE_MATH_H
27375 #include <math.h>
27376 #endif
27378 int (*ptr)() = (int (*)())atan2f128;
27381 main ()
27383 return 0;
27386 _ACEOF
27387 if ac_fn_c_try_link "$LINENO"; then :
27388 gcc_cv_math_func_atan2f128=yes
27389 else
27390 gcc_cv_math_func_atan2f128=no
27392 rm -f core conftest.err conftest.$ac_objext \
27393 conftest$ac_exeext conftest.$ac_ext
27395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27396 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27397 if test $gcc_cv_math_func_atan2f128 = yes; then
27399 cat >>confdefs.h <<_ACEOF
27400 #define HAVE_ATAN2F128 1
27401 _ACEOF
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27409 $as_echo_n "checking for atanf128... " >&6; }
27410 if ${gcc_cv_math_func_atanf128+:} false; then :
27411 $as_echo_n "(cached) " >&6
27412 else
27413 if test x$gcc_no_link = xyes; then
27414 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27417 /* end confdefs.h. */
27419 #ifdef HAVE_COMPLEX_H
27420 #include <complex.h>
27421 #endif
27422 #ifdef HAVE_MATH_H
27423 #include <math.h>
27424 #endif
27426 int (*ptr)() = (int (*)())atanf128;
27429 main ()
27431 return 0;
27434 _ACEOF
27435 if ac_fn_c_try_link "$LINENO"; then :
27436 gcc_cv_math_func_atanf128=yes
27437 else
27438 gcc_cv_math_func_atanf128=no
27440 rm -f core conftest.err conftest.$ac_objext \
27441 conftest$ac_exeext conftest.$ac_ext
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27444 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27445 if test $gcc_cv_math_func_atanf128 = yes; then
27447 cat >>confdefs.h <<_ACEOF
27448 #define HAVE_ATANF128 1
27449 _ACEOF
27456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27457 $as_echo_n "checking for atanhf128... " >&6; }
27458 if ${gcc_cv_math_func_atanhf128+:} false; then :
27459 $as_echo_n "(cached) " >&6
27460 else
27461 if test x$gcc_no_link = xyes; then
27462 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27465 /* end confdefs.h. */
27467 #ifdef HAVE_COMPLEX_H
27468 #include <complex.h>
27469 #endif
27470 #ifdef HAVE_MATH_H
27471 #include <math.h>
27472 #endif
27474 int (*ptr)() = (int (*)())atanhf128;
27477 main ()
27479 return 0;
27482 _ACEOF
27483 if ac_fn_c_try_link "$LINENO"; then :
27484 gcc_cv_math_func_atanhf128=yes
27485 else
27486 gcc_cv_math_func_atanhf128=no
27488 rm -f core conftest.err conftest.$ac_objext \
27489 conftest$ac_exeext conftest.$ac_ext
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27492 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27493 if test $gcc_cv_math_func_atanhf128 = yes; then
27495 cat >>confdefs.h <<_ACEOF
27496 #define HAVE_ATANHF128 1
27497 _ACEOF
27504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27505 $as_echo_n "checking for cargf128... " >&6; }
27506 if ${gcc_cv_math_func_cargf128+:} false; then :
27507 $as_echo_n "(cached) " >&6
27508 else
27509 if test x$gcc_no_link = xyes; then
27510 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27513 /* end confdefs.h. */
27515 #ifdef HAVE_COMPLEX_H
27516 #include <complex.h>
27517 #endif
27518 #ifdef HAVE_MATH_H
27519 #include <math.h>
27520 #endif
27522 int (*ptr)() = (int (*)())cargf128;
27525 main ()
27527 return 0;
27530 _ACEOF
27531 if ac_fn_c_try_link "$LINENO"; then :
27532 gcc_cv_math_func_cargf128=yes
27533 else
27534 gcc_cv_math_func_cargf128=no
27536 rm -f core conftest.err conftest.$ac_objext \
27537 conftest$ac_exeext conftest.$ac_ext
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27540 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27541 if test $gcc_cv_math_func_cargf128 = yes; then
27543 cat >>confdefs.h <<_ACEOF
27544 #define HAVE_CARGF128 1
27545 _ACEOF
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27553 $as_echo_n "checking for ceilf128... " >&6; }
27554 if ${gcc_cv_math_func_ceilf128+:} false; then :
27555 $as_echo_n "(cached) " >&6
27556 else
27557 if test x$gcc_no_link = xyes; then
27558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27561 /* end confdefs.h. */
27563 #ifdef HAVE_COMPLEX_H
27564 #include <complex.h>
27565 #endif
27566 #ifdef HAVE_MATH_H
27567 #include <math.h>
27568 #endif
27570 int (*ptr)() = (int (*)())ceilf128;
27573 main ()
27575 return 0;
27578 _ACEOF
27579 if ac_fn_c_try_link "$LINENO"; then :
27580 gcc_cv_math_func_ceilf128=yes
27581 else
27582 gcc_cv_math_func_ceilf128=no
27584 rm -f core conftest.err conftest.$ac_objext \
27585 conftest$ac_exeext conftest.$ac_ext
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27588 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27589 if test $gcc_cv_math_func_ceilf128 = yes; then
27591 cat >>confdefs.h <<_ACEOF
27592 #define HAVE_CEILF128 1
27593 _ACEOF
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27601 $as_echo_n "checking for copysignf128... " >&6; }
27602 if ${gcc_cv_math_func_copysignf128+:} false; then :
27603 $as_echo_n "(cached) " >&6
27604 else
27605 if test x$gcc_no_link = xyes; then
27606 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27609 /* end confdefs.h. */
27611 #ifdef HAVE_COMPLEX_H
27612 #include <complex.h>
27613 #endif
27614 #ifdef HAVE_MATH_H
27615 #include <math.h>
27616 #endif
27618 int (*ptr)() = (int (*)())copysignf128;
27621 main ()
27623 return 0;
27626 _ACEOF
27627 if ac_fn_c_try_link "$LINENO"; then :
27628 gcc_cv_math_func_copysignf128=yes
27629 else
27630 gcc_cv_math_func_copysignf128=no
27632 rm -f core conftest.err conftest.$ac_objext \
27633 conftest$ac_exeext conftest.$ac_ext
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27636 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27637 if test $gcc_cv_math_func_copysignf128 = yes; then
27639 cat >>confdefs.h <<_ACEOF
27640 #define HAVE_COPYSIGNF128 1
27641 _ACEOF
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27649 $as_echo_n "checking for cosf128... " >&6; }
27650 if ${gcc_cv_math_func_cosf128+:} false; then :
27651 $as_echo_n "(cached) " >&6
27652 else
27653 if test x$gcc_no_link = xyes; then
27654 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27657 /* end confdefs.h. */
27659 #ifdef HAVE_COMPLEX_H
27660 #include <complex.h>
27661 #endif
27662 #ifdef HAVE_MATH_H
27663 #include <math.h>
27664 #endif
27666 int (*ptr)() = (int (*)())cosf128;
27669 main ()
27671 return 0;
27674 _ACEOF
27675 if ac_fn_c_try_link "$LINENO"; then :
27676 gcc_cv_math_func_cosf128=yes
27677 else
27678 gcc_cv_math_func_cosf128=no
27680 rm -f core conftest.err conftest.$ac_objext \
27681 conftest$ac_exeext conftest.$ac_ext
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27684 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27685 if test $gcc_cv_math_func_cosf128 = yes; then
27687 cat >>confdefs.h <<_ACEOF
27688 #define HAVE_COSF128 1
27689 _ACEOF
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27697 $as_echo_n "checking for ccosf128... " >&6; }
27698 if ${gcc_cv_math_func_ccosf128+:} false; then :
27699 $as_echo_n "(cached) " >&6
27700 else
27701 if test x$gcc_no_link = xyes; then
27702 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27705 /* end confdefs.h. */
27707 #ifdef HAVE_COMPLEX_H
27708 #include <complex.h>
27709 #endif
27710 #ifdef HAVE_MATH_H
27711 #include <math.h>
27712 #endif
27714 int (*ptr)() = (int (*)())ccosf128;
27717 main ()
27719 return 0;
27722 _ACEOF
27723 if ac_fn_c_try_link "$LINENO"; then :
27724 gcc_cv_math_func_ccosf128=yes
27725 else
27726 gcc_cv_math_func_ccosf128=no
27728 rm -f core conftest.err conftest.$ac_objext \
27729 conftest$ac_exeext conftest.$ac_ext
27731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27732 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27733 if test $gcc_cv_math_func_ccosf128 = yes; then
27735 cat >>confdefs.h <<_ACEOF
27736 #define HAVE_CCOSF128 1
27737 _ACEOF
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27745 $as_echo_n "checking for coshf128... " >&6; }
27746 if ${gcc_cv_math_func_coshf128+:} false; then :
27747 $as_echo_n "(cached) " >&6
27748 else
27749 if test x$gcc_no_link = xyes; then
27750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27753 /* end confdefs.h. */
27755 #ifdef HAVE_COMPLEX_H
27756 #include <complex.h>
27757 #endif
27758 #ifdef HAVE_MATH_H
27759 #include <math.h>
27760 #endif
27762 int (*ptr)() = (int (*)())coshf128;
27765 main ()
27767 return 0;
27770 _ACEOF
27771 if ac_fn_c_try_link "$LINENO"; then :
27772 gcc_cv_math_func_coshf128=yes
27773 else
27774 gcc_cv_math_func_coshf128=no
27776 rm -f core conftest.err conftest.$ac_objext \
27777 conftest$ac_exeext conftest.$ac_ext
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27780 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27781 if test $gcc_cv_math_func_coshf128 = yes; then
27783 cat >>confdefs.h <<_ACEOF
27784 #define HAVE_COSHF128 1
27785 _ACEOF
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27793 $as_echo_n "checking for ccoshf128... " >&6; }
27794 if ${gcc_cv_math_func_ccoshf128+:} false; then :
27795 $as_echo_n "(cached) " >&6
27796 else
27797 if test x$gcc_no_link = xyes; then
27798 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27801 /* end confdefs.h. */
27803 #ifdef HAVE_COMPLEX_H
27804 #include <complex.h>
27805 #endif
27806 #ifdef HAVE_MATH_H
27807 #include <math.h>
27808 #endif
27810 int (*ptr)() = (int (*)())ccoshf128;
27813 main ()
27815 return 0;
27818 _ACEOF
27819 if ac_fn_c_try_link "$LINENO"; then :
27820 gcc_cv_math_func_ccoshf128=yes
27821 else
27822 gcc_cv_math_func_ccoshf128=no
27824 rm -f core conftest.err conftest.$ac_objext \
27825 conftest$ac_exeext conftest.$ac_ext
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27828 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27829 if test $gcc_cv_math_func_ccoshf128 = yes; then
27831 cat >>confdefs.h <<_ACEOF
27832 #define HAVE_CCOSHF128 1
27833 _ACEOF
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27841 $as_echo_n "checking for expf128... " >&6; }
27842 if ${gcc_cv_math_func_expf128+:} false; then :
27843 $as_echo_n "(cached) " >&6
27844 else
27845 if test x$gcc_no_link = xyes; then
27846 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27849 /* end confdefs.h. */
27851 #ifdef HAVE_COMPLEX_H
27852 #include <complex.h>
27853 #endif
27854 #ifdef HAVE_MATH_H
27855 #include <math.h>
27856 #endif
27858 int (*ptr)() = (int (*)())expf128;
27861 main ()
27863 return 0;
27866 _ACEOF
27867 if ac_fn_c_try_link "$LINENO"; then :
27868 gcc_cv_math_func_expf128=yes
27869 else
27870 gcc_cv_math_func_expf128=no
27872 rm -f core conftest.err conftest.$ac_objext \
27873 conftest$ac_exeext conftest.$ac_ext
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27876 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27877 if test $gcc_cv_math_func_expf128 = yes; then
27879 cat >>confdefs.h <<_ACEOF
27880 #define HAVE_EXPF128 1
27881 _ACEOF
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27889 $as_echo_n "checking for cexpf128... " >&6; }
27890 if ${gcc_cv_math_func_cexpf128+:} false; then :
27891 $as_echo_n "(cached) " >&6
27892 else
27893 if test x$gcc_no_link = xyes; then
27894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27897 /* end confdefs.h. */
27899 #ifdef HAVE_COMPLEX_H
27900 #include <complex.h>
27901 #endif
27902 #ifdef HAVE_MATH_H
27903 #include <math.h>
27904 #endif
27906 int (*ptr)() = (int (*)())cexpf128;
27909 main ()
27911 return 0;
27914 _ACEOF
27915 if ac_fn_c_try_link "$LINENO"; then :
27916 gcc_cv_math_func_cexpf128=yes
27917 else
27918 gcc_cv_math_func_cexpf128=no
27920 rm -f core conftest.err conftest.$ac_objext \
27921 conftest$ac_exeext conftest.$ac_ext
27923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27924 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27925 if test $gcc_cv_math_func_cexpf128 = yes; then
27927 cat >>confdefs.h <<_ACEOF
27928 #define HAVE_CEXPF128 1
27929 _ACEOF
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27937 $as_echo_n "checking for fabsf128... " >&6; }
27938 if ${gcc_cv_math_func_fabsf128+:} false; then :
27939 $as_echo_n "(cached) " >&6
27940 else
27941 if test x$gcc_no_link = xyes; then
27942 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27945 /* end confdefs.h. */
27947 #ifdef HAVE_COMPLEX_H
27948 #include <complex.h>
27949 #endif
27950 #ifdef HAVE_MATH_H
27951 #include <math.h>
27952 #endif
27954 int (*ptr)() = (int (*)())fabsf128;
27957 main ()
27959 return 0;
27962 _ACEOF
27963 if ac_fn_c_try_link "$LINENO"; then :
27964 gcc_cv_math_func_fabsf128=yes
27965 else
27966 gcc_cv_math_func_fabsf128=no
27968 rm -f core conftest.err conftest.$ac_objext \
27969 conftest$ac_exeext conftest.$ac_ext
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27972 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27973 if test $gcc_cv_math_func_fabsf128 = yes; then
27975 cat >>confdefs.h <<_ACEOF
27976 #define HAVE_FABSF128 1
27977 _ACEOF
27984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27985 $as_echo_n "checking for cabsf128... " >&6; }
27986 if ${gcc_cv_math_func_cabsf128+:} false; then :
27987 $as_echo_n "(cached) " >&6
27988 else
27989 if test x$gcc_no_link = xyes; then
27990 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27993 /* end confdefs.h. */
27995 #ifdef HAVE_COMPLEX_H
27996 #include <complex.h>
27997 #endif
27998 #ifdef HAVE_MATH_H
27999 #include <math.h>
28000 #endif
28002 int (*ptr)() = (int (*)())cabsf128;
28005 main ()
28007 return 0;
28010 _ACEOF
28011 if ac_fn_c_try_link "$LINENO"; then :
28012 gcc_cv_math_func_cabsf128=yes
28013 else
28014 gcc_cv_math_func_cabsf128=no
28016 rm -f core conftest.err conftest.$ac_objext \
28017 conftest$ac_exeext conftest.$ac_ext
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
28020 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
28021 if test $gcc_cv_math_func_cabsf128 = yes; then
28023 cat >>confdefs.h <<_ACEOF
28024 #define HAVE_CABSF128 1
28025 _ACEOF
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
28033 $as_echo_n "checking for floorf128... " >&6; }
28034 if ${gcc_cv_math_func_floorf128+:} false; then :
28035 $as_echo_n "(cached) " >&6
28036 else
28037 if test x$gcc_no_link = xyes; then
28038 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28041 /* end confdefs.h. */
28043 #ifdef HAVE_COMPLEX_H
28044 #include <complex.h>
28045 #endif
28046 #ifdef HAVE_MATH_H
28047 #include <math.h>
28048 #endif
28050 int (*ptr)() = (int (*)())floorf128;
28053 main ()
28055 return 0;
28058 _ACEOF
28059 if ac_fn_c_try_link "$LINENO"; then :
28060 gcc_cv_math_func_floorf128=yes
28061 else
28062 gcc_cv_math_func_floorf128=no
28064 rm -f core conftest.err conftest.$ac_objext \
28065 conftest$ac_exeext conftest.$ac_ext
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
28068 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
28069 if test $gcc_cv_math_func_floorf128 = yes; then
28071 cat >>confdefs.h <<_ACEOF
28072 #define HAVE_FLOORF128 1
28073 _ACEOF
28080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
28081 $as_echo_n "checking for fmaf128... " >&6; }
28082 if ${gcc_cv_math_func_fmaf128+:} false; then :
28083 $as_echo_n "(cached) " >&6
28084 else
28085 if test x$gcc_no_link = xyes; then
28086 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28089 /* end confdefs.h. */
28091 #ifdef HAVE_COMPLEX_H
28092 #include <complex.h>
28093 #endif
28094 #ifdef HAVE_MATH_H
28095 #include <math.h>
28096 #endif
28098 int (*ptr)() = (int (*)())fmaf128;
28101 main ()
28103 return 0;
28106 _ACEOF
28107 if ac_fn_c_try_link "$LINENO"; then :
28108 gcc_cv_math_func_fmaf128=yes
28109 else
28110 gcc_cv_math_func_fmaf128=no
28112 rm -f core conftest.err conftest.$ac_objext \
28113 conftest$ac_exeext conftest.$ac_ext
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
28116 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
28117 if test $gcc_cv_math_func_fmaf128 = yes; then
28119 cat >>confdefs.h <<_ACEOF
28120 #define HAVE_FMAF128 1
28121 _ACEOF
28128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28129 $as_echo_n "checking for fmodf128... " >&6; }
28130 if ${gcc_cv_math_func_fmodf128+:} false; then :
28131 $as_echo_n "(cached) " >&6
28132 else
28133 if test x$gcc_no_link = xyes; then
28134 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28137 /* end confdefs.h. */
28139 #ifdef HAVE_COMPLEX_H
28140 #include <complex.h>
28141 #endif
28142 #ifdef HAVE_MATH_H
28143 #include <math.h>
28144 #endif
28146 int (*ptr)() = (int (*)())fmodf128;
28149 main ()
28151 return 0;
28154 _ACEOF
28155 if ac_fn_c_try_link "$LINENO"; then :
28156 gcc_cv_math_func_fmodf128=yes
28157 else
28158 gcc_cv_math_func_fmodf128=no
28160 rm -f core conftest.err conftest.$ac_objext \
28161 conftest$ac_exeext conftest.$ac_ext
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28164 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28165 if test $gcc_cv_math_func_fmodf128 = yes; then
28167 cat >>confdefs.h <<_ACEOF
28168 #define HAVE_FMODF128 1
28169 _ACEOF
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28177 $as_echo_n "checking for frexpf128... " >&6; }
28178 if ${gcc_cv_math_func_frexpf128+:} false; then :
28179 $as_echo_n "(cached) " >&6
28180 else
28181 if test x$gcc_no_link = xyes; then
28182 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28185 /* end confdefs.h. */
28187 #ifdef HAVE_COMPLEX_H
28188 #include <complex.h>
28189 #endif
28190 #ifdef HAVE_MATH_H
28191 #include <math.h>
28192 #endif
28194 int (*ptr)() = (int (*)())frexpf128;
28197 main ()
28199 return 0;
28202 _ACEOF
28203 if ac_fn_c_try_link "$LINENO"; then :
28204 gcc_cv_math_func_frexpf128=yes
28205 else
28206 gcc_cv_math_func_frexpf128=no
28208 rm -f core conftest.err conftest.$ac_objext \
28209 conftest$ac_exeext conftest.$ac_ext
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28212 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28213 if test $gcc_cv_math_func_frexpf128 = yes; then
28215 cat >>confdefs.h <<_ACEOF
28216 #define HAVE_FREXPF128 1
28217 _ACEOF
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28225 $as_echo_n "checking for hypotf128... " >&6; }
28226 if ${gcc_cv_math_func_hypotf128+:} false; then :
28227 $as_echo_n "(cached) " >&6
28228 else
28229 if test x$gcc_no_link = xyes; then
28230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28233 /* end confdefs.h. */
28235 #ifdef HAVE_COMPLEX_H
28236 #include <complex.h>
28237 #endif
28238 #ifdef HAVE_MATH_H
28239 #include <math.h>
28240 #endif
28242 int (*ptr)() = (int (*)())hypotf128;
28245 main ()
28247 return 0;
28250 _ACEOF
28251 if ac_fn_c_try_link "$LINENO"; then :
28252 gcc_cv_math_func_hypotf128=yes
28253 else
28254 gcc_cv_math_func_hypotf128=no
28256 rm -f core conftest.err conftest.$ac_objext \
28257 conftest$ac_exeext conftest.$ac_ext
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28260 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28261 if test $gcc_cv_math_func_hypotf128 = yes; then
28263 cat >>confdefs.h <<_ACEOF
28264 #define HAVE_HYPOTF128 1
28265 _ACEOF
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28273 $as_echo_n "checking for ldexpf128... " >&6; }
28274 if ${gcc_cv_math_func_ldexpf128+:} false; then :
28275 $as_echo_n "(cached) " >&6
28276 else
28277 if test x$gcc_no_link = xyes; then
28278 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28281 /* end confdefs.h. */
28283 #ifdef HAVE_COMPLEX_H
28284 #include <complex.h>
28285 #endif
28286 #ifdef HAVE_MATH_H
28287 #include <math.h>
28288 #endif
28290 int (*ptr)() = (int (*)())ldexpf128;
28293 main ()
28295 return 0;
28298 _ACEOF
28299 if ac_fn_c_try_link "$LINENO"; then :
28300 gcc_cv_math_func_ldexpf128=yes
28301 else
28302 gcc_cv_math_func_ldexpf128=no
28304 rm -f core conftest.err conftest.$ac_objext \
28305 conftest$ac_exeext conftest.$ac_ext
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28308 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28309 if test $gcc_cv_math_func_ldexpf128 = yes; then
28311 cat >>confdefs.h <<_ACEOF
28312 #define HAVE_LDEXPF128 1
28313 _ACEOF
28320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28321 $as_echo_n "checking for logf128... " >&6; }
28322 if ${gcc_cv_math_func_logf128+:} false; then :
28323 $as_echo_n "(cached) " >&6
28324 else
28325 if test x$gcc_no_link = xyes; then
28326 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28329 /* end confdefs.h. */
28331 #ifdef HAVE_COMPLEX_H
28332 #include <complex.h>
28333 #endif
28334 #ifdef HAVE_MATH_H
28335 #include <math.h>
28336 #endif
28338 int (*ptr)() = (int (*)())logf128;
28341 main ()
28343 return 0;
28346 _ACEOF
28347 if ac_fn_c_try_link "$LINENO"; then :
28348 gcc_cv_math_func_logf128=yes
28349 else
28350 gcc_cv_math_func_logf128=no
28352 rm -f core conftest.err conftest.$ac_objext \
28353 conftest$ac_exeext conftest.$ac_ext
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28356 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28357 if test $gcc_cv_math_func_logf128 = yes; then
28359 cat >>confdefs.h <<_ACEOF
28360 #define HAVE_LOGF128 1
28361 _ACEOF
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28369 $as_echo_n "checking for clogf128... " >&6; }
28370 if ${gcc_cv_math_func_clogf128+:} false; then :
28371 $as_echo_n "(cached) " >&6
28372 else
28373 if test x$gcc_no_link = xyes; then
28374 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28377 /* end confdefs.h. */
28379 #ifdef HAVE_COMPLEX_H
28380 #include <complex.h>
28381 #endif
28382 #ifdef HAVE_MATH_H
28383 #include <math.h>
28384 #endif
28386 int (*ptr)() = (int (*)())clogf128;
28389 main ()
28391 return 0;
28394 _ACEOF
28395 if ac_fn_c_try_link "$LINENO"; then :
28396 gcc_cv_math_func_clogf128=yes
28397 else
28398 gcc_cv_math_func_clogf128=no
28400 rm -f core conftest.err conftest.$ac_objext \
28401 conftest$ac_exeext conftest.$ac_ext
28403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28404 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28405 if test $gcc_cv_math_func_clogf128 = yes; then
28407 cat >>confdefs.h <<_ACEOF
28408 #define HAVE_CLOGF128 1
28409 _ACEOF
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28417 $as_echo_n "checking for log10f128... " >&6; }
28418 if ${gcc_cv_math_func_log10f128+:} false; then :
28419 $as_echo_n "(cached) " >&6
28420 else
28421 if test x$gcc_no_link = xyes; then
28422 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28425 /* end confdefs.h. */
28427 #ifdef HAVE_COMPLEX_H
28428 #include <complex.h>
28429 #endif
28430 #ifdef HAVE_MATH_H
28431 #include <math.h>
28432 #endif
28434 int (*ptr)() = (int (*)())log10f128;
28437 main ()
28439 return 0;
28442 _ACEOF
28443 if ac_fn_c_try_link "$LINENO"; then :
28444 gcc_cv_math_func_log10f128=yes
28445 else
28446 gcc_cv_math_func_log10f128=no
28448 rm -f core conftest.err conftest.$ac_objext \
28449 conftest$ac_exeext conftest.$ac_ext
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28452 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28453 if test $gcc_cv_math_func_log10f128 = yes; then
28455 cat >>confdefs.h <<_ACEOF
28456 #define HAVE_LOG10F128 1
28457 _ACEOF
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28465 $as_echo_n "checking for clog10f128... " >&6; }
28466 if ${gcc_cv_math_func_clog10f128+:} false; then :
28467 $as_echo_n "(cached) " >&6
28468 else
28469 if test x$gcc_no_link = xyes; then
28470 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28473 /* end confdefs.h. */
28475 #ifdef HAVE_COMPLEX_H
28476 #include <complex.h>
28477 #endif
28478 #ifdef HAVE_MATH_H
28479 #include <math.h>
28480 #endif
28482 int (*ptr)() = (int (*)())clog10f128;
28485 main ()
28487 return 0;
28490 _ACEOF
28491 if ac_fn_c_try_link "$LINENO"; then :
28492 gcc_cv_math_func_clog10f128=yes
28493 else
28494 gcc_cv_math_func_clog10f128=no
28496 rm -f core conftest.err conftest.$ac_objext \
28497 conftest$ac_exeext conftest.$ac_ext
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28500 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28501 if test $gcc_cv_math_func_clog10f128 = yes; then
28503 cat >>confdefs.h <<_ACEOF
28504 #define HAVE_CLOG10F128 1
28505 _ACEOF
28512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28513 $as_echo_n "checking for nextafterf128... " >&6; }
28514 if ${gcc_cv_math_func_nextafterf128+:} false; then :
28515 $as_echo_n "(cached) " >&6
28516 else
28517 if test x$gcc_no_link = xyes; then
28518 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28521 /* end confdefs.h. */
28523 #ifdef HAVE_COMPLEX_H
28524 #include <complex.h>
28525 #endif
28526 #ifdef HAVE_MATH_H
28527 #include <math.h>
28528 #endif
28530 int (*ptr)() = (int (*)())nextafterf128;
28533 main ()
28535 return 0;
28538 _ACEOF
28539 if ac_fn_c_try_link "$LINENO"; then :
28540 gcc_cv_math_func_nextafterf128=yes
28541 else
28542 gcc_cv_math_func_nextafterf128=no
28544 rm -f core conftest.err conftest.$ac_objext \
28545 conftest$ac_exeext conftest.$ac_ext
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28548 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28549 if test $gcc_cv_math_func_nextafterf128 = yes; then
28551 cat >>confdefs.h <<_ACEOF
28552 #define HAVE_NEXTAFTERF128 1
28553 _ACEOF
28560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28561 $as_echo_n "checking for powf128... " >&6; }
28562 if ${gcc_cv_math_func_powf128+:} false; then :
28563 $as_echo_n "(cached) " >&6
28564 else
28565 if test x$gcc_no_link = xyes; then
28566 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28569 /* end confdefs.h. */
28571 #ifdef HAVE_COMPLEX_H
28572 #include <complex.h>
28573 #endif
28574 #ifdef HAVE_MATH_H
28575 #include <math.h>
28576 #endif
28578 int (*ptr)() = (int (*)())powf128;
28581 main ()
28583 return 0;
28586 _ACEOF
28587 if ac_fn_c_try_link "$LINENO"; then :
28588 gcc_cv_math_func_powf128=yes
28589 else
28590 gcc_cv_math_func_powf128=no
28592 rm -f core conftest.err conftest.$ac_objext \
28593 conftest$ac_exeext conftest.$ac_ext
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28596 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28597 if test $gcc_cv_math_func_powf128 = yes; then
28599 cat >>confdefs.h <<_ACEOF
28600 #define HAVE_POWF128 1
28601 _ACEOF
28608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28609 $as_echo_n "checking for cpowf128... " >&6; }
28610 if ${gcc_cv_math_func_cpowf128+:} false; then :
28611 $as_echo_n "(cached) " >&6
28612 else
28613 if test x$gcc_no_link = xyes; then
28614 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28617 /* end confdefs.h. */
28619 #ifdef HAVE_COMPLEX_H
28620 #include <complex.h>
28621 #endif
28622 #ifdef HAVE_MATH_H
28623 #include <math.h>
28624 #endif
28626 int (*ptr)() = (int (*)())cpowf128;
28629 main ()
28631 return 0;
28634 _ACEOF
28635 if ac_fn_c_try_link "$LINENO"; then :
28636 gcc_cv_math_func_cpowf128=yes
28637 else
28638 gcc_cv_math_func_cpowf128=no
28640 rm -f core conftest.err conftest.$ac_objext \
28641 conftest$ac_exeext conftest.$ac_ext
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28644 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28645 if test $gcc_cv_math_func_cpowf128 = yes; then
28647 cat >>confdefs.h <<_ACEOF
28648 #define HAVE_CPOWF128 1
28649 _ACEOF
28656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28657 $as_echo_n "checking for roundf128... " >&6; }
28658 if ${gcc_cv_math_func_roundf128+:} false; then :
28659 $as_echo_n "(cached) " >&6
28660 else
28661 if test x$gcc_no_link = xyes; then
28662 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28665 /* end confdefs.h. */
28667 #ifdef HAVE_COMPLEX_H
28668 #include <complex.h>
28669 #endif
28670 #ifdef HAVE_MATH_H
28671 #include <math.h>
28672 #endif
28674 int (*ptr)() = (int (*)())roundf128;
28677 main ()
28679 return 0;
28682 _ACEOF
28683 if ac_fn_c_try_link "$LINENO"; then :
28684 gcc_cv_math_func_roundf128=yes
28685 else
28686 gcc_cv_math_func_roundf128=no
28688 rm -f core conftest.err conftest.$ac_objext \
28689 conftest$ac_exeext conftest.$ac_ext
28691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28692 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28693 if test $gcc_cv_math_func_roundf128 = yes; then
28695 cat >>confdefs.h <<_ACEOF
28696 #define HAVE_ROUNDF128 1
28697 _ACEOF
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28705 $as_echo_n "checking for lroundf128... " >&6; }
28706 if ${gcc_cv_math_func_lroundf128+:} false; then :
28707 $as_echo_n "(cached) " >&6
28708 else
28709 if test x$gcc_no_link = xyes; then
28710 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28713 /* end confdefs.h. */
28715 #ifdef HAVE_COMPLEX_H
28716 #include <complex.h>
28717 #endif
28718 #ifdef HAVE_MATH_H
28719 #include <math.h>
28720 #endif
28722 int (*ptr)() = (int (*)())lroundf128;
28725 main ()
28727 return 0;
28730 _ACEOF
28731 if ac_fn_c_try_link "$LINENO"; then :
28732 gcc_cv_math_func_lroundf128=yes
28733 else
28734 gcc_cv_math_func_lroundf128=no
28736 rm -f core conftest.err conftest.$ac_objext \
28737 conftest$ac_exeext conftest.$ac_ext
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28740 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28741 if test $gcc_cv_math_func_lroundf128 = yes; then
28743 cat >>confdefs.h <<_ACEOF
28744 #define HAVE_LROUNDF128 1
28745 _ACEOF
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28753 $as_echo_n "checking for llroundf128... " >&6; }
28754 if ${gcc_cv_math_func_llroundf128+:} false; then :
28755 $as_echo_n "(cached) " >&6
28756 else
28757 if test x$gcc_no_link = xyes; then
28758 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28761 /* end confdefs.h. */
28763 #ifdef HAVE_COMPLEX_H
28764 #include <complex.h>
28765 #endif
28766 #ifdef HAVE_MATH_H
28767 #include <math.h>
28768 #endif
28770 int (*ptr)() = (int (*)())llroundf128;
28773 main ()
28775 return 0;
28778 _ACEOF
28779 if ac_fn_c_try_link "$LINENO"; then :
28780 gcc_cv_math_func_llroundf128=yes
28781 else
28782 gcc_cv_math_func_llroundf128=no
28784 rm -f core conftest.err conftest.$ac_objext \
28785 conftest$ac_exeext conftest.$ac_ext
28787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28788 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28789 if test $gcc_cv_math_func_llroundf128 = yes; then
28791 cat >>confdefs.h <<_ACEOF
28792 #define HAVE_LLROUNDF128 1
28793 _ACEOF
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28801 $as_echo_n "checking for scalbnf128... " >&6; }
28802 if ${gcc_cv_math_func_scalbnf128+:} false; then :
28803 $as_echo_n "(cached) " >&6
28804 else
28805 if test x$gcc_no_link = xyes; then
28806 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28809 /* end confdefs.h. */
28811 #ifdef HAVE_COMPLEX_H
28812 #include <complex.h>
28813 #endif
28814 #ifdef HAVE_MATH_H
28815 #include <math.h>
28816 #endif
28818 int (*ptr)() = (int (*)())scalbnf128;
28821 main ()
28823 return 0;
28826 _ACEOF
28827 if ac_fn_c_try_link "$LINENO"; then :
28828 gcc_cv_math_func_scalbnf128=yes
28829 else
28830 gcc_cv_math_func_scalbnf128=no
28832 rm -f core conftest.err conftest.$ac_objext \
28833 conftest$ac_exeext conftest.$ac_ext
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28836 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28837 if test $gcc_cv_math_func_scalbnf128 = yes; then
28839 cat >>confdefs.h <<_ACEOF
28840 #define HAVE_SCALBNF128 1
28841 _ACEOF
28848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28849 $as_echo_n "checking for sinf128... " >&6; }
28850 if ${gcc_cv_math_func_sinf128+:} false; then :
28851 $as_echo_n "(cached) " >&6
28852 else
28853 if test x$gcc_no_link = xyes; then
28854 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28857 /* end confdefs.h. */
28859 #ifdef HAVE_COMPLEX_H
28860 #include <complex.h>
28861 #endif
28862 #ifdef HAVE_MATH_H
28863 #include <math.h>
28864 #endif
28866 int (*ptr)() = (int (*)())sinf128;
28869 main ()
28871 return 0;
28874 _ACEOF
28875 if ac_fn_c_try_link "$LINENO"; then :
28876 gcc_cv_math_func_sinf128=yes
28877 else
28878 gcc_cv_math_func_sinf128=no
28880 rm -f core conftest.err conftest.$ac_objext \
28881 conftest$ac_exeext conftest.$ac_ext
28883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28884 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28885 if test $gcc_cv_math_func_sinf128 = yes; then
28887 cat >>confdefs.h <<_ACEOF
28888 #define HAVE_SINF128 1
28889 _ACEOF
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28897 $as_echo_n "checking for csinf128... " >&6; }
28898 if ${gcc_cv_math_func_csinf128+:} false; then :
28899 $as_echo_n "(cached) " >&6
28900 else
28901 if test x$gcc_no_link = xyes; then
28902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28905 /* end confdefs.h. */
28907 #ifdef HAVE_COMPLEX_H
28908 #include <complex.h>
28909 #endif
28910 #ifdef HAVE_MATH_H
28911 #include <math.h>
28912 #endif
28914 int (*ptr)() = (int (*)())csinf128;
28917 main ()
28919 return 0;
28922 _ACEOF
28923 if ac_fn_c_try_link "$LINENO"; then :
28924 gcc_cv_math_func_csinf128=yes
28925 else
28926 gcc_cv_math_func_csinf128=no
28928 rm -f core conftest.err conftest.$ac_objext \
28929 conftest$ac_exeext conftest.$ac_ext
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28932 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28933 if test $gcc_cv_math_func_csinf128 = yes; then
28935 cat >>confdefs.h <<_ACEOF
28936 #define HAVE_CSINF128 1
28937 _ACEOF
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28945 $as_echo_n "checking for sinhf128... " >&6; }
28946 if ${gcc_cv_math_func_sinhf128+:} false; then :
28947 $as_echo_n "(cached) " >&6
28948 else
28949 if test x$gcc_no_link = xyes; then
28950 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28953 /* end confdefs.h. */
28955 #ifdef HAVE_COMPLEX_H
28956 #include <complex.h>
28957 #endif
28958 #ifdef HAVE_MATH_H
28959 #include <math.h>
28960 #endif
28962 int (*ptr)() = (int (*)())sinhf128;
28965 main ()
28967 return 0;
28970 _ACEOF
28971 if ac_fn_c_try_link "$LINENO"; then :
28972 gcc_cv_math_func_sinhf128=yes
28973 else
28974 gcc_cv_math_func_sinhf128=no
28976 rm -f core conftest.err conftest.$ac_objext \
28977 conftest$ac_exeext conftest.$ac_ext
28979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28980 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28981 if test $gcc_cv_math_func_sinhf128 = yes; then
28983 cat >>confdefs.h <<_ACEOF
28984 #define HAVE_SINHF128 1
28985 _ACEOF
28992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28993 $as_echo_n "checking for csinhf128... " >&6; }
28994 if ${gcc_cv_math_func_csinhf128+:} false; then :
28995 $as_echo_n "(cached) " >&6
28996 else
28997 if test x$gcc_no_link = xyes; then
28998 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29001 /* end confdefs.h. */
29003 #ifdef HAVE_COMPLEX_H
29004 #include <complex.h>
29005 #endif
29006 #ifdef HAVE_MATH_H
29007 #include <math.h>
29008 #endif
29010 int (*ptr)() = (int (*)())csinhf128;
29013 main ()
29015 return 0;
29018 _ACEOF
29019 if ac_fn_c_try_link "$LINENO"; then :
29020 gcc_cv_math_func_csinhf128=yes
29021 else
29022 gcc_cv_math_func_csinhf128=no
29024 rm -f core conftest.err conftest.$ac_objext \
29025 conftest$ac_exeext conftest.$ac_ext
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
29028 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
29029 if test $gcc_cv_math_func_csinhf128 = yes; then
29031 cat >>confdefs.h <<_ACEOF
29032 #define HAVE_CSINHF128 1
29033 _ACEOF
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
29041 $as_echo_n "checking for sqrtf128... " >&6; }
29042 if ${gcc_cv_math_func_sqrtf128+:} false; then :
29043 $as_echo_n "(cached) " >&6
29044 else
29045 if test x$gcc_no_link = xyes; then
29046 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29049 /* end confdefs.h. */
29051 #ifdef HAVE_COMPLEX_H
29052 #include <complex.h>
29053 #endif
29054 #ifdef HAVE_MATH_H
29055 #include <math.h>
29056 #endif
29058 int (*ptr)() = (int (*)())sqrtf128;
29061 main ()
29063 return 0;
29066 _ACEOF
29067 if ac_fn_c_try_link "$LINENO"; then :
29068 gcc_cv_math_func_sqrtf128=yes
29069 else
29070 gcc_cv_math_func_sqrtf128=no
29072 rm -f core conftest.err conftest.$ac_objext \
29073 conftest$ac_exeext conftest.$ac_ext
29075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
29076 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
29077 if test $gcc_cv_math_func_sqrtf128 = yes; then
29079 cat >>confdefs.h <<_ACEOF
29080 #define HAVE_SQRTF128 1
29081 _ACEOF
29088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
29089 $as_echo_n "checking for csqrtf128... " >&6; }
29090 if ${gcc_cv_math_func_csqrtf128+:} false; then :
29091 $as_echo_n "(cached) " >&6
29092 else
29093 if test x$gcc_no_link = xyes; then
29094 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29097 /* end confdefs.h. */
29099 #ifdef HAVE_COMPLEX_H
29100 #include <complex.h>
29101 #endif
29102 #ifdef HAVE_MATH_H
29103 #include <math.h>
29104 #endif
29106 int (*ptr)() = (int (*)())csqrtf128;
29109 main ()
29111 return 0;
29114 _ACEOF
29115 if ac_fn_c_try_link "$LINENO"; then :
29116 gcc_cv_math_func_csqrtf128=yes
29117 else
29118 gcc_cv_math_func_csqrtf128=no
29120 rm -f core conftest.err conftest.$ac_objext \
29121 conftest$ac_exeext conftest.$ac_ext
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29124 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29125 if test $gcc_cv_math_func_csqrtf128 = yes; then
29127 cat >>confdefs.h <<_ACEOF
29128 #define HAVE_CSQRTF128 1
29129 _ACEOF
29136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29137 $as_echo_n "checking for tanf128... " >&6; }
29138 if ${gcc_cv_math_func_tanf128+:} false; then :
29139 $as_echo_n "(cached) " >&6
29140 else
29141 if test x$gcc_no_link = xyes; then
29142 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h. */
29147 #ifdef HAVE_COMPLEX_H
29148 #include <complex.h>
29149 #endif
29150 #ifdef HAVE_MATH_H
29151 #include <math.h>
29152 #endif
29154 int (*ptr)() = (int (*)())tanf128;
29157 main ()
29159 return 0;
29162 _ACEOF
29163 if ac_fn_c_try_link "$LINENO"; then :
29164 gcc_cv_math_func_tanf128=yes
29165 else
29166 gcc_cv_math_func_tanf128=no
29168 rm -f core conftest.err conftest.$ac_objext \
29169 conftest$ac_exeext conftest.$ac_ext
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29172 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29173 if test $gcc_cv_math_func_tanf128 = yes; then
29175 cat >>confdefs.h <<_ACEOF
29176 #define HAVE_TANF128 1
29177 _ACEOF
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29185 $as_echo_n "checking for ctanf128... " >&6; }
29186 if ${gcc_cv_math_func_ctanf128+:} false; then :
29187 $as_echo_n "(cached) " >&6
29188 else
29189 if test x$gcc_no_link = xyes; then
29190 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29193 /* end confdefs.h. */
29195 #ifdef HAVE_COMPLEX_H
29196 #include <complex.h>
29197 #endif
29198 #ifdef HAVE_MATH_H
29199 #include <math.h>
29200 #endif
29202 int (*ptr)() = (int (*)())ctanf128;
29205 main ()
29207 return 0;
29210 _ACEOF
29211 if ac_fn_c_try_link "$LINENO"; then :
29212 gcc_cv_math_func_ctanf128=yes
29213 else
29214 gcc_cv_math_func_ctanf128=no
29216 rm -f core conftest.err conftest.$ac_objext \
29217 conftest$ac_exeext conftest.$ac_ext
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29220 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29221 if test $gcc_cv_math_func_ctanf128 = yes; then
29223 cat >>confdefs.h <<_ACEOF
29224 #define HAVE_CTANF128 1
29225 _ACEOF
29232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29233 $as_echo_n "checking for tanhf128... " >&6; }
29234 if ${gcc_cv_math_func_tanhf128+:} false; then :
29235 $as_echo_n "(cached) " >&6
29236 else
29237 if test x$gcc_no_link = xyes; then
29238 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29241 /* end confdefs.h. */
29243 #ifdef HAVE_COMPLEX_H
29244 #include <complex.h>
29245 #endif
29246 #ifdef HAVE_MATH_H
29247 #include <math.h>
29248 #endif
29250 int (*ptr)() = (int (*)())tanhf128;
29253 main ()
29255 return 0;
29258 _ACEOF
29259 if ac_fn_c_try_link "$LINENO"; then :
29260 gcc_cv_math_func_tanhf128=yes
29261 else
29262 gcc_cv_math_func_tanhf128=no
29264 rm -f core conftest.err conftest.$ac_objext \
29265 conftest$ac_exeext conftest.$ac_ext
29267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29268 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29269 if test $gcc_cv_math_func_tanhf128 = yes; then
29271 cat >>confdefs.h <<_ACEOF
29272 #define HAVE_TANHF128 1
29273 _ACEOF
29280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29281 $as_echo_n "checking for ctanhf128... " >&6; }
29282 if ${gcc_cv_math_func_ctanhf128+:} false; then :
29283 $as_echo_n "(cached) " >&6
29284 else
29285 if test x$gcc_no_link = xyes; then
29286 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29289 /* end confdefs.h. */
29291 #ifdef HAVE_COMPLEX_H
29292 #include <complex.h>
29293 #endif
29294 #ifdef HAVE_MATH_H
29295 #include <math.h>
29296 #endif
29298 int (*ptr)() = (int (*)())ctanhf128;
29301 main ()
29303 return 0;
29306 _ACEOF
29307 if ac_fn_c_try_link "$LINENO"; then :
29308 gcc_cv_math_func_ctanhf128=yes
29309 else
29310 gcc_cv_math_func_ctanhf128=no
29312 rm -f core conftest.err conftest.$ac_objext \
29313 conftest$ac_exeext conftest.$ac_ext
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29316 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29317 if test $gcc_cv_math_func_ctanhf128 = yes; then
29319 cat >>confdefs.h <<_ACEOF
29320 #define HAVE_CTANHF128 1
29321 _ACEOF
29328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29329 $as_echo_n "checking for truncf128... " >&6; }
29330 if ${gcc_cv_math_func_truncf128+:} false; then :
29331 $as_echo_n "(cached) " >&6
29332 else
29333 if test x$gcc_no_link = xyes; then
29334 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29337 /* end confdefs.h. */
29339 #ifdef HAVE_COMPLEX_H
29340 #include <complex.h>
29341 #endif
29342 #ifdef HAVE_MATH_H
29343 #include <math.h>
29344 #endif
29346 int (*ptr)() = (int (*)())truncf128;
29349 main ()
29351 return 0;
29354 _ACEOF
29355 if ac_fn_c_try_link "$LINENO"; then :
29356 gcc_cv_math_func_truncf128=yes
29357 else
29358 gcc_cv_math_func_truncf128=no
29360 rm -f core conftest.err conftest.$ac_objext \
29361 conftest$ac_exeext conftest.$ac_ext
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29364 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29365 if test $gcc_cv_math_func_truncf128 = yes; then
29367 cat >>confdefs.h <<_ACEOF
29368 #define HAVE_TRUNCF128 1
29369 _ACEOF
29376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29377 $as_echo_n "checking for erff128... " >&6; }
29378 if ${gcc_cv_math_func_erff128+:} false; then :
29379 $as_echo_n "(cached) " >&6
29380 else
29381 if test x$gcc_no_link = xyes; then
29382 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29385 /* end confdefs.h. */
29387 #ifdef HAVE_COMPLEX_H
29388 #include <complex.h>
29389 #endif
29390 #ifdef HAVE_MATH_H
29391 #include <math.h>
29392 #endif
29394 int (*ptr)() = (int (*)())erff128;
29397 main ()
29399 return 0;
29402 _ACEOF
29403 if ac_fn_c_try_link "$LINENO"; then :
29404 gcc_cv_math_func_erff128=yes
29405 else
29406 gcc_cv_math_func_erff128=no
29408 rm -f core conftest.err conftest.$ac_objext \
29409 conftest$ac_exeext conftest.$ac_ext
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29412 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29413 if test $gcc_cv_math_func_erff128 = yes; then
29415 cat >>confdefs.h <<_ACEOF
29416 #define HAVE_ERFF128 1
29417 _ACEOF
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29425 $as_echo_n "checking for erfcf128... " >&6; }
29426 if ${gcc_cv_math_func_erfcf128+:} false; then :
29427 $as_echo_n "(cached) " >&6
29428 else
29429 if test x$gcc_no_link = xyes; then
29430 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29433 /* end confdefs.h. */
29435 #ifdef HAVE_COMPLEX_H
29436 #include <complex.h>
29437 #endif
29438 #ifdef HAVE_MATH_H
29439 #include <math.h>
29440 #endif
29442 int (*ptr)() = (int (*)())erfcf128;
29445 main ()
29447 return 0;
29450 _ACEOF
29451 if ac_fn_c_try_link "$LINENO"; then :
29452 gcc_cv_math_func_erfcf128=yes
29453 else
29454 gcc_cv_math_func_erfcf128=no
29456 rm -f core conftest.err conftest.$ac_objext \
29457 conftest$ac_exeext conftest.$ac_ext
29459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29460 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29461 if test $gcc_cv_math_func_erfcf128 = yes; then
29463 cat >>confdefs.h <<_ACEOF
29464 #define HAVE_ERFCF128 1
29465 _ACEOF
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29473 $as_echo_n "checking for j0f128... " >&6; }
29474 if ${gcc_cv_math_func_j0f128+:} false; then :
29475 $as_echo_n "(cached) " >&6
29476 else
29477 if test x$gcc_no_link = xyes; then
29478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29481 /* end confdefs.h. */
29483 #ifdef HAVE_COMPLEX_H
29484 #include <complex.h>
29485 #endif
29486 #ifdef HAVE_MATH_H
29487 #include <math.h>
29488 #endif
29490 int (*ptr)() = (int (*)())j0f128;
29493 main ()
29495 return 0;
29498 _ACEOF
29499 if ac_fn_c_try_link "$LINENO"; then :
29500 gcc_cv_math_func_j0f128=yes
29501 else
29502 gcc_cv_math_func_j0f128=no
29504 rm -f core conftest.err conftest.$ac_objext \
29505 conftest$ac_exeext conftest.$ac_ext
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29508 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29509 if test $gcc_cv_math_func_j0f128 = yes; then
29511 cat >>confdefs.h <<_ACEOF
29512 #define HAVE_J0F128 1
29513 _ACEOF
29520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29521 $as_echo_n "checking for j1f128... " >&6; }
29522 if ${gcc_cv_math_func_j1f128+:} false; then :
29523 $as_echo_n "(cached) " >&6
29524 else
29525 if test x$gcc_no_link = xyes; then
29526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29529 /* end confdefs.h. */
29531 #ifdef HAVE_COMPLEX_H
29532 #include <complex.h>
29533 #endif
29534 #ifdef HAVE_MATH_H
29535 #include <math.h>
29536 #endif
29538 int (*ptr)() = (int (*)())j1f128;
29541 main ()
29543 return 0;
29546 _ACEOF
29547 if ac_fn_c_try_link "$LINENO"; then :
29548 gcc_cv_math_func_j1f128=yes
29549 else
29550 gcc_cv_math_func_j1f128=no
29552 rm -f core conftest.err conftest.$ac_objext \
29553 conftest$ac_exeext conftest.$ac_ext
29555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29556 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29557 if test $gcc_cv_math_func_j1f128 = yes; then
29559 cat >>confdefs.h <<_ACEOF
29560 #define HAVE_J1F128 1
29561 _ACEOF
29568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29569 $as_echo_n "checking for jnf128... " >&6; }
29570 if ${gcc_cv_math_func_jnf128+:} false; then :
29571 $as_echo_n "(cached) " >&6
29572 else
29573 if test x$gcc_no_link = xyes; then
29574 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29577 /* end confdefs.h. */
29579 #ifdef HAVE_COMPLEX_H
29580 #include <complex.h>
29581 #endif
29582 #ifdef HAVE_MATH_H
29583 #include <math.h>
29584 #endif
29586 int (*ptr)() = (int (*)())jnf128;
29589 main ()
29591 return 0;
29594 _ACEOF
29595 if ac_fn_c_try_link "$LINENO"; then :
29596 gcc_cv_math_func_jnf128=yes
29597 else
29598 gcc_cv_math_func_jnf128=no
29600 rm -f core conftest.err conftest.$ac_objext \
29601 conftest$ac_exeext conftest.$ac_ext
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29604 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29605 if test $gcc_cv_math_func_jnf128 = yes; then
29607 cat >>confdefs.h <<_ACEOF
29608 #define HAVE_JNF128 1
29609 _ACEOF
29616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29617 $as_echo_n "checking for y0f128... " >&6; }
29618 if ${gcc_cv_math_func_y0f128+:} false; then :
29619 $as_echo_n "(cached) " >&6
29620 else
29621 if test x$gcc_no_link = xyes; then
29622 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29625 /* end confdefs.h. */
29627 #ifdef HAVE_COMPLEX_H
29628 #include <complex.h>
29629 #endif
29630 #ifdef HAVE_MATH_H
29631 #include <math.h>
29632 #endif
29634 int (*ptr)() = (int (*)())y0f128;
29637 main ()
29639 return 0;
29642 _ACEOF
29643 if ac_fn_c_try_link "$LINENO"; then :
29644 gcc_cv_math_func_y0f128=yes
29645 else
29646 gcc_cv_math_func_y0f128=no
29648 rm -f core conftest.err conftest.$ac_objext \
29649 conftest$ac_exeext conftest.$ac_ext
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29652 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29653 if test $gcc_cv_math_func_y0f128 = yes; then
29655 cat >>confdefs.h <<_ACEOF
29656 #define HAVE_Y0F128 1
29657 _ACEOF
29664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29665 $as_echo_n "checking for y1f128... " >&6; }
29666 if ${gcc_cv_math_func_y1f128+:} false; then :
29667 $as_echo_n "(cached) " >&6
29668 else
29669 if test x$gcc_no_link = xyes; then
29670 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29673 /* end confdefs.h. */
29675 #ifdef HAVE_COMPLEX_H
29676 #include <complex.h>
29677 #endif
29678 #ifdef HAVE_MATH_H
29679 #include <math.h>
29680 #endif
29682 int (*ptr)() = (int (*)())y1f128;
29685 main ()
29687 return 0;
29690 _ACEOF
29691 if ac_fn_c_try_link "$LINENO"; then :
29692 gcc_cv_math_func_y1f128=yes
29693 else
29694 gcc_cv_math_func_y1f128=no
29696 rm -f core conftest.err conftest.$ac_objext \
29697 conftest$ac_exeext conftest.$ac_ext
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29700 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29701 if test $gcc_cv_math_func_y1f128 = yes; then
29703 cat >>confdefs.h <<_ACEOF
29704 #define HAVE_Y1F128 1
29705 _ACEOF
29712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29713 $as_echo_n "checking for ynf128... " >&6; }
29714 if ${gcc_cv_math_func_ynf128+:} false; then :
29715 $as_echo_n "(cached) " >&6
29716 else
29717 if test x$gcc_no_link = xyes; then
29718 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29721 /* end confdefs.h. */
29723 #ifdef HAVE_COMPLEX_H
29724 #include <complex.h>
29725 #endif
29726 #ifdef HAVE_MATH_H
29727 #include <math.h>
29728 #endif
29730 int (*ptr)() = (int (*)())ynf128;
29733 main ()
29735 return 0;
29738 _ACEOF
29739 if ac_fn_c_try_link "$LINENO"; then :
29740 gcc_cv_math_func_ynf128=yes
29741 else
29742 gcc_cv_math_func_ynf128=no
29744 rm -f core conftest.err conftest.$ac_objext \
29745 conftest$ac_exeext conftest.$ac_ext
29747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29748 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29749 if test $gcc_cv_math_func_ynf128 = yes; then
29751 cat >>confdefs.h <<_ACEOF
29752 #define HAVE_YNF128 1
29753 _ACEOF
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29761 $as_echo_n "checking for tgammaf128... " >&6; }
29762 if ${gcc_cv_math_func_tgammaf128+:} false; then :
29763 $as_echo_n "(cached) " >&6
29764 else
29765 if test x$gcc_no_link = xyes; then
29766 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29769 /* end confdefs.h. */
29771 #ifdef HAVE_COMPLEX_H
29772 #include <complex.h>
29773 #endif
29774 #ifdef HAVE_MATH_H
29775 #include <math.h>
29776 #endif
29778 int (*ptr)() = (int (*)())tgammaf128;
29781 main ()
29783 return 0;
29786 _ACEOF
29787 if ac_fn_c_try_link "$LINENO"; then :
29788 gcc_cv_math_func_tgammaf128=yes
29789 else
29790 gcc_cv_math_func_tgammaf128=no
29792 rm -f core conftest.err conftest.$ac_objext \
29793 conftest$ac_exeext conftest.$ac_ext
29795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29796 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29797 if test $gcc_cv_math_func_tgammaf128 = yes; then
29799 cat >>confdefs.h <<_ACEOF
29800 #define HAVE_TGAMMAF128 1
29801 _ACEOF
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29809 $as_echo_n "checking for lgammaf128... " >&6; }
29810 if ${gcc_cv_math_func_lgammaf128+:} false; then :
29811 $as_echo_n "(cached) " >&6
29812 else
29813 if test x$gcc_no_link = xyes; then
29814 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29817 /* end confdefs.h. */
29819 #ifdef HAVE_COMPLEX_H
29820 #include <complex.h>
29821 #endif
29822 #ifdef HAVE_MATH_H
29823 #include <math.h>
29824 #endif
29826 int (*ptr)() = (int (*)())lgammaf128;
29829 main ()
29831 return 0;
29834 _ACEOF
29835 if ac_fn_c_try_link "$LINENO"; then :
29836 gcc_cv_math_func_lgammaf128=yes
29837 else
29838 gcc_cv_math_func_lgammaf128=no
29840 rm -f core conftest.err conftest.$ac_objext \
29841 conftest$ac_exeext conftest.$ac_ext
29843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29844 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29845 if test $gcc_cv_math_func_lgammaf128 = yes; then
29847 cat >>confdefs.h <<_ACEOF
29848 #define HAVE_LGAMMAF128 1
29849 _ACEOF
29857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29858 $as_echo_n "checking for cacosf128... " >&6; }
29859 if ${gcc_cv_math_func_cacosf128+:} false; then :
29860 $as_echo_n "(cached) " >&6
29861 else
29862 if test x$gcc_no_link = xyes; then
29863 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29868 #ifdef HAVE_COMPLEX_H
29869 #include <complex.h>
29870 #endif
29871 #ifdef HAVE_MATH_H
29872 #include <math.h>
29873 #endif
29875 int (*ptr)() = (int (*)())cacosf128;
29878 main ()
29880 return 0;
29883 _ACEOF
29884 if ac_fn_c_try_link "$LINENO"; then :
29885 gcc_cv_math_func_cacosf128=yes
29886 else
29887 gcc_cv_math_func_cacosf128=no
29889 rm -f core conftest.err conftest.$ac_objext \
29890 conftest$ac_exeext conftest.$ac_ext
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29893 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29894 if test $gcc_cv_math_func_cacosf128 = yes; then
29896 cat >>confdefs.h <<_ACEOF
29897 #define HAVE_CACOSF128 1
29898 _ACEOF
29905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29906 $as_echo_n "checking for cacoshf128... " >&6; }
29907 if ${gcc_cv_math_func_cacoshf128+:} false; then :
29908 $as_echo_n "(cached) " >&6
29909 else
29910 if test x$gcc_no_link = xyes; then
29911 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29914 /* end confdefs.h. */
29916 #ifdef HAVE_COMPLEX_H
29917 #include <complex.h>
29918 #endif
29919 #ifdef HAVE_MATH_H
29920 #include <math.h>
29921 #endif
29923 int (*ptr)() = (int (*)())cacoshf128;
29926 main ()
29928 return 0;
29931 _ACEOF
29932 if ac_fn_c_try_link "$LINENO"; then :
29933 gcc_cv_math_func_cacoshf128=yes
29934 else
29935 gcc_cv_math_func_cacoshf128=no
29937 rm -f core conftest.err conftest.$ac_objext \
29938 conftest$ac_exeext conftest.$ac_ext
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29941 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29942 if test $gcc_cv_math_func_cacoshf128 = yes; then
29944 cat >>confdefs.h <<_ACEOF
29945 #define HAVE_CACOSHF128 1
29946 _ACEOF
29953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29954 $as_echo_n "checking for casinf128... " >&6; }
29955 if ${gcc_cv_math_func_casinf128+:} false; then :
29956 $as_echo_n "(cached) " >&6
29957 else
29958 if test x$gcc_no_link = xyes; then
29959 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29962 /* end confdefs.h. */
29964 #ifdef HAVE_COMPLEX_H
29965 #include <complex.h>
29966 #endif
29967 #ifdef HAVE_MATH_H
29968 #include <math.h>
29969 #endif
29971 int (*ptr)() = (int (*)())casinf128;
29974 main ()
29976 return 0;
29979 _ACEOF
29980 if ac_fn_c_try_link "$LINENO"; then :
29981 gcc_cv_math_func_casinf128=yes
29982 else
29983 gcc_cv_math_func_casinf128=no
29985 rm -f core conftest.err conftest.$ac_objext \
29986 conftest$ac_exeext conftest.$ac_ext
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29989 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29990 if test $gcc_cv_math_func_casinf128 = yes; then
29992 cat >>confdefs.h <<_ACEOF
29993 #define HAVE_CASINF128 1
29994 _ACEOF
30001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
30002 $as_echo_n "checking for casinhf128... " >&6; }
30003 if ${gcc_cv_math_func_casinhf128+:} false; then :
30004 $as_echo_n "(cached) " >&6
30005 else
30006 if test x$gcc_no_link = xyes; then
30007 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30010 /* end confdefs.h. */
30012 #ifdef HAVE_COMPLEX_H
30013 #include <complex.h>
30014 #endif
30015 #ifdef HAVE_MATH_H
30016 #include <math.h>
30017 #endif
30019 int (*ptr)() = (int (*)())casinhf128;
30022 main ()
30024 return 0;
30027 _ACEOF
30028 if ac_fn_c_try_link "$LINENO"; then :
30029 gcc_cv_math_func_casinhf128=yes
30030 else
30031 gcc_cv_math_func_casinhf128=no
30033 rm -f core conftest.err conftest.$ac_objext \
30034 conftest$ac_exeext conftest.$ac_ext
30036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
30037 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
30038 if test $gcc_cv_math_func_casinhf128 = yes; then
30040 cat >>confdefs.h <<_ACEOF
30041 #define HAVE_CASINHF128 1
30042 _ACEOF
30049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
30050 $as_echo_n "checking for catanf128... " >&6; }
30051 if ${gcc_cv_math_func_catanf128+:} false; then :
30052 $as_echo_n "(cached) " >&6
30053 else
30054 if test x$gcc_no_link = xyes; then
30055 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30060 #ifdef HAVE_COMPLEX_H
30061 #include <complex.h>
30062 #endif
30063 #ifdef HAVE_MATH_H
30064 #include <math.h>
30065 #endif
30067 int (*ptr)() = (int (*)())catanf128;
30070 main ()
30072 return 0;
30075 _ACEOF
30076 if ac_fn_c_try_link "$LINENO"; then :
30077 gcc_cv_math_func_catanf128=yes
30078 else
30079 gcc_cv_math_func_catanf128=no
30081 rm -f core conftest.err conftest.$ac_objext \
30082 conftest$ac_exeext conftest.$ac_ext
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
30085 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
30086 if test $gcc_cv_math_func_catanf128 = yes; then
30088 cat >>confdefs.h <<_ACEOF
30089 #define HAVE_CATANF128 1
30090 _ACEOF
30097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
30098 $as_echo_n "checking for catanhf128... " >&6; }
30099 if ${gcc_cv_math_func_catanhf128+:} false; then :
30100 $as_echo_n "(cached) " >&6
30101 else
30102 if test x$gcc_no_link = xyes; then
30103 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30106 /* end confdefs.h. */
30108 #ifdef HAVE_COMPLEX_H
30109 #include <complex.h>
30110 #endif
30111 #ifdef HAVE_MATH_H
30112 #include <math.h>
30113 #endif
30115 int (*ptr)() = (int (*)())catanhf128;
30118 main ()
30120 return 0;
30123 _ACEOF
30124 if ac_fn_c_try_link "$LINENO"; then :
30125 gcc_cv_math_func_catanhf128=yes
30126 else
30127 gcc_cv_math_func_catanhf128=no
30129 rm -f core conftest.err conftest.$ac_objext \
30130 conftest$ac_exeext conftest.$ac_ext
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30133 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30134 if test $gcc_cv_math_func_catanhf128 = yes; then
30136 cat >>confdefs.h <<_ACEOF
30137 #define HAVE_CATANHF128 1
30138 _ACEOF
30143 # Check whether the system has a working stat()
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30146 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30147 if ${libgfor_cv_have_working_stat+:} false; then :
30148 $as_echo_n "(cached) " >&6
30149 else
30151 if test "$cross_compiling" = yes; then :
30153 case "${target}" in
30154 *mingw*) libgfor_cv_have_working_stat=no ;;
30155 *) libgfor_cv_have_working_stat=yes;;
30156 esac
30157 else
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30161 #include <stdio.h>
30162 #include <sys/types.h>
30163 #include <sys/stat.h>
30164 #include <unistd.h>
30166 int main ()
30168 FILE *f, *g;
30169 struct stat st1, st2;
30171 f = fopen ("foo", "w");
30172 g = fopen ("bar", "w");
30173 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30174 return 1;
30175 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30176 return 1;
30177 fclose(f);
30178 fclose(g);
30179 return 0;
30181 _ACEOF
30182 if ac_fn_c_try_run "$LINENO"; then :
30183 libgfor_cv_have_working_stat=yes
30184 else
30185 libgfor_cv_have_working_stat=no
30187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30188 conftest.$ac_objext conftest.beam conftest.$ac_ext
30192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30193 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30194 if test x"$libgfor_cv_have_working_stat" = xyes; then
30196 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30200 # Check whether __mingw_snprintf() is present
30202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30203 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30204 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
30205 $as_echo_n "(cached) " >&6
30206 else
30208 if test x$gcc_no_link = xyes; then
30209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30214 #include <stdio.h>
30215 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30218 main ()
30221 __mingw_snprintf (NULL, 0, "%d\n", 1);
30224 return 0;
30226 _ACEOF
30227 if ac_fn_c_try_link "$LINENO"; then :
30228 eval "libgfor_cv_have_mingw_snprintf=yes"
30229 else
30230 eval "libgfor_cv_have_mingw_snprintf=no"
30232 rm -f core conftest.err conftest.$ac_objext \
30233 conftest$ac_exeext conftest.$ac_ext
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30237 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30238 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
30240 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30245 have_iec_60559_libc_support=no
30246 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30247 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then
30248 have_iec_60559_libc_support=yes
30251 # Check whether libquadmath should be used
30252 # Check whether --enable-libquadmath-support was given.
30253 if test "${enable_libquadmath_support+set}" = set; then :
30254 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
30255 else
30256 if test "x$have_iec_60559_libc_support" = xyes; then
30257 ENABLE_LIBQUADMATH_SUPPORT=default
30258 else
30259 ENABLE_LIBQUADMATH_SUPPORT=yes
30263 enable_libquadmath_support=
30264 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30265 enable_libquadmath_support=no
30266 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30267 enable_libquadmath_support=default
30270 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30271 # and have_iec_60559_libc_support.
30273 LIBQUADSPEC=
30274 LIBQUADLIB=
30275 LIBQUADLIB_DEP=
30276 LIBQUADINCLUDE=
30277 USE_IEC_60559=no
30279 if test "x$enable_libquadmath_support" != xno; then
30281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30282 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30283 if ${libgfor_cv_have_float128+:} false; then :
30284 $as_echo_n "(cached) " >&6
30285 else
30287 if test x$gcc_no_link = xyes; then
30288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h. */
30291 _Float128 foo (_Float128 x)
30293 _Complex _Float128 z1, z2;
30295 z1 = x;
30296 z2 = x / 7.F128;
30297 z2 /= z1;
30299 return (_Float128) z2;
30302 _Float128 bar (_Float128 x)
30304 return x * __builtin_huge_valf128 ();
30307 __float128 baz (__float128 x)
30309 return x * __builtin_huge_valf128 ();
30313 main ()
30316 foo (1.2F128);
30317 bar (1.2F128);
30318 baz (1.2F128);
30319 foo (1.2Q);
30320 bar (1.2Q);
30321 baz (1.2Q);
30324 return 0;
30326 _ACEOF
30327 if ac_fn_c_try_compile "$LINENO"; then :
30329 libgfor_cv_have_float128=yes
30331 else
30333 libgfor_cv_have_float128=no
30336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30337 else
30338 if test x$gcc_no_link = xyes; then
30339 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30342 /* end confdefs.h. */
30344 _Float128 foo (_Float128 x)
30346 _Complex _Float128 z1, z2;
30348 z1 = x;
30349 z2 = x / 7.F128;
30350 z2 /= z1;
30352 return (_Float128) z2;
30355 _Float128 bar (_Float128 x)
30357 return x * __builtin_huge_valf128 ();
30360 __float128 baz (__float128 x)
30362 return x * __builtin_huge_valf128 ();
30366 main ()
30369 foo (1.2F128);
30370 bar (1.2F128);
30371 baz (1.2F128);
30372 foo (1.2Q);
30373 bar (1.2Q);
30374 baz (1.2Q);
30377 return 0;
30379 _ACEOF
30380 if ac_fn_c_try_link "$LINENO"; then :
30382 libgfor_cv_have_float128=yes
30384 else
30386 libgfor_cv_have_float128=no
30389 rm -f core conftest.err conftest.$ac_objext \
30390 conftest$ac_exeext conftest.$ac_ext
30393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30394 $as_echo "$libgfor_cv_have_float128" >&6; }
30396 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then
30397 USE_IEC_60559=yes
30401 if test "x$libgfor_cv_have_float128" = xyes; then
30402 if test "x$USE_IEC_60559" = xyes; then
30404 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30408 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30411 ac_xsave_c_werror_flag=$ac_c_werror_flag
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30413 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30414 if ${libgfor_cv_have_as_needed+:} false; then :
30415 $as_echo_n "(cached) " >&6
30416 else
30418 # Test for native Solaris options first.
30419 # No whitespace after -z to pass it through -Wl.
30420 libgfor_cv_as_needed_option="-zignore"
30421 libgfor_cv_no_as_needed_option="-zrecord"
30422 save_LDFLAGS="$LDFLAGS"
30423 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30424 libgfor_cv_have_as_needed=no
30426 ac_c_werror_flag=yes
30427 if test x$gcc_no_link = xyes; then
30428 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30431 /* end confdefs.h. */
30434 main ()
30438 return 0;
30440 _ACEOF
30441 if ac_fn_c_try_link "$LINENO"; then :
30442 libgfor_cv_have_as_needed=yes
30443 else
30444 libgfor_cv_have_as_needed=no
30446 rm -f core conftest.err conftest.$ac_objext \
30447 conftest$ac_exeext conftest.$ac_ext
30448 LDFLAGS="$save_LDFLAGS"
30449 if test "x$libgfor_cv_have_as_needed" = xno; then
30450 libgfor_cv_as_needed_option="--as-needed"
30451 libgfor_cv_no_as_needed_option="--no-as-needed"
30452 save_LDFLAGS="$LDFLAGS"
30453 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30454 libgfor_cv_have_as_needed=no
30456 ac_c_werror_flag=yes
30457 if test x$gcc_no_link = xyes; then
30458 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30461 /* end confdefs.h. */
30464 main ()
30468 return 0;
30470 _ACEOF
30471 if ac_fn_c_try_link "$LINENO"; then :
30472 libgfor_cv_have_as_needed=yes
30473 else
30474 libgfor_cv_have_as_needed=no
30476 rm -f core conftest.err conftest.$ac_objext \
30477 conftest$ac_exeext conftest.$ac_ext
30478 LDFLAGS="$save_LDFLAGS"
30480 ac_c_werror_flag=$ac_xsave_c_werror_flag
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30484 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30486 touch conftest1.$ac_objext conftest2.$ac_objext
30487 LQUADMATH=-lquadmath
30488 $FC -static-libgfortran -### -o conftest \
30489 conftest1.$ac_objext -lgfortran conftest2.$ac_objext 2>&1 >/dev/null \
30490 | grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30491 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30492 conftest.cmd >/dev/null 2>&1; then
30493 LQUADMATH="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30494 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30495 conftest.cmd >/dev/null 2>&1; then
30496 LQUADMATH="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30497 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30498 conftest.cmd >/dev/null 2>&1; then
30499 LQUADMATH="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30500 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30501 conftest.cmd >/dev/null 2>&1; then
30502 LQUADMATH="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30504 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest conftest.cmd
30506 if test "x$libgfor_cv_have_as_needed" = xyes; then
30507 if test "x$USE_IEC_60559" = xyes; then
30508 LIBQUADSPEC="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30509 else
30510 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30512 else
30513 LIBQUADSPEC="$LQUADMATH"
30515 if test "x$USE_IEC_60559" != xyes; then
30516 if test -f ../libquadmath/libquadmath.la; then
30517 LIBQUADLIB=../libquadmath/libquadmath.la
30518 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
30519 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
30520 else
30521 LIBQUADLIB="-lquadmath"
30524 else
30525 USE_IEC_60559=no
30536 # Check for GNU libc feenableexcept
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30538 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30539 if ${ac_cv_lib_m_feenableexcept+:} false; then :
30540 $as_echo_n "(cached) " >&6
30541 else
30542 ac_check_lib_save_LIBS=$LIBS
30543 LIBS="-lm $LIBS"
30544 if test x$gcc_no_link = xyes; then
30545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30548 /* end confdefs.h. */
30550 /* Override any GCC internal prototype to avoid an error.
30551 Use char because int might match the return type of a GCC
30552 builtin and then its argument prototype would still apply. */
30553 #ifdef __cplusplus
30554 extern "C"
30555 #endif
30556 char feenableexcept ();
30558 main ()
30560 return feenableexcept ();
30562 return 0;
30564 _ACEOF
30565 if ac_fn_c_try_link "$LINENO"; then :
30566 ac_cv_lib_m_feenableexcept=yes
30567 else
30568 ac_cv_lib_m_feenableexcept=no
30570 rm -f core conftest.err conftest.$ac_objext \
30571 conftest$ac_exeext conftest.$ac_ext
30572 LIBS=$ac_check_lib_save_LIBS
30574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30575 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30576 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
30577 have_feenableexcept=yes
30578 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30583 # At least for glibc, clock_gettime is in librt. But don't
30584 # pull that in if it still doesn't give us the function we want. This
30585 # test is copied from libgomp, and modified to not link in -lrt as
30586 # libgfortran calls clock_gettime via a weak reference if it's found
30587 # in librt.
30588 if test "$ac_cv_func_clock_gettime" = no; then
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30590 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30591 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
30592 $as_echo_n "(cached) " >&6
30593 else
30594 ac_check_lib_save_LIBS=$LIBS
30595 LIBS="-lrt $LIBS"
30596 if test x$gcc_no_link = xyes; then
30597 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30600 /* end confdefs.h. */
30602 /* Override any GCC internal prototype to avoid an error.
30603 Use char because int might match the return type of a GCC
30604 builtin and then its argument prototype would still apply. */
30605 #ifdef __cplusplus
30606 extern "C"
30607 #endif
30608 char clock_gettime ();
30610 main ()
30612 return clock_gettime ();
30614 return 0;
30616 _ACEOF
30617 if ac_fn_c_try_link "$LINENO"; then :
30618 ac_cv_lib_rt_clock_gettime=yes
30619 else
30620 ac_cv_lib_rt_clock_gettime=no
30622 rm -f core conftest.err conftest.$ac_objext \
30623 conftest$ac_exeext conftest.$ac_ext
30624 LIBS=$ac_check_lib_save_LIBS
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30627 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30628 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
30630 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30636 # Check for SysV fpsetmask
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30639 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30640 if ${libgfor_cv_have_fpsetmask+:} false; then :
30641 $as_echo_n "(cached) " >&6
30642 else
30644 if test x$gcc_no_link = xyes; then
30645 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30648 /* end confdefs.h. */
30650 #if HAVE_FLOATINGPOINT_H
30651 # include <floatingpoint.h>
30652 #endif /* HAVE_FLOATINGPOINT_H */
30653 #if HAVE_IEEEFP_H
30654 # include <ieeefp.h>
30655 #endif /* HAVE_IEEEFP_H */
30657 main ()
30659 fpsetmask(0);
30661 return 0;
30663 _ACEOF
30664 if ac_fn_c_try_link "$LINENO"; then :
30665 eval "libgfor_cv_have_fpsetmask=yes"
30666 else
30667 eval "libgfor_cv_have_fpsetmask=no"
30669 rm -f core conftest.err conftest.$ac_objext \
30670 conftest$ac_exeext conftest.$ac_ext
30673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30674 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30675 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
30676 have_fpsetmask=yes
30678 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30682 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
30683 #ifdef HAVE_IEEEFP_H
30684 #include <ieeefp.h>
30685 #endif
30686 #include <math.h>
30689 if test "x$ac_cv_type_fp_except" = xyes; then :
30691 cat >>confdefs.h <<_ACEOF
30692 #define HAVE_FP_EXCEPT 1
30693 _ACEOF
30697 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30698 #ifdef HAVE_IEEEFP_H
30699 #include <ieeefp.h>
30700 #endif
30701 #include <math.h>
30704 if test "x$ac_cv_type_fp_except_t" = xyes; then :
30706 cat >>confdefs.h <<_ACEOF
30707 #define HAVE_FP_EXCEPT_T 1
30708 _ACEOF
30713 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30714 #ifdef HAVE_IEEEFP_H
30715 #include <ieeefp.h>
30716 #endif
30717 #include <math.h>
30720 if test "x$ac_cv_type_fp_rnd" = xyes; then :
30722 cat >>confdefs.h <<_ACEOF
30723 #define HAVE_FP_RND 1
30724 _ACEOF
30728 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30729 #ifdef HAVE_IEEEFP_H
30730 #include <ieeefp.h>
30731 #endif
30732 #include <math.h>
30735 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
30737 cat >>confdefs.h <<_ACEOF
30738 #define HAVE_FP_RND_T 1
30739 _ACEOF
30745 # Check whether we have fpsetsticky or fpresetsticky
30746 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30747 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
30748 have_fpsetsticky=yes
30749 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30753 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30754 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
30755 have_fpresetsticky=yes
30756 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30761 # Check for AIX fp_trap and fp_enable
30762 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30763 if test "x$ac_cv_func_fp_trap" = xyes; then :
30764 have_fp_trap=yes
30765 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30769 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30770 if test "x$ac_cv_func_fp_enable" = xyes; then :
30771 have_fp_enable=yes
30772 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30777 # Check if _SOFT_FLOAT is defined
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30780 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30781 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
30782 $as_echo_n "(cached) " >&6
30783 else
30784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30785 /* end confdefs.h. */
30788 main ()
30791 #ifdef _SOFT_FLOAT
30792 int ok;
30793 #else
30794 choke me
30795 #endif
30798 return 0;
30800 _ACEOF
30801 if ac_fn_c_try_compile "$LINENO"; then :
30802 ac_cv_defined__SOFT_FLOAT=yes
30803 else
30804 ac_cv_defined__SOFT_FLOAT=no
30806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30809 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30810 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30811 have_soft_float=yes
30814 # Runs configure.host to set up necessary host-dependent shell variables.
30815 # We then display a message about it, and propagate them through the
30816 # build chain.
30817 . ${srcdir}/configure.host
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30819 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30820 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30821 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30822 FPU_HOST_HEADER=config/${fpu_host}.h
30825 # Whether we will build the IEEE modules
30826 if test x${ieee_support} = xyes; then
30827 IEEE_SUPPORT_TRUE=
30828 IEEE_SUPPORT_FALSE='#'
30829 else
30830 IEEE_SUPPORT_TRUE='#'
30831 IEEE_SUPPORT_FALSE=
30836 # Some targets require additional compiler options for IEEE compatibility.
30837 IEEE_FLAGS="${ieee_flags}"
30840 # Conditionalize the makefile for this target machine.
30841 tmake_file_=
30842 for f in ${tmake_file}
30844 if test -f ${srcdir}/config/$f
30845 then
30846 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
30848 done
30849 tmake_file="${tmake_file_}"
30853 # Check for POSIX getpwuid_r
30855 # There are two versions of getpwuid_r, the POSIX one with 5
30856 # arguments, and another one with 4 arguments used by at least HP-UX
30857 # 10.2.
30858 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30860 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30861 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
30862 $as_echo_n "(cached) " >&6
30863 else
30865 if test x$gcc_no_link = xyes; then
30866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30869 /* end confdefs.h. */
30871 #include <stdio.h>
30872 #include <sys/types.h>
30873 #include <pwd.h>
30875 main ()
30878 getpwuid_r(0, NULL, NULL, 0, NULL);
30881 return 0;
30883 _ACEOF
30884 if ac_fn_c_try_link "$LINENO"; then :
30885 libgfor_cv_posix_getpwuid_r="yes"
30886 else
30887 libgfor_cv_posix_getpwuid_r="no"
30889 rm -f core conftest.err conftest.$ac_objext \
30890 conftest$ac_exeext conftest.$ac_ext
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30893 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30895 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30897 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30902 # Check out attribute support.
30904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30905 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30906 if ${libgfor_cv_have_attribute_visibility+:} false; then :
30907 $as_echo_n "(cached) " >&6
30908 else
30910 save_CFLAGS="$CFLAGS"
30911 CFLAGS="$CFLAGS -Werror"
30912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30913 /* end confdefs.h. */
30914 void __attribute__((visibility("hidden"))) foo(void) { }
30916 main ()
30920 return 0;
30922 _ACEOF
30923 if ac_fn_c_try_compile "$LINENO"; then :
30924 libgfor_cv_have_attribute_visibility=yes
30925 else
30926 libgfor_cv_have_attribute_visibility=no
30928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30929 CFLAGS="$save_CFLAGS"
30931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30932 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30933 if test $libgfor_cv_have_attribute_visibility = yes; then
30935 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30940 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30941 if ${libgfor_cv_have_attribute_alias+:} false; then :
30942 $as_echo_n "(cached) " >&6
30943 else
30945 if test x$gcc_no_link = xyes; then
30946 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30949 /* end confdefs.h. */
30951 void foo(void) { }
30952 extern void bar(void) __attribute__((alias("foo")));
30954 main ()
30956 bar();
30958 return 0;
30960 _ACEOF
30961 if ac_fn_c_try_link "$LINENO"; then :
30962 libgfor_cv_have_attribute_alias=yes
30963 else
30964 libgfor_cv_have_attribute_alias=no
30966 rm -f core conftest.err conftest.$ac_objext \
30967 conftest$ac_exeext conftest.$ac_ext
30969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30970 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30971 if test $libgfor_cv_have_attribute_alias = yes; then
30973 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30977 # Check out atomic builtins support.
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30980 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30981 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
30982 $as_echo_n "(cached) " >&6
30983 else
30985 if test x$gcc_no_link = xyes; then
30986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h. */
30990 int foovar = 0;
30992 main ()
30995 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30996 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30998 return 0;
31000 _ACEOF
31001 if ac_fn_c_try_link "$LINENO"; then :
31002 libgfor_cv_have_atomic_fetch_add=yes
31003 else
31004 libgfor_cv_have_atomic_fetch_add=no
31006 rm -f core conftest.err conftest.$ac_objext \
31007 conftest$ac_exeext conftest.$ac_ext
31009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
31010 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
31011 if test $libgfor_cv_have_atomic_fetch_add = yes; then
31013 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
31017 # Check out #pragma weak.
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
31020 $as_echo_n "checking whether pragma weak works... " >&6; }
31021 if ${libgfor_cv_have_pragma_weak+:} false; then :
31022 $as_echo_n "(cached) " >&6
31023 else
31025 gfor_save_CFLAGS="$CFLAGS"
31026 CFLAGS="$CFLAGS -Wunknown-pragmas"
31027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31028 /* end confdefs.h. */
31030 void foo (void);
31031 #pragma weak foo
31034 main ()
31036 if (foo) foo ();
31038 return 0;
31040 _ACEOF
31041 if ac_fn_c_try_compile "$LINENO"; then :
31042 libgfor_cv_have_pragma_weak=yes
31043 else
31044 libgfor_cv_have_pragma_weak=no
31046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
31049 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
31050 if test $libgfor_cv_have_pragma_weak = yes; then
31052 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
31055 case "$host" in
31056 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
31058 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
31061 esac
31063 # Check out weakref support.
31065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
31066 $as_echo_n "checking whether the target supports weakref... " >&6; }
31067 if ${libgfor_cv_have_weakref+:} false; then :
31068 $as_echo_n "(cached) " >&6
31069 else
31071 save_CFLAGS="$CFLAGS"
31072 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
31073 if test x$gcc_no_link = xyes; then
31074 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31077 /* end confdefs.h. */
31079 static int mytoto (int) __attribute__((__weakref__("toto")));
31082 main ()
31084 return (mytoto != 0);
31086 return 0;
31088 _ACEOF
31089 if ac_fn_c_try_link "$LINENO"; then :
31090 libgfor_cv_have_weakref=yes
31091 else
31092 libgfor_cv_have_weakref=no
31094 rm -f core conftest.err conftest.$ac_objext \
31095 conftest$ac_exeext conftest.$ac_ext
31096 CFLAGS="$save_CFLAGS"
31098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
31099 $as_echo "$libgfor_cv_have_weakref" >&6; }
31100 if test $libgfor_cv_have_weakref = yes; then
31102 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
31106 # Various other checks on target
31108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
31109 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
31110 if ${libgfor_cv_have_unlink_open_file+:} false; then :
31111 $as_echo_n "(cached) " >&6
31112 else
31114 if test "$cross_compiling" = yes; then :
31116 case "${target}" in
31117 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
31118 *) libgfor_cv_have_unlink_open_file=yes;;
31119 esac
31120 else
31121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31122 /* end confdefs.h. */
31124 #include <errno.h>
31125 #include <fcntl.h>
31126 #include <unistd.h>
31127 #include <sys/stat.h>
31129 int main ()
31131 int fd;
31133 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31134 if (fd <= 0)
31135 return 0;
31136 if (unlink ("testfile") == -1)
31137 return 1;
31138 write (fd, "This is a test\n", 15);
31139 close (fd);
31141 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31142 return 0;
31143 else
31144 return 1;
31146 _ACEOF
31147 if ac_fn_c_try_run "$LINENO"; then :
31148 libgfor_cv_have_unlink_open_file=yes
31149 else
31150 libgfor_cv_have_unlink_open_file=no
31152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31153 conftest.$ac_objext conftest.beam conftest.$ac_ext
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31158 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31159 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
31161 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31165 # Check whether line terminator is LF or CRLF
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31168 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31169 if ${libgfor_cv_have_crlf+:} false; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31173 if test "$cross_compiling" = yes; then :
31175 case "${target}" in
31176 *mingw*) libgfor_cv_have_crlf=yes ;;
31177 *) libgfor_cv_have_crlf=no;;
31178 esac
31179 else
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31183 /* This test program should exit with status 0 if system uses a CRLF as
31184 line terminator, and status 1 otherwise.
31185 Since it is used to check for mingw systems, and should return 0 in any
31186 other case, in case of a failure we will not use CRLF. */
31187 #include <sys/stat.h>
31188 #include <stdlib.h>
31189 #include <fcntl.h>
31190 #include <stdio.h>
31192 int main ()
31194 #ifndef O_BINARY
31195 exit(1);
31196 #else
31197 int fd, bytes;
31198 char buff[5];
31200 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31201 if (fd < 0)
31202 exit(1);
31203 if (write (fd, "\n", 1) < 0)
31204 perror ("write");
31206 close (fd);
31208 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31209 exit(1);
31210 bytes = read (fd, buff, 5);
31211 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31212 exit(0);
31213 else
31214 exit(1);
31215 #endif
31217 _ACEOF
31218 if ac_fn_c_try_run "$LINENO"; then :
31219 libgfor_cv_have_crlf=yes
31220 else
31221 libgfor_cv_have_crlf=no
31223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31224 conftest.$ac_objext conftest.beam conftest.$ac_ext
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31229 $as_echo "$libgfor_cv_have_crlf" >&6; }
31230 if test x"$libgfor_cv_have_crlf" = xyes; then
31232 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31236 # Check whether we support AVX extensions
31238 ac_save_CFLAGS="$CFLAGS"
31239 CFLAGS="-O2 -mavx"
31240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31241 /* end confdefs.h. */
31243 void _mm256_zeroall (void)
31245 __builtin_ia32_vzeroall ();
31248 main ()
31252 return 0;
31254 _ACEOF
31255 if ac_fn_c_try_compile "$LINENO"; then :
31257 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31261 CFLAGS="$ac_save_CFLAGS"
31264 # Check whether we support AVX2 extensions
31266 ac_save_CFLAGS="$CFLAGS"
31267 CFLAGS="-O2 -mavx2"
31268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31269 /* end confdefs.h. */
31271 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31272 __v4di
31273 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31275 return __builtin_ia32_andnotsi256 (__X, __Y);
31278 main ()
31282 return 0;
31284 _ACEOF
31285 if ac_fn_c_try_compile "$LINENO"; then :
31287 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31291 CFLAGS="$ac_save_CFLAGS"
31294 # Check whether we support AVX512f extensions
31296 ac_save_CFLAGS="$CFLAGS"
31297 CFLAGS="-O2 -mavx512f"
31298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31299 /* end confdefs.h. */
31301 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31302 __m512d _mm512_add (__m512d a)
31304 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31305 /* For -m64/-mx32 also verify that code will work even if
31306 the target uses call saved zmm16+ and needs to emit
31307 unwind info for them (e.g. on mingw). See PR79127. */
31308 #ifdef __x86_64__
31309 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31310 #endif
31311 return b;
31314 main ()
31318 return 0;
31320 _ACEOF
31321 if ac_fn_c_try_compile "$LINENO"; then :
31323 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31327 CFLAGS="$ac_save_CFLAGS"
31330 # Check for FMA3 extensions
31332 ac_save_CFLAGS="$CFLAGS"
31333 CFLAGS="-O2 -mfma -mno-fma4"
31334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31335 /* end confdefs.h. */
31337 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31338 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31339 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31341 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31342 (__v4sf)__B,
31343 (__v4sf)__C);
31346 main ()
31350 return 0;
31352 _ACEOF
31353 if ac_fn_c_try_compile "$LINENO"; then :
31355 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31359 CFLAGS="$ac_save_CFLAGS"
31362 # Check for FMA4 extensions
31364 ac_save_CFLAGS="$CFLAGS"
31365 CFLAGS="-O2 -mfma4 -mno-fma"
31366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31367 /* end confdefs.h. */
31369 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31370 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31371 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31373 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31374 (__v4sf)__B,
31375 (__v4sf)__C);
31378 main ()
31382 return 0;
31384 _ACEOF
31385 if ac_fn_c_try_compile "$LINENO"; then :
31387 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31391 CFLAGS="$ac_save_CFLAGS"
31394 # Check if AVX128 works
31396 ac_save_CFLAGS="$CFLAGS"
31397 CFLAGS="-O2 -mavx -mprefer-avx128"
31398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31399 /* end confdefs.h. */
31401 void foo()
31405 main ()
31409 return 0;
31411 _ACEOF
31412 if ac_fn_c_try_compile "$LINENO"; then :
31414 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31416 if true; then
31417 HAVE_AVX128_TRUE=
31418 HAVE_AVX128_FALSE='#'
31419 else
31420 HAVE_AVX128_TRUE='#'
31421 HAVE_AVX128_FALSE=
31424 else
31425 if false; then
31426 HAVE_AVX128_TRUE=
31427 HAVE_AVX128_FALSE='#'
31428 else
31429 HAVE_AVX128_TRUE='#'
31430 HAVE_AVX128_FALSE=
31434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31435 CFLAGS="$ac_save_CFLAGS"
31438 # Determine what GCC version number to use in filesystem paths.
31440 get_gcc_base_ver="cat"
31442 # Check whether --with-gcc-major-version-only was given.
31443 if test "${with_gcc_major_version_only+set}" = set; then :
31444 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
31445 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
31453 cat >confcache <<\_ACEOF
31454 # This file is a shell script that caches the results of configure
31455 # tests run on this system so they can be shared between configure
31456 # scripts and configure runs, see configure's option --config-cache.
31457 # It is not useful on other systems. If it contains results you don't
31458 # want to keep, you may remove or edit it.
31460 # config.status only pays attention to the cache file if you give it
31461 # the --recheck option to rerun configure.
31463 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31464 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31465 # following values.
31467 _ACEOF
31469 # The following way of writing the cache mishandles newlines in values,
31470 # but we know of no workaround that is simple, portable, and efficient.
31471 # So, we kill variables containing newlines.
31472 # Ultrix sh set writes to stderr and can't be redirected directly,
31473 # and sets the high bit in the cache file unless we assign to the vars.
31475 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31476 eval ac_val=\$$ac_var
31477 case $ac_val in #(
31478 *${as_nl}*)
31479 case $ac_var in #(
31480 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31481 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31482 esac
31483 case $ac_var in #(
31484 _ | IFS | as_nl) ;; #(
31485 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31486 *) { eval $ac_var=; unset $ac_var;} ;;
31487 esac ;;
31488 esac
31489 done
31491 (set) 2>&1 |
31492 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31493 *${as_nl}ac_space=\ *)
31494 # `set' does not quote correctly, so add quotes: double-quote
31495 # substitution turns \\\\ into \\, and sed turns \\ into \.
31496 sed -n \
31497 "s/'/'\\\\''/g;
31498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31499 ;; #(
31501 # `set' quotes correctly as required by POSIX, so do not add quotes.
31502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31504 esac |
31505 sort
31507 sed '
31508 /^ac_cv_env_/b end
31509 t clear
31510 :clear
31511 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31512 t end
31513 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31514 :end' >>confcache
31515 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31516 if test -w "$cache_file"; then
31517 if test "x$cache_file" != "x/dev/null"; then
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31519 $as_echo "$as_me: updating cache $cache_file" >&6;}
31520 if test ! -f "$cache_file" || test -h "$cache_file"; then
31521 cat confcache >"$cache_file"
31522 else
31523 case $cache_file in #(
31524 */* | ?:*)
31525 mv -f confcache "$cache_file"$$ &&
31526 mv -f "$cache_file"$$ "$cache_file" ;; #(
31528 mv -f confcache "$cache_file" ;;
31529 esac
31532 else
31533 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31534 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31537 rm -f confcache
31539 if test ${multilib} = yes; then
31540 multilib_arg="--enable-multilib"
31541 else
31542 multilib_arg=
31545 # Write our Makefile and spec file.
31546 ac_config_files="$ac_config_files Makefile libgfortran.spec"
31548 cat >confcache <<\_ACEOF
31549 # This file is a shell script that caches the results of configure
31550 # tests run on this system so they can be shared between configure
31551 # scripts and configure runs, see configure's option --config-cache.
31552 # It is not useful on other systems. If it contains results you don't
31553 # want to keep, you may remove or edit it.
31555 # config.status only pays attention to the cache file if you give it
31556 # the --recheck option to rerun configure.
31558 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31560 # following values.
31562 _ACEOF
31564 # The following way of writing the cache mishandles newlines in values,
31565 # but we know of no workaround that is simple, portable, and efficient.
31566 # So, we kill variables containing newlines.
31567 # Ultrix sh set writes to stderr and can't be redirected directly,
31568 # and sets the high bit in the cache file unless we assign to the vars.
31570 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31571 eval ac_val=\$$ac_var
31572 case $ac_val in #(
31573 *${as_nl}*)
31574 case $ac_var in #(
31575 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31576 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31577 esac
31578 case $ac_var in #(
31579 _ | IFS | as_nl) ;; #(
31580 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31581 *) { eval $ac_var=; unset $ac_var;} ;;
31582 esac ;;
31583 esac
31584 done
31586 (set) 2>&1 |
31587 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31588 *${as_nl}ac_space=\ *)
31589 # `set' does not quote correctly, so add quotes: double-quote
31590 # substitution turns \\\\ into \\, and sed turns \\ into \.
31591 sed -n \
31592 "s/'/'\\\\''/g;
31593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31594 ;; #(
31596 # `set' quotes correctly as required by POSIX, so do not add quotes.
31597 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31599 esac |
31600 sort
31602 sed '
31603 /^ac_cv_env_/b end
31604 t clear
31605 :clear
31606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31607 t end
31608 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31609 :end' >>confcache
31610 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31611 if test -w "$cache_file"; then
31612 if test "x$cache_file" != "x/dev/null"; then
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31614 $as_echo "$as_me: updating cache $cache_file" >&6;}
31615 if test ! -f "$cache_file" || test -h "$cache_file"; then
31616 cat confcache >"$cache_file"
31617 else
31618 case $cache_file in #(
31619 */* | ?:*)
31620 mv -f confcache "$cache_file"$$ &&
31621 mv -f "$cache_file"$$ "$cache_file" ;; #(
31623 mv -f confcache "$cache_file" ;;
31624 esac
31627 else
31628 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31629 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31632 rm -f confcache
31634 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31635 # Let make expand exec_prefix.
31636 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31638 DEFS=-DHAVE_CONFIG_H
31640 ac_libobjs=
31641 ac_ltlibobjs=
31643 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31644 # 1. Remove the extension, and $U if already installed.
31645 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31646 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31647 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31648 # will be set to the directory where LIBOBJS objects are built.
31649 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31650 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31651 done
31652 LIBOBJS=$ac_libobjs
31654 LTLIBOBJS=$ac_ltlibobjs
31657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31658 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31659 if test -n "$am_sleep_pid"; then
31660 # Hide warnings about reused PIDs.
31661 wait $am_sleep_pid 2>/dev/null
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31664 $as_echo "done" >&6; }
31665 if test -n "$EXEEXT"; then
31666 am__EXEEXT_TRUE=
31667 am__EXEEXT_FALSE='#'
31668 else
31669 am__EXEEXT_TRUE='#'
31670 am__EXEEXT_FALSE=
31673 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31674 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31677 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31678 as_fn_error $? "conditional \"AMDEP\" was never defined.
31679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31681 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31682 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31685 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31686 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31689 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31690 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
31691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31693 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31694 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31697 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31698 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31701 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31702 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31705 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31706 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
31707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31709 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31710 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
31711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31713 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
31714 as_fn_error $? "conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
31715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31717 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31718 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
31719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31721 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31722 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31725 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31726 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31730 : "${CONFIG_STATUS=./config.status}"
31731 ac_write_fail=0
31732 ac_clean_files_save=$ac_clean_files
31733 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31736 as_write_fail=0
31737 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31738 #! $SHELL
31739 # Generated by $as_me.
31740 # Run this file to recreate the current configuration.
31741 # Compiler output produced by configure, useful for debugging
31742 # configure, is in config.log if it exists.
31744 debug=false
31745 ac_cs_recheck=false
31746 ac_cs_silent=false
31748 SHELL=\${CONFIG_SHELL-$SHELL}
31749 export SHELL
31750 _ASEOF
31751 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31752 ## -------------------- ##
31753 ## M4sh Initialization. ##
31754 ## -------------------- ##
31756 # Be more Bourne compatible
31757 DUALCASE=1; export DUALCASE # for MKS sh
31758 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31759 emulate sh
31760 NULLCMD=:
31761 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31762 # is contrary to our usage. Disable this feature.
31763 alias -g '${1+"$@"}'='"$@"'
31764 setopt NO_GLOB_SUBST
31765 else
31766 case `(set -o) 2>/dev/null` in #(
31767 *posix*) :
31768 set -o posix ;; #(
31769 *) :
31771 esac
31775 as_nl='
31777 export as_nl
31778 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31779 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31781 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31782 # Prefer a ksh shell builtin over an external printf program on Solaris,
31783 # but without wasting forks for bash or zsh.
31784 if test -z "$BASH_VERSION$ZSH_VERSION" \
31785 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31786 as_echo='print -r --'
31787 as_echo_n='print -rn --'
31788 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31789 as_echo='printf %s\n'
31790 as_echo_n='printf %s'
31791 else
31792 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31793 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31794 as_echo_n='/usr/ucb/echo -n'
31795 else
31796 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31797 as_echo_n_body='eval
31798 arg=$1;
31799 case $arg in #(
31800 *"$as_nl"*)
31801 expr "X$arg" : "X\\(.*\\)$as_nl";
31802 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31803 esac;
31804 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31806 export as_echo_n_body
31807 as_echo_n='sh -c $as_echo_n_body as_echo'
31809 export as_echo_body
31810 as_echo='sh -c $as_echo_body as_echo'
31813 # The user is always right.
31814 if test "${PATH_SEPARATOR+set}" != set; then
31815 PATH_SEPARATOR=:
31816 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31817 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31818 PATH_SEPARATOR=';'
31823 # IFS
31824 # We need space, tab and new line, in precisely that order. Quoting is
31825 # there to prevent editors from complaining about space-tab.
31826 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31827 # splitting by setting IFS to empty value.)
31828 IFS=" "" $as_nl"
31830 # Find who we are. Look in the path if we contain no directory separator.
31831 as_myself=
31832 case $0 in #((
31833 *[\\/]* ) as_myself=$0 ;;
31834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31835 for as_dir in $PATH
31837 IFS=$as_save_IFS
31838 test -z "$as_dir" && as_dir=.
31839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31840 done
31841 IFS=$as_save_IFS
31844 esac
31845 # We did not find ourselves, most probably we were run as `sh COMMAND'
31846 # in which case we are not to be found in the path.
31847 if test "x$as_myself" = x; then
31848 as_myself=$0
31850 if test ! -f "$as_myself"; then
31851 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31852 exit 1
31855 # Unset variables that we do not need and which cause bugs (e.g. in
31856 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31857 # suppresses any "Segmentation fault" message there. '((' could
31858 # trigger a bug in pdksh 5.2.14.
31859 for as_var in BASH_ENV ENV MAIL MAILPATH
31860 do eval test x\${$as_var+set} = xset \
31861 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31862 done
31863 PS1='$ '
31864 PS2='> '
31865 PS4='+ '
31867 # NLS nuisances.
31868 LC_ALL=C
31869 export LC_ALL
31870 LANGUAGE=C
31871 export LANGUAGE
31873 # CDPATH.
31874 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31877 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31878 # ----------------------------------------
31879 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31880 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31881 # script with STATUS, using 1 if that was 0.
31882 as_fn_error ()
31884 as_status=$1; test $as_status -eq 0 && as_status=1
31885 if test "$4"; then
31886 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31887 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31889 $as_echo "$as_me: error: $2" >&2
31890 as_fn_exit $as_status
31891 } # as_fn_error
31894 # as_fn_set_status STATUS
31895 # -----------------------
31896 # Set $? to STATUS, without forking.
31897 as_fn_set_status ()
31899 return $1
31900 } # as_fn_set_status
31902 # as_fn_exit STATUS
31903 # -----------------
31904 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31905 as_fn_exit ()
31907 set +e
31908 as_fn_set_status $1
31909 exit $1
31910 } # as_fn_exit
31912 # as_fn_unset VAR
31913 # ---------------
31914 # Portably unset VAR.
31915 as_fn_unset ()
31917 { eval $1=; unset $1;}
31919 as_unset=as_fn_unset
31920 # as_fn_append VAR VALUE
31921 # ----------------------
31922 # Append the text in VALUE to the end of the definition contained in VAR. Take
31923 # advantage of any shell optimizations that allow amortized linear growth over
31924 # repeated appends, instead of the typical quadratic growth present in naive
31925 # implementations.
31926 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31927 eval 'as_fn_append ()
31929 eval $1+=\$2
31931 else
31932 as_fn_append ()
31934 eval $1=\$$1\$2
31936 fi # as_fn_append
31938 # as_fn_arith ARG...
31939 # ------------------
31940 # Perform arithmetic evaluation on the ARGs, and store the result in the
31941 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31942 # must be portable across $(()) and expr.
31943 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31944 eval 'as_fn_arith ()
31946 as_val=$(( $* ))
31948 else
31949 as_fn_arith ()
31951 as_val=`expr "$@" || test $? -eq 1`
31953 fi # as_fn_arith
31956 if expr a : '\(a\)' >/dev/null 2>&1 &&
31957 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31958 as_expr=expr
31959 else
31960 as_expr=false
31963 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31964 as_basename=basename
31965 else
31966 as_basename=false
31969 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31970 as_dirname=dirname
31971 else
31972 as_dirname=false
31975 as_me=`$as_basename -- "$0" ||
31976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31977 X"$0" : 'X\(//\)$' \| \
31978 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31979 $as_echo X/"$0" |
31980 sed '/^.*\/\([^/][^/]*\)\/*$/{
31981 s//\1/
31984 /^X\/\(\/\/\)$/{
31985 s//\1/
31988 /^X\/\(\/\).*/{
31989 s//\1/
31992 s/.*/./; q'`
31994 # Avoid depending upon Character Ranges.
31995 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31996 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31997 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31998 as_cr_digits='0123456789'
31999 as_cr_alnum=$as_cr_Letters$as_cr_digits
32001 ECHO_C= ECHO_N= ECHO_T=
32002 case `echo -n x` in #(((((
32003 -n*)
32004 case `echo 'xy\c'` in
32005 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
32006 xy) ECHO_C='\c';;
32007 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
32008 ECHO_T=' ';;
32009 esac;;
32011 ECHO_N='-n';;
32012 esac
32014 rm -f conf$$ conf$$.exe conf$$.file
32015 if test -d conf$$.dir; then
32016 rm -f conf$$.dir/conf$$.file
32017 else
32018 rm -f conf$$.dir
32019 mkdir conf$$.dir 2>/dev/null
32021 if (echo >conf$$.file) 2>/dev/null; then
32022 if ln -s conf$$.file conf$$ 2>/dev/null; then
32023 as_ln_s='ln -s'
32024 # ... but there are two gotchas:
32025 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32026 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32027 # In both cases, we have to default to `cp -pR'.
32028 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32029 as_ln_s='cp -pR'
32030 elif ln conf$$.file conf$$ 2>/dev/null; then
32031 as_ln_s=ln
32032 else
32033 as_ln_s='cp -pR'
32035 else
32036 as_ln_s='cp -pR'
32038 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32039 rmdir conf$$.dir 2>/dev/null
32042 # as_fn_mkdir_p
32043 # -------------
32044 # Create "$as_dir" as a directory, including parents if necessary.
32045 as_fn_mkdir_p ()
32048 case $as_dir in #(
32049 -*) as_dir=./$as_dir;;
32050 esac
32051 test -d "$as_dir" || eval $as_mkdir_p || {
32052 as_dirs=
32053 while :; do
32054 case $as_dir in #(
32055 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32056 *) as_qdir=$as_dir;;
32057 esac
32058 as_dirs="'$as_qdir' $as_dirs"
32059 as_dir=`$as_dirname -- "$as_dir" ||
32060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32061 X"$as_dir" : 'X\(//\)[^/]' \| \
32062 X"$as_dir" : 'X\(//\)$' \| \
32063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32064 $as_echo X"$as_dir" |
32065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32066 s//\1/
32069 /^X\(\/\/\)[^/].*/{
32070 s//\1/
32073 /^X\(\/\/\)$/{
32074 s//\1/
32077 /^X\(\/\).*/{
32078 s//\1/
32081 s/.*/./; q'`
32082 test -d "$as_dir" && break
32083 done
32084 test -z "$as_dirs" || eval "mkdir $as_dirs"
32085 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32088 } # as_fn_mkdir_p
32089 if mkdir -p . 2>/dev/null; then
32090 as_mkdir_p='mkdir -p "$as_dir"'
32091 else
32092 test -d ./-p && rmdir ./-p
32093 as_mkdir_p=false
32097 # as_fn_executable_p FILE
32098 # -----------------------
32099 # Test if FILE is an executable regular file.
32100 as_fn_executable_p ()
32102 test -f "$1" && test -x "$1"
32103 } # as_fn_executable_p
32104 as_test_x='test -x'
32105 as_executable_p=as_fn_executable_p
32107 # Sed expression to map a string onto a valid CPP name.
32108 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32110 # Sed expression to map a string onto a valid variable name.
32111 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32114 exec 6>&1
32115 ## ----------------------------------- ##
32116 ## Main body of $CONFIG_STATUS script. ##
32117 ## ----------------------------------- ##
32118 _ASEOF
32119 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32122 # Save the log message, to keep $0 and so on meaningful, and to
32123 # report actual input values of CONFIG_FILES etc. instead of their
32124 # values after options handling.
32125 ac_log="
32126 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32127 generated by GNU Autoconf 2.69. Invocation command line was
32129 CONFIG_FILES = $CONFIG_FILES
32130 CONFIG_HEADERS = $CONFIG_HEADERS
32131 CONFIG_LINKS = $CONFIG_LINKS
32132 CONFIG_COMMANDS = $CONFIG_COMMANDS
32133 $ $0 $@
32135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32138 _ACEOF
32140 case $ac_config_files in *"
32141 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32142 esac
32144 case $ac_config_headers in *"
32145 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32146 esac
32149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32150 # Files that config.status was made for.
32151 config_files="$ac_config_files"
32152 config_headers="$ac_config_headers"
32153 config_commands="$ac_config_commands"
32155 _ACEOF
32157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32158 ac_cs_usage="\
32159 \`$as_me' instantiates files and other configuration actions
32160 from templates according to the current configuration. Unless the files
32161 and actions are specified as TAGs, all are instantiated by default.
32163 Usage: $0 [OPTION]... [TAG]...
32165 -h, --help print this help, then exit
32166 -V, --version print version number and configuration settings, then exit
32167 --config print configuration, then exit
32168 -q, --quiet, --silent
32169 do not print progress messages
32170 -d, --debug don't remove temporary files
32171 --recheck update $as_me by reconfiguring in the same conditions
32172 --file=FILE[:TEMPLATE]
32173 instantiate the configuration file FILE
32174 --header=FILE[:TEMPLATE]
32175 instantiate the configuration header FILE
32177 Configuration files:
32178 $config_files
32180 Configuration headers:
32181 $config_headers
32183 Configuration commands:
32184 $config_commands
32186 Report bugs to the package provider.
32187 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32188 General help using GNU software: <http://www.gnu.org/gethelp/>."
32190 _ACEOF
32191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32192 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32193 ac_cs_version="\\
32194 GNU Fortran Runtime Library config.status 0.3
32195 configured by $0, generated by GNU Autoconf 2.69,
32196 with options \\"\$ac_cs_config\\"
32198 Copyright (C) 2012 Free Software Foundation, Inc.
32199 This config.status script is free software; the Free Software Foundation
32200 gives unlimited permission to copy, distribute and modify it."
32202 ac_pwd='$ac_pwd'
32203 srcdir='$srcdir'
32204 INSTALL='$INSTALL'
32205 MKDIR_P='$MKDIR_P'
32206 AWK='$AWK'
32207 test -n "\$AWK" || AWK=awk
32208 _ACEOF
32210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32211 # The default lists apply if the user does not specify any file.
32212 ac_need_defaults=:
32213 while test $# != 0
32215 case $1 in
32216 --*=?*)
32217 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32218 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32219 ac_shift=:
32221 --*=)
32222 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32223 ac_optarg=
32224 ac_shift=:
32227 ac_option=$1
32228 ac_optarg=$2
32229 ac_shift=shift
32231 esac
32233 case $ac_option in
32234 # Handling of the options.
32235 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32236 ac_cs_recheck=: ;;
32237 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32238 $as_echo "$ac_cs_version"; exit ;;
32239 --config | --confi | --conf | --con | --co | --c )
32240 $as_echo "$ac_cs_config"; exit ;;
32241 --debug | --debu | --deb | --de | --d | -d )
32242 debug=: ;;
32243 --file | --fil | --fi | --f )
32244 $ac_shift
32245 case $ac_optarg in
32246 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32247 '') as_fn_error $? "missing file argument" ;;
32248 esac
32249 as_fn_append CONFIG_FILES " '$ac_optarg'"
32250 ac_need_defaults=false;;
32251 --header | --heade | --head | --hea )
32252 $ac_shift
32253 case $ac_optarg in
32254 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32255 esac
32256 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32257 ac_need_defaults=false;;
32258 --he | --h)
32259 # Conflict between --help and --header
32260 as_fn_error $? "ambiguous option: \`$1'
32261 Try \`$0 --help' for more information.";;
32262 --help | --hel | -h )
32263 $as_echo "$ac_cs_usage"; exit ;;
32264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32265 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32266 ac_cs_silent=: ;;
32268 # This is an error.
32269 -*) as_fn_error $? "unrecognized option: \`$1'
32270 Try \`$0 --help' for more information." ;;
32272 *) as_fn_append ac_config_targets " $1"
32273 ac_need_defaults=false ;;
32275 esac
32276 shift
32277 done
32279 ac_configure_extra_args=
32281 if $ac_cs_silent; then
32282 exec 6>/dev/null
32283 ac_configure_extra_args="$ac_configure_extra_args --silent"
32286 _ACEOF
32287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32288 if \$ac_cs_recheck; then
32289 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32290 shift
32291 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32292 CONFIG_SHELL='$SHELL'
32293 export CONFIG_SHELL
32294 exec "\$@"
32297 _ACEOF
32298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32299 exec 5>>config.log
32301 echo
32302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32303 ## Running $as_me. ##
32304 _ASBOX
32305 $as_echo "$ac_log"
32306 } >&5
32308 _ACEOF
32309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32311 # INIT-COMMANDS
32314 srcdir="$srcdir"
32315 host="$host"
32316 target="$target"
32317 with_multisubdir="$with_multisubdir"
32318 with_multisrctop="$with_multisrctop"
32319 with_target_subdir="$with_target_subdir"
32320 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32321 multi_basedir="$multi_basedir"
32322 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32323 CC="$CC"
32324 CXX="$CXX"
32325 GFORTRAN="$GFORTRAN"
32326 GDC="$GDC"
32327 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32330 # The HP-UX ksh and POSIX shell print the target directory to stdout
32331 # if CDPATH is set.
32332 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32334 sed_quote_subst='$sed_quote_subst'
32335 double_quote_subst='$double_quote_subst'
32336 delay_variable_subst='$delay_variable_subst'
32337 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32338 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32339 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32340 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32341 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32342 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32343 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32344 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32345 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32346 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32347 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32348 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32349 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32350 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32351 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32352 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32353 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32354 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32355 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32356 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32357 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32358 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32359 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32360 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32361 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32362 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32363 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32364 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32365 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32366 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32367 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32368 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32369 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32370 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32371 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32372 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32373 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32374 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32375 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32376 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32377 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32378 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32379 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32380 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32381 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32382 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32383 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32384 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32385 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"`'
32386 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32387 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32388 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32389 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32390 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32391 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32392 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32393 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32394 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32395 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32396 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32397 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32398 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32399 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32400 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32401 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32402 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32403 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32404 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32405 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32406 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32407 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32408 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32409 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32410 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32411 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32412 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32413 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32414 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32415 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32416 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32417 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32418 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32419 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32420 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32421 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32422 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32423 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32424 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32425 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32426 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32427 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32428 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32429 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32430 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32431 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32432 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32433 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32434 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32435 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32436 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32437 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32438 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32439 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32440 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32441 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32442 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32443 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32444 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32445 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32446 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32447 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32448 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32449 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32450 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32451 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32452 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32453 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32454 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32455 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32456 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32457 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32458 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32459 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32460 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32461 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32462 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32463 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32464 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32465 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32466 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32467 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32468 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32469 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32470 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32471 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32472 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32473 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32474 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32475 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32476 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32477 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32478 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32479 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32480 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32481 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32482 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32483 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32484 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32485 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32486 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32487 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32488 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32489 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32490 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32491 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32492 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32493 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32494 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32495 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32496 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32497 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32498 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32499 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32500 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32501 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32502 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32503 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32504 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32505 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32506 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32507 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32508 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32509 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32510 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32511 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32513 LTCC='$LTCC'
32514 LTCFLAGS='$LTCFLAGS'
32515 compiler='$compiler_DEFAULT'
32517 # A function that is used when there is no print builtin or printf.
32518 func_fallback_echo ()
32520 eval 'cat <<_LTECHO_EOF
32522 _LTECHO_EOF'
32525 # Quote evaled strings.
32526 for var in SED \
32527 GREP \
32528 EGREP \
32529 FGREP \
32530 SHELL \
32531 ECHO \
32532 LD \
32533 NM \
32534 LN_S \
32535 lt_SP2NL \
32536 lt_NL2SP \
32537 reload_flag \
32538 OBJDUMP \
32539 deplibs_check_method \
32540 file_magic_cmd \
32541 AR \
32542 AR_FLAGS \
32543 STRIP \
32544 RANLIB \
32545 CC \
32546 CFLAGS \
32547 compiler \
32548 lt_cv_sys_global_symbol_pipe \
32549 lt_cv_sys_global_symbol_to_cdecl \
32550 lt_cv_sys_global_symbol_to_c_name_address \
32551 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32552 lt_prog_compiler_no_builtin_flag \
32553 lt_prog_compiler_wl \
32554 lt_prog_compiler_pic \
32555 lt_prog_compiler_static \
32556 lt_cv_prog_compiler_c_o \
32557 need_locks \
32558 DSYMUTIL \
32559 NMEDIT \
32560 LIPO \
32561 OTOOL \
32562 OTOOL64 \
32563 shrext_cmds \
32564 export_dynamic_flag_spec \
32565 whole_archive_flag_spec \
32566 compiler_needs_object \
32567 with_gnu_ld \
32568 allow_undefined_flag \
32569 no_undefined_flag \
32570 hardcode_libdir_flag_spec \
32571 hardcode_libdir_flag_spec_ld \
32572 hardcode_libdir_separator \
32573 fix_srcfile_path \
32574 exclude_expsyms \
32575 include_expsyms \
32576 file_list_spec \
32577 variables_saved_for_relink \
32578 libname_spec \
32579 library_names_spec \
32580 soname_spec \
32581 install_override_mode \
32582 finish_eval \
32583 old_striplib \
32584 striplib \
32585 compiler_lib_search_dirs \
32586 predep_objects \
32587 postdep_objects \
32588 predeps \
32589 postdeps \
32590 compiler_lib_search_path \
32591 LD_FC \
32592 reload_flag_FC \
32593 compiler_FC \
32594 lt_prog_compiler_no_builtin_flag_FC \
32595 lt_prog_compiler_wl_FC \
32596 lt_prog_compiler_pic_FC \
32597 lt_prog_compiler_static_FC \
32598 lt_cv_prog_compiler_c_o_FC \
32599 export_dynamic_flag_spec_FC \
32600 whole_archive_flag_spec_FC \
32601 compiler_needs_object_FC \
32602 with_gnu_ld_FC \
32603 allow_undefined_flag_FC \
32604 no_undefined_flag_FC \
32605 hardcode_libdir_flag_spec_FC \
32606 hardcode_libdir_flag_spec_ld_FC \
32607 hardcode_libdir_separator_FC \
32608 fix_srcfile_path_FC \
32609 exclude_expsyms_FC \
32610 include_expsyms_FC \
32611 file_list_spec_FC \
32612 compiler_lib_search_dirs_FC \
32613 predep_objects_FC \
32614 postdep_objects_FC \
32615 predeps_FC \
32616 postdeps_FC \
32617 compiler_lib_search_path_FC; do
32618 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32619 *[\\\\\\\`\\"\\\$]*)
32620 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32623 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32625 esac
32626 done
32628 # Double-quote double-evaled strings.
32629 for var in reload_cmds \
32630 old_postinstall_cmds \
32631 old_postuninstall_cmds \
32632 old_archive_cmds \
32633 extract_expsyms_cmds \
32634 old_archive_from_new_cmds \
32635 old_archive_from_expsyms_cmds \
32636 archive_cmds \
32637 archive_expsym_cmds \
32638 module_cmds \
32639 module_expsym_cmds \
32640 export_symbols_cmds \
32641 prelink_cmds \
32642 postinstall_cmds \
32643 postuninstall_cmds \
32644 finish_cmds \
32645 sys_lib_search_path_spec \
32646 sys_lib_dlsearch_path_spec \
32647 reload_cmds_FC \
32648 old_archive_cmds_FC \
32649 old_archive_from_new_cmds_FC \
32650 old_archive_from_expsyms_cmds_FC \
32651 archive_cmds_FC \
32652 archive_expsym_cmds_FC \
32653 module_cmds_FC \
32654 module_expsym_cmds_FC \
32655 export_symbols_cmds_FC \
32656 prelink_cmds_FC; do
32657 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32658 *[\\\\\\\`\\"\\\$]*)
32659 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32662 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32664 esac
32665 done
32667 ac_aux_dir='$ac_aux_dir'
32668 xsi_shell='$xsi_shell'
32669 lt_shell_append='$lt_shell_append'
32671 # See if we are running on zsh, and set the options which allow our
32672 # commands through without removal of \ escapes INIT.
32673 if test -n "\${ZSH_VERSION+set}" ; then
32674 setopt NO_GLOB_SUBST
32678 PACKAGE='$PACKAGE'
32679 VERSION='$VERSION'
32680 TIMESTAMP='$TIMESTAMP'
32681 RM='$RM'
32682 ofile='$ofile'
32689 GCC="$GCC"
32690 CC="$CC"
32691 acx_cv_header_stdint="$acx_cv_header_stdint"
32692 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32693 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32694 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32695 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32696 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32697 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32698 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32699 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32700 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32701 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32702 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32703 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32704 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32707 _ACEOF
32709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32711 # Handling of arguments.
32712 for ac_config_target in $ac_config_targets
32714 case $ac_config_target in
32715 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32716 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
32717 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32718 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32719 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
32720 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32721 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
32723 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32724 esac
32725 done
32728 # If the user did not use the arguments to specify the items to instantiate,
32729 # then the envvar interface is used. Set only those that are not.
32730 # We use the long form for the default assignment because of an extremely
32731 # bizarre bug on SunOS 4.1.3.
32732 if $ac_need_defaults; then
32733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32734 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32735 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32738 # Have a temporary directory for convenience. Make it in the build tree
32739 # simply because there is no reason against having it here, and in addition,
32740 # creating and moving files from /tmp can sometimes cause problems.
32741 # Hook for its removal unless debugging.
32742 # Note that there is a small window in which the directory will not be cleaned:
32743 # after its creation but before its name has been assigned to `$tmp'.
32744 $debug ||
32746 tmp= ac_tmp=
32747 trap 'exit_status=$?
32748 : "${ac_tmp:=$tmp}"
32749 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32751 trap 'as_fn_exit 1' 1 2 13 15
32753 # Create a (secure) tmp directory for tmp files.
32756 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32757 test -d "$tmp"
32758 } ||
32760 tmp=./conf$$-$RANDOM
32761 (umask 077 && mkdir "$tmp")
32762 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32763 ac_tmp=$tmp
32765 # Set up the scripts for CONFIG_FILES section.
32766 # No need to generate them if there are no CONFIG_FILES.
32767 # This happens for instance with `./config.status config.h'.
32768 if test -n "$CONFIG_FILES"; then
32771 ac_cr=`echo X | tr X '\015'`
32772 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32773 # But we know of no other shell where ac_cr would be empty at this
32774 # point, so we can use a bashism as a fallback.
32775 if test "x$ac_cr" = x; then
32776 eval ac_cr=\$\'\\r\'
32778 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32779 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32780 ac_cs_awk_cr='\\r'
32781 else
32782 ac_cs_awk_cr=$ac_cr
32785 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32786 _ACEOF
32790 echo "cat >conf$$subs.awk <<_ACEOF" &&
32791 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32792 echo "_ACEOF"
32793 } >conf$$subs.sh ||
32794 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32795 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32796 ac_delim='%!_!# '
32797 for ac_last_try in false false false false false :; do
32798 . ./conf$$subs.sh ||
32799 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32801 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32802 if test $ac_delim_n = $ac_delim_num; then
32803 break
32804 elif $ac_last_try; then
32805 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32806 else
32807 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32809 done
32810 rm -f conf$$subs.sh
32812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32813 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
32814 _ACEOF
32815 sed -n '
32817 s/^/S["/; s/!.*/"]=/
32820 s/^[^!]*!//
32821 :repl
32822 t repl
32823 s/'"$ac_delim"'$//
32824 t delim
32827 s/\(.\{148\}\)..*/\1/
32828 t more1
32829 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32832 b repl
32833 :more1
32834 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32837 s/.\{148\}//
32838 t nl
32839 :delim
32841 s/\(.\{148\}\)..*/\1/
32842 t more2
32843 s/["\\]/\\&/g; s/^/"/; s/$/"/
32846 :more2
32847 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32850 s/.\{148\}//
32851 t delim
32852 ' <conf$$subs.awk | sed '
32853 /^[^""]/{
32855 s/\n//
32857 ' >>$CONFIG_STATUS || ac_write_fail=1
32858 rm -f conf$$subs.awk
32859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32860 _ACAWK
32861 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
32862 for (key in S) S_is_set[key] = 1
32863 FS = "\a"
32867 line = $ 0
32868 nfields = split(line, field, "@")
32869 substed = 0
32870 len = length(field[1])
32871 for (i = 2; i < nfields; i++) {
32872 key = field[i]
32873 keylen = length(key)
32874 if (S_is_set[key]) {
32875 value = S[key]
32876 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32877 len += length(value) + length(field[++i])
32878 substed = 1
32879 } else
32880 len += 1 + keylen
32883 print line
32886 _ACAWK
32887 _ACEOF
32888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32889 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32890 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32891 else
32893 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
32894 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32895 _ACEOF
32897 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32898 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32899 # trailing colons and then remove the whole line if VPATH becomes empty
32900 # (actually we leave an empty line to preserve line numbers).
32901 if test "x$srcdir" = x.; then
32902 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32904 s///
32905 s/^/:/
32906 s/[ ]*$/:/
32907 s/:\$(srcdir):/:/g
32908 s/:\${srcdir}:/:/g
32909 s/:@srcdir@:/:/g
32910 s/^:*//
32911 s/:*$//
32913 s/\(=[ ]*\).*/\1/
32915 s/\n//
32916 s/^[^=]*=[ ]*$//
32920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32921 fi # test -n "$CONFIG_FILES"
32923 # Set up the scripts for CONFIG_HEADERS section.
32924 # No need to generate them if there are no CONFIG_HEADERS.
32925 # This happens for instance with `./config.status Makefile'.
32926 if test -n "$CONFIG_HEADERS"; then
32927 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
32928 BEGIN {
32929 _ACEOF
32931 # Transform confdefs.h into an awk script `defines.awk', embedded as
32932 # here-document in config.status, that substitutes the proper values into
32933 # config.h.in to produce config.h.
32935 # Create a delimiter string that does not exist in confdefs.h, to ease
32936 # handling of long lines.
32937 ac_delim='%!_!# '
32938 for ac_last_try in false false :; do
32939 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32940 if test -z "$ac_tt"; then
32941 break
32942 elif $ac_last_try; then
32943 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32944 else
32945 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32947 done
32949 # For the awk script, D is an array of macro values keyed by name,
32950 # likewise P contains macro parameters if any. Preserve backslash
32951 # newline sequences.
32953 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32954 sed -n '
32955 s/.\{148\}/&'"$ac_delim"'/g
32956 t rset
32957 :rset
32958 s/^[ ]*#[ ]*define[ ][ ]*/ /
32959 t def
32961 :def
32962 s/\\$//
32963 t bsnl
32964 s/["\\]/\\&/g
32965 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32966 D["\1"]=" \3"/p
32967 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32969 :bsnl
32970 s/["\\]/\\&/g
32971 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32972 D["\1"]=" \3\\\\\\n"\\/p
32973 t cont
32974 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32975 t cont
32977 :cont
32979 s/.\{148\}/&'"$ac_delim"'/g
32980 t clear
32981 :clear
32982 s/\\$//
32983 t bsnlc
32984 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32986 :bsnlc
32987 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32988 b cont
32989 ' <confdefs.h | sed '
32990 s/'"$ac_delim"'/"\\\
32991 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32994 for (key in D) D_is_set[key] = 1
32995 FS = "\a"
32997 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32998 line = \$ 0
32999 split(line, arg, " ")
33000 if (arg[1] == "#") {
33001 defundef = arg[2]
33002 mac1 = arg[3]
33003 } else {
33004 defundef = substr(arg[1], 2)
33005 mac1 = arg[2]
33007 split(mac1, mac2, "(") #)
33008 macro = mac2[1]
33009 prefix = substr(line, 1, index(line, defundef) - 1)
33010 if (D_is_set[macro]) {
33011 # Preserve the white space surrounding the "#".
33012 print prefix "define", macro P[macro] D[macro]
33013 next
33014 } else {
33015 # Replace #undef with comments. This is necessary, for example,
33016 # in the case of _POSIX_SOURCE, which is predefined and required
33017 # on some systems where configure will not decide to define it.
33018 if (defundef == "undef") {
33019 print "/*", prefix defundef, macro, "*/"
33020 next
33024 { print }
33025 _ACAWK
33026 _ACEOF
33027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33028 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
33029 fi # test -n "$CONFIG_HEADERS"
33032 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
33033 shift
33034 for ac_tag
33036 case $ac_tag in
33037 :[FHLC]) ac_mode=$ac_tag; continue;;
33038 esac
33039 case $ac_mode$ac_tag in
33040 :[FHL]*:*);;
33041 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
33042 :[FH]-) ac_tag=-:-;;
33043 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33044 esac
33045 ac_save_IFS=$IFS
33046 IFS=:
33047 set x $ac_tag
33048 IFS=$ac_save_IFS
33049 shift
33050 ac_file=$1
33051 shift
33053 case $ac_mode in
33054 :L) ac_source=$1;;
33055 :[FH])
33056 ac_file_inputs=
33057 for ac_f
33059 case $ac_f in
33060 -) ac_f="$ac_tmp/stdin";;
33061 *) # Look for the file first in the build tree, then in the source tree
33062 # (if the path is not absolute). The absolute path cannot be DOS-style,
33063 # because $ac_f cannot contain `:'.
33064 test -f "$ac_f" ||
33065 case $ac_f in
33066 [\\/$]*) false;;
33067 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33068 esac ||
33069 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33070 esac
33071 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33072 as_fn_append ac_file_inputs " '$ac_f'"
33073 done
33075 # Let's still pretend it is `configure' which instantiates (i.e., don't
33076 # use $as_me), people would be surprised to read:
33077 # /* config.h. Generated by config.status. */
33078 configure_input='Generated from '`
33079 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33080 `' by configure.'
33081 if test x"$ac_file" != x-; then
33082 configure_input="$ac_file. $configure_input"
33083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33084 $as_echo "$as_me: creating $ac_file" >&6;}
33086 # Neutralize special characters interpreted by sed in replacement strings.
33087 case $configure_input in #(
33088 *\&* | *\|* | *\\* )
33089 ac_sed_conf_input=`$as_echo "$configure_input" |
33090 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33091 *) ac_sed_conf_input=$configure_input;;
33092 esac
33094 case $ac_tag in
33095 *:-:* | *:-) cat >"$ac_tmp/stdin" \
33096 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33097 esac
33099 esac
33101 ac_dir=`$as_dirname -- "$ac_file" ||
33102 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33103 X"$ac_file" : 'X\(//\)[^/]' \| \
33104 X"$ac_file" : 'X\(//\)$' \| \
33105 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33106 $as_echo X"$ac_file" |
33107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33108 s//\1/
33111 /^X\(\/\/\)[^/].*/{
33112 s//\1/
33115 /^X\(\/\/\)$/{
33116 s//\1/
33119 /^X\(\/\).*/{
33120 s//\1/
33123 s/.*/./; q'`
33124 as_dir="$ac_dir"; as_fn_mkdir_p
33125 ac_builddir=.
33127 case "$ac_dir" in
33128 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33130 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33131 # A ".." for each directory in $ac_dir_suffix.
33132 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33133 case $ac_top_builddir_sub in
33134 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33135 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33136 esac ;;
33137 esac
33138 ac_abs_top_builddir=$ac_pwd
33139 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33140 # for backward compatibility:
33141 ac_top_builddir=$ac_top_build_prefix
33143 case $srcdir in
33144 .) # We are building in place.
33145 ac_srcdir=.
33146 ac_top_srcdir=$ac_top_builddir_sub
33147 ac_abs_top_srcdir=$ac_pwd ;;
33148 [\\/]* | ?:[\\/]* ) # Absolute name.
33149 ac_srcdir=$srcdir$ac_dir_suffix;
33150 ac_top_srcdir=$srcdir
33151 ac_abs_top_srcdir=$srcdir ;;
33152 *) # Relative name.
33153 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33154 ac_top_srcdir=$ac_top_build_prefix$srcdir
33155 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33156 esac
33157 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33160 case $ac_mode in
33163 # CONFIG_FILE
33166 case $INSTALL in
33167 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33168 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33169 esac
33170 ac_MKDIR_P=$MKDIR_P
33171 case $MKDIR_P in
33172 [\\/$]* | ?:[\\/]* ) ;;
33173 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33174 esac
33175 _ACEOF
33177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33178 # If the template does not know about datarootdir, expand it.
33179 # FIXME: This hack should be removed a few years after 2.60.
33180 ac_datarootdir_hack=; ac_datarootdir_seen=
33181 ac_sed_dataroot='
33182 /datarootdir/ {
33186 /@datadir@/p
33187 /@docdir@/p
33188 /@infodir@/p
33189 /@localedir@/p
33190 /@mandir@/p'
33191 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33192 *datarootdir*) ac_datarootdir_seen=yes;;
33193 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33195 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33196 _ACEOF
33197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33198 ac_datarootdir_hack='
33199 s&@datadir@&$datadir&g
33200 s&@docdir@&$docdir&g
33201 s&@infodir@&$infodir&g
33202 s&@localedir@&$localedir&g
33203 s&@mandir@&$mandir&g
33204 s&\\\${datarootdir}&$datarootdir&g' ;;
33205 esac
33206 _ACEOF
33208 # Neutralize VPATH when `$srcdir' = `.'.
33209 # Shell code in configure.ac might set extrasub.
33210 # FIXME: do we really want to maintain this feature?
33211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33212 ac_sed_extra="$ac_vpsub
33213 $extrasub
33214 _ACEOF
33215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33217 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33218 s|@configure_input@|$ac_sed_conf_input|;t t
33219 s&@top_builddir@&$ac_top_builddir_sub&;t t
33220 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33221 s&@srcdir@&$ac_srcdir&;t t
33222 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33223 s&@top_srcdir@&$ac_top_srcdir&;t t
33224 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33225 s&@builddir@&$ac_builddir&;t t
33226 s&@abs_builddir@&$ac_abs_builddir&;t t
33227 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33228 s&@INSTALL@&$ac_INSTALL&;t t
33229 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33230 $ac_datarootdir_hack
33232 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33233 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33235 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33236 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33237 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33238 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33240 which seems to be undefined. Please make sure it is defined" >&5
33241 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33242 which seems to be undefined. Please make sure it is defined" >&2;}
33244 rm -f "$ac_tmp/stdin"
33245 case $ac_file in
33246 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33247 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33248 esac \
33249 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33253 # CONFIG_HEADER
33255 if test x"$ac_file" != x-; then
33257 $as_echo "/* $configure_input */" \
33258 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33259 } >"$ac_tmp/config.h" \
33260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33261 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33262 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33263 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33264 else
33265 rm -f "$ac_file"
33266 mv "$ac_tmp/config.h" "$ac_file" \
33267 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33269 else
33270 $as_echo "/* $configure_input */" \
33271 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33272 || as_fn_error $? "could not create -" "$LINENO" 5
33274 # Compute "$ac_file"'s index in $config_headers.
33275 _am_arg="$ac_file"
33276 _am_stamp_count=1
33277 for _am_header in $config_headers :; do
33278 case $_am_header in
33279 $_am_arg | $_am_arg:* )
33280 break ;;
33282 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33283 esac
33284 done
33285 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33286 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33287 X"$_am_arg" : 'X\(//\)[^/]' \| \
33288 X"$_am_arg" : 'X\(//\)$' \| \
33289 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33290 $as_echo X"$_am_arg" |
33291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33292 s//\1/
33295 /^X\(\/\/\)[^/].*/{
33296 s//\1/
33299 /^X\(\/\/\)$/{
33300 s//\1/
33303 /^X\(\/\).*/{
33304 s//\1/
33307 s/.*/./; q'`/stamp-h$_am_stamp_count
33310 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33311 $as_echo "$as_me: executing $ac_file commands" >&6;}
33313 esac
33316 case $ac_file$ac_mode in
33317 "default-1":C)
33318 # Only add multilib support code if we just rebuilt the top-level
33319 # Makefile.
33320 case " $CONFIG_FILES " in
33321 *" Makefile "*)
33322 ac_file=Makefile . ${multi_basedir}/config-ml.in
33324 esac ;;
33325 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33326 # Older Autoconf quotes --file arguments for eval, but not when files
33327 # are listed without --file. Let's play safe and only enable the eval
33328 # if we detect the quoting.
33329 case $CONFIG_FILES in
33330 *\'*) eval set x "$CONFIG_FILES" ;;
33331 *) set x $CONFIG_FILES ;;
33332 esac
33333 shift
33334 for mf
33336 # Strip MF so we end up with the name of the file.
33337 mf=`echo "$mf" | sed -e 's/:.*$//'`
33338 # Check whether this is an Automake generated Makefile or not.
33339 # We used to match only the files named 'Makefile.in', but
33340 # some people rename them; so instead we look at the file content.
33341 # Grep'ing the first line is not enough: some people post-process
33342 # each Makefile.in and add a new line on top of each file to say so.
33343 # Grep'ing the whole file is not good either: AIX grep has a line
33344 # limit of 2048, but all sed's we know have understand at least 4000.
33345 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33346 dirpart=`$as_dirname -- "$mf" ||
33347 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33348 X"$mf" : 'X\(//\)[^/]' \| \
33349 X"$mf" : 'X\(//\)$' \| \
33350 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33351 $as_echo X"$mf" |
33352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33353 s//\1/
33356 /^X\(\/\/\)[^/].*/{
33357 s//\1/
33360 /^X\(\/\/\)$/{
33361 s//\1/
33364 /^X\(\/\).*/{
33365 s//\1/
33368 s/.*/./; q'`
33369 else
33370 continue
33372 # Extract the definition of DEPDIR, am__include, and am__quote
33373 # from the Makefile without running 'make'.
33374 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33375 test -z "$DEPDIR" && continue
33376 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33377 test -z "$am__include" && continue
33378 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33379 # Find all dependency output files, they are included files with
33380 # $(DEPDIR) in their names. We invoke sed twice because it is the
33381 # simplest approach to changing $(DEPDIR) to its actual value in the
33382 # expansion.
33383 for file in `sed -n "
33384 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33385 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33386 # Make sure the directory exists.
33387 test -f "$dirpart/$file" && continue
33388 fdir=`$as_dirname -- "$file" ||
33389 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33390 X"$file" : 'X\(//\)[^/]' \| \
33391 X"$file" : 'X\(//\)$' \| \
33392 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33393 $as_echo X"$file" |
33394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33395 s//\1/
33398 /^X\(\/\/\)[^/].*/{
33399 s//\1/
33402 /^X\(\/\/\)$/{
33403 s//\1/
33406 /^X\(\/\).*/{
33407 s//\1/
33410 s/.*/./; q'`
33411 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33412 # echo "creating $dirpart/$file"
33413 echo '# dummy' > "$dirpart/$file"
33414 done
33415 done
33418 "libtool":C)
33420 # See if we are running on zsh, and set the options which allow our
33421 # commands through without removal of \ escapes.
33422 if test -n "${ZSH_VERSION+set}" ; then
33423 setopt NO_GLOB_SUBST
33426 cfgfile="${ofile}T"
33427 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33428 $RM "$cfgfile"
33430 cat <<_LT_EOF >> "$cfgfile"
33431 #! $SHELL
33433 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33434 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33435 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33436 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33438 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33439 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33440 # Written by Gordon Matzigkeit, 1996
33442 # This file is part of GNU Libtool.
33444 # GNU Libtool is free software; you can redistribute it and/or
33445 # modify it under the terms of the GNU General Public License as
33446 # published by the Free Software Foundation; either version 2 of
33447 # the License, or (at your option) any later version.
33449 # As a special exception to the GNU General Public License,
33450 # if you distribute this file as part of a program or library that
33451 # is built using GNU Libtool, you may include this file under the
33452 # same distribution terms that you use for the rest of that program.
33454 # GNU Libtool is distributed in the hope that it will be useful,
33455 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33456 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33457 # GNU General Public License for more details.
33459 # You should have received a copy of the GNU General Public License
33460 # along with GNU Libtool; see the file COPYING. If not, a copy
33461 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33462 # obtained by writing to the Free Software Foundation, Inc.,
33463 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33466 # The names of the tagged configurations supported by this script.
33467 available_tags="FC "
33469 # ### BEGIN LIBTOOL CONFIG
33471 # A sed program that does not truncate output.
33472 SED=$lt_SED
33474 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33475 Xsed="\$SED -e 1s/^X//"
33477 # A grep program that handles long lines.
33478 GREP=$lt_GREP
33480 # An ERE matcher.
33481 EGREP=$lt_EGREP
33483 # A literal string matcher.
33484 FGREP=$lt_FGREP
33486 # Shell to use when invoking shell scripts.
33487 SHELL=$lt_SHELL
33489 # An echo program that protects backslashes.
33490 ECHO=$lt_ECHO
33492 # Which release of libtool.m4 was used?
33493 macro_version=$macro_version
33494 macro_revision=$macro_revision
33496 # Whether or not to build shared libraries.
33497 build_libtool_libs=$enable_shared
33499 # Whether or not to build static libraries.
33500 build_old_libs=$enable_static
33502 # What type of objects to build.
33503 pic_mode=$pic_mode
33505 # Whether or not to optimize for fast installation.
33506 fast_install=$enable_fast_install
33508 # The host system.
33509 host_alias=$host_alias
33510 host=$host
33511 host_os=$host_os
33513 # The build system.
33514 build_alias=$build_alias
33515 build=$build
33516 build_os=$build_os
33518 # A BSD- or MS-compatible name lister.
33519 NM=$lt_NM
33521 # Whether we need soft or hard links.
33522 LN_S=$lt_LN_S
33524 # What is the maximum length of a command?
33525 max_cmd_len=$max_cmd_len
33527 # Object file suffix (normally "o").
33528 objext=$ac_objext
33530 # Executable file suffix (normally "").
33531 exeext=$exeext
33533 # whether the shell understands "unset".
33534 lt_unset=$lt_unset
33536 # turn spaces into newlines.
33537 SP2NL=$lt_lt_SP2NL
33539 # turn newlines into spaces.
33540 NL2SP=$lt_lt_NL2SP
33542 # An object symbol dumper.
33543 OBJDUMP=$lt_OBJDUMP
33545 # Method to check whether dependent libraries are shared objects.
33546 deplibs_check_method=$lt_deplibs_check_method
33548 # Command to use when deplibs_check_method == "file_magic".
33549 file_magic_cmd=$lt_file_magic_cmd
33551 # The archiver.
33552 AR=$lt_AR
33553 AR_FLAGS=$lt_AR_FLAGS
33555 # A symbol stripping program.
33556 STRIP=$lt_STRIP
33558 # Commands used to install an old-style archive.
33559 RANLIB=$lt_RANLIB
33560 old_postinstall_cmds=$lt_old_postinstall_cmds
33561 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33563 # Whether to use a lock for old archive extraction.
33564 lock_old_archive_extraction=$lock_old_archive_extraction
33566 # A C compiler.
33567 LTCC=$lt_CC
33569 # LTCC compiler flags.
33570 LTCFLAGS=$lt_CFLAGS
33572 # Take the output of nm and produce a listing of raw symbols and C names.
33573 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33575 # Transform the output of nm in a proper C declaration.
33576 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33578 # Transform the output of nm in a C name address pair.
33579 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33581 # Transform the output of nm in a C name address pair when lib prefix is needed.
33582 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33584 # The name of the directory that contains temporary libtool files.
33585 objdir=$objdir
33587 # Used to examine libraries when file_magic_cmd begins with "file".
33588 MAGIC_CMD=$MAGIC_CMD
33590 # Must we lock files when doing compilation?
33591 need_locks=$lt_need_locks
33593 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33594 DSYMUTIL=$lt_DSYMUTIL
33596 # Tool to change global to local symbols on Mac OS X.
33597 NMEDIT=$lt_NMEDIT
33599 # Tool to manipulate fat objects and archives on Mac OS X.
33600 LIPO=$lt_LIPO
33602 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33603 OTOOL=$lt_OTOOL
33605 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33606 OTOOL64=$lt_OTOOL64
33608 # Old archive suffix (normally "a").
33609 libext=$libext
33611 # Shared library suffix (normally ".so").
33612 shrext_cmds=$lt_shrext_cmds
33614 # The commands to extract the exported symbol list from a shared archive.
33615 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33617 # Variables whose values should be saved in libtool wrapper scripts and
33618 # restored at link time.
33619 variables_saved_for_relink=$lt_variables_saved_for_relink
33621 # Do we need the "lib" prefix for modules?
33622 need_lib_prefix=$need_lib_prefix
33624 # Do we need a version for libraries?
33625 need_version=$need_version
33627 # Library versioning type.
33628 version_type=$version_type
33630 # Shared library runtime path variable.
33631 runpath_var=$runpath_var
33633 # Shared library path variable.
33634 shlibpath_var=$shlibpath_var
33636 # Is shlibpath searched before the hard-coded library search path?
33637 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33639 # Format of library name prefix.
33640 libname_spec=$lt_libname_spec
33642 # List of archive names. First name is the real one, the rest are links.
33643 # The last name is the one that the linker finds with -lNAME
33644 library_names_spec=$lt_library_names_spec
33646 # The coded name of the library, if different from the real name.
33647 soname_spec=$lt_soname_spec
33649 # Permission mode override for installation of shared libraries.
33650 install_override_mode=$lt_install_override_mode
33652 # Command to use after installation of a shared archive.
33653 postinstall_cmds=$lt_postinstall_cmds
33655 # Command to use after uninstallation of a shared archive.
33656 postuninstall_cmds=$lt_postuninstall_cmds
33658 # Commands used to finish a libtool library installation in a directory.
33659 finish_cmds=$lt_finish_cmds
33661 # As "finish_cmds", except a single script fragment to be evaled but
33662 # not shown.
33663 finish_eval=$lt_finish_eval
33665 # Whether we should hardcode library paths into libraries.
33666 hardcode_into_libs=$hardcode_into_libs
33668 # Compile-time system search path for libraries.
33669 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33671 # Run-time system search path for libraries.
33672 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33674 # Whether dlopen is supported.
33675 dlopen_support=$enable_dlopen
33677 # Whether dlopen of programs is supported.
33678 dlopen_self=$enable_dlopen_self
33680 # Whether dlopen of statically linked programs is supported.
33681 dlopen_self_static=$enable_dlopen_self_static
33683 # Commands to strip libraries.
33684 old_striplib=$lt_old_striplib
33685 striplib=$lt_striplib
33688 # The linker used to build libraries.
33689 LD=$lt_LD
33691 # How to create reloadable object files.
33692 reload_flag=$lt_reload_flag
33693 reload_cmds=$lt_reload_cmds
33695 # Commands used to build an old-style archive.
33696 old_archive_cmds=$lt_old_archive_cmds
33698 # A language specific compiler.
33699 CC=$lt_compiler
33701 # Is the compiler the GNU compiler?
33702 with_gcc=$GCC
33704 # Compiler flag to turn off builtin functions.
33705 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33707 # How to pass a linker flag through the compiler.
33708 wl=$lt_lt_prog_compiler_wl
33710 # Additional compiler flags for building library objects.
33711 pic_flag=$lt_lt_prog_compiler_pic
33713 # Compiler flag to prevent dynamic linking.
33714 link_static_flag=$lt_lt_prog_compiler_static
33716 # Does compiler simultaneously support -c and -o options?
33717 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33719 # Whether or not to add -lc for building shared libraries.
33720 build_libtool_need_lc=$archive_cmds_need_lc
33722 # Whether or not to disallow shared libs when runtime libs are static.
33723 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33725 # Compiler flag to allow reflexive dlopens.
33726 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33728 # Compiler flag to generate shared objects directly from archives.
33729 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33731 # Whether the compiler copes with passing no objects directly.
33732 compiler_needs_object=$lt_compiler_needs_object
33734 # Create an old-style archive from a shared archive.
33735 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33737 # Create a temporary old-style archive to link instead of a shared archive.
33738 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33740 # Commands used to build a shared archive.
33741 archive_cmds=$lt_archive_cmds
33742 archive_expsym_cmds=$lt_archive_expsym_cmds
33744 # Commands used to build a loadable module if different from building
33745 # a shared archive.
33746 module_cmds=$lt_module_cmds
33747 module_expsym_cmds=$lt_module_expsym_cmds
33749 # Whether we are building with GNU ld or not.
33750 with_gnu_ld=$lt_with_gnu_ld
33752 # Flag that allows shared libraries with undefined symbols to be built.
33753 allow_undefined_flag=$lt_allow_undefined_flag
33755 # Flag that enforces no undefined symbols.
33756 no_undefined_flag=$lt_no_undefined_flag
33758 # Flag to hardcode \$libdir into a binary during linking.
33759 # This must work even if \$libdir does not exist
33760 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33762 # If ld is used when linking, flag to hardcode \$libdir into a binary
33763 # during linking. This must work even if \$libdir does not exist.
33764 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33766 # Whether we need a single "-rpath" flag with a separated argument.
33767 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33769 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33770 # DIR into the resulting binary.
33771 hardcode_direct=$hardcode_direct
33773 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33774 # DIR into the resulting binary and the resulting library dependency is
33775 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33776 # library is relocated.
33777 hardcode_direct_absolute=$hardcode_direct_absolute
33779 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33780 # into the resulting binary.
33781 hardcode_minus_L=$hardcode_minus_L
33783 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33784 # into the resulting binary.
33785 hardcode_shlibpath_var=$hardcode_shlibpath_var
33787 # Set to "yes" if building a shared library automatically hardcodes DIR
33788 # into the library and all subsequent libraries and executables linked
33789 # against it.
33790 hardcode_automatic=$hardcode_automatic
33792 # Set to yes if linker adds runtime paths of dependent libraries
33793 # to runtime path list.
33794 inherit_rpath=$inherit_rpath
33796 # Whether libtool must link a program against all its dependency libraries.
33797 link_all_deplibs=$link_all_deplibs
33799 # Fix the shell variable \$srcfile for the compiler.
33800 fix_srcfile_path=$lt_fix_srcfile_path
33802 # Set to "yes" if exported symbols are required.
33803 always_export_symbols=$always_export_symbols
33805 # The commands to list exported symbols.
33806 export_symbols_cmds=$lt_export_symbols_cmds
33808 # Symbols that should not be listed in the preloaded symbols.
33809 exclude_expsyms=$lt_exclude_expsyms
33811 # Symbols that must always be exported.
33812 include_expsyms=$lt_include_expsyms
33814 # Commands necessary for linking programs (against libraries) with templates.
33815 prelink_cmds=$lt_prelink_cmds
33817 # Specify filename containing input files.
33818 file_list_spec=$lt_file_list_spec
33820 # How to hardcode a shared library path into an executable.
33821 hardcode_action=$hardcode_action
33823 # The directories searched by this compiler when creating a shared library.
33824 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33826 # Dependencies to place before and after the objects being linked to
33827 # create a shared library.
33828 predep_objects=$lt_predep_objects
33829 postdep_objects=$lt_postdep_objects
33830 predeps=$lt_predeps
33831 postdeps=$lt_postdeps
33833 # The library search path used internally by the compiler when linking
33834 # a shared library.
33835 compiler_lib_search_path=$lt_compiler_lib_search_path
33837 # ### END LIBTOOL CONFIG
33839 _LT_EOF
33841 case $host_os in
33842 aix3*)
33843 cat <<\_LT_EOF >> "$cfgfile"
33844 # AIX sometimes has problems with the GCC collect2 program. For some
33845 # reason, if we set the COLLECT_NAMES environment variable, the problems
33846 # vanish in a puff of smoke.
33847 if test "X${COLLECT_NAMES+set}" != Xset; then
33848 COLLECT_NAMES=
33849 export COLLECT_NAMES
33851 _LT_EOF
33853 esac
33856 ltmain="$ac_aux_dir/ltmain.sh"
33859 # We use sed instead of cat because bash on DJGPP gets confused if
33860 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33861 # text mode, it properly converts lines to CR/LF. This bash problem
33862 # is reportedly fixed, but why not run on old versions too?
33863 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33864 || (rm -f "$cfgfile"; exit 1)
33866 case $xsi_shell in
33867 yes)
33868 cat << \_LT_EOF >> "$cfgfile"
33870 # func_dirname file append nondir_replacement
33871 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33872 # otherwise set result to NONDIR_REPLACEMENT.
33873 func_dirname ()
33875 case ${1} in
33876 */*) func_dirname_result="${1%/*}${2}" ;;
33877 * ) func_dirname_result="${3}" ;;
33878 esac
33881 # func_basename file
33882 func_basename ()
33884 func_basename_result="${1##*/}"
33887 # func_dirname_and_basename file append nondir_replacement
33888 # perform func_basename and func_dirname in a single function
33889 # call:
33890 # dirname: Compute the dirname of FILE. If nonempty,
33891 # add APPEND to the result, otherwise set result
33892 # to NONDIR_REPLACEMENT.
33893 # value returned in "$func_dirname_result"
33894 # basename: Compute filename of FILE.
33895 # value retuned in "$func_basename_result"
33896 # Implementation must be kept synchronized with func_dirname
33897 # and func_basename. For efficiency, we do not delegate to
33898 # those functions but instead duplicate the functionality here.
33899 func_dirname_and_basename ()
33901 case ${1} in
33902 */*) func_dirname_result="${1%/*}${2}" ;;
33903 * ) func_dirname_result="${3}" ;;
33904 esac
33905 func_basename_result="${1##*/}"
33908 # func_stripname prefix suffix name
33909 # strip PREFIX and SUFFIX off of NAME.
33910 # PREFIX and SUFFIX must not contain globbing or regex special
33911 # characters, hashes, percent signs, but SUFFIX may contain a leading
33912 # dot (in which case that matches only a dot).
33913 func_stripname ()
33915 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33916 # positional parameters, so assign one to ordinary parameter first.
33917 func_stripname_result=${3}
33918 func_stripname_result=${func_stripname_result#"${1}"}
33919 func_stripname_result=${func_stripname_result%"${2}"}
33922 # func_opt_split
33923 func_opt_split ()
33925 func_opt_split_opt=${1%%=*}
33926 func_opt_split_arg=${1#*=}
33929 # func_lo2o object
33930 func_lo2o ()
33932 case ${1} in
33933 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33934 *) func_lo2o_result=${1} ;;
33935 esac
33938 # func_xform libobj-or-source
33939 func_xform ()
33941 func_xform_result=${1%.*}.lo
33944 # func_arith arithmetic-term...
33945 func_arith ()
33947 func_arith_result=$(( $* ))
33950 # func_len string
33951 # STRING may not start with a hyphen.
33952 func_len ()
33954 func_len_result=${#1}
33957 _LT_EOF
33959 *) # Bourne compatible functions.
33960 cat << \_LT_EOF >> "$cfgfile"
33962 # func_dirname file append nondir_replacement
33963 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33964 # otherwise set result to NONDIR_REPLACEMENT.
33965 func_dirname ()
33967 # Extract subdirectory from the argument.
33968 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
33969 if test "X$func_dirname_result" = "X${1}"; then
33970 func_dirname_result="${3}"
33971 else
33972 func_dirname_result="$func_dirname_result${2}"
33976 # func_basename file
33977 func_basename ()
33979 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
33983 # func_stripname prefix suffix name
33984 # strip PREFIX and SUFFIX off of NAME.
33985 # PREFIX and SUFFIX must not contain globbing or regex special
33986 # characters, hashes, percent signs, but SUFFIX may contain a leading
33987 # dot (in which case that matches only a dot).
33988 # func_strip_suffix prefix name
33989 func_stripname ()
33991 case ${2} in
33992 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33993 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33994 esac
33997 # sed scripts:
33998 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33999 my_sed_long_arg='1s/^-[^=]*=//'
34001 # func_opt_split
34002 func_opt_split ()
34004 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
34005 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
34008 # func_lo2o object
34009 func_lo2o ()
34011 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
34014 # func_xform libobj-or-source
34015 func_xform ()
34017 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
34020 # func_arith arithmetic-term...
34021 func_arith ()
34023 func_arith_result=`expr "$@"`
34026 # func_len string
34027 # STRING may not start with a hyphen.
34028 func_len ()
34030 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
34033 _LT_EOF
34034 esac
34036 case $lt_shell_append in
34037 yes)
34038 cat << \_LT_EOF >> "$cfgfile"
34040 # func_append var value
34041 # Append VALUE to the end of shell variable VAR.
34042 func_append ()
34044 eval "$1+=\$2"
34046 _LT_EOF
34049 cat << \_LT_EOF >> "$cfgfile"
34051 # func_append var value
34052 # Append VALUE to the end of shell variable VAR.
34053 func_append ()
34055 eval "$1=\$$1\$2"
34058 _LT_EOF
34060 esac
34063 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
34064 || (rm -f "$cfgfile"; exit 1)
34066 mv -f "$cfgfile" "$ofile" ||
34067 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34068 chmod +x "$ofile"
34071 cat <<_LT_EOF >> "$ofile"
34073 # ### BEGIN LIBTOOL TAG CONFIG: FC
34075 # The linker used to build libraries.
34076 LD=$lt_LD_FC
34078 # How to create reloadable object files.
34079 reload_flag=$lt_reload_flag_FC
34080 reload_cmds=$lt_reload_cmds_FC
34082 # Commands used to build an old-style archive.
34083 old_archive_cmds=$lt_old_archive_cmds_FC
34085 # A language specific compiler.
34086 CC=$lt_compiler_FC
34088 # Is the compiler the GNU compiler?
34089 with_gcc=$GCC_FC
34091 # Compiler flag to turn off builtin functions.
34092 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
34094 # How to pass a linker flag through the compiler.
34095 wl=$lt_lt_prog_compiler_wl_FC
34097 # Additional compiler flags for building library objects.
34098 pic_flag=$lt_lt_prog_compiler_pic_FC
34100 # Compiler flag to prevent dynamic linking.
34101 link_static_flag=$lt_lt_prog_compiler_static_FC
34103 # Does compiler simultaneously support -c and -o options?
34104 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
34106 # Whether or not to add -lc for building shared libraries.
34107 build_libtool_need_lc=$archive_cmds_need_lc_FC
34109 # Whether or not to disallow shared libs when runtime libs are static.
34110 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
34112 # Compiler flag to allow reflexive dlopens.
34113 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
34115 # Compiler flag to generate shared objects directly from archives.
34116 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34118 # Whether the compiler copes with passing no objects directly.
34119 compiler_needs_object=$lt_compiler_needs_object_FC
34121 # Create an old-style archive from a shared archive.
34122 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34124 # Create a temporary old-style archive to link instead of a shared archive.
34125 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34127 # Commands used to build a shared archive.
34128 archive_cmds=$lt_archive_cmds_FC
34129 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34131 # Commands used to build a loadable module if different from building
34132 # a shared archive.
34133 module_cmds=$lt_module_cmds_FC
34134 module_expsym_cmds=$lt_module_expsym_cmds_FC
34136 # Whether we are building with GNU ld or not.
34137 with_gnu_ld=$lt_with_gnu_ld_FC
34139 # Flag that allows shared libraries with undefined symbols to be built.
34140 allow_undefined_flag=$lt_allow_undefined_flag_FC
34142 # Flag that enforces no undefined symbols.
34143 no_undefined_flag=$lt_no_undefined_flag_FC
34145 # Flag to hardcode \$libdir into a binary during linking.
34146 # This must work even if \$libdir does not exist
34147 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34149 # If ld is used when linking, flag to hardcode \$libdir into a binary
34150 # during linking. This must work even if \$libdir does not exist.
34151 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34153 # Whether we need a single "-rpath" flag with a separated argument.
34154 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34156 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34157 # DIR into the resulting binary.
34158 hardcode_direct=$hardcode_direct_FC
34160 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34161 # DIR into the resulting binary and the resulting library dependency is
34162 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34163 # library is relocated.
34164 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34166 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34167 # into the resulting binary.
34168 hardcode_minus_L=$hardcode_minus_L_FC
34170 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34171 # into the resulting binary.
34172 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34174 # Set to "yes" if building a shared library automatically hardcodes DIR
34175 # into the library and all subsequent libraries and executables linked
34176 # against it.
34177 hardcode_automatic=$hardcode_automatic_FC
34179 # Set to yes if linker adds runtime paths of dependent libraries
34180 # to runtime path list.
34181 inherit_rpath=$inherit_rpath_FC
34183 # Whether libtool must link a program against all its dependency libraries.
34184 link_all_deplibs=$link_all_deplibs_FC
34186 # Fix the shell variable \$srcfile for the compiler.
34187 fix_srcfile_path=$lt_fix_srcfile_path_FC
34189 # Set to "yes" if exported symbols are required.
34190 always_export_symbols=$always_export_symbols_FC
34192 # The commands to list exported symbols.
34193 export_symbols_cmds=$lt_export_symbols_cmds_FC
34195 # Symbols that should not be listed in the preloaded symbols.
34196 exclude_expsyms=$lt_exclude_expsyms_FC
34198 # Symbols that must always be exported.
34199 include_expsyms=$lt_include_expsyms_FC
34201 # Commands necessary for linking programs (against libraries) with templates.
34202 prelink_cmds=$lt_prelink_cmds_FC
34204 # Specify filename containing input files.
34205 file_list_spec=$lt_file_list_spec_FC
34207 # How to hardcode a shared library path into an executable.
34208 hardcode_action=$hardcode_action_FC
34210 # The directories searched by this compiler when creating a shared library.
34211 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34213 # Dependencies to place before and after the objects being linked to
34214 # create a shared library.
34215 predep_objects=$lt_predep_objects_FC
34216 postdep_objects=$lt_postdep_objects_FC
34217 predeps=$lt_predeps_FC
34218 postdeps=$lt_postdeps_FC
34220 # The library search path used internally by the compiler when linking
34221 # a shared library.
34222 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34224 # ### END LIBTOOL TAG CONFIG: FC
34225 _LT_EOF
34228 "gstdint.h":C)
34229 if test "$GCC" = yes; then
34230 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34231 else
34232 echo "/* generated for $CC */" > tmp-stdint.h
34235 sed 's/^ *//' >> tmp-stdint.h <<EOF
34237 #ifndef GCC_GENERATED_STDINT_H
34238 #define GCC_GENERATED_STDINT_H 1
34240 #include <sys/types.h>
34243 if test "$acx_cv_header_stdint" != stdint.h; then
34244 echo "#include <stddef.h>" >> tmp-stdint.h
34246 if test "$acx_cv_header_stdint" != stddef.h; then
34247 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34250 sed 's/^ *//' >> tmp-stdint.h <<EOF
34251 /* glibc uses these symbols as guards to prevent redefinitions. */
34252 #ifdef __int8_t_defined
34253 #define _INT8_T
34254 #define _INT16_T
34255 #define _INT32_T
34256 #endif
34257 #ifdef __uint32_t_defined
34258 #define _UINT32_T
34259 #endif
34263 # ----------------- done header, emit basic int types -------------
34264 if test "$acx_cv_header_stdint" = stddef.h; then
34265 sed 's/^ *//' >> tmp-stdint.h <<EOF
34267 #ifndef _UINT8_T
34268 #define _UINT8_T
34269 #ifndef __uint8_t_defined
34270 #define __uint8_t_defined
34271 #ifndef uint8_t
34272 typedef unsigned $acx_cv_type_int8_t uint8_t;
34273 #endif
34274 #endif
34275 #endif
34277 #ifndef _UINT16_T
34278 #define _UINT16_T
34279 #ifndef __uint16_t_defined
34280 #define __uint16_t_defined
34281 #ifndef uint16_t
34282 typedef unsigned $acx_cv_type_int16_t uint16_t;
34283 #endif
34284 #endif
34285 #endif
34287 #ifndef _UINT32_T
34288 #define _UINT32_T
34289 #ifndef __uint32_t_defined
34290 #define __uint32_t_defined
34291 #ifndef uint32_t
34292 typedef unsigned $acx_cv_type_int32_t uint32_t;
34293 #endif
34294 #endif
34295 #endif
34297 #ifndef _INT8_T
34298 #define _INT8_T
34299 #ifndef __int8_t_defined
34300 #define __int8_t_defined
34301 #ifndef int8_t
34302 typedef $acx_cv_type_int8_t int8_t;
34303 #endif
34304 #endif
34305 #endif
34307 #ifndef _INT16_T
34308 #define _INT16_T
34309 #ifndef __int16_t_defined
34310 #define __int16_t_defined
34311 #ifndef int16_t
34312 typedef $acx_cv_type_int16_t int16_t;
34313 #endif
34314 #endif
34315 #endif
34317 #ifndef _INT32_T
34318 #define _INT32_T
34319 #ifndef __int32_t_defined
34320 #define __int32_t_defined
34321 #ifndef int32_t
34322 typedef $acx_cv_type_int32_t int32_t;
34323 #endif
34324 #endif
34325 #endif
34327 elif test "$ac_cv_type_u_int32_t" = yes; then
34328 sed 's/^ *//' >> tmp-stdint.h <<EOF
34330 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34331 #ifndef _INT8_T
34332 #define _INT8_T
34333 #endif
34334 #ifndef _INT16_T
34335 #define _INT16_T
34336 #endif
34337 #ifndef _INT32_T
34338 #define _INT32_T
34339 #endif
34341 #ifndef _UINT8_T
34342 #define _UINT8_T
34343 #ifndef __uint8_t_defined
34344 #define __uint8_t_defined
34345 #ifndef uint8_t
34346 typedef u_int8_t uint8_t;
34347 #endif
34348 #endif
34349 #endif
34351 #ifndef _UINT16_T
34352 #define _UINT16_T
34353 #ifndef __uint16_t_defined
34354 #define __uint16_t_defined
34355 #ifndef uint16_t
34356 typedef u_int16_t uint16_t;
34357 #endif
34358 #endif
34359 #endif
34361 #ifndef _UINT32_T
34362 #define _UINT32_T
34363 #ifndef __uint32_t_defined
34364 #define __uint32_t_defined
34365 #ifndef uint32_t
34366 typedef u_int32_t uint32_t;
34367 #endif
34368 #endif
34369 #endif
34371 else
34372 sed 's/^ *//' >> tmp-stdint.h <<EOF
34374 /* Some systems have guard macros to prevent redefinitions, define them. */
34375 #ifndef _INT8_T
34376 #define _INT8_T
34377 #endif
34378 #ifndef _INT16_T
34379 #define _INT16_T
34380 #endif
34381 #ifndef _INT32_T
34382 #define _INT32_T
34383 #endif
34384 #ifndef _UINT8_T
34385 #define _UINT8_T
34386 #endif
34387 #ifndef _UINT16_T
34388 #define _UINT16_T
34389 #endif
34390 #ifndef _UINT32_T
34391 #define _UINT32_T
34392 #endif
34396 # ------------- done basic int types, emit int64_t types ------------
34397 if test "$ac_cv_type_uint64_t" = yes; then
34398 sed 's/^ *//' >> tmp-stdint.h <<EOF
34400 /* system headers have good uint64_t and int64_t */
34401 #ifndef _INT64_T
34402 #define _INT64_T
34403 #endif
34404 #ifndef _UINT64_T
34405 #define _UINT64_T
34406 #endif
34408 elif test "$ac_cv_type_u_int64_t" = yes; then
34409 sed 's/^ *//' >> tmp-stdint.h <<EOF
34411 /* system headers have an u_int64_t (and int64_t) */
34412 #ifndef _INT64_T
34413 #define _INT64_T
34414 #endif
34415 #ifndef _UINT64_T
34416 #define _UINT64_T
34417 #ifndef __uint64_t_defined
34418 #define __uint64_t_defined
34419 #ifndef uint64_t
34420 typedef u_int64_t uint64_t;
34421 #endif
34422 #endif
34423 #endif
34425 elif test -n "$acx_cv_type_int64_t"; then
34426 sed 's/^ *//' >> tmp-stdint.h <<EOF
34428 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34429 #ifndef _INT64_T
34430 #define _INT64_T
34431 #ifndef int64_t
34432 typedef $acx_cv_type_int64_t int64_t;
34433 #endif
34434 #endif
34435 #ifndef _UINT64_T
34436 #define _UINT64_T
34437 #ifndef __uint64_t_defined
34438 #define __uint64_t_defined
34439 #ifndef uint64_t
34440 typedef unsigned $acx_cv_type_int64_t uint64_t;
34441 #endif
34442 #endif
34443 #endif
34445 else
34446 sed 's/^ *//' >> tmp-stdint.h <<EOF
34448 /* some common heuristics for int64_t, using compiler-specific tests */
34449 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34450 #ifndef _INT64_T
34451 #define _INT64_T
34452 #ifndef __int64_t_defined
34453 #ifndef int64_t
34454 typedef long long int64_t;
34455 #endif
34456 #endif
34457 #endif
34458 #ifndef _UINT64_T
34459 #define _UINT64_T
34460 #ifndef uint64_t
34461 typedef unsigned long long uint64_t;
34462 #endif
34463 #endif
34465 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34466 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34467 does not implement __extension__. But that compiler doesn't define
34468 __GNUC_MINOR__. */
34469 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34470 # define __extension__
34471 # endif
34473 # ifndef _INT64_T
34474 # define _INT64_T
34475 # ifndef int64_t
34476 __extension__ typedef long long int64_t;
34477 # endif
34478 # endif
34479 # ifndef _UINT64_T
34480 # define _UINT64_T
34481 # ifndef uint64_t
34482 __extension__ typedef unsigned long long uint64_t;
34483 # endif
34484 # endif
34486 #elif !defined __STRICT_ANSI__
34487 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34489 # ifndef _INT64_T
34490 # define _INT64_T
34491 # ifndef int64_t
34492 typedef __int64 int64_t;
34493 # endif
34494 # endif
34495 # ifndef _UINT64_T
34496 # define _UINT64_T
34497 # ifndef uint64_t
34498 typedef unsigned __int64 uint64_t;
34499 # endif
34500 # endif
34501 # endif /* compiler */
34503 #endif /* ANSI version */
34507 # ------------- done int64_t types, emit intptr types ------------
34508 if test "$ac_cv_type_uintptr_t" != yes; then
34509 sed 's/^ *//' >> tmp-stdint.h <<EOF
34511 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34512 #ifndef __uintptr_t_defined
34513 #ifndef uintptr_t
34514 typedef u$acx_cv_type_intptr_t uintptr_t;
34515 #endif
34516 #endif
34517 #ifndef __intptr_t_defined
34518 #ifndef intptr_t
34519 typedef $acx_cv_type_intptr_t intptr_t;
34520 #endif
34521 #endif
34525 # ------------- done intptr types, emit int_least types ------------
34526 if test "$ac_cv_type_int_least32_t" != yes; then
34527 sed 's/^ *//' >> tmp-stdint.h <<EOF
34529 /* Define int_least types */
34530 typedef int8_t int_least8_t;
34531 typedef int16_t int_least16_t;
34532 typedef int32_t int_least32_t;
34533 #ifdef _INT64_T
34534 typedef int64_t int_least64_t;
34535 #endif
34537 typedef uint8_t uint_least8_t;
34538 typedef uint16_t uint_least16_t;
34539 typedef uint32_t uint_least32_t;
34540 #ifdef _UINT64_T
34541 typedef uint64_t uint_least64_t;
34542 #endif
34546 # ------------- done intptr types, emit int_fast types ------------
34547 if test "$ac_cv_type_int_fast32_t" != yes; then
34548 sed 's/^ *//' >> tmp-stdint.h <<EOF
34550 /* Define int_fast types. short is often slow */
34551 typedef int8_t int_fast8_t;
34552 typedef int int_fast16_t;
34553 typedef int32_t int_fast32_t;
34554 #ifdef _INT64_T
34555 typedef int64_t int_fast64_t;
34556 #endif
34558 typedef uint8_t uint_fast8_t;
34559 typedef unsigned int uint_fast16_t;
34560 typedef uint32_t uint_fast32_t;
34561 #ifdef _UINT64_T
34562 typedef uint64_t uint_fast64_t;
34563 #endif
34567 if test "$ac_cv_type_uintmax_t" != yes; then
34568 sed 's/^ *//' >> tmp-stdint.h <<EOF
34570 /* Define intmax based on what we found */
34571 #ifndef intmax_t
34572 #ifdef _INT64_T
34573 typedef int64_t intmax_t;
34574 #else
34575 typedef long intmax_t;
34576 #endif
34577 #endif
34578 #ifndef uintmax_t
34579 #ifdef _UINT64_T
34580 typedef uint64_t uintmax_t;
34581 #else
34582 typedef unsigned long uintmax_t;
34583 #endif
34584 #endif
34588 sed 's/^ *//' >> tmp-stdint.h <<EOF
34590 #endif /* GCC_GENERATED_STDINT_H */
34593 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
34594 rm -f tmp-stdint.h
34595 else
34596 mv -f tmp-stdint.h gstdint.h
34601 esac
34602 done # for ac_tag
34605 as_fn_exit 0
34606 _ACEOF
34607 ac_clean_files=$ac_clean_files_save
34609 test $ac_write_fail = 0 ||
34610 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34613 # configure is writing to config.log, and then calls config.status.
34614 # config.status does its own redirection, appending to config.log.
34615 # Unfortunately, on DOS this fails, as config.log is still kept open
34616 # by configure, so config.status won't be able to write to it; its
34617 # output is simply discarded. So we exec the FD to /dev/null,
34618 # effectively closing config.log, so it can be properly (re)opened and
34619 # appended to by config.status. When coming back to configure, we
34620 # need to make the FD available again.
34621 if test "$no_create" != yes; then
34622 ac_cs_success=:
34623 ac_config_status_args=
34624 test "$silent" = yes &&
34625 ac_config_status_args="$ac_config_status_args --quiet"
34626 exec 5>/dev/null
34627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34628 exec 5>>config.log
34629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34630 # would make configure fail if this is the last instruction.
34631 $ac_cs_success || as_fn_exit 1
34633 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34635 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}