compiler: only build thunk struct type when it is needed
[official-gcc.git] / libgfortran / configure
blobbeb0ec49eb15093a2bd0ba32da4720f85bb096e1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME='libgfortran'
590 PACKAGE_VERSION='0.3'
591 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 # include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 # include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
631 ac_header_list=
632 ac_func_list=
633 ac_c_werror_flag=
634 ac_c_werror_flag=
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 get_gcc_base_ver
640 HAVE_AVX128_FALSE
641 HAVE_AVX128_TRUE
642 tmake_file
643 IEEE_FLAGS
644 IEEE_SUPPORT
645 IEEE_SUPPORT_FALSE
646 IEEE_SUPPORT_TRUE
647 FPU_HOST_HEADER
648 USE_IEC_60559
649 LIBQUADINCLUDE
650 LIBQUADLIB_DEP
651 LIBQUADLIB
652 LIBQUADSPEC
653 extra_ldflags_libgfortran
654 ac_ct_FC
655 FCFLAGS
657 enable_static
658 enable_shared
659 lt_host_flags
660 LIBM
661 OTOOL64
662 OTOOL
663 LIPO
664 NMEDIT
665 DSYMUTIL
666 OBJDUMP
667 LN_S
669 ac_ct_DUMPBIN
670 DUMPBIN
671 LIBTOOL
672 RANLIB
675 HAVE_HWCAP_FALSE
676 HAVE_HWCAP_TRUE
677 HWCAP_LDFLAGS
679 FGREP
681 SECTION_FLAGS
682 LIBGOMP_CHECKED_REAL_KINDS
683 LIBGOMP_CHECKED_INT_KINDS
684 LIBGFOR_MINIMAL_FALSE
685 LIBGFOR_MINIMAL_TRUE
686 LIBGFOR_USE_SYMVER_SUN_FALSE
687 LIBGFOR_USE_SYMVER_SUN_TRUE
688 LIBGFOR_USE_SYMVER_GNU_FALSE
689 LIBGFOR_USE_SYMVER_GNU_TRUE
690 LIBGFOR_USE_SYMVER_FALSE
691 LIBGFOR_USE_SYMVER_TRUE
692 AM_CFLAGS
693 AM_FCFLAGS
694 HAVE_REAL_17_FALSE
695 HAVE_REAL_17_TRUE
696 toolexeclibdir
697 toolexecdir
698 EGREP
699 GREP
701 am__fastdepCC_FALSE
702 am__fastdepCC_TRUE
703 CCDEPMODE
704 am__nodep
705 AMDEPBACKSLASH
706 AMDEP_FALSE
707 AMDEP_TRUE
708 am__quote
709 am__include
710 DEPDIR
711 OBJEXT
712 EXEEXT
713 ac_ct_CC
714 CPPFLAGS
715 LDFLAGS
716 CFLAGS
718 multi_basedir
719 MAINT
720 MAINTAINER_MODE_FALSE
721 MAINTAINER_MODE_TRUE
722 AM_BACKSLASH
723 AM_DEFAULT_VERBOSITY
724 AM_DEFAULT_V
725 AM_V
726 am__untar
727 am__tar
728 AMTAR
729 am__leading_dot
730 SET_MAKE
732 mkdir_p
733 MKDIR_P
734 INSTALL_STRIP_PROGRAM
735 STRIP
736 install_sh
737 MAKEINFO
738 AUTOHEADER
739 AUTOMAKE
740 AUTOCONF
741 ACLOCAL
742 VERSION
743 PACKAGE
744 CYGPATH_W
745 am__isrc
746 INSTALL_DATA
747 INSTALL_SCRIPT
748 INSTALL_PROGRAM
749 target_noncanonical
750 target_os
751 target_vendor
752 target_cpu
753 target
754 host_os
755 host_vendor
756 host_cpu
757 host
758 onestep
759 onestep_FALSE
760 onestep_TRUE
761 target_subdir
762 host_subdir
763 build_subdir
764 build_libsubdir
765 build_os
766 build_vendor
767 build_cpu
768 build
769 target_alias
770 host_alias
771 build_alias
772 LIBS
773 ECHO_T
774 ECHO_N
775 ECHO_C
776 DEFS
777 mandir
778 localedir
779 libdir
780 psdir
781 pdfdir
782 dvidir
783 htmldir
784 infodir
785 docdir
786 oldincludedir
787 includedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 with_build_libsubdir
811 enable_version_specific_runtime_libs
812 enable_intermodule
813 enable_silent_rules
814 enable_maintainer_mode
815 enable_multilib
816 enable_dependency_tracking
817 with_toolexeclibdir
818 enable_cet
819 enable_symvers
820 with_gnu_ld
821 enable_shared
822 enable_static
823 with_pic
824 enable_fast_install
825 enable_libtool_lock
826 enable_largefile
827 enable_libquadmath_support
828 with_gcc_major_version_only
830 ac_precious_vars='build_alias
831 host_alias
832 target_alias
834 CFLAGS
835 LDFLAGS
836 LIBS
837 CPPFLAGS
840 FCFLAGS'
843 # Initialize some variables set by options.
844 ac_init_help=
845 ac_init_version=false
846 ac_unrecognized_opts=
847 ac_unrecognized_sep=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
850 cache_file=/dev/null
851 exec_prefix=NONE
852 no_create=
853 no_recursion=
854 prefix=NONE
855 program_prefix=NONE
856 program_suffix=NONE
857 program_transform_name=s,x,x,
858 silent=
859 site=
860 srcdir=
861 verbose=
862 x_includes=NONE
863 x_libraries=NONE
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir='${exec_prefix}/bin'
872 sbindir='${exec_prefix}/sbin'
873 libexecdir='${exec_prefix}/libexec'
874 datarootdir='${prefix}/share'
875 datadir='${datarootdir}'
876 sysconfdir='${prefix}/etc'
877 sharedstatedir='${prefix}/com'
878 localstatedir='${prefix}/var'
879 includedir='${prefix}/include'
880 oldincludedir='/usr/include'
881 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
882 infodir='${datarootdir}/info'
883 htmldir='${docdir}'
884 dvidir='${docdir}'
885 pdfdir='${docdir}'
886 psdir='${docdir}'
887 libdir='${exec_prefix}/lib'
888 localedir='${datarootdir}/locale'
889 mandir='${datarootdir}/man'
891 ac_prev=
892 ac_dashdash=
893 for ac_option
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\$ac_option
898 ac_prev=
899 continue
902 case $ac_option in
903 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 *=) ac_optarg= ;;
905 *) ac_optarg=yes ;;
906 esac
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
912 ac_dashdash=yes ;;
914 -bindir | --bindir | --bindi | --bind | --bin | --bi)
915 ac_prev=bindir ;;
916 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
917 bindir=$ac_optarg ;;
919 -build | --build | --buil | --bui | --bu)
920 ac_prev=build_alias ;;
921 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
922 build_alias=$ac_optarg ;;
924 -cache-file | --cache-file | --cache-fil | --cache-fi \
925 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
926 ac_prev=cache_file ;;
927 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
928 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
929 cache_file=$ac_optarg ;;
931 --config-cache | -C)
932 cache_file=config.cache ;;
934 -datadir | --datadir | --datadi | --datad)
935 ac_prev=datadir ;;
936 -datadir=* | --datadir=* | --datadi=* | --datad=*)
937 datadir=$ac_optarg ;;
939 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
940 | --dataroo | --dataro | --datar)
941 ac_prev=datarootdir ;;
942 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
943 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
944 datarootdir=$ac_optarg ;;
946 -disable-* | --disable-*)
947 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
950 as_fn_error $? "invalid feature name: $ac_useropt"
951 ac_useropt_orig=$ac_useropt
952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
955 "enable_$ac_useropt"
956 "*) ;;
957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep=', ';;
959 esac
960 eval enable_$ac_useropt=no ;;
962 -docdir | --docdir | --docdi | --doc | --do)
963 ac_prev=docdir ;;
964 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965 docdir=$ac_optarg ;;
967 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
968 ac_prev=dvidir ;;
969 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970 dvidir=$ac_optarg ;;
972 -enable-* | --enable-*)
973 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976 as_fn_error $? "invalid feature name: $ac_useropt"
977 ac_useropt_orig=$ac_useropt
978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
981 "enable_$ac_useropt"
982 "*) ;;
983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep=', ';;
985 esac
986 eval enable_$ac_useropt=\$ac_optarg ;;
988 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
989 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
990 | --exec | --exe | --ex)
991 ac_prev=exec_prefix ;;
992 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
993 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
994 | --exec=* | --exe=* | --ex=*)
995 exec_prefix=$ac_optarg ;;
997 -gas | --gas | --ga | --g)
998 # Obsolete; use --with-gas.
999 with_gas=yes ;;
1001 -help | --help | --hel | --he | -h)
1002 ac_init_help=long ;;
1003 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1004 ac_init_help=recursive ;;
1005 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1006 ac_init_help=short ;;
1008 -host | --host | --hos | --ho)
1009 ac_prev=host_alias ;;
1010 -host=* | --host=* | --hos=* | --ho=*)
1011 host_alias=$ac_optarg ;;
1013 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1014 ac_prev=htmldir ;;
1015 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1016 | --ht=*)
1017 htmldir=$ac_optarg ;;
1019 -includedir | --includedir | --includedi | --included | --include \
1020 | --includ | --inclu | --incl | --inc)
1021 ac_prev=includedir ;;
1022 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1023 | --includ=* | --inclu=* | --incl=* | --inc=*)
1024 includedir=$ac_optarg ;;
1026 -infodir | --infodir | --infodi | --infod | --info | --inf)
1027 ac_prev=infodir ;;
1028 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1029 infodir=$ac_optarg ;;
1031 -libdir | --libdir | --libdi | --libd)
1032 ac_prev=libdir ;;
1033 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1034 libdir=$ac_optarg ;;
1036 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1037 | --libexe | --libex | --libe)
1038 ac_prev=libexecdir ;;
1039 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1040 | --libexe=* | --libex=* | --libe=*)
1041 libexecdir=$ac_optarg ;;
1043 -localedir | --localedir | --localedi | --localed | --locale)
1044 ac_prev=localedir ;;
1045 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1046 localedir=$ac_optarg ;;
1048 -localstatedir | --localstatedir | --localstatedi | --localstated \
1049 | --localstate | --localstat | --localsta | --localst | --locals)
1050 ac_prev=localstatedir ;;
1051 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1052 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1053 localstatedir=$ac_optarg ;;
1055 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1056 ac_prev=mandir ;;
1057 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1058 mandir=$ac_optarg ;;
1060 -nfp | --nfp | --nf)
1061 # Obsolete; use --without-fp.
1062 with_fp=no ;;
1064 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1065 | --no-cr | --no-c | -n)
1066 no_create=yes ;;
1068 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1069 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1070 no_recursion=yes ;;
1072 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1073 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1074 | --oldin | --oldi | --old | --ol | --o)
1075 ac_prev=oldincludedir ;;
1076 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1077 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1078 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1079 oldincludedir=$ac_optarg ;;
1081 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1082 ac_prev=prefix ;;
1083 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1084 prefix=$ac_optarg ;;
1086 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1087 | --program-pre | --program-pr | --program-p)
1088 ac_prev=program_prefix ;;
1089 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1090 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1091 program_prefix=$ac_optarg ;;
1093 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1094 | --program-suf | --program-su | --program-s)
1095 ac_prev=program_suffix ;;
1096 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1097 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1098 program_suffix=$ac_optarg ;;
1100 -program-transform-name | --program-transform-name \
1101 | --program-transform-nam | --program-transform-na \
1102 | --program-transform-n | --program-transform- \
1103 | --program-transform | --program-transfor \
1104 | --program-transfo | --program-transf \
1105 | --program-trans | --program-tran \
1106 | --progr-tra | --program-tr | --program-t)
1107 ac_prev=program_transform_name ;;
1108 -program-transform-name=* | --program-transform-name=* \
1109 | --program-transform-nam=* | --program-transform-na=* \
1110 | --program-transform-n=* | --program-transform-=* \
1111 | --program-transform=* | --program-transfor=* \
1112 | --program-transfo=* | --program-transf=* \
1113 | --program-trans=* | --program-tran=* \
1114 | --progr-tra=* | --program-tr=* | --program-t=*)
1115 program_transform_name=$ac_optarg ;;
1117 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1118 ac_prev=pdfdir ;;
1119 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1120 pdfdir=$ac_optarg ;;
1122 -psdir | --psdir | --psdi | --psd | --ps)
1123 ac_prev=psdir ;;
1124 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1125 psdir=$ac_optarg ;;
1127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1128 | -silent | --silent | --silen | --sile | --sil)
1129 silent=yes ;;
1131 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 ac_prev=sbindir ;;
1133 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1134 | --sbi=* | --sb=*)
1135 sbindir=$ac_optarg ;;
1137 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1138 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1139 | --sharedst | --shareds | --shared | --share | --shar \
1140 | --sha | --sh)
1141 ac_prev=sharedstatedir ;;
1142 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1143 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1144 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1145 | --sha=* | --sh=*)
1146 sharedstatedir=$ac_optarg ;;
1148 -site | --site | --sit)
1149 ac_prev=site ;;
1150 -site=* | --site=* | --sit=*)
1151 site=$ac_optarg ;;
1153 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 ac_prev=srcdir ;;
1155 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1156 srcdir=$ac_optarg ;;
1158 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1159 | --syscon | --sysco | --sysc | --sys | --sy)
1160 ac_prev=sysconfdir ;;
1161 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1162 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1163 sysconfdir=$ac_optarg ;;
1165 -target | --target | --targe | --targ | --tar | --ta | --t)
1166 ac_prev=target_alias ;;
1167 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1168 target_alias=$ac_optarg ;;
1170 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 verbose=yes ;;
1173 -version | --version | --versio | --versi | --vers | -V)
1174 ac_init_version=: ;;
1176 -with-* | --with-*)
1177 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 as_fn_error $? "invalid package name: $ac_useropt"
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1185 "with_$ac_useropt"
1186 "*) ;;
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1189 esac
1190 eval with_$ac_useropt=\$ac_optarg ;;
1192 -without-* | --without-*)
1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196 as_fn_error $? "invalid package name: $ac_useropt"
1197 ac_useropt_orig=$ac_useropt
1198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1201 "with_$ac_useropt"
1202 "*) ;;
1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep=', ';;
1205 esac
1206 eval with_$ac_useropt=no ;;
1208 --x)
1209 # Obsolete; use --with-x.
1210 with_x=yes ;;
1212 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1213 | --x-incl | --x-inc | --x-in | --x-i)
1214 ac_prev=x_includes ;;
1215 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1216 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1217 x_includes=$ac_optarg ;;
1219 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1220 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1221 ac_prev=x_libraries ;;
1222 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1223 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1224 x_libraries=$ac_optarg ;;
1226 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information"
1230 *=*)
1231 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' | [0-9]* | *[!_$as_cr_alnum]* )
1235 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1236 esac
1237 eval $ac_envvar=\$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1248 esac
1249 done
1251 if test -n "$ac_prev"; then
1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error $? "missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1258 no) ;;
1259 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261 esac
1264 # Check all directory arguments for consistency.
1265 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val=\$$ac_var
1271 # Remove trailing slashes.
1272 case $ac_val in
1273 */ )
1274 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\$ac_val;;
1276 esac
1277 # Be sure to have absolute directory names.
1278 case $ac_val in
1279 [\\/$]* | ?:[\\/]* ) continue;;
1280 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281 esac
1282 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283 done
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1288 build=$build_alias
1289 host=$host_alias
1290 target=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x; then
1294 if test "x$build_alias" = x; then
1295 cross_compiling=maybe
1296 elif test "x$build_alias" != "x$host_alias"; then
1297 cross_compiling=yes
1301 ac_tool_prefix=
1302 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1304 test "$silent" = yes && exec 6>/dev/null
1307 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di=`ls -di .` &&
1309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $? "working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $? "pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1326 s//\1/
1329 /^X\(\/\/\)[^/].*/{
1330 s//\1/
1333 /^X\(\/\/\)$/{
1334 s//\1/
1337 /^X\(\/\).*/{
1338 s//\1/
1341 s/.*/./; q'`
1342 srcdir=$ac_confdir
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 srcdir=..
1346 else
1347 ac_srcdir_defaulted=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1351 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 ac_abs_confdir=`(
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 pwd)`
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 srcdir=.
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1364 case $srcdir in
1365 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 esac
1367 for ac_var in $ac_precious_vars; do
1368 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_${ac_var}_value=\$${ac_var}
1370 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1372 done
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1380 cat <<_ACEOF
1381 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1390 Configuration:
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 [PREFIX]
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1434 _ACEOF
1436 cat <<\_ACEOF
1438 Program names:
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1443 System types:
1444 --build=BUILD configure for building on BUILD [guessed]
1445 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1446 --target=TARGET configure for building compilers for TARGET [HOST]
1447 _ACEOF
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1453 esac
1454 cat <<\_ACEOF
1456 Optional Features:
1457 --disable-option-checking ignore unrecognized --enable/--with options
1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1460 --enable-version-specific-runtime-libs
1461 specify that runtime libraries should be installed
1462 in a compiler-specific directory
1463 --enable-intermodule build the library in one step
1464 --enable-silent-rules less verbose build output (undo: "make V=1")
1465 --disable-silent-rules verbose build output (undo: "make V=0")
1466 --enable-maintainer-mode
1467 enable make rules and dependencies not useful (and
1468 sometimes confusing) to the casual installer
1469 --enable-multilib build many library versions (default)
1470 --enable-dependency-tracking
1471 do not reject slow dependency extractors
1472 --disable-dependency-tracking
1473 speeds up one-time build
1474 --enable-cet enable Intel CET in target libraries [default=auto]
1475 --disable-symvers disable symbol versioning for libgfortran
1476 --enable-shared[=PKGS] build shared libraries [default=yes]
1477 --enable-static[=PKGS] build static libraries [default=yes]
1478 --enable-fast-install[=PKGS]
1479 optimize for fast installation [default=yes]
1480 --disable-libtool-lock avoid locking (might break parallel builds)
1481 --disable-largefile omit support for large files
1482 --disable-libquadmath-support
1483 disable libquadmath support for Fortran
1485 Optional Packages:
1486 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1487 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1488 --with-build-libsubdir=DIR Directory where to find libraries for build system
1489 --with-toolexeclibdir=DIR
1490 install libraries built with a cross compiler within
1492 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1493 --with-pic try to use only PIC/non-PIC objects [default=use
1494 both]
1495 --with-gcc-major-version-only
1496 use only GCC major number in filesystem paths
1498 Some influential environment variables:
1499 CC C compiler command
1500 CFLAGS C compiler flags
1501 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1502 nonstandard directory <lib dir>
1503 LIBS libraries to pass to the linker, e.g. -l<library>
1504 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1505 you have headers in a nonstandard directory <include dir>
1506 CPP C preprocessor
1507 FC Fortran compiler command
1508 FCFLAGS Fortran compiler flags
1510 Use these variables to override the choices made by `configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to the package provider.
1514 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1515 General help using GNU software: <http://www.gnu.org/gethelp/>.
1516 _ACEOF
1517 ac_status=$?
1520 if test "$ac_init_help" = "recursive"; then
1521 # If there are subdirs, report their specific --help.
1522 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1523 test -d "$ac_dir" ||
1524 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1525 continue
1526 ac_builddir=.
1528 case "$ac_dir" in
1529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1532 # A ".." for each directory in $ac_dir_suffix.
1533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1534 case $ac_top_builddir_sub in
1535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 esac ;;
1538 esac
1539 ac_abs_top_builddir=$ac_pwd
1540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541 # for backward compatibility:
1542 ac_top_builddir=$ac_top_build_prefix
1544 case $srcdir in
1545 .) # We are building in place.
1546 ac_srcdir=.
1547 ac_top_srcdir=$ac_top_builddir_sub
1548 ac_abs_top_srcdir=$ac_pwd ;;
1549 [\\/]* | ?:[\\/]* ) # Absolute name.
1550 ac_srcdir=$srcdir$ac_dir_suffix;
1551 ac_top_srcdir=$srcdir
1552 ac_abs_top_srcdir=$srcdir ;;
1553 *) # Relative name.
1554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555 ac_top_srcdir=$ac_top_build_prefix$srcdir
1556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557 esac
1558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560 cd "$ac_dir" || { ac_status=$?; continue; }
1561 # Check for guested configure.
1562 if test -f "$ac_srcdir/configure.gnu"; then
1563 echo &&
1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565 elif test -f "$ac_srcdir/configure"; then
1566 echo &&
1567 $SHELL "$ac_srcdir/configure" --help=recursive
1568 else
1569 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 fi || ac_status=$?
1571 cd "$ac_pwd" || { ac_status=$?; break; }
1572 done
1575 test -n "$ac_init_help" && exit $ac_status
1576 if $ac_init_version; then
1577 cat <<\_ACEOF
1578 GNU Fortran Runtime Library configure 0.3
1579 generated by GNU Autoconf 2.69
1581 Copyright (C) 2012 Free Software Foundation, Inc.
1582 This configure script is free software; the Free Software Foundation
1583 gives unlimited permission to copy, distribute and modify it.
1584 _ACEOF
1585 exit
1588 ## ------------------------ ##
1589 ## Autoconf initialization. ##
1590 ## ------------------------ ##
1592 # ac_fn_c_try_compile LINENO
1593 # --------------------------
1594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1595 ac_fn_c_try_compile ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 rm -f conftest.$ac_objext
1599 if { { ac_try="$ac_compile"
1600 case "(($ac_try" in
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1603 esac
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_compile") 2>conftest.err
1607 ac_status=$?
1608 if test -s conftest.err; then
1609 grep -v '^ *+' conftest.err >conftest.er1
1610 cat conftest.er1 >&5
1611 mv -f conftest.er1 conftest.err
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && {
1615 test -z "$ac_c_werror_flag" ||
1616 test ! -s conftest.err
1617 } && test -s conftest.$ac_objext; then :
1618 ac_retval=0
1619 else
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1623 ac_retval=1
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status $ac_retval
1628 } # ac_fn_c_try_compile
1630 # ac_fn_c_try_cpp LINENO
1631 # ----------------------
1632 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_c_try_cpp ()
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 if { { ac_try="$ac_cpp conftest.$ac_ext"
1637 case "(($ac_try" in
1638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1640 esac
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1644 ac_status=$?
1645 if test -s conftest.err; then
1646 grep -v '^ *+' conftest.err >conftest.er1
1647 cat conftest.er1 >&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } > conftest.i && {
1652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1654 }; then :
1655 ac_retval=0
1656 else
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1660 ac_retval=1
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status $ac_retval
1665 } # ac_fn_c_try_cpp
1667 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1668 # -------------------------------------------------------
1669 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1670 # the include files in INCLUDES and setting the cache variable VAR
1671 # accordingly.
1672 ac_fn_c_check_header_mongrel ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if eval \${$3+:} false; then :
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if eval \${$3+:} false; then :
1679 $as_echo_n "(cached) " >&6
1681 eval ac_res=\$$3
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1684 else
1685 # Is the header compilable?
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1687 $as_echo_n "checking $2 usability... " >&6; }
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1691 #include <$2>
1692 _ACEOF
1693 if ac_fn_c_try_compile "$LINENO"; then :
1694 ac_header_compiler=yes
1695 else
1696 ac_header_compiler=no
1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1700 $as_echo "$ac_header_compiler" >&6; }
1702 # Is the header present?
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1704 $as_echo_n "checking $2 presence... " >&6; }
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1707 #include <$2>
1708 _ACEOF
1709 if ac_fn_c_try_cpp "$LINENO"; then :
1710 ac_header_preproc=yes
1711 else
1712 ac_header_preproc=no
1714 rm -f conftest.err conftest.i conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1716 $as_echo "$ac_header_preproc" >&6; }
1718 # So? What about this header?
1719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1720 yes:no: )
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1722 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1724 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1726 no:yes:* )
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1728 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1730 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1732 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1734 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1736 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1738 esac
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval \${$3+:} false; then :
1742 $as_echo_n "(cached) " >&6
1743 else
1744 eval "$3=\$ac_header_compiler"
1746 eval ac_res=\$$3
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_c_check_header_mongrel
1754 # ac_fn_c_try_run LINENO
1755 # ----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1757 # that executables *can* be run.
1758 ac_fn_c_try_run ()
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_link"
1762 case "(($ac_try" in
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1765 esac
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>&5
1769 ac_status=$?
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1772 { { case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_try") 2>&5
1779 ac_status=$?
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; }; }; then :
1782 ac_retval=0
1783 else
1784 $as_echo "$as_me: program exited with status $ac_status" >&5
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1788 ac_retval=$ac_status
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1794 } # ac_fn_c_try_run
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1807 else
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1811 #include <$2>
1812 _ACEOF
1813 if ac_fn_c_try_compile "$LINENO"; then :
1814 eval "$3=yes"
1815 else
1816 eval "$3=no"
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 eval ac_res=\$$3
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 } # ac_fn_c_check_header_compile
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 ac_fn_c_try_link ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1842 ac_status=$?
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 test -x conftest$ac_exeext
1855 }; then :
1856 ac_retval=0
1857 else
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861 ac_retval=1
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status $ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_func LINENO FUNC VAR
1874 # ----------------------------------
1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1876 ac_fn_c_check_func ()
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \${$3+:} false; then :
1882 $as_echo_n "(cached) " >&6
1883 else
1884 if test x$gcc_no_link = xyes; then
1885 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1889 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1891 #define $2 innocuous_$2
1893 /* System header to define __stub macros and hopefully few prototypes,
1894 which can conflict with char $2 (); below.
1895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1896 <limits.h> exists even on freestanding compilers. */
1898 #ifdef __STDC__
1899 # include <limits.h>
1900 #else
1901 # include <assert.h>
1902 #endif
1904 #undef $2
1906 /* Override any GCC internal prototype to avoid an error.
1907 Use char because int might match the return type of a GCC
1908 builtin and then its argument prototype would still apply. */
1909 #ifdef __cplusplus
1910 extern "C"
1911 #endif
1912 char $2 ();
1913 /* The GNU C library defines this for functions which it implements
1914 to always fail with ENOSYS. Some functions are actually named
1915 something starting with __ and the normal name is an alias. */
1916 #if defined __stub_$2 || defined __stub___$2
1917 choke me
1918 #endif
1921 main ()
1923 return $2 ();
1925 return 0;
1927 _ACEOF
1928 if ac_fn_c_try_link "$LINENO"; then :
1929 eval "$3=yes"
1930 else
1931 eval "$3=no"
1933 rm -f core conftest.err conftest.$ac_objext \
1934 conftest$ac_exeext conftest.$ac_ext
1936 eval ac_res=\$$3
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 } # ac_fn_c_check_func
1943 # ac_fn_fc_try_compile LINENO
1944 # ---------------------------
1945 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1946 ac_fn_fc_try_compile ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 rm -f conftest.$ac_objext
1950 if { { ac_try="$ac_compile"
1951 case "(($ac_try" in
1952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;;
1954 esac
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_compile") 2>conftest.err
1958 ac_status=$?
1959 if test -s conftest.err; then
1960 grep -v '^ *+' conftest.err >conftest.er1
1961 cat conftest.er1 >&5
1962 mv -f conftest.er1 conftest.err
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } && {
1966 test -z "$ac_fc_werror_flag" ||
1967 test ! -s conftest.err
1968 } && test -s conftest.$ac_objext; then :
1969 ac_retval=0
1970 else
1971 $as_echo "$as_me: failed program was:" >&5
1972 sed 's/^/| /' conftest.$ac_ext >&5
1974 ac_retval=1
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 as_fn_set_status $ac_retval
1979 } # ac_fn_fc_try_compile
1981 # ac_fn_fc_try_link LINENO
1982 # ------------------------
1983 # Try to link conftest.$ac_ext, and return whether this succeeded.
1984 ac_fn_fc_try_link ()
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 rm -f conftest.$ac_objext conftest$ac_exeext
1988 if { { ac_try="$ac_link"
1989 case "(($ac_try" in
1990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1991 *) ac_try_echo=$ac_try;;
1992 esac
1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994 $as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_link") 2>conftest.err
1996 ac_status=$?
1997 if test -s conftest.err; then
1998 grep -v '^ *+' conftest.err >conftest.er1
1999 cat conftest.er1 >&5
2000 mv -f conftest.er1 conftest.err
2002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2003 test $ac_status = 0; } && {
2004 test -z "$ac_fc_werror_flag" ||
2005 test ! -s conftest.err
2006 } && test -s conftest$ac_exeext && {
2007 test "$cross_compiling" = yes ||
2008 test -x conftest$ac_exeext
2009 }; then :
2010 ac_retval=0
2011 else
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2015 ac_retval=1
2017 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2018 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2019 # interfere with the next link command; also delete a directory that is
2020 # left behind by Apple's compiler. We do this before executing the actions.
2021 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 as_fn_set_status $ac_retval
2025 } # ac_fn_fc_try_link
2027 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2028 # -------------------------------------------
2029 # Tests whether TYPE exists after having included INCLUDES, setting cache
2030 # variable VAR accordingly.
2031 ac_fn_c_check_type ()
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035 $as_echo_n "checking for $2... " >&6; }
2036 if eval \${$3+:} false; then :
2037 $as_echo_n "(cached) " >&6
2038 else
2039 eval "$3=no"
2040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2041 /* end confdefs.h. */
2044 main ()
2046 if (sizeof ($2))
2047 return 0;
2049 return 0;
2051 _ACEOF
2052 if ac_fn_c_try_compile "$LINENO"; then :
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2057 main ()
2059 if (sizeof (($2)))
2060 return 0;
2062 return 0;
2064 _ACEOF
2065 if ac_fn_c_try_compile "$LINENO"; then :
2067 else
2068 eval "$3=yes"
2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 eval ac_res=\$$3
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079 } # ac_fn_c_check_type
2081 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2082 # --------------------------------------------
2083 # Tries to find the compile-time value of EXPR in a program that includes
2084 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2085 # computed
2086 ac_fn_c_compute_int ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 if test "$cross_compiling" = yes; then
2090 # Depending upon the size, compute the lo and hi bounds.
2091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092 /* end confdefs.h. */
2095 main ()
2097 static int test_array [1 - 2 * !(($2) >= 0)];
2098 test_array [0] = 0;
2099 return test_array [0];
2102 return 0;
2104 _ACEOF
2105 if ac_fn_c_try_compile "$LINENO"; then :
2106 ac_lo=0 ac_mid=0
2107 while :; do
2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2112 main ()
2114 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2115 test_array [0] = 0;
2116 return test_array [0];
2119 return 0;
2121 _ACEOF
2122 if ac_fn_c_try_compile "$LINENO"; then :
2123 ac_hi=$ac_mid; break
2124 else
2125 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2126 if test $ac_lo -le $ac_mid; then
2127 ac_lo= ac_hi=
2128 break
2130 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133 done
2134 else
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2139 main ()
2141 static int test_array [1 - 2 * !(($2) < 0)];
2142 test_array [0] = 0;
2143 return test_array [0];
2146 return 0;
2148 _ACEOF
2149 if ac_fn_c_try_compile "$LINENO"; then :
2150 ac_hi=-1 ac_mid=-1
2151 while :; do
2152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2156 main ()
2158 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2159 test_array [0] = 0;
2160 return test_array [0];
2163 return 0;
2165 _ACEOF
2166 if ac_fn_c_try_compile "$LINENO"; then :
2167 ac_lo=$ac_mid; break
2168 else
2169 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2170 if test $ac_mid -le $ac_hi; then
2171 ac_lo= ac_hi=
2172 break
2174 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 done
2178 else
2179 ac_lo= ac_hi=
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 # Binary search between lo and hi bounds.
2185 while test "x$ac_lo" != "x$ac_hi"; do
2186 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2191 main ()
2193 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2194 test_array [0] = 0;
2195 return test_array [0];
2198 return 0;
2200 _ACEOF
2201 if ac_fn_c_try_compile "$LINENO"; then :
2202 ac_hi=$ac_mid
2203 else
2204 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2207 done
2208 case $ac_lo in #((
2209 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2210 '') ac_retval=1 ;;
2211 esac
2212 else
2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2216 static long int longval () { return $2; }
2217 static unsigned long int ulongval () { return $2; }
2218 #include <stdio.h>
2219 #include <stdlib.h>
2221 main ()
2224 FILE *f = fopen ("conftest.val", "w");
2225 if (! f)
2226 return 1;
2227 if (($2) < 0)
2229 long int i = longval ();
2230 if (i != ($2))
2231 return 1;
2232 fprintf (f, "%ld", i);
2234 else
2236 unsigned long int i = ulongval ();
2237 if (i != ($2))
2238 return 1;
2239 fprintf (f, "%lu", i);
2241 /* Do not output a trailing newline, as this causes \r\n confusion
2242 on some platforms. */
2243 return ferror (f) || fclose (f) != 0;
2246 return 0;
2248 _ACEOF
2249 if ac_fn_c_try_run "$LINENO"; then :
2250 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2251 else
2252 ac_retval=1
2254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2255 conftest.$ac_objext conftest.beam conftest.$ac_ext
2256 rm -f conftest.val
2259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2260 as_fn_set_status $ac_retval
2262 } # ac_fn_c_compute_int
2264 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2265 # ----------------------------------------------------
2266 # Tries to find if the field MEMBER exists in type AGGR, after including
2267 # INCLUDES, setting cache variable VAR accordingly.
2268 ac_fn_c_check_member ()
2270 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2272 $as_echo_n "checking for $2.$3... " >&6; }
2273 if eval \${$4+:} false; then :
2274 $as_echo_n "(cached) " >&6
2275 else
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2280 main ()
2282 static $2 ac_aggr;
2283 if (ac_aggr.$3)
2284 return 0;
2286 return 0;
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 eval "$4=yes"
2291 else
2292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2293 /* end confdefs.h. */
2296 main ()
2298 static $2 ac_aggr;
2299 if (sizeof ac_aggr.$3)
2300 return 0;
2302 return 0;
2304 _ACEOF
2305 if ac_fn_c_try_compile "$LINENO"; then :
2306 eval "$4=yes"
2307 else
2308 eval "$4=no"
2310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2314 eval ac_res=\$$4
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316 $as_echo "$ac_res" >&6; }
2317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2319 } # ac_fn_c_check_member
2320 cat >config.log <<_ACEOF
2321 This file contains any messages produced by compilers while
2322 running configure, to aid debugging if configure makes a mistake.
2324 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2325 generated by GNU Autoconf 2.69. Invocation command line was
2327 $ $0 $@
2329 _ACEOF
2330 exec 5>>config.log
2332 cat <<_ASUNAME
2333 ## --------- ##
2334 ## Platform. ##
2335 ## --------- ##
2337 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2338 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2339 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2340 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2341 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2343 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2344 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2346 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2347 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2348 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2349 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2350 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2351 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2352 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2354 _ASUNAME
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 for as_dir in $PATH
2359 IFS=$as_save_IFS
2360 test -z "$as_dir" && as_dir=.
2361 $as_echo "PATH: $as_dir"
2362 done
2363 IFS=$as_save_IFS
2365 } >&5
2367 cat >&5 <<_ACEOF
2370 ## ----------- ##
2371 ## Core tests. ##
2372 ## ----------- ##
2374 _ACEOF
2377 # Keep a trace of the command line.
2378 # Strip out --no-create and --no-recursion so they do not pile up.
2379 # Strip out --silent because we don't want to record it for future runs.
2380 # Also quote any args containing shell meta-characters.
2381 # Make two passes to allow for proper duplicate-argument suppression.
2382 ac_configure_args=
2383 ac_configure_args0=
2384 ac_configure_args1=
2385 ac_must_keep_next=false
2386 for ac_pass in 1 2
2388 for ac_arg
2390 case $ac_arg in
2391 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2392 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2393 | -silent | --silent | --silen | --sile | --sil)
2394 continue ;;
2395 *\'*)
2396 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2397 esac
2398 case $ac_pass in
2399 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2401 as_fn_append ac_configure_args1 " '$ac_arg'"
2402 if test $ac_must_keep_next = true; then
2403 ac_must_keep_next=false # Got value, back to normal.
2404 else
2405 case $ac_arg in
2406 *=* | --config-cache | -C | -disable-* | --disable-* \
2407 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2408 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2409 | -with-* | --with-* | -without-* | --without-* | --x)
2410 case "$ac_configure_args0 " in
2411 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2412 esac
2414 -* ) ac_must_keep_next=true ;;
2415 esac
2417 as_fn_append ac_configure_args " '$ac_arg'"
2419 esac
2420 done
2421 done
2422 { ac_configure_args0=; unset ac_configure_args0;}
2423 { ac_configure_args1=; unset ac_configure_args1;}
2425 # When interrupted or exit'd, cleanup temporary files, and complete
2426 # config.log. We remove comments because anyway the quotes in there
2427 # would cause problems or look ugly.
2428 # WARNING: Use '\'' to represent an apostrophe within the trap.
2429 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2430 trap 'exit_status=$?
2431 # Save into config.log some information that might help in debugging.
2433 echo
2435 $as_echo "## ---------------- ##
2436 ## Cache variables. ##
2437 ## ---------------- ##"
2438 echo
2439 # The following way of writing the cache mishandles newlines in values,
2441 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2442 eval ac_val=\$$ac_var
2443 case $ac_val in #(
2444 *${as_nl}*)
2445 case $ac_var in #(
2446 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2447 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2448 esac
2449 case $ac_var in #(
2450 _ | IFS | as_nl) ;; #(
2451 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2452 *) { eval $ac_var=; unset $ac_var;} ;;
2453 esac ;;
2454 esac
2455 done
2456 (set) 2>&1 |
2457 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2458 *${as_nl}ac_space=\ *)
2459 sed -n \
2460 "s/'\''/'\''\\\\'\'''\''/g;
2461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2462 ;; #(
2464 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2466 esac |
2467 sort
2469 echo
2471 $as_echo "## ----------------- ##
2472 ## Output variables. ##
2473 ## ----------------- ##"
2474 echo
2475 for ac_var in $ac_subst_vars
2477 eval ac_val=\$$ac_var
2478 case $ac_val in
2479 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2480 esac
2481 $as_echo "$ac_var='\''$ac_val'\''"
2482 done | sort
2483 echo
2485 if test -n "$ac_subst_files"; then
2486 $as_echo "## ------------------- ##
2487 ## File substitutions. ##
2488 ## ------------------- ##"
2489 echo
2490 for ac_var in $ac_subst_files
2492 eval ac_val=\$$ac_var
2493 case $ac_val in
2494 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2495 esac
2496 $as_echo "$ac_var='\''$ac_val'\''"
2497 done | sort
2498 echo
2501 if test -s confdefs.h; then
2502 $as_echo "## ----------- ##
2503 ## confdefs.h. ##
2504 ## ----------- ##"
2505 echo
2506 cat confdefs.h
2507 echo
2509 test "$ac_signal" != 0 &&
2510 $as_echo "$as_me: caught signal $ac_signal"
2511 $as_echo "$as_me: exit $exit_status"
2512 } >&5
2513 rm -f core *.core core.conftest.* &&
2514 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2515 exit $exit_status
2517 for ac_signal in 1 2 13 15; do
2518 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2519 done
2520 ac_signal=0
2522 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2523 rm -f -r conftest* confdefs.h
2525 $as_echo "/* confdefs.h */" > confdefs.h
2527 # Predefined preprocessor variables.
2529 cat >>confdefs.h <<_ACEOF
2530 #define PACKAGE_NAME "$PACKAGE_NAME"
2531 _ACEOF
2533 cat >>confdefs.h <<_ACEOF
2534 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2535 _ACEOF
2537 cat >>confdefs.h <<_ACEOF
2538 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2539 _ACEOF
2541 cat >>confdefs.h <<_ACEOF
2542 #define PACKAGE_STRING "$PACKAGE_STRING"
2543 _ACEOF
2545 cat >>confdefs.h <<_ACEOF
2546 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2547 _ACEOF
2549 cat >>confdefs.h <<_ACEOF
2550 #define PACKAGE_URL "$PACKAGE_URL"
2551 _ACEOF
2554 # Let the site file select an alternate cache file if it wants to.
2555 # Prefer an explicitly selected file to automatically selected ones.
2556 ac_site_file1=NONE
2557 ac_site_file2=NONE
2558 if test -n "$CONFIG_SITE"; then
2559 # We do not want a PATH search for config.site.
2560 case $CONFIG_SITE in #((
2561 -*) ac_site_file1=./$CONFIG_SITE;;
2562 */*) ac_site_file1=$CONFIG_SITE;;
2563 *) ac_site_file1=./$CONFIG_SITE;;
2564 esac
2565 elif test "x$prefix" != xNONE; then
2566 ac_site_file1=$prefix/share/config.site
2567 ac_site_file2=$prefix/etc/config.site
2568 else
2569 ac_site_file1=$ac_default_prefix/share/config.site
2570 ac_site_file2=$ac_default_prefix/etc/config.site
2572 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2574 test "x$ac_site_file" = xNONE && continue
2575 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2577 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2578 sed 's/^/| /' "$ac_site_file" >&5
2579 . "$ac_site_file" \
2580 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 as_fn_error $? "failed to load site script $ac_site_file
2583 See \`config.log' for more details" "$LINENO" 5; }
2585 done
2587 if test -r "$cache_file"; then
2588 # Some versions of bash will fail to source /dev/null (special files
2589 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2590 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2592 $as_echo "$as_me: loading cache $cache_file" >&6;}
2593 case $cache_file in
2594 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2595 *) . "./$cache_file";;
2596 esac
2598 else
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2600 $as_echo "$as_me: creating cache $cache_file" >&6;}
2601 >$cache_file
2604 as_fn_append ac_header_list " unistd.h"
2605 as_fn_append ac_header_list " sys/random.h"
2606 as_fn_append ac_header_list " sys/time.h"
2607 as_fn_append ac_header_list " sys/times.h"
2608 as_fn_append ac_header_list " sys/resource.h"
2609 as_fn_append ac_header_list " sys/types.h"
2610 as_fn_append ac_header_list " sys/stat.h"
2611 as_fn_append ac_header_list " sys/uio.h"
2612 as_fn_append ac_header_list " sys/wait.h"
2613 as_fn_append ac_header_list " floatingpoint.h"
2614 as_fn_append ac_header_list " ieeefp.h"
2615 as_fn_append ac_header_list " fenv.h"
2616 as_fn_append ac_header_list " fptrap.h"
2617 as_fn_append ac_header_list " fpxcp.h"
2618 as_fn_append ac_header_list " pwd.h"
2619 as_fn_append ac_header_list " complex.h"
2620 as_fn_append ac_header_list " xlocale.h"
2621 as_fn_append ac_func_list " getrusage"
2622 as_fn_append ac_func_list " times"
2623 as_fn_append ac_func_list " mkstemp"
2624 as_fn_append ac_func_list " strtof"
2625 as_fn_append ac_func_list " strtold"
2626 as_fn_append ac_func_list " snprintf"
2627 as_fn_append ac_func_list " ftruncate"
2628 as_fn_append ac_func_list " chsize"
2629 as_fn_append ac_func_list " chdir"
2630 as_fn_append ac_func_list " getentropy"
2631 as_fn_append ac_func_list " getlogin"
2632 as_fn_append ac_func_list " gethostname"
2633 as_fn_append ac_func_list " kill"
2634 as_fn_append ac_func_list " link"
2635 as_fn_append ac_func_list " symlink"
2636 as_fn_append ac_func_list " sleep"
2637 as_fn_append ac_func_list " ttyname"
2638 as_fn_append ac_func_list " sigaction"
2639 as_fn_append ac_func_list " waitpid"
2640 as_fn_append ac_func_list " alarm"
2641 as_fn_append ac_func_list " access"
2642 as_fn_append ac_func_list " fork"
2643 as_fn_append ac_func_list " posix_spawn"
2644 as_fn_append ac_func_list " setmode"
2645 as_fn_append ac_func_list " fcntl"
2646 as_fn_append ac_func_list " writev"
2647 as_fn_append ac_func_list " gettimeofday"
2648 as_fn_append ac_func_list " stat"
2649 as_fn_append ac_func_list " fstat"
2650 as_fn_append ac_func_list " lstat"
2651 as_fn_append ac_func_list " getpwuid"
2652 as_fn_append ac_func_list " vsnprintf"
2653 as_fn_append ac_func_list " dup"
2654 as_fn_append ac_func_list " getcwd"
2655 as_fn_append ac_func_list " localtime_r"
2656 as_fn_append ac_func_list " gmtime_r"
2657 as_fn_append ac_func_list " getpwuid_r"
2658 as_fn_append ac_func_list " ttyname_r"
2659 as_fn_append ac_func_list " clock_gettime"
2660 as_fn_append ac_func_list " getgid"
2661 as_fn_append ac_func_list " getpid"
2662 as_fn_append ac_func_list " getuid"
2663 as_fn_append ac_func_list " geteuid"
2664 as_fn_append ac_func_list " umask"
2665 as_fn_append ac_func_list " getegid"
2666 as_fn_append ac_func_list " secure_getenv"
2667 as_fn_append ac_func_list " __secure_getenv"
2668 as_fn_append ac_func_list " mkostemp"
2669 as_fn_append ac_func_list " strnlen"
2670 as_fn_append ac_func_list " strndup"
2671 as_fn_append ac_func_list " newlocale"
2672 as_fn_append ac_func_list " freelocale"
2673 as_fn_append ac_func_list " uselocale"
2674 as_fn_append ac_func_list " strerror_l"
2675 as_fn_append ac_func_list " strtof128"
2676 as_fn_append ac_func_list " strfromf128"
2677 as_fn_append ac_header_list " math.h"
2678 # Check that the precious variables saved in the cache have kept the same
2679 # value.
2680 ac_cache_corrupted=false
2681 for ac_var in $ac_precious_vars; do
2682 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2683 eval ac_new_set=\$ac_env_${ac_var}_set
2684 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2685 eval ac_new_val=\$ac_env_${ac_var}_value
2686 case $ac_old_set,$ac_new_set in
2687 set,)
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2689 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2690 ac_cache_corrupted=: ;;
2691 ,set)
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2693 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2694 ac_cache_corrupted=: ;;
2695 ,);;
2697 if test "x$ac_old_val" != "x$ac_new_val"; then
2698 # differences in whitespace do not lead to failure.
2699 ac_old_val_w=`echo x $ac_old_val`
2700 ac_new_val_w=`echo x $ac_new_val`
2701 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2703 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2704 ac_cache_corrupted=:
2705 else
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2707 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2708 eval $ac_var=\$ac_old_val
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2711 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2713 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2714 fi;;
2715 esac
2716 # Pass precious variables to config.status.
2717 if test "$ac_new_set" = set; then
2718 case $ac_new_val in
2719 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2720 *) ac_arg=$ac_var=$ac_new_val ;;
2721 esac
2722 case " $ac_configure_args " in
2723 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2724 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2725 esac
2727 done
2728 if $ac_cache_corrupted; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2732 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2733 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2735 ## -------------------- ##
2736 ## Main body of script. ##
2737 ## -------------------- ##
2739 ac_ext=c
2740 ac_cpp='$CPP $CPPFLAGS'
2741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2749 ac_config_headers="$ac_config_headers config.h"
2751 ac_aux_dir=
2752 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2753 if test -f "$ac_dir/install-sh"; then
2754 ac_aux_dir=$ac_dir
2755 ac_install_sh="$ac_aux_dir/install-sh -c"
2756 break
2757 elif test -f "$ac_dir/install.sh"; then
2758 ac_aux_dir=$ac_dir
2759 ac_install_sh="$ac_aux_dir/install.sh -c"
2760 break
2761 elif test -f "$ac_dir/shtool"; then
2762 ac_aux_dir=$ac_dir
2763 ac_install_sh="$ac_aux_dir/shtool install -c"
2764 break
2766 done
2767 if test -z "$ac_aux_dir"; then
2768 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2771 # These three variables are undocumented and unsupported,
2772 # and are intended to be withdrawn in a future Autoconf release.
2773 # They can cause serious problems if a builder's source tree is in a directory
2774 # whose full name contains unusual characters.
2775 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2776 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2777 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2780 # Make sure we can run config.sub.
2781 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2782 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2785 $as_echo_n "checking build system type... " >&6; }
2786 if ${ac_cv_build+:} false; then :
2787 $as_echo_n "(cached) " >&6
2788 else
2789 ac_build_alias=$build_alias
2790 test "x$ac_build_alias" = x &&
2791 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2792 test "x$ac_build_alias" = x &&
2793 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2794 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2795 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2799 $as_echo "$ac_cv_build" >&6; }
2800 case $ac_cv_build in
2801 *-*-*) ;;
2802 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2803 esac
2804 build=$ac_cv_build
2805 ac_save_IFS=$IFS; IFS='-'
2806 set x $ac_cv_build
2807 shift
2808 build_cpu=$1
2809 build_vendor=$2
2810 shift; shift
2811 # Remember, the first character of IFS is used to create $*,
2812 # except with old shells:
2813 build_os=$*
2814 IFS=$ac_save_IFS
2815 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2818 case ${build_alias} in
2819 "") build_noncanonical=${build} ;;
2820 *) build_noncanonical=${build_alias} ;;
2821 esac
2823 case ${host_alias} in
2824 "") host_noncanonical=${build_noncanonical} ;;
2825 *) host_noncanonical=${host_alias} ;;
2826 esac
2828 case ${target_alias} in
2829 "") target_noncanonical=${host_noncanonical} ;;
2830 *) target_noncanonical=${target_alias} ;;
2831 esac
2834 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2835 # have matching libraries, they should use host libraries: Makefile.tpl
2836 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2837 # However, they still use the build modules, because the corresponding
2838 # host modules (e.g. bison) are only built for the host when bootstrap
2839 # finishes. So:
2840 # - build_subdir is where we find build modules, and never changes.
2841 # - build_libsubdir is where we find build libraries, and can be overridden.
2843 # Prefix 'build-' so this never conflicts with target_subdir.
2844 build_subdir="build-${build_noncanonical}"
2846 # Check whether --with-build-libsubdir was given.
2847 if test "${with_build_libsubdir+set}" = set; then :
2848 withval=$with_build_libsubdir; build_libsubdir="$withval"
2849 else
2850 build_libsubdir="$build_subdir"
2853 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2854 if ( test $srcdir = . && test -d gcc ) \
2855 || test -d $srcdir/../host-${host_noncanonical}; then
2856 host_subdir="host-${host_noncanonical}"
2857 else
2858 host_subdir=.
2860 # No prefix.
2861 target_subdir=${target_noncanonical}
2864 # -------
2865 # Options
2866 # -------
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2869 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2870 # Check whether --enable-version-specific-runtime-libs was given.
2871 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2872 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2873 yes) version_specific_libs=yes ;;
2874 no) version_specific_libs=no ;;
2875 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2876 esac
2877 else
2878 version_specific_libs=no
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2882 $as_echo "$version_specific_libs" >&6; }
2884 # Build with intermodule optimisations
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2886 $as_echo_n "checking for --enable-intermodule... " >&6; }
2887 # Check whether --enable-intermodule was given.
2888 if test "${enable_intermodule+set}" = set; then :
2889 enableval=$enable_intermodule; case "$enable_intermodule" in
2890 yes) onestep="-onestep";;
2891 *) onestep="";;
2892 esac
2893 else
2894 onestep=""
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2898 $as_echo "$enable_intermodule" >&6; }
2899 if test x$onestep = x-onestep; then
2900 onestep_TRUE=
2901 onestep_FALSE='#'
2902 else
2903 onestep_TRUE='#'
2904 onestep_FALSE=
2909 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2911 # You will slowly go insane if you do not grok the following fact: when
2912 # building this library, the top-level /target/ becomes the library's /host/.
2914 # configure then causes --target to default to --host, exactly like any
2915 # other package using autoconf. Therefore, 'target' and 'host' will
2916 # always be the same. This makes sense both for native and cross compilers
2917 # just think about it for a little while. :-)
2919 # Also, if this library is being configured as part of a cross compiler, the
2920 # top-level configure script will pass the "real" host as $with_cross_host.
2922 # Do not delete or change the following two lines. For why, see
2923 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2925 $as_echo_n "checking host system type... " >&6; }
2926 if ${ac_cv_host+:} false; then :
2927 $as_echo_n "(cached) " >&6
2928 else
2929 if test "x$host_alias" = x; then
2930 ac_cv_host=$ac_cv_build
2931 else
2932 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2933 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2938 $as_echo "$ac_cv_host" >&6; }
2939 case $ac_cv_host in
2940 *-*-*) ;;
2941 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2942 esac
2943 host=$ac_cv_host
2944 ac_save_IFS=$IFS; IFS='-'
2945 set x $ac_cv_host
2946 shift
2947 host_cpu=$1
2948 host_vendor=$2
2949 shift; shift
2950 # Remember, the first character of IFS is used to create $*,
2951 # except with old shells:
2952 host_os=$*
2953 IFS=$ac_save_IFS
2954 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2958 $as_echo_n "checking target system type... " >&6; }
2959 if ${ac_cv_target+:} false; then :
2960 $as_echo_n "(cached) " >&6
2961 else
2962 if test "x$target_alias" = x; then
2963 ac_cv_target=$ac_cv_host
2964 else
2965 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2966 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2971 $as_echo "$ac_cv_target" >&6; }
2972 case $ac_cv_target in
2973 *-*-*) ;;
2974 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2975 esac
2976 target=$ac_cv_target
2977 ac_save_IFS=$IFS; IFS='-'
2978 set x $ac_cv_target
2979 shift
2980 target_cpu=$1
2981 target_vendor=$2
2982 shift; shift
2983 # Remember, the first character of IFS is used to create $*,
2984 # except with old shells:
2985 target_os=$*
2986 IFS=$ac_save_IFS
2987 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2990 # The aliases save the names the user supplied, while $host etc.
2991 # will get canonicalized.
2992 test -n "$target_alias" &&
2993 test "$program_prefix$program_suffix$program_transform_name" = \
2994 NONENONEs,x,x, &&
2995 program_prefix=${target_alias}-
3000 target_alias=${target_alias-$host_alias}
3003 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3004 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3005 # 1.9.6: minimum required version
3006 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3007 # of other PACKAGE_* variables will, however, and there's nothing
3008 # we can do about that; they come from AC_INIT).
3009 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3010 # file in the top srcdir, etc, etc), so stop complaining.
3011 # no-dist: we don't want 'dist' and related rules.
3012 # -Wall: turns on all automake warnings...
3013 # -Wno-portability: ...except this one, since GNU make is required.
3014 am__api_version='1.15'
3016 # Find a good install program. We prefer a C program (faster),
3017 # so one script is as good as another. But avoid the broken or
3018 # incompatible versions:
3019 # SysV /etc/install, /usr/sbin/install
3020 # SunOS /usr/etc/install
3021 # IRIX /sbin/install
3022 # AIX /bin/install
3023 # AmigaOS /C/install, which installs bootblocks on floppy discs
3024 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3025 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3026 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3027 # OS/2's system install, which has a completely different semantic
3028 # ./install, which can be erroneously created by make from ./install.sh.
3029 # Reject install programs that cannot install multiple files.
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3031 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3032 if test -z "$INSTALL"; then
3033 if ${ac_cv_path_install+:} false; then :
3034 $as_echo_n "(cached) " >&6
3035 else
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH
3039 IFS=$as_save_IFS
3040 test -z "$as_dir" && as_dir=.
3041 # Account for people who put trailing slashes in PATH elements.
3042 case $as_dir/ in #((
3043 ./ | .// | /[cC]/* | \
3044 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3045 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3046 /usr/ucb/* ) ;;
3048 # OSF1 and SCO ODT 3.0 have their own names for install.
3049 # Don't use installbsd from OSF since it installs stuff as root
3050 # by default.
3051 for ac_prog in ginstall scoinst install; do
3052 for ac_exec_ext in '' $ac_executable_extensions; do
3053 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3054 if test $ac_prog = install &&
3055 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3056 # AIX install. It has an incompatible calling convention.
3058 elif test $ac_prog = install &&
3059 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3060 # program-specific install script used by HP pwplus--don't use.
3062 else
3063 rm -rf conftest.one conftest.two conftest.dir
3064 echo one > conftest.one
3065 echo two > conftest.two
3066 mkdir conftest.dir
3067 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3068 test -s conftest.one && test -s conftest.two &&
3069 test -s conftest.dir/conftest.one &&
3070 test -s conftest.dir/conftest.two
3071 then
3072 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3073 break 3
3077 done
3078 done
3080 esac
3082 done
3083 IFS=$as_save_IFS
3085 rm -rf conftest.one conftest.two conftest.dir
3088 if test "${ac_cv_path_install+set}" = set; then
3089 INSTALL=$ac_cv_path_install
3090 else
3091 # As a last resort, use the slow shell script. Don't cache a
3092 # value for INSTALL within a source directory, because that will
3093 # break other packages using the cache if that directory is
3094 # removed, or if the value is a relative name.
3095 INSTALL=$ac_install_sh
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3099 $as_echo "$INSTALL" >&6; }
3101 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3102 # It thinks the first close brace ends the variable substitution.
3103 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3105 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3107 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3110 $as_echo_n "checking whether build environment is sane... " >&6; }
3111 # Reject unsafe characters in $srcdir or the absolute working directory
3112 # name. Accept space and tab only in the latter.
3113 am_lf='
3115 case `pwd` in
3116 *[\\\"\#\$\&\'\`$am_lf]*)
3117 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3118 esac
3119 case $srcdir in
3120 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3121 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3122 esac
3124 # Do 'set' in a subshell so we don't clobber the current shell's
3125 # arguments. Must try -L first in case configure is actually a
3126 # symlink; some systems play weird games with the mod time of symlinks
3127 # (eg FreeBSD returns the mod time of the symlink's containing
3128 # directory).
3129 if (
3130 am_has_slept=no
3131 for am_try in 1 2; do
3132 echo "timestamp, slept: $am_has_slept" > conftest.file
3133 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3134 if test "$*" = "X"; then
3135 # -L didn't work.
3136 set X `ls -t "$srcdir/configure" conftest.file`
3138 if test "$*" != "X $srcdir/configure conftest.file" \
3139 && test "$*" != "X conftest.file $srcdir/configure"; then
3141 # If neither matched, then we have a broken ls. This can happen
3142 # if, for instance, CONFIG_SHELL is bash and it inherits a
3143 # broken ls alias from the environment. This has actually
3144 # happened. Such a system could not be considered "sane".
3145 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3146 alias in your environment" "$LINENO" 5
3148 if test "$2" = conftest.file || test $am_try -eq 2; then
3149 break
3151 # Just in case.
3152 sleep 1
3153 am_has_slept=yes
3154 done
3155 test "$2" = conftest.file
3157 then
3158 # Ok.
3160 else
3161 as_fn_error $? "newly created file is older than distributed files!
3162 Check your system clock" "$LINENO" 5
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3165 $as_echo "yes" >&6; }
3166 # If we didn't sleep, we still need to ensure time stamps of config.status and
3167 # generated files are strictly newer.
3168 am_sleep_pid=
3169 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3170 ( sleep 1 ) &
3171 am_sleep_pid=$!
3174 rm -f conftest.file
3176 test "$program_prefix" != NONE &&
3177 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3178 # Use a double $ so make ignores it.
3179 test "$program_suffix" != NONE &&
3180 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3181 # Double any \ or $.
3182 # By default was `s,x,x', remove it if useless.
3183 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3184 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3186 # Expand $ac_aux_dir to an absolute path.
3187 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3189 if test x"${MISSING+set}" != xset; then
3190 case $am_aux_dir in
3191 *\ * | *\ *)
3192 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3194 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3195 esac
3197 # Use eval to expand $SHELL
3198 if eval "$MISSING --is-lightweight"; then
3199 am_missing_run="$MISSING "
3200 else
3201 am_missing_run=
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3203 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3206 if test x"${install_sh+set}" != xset; then
3207 case $am_aux_dir in
3208 *\ * | *\ *)
3209 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3211 install_sh="\${SHELL} $am_aux_dir/install-sh"
3212 esac
3215 # Installed binaries are usually stripped using 'strip' when the user
3216 # run "make install-strip". However 'strip' might not be the right
3217 # tool to use in cross-compilation environments, therefore Automake
3218 # will honor the 'STRIP' environment variable to overrule this program.
3219 if test "$cross_compiling" != no; then
3220 if test -n "$ac_tool_prefix"; then
3221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3222 set dummy ${ac_tool_prefix}strip; ac_word=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_STRIP+:} false; then :
3226 $as_echo_n "(cached) " >&6
3227 else
3228 if test -n "$STRIP"; then
3229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3230 else
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 for as_dir in $PATH
3234 IFS=$as_save_IFS
3235 test -z "$as_dir" && as_dir=.
3236 for ac_exec_ext in '' $ac_executable_extensions; do
3237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3238 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 break 2
3242 done
3243 done
3244 IFS=$as_save_IFS
3248 STRIP=$ac_cv_prog_STRIP
3249 if test -n "$STRIP"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3251 $as_echo "$STRIP" >&6; }
3252 else
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3259 if test -z "$ac_cv_prog_STRIP"; then
3260 ac_ct_STRIP=$STRIP
3261 # Extract the first word of "strip", so it can be a program name with args.
3262 set dummy strip; ac_word=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3266 $as_echo_n "(cached) " >&6
3267 else
3268 if test -n "$ac_ct_STRIP"; then
3269 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3270 else
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 for as_dir in $PATH
3274 IFS=$as_save_IFS
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_ac_ct_STRIP="strip"
3279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 break 2
3282 done
3283 done
3284 IFS=$as_save_IFS
3288 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3289 if test -n "$ac_ct_STRIP"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3291 $as_echo "$ac_ct_STRIP" >&6; }
3292 else
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3297 if test "x$ac_ct_STRIP" = x; then
3298 STRIP=":"
3299 else
3300 case $cross_compiling:$ac_tool_warned in
3301 yes:)
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3304 ac_tool_warned=yes ;;
3305 esac
3306 STRIP=$ac_ct_STRIP
3308 else
3309 STRIP="$ac_cv_prog_STRIP"
3313 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3316 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3317 if test -z "$MKDIR_P"; then
3318 if ${ac_cv_path_mkdir+:} false; then :
3319 $as_echo_n "(cached) " >&6
3320 else
3321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3324 IFS=$as_save_IFS
3325 test -z "$as_dir" && as_dir=.
3326 for ac_prog in mkdir gmkdir; do
3327 for ac_exec_ext in '' $ac_executable_extensions; do
3328 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3329 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3330 'mkdir (GNU coreutils) '* | \
3331 'mkdir (coreutils) '* | \
3332 'mkdir (fileutils) '4.1*)
3333 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3334 break 3;;
3335 esac
3336 done
3337 done
3338 done
3339 IFS=$as_save_IFS
3343 test -d ./--version && rmdir ./--version
3344 if test "${ac_cv_path_mkdir+set}" = set; then
3345 MKDIR_P="$ac_cv_path_mkdir -p"
3346 else
3347 # As a last resort, use the slow shell script. Don't cache a
3348 # value for MKDIR_P within a source directory, because that will
3349 # break other packages using the cache if that directory is
3350 # removed, or if the value is a relative name.
3351 MKDIR_P="$ac_install_sh -d"
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3355 $as_echo "$MKDIR_P" >&6; }
3357 for ac_prog in gawk mawk nawk awk
3359 # Extract the first word of "$ac_prog", so it can be a program name with args.
3360 set dummy $ac_prog; ac_word=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if ${ac_cv_prog_AWK+:} false; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 if test -n "$AWK"; then
3367 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3368 else
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 for as_dir in $PATH
3372 IFS=$as_save_IFS
3373 test -z "$as_dir" && as_dir=.
3374 for ac_exec_ext in '' $ac_executable_extensions; do
3375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376 ac_cv_prog_AWK="$ac_prog"
3377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 break 2
3380 done
3381 done
3382 IFS=$as_save_IFS
3386 AWK=$ac_cv_prog_AWK
3387 if test -n "$AWK"; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3389 $as_echo "$AWK" >&6; }
3390 else
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3396 test -n "$AWK" && break
3397 done
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3400 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3401 set x ${MAKE-make}
3402 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3403 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3404 $as_echo_n "(cached) " >&6
3405 else
3406 cat >conftest.make <<\_ACEOF
3407 SHELL = /bin/sh
3408 all:
3409 @echo '@@@%%%=$(MAKE)=@@@%%%'
3410 _ACEOF
3411 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3412 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3413 *@@@%%%=?*=@@@%%%*)
3414 eval ac_cv_prog_make_${ac_make}_set=yes;;
3416 eval ac_cv_prog_make_${ac_make}_set=no;;
3417 esac
3418 rm -f conftest.make
3420 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3422 $as_echo "yes" >&6; }
3423 SET_MAKE=
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427 SET_MAKE="MAKE=${MAKE-make}"
3430 rm -rf .tst 2>/dev/null
3431 mkdir .tst 2>/dev/null
3432 if test -d .tst; then
3433 am__leading_dot=.
3434 else
3435 am__leading_dot=_
3437 rmdir .tst 2>/dev/null
3439 # Check whether --enable-silent-rules was given.
3440 if test "${enable_silent_rules+set}" = set; then :
3441 enableval=$enable_silent_rules;
3444 case $enable_silent_rules in # (((
3445 yes) AM_DEFAULT_VERBOSITY=0;;
3446 no) AM_DEFAULT_VERBOSITY=1;;
3447 *) AM_DEFAULT_VERBOSITY=1;;
3448 esac
3449 am_make=${MAKE-make}
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3451 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3452 if ${am_cv_make_support_nested_variables+:} false; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 if $as_echo 'TRUE=$(BAR$(V))
3456 BAR0=false
3457 BAR1=true
3459 am__doit:
3460 @$(TRUE)
3461 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3462 am_cv_make_support_nested_variables=yes
3463 else
3464 am_cv_make_support_nested_variables=no
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3468 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3469 if test $am_cv_make_support_nested_variables = yes; then
3470 AM_V='$(V)'
3471 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3472 else
3473 AM_V=$AM_DEFAULT_VERBOSITY
3474 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3476 AM_BACKSLASH='\'
3478 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3479 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3480 # is not polluted with repeated "-I."
3481 am__isrc=' -I$(srcdir)'
3482 # test to see if srcdir already configured
3483 if test -f $srcdir/config.status; then
3484 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3488 # test whether we have cygpath
3489 if test -z "$CYGPATH_W"; then
3490 if (cygpath --version) >/dev/null 2>/dev/null; then
3491 CYGPATH_W='cygpath -w'
3492 else
3493 CYGPATH_W=echo
3498 # Define the identity of the package.
3499 PACKAGE='libgfortran'
3500 VERSION='0.3'
3503 # Some tools Automake needs.
3505 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3508 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3511 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3514 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3517 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3519 # For better backward compatibility. To be removed once Automake 1.9.x
3520 # dies out for good. For more background, see:
3521 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3522 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3523 mkdir_p='$(MKDIR_P)'
3525 # We need awk for the "check" target (and possibly the TAP driver). The
3526 # system "awk" is bad on some platforms.
3527 # Always define AMTAR for backward compatibility. Yes, it's still used
3528 # in the wild :-( We should find a proper way to deprecate it ...
3529 AMTAR='$${TAR-tar}'
3532 # We'll loop over all known methods to create a tar archive until one works.
3533 _am_tools='gnutar pax cpio none'
3535 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3542 # POSIX will say in a future version that running "rm -f" with no argument
3543 # is OK; and we want to be able to make that assumption in our Makefile
3544 # recipes. So use an aggressive probe to check that the usage we want is
3545 # actually supported "in the wild" to an acceptable degree.
3546 # See automake bug#10828.
3547 # To make any issue more visible, cause the running configure to be aborted
3548 # by default if the 'rm' program in use doesn't match our expectations; the
3549 # user can still override this though.
3550 if rm -f && rm -fr && rm -rf; then : OK; else
3551 cat >&2 <<'END'
3552 Oops!
3554 Your 'rm' program seems unable to run without file operands specified
3555 on the command line, even when the '-f' option is present. This is contrary
3556 to the behaviour of most rm programs out there, and not conforming with
3557 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3559 Please tell bug-automake@gnu.org about your system, including the value
3560 of your $PATH and any error possibly output before this message. This
3561 can help us improve future automake versions.
3564 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3565 echo 'Configuration will proceed anyway, since you have set the' >&2
3566 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3567 echo >&2
3568 else
3569 cat >&2 <<'END'
3570 Aborting the configuration process, to ensure you take notice of the issue.
3572 You can download and install GNU coreutils to get an 'rm' implementation
3573 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3575 If you want to complete the configuration process using your problematic
3576 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3577 to "yes", and re-run configure.
3580 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3587 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3588 # Check whether --enable-maintainer-mode was given.
3589 if test "${enable_maintainer_mode+set}" = set; then :
3590 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3591 else
3592 USE_MAINTAINER_MODE=no
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3596 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3597 if test $USE_MAINTAINER_MODE = yes; then
3598 MAINTAINER_MODE_TRUE=
3599 MAINTAINER_MODE_FALSE='#'
3600 else
3601 MAINTAINER_MODE_TRUE='#'
3602 MAINTAINER_MODE_FALSE=
3605 MAINT=$MAINTAINER_MODE_TRUE
3608 # Default to --enable-multilib
3609 # Check whether --enable-multilib was given.
3610 if test "${enable_multilib+set}" = set; then :
3611 enableval=$enable_multilib; case "$enableval" in
3612 yes) multilib=yes ;;
3613 no) multilib=no ;;
3614 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3615 esac
3616 else
3617 multilib=yes
3621 # We may get other options which we leave undocumented:
3622 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3623 # See config-ml.in if you want the gory details.
3625 if test "$srcdir" = "."; then
3626 if test "$with_target_subdir" != "."; then
3627 multi_basedir="$srcdir/$with_multisrctop../.."
3628 else
3629 multi_basedir="$srcdir/$with_multisrctop.."
3631 else
3632 multi_basedir="$srcdir/.."
3636 # Even if the default multilib is not a cross compilation,
3637 # it may be that some of the other multilibs are.
3638 if test $cross_compiling = no && test $multilib = yes \
3639 && test "x${with_multisubdir}" != x ; then
3640 cross_compiling=maybe
3643 ac_config_commands="$ac_config_commands default-1"
3646 # Handy for debugging:
3647 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3649 # Are we being configured with some form of cross compiler?
3650 # NB: We don't actually need to know this just now, but when, say, a test
3651 # suite is included, we'll have to know.
3652 if test "$build" != "$host"; then
3653 LIBGFOR_IS_NATIVE=false
3655 else
3656 LIBGFOR_IS_NATIVE=true
3659 DEPDIR="${am__leading_dot}deps"
3661 ac_config_commands="$ac_config_commands depfiles"
3664 am_make=${MAKE-make}
3665 cat > confinc << 'END'
3666 am__doit:
3667 @echo this is the am__doit target
3668 .PHONY: am__doit
3670 # If we don't find an include directive, just comment out the code.
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3672 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3673 am__include="#"
3674 am__quote=
3675 _am_result=none
3676 # First try GNU make style include.
3677 echo "include confinc" > confmf
3678 # Ignore all kinds of additional output from 'make'.
3679 case `$am_make -s -f confmf 2> /dev/null` in #(
3680 *the\ am__doit\ target*)
3681 am__include=include
3682 am__quote=
3683 _am_result=GNU
3685 esac
3686 # Now try BSD make style include.
3687 if test "$am__include" = "#"; then
3688 echo '.include "confinc"' > confmf
3689 case `$am_make -s -f confmf 2> /dev/null` in #(
3690 *the\ am__doit\ target*)
3691 am__include=.include
3692 am__quote="\""
3693 _am_result=BSD
3695 esac
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3700 $as_echo "$_am_result" >&6; }
3701 rm -f confinc confmf
3703 # Check whether --enable-dependency-tracking was given.
3704 if test "${enable_dependency_tracking+set}" = set; then :
3705 enableval=$enable_dependency_tracking;
3708 if test "x$enable_dependency_tracking" != xno; then
3709 am_depcomp="$ac_aux_dir/depcomp"
3710 AMDEPBACKSLASH='\'
3711 am__nodep='_no'
3713 if test "x$enable_dependency_tracking" != xno; then
3714 AMDEP_TRUE=
3715 AMDEP_FALSE='#'
3716 else
3717 AMDEP_TRUE='#'
3718 AMDEP_FALSE=
3722 ac_ext=c
3723 ac_cpp='$CPP $CPPFLAGS'
3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_CC+:} false; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3741 IFS=$as_save_IFS
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 break 2
3749 done
3750 done
3751 IFS=$as_save_IFS
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3766 if test -z "$ac_cv_prog_CC"; then
3767 ac_ct_CC=$CC
3768 # Extract the first word of "gcc", so it can be a program name with args.
3769 set dummy gcc; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$ac_ct_CC"; then
3776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3777 else
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_CC="gcc"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3789 done
3790 done
3791 IFS=$as_save_IFS
3795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3796 if test -n "$ac_ct_CC"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3798 $as_echo "$ac_ct_CC" >&6; }
3799 else
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3804 if test "x$ac_ct_CC" = x; then
3805 CC=""
3806 else
3807 case $cross_compiling:$ac_tool_warned in
3808 yes:)
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3811 ac_tool_warned=yes ;;
3812 esac
3813 CC=$ac_ct_CC
3815 else
3816 CC="$ac_cv_prog_CC"
3819 if test -z "$CC"; then
3820 if test -n "$ac_tool_prefix"; then
3821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3822 set dummy ${ac_tool_prefix}cc; ac_word=$2
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3824 $as_echo_n "checking for $ac_word... " >&6; }
3825 if ${ac_cv_prog_CC+:} false; then :
3826 $as_echo_n "(cached) " >&6
3827 else
3828 if test -n "$CC"; then
3829 ac_cv_prog_CC="$CC" # Let the user override the test.
3830 else
3831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3832 for as_dir in $PATH
3834 IFS=$as_save_IFS
3835 test -z "$as_dir" && as_dir=.
3836 for ac_exec_ext in '' $ac_executable_extensions; do
3837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3838 ac_cv_prog_CC="${ac_tool_prefix}cc"
3839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 break 2
3842 done
3843 done
3844 IFS=$as_save_IFS
3848 CC=$ac_cv_prog_CC
3849 if test -n "$CC"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851 $as_echo "$CC" >&6; }
3852 else
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854 $as_echo "no" >&6; }
3860 if test -z "$CC"; then
3861 # Extract the first word of "cc", so it can be a program name with args.
3862 set dummy cc; ac_word=$2
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3864 $as_echo_n "checking for $ac_word... " >&6; }
3865 if ${ac_cv_prog_CC+:} false; then :
3866 $as_echo_n "(cached) " >&6
3867 else
3868 if test -n "$CC"; then
3869 ac_cv_prog_CC="$CC" # Let the user override the test.
3870 else
3871 ac_prog_rejected=no
3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 for as_dir in $PATH
3875 IFS=$as_save_IFS
3876 test -z "$as_dir" && as_dir=.
3877 for ac_exec_ext in '' $ac_executable_extensions; do
3878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3880 ac_prog_rejected=yes
3881 continue
3883 ac_cv_prog_CC="cc"
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3887 done
3888 done
3889 IFS=$as_save_IFS
3891 if test $ac_prog_rejected = yes; then
3892 # We found a bogon in the path, so make sure we never use it.
3893 set dummy $ac_cv_prog_CC
3894 shift
3895 if test $# != 0; then
3896 # We chose a different compiler from the bogus one.
3897 # However, it has the same basename, so the bogon will be chosen
3898 # first if we set CC to just the basename; use the full file name.
3899 shift
3900 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3905 CC=$ac_cv_prog_CC
3906 if test -n "$CC"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3908 $as_echo "$CC" >&6; }
3909 else
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3916 if test -z "$CC"; then
3917 if test -n "$ac_tool_prefix"; then
3918 for ac_prog in cl.exe
3920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if ${ac_cv_prog_CC+:} false; then :
3925 $as_echo_n "(cached) " >&6
3926 else
3927 if test -n "$CC"; then
3928 ac_cv_prog_CC="$CC" # Let the user override the test.
3929 else
3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931 for as_dir in $PATH
3933 IFS=$as_save_IFS
3934 test -z "$as_dir" && as_dir=.
3935 for ac_exec_ext in '' $ac_executable_extensions; do
3936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3937 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 break 2
3941 done
3942 done
3943 IFS=$as_save_IFS
3947 CC=$ac_cv_prog_CC
3948 if test -n "$CC"; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3950 $as_echo "$CC" >&6; }
3951 else
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3957 test -n "$CC" && break
3958 done
3960 if test -z "$CC"; then
3961 ac_ct_CC=$CC
3962 for ac_prog in cl.exe
3964 # Extract the first word of "$ac_prog", so it can be a program name with args.
3965 set dummy $ac_prog; ac_word=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3969 $as_echo_n "(cached) " >&6
3970 else
3971 if test -n "$ac_ct_CC"; then
3972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3973 else
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 for as_dir in $PATH
3977 IFS=$as_save_IFS
3978 test -z "$as_dir" && as_dir=.
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3981 ac_cv_prog_ac_ct_CC="$ac_prog"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 break 2
3985 done
3986 done
3987 IFS=$as_save_IFS
3991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3992 if test -n "$ac_ct_CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3994 $as_echo "$ac_ct_CC" >&6; }
3995 else
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4001 test -n "$ac_ct_CC" && break
4002 done
4004 if test "x$ac_ct_CC" = x; then
4005 CC=""
4006 else
4007 case $cross_compiling:$ac_tool_warned in
4008 yes:)
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4011 ac_tool_warned=yes ;;
4012 esac
4013 CC=$ac_ct_CC
4020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4022 as_fn_error $? "no acceptable C compiler found in \$PATH
4023 See \`config.log' for more details" "$LINENO" 5; }
4025 # Provide some information about the compiler.
4026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4027 set X $ac_compile
4028 ac_compiler=$2
4029 for ac_option in --version -v -V -qversion; do
4030 { { ac_try="$ac_compiler $ac_option >&5"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4038 ac_status=$?
4039 if test -s conftest.err; then
4040 sed '10a\
4041 ... rest of stderr output deleted ...
4042 10q' conftest.err >conftest.er1
4043 cat conftest.er1 >&5
4045 rm -f conftest.er1 conftest.err
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }
4048 done
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4052 #include <stdio.h>
4054 main ()
4056 printf ("hello world\n");
4058 return 0;
4060 _ACEOF
4061 # FIXME: Cleanup?
4062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4063 (eval $ac_link) 2>&5
4064 ac_status=$?
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; then :
4067 gcc_no_link=no
4068 else
4069 gcc_no_link=yes
4071 if test x$gcc_no_link = xyes; then
4072 # Setting cross_compile will disable run tests; it will
4073 # also disable AC_CHECK_FILE but that's generally
4074 # correct if we can't link.
4075 cross_compiling=yes
4076 EXEEXT=
4077 else
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4082 main ()
4086 return 0;
4088 _ACEOF
4089 ac_clean_files_save=$ac_clean_files
4090 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4091 # Try to create an executable without -o first, disregard a.out.
4092 # It will help us diagnose broken compilers, and finding out an intuition
4093 # of exeext.
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4095 $as_echo_n "checking whether the C compiler works... " >&6; }
4096 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4098 # The possible output files:
4099 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4101 ac_rmfiles=
4102 for ac_file in $ac_files
4104 case $ac_file in
4105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4106 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4107 esac
4108 done
4109 rm -f $ac_rmfiles
4111 if { { ac_try="$ac_link_default"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_link_default") 2>&5
4119 ac_status=$?
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4123 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4124 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4125 # so that the user can short-circuit this test for compilers unknown to
4126 # Autoconf.
4127 for ac_file in $ac_files ''
4129 test -f "$ac_file" || continue
4130 case $ac_file in
4131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4133 [ab].out )
4134 # We found the default executable, but exeext='' is most
4135 # certainly right.
4136 break;;
4137 *.* )
4138 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4139 then :; else
4140 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4142 # We set ac_cv_exeext here because the later test for it is not
4143 # safe: cross compilers may not add the suffix if given an `-o'
4144 # argument, so we may need to know it at that point already.
4145 # Even if this section looks crufty: it has the advantage of
4146 # actually working.
4147 break;;
4149 break;;
4150 esac
4151 done
4152 test "$ac_cv_exeext" = no && ac_cv_exeext=
4154 else
4155 ac_file=''
4157 if test -z "$ac_file"; then :
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4160 $as_echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.$ac_ext >&5
4163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 as_fn_error 77 "C compiler cannot create executables
4166 See \`config.log' for more details" "$LINENO" 5; }
4167 else
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4169 $as_echo "yes" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4172 $as_echo_n "checking for C compiler default output file name... " >&6; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4174 $as_echo "$ac_file" >&6; }
4175 ac_exeext=$ac_cv_exeext
4177 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4178 ac_clean_files=$ac_clean_files_save
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4180 $as_echo_n "checking for suffix of executables... " >&6; }
4181 if { { ac_try="$ac_link"
4182 case "(($ac_try" in
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4185 esac
4186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187 $as_echo "$ac_try_echo"; } >&5
4188 (eval "$ac_link") 2>&5
4189 ac_status=$?
4190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191 test $ac_status = 0; }; then :
4192 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4193 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4194 # work properly (i.e., refer to `conftest.exe'), while it won't with
4195 # `rm'.
4196 for ac_file in conftest.exe conftest conftest.*; do
4197 test -f "$ac_file" || continue
4198 case $ac_file in
4199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4200 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4201 break;;
4202 * ) break;;
4203 esac
4204 done
4205 else
4206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4209 See \`config.log' for more details" "$LINENO" 5; }
4211 rm -f conftest conftest$ac_cv_exeext
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4213 $as_echo "$ac_cv_exeext" >&6; }
4215 rm -f conftest.$ac_ext
4216 EXEEXT=$ac_cv_exeext
4217 ac_exeext=$EXEEXT
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220 #include <stdio.h>
4222 main ()
4224 FILE *f = fopen ("conftest.out", "w");
4225 return ferror (f) || fclose (f) != 0;
4228 return 0;
4230 _ACEOF
4231 ac_clean_files="$ac_clean_files conftest.out"
4232 # Check that the compiler produces executables we can run. If not, either
4233 # the compiler is broken, or we cross compile.
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4235 $as_echo_n "checking whether we are cross compiling... " >&6; }
4236 if test "$cross_compiling" != yes; then
4237 { { ac_try="$ac_link"
4238 case "(($ac_try" in
4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4241 esac
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_link") 2>&5
4245 ac_status=$?
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }
4248 if { ac_try='./conftest$ac_cv_exeext'
4249 { { case "(($ac_try" in
4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4251 *) ac_try_echo=$ac_try;;
4252 esac
4253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4254 $as_echo "$ac_try_echo"; } >&5
4255 (eval "$ac_try") 2>&5
4256 ac_status=$?
4257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4258 test $ac_status = 0; }; }; then
4259 cross_compiling=no
4260 else
4261 if test "$cross_compiling" = maybe; then
4262 cross_compiling=yes
4263 else
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error $? "cannot run C compiled programs.
4267 If you meant to cross compile, use \`--host'.
4268 See \`config.log' for more details" "$LINENO" 5; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4273 $as_echo "$cross_compiling" >&6; }
4275 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4276 ac_clean_files=$ac_clean_files_save
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4279 $as_echo_n "checking for suffix of object files... " >&6; }
4280 if ${ac_cv_objext+:} false; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4287 main ()
4291 return 0;
4293 _ACEOF
4294 rm -f conftest.o conftest.obj
4295 if { { ac_try="$ac_compile"
4296 case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4299 esac
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_compile") 2>&5
4303 ac_status=$?
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; }; then :
4306 for ac_file in conftest.o conftest.obj conftest.*; do
4307 test -f "$ac_file" || continue;
4308 case $ac_file in
4309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4310 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4311 break;;
4312 esac
4313 done
4314 else
4315 $as_echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.$ac_ext >&5
4318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error $? "cannot compute suffix of object files: cannot compile
4321 See \`config.log' for more details" "$LINENO" 5; }
4323 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4326 $as_echo "$ac_cv_objext" >&6; }
4327 OBJEXT=$ac_cv_objext
4328 ac_objext=$OBJEXT
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4330 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4331 if ${ac_cv_c_compiler_gnu+:} false; then :
4332 $as_echo_n "(cached) " >&6
4333 else
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4338 main ()
4340 #ifndef __GNUC__
4341 choke me
4342 #endif
4345 return 0;
4347 _ACEOF
4348 if ac_fn_c_try_compile "$LINENO"; then :
4349 ac_compiler_gnu=yes
4350 else
4351 ac_compiler_gnu=no
4353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4358 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4359 if test $ac_compiler_gnu = yes; then
4360 GCC=yes
4361 else
4362 GCC=
4364 ac_test_CFLAGS=${CFLAGS+set}
4365 ac_save_CFLAGS=$CFLAGS
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4367 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4368 if ${ac_cv_prog_cc_g+:} false; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 ac_save_c_werror_flag=$ac_c_werror_flag
4372 ac_c_werror_flag=yes
4373 ac_cv_prog_cc_g=no
4374 CFLAGS="-g"
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4379 main ()
4383 return 0;
4385 _ACEOF
4386 if ac_fn_c_try_compile "$LINENO"; then :
4387 ac_cv_prog_cc_g=yes
4388 else
4389 CFLAGS=""
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4394 main ()
4398 return 0;
4400 _ACEOF
4401 if ac_fn_c_try_compile "$LINENO"; then :
4403 else
4404 ac_c_werror_flag=$ac_save_c_werror_flag
4405 CFLAGS="-g"
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4410 main ()
4414 return 0;
4416 _ACEOF
4417 if ac_fn_c_try_compile "$LINENO"; then :
4418 ac_cv_prog_cc_g=yes
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 ac_c_werror_flag=$ac_save_c_werror_flag
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4428 $as_echo "$ac_cv_prog_cc_g" >&6; }
4429 if test "$ac_test_CFLAGS" = set; then
4430 CFLAGS=$ac_save_CFLAGS
4431 elif test $ac_cv_prog_cc_g = yes; then
4432 if test "$GCC" = yes; then
4433 CFLAGS="-g -O2"
4434 else
4435 CFLAGS="-g"
4437 else
4438 if test "$GCC" = yes; then
4439 CFLAGS="-O2"
4440 else
4441 CFLAGS=
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4445 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4446 if ${ac_cv_prog_cc_c89+:} false; then :
4447 $as_echo_n "(cached) " >&6
4448 else
4449 ac_cv_prog_cc_c89=no
4450 ac_save_CC=$CC
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4453 #include <stdarg.h>
4454 #include <stdio.h>
4455 struct stat;
4456 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4457 struct buf { int x; };
4458 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4459 static char *e (p, i)
4460 char **p;
4461 int i;
4463 return p[i];
4465 static char *f (char * (*g) (char **, int), char **p, ...)
4467 char *s;
4468 va_list v;
4469 va_start (v,p);
4470 s = g (p, va_arg (v,int));
4471 va_end (v);
4472 return s;
4475 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4476 function prototypes and stuff, but not '\xHH' hex character constants.
4477 These don't provoke an error unfortunately, instead are silently treated
4478 as 'x'. The following induces an error, until -std is added to get
4479 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4480 array size at least. It's necessary to write '\x00'==0 to get something
4481 that's true only with -std. */
4482 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4484 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4485 inside strings and character constants. */
4486 #define FOO(x) 'x'
4487 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4489 int test (int i, double x);
4490 struct s1 {int (*f) (int a);};
4491 struct s2 {int (*f) (double a);};
4492 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4493 int argc;
4494 char **argv;
4496 main ()
4498 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4500 return 0;
4502 _ACEOF
4503 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4504 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4506 CC="$ac_save_CC $ac_arg"
4507 if ac_fn_c_try_compile "$LINENO"; then :
4508 ac_cv_prog_cc_c89=$ac_arg
4510 rm -f core conftest.err conftest.$ac_objext
4511 test "x$ac_cv_prog_cc_c89" != "xno" && break
4512 done
4513 rm -f conftest.$ac_ext
4514 CC=$ac_save_CC
4517 # AC_CACHE_VAL
4518 case "x$ac_cv_prog_cc_c89" in
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4521 $as_echo "none needed" >&6; } ;;
4522 xno)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4524 $as_echo "unsupported" >&6; } ;;
4526 CC="$CC $ac_cv_prog_cc_c89"
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4528 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4529 esac
4530 if test "x$ac_cv_prog_cc_c89" != xno; then :
4534 ac_ext=c
4535 ac_cpp='$CPP $CPPFLAGS'
4536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4540 ac_ext=c
4541 ac_cpp='$CPP $CPPFLAGS'
4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4546 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4547 if ${am_cv_prog_cc_c_o+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4554 main ()
4558 return 0;
4560 _ACEOF
4561 # Make sure it works both with $CC and with simple cc.
4562 # Following AC_PROG_CC_C_O, we do the test twice because some
4563 # compilers refuse to overwrite an existing .o file with -o,
4564 # though they will create one.
4565 am_cv_prog_cc_c_o=yes
4566 for am_i in 1 2; do
4567 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4568 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4569 ac_status=$?
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } \
4572 && test -f conftest2.$ac_objext; then
4573 : OK
4574 else
4575 am_cv_prog_cc_c_o=no
4576 break
4578 done
4579 rm -f core conftest*
4580 unset am_i
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4583 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4584 if test "$am_cv_prog_cc_c_o" != yes; then
4585 # Losing compiler, so override with the script.
4586 # FIXME: It is wrong to rewrite CC.
4587 # But if we don't then we get into trouble of one sort or another.
4588 # A longer-term fix would be to have automake use am__CC in this case,
4589 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4590 CC="$am_aux_dir/compile $CC"
4592 ac_ext=c
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599 depcc="$CC" am_compiler_list=
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4602 $as_echo_n "checking dependency style of $depcc... " >&6; }
4603 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4607 # We make a subdir and do the tests there. Otherwise we can end up
4608 # making bogus files that we don't know about and never remove. For
4609 # instance it was reported that on HP-UX the gcc test will end up
4610 # making a dummy file named 'D' -- because '-MD' means "put the output
4611 # in D".
4612 rm -rf conftest.dir
4613 mkdir conftest.dir
4614 # Copy depcomp to subdir because otherwise we won't find it if we're
4615 # using a relative directory.
4616 cp "$am_depcomp" conftest.dir
4617 cd conftest.dir
4618 # We will build objects and dependencies in a subdirectory because
4619 # it helps to detect inapplicable dependency modes. For instance
4620 # both Tru64's cc and ICC support -MD to output dependencies as a
4621 # side effect of compilation, but ICC will put the dependencies in
4622 # the current directory while Tru64 will put them in the object
4623 # directory.
4624 mkdir sub
4626 am_cv_CC_dependencies_compiler_type=none
4627 if test "$am_compiler_list" = ""; then
4628 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4630 am__universal=false
4631 case " $depcc " in #(
4632 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4633 esac
4635 for depmode in $am_compiler_list; do
4636 # Setup a source with many dependencies, because some compilers
4637 # like to wrap large dependency lists on column 80 (with \), and
4638 # we should not choose a depcomp mode which is confused by this.
4640 # We need to recreate these files for each test, as the compiler may
4641 # overwrite some of them when testing with obscure command lines.
4642 # This happens at least with the AIX C compiler.
4643 : > sub/conftest.c
4644 for i in 1 2 3 4 5 6; do
4645 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4646 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4647 # Solaris 10 /bin/sh.
4648 echo '/* dummy */' > sub/conftst$i.h
4649 done
4650 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4652 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4653 # mode. It turns out that the SunPro C++ compiler does not properly
4654 # handle '-M -o', and we need to detect this. Also, some Intel
4655 # versions had trouble with output in subdirs.
4656 am__obj=sub/conftest.${OBJEXT-o}
4657 am__minus_obj="-o $am__obj"
4658 case $depmode in
4659 gcc)
4660 # This depmode causes a compiler race in universal mode.
4661 test "$am__universal" = false || continue
4663 nosideeffect)
4664 # After this tag, mechanisms are not by side-effect, so they'll
4665 # only be used when explicitly requested.
4666 if test "x$enable_dependency_tracking" = xyes; then
4667 continue
4668 else
4669 break
4672 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4673 # This compiler won't grok '-c -o', but also, the minuso test has
4674 # not run yet. These depmodes are late enough in the game, and
4675 # so weak that their functioning should not be impacted.
4676 am__obj=conftest.${OBJEXT-o}
4677 am__minus_obj=
4679 none) break ;;
4680 esac
4681 if depmode=$depmode \
4682 source=sub/conftest.c object=$am__obj \
4683 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4684 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4685 >/dev/null 2>conftest.err &&
4686 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4687 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4688 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4689 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4690 # icc doesn't choke on unknown options, it will just issue warnings
4691 # or remarks (even with -Werror). So we grep stderr for any message
4692 # that says an option was ignored or not supported.
4693 # When given -MP, icc 7.0 and 7.1 complain thusly:
4694 # icc: Command line warning: ignoring option '-M'; no argument required
4695 # The diagnosis changed in icc 8.0:
4696 # icc: Command line remark: option '-MP' not supported
4697 if (grep 'ignoring option' conftest.err ||
4698 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4699 am_cv_CC_dependencies_compiler_type=$depmode
4700 break
4703 done
4705 cd ..
4706 rm -rf conftest.dir
4707 else
4708 am_cv_CC_dependencies_compiler_type=none
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4713 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4714 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4717 test "x$enable_dependency_tracking" != xno \
4718 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4719 am__fastdepCC_TRUE=
4720 am__fastdepCC_FALSE='#'
4721 else
4722 am__fastdepCC_TRUE='#'
4723 am__fastdepCC_FALSE=
4728 ac_ext=c
4729 ac_cpp='$CPP $CPPFLAGS'
4730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4734 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4735 # On Suns, sometimes $CPP names a directory.
4736 if test -n "$CPP" && test -d "$CPP"; then
4737 CPP=
4739 if test -z "$CPP"; then
4740 if ${ac_cv_prog_CPP+:} false; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 # Double quotes because CPP needs to be expanded
4744 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4746 ac_preproc_ok=false
4747 for ac_c_preproc_warn_flag in '' yes
4749 # Use a header file that comes with gcc, so configuring glibc
4750 # with a fresh cross-compiler works.
4751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4752 # <limits.h> exists even on freestanding compilers.
4753 # On the NeXT, cc -E runs the code through the compiler's parser,
4754 # not just through cpp. "Syntax error" is here to catch this case.
4755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4757 #ifdef __STDC__
4758 # include <limits.h>
4759 #else
4760 # include <assert.h>
4761 #endif
4762 Syntax error
4763 _ACEOF
4764 if ac_fn_c_try_cpp "$LINENO"; then :
4766 else
4767 # Broken: fails on valid input.
4768 continue
4770 rm -f conftest.err conftest.i conftest.$ac_ext
4772 # OK, works on sane cases. Now check whether nonexistent headers
4773 # can be detected and how.
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4776 #include <ac_nonexistent.h>
4777 _ACEOF
4778 if ac_fn_c_try_cpp "$LINENO"; then :
4779 # Broken: success on invalid input.
4780 continue
4781 else
4782 # Passes both tests.
4783 ac_preproc_ok=:
4784 break
4786 rm -f conftest.err conftest.i conftest.$ac_ext
4788 done
4789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4790 rm -f conftest.i conftest.err conftest.$ac_ext
4791 if $ac_preproc_ok; then :
4792 break
4795 done
4796 ac_cv_prog_CPP=$CPP
4799 CPP=$ac_cv_prog_CPP
4800 else
4801 ac_cv_prog_CPP=$CPP
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4804 $as_echo "$CPP" >&6; }
4805 ac_preproc_ok=false
4806 for ac_c_preproc_warn_flag in '' yes
4808 # Use a header file that comes with gcc, so configuring glibc
4809 # with a fresh cross-compiler works.
4810 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4811 # <limits.h> exists even on freestanding compilers.
4812 # On the NeXT, cc -E runs the code through the compiler's parser,
4813 # not just through cpp. "Syntax error" is here to catch this case.
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4816 #ifdef __STDC__
4817 # include <limits.h>
4818 #else
4819 # include <assert.h>
4820 #endif
4821 Syntax error
4822 _ACEOF
4823 if ac_fn_c_try_cpp "$LINENO"; then :
4825 else
4826 # Broken: fails on valid input.
4827 continue
4829 rm -f conftest.err conftest.i conftest.$ac_ext
4831 # OK, works on sane cases. Now check whether nonexistent headers
4832 # can be detected and how.
4833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834 /* end confdefs.h. */
4835 #include <ac_nonexistent.h>
4836 _ACEOF
4837 if ac_fn_c_try_cpp "$LINENO"; then :
4838 # Broken: success on invalid input.
4839 continue
4840 else
4841 # Passes both tests.
4842 ac_preproc_ok=:
4843 break
4845 rm -f conftest.err conftest.i conftest.$ac_ext
4847 done
4848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4849 rm -f conftest.i conftest.err conftest.$ac_ext
4850 if $ac_preproc_ok; then :
4852 else
4853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4855 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4856 See \`config.log' for more details" "$LINENO" 5; }
4859 ac_ext=c
4860 ac_cpp='$CPP $CPPFLAGS'
4861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4867 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4868 if ${ac_cv_path_GREP+:} false; then :
4869 $as_echo_n "(cached) " >&6
4870 else
4871 if test -z "$GREP"; then
4872 ac_path_GREP_found=false
4873 # Loop through the user's path and test for each of PROGNAME-LIST
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4877 IFS=$as_save_IFS
4878 test -z "$as_dir" && as_dir=.
4879 for ac_prog in grep ggrep; do
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4882 as_fn_executable_p "$ac_path_GREP" || continue
4883 # Check for GNU ac_path_GREP and select it if it is found.
4884 # Check for GNU $ac_path_GREP
4885 case `"$ac_path_GREP" --version 2>&1` in
4886 *GNU*)
4887 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4889 ac_count=0
4890 $as_echo_n 0123456789 >"conftest.in"
4891 while :
4893 cat "conftest.in" "conftest.in" >"conftest.tmp"
4894 mv "conftest.tmp" "conftest.in"
4895 cp "conftest.in" "conftest.nl"
4896 $as_echo 'GREP' >> "conftest.nl"
4897 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4898 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4899 as_fn_arith $ac_count + 1 && ac_count=$as_val
4900 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4901 # Best one so far, save it but keep looking for a better one
4902 ac_cv_path_GREP="$ac_path_GREP"
4903 ac_path_GREP_max=$ac_count
4905 # 10*(2^10) chars as input seems more than enough
4906 test $ac_count -gt 10 && break
4907 done
4908 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4909 esac
4911 $ac_path_GREP_found && break 3
4912 done
4913 done
4914 done
4915 IFS=$as_save_IFS
4916 if test -z "$ac_cv_path_GREP"; then
4917 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4919 else
4920 ac_cv_path_GREP=$GREP
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4925 $as_echo "$ac_cv_path_GREP" >&6; }
4926 GREP="$ac_cv_path_GREP"
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4930 $as_echo_n "checking for egrep... " >&6; }
4931 if ${ac_cv_path_EGREP+:} false; then :
4932 $as_echo_n "(cached) " >&6
4933 else
4934 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4935 then ac_cv_path_EGREP="$GREP -E"
4936 else
4937 if test -z "$EGREP"; then
4938 ac_path_EGREP_found=false
4939 # Loop through the user's path and test for each of PROGNAME-LIST
4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4943 IFS=$as_save_IFS
4944 test -z "$as_dir" && as_dir=.
4945 for ac_prog in egrep; do
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4948 as_fn_executable_p "$ac_path_EGREP" || continue
4949 # Check for GNU ac_path_EGREP and select it if it is found.
4950 # Check for GNU $ac_path_EGREP
4951 case `"$ac_path_EGREP" --version 2>&1` in
4952 *GNU*)
4953 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4955 ac_count=0
4956 $as_echo_n 0123456789 >"conftest.in"
4957 while :
4959 cat "conftest.in" "conftest.in" >"conftest.tmp"
4960 mv "conftest.tmp" "conftest.in"
4961 cp "conftest.in" "conftest.nl"
4962 $as_echo 'EGREP' >> "conftest.nl"
4963 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4964 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4965 as_fn_arith $ac_count + 1 && ac_count=$as_val
4966 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4967 # Best one so far, save it but keep looking for a better one
4968 ac_cv_path_EGREP="$ac_path_EGREP"
4969 ac_path_EGREP_max=$ac_count
4971 # 10*(2^10) chars as input seems more than enough
4972 test $ac_count -gt 10 && break
4973 done
4974 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4975 esac
4977 $ac_path_EGREP_found && break 3
4978 done
4979 done
4980 done
4981 IFS=$as_save_IFS
4982 if test -z "$ac_cv_path_EGREP"; then
4983 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4985 else
4986 ac_cv_path_EGREP=$EGREP
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4992 $as_echo "$ac_cv_path_EGREP" >&6; }
4993 EGREP="$ac_cv_path_EGREP"
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4997 $as_echo_n "checking for ANSI C header files... " >&6; }
4998 if ${ac_cv_header_stdc+:} false; then :
4999 $as_echo_n "(cached) " >&6
5000 else
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5003 #include <stdlib.h>
5004 #include <stdarg.h>
5005 #include <string.h>
5006 #include <float.h>
5009 main ()
5013 return 0;
5015 _ACEOF
5016 if ac_fn_c_try_compile "$LINENO"; then :
5017 ac_cv_header_stdc=yes
5018 else
5019 ac_cv_header_stdc=no
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5023 if test $ac_cv_header_stdc = yes; then
5024 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5027 #include <string.h>
5029 _ACEOF
5030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5031 $EGREP "memchr" >/dev/null 2>&1; then :
5033 else
5034 ac_cv_header_stdc=no
5036 rm -f conftest*
5040 if test $ac_cv_header_stdc = yes; then
5041 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5044 #include <stdlib.h>
5046 _ACEOF
5047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5048 $EGREP "free" >/dev/null 2>&1; then :
5050 else
5051 ac_cv_header_stdc=no
5053 rm -f conftest*
5057 if test $ac_cv_header_stdc = yes; then
5058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5059 if test "$cross_compiling" = yes; then :
5061 else
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5064 #include <ctype.h>
5065 #include <stdlib.h>
5066 #if ((' ' & 0x0FF) == 0x020)
5067 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5068 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5069 #else
5070 # define ISLOWER(c) \
5071 (('a' <= (c) && (c) <= 'i') \
5072 || ('j' <= (c) && (c) <= 'r') \
5073 || ('s' <= (c) && (c) <= 'z'))
5074 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5075 #endif
5077 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5079 main ()
5081 int i;
5082 for (i = 0; i < 256; i++)
5083 if (XOR (islower (i), ISLOWER (i))
5084 || toupper (i) != TOUPPER (i))
5085 return 2;
5086 return 0;
5088 _ACEOF
5089 if ac_fn_c_try_run "$LINENO"; then :
5091 else
5092 ac_cv_header_stdc=no
5094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5095 conftest.$ac_objext conftest.beam conftest.$ac_ext
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5101 $as_echo "$ac_cv_header_stdc" >&6; }
5102 if test $ac_cv_header_stdc = yes; then
5104 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5108 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5109 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5110 inttypes.h stdint.h unistd.h
5111 do :
5112 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5113 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5115 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5116 cat >>confdefs.h <<_ACEOF
5117 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5118 _ACEOF
5122 done
5126 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5127 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5128 MINIX=yes
5129 else
5130 MINIX=
5134 if test "$MINIX" = yes; then
5136 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5139 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5142 $as_echo "#define _MINIX 1" >>confdefs.h
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5148 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5149 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5155 # define __EXTENSIONS__ 1
5156 $ac_includes_default
5158 main ()
5162 return 0;
5164 _ACEOF
5165 if ac_fn_c_try_compile "$LINENO"; then :
5166 ac_cv_safe_to_define___extensions__=yes
5167 else
5168 ac_cv_safe_to_define___extensions__=no
5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5173 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5174 test $ac_cv_safe_to_define___extensions__ = yes &&
5175 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5177 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5179 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5181 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5183 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5188 # Check whether --with-toolexeclibdir was given.
5189 if test "${with_toolexeclibdir+set}" = set; then :
5190 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5194 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5196 esac
5197 else
5198 with_toolexeclibdir=no
5203 # Calculate toolexeclibdir
5204 # Also toolexecdir, though it's only used in toolexeclibdir
5205 case ${version_specific_libs} in
5206 yes)
5207 # Need the gcc compiler version to know where to install libraries
5208 # and header files if --enable-version-specific-runtime-libs option
5209 # is selected.
5210 toolexecdir='$(libdir)/gcc/$(target_alias)'
5211 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5214 if test -n "$with_cross_host" &&
5215 test x"$with_cross_host" != x"no"; then
5216 # Install a library built with a cross compiler in tooldir, not libdir.
5217 toolexecdir='$(exec_prefix)/$(target_alias)'
5218 case ${with_toolexeclibdir} in
5220 toolexeclibdir='$(toolexecdir)/lib'
5223 toolexeclibdir=${with_toolexeclibdir}
5225 esac
5226 else
5227 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5228 toolexeclibdir='$(libdir)'
5230 multi_os_directory=`$CC -print-multi-os-directory`
5231 case $multi_os_directory in
5232 .) ;; # Avoid trailing /.
5233 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5234 esac
5236 esac
5240 # Create a spec file, so that compile/link tests don't fail
5241 test -f libgfortran.spec || touch libgfortran.spec
5243 ac_ext=c
5244 ac_cpp='$CPP $CPPFLAGS'
5245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5249 # Check the compiler.
5250 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5251 # We must force CC to /not/ be precious variables; otherwise
5252 # the wrong, non-multilib-adjusted value will be used in multilibs.
5253 # As a side effect, we have to subst CFLAGS ourselves.
5257 ac_ext=c
5258 ac_cpp='$CPP $CPPFLAGS'
5259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5262 if test -n "$ac_tool_prefix"; then
5263 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5264 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_CC+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$CC"; then
5271 ac_cv_prog_CC="$CC" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5284 done
5285 done
5286 IFS=$as_save_IFS
5290 CC=$ac_cv_prog_CC
5291 if test -n "$CC"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5293 $as_echo "$CC" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5301 if test -z "$ac_cv_prog_CC"; then
5302 ac_ct_CC=$CC
5303 # Extract the first word of "gcc", so it can be a program name with args.
5304 set dummy gcc; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -n "$ac_ct_CC"; then
5311 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5312 else
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 for as_dir in $PATH
5316 IFS=$as_save_IFS
5317 test -z "$as_dir" && as_dir=.
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_ac_ct_CC="gcc"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 break 2
5324 done
5325 done
5326 IFS=$as_save_IFS
5330 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5331 if test -n "$ac_ct_CC"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5333 $as_echo "$ac_ct_CC" >&6; }
5334 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5339 if test "x$ac_ct_CC" = x; then
5340 CC=""
5341 else
5342 case $cross_compiling:$ac_tool_warned in
5343 yes:)
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346 ac_tool_warned=yes ;;
5347 esac
5348 CC=$ac_ct_CC
5350 else
5351 CC="$ac_cv_prog_CC"
5354 if test -z "$CC"; then
5355 if test -n "$ac_tool_prefix"; then
5356 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5357 set dummy ${ac_tool_prefix}cc; ac_word=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_CC+:} false; then :
5361 $as_echo_n "(cached) " >&6
5362 else
5363 if test -n "$CC"; then
5364 ac_cv_prog_CC="$CC" # Let the user override the test.
5365 else
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 for as_dir in $PATH
5369 IFS=$as_save_IFS
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_CC="${ac_tool_prefix}cc"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 break 2
5377 done
5378 done
5379 IFS=$as_save_IFS
5383 CC=$ac_cv_prog_CC
5384 if test -n "$CC"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5386 $as_echo "$CC" >&6; }
5387 else
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5395 if test -z "$CC"; then
5396 # Extract the first word of "cc", so it can be a program name with args.
5397 set dummy cc; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_CC+:} false; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 if test -n "$CC"; then
5404 ac_cv_prog_CC="$CC" # Let the user override the test.
5405 else
5406 ac_prog_rejected=no
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 for as_dir in $PATH
5410 IFS=$as_save_IFS
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5415 ac_prog_rejected=yes
5416 continue
5418 ac_cv_prog_CC="cc"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5422 done
5423 done
5424 IFS=$as_save_IFS
5426 if test $ac_prog_rejected = yes; then
5427 # We found a bogon in the path, so make sure we never use it.
5428 set dummy $ac_cv_prog_CC
5429 shift
5430 if test $# != 0; then
5431 # We chose a different compiler from the bogus one.
5432 # However, it has the same basename, so the bogon will be chosen
5433 # first if we set CC to just the basename; use the full file name.
5434 shift
5435 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5440 CC=$ac_cv_prog_CC
5441 if test -n "$CC"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5443 $as_echo "$CC" >&6; }
5444 else
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5451 if test -z "$CC"; then
5452 if test -n "$ac_tool_prefix"; then
5453 for ac_prog in cl.exe
5455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_CC+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if test -n "$CC"; then
5463 ac_cv_prog_CC="$CC" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5476 done
5477 done
5478 IFS=$as_save_IFS
5482 CC=$ac_cv_prog_CC
5483 if test -n "$CC"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5485 $as_echo "$CC" >&6; }
5486 else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5492 test -n "$CC" && break
5493 done
5495 if test -z "$CC"; then
5496 ac_ct_CC=$CC
5497 for ac_prog in cl.exe
5499 # Extract the first word of "$ac_prog", so it can be a program name with args.
5500 set dummy $ac_prog; ac_word=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5504 $as_echo_n "(cached) " >&6
5505 else
5506 if test -n "$ac_ct_CC"; then
5507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5508 else
5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 for as_dir in $PATH
5512 IFS=$as_save_IFS
5513 test -z "$as_dir" && as_dir=.
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_ac_ct_CC="$ac_prog"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 break 2
5520 done
5521 done
5522 IFS=$as_save_IFS
5526 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5527 if test -n "$ac_ct_CC"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5529 $as_echo "$ac_ct_CC" >&6; }
5530 else
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5536 test -n "$ac_ct_CC" && break
5537 done
5539 if test "x$ac_ct_CC" = x; then
5540 CC=""
5541 else
5542 case $cross_compiling:$ac_tool_warned in
5543 yes:)
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5546 ac_tool_warned=yes ;;
5547 esac
5548 CC=$ac_ct_CC
5555 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5557 as_fn_error $? "no acceptable C compiler found in \$PATH
5558 See \`config.log' for more details" "$LINENO" 5; }
5560 # Provide some information about the compiler.
5561 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5562 set X $ac_compile
5563 ac_compiler=$2
5564 for ac_option in --version -v -V -qversion; do
5565 { { ac_try="$ac_compiler $ac_option >&5"
5566 case "(($ac_try" in
5567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5568 *) ac_try_echo=$ac_try;;
5569 esac
5570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5571 $as_echo "$ac_try_echo"; } >&5
5572 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5573 ac_status=$?
5574 if test -s conftest.err; then
5575 sed '10a\
5576 ... rest of stderr output deleted ...
5577 10q' conftest.err >conftest.er1
5578 cat conftest.er1 >&5
5580 rm -f conftest.er1 conftest.err
5581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5582 test $ac_status = 0; }
5583 done
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5586 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5587 if ${ac_cv_c_compiler_gnu+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5594 main ()
5596 #ifndef __GNUC__
5597 choke me
5598 #endif
5601 return 0;
5603 _ACEOF
5604 if ac_fn_c_try_compile "$LINENO"; then :
5605 ac_compiler_gnu=yes
5606 else
5607 ac_compiler_gnu=no
5609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5610 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5614 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5615 if test $ac_compiler_gnu = yes; then
5616 GCC=yes
5617 else
5618 GCC=
5620 ac_test_CFLAGS=${CFLAGS+set}
5621 ac_save_CFLAGS=$CFLAGS
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5623 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5624 if ${ac_cv_prog_cc_g+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 ac_save_c_werror_flag=$ac_c_werror_flag
5628 ac_c_werror_flag=yes
5629 ac_cv_prog_cc_g=no
5630 CFLAGS="-g"
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5635 main ()
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_compile "$LINENO"; then :
5643 ac_cv_prog_cc_g=yes
5644 else
5645 CFLAGS=""
5646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5647 /* end confdefs.h. */
5650 main ()
5654 return 0;
5656 _ACEOF
5657 if ac_fn_c_try_compile "$LINENO"; then :
5659 else
5660 ac_c_werror_flag=$ac_save_c_werror_flag
5661 CFLAGS="-g"
5662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5666 main ()
5670 return 0;
5672 _ACEOF
5673 if ac_fn_c_try_compile "$LINENO"; then :
5674 ac_cv_prog_cc_g=yes
5676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5681 ac_c_werror_flag=$ac_save_c_werror_flag
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5684 $as_echo "$ac_cv_prog_cc_g" >&6; }
5685 if test "$ac_test_CFLAGS" = set; then
5686 CFLAGS=$ac_save_CFLAGS
5687 elif test $ac_cv_prog_cc_g = yes; then
5688 if test "$GCC" = yes; then
5689 CFLAGS="-g -O2"
5690 else
5691 CFLAGS="-g"
5693 else
5694 if test "$GCC" = yes; then
5695 CFLAGS="-O2"
5696 else
5697 CFLAGS=
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5701 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5702 if ${ac_cv_prog_cc_c89+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 ac_cv_prog_cc_c89=no
5706 ac_save_CC=$CC
5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5709 #include <stdarg.h>
5710 #include <stdio.h>
5711 struct stat;
5712 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5713 struct buf { int x; };
5714 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5715 static char *e (p, i)
5716 char **p;
5717 int i;
5719 return p[i];
5721 static char *f (char * (*g) (char **, int), char **p, ...)
5723 char *s;
5724 va_list v;
5725 va_start (v,p);
5726 s = g (p, va_arg (v,int));
5727 va_end (v);
5728 return s;
5731 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5732 function prototypes and stuff, but not '\xHH' hex character constants.
5733 These don't provoke an error unfortunately, instead are silently treated
5734 as 'x'. The following induces an error, until -std is added to get
5735 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5736 array size at least. It's necessary to write '\x00'==0 to get something
5737 that's true only with -std. */
5738 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5740 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5741 inside strings and character constants. */
5742 #define FOO(x) 'x'
5743 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5745 int test (int i, double x);
5746 struct s1 {int (*f) (int a);};
5747 struct s2 {int (*f) (double a);};
5748 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5749 int argc;
5750 char **argv;
5752 main ()
5754 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5756 return 0;
5758 _ACEOF
5759 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5760 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5762 CC="$ac_save_CC $ac_arg"
5763 if ac_fn_c_try_compile "$LINENO"; then :
5764 ac_cv_prog_cc_c89=$ac_arg
5766 rm -f core conftest.err conftest.$ac_objext
5767 test "x$ac_cv_prog_cc_c89" != "xno" && break
5768 done
5769 rm -f conftest.$ac_ext
5770 CC=$ac_save_CC
5773 # AC_CACHE_VAL
5774 case "x$ac_cv_prog_cc_c89" in
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5777 $as_echo "none needed" >&6; } ;;
5778 xno)
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5780 $as_echo "unsupported" >&6; } ;;
5782 CC="$CC $ac_cv_prog_cc_c89"
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5784 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5785 esac
5786 if test "x$ac_cv_prog_cc_c89" != xno; then :
5790 ac_ext=c
5791 ac_cpp='$CPP $CPPFLAGS'
5792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5796 ac_ext=c
5797 ac_cpp='$CPP $CPPFLAGS'
5798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5802 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5803 if ${am_cv_prog_cc_c_o+:} false; then :
5804 $as_echo_n "(cached) " >&6
5805 else
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5810 main ()
5814 return 0;
5816 _ACEOF
5817 # Make sure it works both with $CC and with simple cc.
5818 # Following AC_PROG_CC_C_O, we do the test twice because some
5819 # compilers refuse to overwrite an existing .o file with -o,
5820 # though they will create one.
5821 am_cv_prog_cc_c_o=yes
5822 for am_i in 1 2; do
5823 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5824 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5825 ac_status=$?
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } \
5828 && test -f conftest2.$ac_objext; then
5829 : OK
5830 else
5831 am_cv_prog_cc_c_o=no
5832 break
5834 done
5835 rm -f core conftest*
5836 unset am_i
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5839 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5840 if test "$am_cv_prog_cc_c_o" != yes; then
5841 # Losing compiler, so override with the script.
5842 # FIXME: It is wrong to rewrite CC.
5843 # But if we don't then we get into trouble of one sort or another.
5844 # A longer-term fix would be to have automake use am__CC in this case,
5845 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5846 CC="$am_aux_dir/compile $CC"
5848 ac_ext=c
5849 ac_cpp='$CPP $CPPFLAGS'
5850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5855 depcc="$CC" am_compiler_list=
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5858 $as_echo_n "checking dependency style of $depcc... " >&6; }
5859 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5863 # We make a subdir and do the tests there. Otherwise we can end up
5864 # making bogus files that we don't know about and never remove. For
5865 # instance it was reported that on HP-UX the gcc test will end up
5866 # making a dummy file named 'D' -- because '-MD' means "put the output
5867 # in D".
5868 rm -rf conftest.dir
5869 mkdir conftest.dir
5870 # Copy depcomp to subdir because otherwise we won't find it if we're
5871 # using a relative directory.
5872 cp "$am_depcomp" conftest.dir
5873 cd conftest.dir
5874 # We will build objects and dependencies in a subdirectory because
5875 # it helps to detect inapplicable dependency modes. For instance
5876 # both Tru64's cc and ICC support -MD to output dependencies as a
5877 # side effect of compilation, but ICC will put the dependencies in
5878 # the current directory while Tru64 will put them in the object
5879 # directory.
5880 mkdir sub
5882 am_cv_CC_dependencies_compiler_type=none
5883 if test "$am_compiler_list" = ""; then
5884 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5886 am__universal=false
5887 case " $depcc " in #(
5888 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5889 esac
5891 for depmode in $am_compiler_list; do
5892 # Setup a source with many dependencies, because some compilers
5893 # like to wrap large dependency lists on column 80 (with \), and
5894 # we should not choose a depcomp mode which is confused by this.
5896 # We need to recreate these files for each test, as the compiler may
5897 # overwrite some of them when testing with obscure command lines.
5898 # This happens at least with the AIX C compiler.
5899 : > sub/conftest.c
5900 for i in 1 2 3 4 5 6; do
5901 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5902 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5903 # Solaris 10 /bin/sh.
5904 echo '/* dummy */' > sub/conftst$i.h
5905 done
5906 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5908 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5909 # mode. It turns out that the SunPro C++ compiler does not properly
5910 # handle '-M -o', and we need to detect this. Also, some Intel
5911 # versions had trouble with output in subdirs.
5912 am__obj=sub/conftest.${OBJEXT-o}
5913 am__minus_obj="-o $am__obj"
5914 case $depmode in
5915 gcc)
5916 # This depmode causes a compiler race in universal mode.
5917 test "$am__universal" = false || continue
5919 nosideeffect)
5920 # After this tag, mechanisms are not by side-effect, so they'll
5921 # only be used when explicitly requested.
5922 if test "x$enable_dependency_tracking" = xyes; then
5923 continue
5924 else
5925 break
5928 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5929 # This compiler won't grok '-c -o', but also, the minuso test has
5930 # not run yet. These depmodes are late enough in the game, and
5931 # so weak that their functioning should not be impacted.
5932 am__obj=conftest.${OBJEXT-o}
5933 am__minus_obj=
5935 none) break ;;
5936 esac
5937 if depmode=$depmode \
5938 source=sub/conftest.c object=$am__obj \
5939 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5940 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5941 >/dev/null 2>conftest.err &&
5942 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5943 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5944 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5945 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5946 # icc doesn't choke on unknown options, it will just issue warnings
5947 # or remarks (even with -Werror). So we grep stderr for any message
5948 # that says an option was ignored or not supported.
5949 # When given -MP, icc 7.0 and 7.1 complain thusly:
5950 # icc: Command line warning: ignoring option '-M'; no argument required
5951 # The diagnosis changed in icc 8.0:
5952 # icc: Command line remark: option '-MP' not supported
5953 if (grep 'ignoring option' conftest.err ||
5954 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5955 am_cv_CC_dependencies_compiler_type=$depmode
5956 break
5959 done
5961 cd ..
5962 rm -rf conftest.dir
5963 else
5964 am_cv_CC_dependencies_compiler_type=none
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5969 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5970 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5973 test "x$enable_dependency_tracking" != xno \
5974 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5975 am__fastdepCC_TRUE=
5976 am__fastdepCC_FALSE='#'
5977 else
5978 am__fastdepCC_TRUE='#'
5979 am__fastdepCC_FALSE=
5989 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5990 have_real_17=no
5991 if test "x$GCC" = "xyes"; then
5992 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5993 ## We like to use C11 and C99 routines when available. This makes
5994 ## sure that
5995 ## __STDC_VERSION__ is set such that libc includes make them available.
5996 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5997 ## Compile the following tests with the same system header contents
5998 ## that we'll encounter when compiling our own source files.
5999 CFLAGS="-std=gnu11 $CFLAGS"
6001 case x$target in
6002 xpowerpc64le*-linux*)
6003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6004 /* end confdefs.h. */
6005 #if __SIZEOF_LONG_DOUBLE__ != 16
6006 #error long double is double
6007 #endif
6009 main ()
6011 (void) 0;
6013 return 0;
6015 _ACEOF
6016 if ac_fn_c_try_cpp "$LINENO"; then :
6017 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6018 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6019 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6020 have_real_17=yes
6022 rm -f conftest.err conftest.i conftest.$ac_ext
6026 esac
6028 if test "x$have_real_17" != xno; then
6029 HAVE_REAL_17_TRUE=
6030 HAVE_REAL_17_FALSE='#'
6031 else
6032 HAVE_REAL_17_TRUE='#'
6033 HAVE_REAL_17_FALSE=
6037 # Add CET specific flags if CET is enabled
6038 # Check whether --enable-cet was given.
6039 if test "${enable_cet+set}" = set; then :
6040 enableval=$enable_cet;
6041 case "$enableval" in
6042 yes|no|auto) ;;
6043 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6044 esac
6046 else
6047 enable_cet=auto
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6052 $as_echo_n "checking for CET support... " >&6; }
6054 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6055 case "$host" in
6056 i[34567]86-*-linux* | x86_64-*-linux*)
6057 case "$enable_cet" in
6058 auto)
6059 # Check if target supports multi-byte NOPs
6060 # and if compiler and assembler support CET insn.
6061 cet_save_CFLAGS="$CFLAGS"
6062 CFLAGS="$CFLAGS -fcf-protection"
6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6067 main ()
6070 #if !defined(__SSE2__)
6071 #error target does not support multi-byte NOPs
6072 #else
6073 asm ("setssbsy");
6074 #endif
6077 return 0;
6079 _ACEOF
6080 if ac_fn_c_try_compile "$LINENO"; then :
6081 enable_cet=yes
6082 else
6083 enable_cet=no
6085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6086 CFLAGS="$cet_save_CFLAGS"
6088 yes)
6089 # Check if assembler supports CET.
6090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6094 main ()
6096 asm ("setssbsy");
6098 return 0;
6100 _ACEOF
6101 if ac_fn_c_try_compile "$LINENO"; then :
6103 else
6104 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6108 esac
6111 enable_cet=no
6113 esac
6114 if test x$enable_cet = xyes; then
6115 CET_FLAGS="-fcf-protection -mshstk"
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6117 $as_echo "yes" >&6; }
6118 else
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6123 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6124 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6125 CFLAGS="$CFLAGS $CET_FLAGS"
6131 # Check for symbol versioning (copied from libssp).
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6133 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6134 # Check whether --enable-symvers was given.
6135 if test "${enable_symvers+set}" = set; then :
6136 enableval=$enable_symvers; gfortran_use_symver=$enableval
6137 else
6138 gfortran_use_symver=yes
6141 if test "x$gfortran_use_symver" != xno; then
6142 save_LDFLAGS="$LDFLAGS"
6143 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6144 cat > conftest.map <<EOF
6145 FOO_1.0 {
6146 global: *foo*; bar; local: *;
6149 if test x$gcc_no_link = xyes; then
6150 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6154 int foo;
6156 main ()
6160 return 0;
6162 _ACEOF
6163 if ac_fn_c_try_link "$LINENO"; then :
6164 gfortran_use_symver=gnu
6165 else
6166 gfortran_use_symver=no
6168 rm -f core conftest.err conftest.$ac_objext \
6169 conftest$ac_exeext conftest.$ac_ext
6170 if test x$gfortran_use_symver = xno; then
6171 case "$target_os" in
6172 solaris2*)
6173 LDFLAGS="$save_LDFLAGS"
6174 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6175 # Sun ld cannot handle wildcards and treats all entries as undefined.
6176 cat > conftest.map <<EOF
6177 FOO_1.0 {
6178 global: foo; local: *;
6181 if test x$gcc_no_link = xyes; then
6182 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6186 int foo;
6188 main ()
6192 return 0;
6194 _ACEOF
6195 if ac_fn_c_try_link "$LINENO"; then :
6196 gfortran_use_symver=sun
6197 else
6198 gfortran_use_symver=no
6200 rm -f core conftest.err conftest.$ac_objext \
6201 conftest$ac_exeext conftest.$ac_ext
6203 esac
6205 LDFLAGS="$save_LDFLAGS"
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6208 $as_echo "$gfortran_use_symver" >&6; }
6209 if test "x$gfortran_use_symver" != xno; then
6210 LIBGFOR_USE_SYMVER_TRUE=
6211 LIBGFOR_USE_SYMVER_FALSE='#'
6212 else
6213 LIBGFOR_USE_SYMVER_TRUE='#'
6214 LIBGFOR_USE_SYMVER_FALSE=
6217 if test "x$gfortran_use_symver" = xgnu; then
6218 LIBGFOR_USE_SYMVER_GNU_TRUE=
6219 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6220 else
6221 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6222 LIBGFOR_USE_SYMVER_GNU_FALSE=
6225 if test "x$gfortran_use_symver" = xsun; then
6226 LIBGFOR_USE_SYMVER_SUN_TRUE=
6227 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6228 else
6229 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6230 LIBGFOR_USE_SYMVER_SUN_FALSE=
6234 # For GPU offloading, not everything in libfortran can be supported.
6235 # Currently, the only target that has this problem is nvptx. The
6236 # following is a (partial) list of features that are unsupportable on
6237 # this particular target:
6238 # * Constructors
6239 # * alloca
6240 # * C library support for I/O, with printf as the one notable exception
6241 # * C library support for other features such as signal, environment
6242 # variables, time functions
6244 if test "x${target_cpu}" = xnvptx; then
6245 LIBGFOR_MINIMAL_TRUE=
6246 LIBGFOR_MINIMAL_FALSE='#'
6247 else
6248 LIBGFOR_MINIMAL_TRUE='#'
6249 LIBGFOR_MINIMAL_FALSE=
6253 # Some compiler target support may have limited support for integer
6254 # or floating point numbers – or may want to reduce the libgfortran size
6255 # although they do have the support.
6256 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6257 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6262 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6263 # similarly to how libstdc++ does it
6264 ac_test_CFLAGS="${CFLAGS+set}"
6265 ac_save_CFLAGS="$CFLAGS"
6267 # Check for -ffunction-sections -fdata-sections
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6269 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6270 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6275 main ()
6277 int foo;
6279 return 0;
6281 _ACEOF
6282 if ac_fn_c_try_compile "$LINENO"; then :
6283 ac_fdsections=yes
6284 else
6285 ac_fdsections=no
6287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6288 if test "$ac_test_CFLAGS" = set; then
6289 CFLAGS="$ac_save_CFLAGS"
6290 else
6291 # this is the suspicious part
6292 CFLAGS=""
6294 if test x"$ac_fdsections" = x"yes"; then
6295 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6298 $as_echo "$ac_fdsections" >&6; }
6301 # Check linker hardware capability support.
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6303 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6304 if ${ac_cv_path_SED+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6308 for ac_i in 1 2 3 4 5 6 7; do
6309 ac_script="$ac_script$as_nl$ac_script"
6310 done
6311 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6312 { ac_script=; unset ac_script;}
6313 if test -z "$SED"; then
6314 ac_path_SED_found=false
6315 # Loop through the user's path and test for each of PROGNAME-LIST
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 for as_dir in $PATH
6319 IFS=$as_save_IFS
6320 test -z "$as_dir" && as_dir=.
6321 for ac_prog in sed gsed; do
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6324 as_fn_executable_p "$ac_path_SED" || continue
6325 # Check for GNU ac_path_SED and select it if it is found.
6326 # Check for GNU $ac_path_SED
6327 case `"$ac_path_SED" --version 2>&1` in
6328 *GNU*)
6329 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6331 ac_count=0
6332 $as_echo_n 0123456789 >"conftest.in"
6333 while :
6335 cat "conftest.in" "conftest.in" >"conftest.tmp"
6336 mv "conftest.tmp" "conftest.in"
6337 cp "conftest.in" "conftest.nl"
6338 $as_echo '' >> "conftest.nl"
6339 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6340 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6341 as_fn_arith $ac_count + 1 && ac_count=$as_val
6342 if test $ac_count -gt ${ac_path_SED_max-0}; then
6343 # Best one so far, save it but keep looking for a better one
6344 ac_cv_path_SED="$ac_path_SED"
6345 ac_path_SED_max=$ac_count
6347 # 10*(2^10) chars as input seems more than enough
6348 test $ac_count -gt 10 && break
6349 done
6350 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6351 esac
6353 $ac_path_SED_found && break 3
6354 done
6355 done
6356 done
6357 IFS=$as_save_IFS
6358 if test -z "$ac_cv_path_SED"; then
6359 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6361 else
6362 ac_cv_path_SED=$SED
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6367 $as_echo "$ac_cv_path_SED" >&6; }
6368 SED="$ac_cv_path_SED"
6369 rm -f conftest.sed
6371 test -z "$SED" && SED=sed
6372 Xsed="$SED -e 1s/^X//"
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6385 $as_echo_n "checking for fgrep... " >&6; }
6386 if ${ac_cv_path_FGREP+:} false; then :
6387 $as_echo_n "(cached) " >&6
6388 else
6389 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6390 then ac_cv_path_FGREP="$GREP -F"
6391 else
6392 if test -z "$FGREP"; then
6393 ac_path_FGREP_found=false
6394 # Loop through the user's path and test for each of PROGNAME-LIST
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6398 IFS=$as_save_IFS
6399 test -z "$as_dir" && as_dir=.
6400 for ac_prog in fgrep; do
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6403 as_fn_executable_p "$ac_path_FGREP" || continue
6404 # Check for GNU ac_path_FGREP and select it if it is found.
6405 # Check for GNU $ac_path_FGREP
6406 case `"$ac_path_FGREP" --version 2>&1` in
6407 *GNU*)
6408 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6410 ac_count=0
6411 $as_echo_n 0123456789 >"conftest.in"
6412 while :
6414 cat "conftest.in" "conftest.in" >"conftest.tmp"
6415 mv "conftest.tmp" "conftest.in"
6416 cp "conftest.in" "conftest.nl"
6417 $as_echo 'FGREP' >> "conftest.nl"
6418 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6419 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6420 as_fn_arith $ac_count + 1 && ac_count=$as_val
6421 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6422 # Best one so far, save it but keep looking for a better one
6423 ac_cv_path_FGREP="$ac_path_FGREP"
6424 ac_path_FGREP_max=$ac_count
6426 # 10*(2^10) chars as input seems more than enough
6427 test $ac_count -gt 10 && break
6428 done
6429 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6430 esac
6432 $ac_path_FGREP_found && break 3
6433 done
6434 done
6435 done
6436 IFS=$as_save_IFS
6437 if test -z "$ac_cv_path_FGREP"; then
6438 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6440 else
6441 ac_cv_path_FGREP=$FGREP
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6447 $as_echo "$ac_cv_path_FGREP" >&6; }
6448 FGREP="$ac_cv_path_FGREP"
6451 test -z "$GREP" && GREP=grep
6469 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6470 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6471 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6474 $as_echo_n "checking how to print strings... " >&6; }
6475 # Test print first, because it will be a builtin if present.
6476 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6477 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6478 ECHO='print -r --'
6479 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6480 ECHO='printf %s\n'
6481 else
6482 # Use this function as a fallback that always works.
6483 func_fallback_echo ()
6485 eval 'cat <<_LTECHO_EOF
6487 _LTECHO_EOF'
6489 ECHO='func_fallback_echo'
6492 # func_echo_all arg...
6493 # Invoke $ECHO with all args, space-separated.
6494 func_echo_all ()
6496 $ECHO ""
6499 case "$ECHO" in
6500 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6501 $as_echo "printf" >&6; } ;;
6502 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6503 $as_echo "print -r" >&6; } ;;
6504 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6505 $as_echo "cat" >&6; } ;;
6506 esac
6523 # Check whether --with-gnu-ld was given.
6524 if test "${with_gnu_ld+set}" = set; then :
6525 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6526 else
6527 with_gnu_ld=no
6530 ac_prog=ld
6531 if test "$GCC" = yes; then
6532 # Check if gcc -print-prog-name=ld gives a path.
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6534 $as_echo_n "checking for ld used by $CC... " >&6; }
6535 case $host in
6536 *-*-mingw*)
6537 # gcc leaves a trailing carriage return which upsets mingw
6538 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6540 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6541 esac
6542 case $ac_prog in
6543 # Accept absolute paths.
6544 [\\/]* | ?:[\\/]*)
6545 re_direlt='/[^/][^/]*/\.\./'
6546 # Canonicalize the pathname of ld
6547 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6548 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6549 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6550 done
6551 test -z "$LD" && LD="$ac_prog"
6554 # If it fails, then pretend we aren't using GCC.
6555 ac_prog=ld
6558 # If it is relative, then search for the first ld in PATH.
6559 with_gnu_ld=unknown
6561 esac
6562 elif test "$with_gnu_ld" = yes; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6564 $as_echo_n "checking for GNU ld... " >&6; }
6565 else
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6567 $as_echo_n "checking for non-GNU ld... " >&6; }
6569 if ${lt_cv_path_LD+:} false; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 if test -z "$LD"; then
6573 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6574 for ac_dir in $PATH; do
6575 IFS="$lt_save_ifs"
6576 test -z "$ac_dir" && ac_dir=.
6577 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6578 lt_cv_path_LD="$ac_dir/$ac_prog"
6579 # Check to see if the program is GNU ld. I'd rather use --version,
6580 # but apparently some variants of GNU ld only accept -v.
6581 # Break only if it was the GNU/non-GNU ld that we prefer.
6582 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6583 *GNU* | *'with BFD'*)
6584 test "$with_gnu_ld" != no && break
6587 test "$with_gnu_ld" != yes && break
6589 esac
6591 done
6592 IFS="$lt_save_ifs"
6593 else
6594 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6598 LD="$lt_cv_path_LD"
6599 if test -n "$LD"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6601 $as_echo "$LD" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6606 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6608 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6609 if ${lt_cv_prog_gnu_ld+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6613 case `$LD -v 2>&1 </dev/null` in
6614 *GNU* | *'with BFD'*)
6615 lt_cv_prog_gnu_ld=yes
6618 lt_cv_prog_gnu_ld=no
6620 esac
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6623 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6624 with_gnu_ld=$lt_cv_prog_gnu_ld
6635 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6638 ac_save_LDFLAGS="$LDFLAGS"
6639 LDFLAGS="$LFLAGS -mclear-hwcap"
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6642 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6643 if test x$gcc_no_link = xyes; then
6644 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6650 main ()
6652 return 0;
6654 return 0;
6656 _ACEOF
6657 if ac_fn_c_try_link "$LINENO"; then :
6658 ac_hwcap_ldflags=yes
6659 else
6660 ac_hwcap_ldflags=no
6662 rm -f core conftest.err conftest.$ac_objext \
6663 conftest$ac_exeext conftest.$ac_ext
6664 if test "$ac_hwcap_ldflags" = "yes"; then
6665 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6668 $as_echo "$ac_hwcap_ldflags" >&6; }
6670 LDFLAGS="$ac_save_LDFLAGS"
6674 if test $ac_hwcap_ldflags != no; then
6675 HAVE_HWCAP_TRUE=
6676 HAVE_HWCAP_FALSE='#'
6677 else
6678 HAVE_HWCAP_TRUE='#'
6679 HAVE_HWCAP_FALSE=
6684 # Find other programs we need.
6685 if test -n "$ac_tool_prefix"; then
6686 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6687 set dummy ${ac_tool_prefix}as; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_AS+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$AS"; then
6694 ac_cv_prog_AS="$AS" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_AS="${ac_tool_prefix}as"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 AS=$ac_cv_prog_AS
6714 if test -n "$AS"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6716 $as_echo "$AS" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6724 if test -z "$ac_cv_prog_AS"; then
6725 ac_ct_AS=$AS
6726 # Extract the first word of "as", so it can be a program name with args.
6727 set dummy as; ac_word=$2
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 $as_echo_n "checking for $ac_word... " >&6; }
6730 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6731 $as_echo_n "(cached) " >&6
6732 else
6733 if test -n "$ac_ct_AS"; then
6734 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6735 else
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 for as_dir in $PATH
6739 IFS=$as_save_IFS
6740 test -z "$as_dir" && as_dir=.
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_ac_ct_AS="as"
6744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 break 2
6747 done
6748 done
6749 IFS=$as_save_IFS
6753 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6754 if test -n "$ac_ct_AS"; then
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6756 $as_echo "$ac_ct_AS" >&6; }
6757 else
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 $as_echo "no" >&6; }
6762 if test "x$ac_ct_AS" = x; then
6763 AS=""
6764 else
6765 case $cross_compiling:$ac_tool_warned in
6766 yes:)
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6769 ac_tool_warned=yes ;;
6770 esac
6771 AS=$ac_ct_AS
6773 else
6774 AS="$ac_cv_prog_AS"
6777 if test -n "$ac_tool_prefix"; then
6778 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6779 set dummy ${ac_tool_prefix}ar; ac_word=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 $as_echo_n "checking for $ac_word... " >&6; }
6782 if ${ac_cv_prog_AR+:} false; then :
6783 $as_echo_n "(cached) " >&6
6784 else
6785 if test -n "$AR"; then
6786 ac_cv_prog_AR="$AR" # Let the user override the test.
6787 else
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 for as_dir in $PATH
6791 IFS=$as_save_IFS
6792 test -z "$as_dir" && as_dir=.
6793 for ac_exec_ext in '' $ac_executable_extensions; do
6794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795 ac_cv_prog_AR="${ac_tool_prefix}ar"
6796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797 break 2
6799 done
6800 done
6801 IFS=$as_save_IFS
6805 AR=$ac_cv_prog_AR
6806 if test -n "$AR"; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6808 $as_echo "$AR" >&6; }
6809 else
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811 $as_echo "no" >&6; }
6816 if test -z "$ac_cv_prog_AR"; then
6817 ac_ct_AR=$AR
6818 # Extract the first word of "ar", so it can be a program name with args.
6819 set dummy ar; ac_word=$2
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821 $as_echo_n "checking for $ac_word... " >&6; }
6822 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6823 $as_echo_n "(cached) " >&6
6824 else
6825 if test -n "$ac_ct_AR"; then
6826 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6827 else
6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829 for as_dir in $PATH
6831 IFS=$as_save_IFS
6832 test -z "$as_dir" && as_dir=.
6833 for ac_exec_ext in '' $ac_executable_extensions; do
6834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6835 ac_cv_prog_ac_ct_AR="ar"
6836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6837 break 2
6839 done
6840 done
6841 IFS=$as_save_IFS
6845 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6846 if test -n "$ac_ct_AR"; then
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6848 $as_echo "$ac_ct_AR" >&6; }
6849 else
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851 $as_echo "no" >&6; }
6854 if test "x$ac_ct_AR" = x; then
6855 AR=""
6856 else
6857 case $cross_compiling:$ac_tool_warned in
6858 yes:)
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6861 ac_tool_warned=yes ;;
6862 esac
6863 AR=$ac_ct_AR
6865 else
6866 AR="$ac_cv_prog_AR"
6869 if test -n "$ac_tool_prefix"; then
6870 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6871 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873 $as_echo_n "checking for $ac_word... " >&6; }
6874 if ${ac_cv_prog_RANLIB+:} false; then :
6875 $as_echo_n "(cached) " >&6
6876 else
6877 if test -n "$RANLIB"; then
6878 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6879 else
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 for as_dir in $PATH
6883 IFS=$as_save_IFS
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6887 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889 break 2
6891 done
6892 done
6893 IFS=$as_save_IFS
6897 RANLIB=$ac_cv_prog_RANLIB
6898 if test -n "$RANLIB"; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6900 $as_echo "$RANLIB" >&6; }
6901 else
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6908 if test -z "$ac_cv_prog_RANLIB"; then
6909 ac_ct_RANLIB=$RANLIB
6910 # Extract the first word of "ranlib", so it can be a program name with args.
6911 set dummy ranlib; ac_word=$2
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913 $as_echo_n "checking for $ac_word... " >&6; }
6914 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6915 $as_echo_n "(cached) " >&6
6916 else
6917 if test -n "$ac_ct_RANLIB"; then
6918 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6919 else
6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921 for as_dir in $PATH
6923 IFS=$as_save_IFS
6924 test -z "$as_dir" && as_dir=.
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6927 ac_cv_prog_ac_ct_RANLIB="ranlib"
6928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929 break 2
6931 done
6932 done
6933 IFS=$as_save_IFS
6937 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6938 if test -n "$ac_ct_RANLIB"; then
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6940 $as_echo "$ac_ct_RANLIB" >&6; }
6941 else
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 $as_echo "no" >&6; }
6946 if test "x$ac_ct_RANLIB" = x; then
6947 RANLIB="ranlib-not-found-in-path-error"
6948 else
6949 case $cross_compiling:$ac_tool_warned in
6950 yes:)
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953 ac_tool_warned=yes ;;
6954 esac
6955 RANLIB=$ac_ct_RANLIB
6957 else
6958 RANLIB="$ac_cv_prog_RANLIB"
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6962 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6963 set x ${MAKE-make}
6964 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6965 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6966 $as_echo_n "(cached) " >&6
6967 else
6968 cat >conftest.make <<\_ACEOF
6969 SHELL = /bin/sh
6970 all:
6971 @echo '@@@%%%=$(MAKE)=@@@%%%'
6972 _ACEOF
6973 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6974 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6975 *@@@%%%=?*=@@@%%%*)
6976 eval ac_cv_prog_make_${ac_make}_set=yes;;
6978 eval ac_cv_prog_make_${ac_make}_set=no;;
6979 esac
6980 rm -f conftest.make
6982 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6984 $as_echo "yes" >&6; }
6985 SET_MAKE=
6986 else
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6989 SET_MAKE="MAKE=${MAKE-make}"
6994 # Configure libtool
6995 #AC_MSG_NOTICE([====== Starting libtool configuration])
6996 enable_dlopen=yes
7000 case `pwd` in
7001 *\ * | *\ *)
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7003 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7004 esac
7008 macro_version='2.2.7a'
7009 macro_revision='1.3134'
7023 ltmain="$ac_aux_dir/ltmain.sh"
7025 # Backslashify metacharacters that are still active within
7026 # double-quoted strings.
7027 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7029 # Same as above, but do not quote variable references.
7030 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7032 # Sed substitution to delay expansion of an escaped shell variable in a
7033 # double_quote_subst'ed string.
7034 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7036 # Sed substitution to delay expansion of an escaped single quote.
7037 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7039 # Sed substitution to avoid accidental globbing in evaled expressions
7040 no_glob_subst='s/\*/\\\*/g'
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7043 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7044 if ${lt_cv_path_NM+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 if test -n "$NM"; then
7048 # Let the user override the test.
7049 lt_cv_path_NM="$NM"
7050 else
7051 lt_nm_to_check="${ac_tool_prefix}nm"
7052 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7053 lt_nm_to_check="$lt_nm_to_check nm"
7055 for lt_tmp_nm in $lt_nm_to_check; do
7056 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7057 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7058 IFS="$lt_save_ifs"
7059 test -z "$ac_dir" && ac_dir=.
7060 tmp_nm="$ac_dir/$lt_tmp_nm"
7061 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7062 # Check to see if the nm accepts a BSD-compat flag.
7063 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7064 # nm: unknown option "B" ignored
7065 # Tru64's nm complains that /dev/null is an invalid object file
7066 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7067 */dev/null* | *'Invalid file or object type'*)
7068 lt_cv_path_NM="$tmp_nm -B"
7069 break
7072 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7073 */dev/null*)
7074 lt_cv_path_NM="$tmp_nm -p"
7075 break
7078 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7079 continue # so that we can try to find one that supports BSD flags
7081 esac
7083 esac
7085 done
7086 IFS="$lt_save_ifs"
7087 done
7088 : ${lt_cv_path_NM=no}
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7092 $as_echo "$lt_cv_path_NM" >&6; }
7093 if test "$lt_cv_path_NM" != "no"; then
7094 NM="$lt_cv_path_NM"
7095 else
7096 # Didn't find any BSD compatible name lister, look for dumpbin.
7097 if test -n "$DUMPBIN"; then :
7098 # Let the user override the test.
7099 else
7100 if test -n "$ac_tool_prefix"; then
7101 for ac_prog in dumpbin "link -dump"
7103 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7104 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if ${ac_cv_prog_DUMPBIN+:} false; then :
7108 $as_echo_n "(cached) " >&6
7109 else
7110 if test -n "$DUMPBIN"; then
7111 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7112 else
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 for as_dir in $PATH
7116 IFS=$as_save_IFS
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7120 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122 break 2
7124 done
7125 done
7126 IFS=$as_save_IFS
7130 DUMPBIN=$ac_cv_prog_DUMPBIN
7131 if test -n "$DUMPBIN"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7133 $as_echo "$DUMPBIN" >&6; }
7134 else
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7140 test -n "$DUMPBIN" && break
7141 done
7143 if test -z "$DUMPBIN"; then
7144 ac_ct_DUMPBIN=$DUMPBIN
7145 for ac_prog in dumpbin "link -dump"
7147 # Extract the first word of "$ac_prog", so it can be a program name with args.
7148 set dummy $ac_prog; ac_word=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7152 $as_echo_n "(cached) " >&6
7153 else
7154 if test -n "$ac_ct_DUMPBIN"; then
7155 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7156 else
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 for as_dir in $PATH
7160 IFS=$as_save_IFS
7161 test -z "$as_dir" && as_dir=.
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 break 2
7168 done
7169 done
7170 IFS=$as_save_IFS
7174 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7175 if test -n "$ac_ct_DUMPBIN"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7177 $as_echo "$ac_ct_DUMPBIN" >&6; }
7178 else
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7184 test -n "$ac_ct_DUMPBIN" && break
7185 done
7187 if test "x$ac_ct_DUMPBIN" = x; then
7188 DUMPBIN=":"
7189 else
7190 case $cross_compiling:$ac_tool_warned in
7191 yes:)
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7194 ac_tool_warned=yes ;;
7195 esac
7196 DUMPBIN=$ac_ct_DUMPBIN
7200 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7201 *COFF*)
7202 DUMPBIN="$DUMPBIN -symbols"
7205 DUMPBIN=:
7207 esac
7210 if test "$DUMPBIN" != ":"; then
7211 NM="$DUMPBIN"
7214 test -z "$NM" && NM=nm
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7222 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7223 if ${lt_cv_nm_interface+:} false; then :
7224 $as_echo_n "(cached) " >&6
7225 else
7226 lt_cv_nm_interface="BSD nm"
7227 echo "int some_variable = 0;" > conftest.$ac_ext
7228 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7229 (eval "$ac_compile" 2>conftest.err)
7230 cat conftest.err >&5
7231 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7232 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7233 cat conftest.err >&5
7234 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7235 cat conftest.out >&5
7236 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7237 lt_cv_nm_interface="MS dumpbin"
7239 rm -f conftest*
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7242 $as_echo "$lt_cv_nm_interface" >&6; }
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7245 $as_echo_n "checking whether ln -s works... " >&6; }
7246 LN_S=$as_ln_s
7247 if test "$LN_S" = "ln -s"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7249 $as_echo "yes" >&6; }
7250 else
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7252 $as_echo "no, using $LN_S" >&6; }
7255 # find the maximum length of command line arguments
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7257 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7258 if ${lt_cv_sys_max_cmd_len+:} false; then :
7259 $as_echo_n "(cached) " >&6
7260 else
7262 teststring="ABCD"
7264 case $build_os in
7265 msdosdjgpp*)
7266 # On DJGPP, this test can blow up pretty badly due to problems in libc
7267 # (any single argument exceeding 2000 bytes causes a buffer overrun
7268 # during glob expansion). Even if it were fixed, the result of this
7269 # check would be larger than it should be.
7270 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7273 gnu*)
7274 # Under GNU Hurd, this test is not required because there is
7275 # no limit to the length of command line arguments.
7276 # Libtool will interpret -1 as no limit whatsoever
7277 lt_cv_sys_max_cmd_len=-1;
7280 cygwin* | mingw* | cegcc*)
7281 # On Win9x/ME, this test blows up -- it succeeds, but takes
7282 # about 5 minutes as the teststring grows exponentially.
7283 # Worse, since 9x/ME are not pre-emptively multitasking,
7284 # you end up with a "frozen" computer, even though with patience
7285 # the test eventually succeeds (with a max line length of 256k).
7286 # Instead, let's just punt: use the minimum linelength reported by
7287 # all of the supported platforms: 8192 (on NT/2K/XP).
7288 lt_cv_sys_max_cmd_len=8192;
7291 mint*)
7292 # On MiNT this can take a long time and run out of memory.
7293 lt_cv_sys_max_cmd_len=8192;
7296 amigaos*)
7297 # On AmigaOS with pdksh, this test takes hours, literally.
7298 # So we just punt and use a minimum line length of 8192.
7299 lt_cv_sys_max_cmd_len=8192;
7302 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7303 # This has been around since 386BSD, at least. Likely further.
7304 if test -x /sbin/sysctl; then
7305 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7306 elif test -x /usr/sbin/sysctl; then
7307 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7308 else
7309 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7311 # And add a safety zone
7312 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7313 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7316 interix*)
7317 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7318 lt_cv_sys_max_cmd_len=196608
7321 osf*)
7322 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7323 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7324 # nice to cause kernel panics so lets avoid the loop below.
7325 # First set a reasonable default.
7326 lt_cv_sys_max_cmd_len=16384
7328 if test -x /sbin/sysconfig; then
7329 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7330 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7331 esac
7334 sco3.2v5*)
7335 lt_cv_sys_max_cmd_len=102400
7337 sysv5* | sco5v6* | sysv4.2uw2*)
7338 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7339 if test -n "$kargmax"; then
7340 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7341 else
7342 lt_cv_sys_max_cmd_len=32768
7346 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7347 if test -n "$lt_cv_sys_max_cmd_len"; then
7348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7349 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7350 else
7351 # Make teststring a little bigger before we do anything with it.
7352 # a 1K string should be a reasonable start.
7353 for i in 1 2 3 4 5 6 7 8 ; do
7354 teststring=$teststring$teststring
7355 done
7356 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7357 # If test is not a shell built-in, we'll probably end up computing a
7358 # maximum length that is only half of the actual maximum length, but
7359 # we can't tell.
7360 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7361 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7362 test $i != 17 # 1/2 MB should be enough
7364 i=`expr $i + 1`
7365 teststring=$teststring$teststring
7366 done
7367 # Only check the string length outside the loop.
7368 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7369 teststring=
7370 # Add a significant safety factor because C++ compilers can tack on
7371 # massive amounts of additional arguments before passing them to the
7372 # linker. It appears as though 1/2 is a usable value.
7373 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7376 esac
7380 if test -n $lt_cv_sys_max_cmd_len ; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7382 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7383 else
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7385 $as_echo "none" >&6; }
7387 max_cmd_len=$lt_cv_sys_max_cmd_len
7394 : ${CP="cp -f"}
7395 : ${MV="mv -f"}
7396 : ${RM="rm -f"}
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7399 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7400 # Try some XSI features
7401 xsi_shell=no
7402 ( _lt_dummy="a/b/c"
7403 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7404 = c,a/b,, \
7405 && eval 'test $(( 1 + 1 )) -eq 2 \
7406 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7407 && xsi_shell=yes
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7409 $as_echo "$xsi_shell" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7413 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7414 lt_shell_append=no
7415 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7416 >/dev/null 2>&1 \
7417 && lt_shell_append=yes
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7419 $as_echo "$lt_shell_append" >&6; }
7422 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7423 lt_unset=unset
7424 else
7425 lt_unset=false
7432 # test EBCDIC or ASCII
7433 case `echo X|tr X '\101'` in
7434 A) # ASCII based system
7435 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7436 lt_SP2NL='tr \040 \012'
7437 lt_NL2SP='tr \015\012 \040\040'
7439 *) # EBCDIC based system
7440 lt_SP2NL='tr \100 \n'
7441 lt_NL2SP='tr \r\n \100\100'
7443 esac
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7454 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7455 if ${lt_cv_ld_reload_flag+:} false; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7458 lt_cv_ld_reload_flag='-r'
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7461 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7462 reload_flag=$lt_cv_ld_reload_flag
7463 case $reload_flag in
7464 "" | " "*) ;;
7465 *) reload_flag=" $reload_flag" ;;
7466 esac
7467 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7468 case $host_os in
7469 darwin*)
7470 if test "$GCC" = yes; then
7471 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7472 else
7473 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7476 esac
7486 if test -n "$ac_tool_prefix"; then
7487 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7488 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490 $as_echo_n "checking for $ac_word... " >&6; }
7491 if ${ac_cv_prog_OBJDUMP+:} false; then :
7492 $as_echo_n "(cached) " >&6
7493 else
7494 if test -n "$OBJDUMP"; then
7495 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7496 else
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 for as_dir in $PATH
7500 IFS=$as_save_IFS
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7504 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 break 2
7508 done
7509 done
7510 IFS=$as_save_IFS
7514 OBJDUMP=$ac_cv_prog_OBJDUMP
7515 if test -n "$OBJDUMP"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7517 $as_echo "$OBJDUMP" >&6; }
7518 else
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7525 if test -z "$ac_cv_prog_OBJDUMP"; then
7526 ac_ct_OBJDUMP=$OBJDUMP
7527 # Extract the first word of "objdump", so it can be a program name with args.
7528 set dummy objdump; ac_word=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7532 $as_echo_n "(cached) " >&6
7533 else
7534 if test -n "$ac_ct_OBJDUMP"; then
7535 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7536 else
7537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 for as_dir in $PATH
7540 IFS=$as_save_IFS
7541 test -z "$as_dir" && as_dir=.
7542 for ac_exec_ext in '' $ac_executable_extensions; do
7543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7546 break 2
7548 done
7549 done
7550 IFS=$as_save_IFS
7554 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7555 if test -n "$ac_ct_OBJDUMP"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7557 $as_echo "$ac_ct_OBJDUMP" >&6; }
7558 else
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7563 if test "x$ac_ct_OBJDUMP" = x; then
7564 OBJDUMP="false"
7565 else
7566 case $cross_compiling:$ac_tool_warned in
7567 yes:)
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7570 ac_tool_warned=yes ;;
7571 esac
7572 OBJDUMP=$ac_ct_OBJDUMP
7574 else
7575 OBJDUMP="$ac_cv_prog_OBJDUMP"
7578 test -z "$OBJDUMP" && OBJDUMP=objdump
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7589 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7590 if ${lt_cv_deplibs_check_method+:} false; then :
7591 $as_echo_n "(cached) " >&6
7592 else
7593 lt_cv_file_magic_cmd='$MAGIC_CMD'
7594 lt_cv_file_magic_test_file=
7595 lt_cv_deplibs_check_method='unknown'
7596 # Need to set the preceding variable on all platforms that support
7597 # interlibrary dependencies.
7598 # 'none' -- dependencies not supported.
7599 # `unknown' -- same as none, but documents that we really don't know.
7600 # 'pass_all' -- all dependencies passed with no checks.
7601 # 'test_compile' -- check by making test program.
7602 # 'file_magic [[regex]]' -- check by looking for files in library path
7603 # which responds to the $file_magic_cmd with a given extended regex.
7604 # If you have `file' or equivalent on your system and you're not sure
7605 # whether `pass_all' will *always* work, you probably want this one.
7607 case $host_os in
7608 aix[4-9]*)
7609 lt_cv_deplibs_check_method=pass_all
7612 beos*)
7613 lt_cv_deplibs_check_method=pass_all
7616 bsdi[45]*)
7617 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7618 lt_cv_file_magic_cmd='/usr/bin/file -L'
7619 lt_cv_file_magic_test_file=/shlib/libc.so
7622 cygwin*)
7623 # func_win32_libid is a shell function defined in ltmain.sh
7624 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7625 lt_cv_file_magic_cmd='func_win32_libid'
7628 mingw* | pw32*)
7629 # Base MSYS/MinGW do not provide the 'file' command needed by
7630 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7631 # unless we find 'file', for example because we are cross-compiling.
7632 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7633 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7634 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7635 lt_cv_file_magic_cmd='func_win32_libid'
7636 else
7637 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7638 lt_cv_file_magic_cmd='$OBJDUMP -f'
7642 cegcc*)
7643 # use the weaker test based on 'objdump'. See mingw*.
7644 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7645 lt_cv_file_magic_cmd='$OBJDUMP -f'
7648 darwin* | rhapsody*)
7649 lt_cv_deplibs_check_method=pass_all
7652 freebsd* | dragonfly*)
7653 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7654 case $host_cpu in
7655 i*86 )
7656 # Not sure whether the presence of OpenBSD here was a mistake.
7657 # Let's accept both of them until this is cleared up.
7658 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7659 lt_cv_file_magic_cmd=/usr/bin/file
7660 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7662 esac
7663 else
7664 lt_cv_deplibs_check_method=pass_all
7668 gnu*)
7669 lt_cv_deplibs_check_method=pass_all
7672 haiku*)
7673 lt_cv_deplibs_check_method=pass_all
7676 hpux10.20* | hpux11*)
7677 lt_cv_file_magic_cmd=/usr/bin/file
7678 case $host_cpu in
7679 ia64*)
7680 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7681 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7683 hppa*64*)
7684 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]'
7685 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7688 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7689 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7691 esac
7694 interix[3-9]*)
7695 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7696 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7699 irix5* | irix6* | nonstopux*)
7700 case $LD in
7701 *-32|*"-32 ") libmagic=32-bit;;
7702 *-n32|*"-n32 ") libmagic=N32;;
7703 *-64|*"-64 ") libmagic=64-bit;;
7704 *) libmagic=never-match;;
7705 esac
7706 lt_cv_deplibs_check_method=pass_all
7709 # This must be Linux ELF.
7710 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7711 lt_cv_deplibs_check_method=pass_all
7714 netbsd*)
7715 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7716 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7717 else
7718 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7722 newos6*)
7723 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7724 lt_cv_file_magic_cmd=/usr/bin/file
7725 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7728 *nto* | *qnx*)
7729 lt_cv_deplibs_check_method=pass_all
7732 openbsd*)
7733 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7734 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7735 else
7736 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7740 osf3* | osf4* | osf5*)
7741 lt_cv_deplibs_check_method=pass_all
7744 rdos*)
7745 lt_cv_deplibs_check_method=pass_all
7748 solaris*)
7749 lt_cv_deplibs_check_method=pass_all
7752 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7753 lt_cv_deplibs_check_method=pass_all
7756 sysv4 | sysv4.3*)
7757 case $host_vendor in
7758 motorola)
7759 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]'
7760 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7762 ncr)
7763 lt_cv_deplibs_check_method=pass_all
7765 sequent)
7766 lt_cv_file_magic_cmd='/bin/file'
7767 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7769 sni)
7770 lt_cv_file_magic_cmd='/bin/file'
7771 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7772 lt_cv_file_magic_test_file=/lib/libc.so
7774 siemens)
7775 lt_cv_deplibs_check_method=pass_all
7778 lt_cv_deplibs_check_method=pass_all
7780 esac
7783 tpf*)
7784 lt_cv_deplibs_check_method=pass_all
7786 esac
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7790 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7791 file_magic_cmd=$lt_cv_file_magic_cmd
7792 deplibs_check_method=$lt_cv_deplibs_check_method
7793 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7806 if test -n "$ac_tool_prefix"; then
7807 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7808 set dummy ${ac_tool_prefix}ar; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_AR+:} false; then :
7812 $as_echo_n "(cached) " >&6
7813 else
7814 if test -n "$AR"; then
7815 ac_cv_prog_AR="$AR" # Let the user override the test.
7816 else
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 for as_dir in $PATH
7820 IFS=$as_save_IFS
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7824 ac_cv_prog_AR="${ac_tool_prefix}ar"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826 break 2
7828 done
7829 done
7830 IFS=$as_save_IFS
7834 AR=$ac_cv_prog_AR
7835 if test -n "$AR"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7837 $as_echo "$AR" >&6; }
7838 else
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7845 if test -z "$ac_cv_prog_AR"; then
7846 ac_ct_AR=$AR
7847 # Extract the first word of "ar", so it can be a program name with args.
7848 set dummy ar; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7852 $as_echo_n "(cached) " >&6
7853 else
7854 if test -n "$ac_ct_AR"; then
7855 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7856 else
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 for as_dir in $PATH
7860 IFS=$as_save_IFS
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_ac_ct_AR="ar"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 break 2
7868 done
7869 done
7870 IFS=$as_save_IFS
7874 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7875 if test -n "$ac_ct_AR"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7877 $as_echo "$ac_ct_AR" >&6; }
7878 else
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7883 if test "x$ac_ct_AR" = x; then
7884 AR="false"
7885 else
7886 case $cross_compiling:$ac_tool_warned in
7887 yes:)
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7890 ac_tool_warned=yes ;;
7891 esac
7892 AR=$ac_ct_AR
7894 else
7895 AR="$ac_cv_prog_AR"
7898 test -z "$AR" && AR=ar
7899 test -z "$AR_FLAGS" && AR_FLAGS=cru
7911 if test -n "$ac_tool_prefix"; then
7912 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7913 set dummy ${ac_tool_prefix}strip; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_STRIP+:} false; then :
7917 $as_echo_n "(cached) " >&6
7918 else
7919 if test -n "$STRIP"; then
7920 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7921 else
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 for as_dir in $PATH
7925 IFS=$as_save_IFS
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 break 2
7933 done
7934 done
7935 IFS=$as_save_IFS
7939 STRIP=$ac_cv_prog_STRIP
7940 if test -n "$STRIP"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7942 $as_echo "$STRIP" >&6; }
7943 else
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7950 if test -z "$ac_cv_prog_STRIP"; then
7951 ac_ct_STRIP=$STRIP
7952 # Extract the first word of "strip", so it can be a program name with args.
7953 set dummy strip; ac_word=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7957 $as_echo_n "(cached) " >&6
7958 else
7959 if test -n "$ac_ct_STRIP"; then
7960 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7961 else
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 for as_dir in $PATH
7965 IFS=$as_save_IFS
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_prog_ac_ct_STRIP="strip"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 break 2
7973 done
7974 done
7975 IFS=$as_save_IFS
7979 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7980 if test -n "$ac_ct_STRIP"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7982 $as_echo "$ac_ct_STRIP" >&6; }
7983 else
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7988 if test "x$ac_ct_STRIP" = x; then
7989 STRIP=":"
7990 else
7991 case $cross_compiling:$ac_tool_warned in
7992 yes:)
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7995 ac_tool_warned=yes ;;
7996 esac
7997 STRIP=$ac_ct_STRIP
7999 else
8000 STRIP="$ac_cv_prog_STRIP"
8003 test -z "$STRIP" && STRIP=:
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8012 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_RANLIB+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 if test -n "$RANLIB"; then
8019 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8032 done
8033 done
8034 IFS=$as_save_IFS
8038 RANLIB=$ac_cv_prog_RANLIB
8039 if test -n "$RANLIB"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8041 $as_echo "$RANLIB" >&6; }
8042 else
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8049 if test -z "$ac_cv_prog_RANLIB"; then
8050 ac_ct_RANLIB=$RANLIB
8051 # Extract the first word of "ranlib", so it can be a program name with args.
8052 set dummy ranlib; ac_word=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8056 $as_echo_n "(cached) " >&6
8057 else
8058 if test -n "$ac_ct_RANLIB"; then
8059 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8060 else
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 for as_dir in $PATH
8064 IFS=$as_save_IFS
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_ac_ct_RANLIB="ranlib"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8070 break 2
8072 done
8073 done
8074 IFS=$as_save_IFS
8078 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8079 if test -n "$ac_ct_RANLIB"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8081 $as_echo "$ac_ct_RANLIB" >&6; }
8082 else
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8087 if test "x$ac_ct_RANLIB" = x; then
8088 RANLIB=":"
8089 else
8090 case $cross_compiling:$ac_tool_warned in
8091 yes:)
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8094 ac_tool_warned=yes ;;
8095 esac
8096 RANLIB=$ac_ct_RANLIB
8098 else
8099 RANLIB="$ac_cv_prog_RANLIB"
8102 test -z "$RANLIB" && RANLIB=:
8109 # Determine commands to create old-style static archives.
8110 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8111 old_postinstall_cmds='chmod 644 $oldlib'
8112 old_postuninstall_cmds=
8114 if test -n "$RANLIB"; then
8115 case $host_os in
8116 openbsd*)
8117 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8120 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8122 esac
8123 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8126 case $host_os in
8127 darwin*)
8128 lock_old_archive_extraction=yes ;;
8130 lock_old_archive_extraction=no ;;
8131 esac
8171 # If no C compiler was specified, use CC.
8172 LTCC=${LTCC-"$CC"}
8174 # If no C compiler flags were specified, use CFLAGS.
8175 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8177 # Allow CC to be a program name with arguments.
8178 compiler=$CC
8181 # Check for command to grab the raw symbol name followed by C symbol from nm.
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8183 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8184 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8185 $as_echo_n "(cached) " >&6
8186 else
8188 # These are sane defaults that work on at least a few old systems.
8189 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8191 # Character class describing NM global symbol codes.
8192 symcode='[BCDEGRST]'
8194 # Regexp to match symbols that can be accessed directly from C.
8195 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8197 # Define system-specific variables.
8198 case $host_os in
8199 aix*)
8200 symcode='[BCDT]'
8202 cygwin* | mingw* | pw32* | cegcc*)
8203 symcode='[ABCDGISTW]'
8205 hpux*)
8206 if test "$host_cpu" = ia64; then
8207 symcode='[ABCDEGRST]'
8210 irix* | nonstopux*)
8211 symcode='[BCDEGRST]'
8213 osf*)
8214 symcode='[BCDEGQRST]'
8216 solaris*)
8217 symcode='[BDRT]'
8219 sco3.2v5*)
8220 symcode='[DT]'
8222 sysv4.2uw2*)
8223 symcode='[DT]'
8225 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8226 symcode='[ABDT]'
8228 sysv4)
8229 symcode='[DFNSTU]'
8231 esac
8233 # If we're using GNU nm, then use its standard symbol codes.
8234 case `$NM -V 2>&1` in
8235 *GNU* | *'with BFD'*)
8236 symcode='[ABCDGIRSTW]' ;;
8237 esac
8239 # Transform an extracted symbol line into a proper C declaration.
8240 # Some systems (esp. on ia64) link data and code symbols differently,
8241 # so use this general approach.
8242 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8244 # Transform an extracted symbol line into symbol name and symbol address
8245 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8246 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'"
8248 # Handle CRLF in mingw tool chain
8249 opt_cr=
8250 case $build_os in
8251 mingw*)
8252 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8254 esac
8256 # Try without a prefix underscore, then with it.
8257 for ac_symprfx in "" "_"; do
8259 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8260 symxfrm="\\1 $ac_symprfx\\2 \\2"
8262 # Write the raw and C identifiers.
8263 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8264 # Fake it for dumpbin and say T for any non-static function
8265 # and D for any global variable.
8266 # Also find C++ and __fastcall symbols from MSVC++,
8267 # which start with @ or ?.
8268 lt_cv_sys_global_symbol_pipe="$AWK '"\
8269 " {last_section=section; section=\$ 3};"\
8270 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8271 " \$ 0!~/External *\|/{next};"\
8272 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8273 " {if(hide[section]) next};"\
8274 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8275 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8276 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8277 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8278 " ' prfx=^$ac_symprfx"
8279 else
8280 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8283 # Check to see that the pipe works correctly.
8284 pipe_works=no
8286 rm -f conftest*
8287 cat > conftest.$ac_ext <<_LT_EOF
8288 #ifdef __cplusplus
8289 extern "C" {
8290 #endif
8291 char nm_test_var;
8292 void nm_test_func(void);
8293 void nm_test_func(void){}
8294 #ifdef __cplusplus
8296 #endif
8297 int main(){nm_test_var='a';nm_test_func();return(0);}
8298 _LT_EOF
8300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8301 (eval $ac_compile) 2>&5
8302 ac_status=$?
8303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8304 test $ac_status = 0; }; then
8305 # Now try to grab the symbols.
8306 nlist=conftest.nm
8307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8308 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8309 ac_status=$?
8310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8311 test $ac_status = 0; } && test -s "$nlist"; then
8312 # Try sorting and uniquifying the output.
8313 if sort "$nlist" | uniq > "$nlist"T; then
8314 mv -f "$nlist"T "$nlist"
8315 else
8316 rm -f "$nlist"T
8319 # Make sure that we snagged all the symbols we need.
8320 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8321 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8322 cat <<_LT_EOF > conftest.$ac_ext
8323 #ifdef __cplusplus
8324 extern "C" {
8325 #endif
8327 _LT_EOF
8328 # Now generate the symbol file.
8329 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8331 cat <<_LT_EOF >> conftest.$ac_ext
8333 /* The mapping between symbol names and symbols. */
8334 const struct {
8335 const char *name;
8336 void *address;
8338 lt__PROGRAM__LTX_preloaded_symbols[] =
8340 { "@PROGRAM@", (void *) 0 },
8341 _LT_EOF
8342 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8343 cat <<\_LT_EOF >> conftest.$ac_ext
8344 {0, (void *) 0}
8347 /* This works around a problem in FreeBSD linker */
8348 #ifdef FREEBSD_WORKAROUND
8349 static const void *lt_preloaded_setup() {
8350 return lt__PROGRAM__LTX_preloaded_symbols;
8352 #endif
8354 #ifdef __cplusplus
8356 #endif
8357 _LT_EOF
8358 # Now try linking the two files.
8359 mv conftest.$ac_objext conftstm.$ac_objext
8360 lt_save_LIBS="$LIBS"
8361 lt_save_CFLAGS="$CFLAGS"
8362 LIBS="conftstm.$ac_objext"
8363 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8365 (eval $ac_link) 2>&5
8366 ac_status=$?
8367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8368 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8369 pipe_works=yes
8371 LIBS="$lt_save_LIBS"
8372 CFLAGS="$lt_save_CFLAGS"
8373 else
8374 echo "cannot find nm_test_func in $nlist" >&5
8376 else
8377 echo "cannot find nm_test_var in $nlist" >&5
8379 else
8380 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8382 else
8383 echo "$progname: failed program was:" >&5
8384 cat conftest.$ac_ext >&5
8386 rm -rf conftest* conftst*
8388 # Do not use the global_symbol_pipe unless it works.
8389 if test "$pipe_works" = yes; then
8390 break
8391 else
8392 lt_cv_sys_global_symbol_pipe=
8394 done
8398 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8399 lt_cv_sys_global_symbol_to_cdecl=
8401 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8403 $as_echo "failed" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8406 $as_echo "ok" >&6; }
8430 # Check whether --enable-libtool-lock was given.
8431 if test "${enable_libtool_lock+set}" = set; then :
8432 enableval=$enable_libtool_lock;
8435 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8437 # Some flags need to be propagated to the compiler or linker for good
8438 # libtool support.
8439 case $host in
8440 ia64-*-hpux*)
8441 # Find out which ABI we are using.
8442 echo 'int i;' > conftest.$ac_ext
8443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8444 (eval $ac_compile) 2>&5
8445 ac_status=$?
8446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8447 test $ac_status = 0; }; then
8448 case `/usr/bin/file conftest.$ac_objext` in
8449 *ELF-32*)
8450 HPUX_IA64_MODE="32"
8452 *ELF-64*)
8453 HPUX_IA64_MODE="64"
8455 esac
8457 rm -rf conftest*
8459 *-*-irix6*)
8460 # Find out which ABI we are using.
8461 echo '#line '$LINENO' "configure"' > 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 if test "$lt_cv_prog_gnu_ld" = yes; then
8468 case `/usr/bin/file conftest.$ac_objext` in
8469 *32-bit*)
8470 LD="${LD-ld} -melf32bsmip"
8472 *N32*)
8473 LD="${LD-ld} -melf32bmipn32"
8475 *64-bit*)
8476 LD="${LD-ld} -melf64bmip"
8478 esac
8479 else
8480 case `/usr/bin/file conftest.$ac_objext` in
8481 *32-bit*)
8482 LD="${LD-ld} -32"
8484 *N32*)
8485 LD="${LD-ld} -n32"
8487 *64-bit*)
8488 LD="${LD-ld} -64"
8490 esac
8493 rm -rf conftest*
8496 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8497 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8498 # Find out which ABI we are using.
8499 echo 'int i;' > conftest.$ac_ext
8500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8501 (eval $ac_compile) 2>&5
8502 ac_status=$?
8503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8504 test $ac_status = 0; }; then
8505 case `/usr/bin/file conftest.o` in
8506 *32-bit*)
8507 case $host in
8508 x86_64-*kfreebsd*-gnu)
8509 LD="${LD-ld} -m elf_i386_fbsd"
8511 x86_64-*linux*)
8512 case `/usr/bin/file conftest.o` in
8513 *x86-64*)
8514 LD="${LD-ld} -m elf32_x86_64"
8517 LD="${LD-ld} -m elf_i386"
8519 esac
8521 powerpc64le-*linux*)
8522 LD="${LD-ld} -m elf32lppclinux"
8524 powerpc64-*linux*)
8525 LD="${LD-ld} -m elf32ppclinux"
8527 s390x-*linux*)
8528 LD="${LD-ld} -m elf_s390"
8530 sparc64-*linux*)
8531 LD="${LD-ld} -m elf32_sparc"
8533 esac
8535 *64-bit*)
8536 case $host in
8537 x86_64-*kfreebsd*-gnu)
8538 LD="${LD-ld} -m elf_x86_64_fbsd"
8540 x86_64-*linux*)
8541 LD="${LD-ld} -m elf_x86_64"
8543 powerpcle-*linux*)
8544 LD="${LD-ld} -m elf64lppc"
8546 powerpc-*linux*)
8547 LD="${LD-ld} -m elf64ppc"
8549 s390*-*linux*|s390*-*tpf*)
8550 LD="${LD-ld} -m elf64_s390"
8552 sparc*-*linux*)
8553 LD="${LD-ld} -m elf64_sparc"
8555 esac
8557 esac
8559 rm -rf conftest*
8562 *-*-sco3.2v5*)
8563 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8564 SAVE_CFLAGS="$CFLAGS"
8565 CFLAGS="$CFLAGS -belf"
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8567 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8568 if ${lt_cv_cc_needs_belf+:} false; then :
8569 $as_echo_n "(cached) " >&6
8570 else
8571 ac_ext=c
8572 ac_cpp='$CPP $CPPFLAGS'
8573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8577 if test x$gcc_no_link = xyes; then
8578 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8584 main ()
8588 return 0;
8590 _ACEOF
8591 if ac_fn_c_try_link "$LINENO"; then :
8592 lt_cv_cc_needs_belf=yes
8593 else
8594 lt_cv_cc_needs_belf=no
8596 rm -f core conftest.err conftest.$ac_objext \
8597 conftest$ac_exeext conftest.$ac_ext
8598 ac_ext=c
8599 ac_cpp='$CPP $CPPFLAGS'
8600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8606 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8607 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8608 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8609 CFLAGS="$SAVE_CFLAGS"
8612 sparc*-*solaris*)
8613 # Find out which ABI we are using.
8614 echo 'int i;' > conftest.$ac_ext
8615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8616 (eval $ac_compile) 2>&5
8617 ac_status=$?
8618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8619 test $ac_status = 0; }; then
8620 case `/usr/bin/file conftest.o` in
8621 *64-bit*)
8622 case $lt_cv_prog_gnu_ld in
8623 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8625 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8626 LD="${LD-ld} -64"
8629 esac
8631 esac
8633 rm -rf conftest*
8635 esac
8637 need_locks="$enable_libtool_lock"
8640 case $host_os in
8641 rhapsody* | darwin*)
8642 if test -n "$ac_tool_prefix"; then
8643 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8644 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8646 $as_echo_n "checking for $ac_word... " >&6; }
8647 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 if test -n "$DSYMUTIL"; then
8651 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8652 else
8653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8654 for as_dir in $PATH
8656 IFS=$as_save_IFS
8657 test -z "$as_dir" && as_dir=.
8658 for ac_exec_ext in '' $ac_executable_extensions; do
8659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8660 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8662 break 2
8664 done
8665 done
8666 IFS=$as_save_IFS
8670 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8671 if test -n "$DSYMUTIL"; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8673 $as_echo "$DSYMUTIL" >&6; }
8674 else
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8676 $as_echo "no" >&6; }
8681 if test -z "$ac_cv_prog_DSYMUTIL"; then
8682 ac_ct_DSYMUTIL=$DSYMUTIL
8683 # Extract the first word of "dsymutil", so it can be a program name with args.
8684 set dummy dsymutil; ac_word=$2
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8686 $as_echo_n "checking for $ac_word... " >&6; }
8687 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8688 $as_echo_n "(cached) " >&6
8689 else
8690 if test -n "$ac_ct_DSYMUTIL"; then
8691 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8692 else
8693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8694 for as_dir in $PATH
8696 IFS=$as_save_IFS
8697 test -z "$as_dir" && as_dir=.
8698 for ac_exec_ext in '' $ac_executable_extensions; do
8699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8700 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8702 break 2
8704 done
8705 done
8706 IFS=$as_save_IFS
8710 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8711 if test -n "$ac_ct_DSYMUTIL"; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8713 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8714 else
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716 $as_echo "no" >&6; }
8719 if test "x$ac_ct_DSYMUTIL" = x; then
8720 DSYMUTIL=":"
8721 else
8722 case $cross_compiling:$ac_tool_warned in
8723 yes:)
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8726 ac_tool_warned=yes ;;
8727 esac
8728 DSYMUTIL=$ac_ct_DSYMUTIL
8730 else
8731 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8734 if test -n "$ac_tool_prefix"; then
8735 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8736 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8738 $as_echo_n "checking for $ac_word... " >&6; }
8739 if ${ac_cv_prog_NMEDIT+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 if test -n "$NMEDIT"; then
8743 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8744 else
8745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746 for as_dir in $PATH
8748 IFS=$as_save_IFS
8749 test -z "$as_dir" && as_dir=.
8750 for ac_exec_ext in '' $ac_executable_extensions; do
8751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8752 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8754 break 2
8756 done
8757 done
8758 IFS=$as_save_IFS
8762 NMEDIT=$ac_cv_prog_NMEDIT
8763 if test -n "$NMEDIT"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8765 $as_echo "$NMEDIT" >&6; }
8766 else
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8773 if test -z "$ac_cv_prog_NMEDIT"; then
8774 ac_ct_NMEDIT=$NMEDIT
8775 # Extract the first word of "nmedit", so it can be a program name with args.
8776 set dummy nmedit; ac_word=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778 $as_echo_n "checking for $ac_word... " >&6; }
8779 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8780 $as_echo_n "(cached) " >&6
8781 else
8782 if test -n "$ac_ct_NMEDIT"; then
8783 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8784 else
8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 for as_dir in $PATH
8788 IFS=$as_save_IFS
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8792 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8794 break 2
8796 done
8797 done
8798 IFS=$as_save_IFS
8802 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8803 if test -n "$ac_ct_NMEDIT"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8805 $as_echo "$ac_ct_NMEDIT" >&6; }
8806 else
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8811 if test "x$ac_ct_NMEDIT" = x; then
8812 NMEDIT=":"
8813 else
8814 case $cross_compiling:$ac_tool_warned in
8815 yes:)
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8818 ac_tool_warned=yes ;;
8819 esac
8820 NMEDIT=$ac_ct_NMEDIT
8822 else
8823 NMEDIT="$ac_cv_prog_NMEDIT"
8826 if test -n "$ac_tool_prefix"; then
8827 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8828 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8830 $as_echo_n "checking for $ac_word... " >&6; }
8831 if ${ac_cv_prog_LIPO+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 if test -n "$LIPO"; then
8835 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8836 else
8837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838 for as_dir in $PATH
8840 IFS=$as_save_IFS
8841 test -z "$as_dir" && as_dir=.
8842 for ac_exec_ext in '' $ac_executable_extensions; do
8843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8844 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8846 break 2
8848 done
8849 done
8850 IFS=$as_save_IFS
8854 LIPO=$ac_cv_prog_LIPO
8855 if test -n "$LIPO"; then
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8857 $as_echo "$LIPO" >&6; }
8858 else
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8860 $as_echo "no" >&6; }
8865 if test -z "$ac_cv_prog_LIPO"; then
8866 ac_ct_LIPO=$LIPO
8867 # Extract the first word of "lipo", so it can be a program name with args.
8868 set dummy lipo; ac_word=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8870 $as_echo_n "checking for $ac_word... " >&6; }
8871 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8872 $as_echo_n "(cached) " >&6
8873 else
8874 if test -n "$ac_ct_LIPO"; then
8875 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8876 else
8877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8878 for as_dir in $PATH
8880 IFS=$as_save_IFS
8881 test -z "$as_dir" && as_dir=.
8882 for ac_exec_ext in '' $ac_executable_extensions; do
8883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8884 ac_cv_prog_ac_ct_LIPO="lipo"
8885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8886 break 2
8888 done
8889 done
8890 IFS=$as_save_IFS
8894 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8895 if test -n "$ac_ct_LIPO"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8897 $as_echo "$ac_ct_LIPO" >&6; }
8898 else
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8903 if test "x$ac_ct_LIPO" = x; then
8904 LIPO=":"
8905 else
8906 case $cross_compiling:$ac_tool_warned in
8907 yes:)
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8910 ac_tool_warned=yes ;;
8911 esac
8912 LIPO=$ac_ct_LIPO
8914 else
8915 LIPO="$ac_cv_prog_LIPO"
8918 if test -n "$ac_tool_prefix"; then
8919 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8920 set dummy ${ac_tool_prefix}otool; ac_word=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8922 $as_echo_n "checking for $ac_word... " >&6; }
8923 if ${ac_cv_prog_OTOOL+:} false; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 if test -n "$OTOOL"; then
8927 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8928 else
8929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8930 for as_dir in $PATH
8932 IFS=$as_save_IFS
8933 test -z "$as_dir" && as_dir=.
8934 for ac_exec_ext in '' $ac_executable_extensions; do
8935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8936 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8938 break 2
8940 done
8941 done
8942 IFS=$as_save_IFS
8946 OTOOL=$ac_cv_prog_OTOOL
8947 if test -n "$OTOOL"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8949 $as_echo "$OTOOL" >&6; }
8950 else
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8952 $as_echo "no" >&6; }
8957 if test -z "$ac_cv_prog_OTOOL"; then
8958 ac_ct_OTOOL=$OTOOL
8959 # Extract the first word of "otool", so it can be a program name with args.
8960 set dummy otool; ac_word=$2
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8962 $as_echo_n "checking for $ac_word... " >&6; }
8963 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8964 $as_echo_n "(cached) " >&6
8965 else
8966 if test -n "$ac_ct_OTOOL"; then
8967 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8968 else
8969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8970 for as_dir in $PATH
8972 IFS=$as_save_IFS
8973 test -z "$as_dir" && as_dir=.
8974 for ac_exec_ext in '' $ac_executable_extensions; do
8975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8976 ac_cv_prog_ac_ct_OTOOL="otool"
8977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8978 break 2
8980 done
8981 done
8982 IFS=$as_save_IFS
8986 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8987 if test -n "$ac_ct_OTOOL"; then
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8989 $as_echo "$ac_ct_OTOOL" >&6; }
8990 else
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8992 $as_echo "no" >&6; }
8995 if test "x$ac_ct_OTOOL" = x; then
8996 OTOOL=":"
8997 else
8998 case $cross_compiling:$ac_tool_warned in
8999 yes:)
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9002 ac_tool_warned=yes ;;
9003 esac
9004 OTOOL=$ac_ct_OTOOL
9006 else
9007 OTOOL="$ac_cv_prog_OTOOL"
9010 if test -n "$ac_tool_prefix"; then
9011 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9012 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9014 $as_echo_n "checking for $ac_word... " >&6; }
9015 if ${ac_cv_prog_OTOOL64+:} false; then :
9016 $as_echo_n "(cached) " >&6
9017 else
9018 if test -n "$OTOOL64"; then
9019 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9020 else
9021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9022 for as_dir in $PATH
9024 IFS=$as_save_IFS
9025 test -z "$as_dir" && as_dir=.
9026 for ac_exec_ext in '' $ac_executable_extensions; do
9027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9028 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9030 break 2
9032 done
9033 done
9034 IFS=$as_save_IFS
9038 OTOOL64=$ac_cv_prog_OTOOL64
9039 if test -n "$OTOOL64"; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9041 $as_echo "$OTOOL64" >&6; }
9042 else
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9044 $as_echo "no" >&6; }
9049 if test -z "$ac_cv_prog_OTOOL64"; then
9050 ac_ct_OTOOL64=$OTOOL64
9051 # Extract the first word of "otool64", so it can be a program name with args.
9052 set dummy otool64; ac_word=$2
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9054 $as_echo_n "checking for $ac_word... " >&6; }
9055 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9056 $as_echo_n "(cached) " >&6
9057 else
9058 if test -n "$ac_ct_OTOOL64"; then
9059 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9060 else
9061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9062 for as_dir in $PATH
9064 IFS=$as_save_IFS
9065 test -z "$as_dir" && as_dir=.
9066 for ac_exec_ext in '' $ac_executable_extensions; do
9067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9068 ac_cv_prog_ac_ct_OTOOL64="otool64"
9069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9070 break 2
9072 done
9073 done
9074 IFS=$as_save_IFS
9078 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9079 if test -n "$ac_ct_OTOOL64"; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9081 $as_echo "$ac_ct_OTOOL64" >&6; }
9082 else
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9084 $as_echo "no" >&6; }
9087 if test "x$ac_ct_OTOOL64" = x; then
9088 OTOOL64=":"
9089 else
9090 case $cross_compiling:$ac_tool_warned in
9091 yes:)
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9094 ac_tool_warned=yes ;;
9095 esac
9096 OTOOL64=$ac_ct_OTOOL64
9098 else
9099 OTOOL64="$ac_cv_prog_OTOOL64"
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9129 $as_echo_n "checking for -single_module linker flag... " >&6; }
9130 if ${lt_cv_apple_cc_single_mod+:} false; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 lt_cv_apple_cc_single_mod=no
9134 if test -z "${LT_MULTI_MODULE}"; then
9135 # By default we will add the -single_module flag. You can override
9136 # by either setting the environment variable LT_MULTI_MODULE
9137 # non-empty at configure time, or by adding -multi_module to the
9138 # link flags.
9139 rm -rf libconftest.dylib*
9140 echo "int foo(void){return 1;}" > conftest.c
9141 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9142 -dynamiclib -Wl,-single_module conftest.c" >&5
9143 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9144 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9145 _lt_result=$?
9146 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9147 lt_cv_apple_cc_single_mod=yes
9148 else
9149 cat conftest.err >&5
9151 rm -rf libconftest.dylib*
9152 rm -f conftest.*
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9156 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9158 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9159 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9160 $as_echo_n "(cached) " >&6
9161 else
9162 lt_cv_ld_exported_symbols_list=no
9163 save_LDFLAGS=$LDFLAGS
9164 echo "_main" > conftest.sym
9165 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9166 if test x$gcc_no_link = xyes; then
9167 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9173 main ()
9177 return 0;
9179 _ACEOF
9180 if ac_fn_c_try_link "$LINENO"; then :
9181 lt_cv_ld_exported_symbols_list=yes
9182 else
9183 lt_cv_ld_exported_symbols_list=no
9185 rm -f core conftest.err conftest.$ac_objext \
9186 conftest$ac_exeext conftest.$ac_ext
9187 LDFLAGS="$save_LDFLAGS"
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9191 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9193 $as_echo_n "checking for -force_load linker flag... " >&6; }
9194 if ${lt_cv_ld_force_load+:} false; then :
9195 $as_echo_n "(cached) " >&6
9196 else
9197 lt_cv_ld_force_load=no
9198 cat > conftest.c << _LT_EOF
9199 int forced_loaded() { return 2;}
9200 _LT_EOF
9201 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9202 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9203 echo "$AR cru libconftest.a conftest.o" >&5
9204 $AR cru libconftest.a conftest.o 2>&5
9205 cat > conftest.c << _LT_EOF
9206 int main() { return 0;}
9207 _LT_EOF
9208 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9209 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9210 _lt_result=$?
9211 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9212 lt_cv_ld_force_load=yes
9213 else
9214 cat conftest.err >&5
9216 rm -f conftest.err libconftest.a conftest conftest.c
9217 rm -rf conftest.dSYM
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9221 $as_echo "$lt_cv_ld_force_load" >&6; }
9222 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9223 # build without first building modern cctools / linker.
9224 case $host_cpu-$host_os in
9225 *-rhapsody* | *-darwin1.[012])
9226 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9227 *-darwin1.*)
9228 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9229 *-darwin*)
9230 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9231 # deployment target is forced to an earlier version.
9232 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9233 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9235 10.[012][,.]*)
9236 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9240 esac
9242 esac
9243 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9244 _lt_dar_single_mod='$single_module'
9246 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9247 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9248 else
9249 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9251 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9252 _lt_dsymutil='~$DSYMUTIL $lib || :'
9253 else
9254 _lt_dsymutil=
9257 esac
9259 for ac_header in dlfcn.h
9260 do :
9261 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9263 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9264 cat >>confdefs.h <<_ACEOF
9265 #define HAVE_DLFCN_H 1
9266 _ACEOF
9270 done
9276 # Set options
9281 enable_win32_dll=no
9284 # Check whether --enable-shared was given.
9285 if test "${enable_shared+set}" = set; then :
9286 enableval=$enable_shared; p=${PACKAGE-default}
9287 case $enableval in
9288 yes) enable_shared=yes ;;
9289 no) enable_shared=no ;;
9291 enable_shared=no
9292 # Look at the argument we got. We use all the common list separators.
9293 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9294 for pkg in $enableval; do
9295 IFS="$lt_save_ifs"
9296 if test "X$pkg" = "X$p"; then
9297 enable_shared=yes
9299 done
9300 IFS="$lt_save_ifs"
9302 esac
9303 else
9304 enable_shared=yes
9315 # Check whether --enable-static was given.
9316 if test "${enable_static+set}" = set; then :
9317 enableval=$enable_static; p=${PACKAGE-default}
9318 case $enableval in
9319 yes) enable_static=yes ;;
9320 no) enable_static=no ;;
9322 enable_static=no
9323 # Look at the argument we got. We use all the common list separators.
9324 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9325 for pkg in $enableval; do
9326 IFS="$lt_save_ifs"
9327 if test "X$pkg" = "X$p"; then
9328 enable_static=yes
9330 done
9331 IFS="$lt_save_ifs"
9333 esac
9334 else
9335 enable_static=yes
9347 # Check whether --with-pic was given.
9348 if test "${with_pic+set}" = set; then :
9349 withval=$with_pic; pic_mode="$withval"
9350 else
9351 pic_mode=default
9355 test -z "$pic_mode" && pic_mode=default
9363 # Check whether --enable-fast-install was given.
9364 if test "${enable_fast_install+set}" = set; then :
9365 enableval=$enable_fast_install; p=${PACKAGE-default}
9366 case $enableval in
9367 yes) enable_fast_install=yes ;;
9368 no) enable_fast_install=no ;;
9370 enable_fast_install=no
9371 # Look at the argument we got. We use all the common list separators.
9372 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9373 for pkg in $enableval; do
9374 IFS="$lt_save_ifs"
9375 if test "X$pkg" = "X$p"; then
9376 enable_fast_install=yes
9378 done
9379 IFS="$lt_save_ifs"
9381 esac
9382 else
9383 enable_fast_install=yes
9396 # This can be used to rebuild libtool when needed
9397 LIBTOOL_DEPS="$ltmain"
9399 # Always use our own libtool.
9400 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9427 test -z "$LN_S" && LN_S="ln -s"
9442 if test -n "${ZSH_VERSION+set}" ; then
9443 setopt NO_GLOB_SUBST
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9447 $as_echo_n "checking for objdir... " >&6; }
9448 if ${lt_cv_objdir+:} false; then :
9449 $as_echo_n "(cached) " >&6
9450 else
9451 rm -f .libs 2>/dev/null
9452 mkdir .libs 2>/dev/null
9453 if test -d .libs; then
9454 lt_cv_objdir=.libs
9455 else
9456 # MS-DOS does not allow filenames that begin with a dot.
9457 lt_cv_objdir=_libs
9459 rmdir .libs 2>/dev/null
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9462 $as_echo "$lt_cv_objdir" >&6; }
9463 objdir=$lt_cv_objdir
9469 cat >>confdefs.h <<_ACEOF
9470 #define LT_OBJDIR "$lt_cv_objdir/"
9471 _ACEOF
9476 case $host_os in
9477 aix3*)
9478 # AIX sometimes has problems with the GCC collect2 program. For some
9479 # reason, if we set the COLLECT_NAMES environment variable, the problems
9480 # vanish in a puff of smoke.
9481 if test "X${COLLECT_NAMES+set}" != Xset; then
9482 COLLECT_NAMES=
9483 export COLLECT_NAMES
9486 esac
9488 # Global variables:
9489 ofile=libtool
9490 can_build_shared=yes
9492 # All known linkers require a `.a' archive for static linking (except MSVC,
9493 # which needs '.lib').
9494 libext=a
9496 with_gnu_ld="$lt_cv_prog_gnu_ld"
9498 old_CC="$CC"
9499 old_CFLAGS="$CFLAGS"
9501 # Set sane defaults for various variables
9502 test -z "$CC" && CC=cc
9503 test -z "$LTCC" && LTCC=$CC
9504 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9505 test -z "$LD" && LD=ld
9506 test -z "$ac_objext" && ac_objext=o
9508 for cc_temp in $compiler""; do
9509 case $cc_temp in
9510 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9511 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9512 \-*) ;;
9513 *) break;;
9514 esac
9515 done
9516 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9519 # Only perform the check for file, if the check method requires it
9520 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9521 case $deplibs_check_method in
9522 file_magic*)
9523 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9525 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9526 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 case $MAGIC_CMD in
9530 [\\/*] | ?:[\\/]*)
9531 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9534 lt_save_MAGIC_CMD="$MAGIC_CMD"
9535 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9536 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9537 for ac_dir in $ac_dummy; do
9538 IFS="$lt_save_ifs"
9539 test -z "$ac_dir" && ac_dir=.
9540 if test -f $ac_dir/${ac_tool_prefix}file; then
9541 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9542 if test -n "$file_magic_test_file"; then
9543 case $deplibs_check_method in
9544 "file_magic "*)
9545 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9546 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9547 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9548 $EGREP "$file_magic_regex" > /dev/null; then
9550 else
9551 cat <<_LT_EOF 1>&2
9553 *** Warning: the command libtool uses to detect shared libraries,
9554 *** $file_magic_cmd, produces output that libtool cannot recognize.
9555 *** The result is that libtool may fail to recognize shared libraries
9556 *** as such. This will affect the creation of libtool libraries that
9557 *** depend on shared libraries, but programs linked with such libtool
9558 *** libraries will work regardless of this problem. Nevertheless, you
9559 *** may want to report the problem to your system manager and/or to
9560 *** bug-libtool@gnu.org
9562 _LT_EOF
9563 fi ;;
9564 esac
9566 break
9568 done
9569 IFS="$lt_save_ifs"
9570 MAGIC_CMD="$lt_save_MAGIC_CMD"
9572 esac
9575 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9576 if test -n "$MAGIC_CMD"; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9578 $as_echo "$MAGIC_CMD" >&6; }
9579 else
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9581 $as_echo "no" >&6; }
9588 if test -z "$lt_cv_path_MAGIC_CMD"; then
9589 if test -n "$ac_tool_prefix"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9591 $as_echo_n "checking for file... " >&6; }
9592 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 case $MAGIC_CMD in
9596 [\\/*] | ?:[\\/]*)
9597 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9600 lt_save_MAGIC_CMD="$MAGIC_CMD"
9601 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9602 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9603 for ac_dir in $ac_dummy; do
9604 IFS="$lt_save_ifs"
9605 test -z "$ac_dir" && ac_dir=.
9606 if test -f $ac_dir/file; then
9607 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9608 if test -n "$file_magic_test_file"; then
9609 case $deplibs_check_method in
9610 "file_magic "*)
9611 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9612 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9613 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9614 $EGREP "$file_magic_regex" > /dev/null; then
9616 else
9617 cat <<_LT_EOF 1>&2
9619 *** Warning: the command libtool uses to detect shared libraries,
9620 *** $file_magic_cmd, produces output that libtool cannot recognize.
9621 *** The result is that libtool may fail to recognize shared libraries
9622 *** as such. This will affect the creation of libtool libraries that
9623 *** depend on shared libraries, but programs linked with such libtool
9624 *** libraries will work regardless of this problem. Nevertheless, you
9625 *** may want to report the problem to your system manager and/or to
9626 *** bug-libtool@gnu.org
9628 _LT_EOF
9629 fi ;;
9630 esac
9632 break
9634 done
9635 IFS="$lt_save_ifs"
9636 MAGIC_CMD="$lt_save_MAGIC_CMD"
9638 esac
9641 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9642 if test -n "$MAGIC_CMD"; then
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9644 $as_echo "$MAGIC_CMD" >&6; }
9645 else
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9647 $as_echo "no" >&6; }
9651 else
9652 MAGIC_CMD=:
9658 esac
9660 # Use C for the default configuration in the libtool script
9662 lt_save_CC="$CC"
9663 ac_ext=c
9664 ac_cpp='$CPP $CPPFLAGS'
9665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9670 # Source file extension for C test sources.
9671 ac_ext=c
9673 # Object file extension for compiled C test sources.
9674 objext=o
9675 objext=$objext
9677 # Code to be used in simple compile tests
9678 lt_simple_compile_test_code="int some_variable = 0;"
9680 # Code to be used in simple link tests
9681 lt_simple_link_test_code='int main(){return(0);}'
9689 # If no C compiler was specified, use CC.
9690 LTCC=${LTCC-"$CC"}
9692 # If no C compiler flags were specified, use CFLAGS.
9693 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9695 # Allow CC to be a program name with arguments.
9696 compiler=$CC
9698 # Save the default compiler, since it gets overwritten when the other
9699 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9700 compiler_DEFAULT=$CC
9702 # save warnings/boilerplate of simple test code
9703 ac_outfile=conftest.$ac_objext
9704 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9705 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9706 _lt_compiler_boilerplate=`cat conftest.err`
9707 $RM conftest*
9709 ac_outfile=conftest.$ac_objext
9710 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9711 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9712 _lt_linker_boilerplate=`cat conftest.err`
9713 $RM -r conftest*
9716 ## CAVEAT EMPTOR:
9717 ## There is no encapsulation within the following macros, do not change
9718 ## the running order or otherwise move them around unless you know exactly
9719 ## what you are doing...
9720 if test -n "$compiler"; then
9722 lt_prog_compiler_no_builtin_flag=
9724 if test "$GCC" = yes; then
9725 case $cc_basename in
9726 nvcc*)
9727 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9729 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9730 esac
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9733 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9734 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9735 $as_echo_n "(cached) " >&6
9736 else
9737 lt_cv_prog_compiler_rtti_exceptions=no
9738 ac_outfile=conftest.$ac_objext
9739 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9740 lt_compiler_flag="-fno-rtti -fno-exceptions"
9741 # Insert the option either (1) after the last *FLAGS variable, or
9742 # (2) before a word containing "conftest.", or (3) at the end.
9743 # Note that $ac_compile itself does not contain backslashes and begins
9744 # with a dollar sign (not a hyphen), so the echo should work correctly.
9745 # The option is referenced via a variable to avoid confusing sed.
9746 lt_compile=`echo "$ac_compile" | $SED \
9747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9749 -e 's:$: $lt_compiler_flag:'`
9750 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9751 (eval "$lt_compile" 2>conftest.err)
9752 ac_status=$?
9753 cat conftest.err >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 if (exit $ac_status) && test -s "$ac_outfile"; then
9756 # The compiler can only warn and ignore the option if not recognized
9757 # So say no if there are warnings other than the usual output.
9758 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9759 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9760 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9761 lt_cv_prog_compiler_rtti_exceptions=yes
9764 $RM conftest*
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9768 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9770 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9771 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9772 else
9783 lt_prog_compiler_wl=
9784 lt_prog_compiler_pic=
9785 lt_prog_compiler_static=
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9788 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9790 if test "$GCC" = yes; then
9791 lt_prog_compiler_wl='-Wl,'
9792 lt_prog_compiler_static='-static'
9794 case $host_os in
9795 aix*)
9796 # All AIX code is PIC.
9797 if test "$host_cpu" = ia64; then
9798 # AIX 5 now supports IA64 processor
9799 lt_prog_compiler_static='-Bstatic'
9801 lt_prog_compiler_pic='-fPIC'
9804 amigaos*)
9805 case $host_cpu in
9806 powerpc)
9807 # see comment about AmigaOS4 .so support
9808 lt_prog_compiler_pic='-fPIC'
9810 m68k)
9811 # FIXME: we need at least 68020 code to build shared libraries, but
9812 # adding the `-m68020' flag to GCC prevents building anything better,
9813 # like `-m68040'.
9814 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9816 esac
9819 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9820 # PIC is the default for these OSes.
9823 mingw* | cygwin* | pw32* | os2* | cegcc*)
9824 # This hack is so that the source file can tell whether it is being
9825 # built for inclusion in a dll (and should export symbols for example).
9826 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9827 # (--disable-auto-import) libraries
9828 lt_prog_compiler_pic='-DDLL_EXPORT'
9831 darwin* | rhapsody*)
9832 # PIC is the default on this platform
9833 # Common symbols not allowed in MH_DYLIB files
9834 lt_prog_compiler_pic='-fno-common'
9837 haiku*)
9838 # PIC is the default for Haiku.
9839 # The "-static" flag exists, but is broken.
9840 lt_prog_compiler_static=
9843 hpux*)
9844 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9845 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9846 # sets the default TLS model and affects inlining.
9847 case $host_cpu in
9848 hppa*64*)
9849 # +Z the default
9852 lt_prog_compiler_pic='-fPIC'
9854 esac
9857 interix[3-9]*)
9858 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9859 # Instead, we relocate shared libraries at runtime.
9862 msdosdjgpp*)
9863 # Just because we use GCC doesn't mean we suddenly get shared libraries
9864 # on systems that don't support them.
9865 lt_prog_compiler_can_build_shared=no
9866 enable_shared=no
9869 *nto* | *qnx*)
9870 # QNX uses GNU C++, but need to define -shared option too, otherwise
9871 # it will coredump.
9872 lt_prog_compiler_pic='-fPIC -shared'
9875 sysv4*MP*)
9876 if test -d /usr/nec; then
9877 lt_prog_compiler_pic=-Kconform_pic
9882 lt_prog_compiler_pic='-fPIC'
9884 esac
9886 case $cc_basename in
9887 nvcc*) # Cuda Compiler Driver 2.2
9888 lt_prog_compiler_wl='-Xlinker '
9889 lt_prog_compiler_pic='-Xcompiler -fPIC'
9891 esac
9892 else
9893 # PORTME Check for flag to pass linker flags through the system compiler.
9894 case $host_os in
9895 aix*)
9896 lt_prog_compiler_wl='-Wl,'
9897 if test "$host_cpu" = ia64; then
9898 # AIX 5 now supports IA64 processor
9899 lt_prog_compiler_static='-Bstatic'
9900 else
9901 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9905 mingw* | cygwin* | pw32* | os2* | cegcc*)
9906 # This hack is so that the source file can tell whether it is being
9907 # built for inclusion in a dll (and should export symbols for example).
9908 lt_prog_compiler_pic='-DDLL_EXPORT'
9911 hpux9* | hpux10* | hpux11*)
9912 lt_prog_compiler_wl='-Wl,'
9913 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9914 # not for PA HP-UX.
9915 case $host_cpu in
9916 hppa*64*|ia64*)
9917 # +Z the default
9920 lt_prog_compiler_pic='+Z'
9922 esac
9923 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9924 lt_prog_compiler_static='${wl}-a ${wl}archive'
9927 irix5* | irix6* | nonstopux*)
9928 lt_prog_compiler_wl='-Wl,'
9929 # PIC (with -KPIC) is the default.
9930 lt_prog_compiler_static='-non_shared'
9933 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9934 case $cc_basename in
9935 # old Intel for x86_64 which still supported -KPIC.
9936 ecc*)
9937 lt_prog_compiler_wl='-Wl,'
9938 lt_prog_compiler_pic='-KPIC'
9939 lt_prog_compiler_static='-static'
9941 # icc used to be incompatible with GCC.
9942 # ICC 10 doesn't accept -KPIC any more.
9943 icc* | ifort*)
9944 lt_prog_compiler_wl='-Wl,'
9945 lt_prog_compiler_pic='-fPIC'
9946 lt_prog_compiler_static='-static'
9948 # Lahey Fortran 8.1.
9949 lf95*)
9950 lt_prog_compiler_wl='-Wl,'
9951 lt_prog_compiler_pic='--shared'
9952 lt_prog_compiler_static='--static'
9954 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9955 # Portland Group compilers (*not* the Pentium gcc compiler,
9956 # which looks to be a dead project)
9957 lt_prog_compiler_wl='-Wl,'
9958 lt_prog_compiler_pic='-fpic'
9959 lt_prog_compiler_static='-Bstatic'
9961 ccc*)
9962 lt_prog_compiler_wl='-Wl,'
9963 # All Alpha code is PIC.
9964 lt_prog_compiler_static='-non_shared'
9966 xl* | bgxl* | bgf* | mpixl*)
9967 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9968 lt_prog_compiler_wl='-Wl,'
9969 lt_prog_compiler_pic='-qpic'
9970 lt_prog_compiler_static='-qstaticlink'
9973 case `$CC -V 2>&1 | sed 5q` in
9974 *Sun\ F* | *Sun*Fortran*)
9975 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9976 lt_prog_compiler_pic='-KPIC'
9977 lt_prog_compiler_static='-Bstatic'
9978 lt_prog_compiler_wl=''
9980 *Sun\ C*)
9981 # Sun C 5.9
9982 lt_prog_compiler_pic='-KPIC'
9983 lt_prog_compiler_static='-Bstatic'
9984 lt_prog_compiler_wl='-Wl,'
9986 esac
9988 esac
9991 newsos6)
9992 lt_prog_compiler_pic='-KPIC'
9993 lt_prog_compiler_static='-Bstatic'
9996 *nto* | *qnx*)
9997 # QNX uses GNU C++, but need to define -shared option too, otherwise
9998 # it will coredump.
9999 lt_prog_compiler_pic='-fPIC -shared'
10002 osf3* | osf4* | osf5*)
10003 lt_prog_compiler_wl='-Wl,'
10004 # All OSF/1 code is PIC.
10005 lt_prog_compiler_static='-non_shared'
10008 rdos*)
10009 lt_prog_compiler_static='-non_shared'
10012 solaris*)
10013 lt_prog_compiler_pic='-KPIC'
10014 lt_prog_compiler_static='-Bstatic'
10015 case $cc_basename in
10016 f77* | f90* | f95*)
10017 lt_prog_compiler_wl='-Qoption ld ';;
10019 lt_prog_compiler_wl='-Wl,';;
10020 esac
10023 sunos4*)
10024 lt_prog_compiler_wl='-Qoption ld '
10025 lt_prog_compiler_pic='-PIC'
10026 lt_prog_compiler_static='-Bstatic'
10029 sysv4 | sysv4.2uw2* | sysv4.3*)
10030 lt_prog_compiler_wl='-Wl,'
10031 lt_prog_compiler_pic='-KPIC'
10032 lt_prog_compiler_static='-Bstatic'
10035 sysv4*MP*)
10036 if test -d /usr/nec ;then
10037 lt_prog_compiler_pic='-Kconform_pic'
10038 lt_prog_compiler_static='-Bstatic'
10042 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10043 lt_prog_compiler_wl='-Wl,'
10044 lt_prog_compiler_pic='-KPIC'
10045 lt_prog_compiler_static='-Bstatic'
10048 unicos*)
10049 lt_prog_compiler_wl='-Wl,'
10050 lt_prog_compiler_can_build_shared=no
10053 uts4*)
10054 lt_prog_compiler_pic='-pic'
10055 lt_prog_compiler_static='-Bstatic'
10059 lt_prog_compiler_can_build_shared=no
10061 esac
10064 case $host_os in
10065 # For platforms which do not support PIC, -DPIC is meaningless:
10066 *djgpp*)
10067 lt_prog_compiler_pic=
10070 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10072 esac
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10074 $as_echo "$lt_prog_compiler_pic" >&6; }
10082 # Check to make sure the PIC flag actually works.
10084 if test -n "$lt_prog_compiler_pic"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10086 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10087 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 lt_cv_prog_compiler_pic_works=no
10091 ac_outfile=conftest.$ac_objext
10092 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10093 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10094 # Insert the option either (1) after the last *FLAGS variable, or
10095 # (2) before a word containing "conftest.", or (3) at the end.
10096 # Note that $ac_compile itself does not contain backslashes and begins
10097 # with a dollar sign (not a hyphen), so the echo should work correctly.
10098 # The option is referenced via a variable to avoid confusing sed.
10099 lt_compile=`echo "$ac_compile" | $SED \
10100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10102 -e 's:$: $lt_compiler_flag:'`
10103 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10104 (eval "$lt_compile" 2>conftest.err)
10105 ac_status=$?
10106 cat conftest.err >&5
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 if (exit $ac_status) && test -s "$ac_outfile"; then
10109 # The compiler can only warn and ignore the option if not recognized
10110 # So say no if there are warnings other than the usual output.
10111 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10112 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10113 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10114 lt_cv_prog_compiler_pic_works=yes
10117 $RM conftest*
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10121 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10123 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10124 case $lt_prog_compiler_pic in
10125 "" | " "*) ;;
10126 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10127 esac
10128 else
10129 lt_prog_compiler_pic=
10130 lt_prog_compiler_can_build_shared=no
10141 # Check to make sure the static flag actually works.
10143 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10145 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10146 if ${lt_cv_prog_compiler_static_works+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 lt_cv_prog_compiler_static_works=no
10150 save_LDFLAGS="$LDFLAGS"
10151 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10152 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10153 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10154 # The linker can only warn and ignore the option if not recognized
10155 # So say no if there are warnings
10156 if test -s conftest.err; then
10157 # Append any errors to the config.log.
10158 cat conftest.err 1>&5
10159 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10160 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10161 if diff conftest.exp conftest.er2 >/dev/null; then
10162 lt_cv_prog_compiler_static_works=yes
10164 else
10165 lt_cv_prog_compiler_static_works=yes
10168 $RM -r conftest*
10169 LDFLAGS="$save_LDFLAGS"
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10173 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10175 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10177 else
10178 lt_prog_compiler_static=
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10188 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10189 if ${lt_cv_prog_compiler_c_o+:} false; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 lt_cv_prog_compiler_c_o=no
10193 $RM -r conftest 2>/dev/null
10194 mkdir conftest
10195 cd conftest
10196 mkdir out
10197 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10199 lt_compiler_flag="-o out/conftest2.$ac_objext"
10200 # Insert the option either (1) after the last *FLAGS variable, or
10201 # (2) before a word containing "conftest.", or (3) at the end.
10202 # Note that $ac_compile itself does not contain backslashes and begins
10203 # with a dollar sign (not a hyphen), so the echo should work correctly.
10204 lt_compile=`echo "$ac_compile" | $SED \
10205 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10207 -e 's:$: $lt_compiler_flag:'`
10208 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10209 (eval "$lt_compile" 2>out/conftest.err)
10210 ac_status=$?
10211 cat out/conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10214 then
10215 # The compiler can only warn and ignore the option if not recognized
10216 # So say no if there are warnings
10217 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10218 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10219 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10220 lt_cv_prog_compiler_c_o=yes
10223 chmod u+w . 2>&5
10224 $RM conftest*
10225 # SGI C++ compiler will create directory out/ii_files/ for
10226 # template instantiation
10227 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10228 $RM out/* && rmdir out
10229 cd ..
10230 $RM -r conftest
10231 $RM conftest*
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10235 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10244 if ${lt_cv_prog_compiler_c_o+:} false; then :
10245 $as_echo_n "(cached) " >&6
10246 else
10247 lt_cv_prog_compiler_c_o=no
10248 $RM -r conftest 2>/dev/null
10249 mkdir conftest
10250 cd conftest
10251 mkdir out
10252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10254 lt_compiler_flag="-o out/conftest2.$ac_objext"
10255 # Insert the option either (1) after the last *FLAGS variable, or
10256 # (2) before a word containing "conftest.", or (3) at the end.
10257 # Note that $ac_compile itself does not contain backslashes and begins
10258 # with a dollar sign (not a hyphen), so the echo should work correctly.
10259 lt_compile=`echo "$ac_compile" | $SED \
10260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10262 -e 's:$: $lt_compiler_flag:'`
10263 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10264 (eval "$lt_compile" 2>out/conftest.err)
10265 ac_status=$?
10266 cat out/conftest.err >&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10269 then
10270 # The compiler can only warn and ignore the option if not recognized
10271 # So say no if there are warnings
10272 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10273 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10274 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10275 lt_cv_prog_compiler_c_o=yes
10278 chmod u+w . 2>&5
10279 $RM conftest*
10280 # SGI C++ compiler will create directory out/ii_files/ for
10281 # template instantiation
10282 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10283 $RM out/* && rmdir out
10284 cd ..
10285 $RM -r conftest
10286 $RM conftest*
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10290 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10295 hard_links="nottested"
10296 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10297 # do not overwrite the value of need_locks provided by the user
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10299 $as_echo_n "checking if we can lock with hard links... " >&6; }
10300 hard_links=yes
10301 $RM conftest*
10302 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10303 touch conftest.a
10304 ln conftest.a conftest.b 2>&5 || hard_links=no
10305 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10307 $as_echo "$hard_links" >&6; }
10308 if test "$hard_links" = no; then
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10310 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10311 need_locks=warn
10313 else
10314 need_locks=no
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10323 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10325 runpath_var=
10326 allow_undefined_flag=
10327 always_export_symbols=no
10328 archive_cmds=
10329 archive_expsym_cmds=
10330 compiler_needs_object=no
10331 enable_shared_with_static_runtimes=no
10332 export_dynamic_flag_spec=
10333 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10334 hardcode_automatic=no
10335 hardcode_direct=no
10336 hardcode_direct_absolute=no
10337 hardcode_libdir_flag_spec=
10338 hardcode_libdir_flag_spec_ld=
10339 hardcode_libdir_separator=
10340 hardcode_minus_L=no
10341 hardcode_shlibpath_var=unsupported
10342 inherit_rpath=no
10343 link_all_deplibs=unknown
10344 module_cmds=
10345 module_expsym_cmds=
10346 old_archive_from_new_cmds=
10347 old_archive_from_expsyms_cmds=
10348 thread_safe_flag_spec=
10349 whole_archive_flag_spec=
10350 # include_expsyms should be a list of space-separated symbols to be *always*
10351 # included in the symbol list
10352 include_expsyms=
10353 # exclude_expsyms can be an extended regexp of symbols to exclude
10354 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10355 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10356 # as well as any symbol that contains `d'.
10357 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10358 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10359 # platforms (ab)use it in PIC code, but their linkers get confused if
10360 # the symbol is explicitly referenced. Since portable code cannot
10361 # rely on this symbol name, it's probably fine to never include it in
10362 # preloaded symbol tables.
10363 # Exclude shared library initialization/finalization symbols.
10364 extract_expsyms_cmds=
10366 case $host_os in
10367 cygwin* | mingw* | pw32* | cegcc*)
10368 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10369 # When not using gcc, we currently assume that we are using
10370 # Microsoft Visual C++.
10371 if test "$GCC" != yes; then
10372 with_gnu_ld=no
10375 interix*)
10376 # we just hope/assume this is gcc and not c89 (= MSVC++)
10377 with_gnu_ld=yes
10379 openbsd*)
10380 with_gnu_ld=no
10382 esac
10384 ld_shlibs=yes
10386 # On some targets, GNU ld is compatible enough with the native linker
10387 # that we're better off using the native interface for both.
10388 lt_use_gnu_ld_interface=no
10389 if test "$with_gnu_ld" = yes; then
10390 case $host_os in
10391 aix*)
10392 # The AIX port of GNU ld has always aspired to compatibility
10393 # with the native linker. However, as the warning in the GNU ld
10394 # block says, versions before 2.19.5* couldn't really create working
10395 # shared libraries, regardless of the interface used.
10396 case `$LD -v 2>&1` in
10397 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10398 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10399 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10401 lt_use_gnu_ld_interface=yes
10403 esac
10406 lt_use_gnu_ld_interface=yes
10408 esac
10411 if test "$lt_use_gnu_ld_interface" = yes; then
10412 # If archive_cmds runs LD, not CC, wlarc should be empty
10413 wlarc='${wl}'
10415 # Set some defaults for GNU ld with shared library support. These
10416 # are reset later if shared libraries are not supported. Putting them
10417 # here allows them to be overridden if necessary.
10418 runpath_var=LD_RUN_PATH
10419 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10420 export_dynamic_flag_spec='${wl}--export-dynamic'
10421 # ancient GNU ld didn't support --whole-archive et. al.
10422 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10423 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10424 else
10425 whole_archive_flag_spec=
10427 supports_anon_versioning=no
10428 case `$LD -v 2>&1` in
10429 *GNU\ gold*) supports_anon_versioning=yes ;;
10430 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10431 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10432 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10433 *\ 2.11.*) ;; # other 2.11 versions
10434 *) supports_anon_versioning=yes ;;
10435 esac
10437 # See if GNU ld supports shared libraries.
10438 case $host_os in
10439 aix[3-9]*)
10440 # On AIX/PPC, the GNU linker is very broken
10441 if test "$host_cpu" != ia64; then
10442 ld_shlibs=no
10443 cat <<_LT_EOF 1>&2
10445 *** Warning: the GNU linker, at least up to release 2.19, is reported
10446 *** to be unable to reliably create shared libraries on AIX.
10447 *** Therefore, libtool is disabling shared libraries support. If you
10448 *** really care for shared libraries, you may want to install binutils
10449 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10450 *** You will then need to restart the configuration process.
10452 _LT_EOF
10456 amigaos*)
10457 case $host_cpu in
10458 powerpc)
10459 # see comment about AmigaOS4 .so support
10460 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10461 archive_expsym_cmds=''
10463 m68k)
10464 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)'
10465 hardcode_libdir_flag_spec='-L$libdir'
10466 hardcode_minus_L=yes
10468 esac
10471 beos*)
10472 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10473 allow_undefined_flag=unsupported
10474 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10475 # support --undefined. This deserves some investigation. FIXME
10476 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10477 else
10478 ld_shlibs=no
10482 cygwin* | mingw* | pw32* | cegcc*)
10483 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10484 # as there is no search path for DLLs.
10485 hardcode_libdir_flag_spec='-L$libdir'
10486 export_dynamic_flag_spec='${wl}--export-all-symbols'
10487 allow_undefined_flag=unsupported
10488 always_export_symbols=no
10489 enable_shared_with_static_runtimes=yes
10490 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10492 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10493 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10494 # If the export-symbols file already is a .def file (1st line
10495 # is EXPORTS), use it as is; otherwise, prepend...
10496 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10497 cp $export_symbols $output_objdir/$soname.def;
10498 else
10499 echo EXPORTS > $output_objdir/$soname.def;
10500 cat $export_symbols >> $output_objdir/$soname.def;
10502 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10503 else
10504 ld_shlibs=no
10508 haiku*)
10509 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10510 link_all_deplibs=yes
10513 interix[3-9]*)
10514 hardcode_direct=no
10515 hardcode_shlibpath_var=no
10516 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10517 export_dynamic_flag_spec='${wl}-E'
10518 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10519 # Instead, shared libraries are loaded at an image base (0x10000000 by
10520 # default) and relocated if they conflict, which is a slow very memory
10521 # consuming and fragmenting process. To avoid this, we pick a random,
10522 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10523 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10524 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10525 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'
10528 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10529 tmp_diet=no
10530 if test "$host_os" = linux-dietlibc; then
10531 case $cc_basename in
10532 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10533 esac
10535 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10536 && test "$tmp_diet" = no
10537 then
10538 tmp_addflag=' $pic_flag'
10539 tmp_sharedflag='-shared'
10540 case $cc_basename,$host_cpu in
10541 pgcc*) # Portland Group C compiler
10542 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'
10543 tmp_addflag=' $pic_flag'
10545 pgf77* | pgf90* | pgf95* | pgfortran*)
10546 # Portland Group f77 and f90 compilers
10547 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'
10548 tmp_addflag=' $pic_flag -Mnomain' ;;
10549 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10550 tmp_addflag=' -i_dynamic' ;;
10551 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10552 tmp_addflag=' -i_dynamic -nofor_main' ;;
10553 ifc* | ifort*) # Intel Fortran compiler
10554 tmp_addflag=' -nofor_main' ;;
10555 lf95*) # Lahey Fortran 8.1
10556 whole_archive_flag_spec=
10557 tmp_sharedflag='--shared' ;;
10558 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10559 tmp_sharedflag='-qmkshrobj'
10560 tmp_addflag= ;;
10561 nvcc*) # Cuda Compiler Driver 2.2
10562 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'
10563 compiler_needs_object=yes
10565 esac
10566 case `$CC -V 2>&1 | sed 5q` in
10567 *Sun\ C*) # Sun C 5.9
10568 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'
10569 compiler_needs_object=yes
10570 tmp_sharedflag='-G' ;;
10571 *Sun\ F*) # Sun Fortran 8.3
10572 tmp_sharedflag='-G' ;;
10573 esac
10574 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10576 if test "x$supports_anon_versioning" = xyes; then
10577 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10578 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10579 echo "local: *; };" >> $output_objdir/$libname.ver~
10580 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10583 case $cc_basename in
10584 xlf* | bgf* | bgxlf* | mpixlf*)
10585 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10586 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10587 hardcode_libdir_flag_spec=
10588 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10589 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10590 if test "x$supports_anon_versioning" = xyes; then
10591 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10592 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10593 echo "local: *; };" >> $output_objdir/$libname.ver~
10594 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10597 esac
10598 else
10599 ld_shlibs=no
10603 netbsd*)
10604 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10605 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10606 wlarc=
10607 else
10608 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10609 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10613 solaris*)
10614 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10615 ld_shlibs=no
10616 cat <<_LT_EOF 1>&2
10618 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10619 *** create shared libraries on Solaris systems. Therefore, libtool
10620 *** is disabling shared libraries support. We urge you to upgrade GNU
10621 *** binutils to release 2.9.1 or newer. Another option is to modify
10622 *** your PATH or compiler configuration so that the native linker is
10623 *** used, and then restart.
10625 _LT_EOF
10626 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
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'
10629 else
10630 ld_shlibs=no
10634 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10635 case `$LD -v 2>&1` in
10636 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10637 ld_shlibs=no
10638 cat <<_LT_EOF 1>&2
10640 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10641 *** reliably create shared libraries on SCO systems. Therefore, libtool
10642 *** is disabling shared libraries support. We urge you to upgrade GNU
10643 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10644 *** your PATH or compiler configuration so that the native linker is
10645 *** used, and then restart.
10647 _LT_EOF
10650 # For security reasons, it is highly recommended that you always
10651 # use absolute paths for naming shared libraries, and exclude the
10652 # DT_RUNPATH tag from executables and libraries. But doing so
10653 # requires that you compile everything twice, which is a pain.
10654 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10655 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10656 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10657 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10658 else
10659 ld_shlibs=no
10662 esac
10665 sunos4*)
10666 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10667 wlarc=
10668 hardcode_direct=yes
10669 hardcode_shlibpath_var=no
10673 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10674 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10675 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10676 else
10677 ld_shlibs=no
10680 esac
10682 if test "$ld_shlibs" = no; then
10683 runpath_var=
10684 hardcode_libdir_flag_spec=
10685 export_dynamic_flag_spec=
10686 whole_archive_flag_spec=
10688 else
10689 # PORTME fill in a description of your system's linker (not GNU ld)
10690 case $host_os in
10691 aix3*)
10692 allow_undefined_flag=unsupported
10693 always_export_symbols=yes
10694 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'
10695 # Note: this linker hardcodes the directories in LIBPATH if there
10696 # are no directories specified by -L.
10697 hardcode_minus_L=yes
10698 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10699 # Neither direct hardcoding nor static linking is supported with a
10700 # broken collect2.
10701 hardcode_direct=unsupported
10705 aix[4-9]*)
10706 if test "$host_cpu" = ia64; then
10707 # On IA64, the linker does run time linking by default, so we don't
10708 # have to do anything special.
10709 aix_use_runtimelinking=no
10710 exp_sym_flag='-Bexport'
10711 no_entry_flag=""
10712 else
10713 # If we're using GNU nm, then we don't want the "-C" option.
10714 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10715 # Also, AIX nm treats weak defined symbols like other global
10716 # defined symbols, whereas GNU nm marks them as "W".
10717 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10718 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'
10719 else
10720 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'
10722 aix_use_runtimelinking=no
10724 # Test if we are trying to use run time linking or normal
10725 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10726 # need to do runtime linking.
10727 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10728 for ld_flag in $LDFLAGS; do
10729 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10730 aix_use_runtimelinking=yes
10731 break
10733 done
10735 esac
10737 exp_sym_flag='-bexport'
10738 no_entry_flag='-bnoentry'
10741 # When large executables or shared objects are built, AIX ld can
10742 # have problems creating the table of contents. If linking a library
10743 # or program results in "error TOC overflow" add -mminimal-toc to
10744 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10745 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10747 archive_cmds=''
10748 hardcode_direct=yes
10749 hardcode_direct_absolute=yes
10750 hardcode_libdir_separator=':'
10751 link_all_deplibs=yes
10752 file_list_spec='${wl}-f,'
10754 if test "$GCC" = yes; then
10755 case $host_os in aix4.[012]|aix4.[012].*)
10756 # We only want to do this on AIX 4.2 and lower, the check
10757 # below for broken collect2 doesn't work under 4.3+
10758 collect2name=`${CC} -print-prog-name=collect2`
10759 if test -f "$collect2name" &&
10760 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10761 then
10762 # We have reworked collect2
10764 else
10765 # We have old collect2
10766 hardcode_direct=unsupported
10767 # It fails to find uninstalled libraries when the uninstalled
10768 # path is not listed in the libpath. Setting hardcode_minus_L
10769 # to unsupported forces relinking
10770 hardcode_minus_L=yes
10771 hardcode_libdir_flag_spec='-L$libdir'
10772 hardcode_libdir_separator=
10775 esac
10776 shared_flag='-shared'
10777 if test "$aix_use_runtimelinking" = yes; then
10778 shared_flag="$shared_flag "'${wl}-G'
10780 else
10781 # not using gcc
10782 if test "$host_cpu" = ia64; then
10783 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10784 # chokes on -Wl,-G. The following line is correct:
10785 shared_flag='-G'
10786 else
10787 if test "$aix_use_runtimelinking" = yes; then
10788 shared_flag='${wl}-G'
10789 else
10790 shared_flag='${wl}-bM:SRE'
10795 export_dynamic_flag_spec='${wl}-bexpall'
10796 # It seems that -bexpall does not export symbols beginning with
10797 # underscore (_), so it is better to generate a list of symbols to export.
10798 always_export_symbols=yes
10799 if test "$aix_use_runtimelinking" = yes; then
10800 # Warning - without using the other runtime loading flags (-brtl),
10801 # -berok will link without error, but may produce a broken library.
10802 allow_undefined_flag='-berok'
10803 # Determine the default libpath from the value encoded in an
10804 # empty executable.
10805 if test x$gcc_no_link = xyes; then
10806 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10812 main ()
10816 return 0;
10818 _ACEOF
10819 if ac_fn_c_try_link "$LINENO"; then :
10821 lt_aix_libpath_sed='
10822 /Import File Strings/,/^$/ {
10823 /^0/ {
10824 s/^0 *\(.*\)$/\1/
10828 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10829 # Check for a 64-bit object if we didn't find anything.
10830 if test -z "$aix_libpath"; then
10831 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10834 rm -f core conftest.err conftest.$ac_objext \
10835 conftest$ac_exeext conftest.$ac_ext
10836 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10838 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10839 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"
10840 else
10841 if test "$host_cpu" = ia64; then
10842 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10843 allow_undefined_flag="-z nodefs"
10844 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"
10845 else
10846 # Determine the default libpath from the value encoded in an
10847 # empty executable.
10848 if test x$gcc_no_link = xyes; then
10849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10855 main ()
10859 return 0;
10861 _ACEOF
10862 if ac_fn_c_try_link "$LINENO"; then :
10864 lt_aix_libpath_sed='
10865 /Import File Strings/,/^$/ {
10866 /^0/ {
10867 s/^0 *\(.*\)$/\1/
10871 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10872 # Check for a 64-bit object if we didn't find anything.
10873 if test -z "$aix_libpath"; then
10874 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10877 rm -f core conftest.err conftest.$ac_objext \
10878 conftest$ac_exeext conftest.$ac_ext
10879 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10881 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10882 # Warning - without using the other run time loading flags,
10883 # -berok will link without error, but may produce a broken library.
10884 no_undefined_flag=' ${wl}-bernotok'
10885 allow_undefined_flag=' ${wl}-berok'
10886 if test "$with_gnu_ld" = yes; then
10887 # We only use this code for GNU lds that support --whole-archive.
10888 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10889 else
10890 # Exported symbols can be pulled into shared objects from archives
10891 whole_archive_flag_spec='$convenience'
10893 archive_cmds_need_lc=yes
10894 # This is similar to how AIX traditionally builds its shared libraries.
10895 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'
10900 amigaos*)
10901 case $host_cpu in
10902 powerpc)
10903 # see comment about AmigaOS4 .so support
10904 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10905 archive_expsym_cmds=''
10907 m68k)
10908 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)'
10909 hardcode_libdir_flag_spec='-L$libdir'
10910 hardcode_minus_L=yes
10912 esac
10915 bsdi[45]*)
10916 export_dynamic_flag_spec=-rdynamic
10919 cygwin* | mingw* | pw32* | cegcc*)
10920 # When not using gcc, we currently assume that we are using
10921 # Microsoft Visual C++.
10922 # hardcode_libdir_flag_spec is actually meaningless, as there is
10923 # no search path for DLLs.
10924 hardcode_libdir_flag_spec=' '
10925 allow_undefined_flag=unsupported
10926 # Tell ltmain to make .lib files, not .a files.
10927 libext=lib
10928 # Tell ltmain to make .dll files, not .so files.
10929 shrext_cmds=".dll"
10930 # FIXME: Setting linknames here is a bad hack.
10931 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10932 # The linker will automatically build a .lib file if we build a DLL.
10933 old_archive_from_new_cmds='true'
10934 # FIXME: Should let the user specify the lib program.
10935 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10936 fix_srcfile_path='`cygpath -w "$srcfile"`'
10937 enable_shared_with_static_runtimes=yes
10940 darwin* | rhapsody*)
10943 archive_cmds_need_lc=no
10944 hardcode_direct=no
10945 hardcode_automatic=yes
10946 hardcode_shlibpath_var=unsupported
10947 if test "$lt_cv_ld_force_load" = "yes"; then
10948 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\"`'
10949 else
10950 whole_archive_flag_spec=''
10952 link_all_deplibs=yes
10953 allow_undefined_flag="$_lt_dar_allow_undefined"
10954 case $cc_basename in
10955 ifort*) _lt_dar_can_shared=yes ;;
10956 *) _lt_dar_can_shared=$GCC ;;
10957 esac
10958 if test "$_lt_dar_can_shared" = "yes"; then
10959 output_verbose_link_cmd=func_echo_all
10960 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10961 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10962 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10963 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}"
10965 else
10966 ld_shlibs=no
10971 dgux*)
10972 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10973 hardcode_libdir_flag_spec='-L$libdir'
10974 hardcode_shlibpath_var=no
10977 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10978 # support. Future versions do this automatically, but an explicit c++rt0.o
10979 # does not break anything, and helps significantly (at the cost of a little
10980 # extra space).
10981 freebsd2.2*)
10982 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10983 hardcode_libdir_flag_spec='-R$libdir'
10984 hardcode_direct=yes
10985 hardcode_shlibpath_var=no
10988 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10989 freebsd2.*)
10990 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10991 hardcode_direct=yes
10992 hardcode_minus_L=yes
10993 hardcode_shlibpath_var=no
10996 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10997 freebsd* | dragonfly*)
10998 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10999 hardcode_libdir_flag_spec='-R$libdir'
11000 hardcode_direct=yes
11001 hardcode_shlibpath_var=no
11004 hpux9*)
11005 if test "$GCC" = yes; then
11006 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'
11007 else
11008 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'
11010 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11011 hardcode_libdir_separator=:
11012 hardcode_direct=yes
11014 # hardcode_minus_L: Not really in the search PATH,
11015 # but as the default location of the library.
11016 hardcode_minus_L=yes
11017 export_dynamic_flag_spec='${wl}-E'
11020 hpux10*)
11021 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11022 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11023 else
11024 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11026 if test "$with_gnu_ld" = no; then
11027 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11028 hardcode_libdir_flag_spec_ld='+b $libdir'
11029 hardcode_libdir_separator=:
11030 hardcode_direct=yes
11031 hardcode_direct_absolute=yes
11032 export_dynamic_flag_spec='${wl}-E'
11033 # hardcode_minus_L: Not really in the search PATH,
11034 # but as the default location of the library.
11035 hardcode_minus_L=yes
11039 hpux11*)
11040 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11041 case $host_cpu in
11042 hppa*64*)
11043 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11045 ia64*)
11046 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11049 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11051 esac
11052 else
11053 case $host_cpu in
11054 hppa*64*)
11055 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11057 ia64*)
11058 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11062 # Older versions of the 11.00 compiler do not understand -b yet
11063 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11065 $as_echo_n "checking if $CC understands -b... " >&6; }
11066 if ${lt_cv_prog_compiler__b+:} false; then :
11067 $as_echo_n "(cached) " >&6
11068 else
11069 lt_cv_prog_compiler__b=no
11070 save_LDFLAGS="$LDFLAGS"
11071 LDFLAGS="$LDFLAGS -b"
11072 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11073 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11074 # The linker can only warn and ignore the option if not recognized
11075 # So say no if there are warnings
11076 if test -s conftest.err; then
11077 # Append any errors to the config.log.
11078 cat conftest.err 1>&5
11079 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11080 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11081 if diff conftest.exp conftest.er2 >/dev/null; then
11082 lt_cv_prog_compiler__b=yes
11084 else
11085 lt_cv_prog_compiler__b=yes
11088 $RM -r conftest*
11089 LDFLAGS="$save_LDFLAGS"
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11093 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11095 if test x"$lt_cv_prog_compiler__b" = xyes; then
11096 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11097 else
11098 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11102 esac
11104 if test "$with_gnu_ld" = no; then
11105 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11106 hardcode_libdir_separator=:
11108 case $host_cpu in
11109 hppa*64*|ia64*)
11110 hardcode_direct=no
11111 hardcode_shlibpath_var=no
11114 hardcode_direct=yes
11115 hardcode_direct_absolute=yes
11116 export_dynamic_flag_spec='${wl}-E'
11118 # hardcode_minus_L: Not really in the search PATH,
11119 # but as the default location of the library.
11120 hardcode_minus_L=yes
11122 esac
11126 irix5* | irix6* | nonstopux*)
11127 if test "$GCC" = yes; then
11128 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'
11129 # Try to use the -exported_symbol ld option, if it does not
11130 # work, assume that -exports_file does not work either and
11131 # implicitly export all symbols.
11132 save_LDFLAGS="$LDFLAGS"
11133 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11134 if test x$gcc_no_link = xyes; then
11135 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11139 int foo(void) {}
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 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'
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LDFLAGS="$save_LDFLAGS"
11148 else
11149 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'
11150 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'
11152 archive_cmds_need_lc='no'
11153 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11154 hardcode_libdir_separator=:
11155 inherit_rpath=yes
11156 link_all_deplibs=yes
11159 netbsd*)
11160 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11161 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11162 else
11163 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11165 hardcode_libdir_flag_spec='-R$libdir'
11166 hardcode_direct=yes
11167 hardcode_shlibpath_var=no
11170 newsos6)
11171 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11172 hardcode_direct=yes
11173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11174 hardcode_libdir_separator=:
11175 hardcode_shlibpath_var=no
11178 *nto* | *qnx*)
11181 openbsd*)
11182 if test -f /usr/libexec/ld.so; then
11183 hardcode_direct=yes
11184 hardcode_shlibpath_var=no
11185 hardcode_direct_absolute=yes
11186 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11187 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11188 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11189 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11190 export_dynamic_flag_spec='${wl}-E'
11191 else
11192 case $host_os in
11193 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11194 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11195 hardcode_libdir_flag_spec='-R$libdir'
11198 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11199 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11201 esac
11203 else
11204 ld_shlibs=no
11208 os2*)
11209 hardcode_libdir_flag_spec='-L$libdir'
11210 hardcode_minus_L=yes
11211 allow_undefined_flag=unsupported
11212 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'
11213 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11216 osf3*)
11217 if test "$GCC" = yes; then
11218 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11219 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'
11220 else
11221 allow_undefined_flag=' -expect_unresolved \*'
11222 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'
11224 archive_cmds_need_lc='no'
11225 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11226 hardcode_libdir_separator=:
11229 osf4* | osf5*) # as osf3* with the addition of -msym flag
11230 if test "$GCC" = yes; then
11231 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11232 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
11233 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11234 else
11235 allow_undefined_flag=' -expect_unresolved \*'
11236 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'
11237 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~
11238 $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'
11240 # Both c and cxx compiler support -rpath directly
11241 hardcode_libdir_flag_spec='-rpath $libdir'
11243 archive_cmds_need_lc='no'
11244 hardcode_libdir_separator=:
11247 solaris*)
11248 no_undefined_flag=' -z defs'
11249 if test "$GCC" = yes; then
11250 wlarc='${wl}'
11251 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11252 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11253 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11254 else
11255 case `$CC -V 2>&1` in
11256 *"Compilers 5.0"*)
11257 wlarc=''
11258 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11259 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11260 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11263 wlarc='${wl}'
11264 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11265 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11266 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11268 esac
11270 hardcode_libdir_flag_spec='-R$libdir'
11271 hardcode_shlibpath_var=no
11272 case $host_os in
11273 solaris2.[0-5] | solaris2.[0-5].*) ;;
11275 # The compiler driver will combine and reorder linker options,
11276 # but understands `-z linker_flag'. GCC discards it without `$wl',
11277 # but is careful enough not to reorder.
11278 # Supported since Solaris 2.6 (maybe 2.5.1?)
11279 if test "$GCC" = yes; then
11280 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11281 else
11282 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11285 esac
11286 link_all_deplibs=yes
11289 sunos4*)
11290 if test "x$host_vendor" = xsequent; then
11291 # Use $CC to link under sequent, because it throws in some extra .o
11292 # files that make .init and .fini sections work.
11293 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11294 else
11295 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11297 hardcode_libdir_flag_spec='-L$libdir'
11298 hardcode_direct=yes
11299 hardcode_minus_L=yes
11300 hardcode_shlibpath_var=no
11303 sysv4)
11304 case $host_vendor in
11305 sni)
11306 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11307 hardcode_direct=yes # is this really true???
11309 siemens)
11310 ## LD is ld it makes a PLAMLIB
11311 ## CC just makes a GrossModule.
11312 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11313 reload_cmds='$CC -r -o $output$reload_objs'
11314 hardcode_direct=no
11316 motorola)
11317 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11318 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11320 esac
11321 runpath_var='LD_RUN_PATH'
11322 hardcode_shlibpath_var=no
11325 sysv4.3*)
11326 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11327 hardcode_shlibpath_var=no
11328 export_dynamic_flag_spec='-Bexport'
11331 sysv4*MP*)
11332 if test -d /usr/nec; then
11333 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11334 hardcode_shlibpath_var=no
11335 runpath_var=LD_RUN_PATH
11336 hardcode_runpath_var=yes
11337 ld_shlibs=yes
11341 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11342 no_undefined_flag='${wl}-z,text'
11343 archive_cmds_need_lc=no
11344 hardcode_shlibpath_var=no
11345 runpath_var='LD_RUN_PATH'
11347 if test "$GCC" = yes; then
11348 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11349 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11350 else
11351 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11352 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11356 sysv5* | sco3.2v5* | sco5v6*)
11357 # Note: We can NOT use -z defs as we might desire, because we do not
11358 # link with -lc, and that would cause any symbols used from libc to
11359 # always be unresolved, which means just about no library would
11360 # ever link correctly. If we're not using GNU ld we use -z text
11361 # though, which does catch some bad symbols but isn't as heavy-handed
11362 # as -z defs.
11363 no_undefined_flag='${wl}-z,text'
11364 allow_undefined_flag='${wl}-z,nodefs'
11365 archive_cmds_need_lc=no
11366 hardcode_shlibpath_var=no
11367 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11368 hardcode_libdir_separator=':'
11369 link_all_deplibs=yes
11370 export_dynamic_flag_spec='${wl}-Bexport'
11371 runpath_var='LD_RUN_PATH'
11373 if test "$GCC" = yes; then
11374 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11375 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11376 else
11377 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11378 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11382 uts4*)
11383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11384 hardcode_libdir_flag_spec='-L$libdir'
11385 hardcode_shlibpath_var=no
11389 ld_shlibs=no
11391 esac
11393 if test x$host_vendor = xsni; then
11394 case $host in
11395 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11396 export_dynamic_flag_spec='${wl}-Blargedynsym'
11398 esac
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11403 $as_echo "$ld_shlibs" >&6; }
11404 test "$ld_shlibs" = no && can_build_shared=no
11406 with_gnu_ld=$with_gnu_ld
11423 # Do we need to explicitly link libc?
11425 case "x$archive_cmds_need_lc" in
11426 x|xyes)
11427 # Assume -lc should be added
11428 archive_cmds_need_lc=yes
11430 if test "$enable_shared" = yes && test "$GCC" = yes; then
11431 case $archive_cmds in
11432 *'~'*)
11433 # FIXME: we may have to deal with multi-command sequences.
11435 '$CC '*)
11436 # Test whether the compiler implicitly links with -lc since on some
11437 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11438 # to ld, don't add -lc before -lgcc.
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11440 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11441 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 $RM conftest*
11445 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11448 (eval $ac_compile) 2>&5
11449 ac_status=$?
11450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11451 test $ac_status = 0; } 2>conftest.err; then
11452 soname=conftest
11453 lib=conftest
11454 libobjs=conftest.$ac_objext
11455 deplibs=
11456 wl=$lt_prog_compiler_wl
11457 pic_flag=$lt_prog_compiler_pic
11458 compiler_flags=-v
11459 linker_flags=-v
11460 verstring=
11461 output_objdir=.
11462 libname=conftest
11463 lt_save_allow_undefined_flag=$allow_undefined_flag
11464 allow_undefined_flag=
11465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11466 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11467 ac_status=$?
11468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11469 test $ac_status = 0; }
11470 then
11471 lt_cv_archive_cmds_need_lc=no
11472 else
11473 lt_cv_archive_cmds_need_lc=yes
11475 allow_undefined_flag=$lt_save_allow_undefined_flag
11476 else
11477 cat conftest.err 1>&5
11479 $RM conftest*
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11483 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11484 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11486 esac
11489 esac
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11648 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11650 if test "$GCC" = yes; then
11651 case $host_os in
11652 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11653 *) lt_awk_arg="/^libraries:/" ;;
11654 esac
11655 case $host_os in
11656 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11657 *) lt_sed_strip_eq="s,=/,/,g" ;;
11658 esac
11659 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11660 case $lt_search_path_spec in
11661 *\;*)
11662 # if the path contains ";" then we assume it to be the separator
11663 # otherwise default to the standard path separator (i.e. ":") - it is
11664 # assumed that no part of a normal pathname contains ";" but that should
11665 # okay in the real world where ";" in dirpaths is itself problematic.
11666 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11669 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11671 esac
11672 # Ok, now we have the path, separated by spaces, we can step through it
11673 # and add multilib dir if necessary.
11674 lt_tmp_lt_search_path_spec=
11675 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11676 for lt_sys_path in $lt_search_path_spec; do
11677 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11678 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11679 else
11680 test -d "$lt_sys_path" && \
11681 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11683 done
11684 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11685 BEGIN {RS=" "; FS="/|\n";} {
11686 lt_foo="";
11687 lt_count=0;
11688 for (lt_i = NF; lt_i > 0; lt_i--) {
11689 if ($lt_i != "" && $lt_i != ".") {
11690 if ($lt_i == "..") {
11691 lt_count++;
11692 } else {
11693 if (lt_count == 0) {
11694 lt_foo="/" $lt_i lt_foo;
11695 } else {
11696 lt_count--;
11701 if (lt_foo != "") { lt_freq[lt_foo]++; }
11702 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11704 # AWK program above erroneously prepends '/' to C:/dos/paths
11705 # for these hosts.
11706 case $host_os in
11707 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11708 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11709 esac
11710 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11711 else
11712 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11714 library_names_spec=
11715 libname_spec='lib$name'
11716 soname_spec=
11717 shrext_cmds=".so"
11718 postinstall_cmds=
11719 postuninstall_cmds=
11720 finish_cmds=
11721 finish_eval=
11722 shlibpath_var=
11723 shlibpath_overrides_runpath=unknown
11724 version_type=none
11725 dynamic_linker="$host_os ld.so"
11726 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11727 need_lib_prefix=unknown
11728 hardcode_into_libs=no
11730 # when you set need_version to no, make sure it does not cause -set_version
11731 # flags to be left without arguments
11732 need_version=unknown
11734 case $host_os in
11735 aix3*)
11736 version_type=linux
11737 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11738 shlibpath_var=LIBPATH
11740 # AIX 3 has no versioning support, so we append a major version to the name.
11741 soname_spec='${libname}${release}${shared_ext}$major'
11744 aix[4-9]*)
11745 version_type=linux
11746 need_lib_prefix=no
11747 need_version=no
11748 hardcode_into_libs=yes
11749 if test "$host_cpu" = ia64; then
11750 # AIX 5 supports IA64
11751 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11752 shlibpath_var=LD_LIBRARY_PATH
11753 else
11754 # With GCC up to 2.95.x, collect2 would create an import file
11755 # for dependence libraries. The import file would start with
11756 # the line `#! .'. This would cause the generated library to
11757 # depend on `.', always an invalid library. This was fixed in
11758 # development snapshots of GCC prior to 3.0.
11759 case $host_os in
11760 aix4 | aix4.[01] | aix4.[01].*)
11761 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11762 echo ' yes '
11763 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11765 else
11766 can_build_shared=no
11769 esac
11770 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11771 # soname into executable. Probably we can add versioning support to
11772 # collect2, so additional links can be useful in future.
11773 if test "$aix_use_runtimelinking" = yes; then
11774 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11775 # instead of lib<name>.a to let people know that these are not
11776 # typical AIX shared libraries.
11777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778 else
11779 # We preserve .a as extension for shared libraries through AIX4.2
11780 # and later when we are not doing run time linking.
11781 library_names_spec='${libname}${release}.a $libname.a'
11782 soname_spec='${libname}${release}${shared_ext}$major'
11784 shlibpath_var=LIBPATH
11788 amigaos*)
11789 case $host_cpu in
11790 powerpc)
11791 # Since July 2007 AmigaOS4 officially supports .so libraries.
11792 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795 m68k)
11796 library_names_spec='$libname.ixlibrary $libname.a'
11797 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11798 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'
11800 esac
11803 beos*)
11804 library_names_spec='${libname}${shared_ext}'
11805 dynamic_linker="$host_os ld.so"
11806 shlibpath_var=LIBRARY_PATH
11809 bsdi[45]*)
11810 version_type=linux
11811 need_version=no
11812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11813 soname_spec='${libname}${release}${shared_ext}$major'
11814 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11815 shlibpath_var=LD_LIBRARY_PATH
11816 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11817 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11818 # the default ld.so.conf also contains /usr/contrib/lib and
11819 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11820 # libtool to hard-code these into programs
11823 cygwin* | mingw* | pw32* | cegcc*)
11824 version_type=windows
11825 shrext_cmds=".dll"
11826 need_version=no
11827 need_lib_prefix=no
11829 case $GCC,$host_os in
11830 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11831 library_names_spec='$libname.dll.a'
11832 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11833 postinstall_cmds='base_file=`basename \${file}`~
11834 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11835 dldir=$destdir/`dirname \$dlpath`~
11836 test -d \$dldir || mkdir -p \$dldir~
11837 $install_prog $dir/$dlname \$dldir/$dlname~
11838 chmod a+x \$dldir/$dlname~
11839 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11840 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11842 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11843 dlpath=$dir/\$dldll~
11844 $RM \$dlpath'
11845 shlibpath_overrides_runpath=yes
11847 case $host_os in
11848 cygwin*)
11849 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11850 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11852 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11854 mingw* | cegcc*)
11855 # MinGW DLLs use traditional 'lib' prefix
11856 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11858 pw32*)
11859 # pw32 DLLs use 'pw' prefix rather than 'lib'
11860 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11862 esac
11866 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11868 esac
11869 dynamic_linker='Win32 ld.exe'
11870 # FIXME: first we should search . and the directory the executable is in
11871 shlibpath_var=PATH
11874 darwin* | rhapsody*)
11875 dynamic_linker="$host_os dyld"
11876 version_type=darwin
11877 need_lib_prefix=no
11878 need_version=no
11879 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11880 soname_spec='${libname}${release}${major}$shared_ext'
11881 shlibpath_overrides_runpath=yes
11882 shlibpath_var=DYLD_LIBRARY_PATH
11883 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11885 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11886 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11889 dgux*)
11890 version_type=linux
11891 need_lib_prefix=no
11892 need_version=no
11893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11894 soname_spec='${libname}${release}${shared_ext}$major'
11895 shlibpath_var=LD_LIBRARY_PATH
11898 freebsd* | dragonfly*)
11899 # DragonFly does not have aout. When/if they implement a new
11900 # versioning mechanism, adjust this.
11901 if test -x /usr/bin/objformat; then
11902 objformat=`/usr/bin/objformat`
11903 else
11904 case $host_os in
11905 freebsd[23].*) objformat=aout ;;
11906 *) objformat=elf ;;
11907 esac
11909 version_type=freebsd-$objformat
11910 case $version_type in
11911 freebsd-elf*)
11912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11913 need_version=no
11914 need_lib_prefix=no
11916 freebsd-*)
11917 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11918 need_version=yes
11920 esac
11921 shlibpath_var=LD_LIBRARY_PATH
11922 case $host_os in
11923 freebsd2.*)
11924 shlibpath_overrides_runpath=yes
11926 freebsd3.[01]* | freebsdelf3.[01]*)
11927 shlibpath_overrides_runpath=yes
11928 hardcode_into_libs=yes
11930 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11931 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11932 shlibpath_overrides_runpath=no
11933 hardcode_into_libs=yes
11935 *) # from 4.6 on, and DragonFly
11936 shlibpath_overrides_runpath=yes
11937 hardcode_into_libs=yes
11939 esac
11942 haiku*)
11943 version_type=linux
11944 need_lib_prefix=no
11945 need_version=no
11946 dynamic_linker="$host_os runtime_loader"
11947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11948 soname_spec='${libname}${release}${shared_ext}$major'
11949 shlibpath_var=LIBRARY_PATH
11950 shlibpath_overrides_runpath=yes
11951 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11952 hardcode_into_libs=yes
11955 hpux9* | hpux10* | hpux11*)
11956 # Give a soname corresponding to the major version so that dld.sl refuses to
11957 # link against other versions.
11958 version_type=sunos
11959 need_lib_prefix=no
11960 need_version=no
11961 case $host_cpu in
11962 ia64*)
11963 shrext_cmds='.so'
11964 hardcode_into_libs=yes
11965 dynamic_linker="$host_os dld.so"
11966 shlibpath_var=LD_LIBRARY_PATH
11967 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11969 soname_spec='${libname}${release}${shared_ext}$major'
11970 if test "X$HPUX_IA64_MODE" = X32; then
11971 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11972 else
11973 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11975 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11977 hppa*64*)
11978 shrext_cmds='.sl'
11979 hardcode_into_libs=yes
11980 dynamic_linker="$host_os dld.sl"
11981 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11982 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11984 soname_spec='${libname}${release}${shared_ext}$major'
11985 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11986 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11989 shrext_cmds='.sl'
11990 dynamic_linker="$host_os dld.sl"
11991 shlibpath_var=SHLIB_PATH
11992 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11994 soname_spec='${libname}${release}${shared_ext}$major'
11996 esac
11997 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11998 postinstall_cmds='chmod 555 $lib'
11999 # or fails outright, so override atomically:
12000 install_override_mode=555
12003 interix[3-9]*)
12004 version_type=linux
12005 need_lib_prefix=no
12006 need_version=no
12007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12008 soname_spec='${libname}${release}${shared_ext}$major'
12009 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12010 shlibpath_var=LD_LIBRARY_PATH
12011 shlibpath_overrides_runpath=no
12012 hardcode_into_libs=yes
12015 irix5* | irix6* | nonstopux*)
12016 case $host_os in
12017 nonstopux*) version_type=nonstopux ;;
12019 if test "$lt_cv_prog_gnu_ld" = yes; then
12020 version_type=linux
12021 else
12022 version_type=irix
12023 fi ;;
12024 esac
12025 need_lib_prefix=no
12026 need_version=no
12027 soname_spec='${libname}${release}${shared_ext}$major'
12028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12029 case $host_os in
12030 irix5* | nonstopux*)
12031 libsuff= shlibsuff=
12034 case $LD in # libtool.m4 will add one of these switches to LD
12035 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12036 libsuff= shlibsuff= libmagic=32-bit;;
12037 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12038 libsuff=32 shlibsuff=N32 libmagic=N32;;
12039 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12040 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12041 *) libsuff= shlibsuff= libmagic=never-match;;
12042 esac
12044 esac
12045 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12046 shlibpath_overrides_runpath=no
12047 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12048 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12049 hardcode_into_libs=yes
12052 # No shared lib support for Linux oldld, aout, or coff.
12053 linux*oldld* | linux*aout* | linux*coff*)
12054 dynamic_linker=no
12057 # This must be Linux ELF.
12059 # uclinux* changes (here and below) have been submitted to the libtool
12060 # project, but have not yet been accepted: they are GCC-local changes
12061 # for the time being. (See
12062 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12063 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12064 version_type=linux
12065 need_lib_prefix=no
12066 need_version=no
12067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068 soname_spec='${libname}${release}${shared_ext}$major'
12069 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12070 shlibpath_var=LD_LIBRARY_PATH
12071 shlibpath_overrides_runpath=no
12073 # Some binutils ld are patched to set DT_RUNPATH
12074 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12075 $as_echo_n "(cached) " >&6
12076 else
12077 lt_cv_shlibpath_overrides_runpath=no
12078 save_LDFLAGS=$LDFLAGS
12079 save_libdir=$libdir
12080 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12081 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12082 if test x$gcc_no_link = xyes; then
12083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12089 main ()
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12098 lt_cv_shlibpath_overrides_runpath=yes
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LDFLAGS=$save_LDFLAGS
12104 libdir=$save_libdir
12108 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12110 # This implies no fast_install, which is unacceptable.
12111 # Some rework will be needed to allow for fast_install
12112 # before this can be enabled.
12113 hardcode_into_libs=yes
12115 # Append ld.so.conf contents to the search path
12116 if test -f /etc/ld.so.conf; then
12117 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' ' '`
12118 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12121 # We used to test for /lib/ld.so.1 and disable shared libraries on
12122 # powerpc, because MkLinux only supported shared libraries with the
12123 # GNU dynamic linker. Since this was broken with cross compilers,
12124 # most powerpc-linux boxes support dynamic linking these days and
12125 # people can always --disable-shared, the test was removed, and we
12126 # assume the GNU/Linux dynamic linker is in use.
12127 dynamic_linker='GNU/Linux ld.so'
12130 netbsd*)
12131 version_type=sunos
12132 need_lib_prefix=no
12133 need_version=no
12134 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12136 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12137 dynamic_linker='NetBSD (a.out) ld.so'
12138 else
12139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12140 soname_spec='${libname}${release}${shared_ext}$major'
12141 dynamic_linker='NetBSD ld.elf_so'
12143 shlibpath_var=LD_LIBRARY_PATH
12144 shlibpath_overrides_runpath=yes
12145 hardcode_into_libs=yes
12148 newsos6)
12149 version_type=linux
12150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12151 shlibpath_var=LD_LIBRARY_PATH
12152 shlibpath_overrides_runpath=yes
12155 *nto* | *qnx*)
12156 version_type=qnx
12157 need_lib_prefix=no
12158 need_version=no
12159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12160 soname_spec='${libname}${release}${shared_ext}$major'
12161 shlibpath_var=LD_LIBRARY_PATH
12162 shlibpath_overrides_runpath=no
12163 hardcode_into_libs=yes
12164 dynamic_linker='ldqnx.so'
12167 openbsd*)
12168 version_type=sunos
12169 sys_lib_dlsearch_path_spec="/usr/lib"
12170 need_lib_prefix=no
12171 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12172 case $host_os in
12173 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12174 *) need_version=no ;;
12175 esac
12176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12177 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12178 shlibpath_var=LD_LIBRARY_PATH
12179 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12180 case $host_os in
12181 openbsd2.[89] | openbsd2.[89].*)
12182 shlibpath_overrides_runpath=no
12185 shlibpath_overrides_runpath=yes
12187 esac
12188 else
12189 shlibpath_overrides_runpath=yes
12193 os2*)
12194 libname_spec='$name'
12195 shrext_cmds=".dll"
12196 need_lib_prefix=no
12197 library_names_spec='$libname${shared_ext} $libname.a'
12198 dynamic_linker='OS/2 ld.exe'
12199 shlibpath_var=LIBPATH
12202 osf3* | osf4* | osf5*)
12203 version_type=osf
12204 need_lib_prefix=no
12205 need_version=no
12206 soname_spec='${libname}${release}${shared_ext}$major'
12207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12208 shlibpath_var=LD_LIBRARY_PATH
12209 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12210 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12213 rdos*)
12214 dynamic_linker=no
12217 solaris*)
12218 version_type=linux
12219 need_lib_prefix=no
12220 need_version=no
12221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12222 soname_spec='${libname}${release}${shared_ext}$major'
12223 shlibpath_var=LD_LIBRARY_PATH
12224 shlibpath_overrides_runpath=yes
12225 hardcode_into_libs=yes
12226 # ldd complains unless libraries are executable
12227 postinstall_cmds='chmod +x $lib'
12230 sunos4*)
12231 version_type=sunos
12232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12233 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12234 shlibpath_var=LD_LIBRARY_PATH
12235 shlibpath_overrides_runpath=yes
12236 if test "$with_gnu_ld" = yes; then
12237 need_lib_prefix=no
12239 need_version=yes
12242 sysv4 | sysv4.3*)
12243 version_type=linux
12244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12245 soname_spec='${libname}${release}${shared_ext}$major'
12246 shlibpath_var=LD_LIBRARY_PATH
12247 case $host_vendor in
12248 sni)
12249 shlibpath_overrides_runpath=no
12250 need_lib_prefix=no
12251 runpath_var=LD_RUN_PATH
12253 siemens)
12254 need_lib_prefix=no
12256 motorola)
12257 need_lib_prefix=no
12258 need_version=no
12259 shlibpath_overrides_runpath=no
12260 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12262 esac
12265 sysv4*MP*)
12266 if test -d /usr/nec ;then
12267 version_type=linux
12268 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12269 soname_spec='$libname${shared_ext}.$major'
12270 shlibpath_var=LD_LIBRARY_PATH
12274 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12275 version_type=freebsd-elf
12276 need_lib_prefix=no
12277 need_version=no
12278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12279 soname_spec='${libname}${release}${shared_ext}$major'
12280 shlibpath_var=LD_LIBRARY_PATH
12281 shlibpath_overrides_runpath=yes
12282 hardcode_into_libs=yes
12283 if test "$with_gnu_ld" = yes; then
12284 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12285 else
12286 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12287 case $host_os in
12288 sco3.2v5*)
12289 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12291 esac
12293 sys_lib_dlsearch_path_spec='/usr/lib'
12296 tpf*)
12297 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12298 version_type=linux
12299 need_lib_prefix=no
12300 need_version=no
12301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12302 shlibpath_var=LD_LIBRARY_PATH
12303 shlibpath_overrides_runpath=no
12304 hardcode_into_libs=yes
12307 uts4*)
12308 version_type=linux
12309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12310 soname_spec='${libname}${release}${shared_ext}$major'
12311 shlibpath_var=LD_LIBRARY_PATH
12315 dynamic_linker=no
12317 esac
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12319 $as_echo "$dynamic_linker" >&6; }
12320 test "$dynamic_linker" = no && can_build_shared=no
12322 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12323 if test "$GCC" = yes; then
12324 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12327 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12328 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12330 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12331 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12426 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12427 hardcode_action=
12428 if test -n "$hardcode_libdir_flag_spec" ||
12429 test -n "$runpath_var" ||
12430 test "X$hardcode_automatic" = "Xyes" ; then
12432 # We can hardcode non-existent directories.
12433 if test "$hardcode_direct" != no &&
12434 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12435 # have to relink, otherwise we might link with an installed library
12436 # when we should be linking with a yet-to-be-installed one
12437 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12438 test "$hardcode_minus_L" != no; then
12439 # Linking always hardcodes the temporary library directory.
12440 hardcode_action=relink
12441 else
12442 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12443 hardcode_action=immediate
12445 else
12446 # We cannot hardcode anything, or else we can only hardcode existing
12447 # directories.
12448 hardcode_action=unsupported
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12451 $as_echo "$hardcode_action" >&6; }
12453 if test "$hardcode_action" = relink ||
12454 test "$inherit_rpath" = yes; then
12455 # Fast installation is not supported
12456 enable_fast_install=no
12457 elif test "$shlibpath_overrides_runpath" = yes ||
12458 test "$enable_shared" = no; then
12459 # Fast installation is not necessary
12460 enable_fast_install=needless
12468 if test "x$enable_dlopen" != xyes; then
12469 enable_dlopen=unknown
12470 enable_dlopen_self=unknown
12471 enable_dlopen_self_static=unknown
12472 else
12473 lt_cv_dlopen=no
12474 lt_cv_dlopen_libs=
12476 case $host_os in
12477 beos*)
12478 lt_cv_dlopen="load_add_on"
12479 lt_cv_dlopen_libs=
12480 lt_cv_dlopen_self=yes
12483 mingw* | pw32* | cegcc*)
12484 lt_cv_dlopen="LoadLibrary"
12485 lt_cv_dlopen_libs=
12488 cygwin*)
12489 lt_cv_dlopen="dlopen"
12490 lt_cv_dlopen_libs=
12493 darwin*)
12494 # if libdl is installed we need to link against it
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12496 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12497 if ${ac_cv_lib_dl_dlopen+:} false; then :
12498 $as_echo_n "(cached) " >&6
12499 else
12500 ac_check_lib_save_LIBS=$LIBS
12501 LIBS="-ldl $LIBS"
12502 if test x$gcc_no_link = xyes; then
12503 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12508 /* Override any GCC internal prototype to avoid an error.
12509 Use char because int might match the return type of a GCC
12510 builtin and then its argument prototype would still apply. */
12511 #ifdef __cplusplus
12512 extern "C"
12513 #endif
12514 char dlopen ();
12516 main ()
12518 return dlopen ();
12520 return 0;
12522 _ACEOF
12523 if ac_fn_c_try_link "$LINENO"; then :
12524 ac_cv_lib_dl_dlopen=yes
12525 else
12526 ac_cv_lib_dl_dlopen=no
12528 rm -f core conftest.err conftest.$ac_objext \
12529 conftest$ac_exeext conftest.$ac_ext
12530 LIBS=$ac_check_lib_save_LIBS
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12533 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12534 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12535 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12536 else
12538 lt_cv_dlopen="dyld"
12539 lt_cv_dlopen_libs=
12540 lt_cv_dlopen_self=yes
12547 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12548 if test "x$ac_cv_func_shl_load" = xyes; then :
12549 lt_cv_dlopen="shl_load"
12550 else
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12552 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12553 if ${ac_cv_lib_dld_shl_load+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-ldld $LIBS"
12558 if test x$gcc_no_link = xyes; then
12559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12567 #ifdef __cplusplus
12568 extern "C"
12569 #endif
12570 char shl_load ();
12572 main ()
12574 return shl_load ();
12576 return 0;
12578 _ACEOF
12579 if ac_fn_c_try_link "$LINENO"; then :
12580 ac_cv_lib_dld_shl_load=yes
12581 else
12582 ac_cv_lib_dld_shl_load=no
12584 rm -f core conftest.err conftest.$ac_objext \
12585 conftest$ac_exeext conftest.$ac_ext
12586 LIBS=$ac_check_lib_save_LIBS
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12589 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12590 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12591 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12592 else
12593 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12594 if test "x$ac_cv_func_dlopen" = xyes; then :
12595 lt_cv_dlopen="dlopen"
12596 else
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12598 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12599 if ${ac_cv_lib_dl_dlopen+:} false; then :
12600 $as_echo_n "(cached) " >&6
12601 else
12602 ac_check_lib_save_LIBS=$LIBS
12603 LIBS="-ldl $LIBS"
12604 if test x$gcc_no_link = xyes; then
12605 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12613 #ifdef __cplusplus
12614 extern "C"
12615 #endif
12616 char dlopen ();
12618 main ()
12620 return dlopen ();
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_link "$LINENO"; then :
12626 ac_cv_lib_dl_dlopen=yes
12627 else
12628 ac_cv_lib_dl_dlopen=no
12630 rm -f core conftest.err conftest.$ac_objext \
12631 conftest$ac_exeext conftest.$ac_ext
12632 LIBS=$ac_check_lib_save_LIBS
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12635 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12636 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12637 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12638 else
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12640 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12641 if ${ac_cv_lib_svld_dlopen+:} false; then :
12642 $as_echo_n "(cached) " >&6
12643 else
12644 ac_check_lib_save_LIBS=$LIBS
12645 LIBS="-lsvld $LIBS"
12646 if test x$gcc_no_link = xyes; then
12647 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 #ifdef __cplusplus
12656 extern "C"
12657 #endif
12658 char dlopen ();
12660 main ()
12662 return dlopen ();
12664 return 0;
12666 _ACEOF
12667 if ac_fn_c_try_link "$LINENO"; then :
12668 ac_cv_lib_svld_dlopen=yes
12669 else
12670 ac_cv_lib_svld_dlopen=no
12672 rm -f core conftest.err conftest.$ac_objext \
12673 conftest$ac_exeext conftest.$ac_ext
12674 LIBS=$ac_check_lib_save_LIBS
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12677 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12678 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12679 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12680 else
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12682 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12683 if ${ac_cv_lib_dld_dld_link+:} false; then :
12684 $as_echo_n "(cached) " >&6
12685 else
12686 ac_check_lib_save_LIBS=$LIBS
12687 LIBS="-ldld $LIBS"
12688 if test x$gcc_no_link = xyes; then
12689 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12694 /* Override any GCC internal prototype to avoid an error.
12695 Use char because int might match the return type of a GCC
12696 builtin and then its argument prototype would still apply. */
12697 #ifdef __cplusplus
12698 extern "C"
12699 #endif
12700 char dld_link ();
12702 main ()
12704 return dld_link ();
12706 return 0;
12708 _ACEOF
12709 if ac_fn_c_try_link "$LINENO"; then :
12710 ac_cv_lib_dld_dld_link=yes
12711 else
12712 ac_cv_lib_dld_dld_link=no
12714 rm -f core conftest.err conftest.$ac_objext \
12715 conftest$ac_exeext conftest.$ac_ext
12716 LIBS=$ac_check_lib_save_LIBS
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12719 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12720 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12721 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12740 esac
12742 if test "x$lt_cv_dlopen" != xno; then
12743 enable_dlopen=yes
12744 else
12745 enable_dlopen=no
12748 case $lt_cv_dlopen in
12749 dlopen)
12750 save_CPPFLAGS="$CPPFLAGS"
12751 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12753 save_LDFLAGS="$LDFLAGS"
12754 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12756 save_LIBS="$LIBS"
12757 LIBS="$lt_cv_dlopen_libs $LIBS"
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12760 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12761 if ${lt_cv_dlopen_self+:} false; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 if test "$cross_compiling" = yes; then :
12765 lt_cv_dlopen_self=cross
12766 else
12767 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12768 lt_status=$lt_dlunknown
12769 cat > conftest.$ac_ext <<_LT_EOF
12770 #line 12770 "configure"
12771 #include "confdefs.h"
12773 #if HAVE_DLFCN_H
12774 #include <dlfcn.h>
12775 #endif
12777 #include <stdio.h>
12779 #ifdef RTLD_GLOBAL
12780 # define LT_DLGLOBAL RTLD_GLOBAL
12781 #else
12782 # ifdef DL_GLOBAL
12783 # define LT_DLGLOBAL DL_GLOBAL
12784 # else
12785 # define LT_DLGLOBAL 0
12786 # endif
12787 #endif
12789 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12790 find out it does not work in some platform. */
12791 #ifndef LT_DLLAZY_OR_NOW
12792 # ifdef RTLD_LAZY
12793 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12794 # else
12795 # ifdef DL_LAZY
12796 # define LT_DLLAZY_OR_NOW DL_LAZY
12797 # else
12798 # ifdef RTLD_NOW
12799 # define LT_DLLAZY_OR_NOW RTLD_NOW
12800 # else
12801 # ifdef DL_NOW
12802 # define LT_DLLAZY_OR_NOW DL_NOW
12803 # else
12804 # define LT_DLLAZY_OR_NOW 0
12805 # endif
12806 # endif
12807 # endif
12808 # endif
12809 #endif
12811 /* When -fvisbility=hidden is used, assume the code has been annotated
12812 correspondingly for the symbols needed. */
12813 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12814 void fnord () __attribute__((visibility("default")));
12815 #endif
12817 void fnord () { int i=42; }
12818 int main ()
12820 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12821 int status = $lt_dlunknown;
12823 if (self)
12825 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12826 else
12828 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12829 else puts (dlerror ());
12831 /* dlclose (self); */
12833 else
12834 puts (dlerror ());
12836 return status;
12838 _LT_EOF
12839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12840 (eval $ac_link) 2>&5
12841 ac_status=$?
12842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12843 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12844 (./conftest; exit; ) >&5 2>/dev/null
12845 lt_status=$?
12846 case x$lt_status in
12847 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12848 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12849 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12850 esac
12851 else :
12852 # compilation failed
12853 lt_cv_dlopen_self=no
12856 rm -fr conftest*
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12861 $as_echo "$lt_cv_dlopen_self" >&6; }
12863 if test "x$lt_cv_dlopen_self" = xyes; then
12864 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12866 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12867 if ${lt_cv_dlopen_self_static+:} false; then :
12868 $as_echo_n "(cached) " >&6
12869 else
12870 if test "$cross_compiling" = yes; then :
12871 lt_cv_dlopen_self_static=cross
12872 else
12873 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12874 lt_status=$lt_dlunknown
12875 cat > conftest.$ac_ext <<_LT_EOF
12876 #line 12876 "configure"
12877 #include "confdefs.h"
12879 #if HAVE_DLFCN_H
12880 #include <dlfcn.h>
12881 #endif
12883 #include <stdio.h>
12885 #ifdef RTLD_GLOBAL
12886 # define LT_DLGLOBAL RTLD_GLOBAL
12887 #else
12888 # ifdef DL_GLOBAL
12889 # define LT_DLGLOBAL DL_GLOBAL
12890 # else
12891 # define LT_DLGLOBAL 0
12892 # endif
12893 #endif
12895 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12896 find out it does not work in some platform. */
12897 #ifndef LT_DLLAZY_OR_NOW
12898 # ifdef RTLD_LAZY
12899 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12900 # else
12901 # ifdef DL_LAZY
12902 # define LT_DLLAZY_OR_NOW DL_LAZY
12903 # else
12904 # ifdef RTLD_NOW
12905 # define LT_DLLAZY_OR_NOW RTLD_NOW
12906 # else
12907 # ifdef DL_NOW
12908 # define LT_DLLAZY_OR_NOW DL_NOW
12909 # else
12910 # define LT_DLLAZY_OR_NOW 0
12911 # endif
12912 # endif
12913 # endif
12914 # endif
12915 #endif
12917 /* When -fvisbility=hidden is used, assume the code has been annotated
12918 correspondingly for the symbols needed. */
12919 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12920 void fnord () __attribute__((visibility("default")));
12921 #endif
12923 void fnord () { int i=42; }
12924 int main ()
12926 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12927 int status = $lt_dlunknown;
12929 if (self)
12931 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12932 else
12934 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12935 else puts (dlerror ());
12937 /* dlclose (self); */
12939 else
12940 puts (dlerror ());
12942 return status;
12944 _LT_EOF
12945 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12946 (eval $ac_link) 2>&5
12947 ac_status=$?
12948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12949 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12950 (./conftest; exit; ) >&5 2>/dev/null
12951 lt_status=$?
12952 case x$lt_status in
12953 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12954 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12955 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12956 esac
12957 else :
12958 # compilation failed
12959 lt_cv_dlopen_self_static=no
12962 rm -fr conftest*
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12967 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12970 CPPFLAGS="$save_CPPFLAGS"
12971 LDFLAGS="$save_LDFLAGS"
12972 LIBS="$save_LIBS"
12974 esac
12976 case $lt_cv_dlopen_self in
12977 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12978 *) enable_dlopen_self=unknown ;;
12979 esac
12981 case $lt_cv_dlopen_self_static in
12982 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12983 *) enable_dlopen_self_static=unknown ;;
12984 esac
13003 striplib=
13004 old_striplib=
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13006 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13007 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13008 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13009 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13011 $as_echo "yes" >&6; }
13012 else
13013 # FIXME - insert some real tests, host_os isn't really good enough
13014 case $host_os in
13015 darwin*)
13016 if test -n "$STRIP" ; then
13017 striplib="$STRIP -x"
13018 old_striplib="$STRIP -S"
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13020 $as_echo "yes" >&6; }
13021 else
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13023 $as_echo "no" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 $as_echo "no" >&6; }
13030 esac
13044 # Report which library types will actually be built
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13046 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13048 $as_echo "$can_build_shared" >&6; }
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13051 $as_echo_n "checking whether to build shared libraries... " >&6; }
13052 test "$can_build_shared" = "no" && enable_shared=no
13054 # On AIX, shared libraries and static libraries use the same namespace, and
13055 # are all built from PIC.
13056 case $host_os in
13057 aix3*)
13058 test "$enable_shared" = yes && enable_static=no
13059 if test -n "$RANLIB"; then
13060 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13061 postinstall_cmds='$RANLIB $lib'
13065 aix[4-9]*)
13066 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13067 test "$enable_shared" = yes && enable_static=no
13070 esac
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13072 $as_echo "$enable_shared" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13075 $as_echo_n "checking whether to build static libraries... " >&6; }
13076 # Make sure either enable_shared or enable_static is yes.
13077 test "$enable_shared" = yes || enable_static=yes
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13079 $as_echo "$enable_static" >&6; }
13085 ac_ext=c
13086 ac_cpp='$CPP $CPPFLAGS'
13087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13091 CC="$lt_save_CC"
13105 ac_config_commands="$ac_config_commands libtool"
13110 # Only expand once:
13113 LIBM=
13114 case $host in
13115 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13116 # These system don't have libm, or don't need it
13118 *-ncr-sysv4.3*)
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13120 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13121 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124 ac_check_lib_save_LIBS=$LIBS
13125 LIBS="-lmw $LIBS"
13126 if test x$gcc_no_link = xyes; then
13127 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 /* Override any GCC internal prototype to avoid an error.
13133 Use char because int might match the return type of a GCC
13134 builtin and then its argument prototype would still apply. */
13135 #ifdef __cplusplus
13136 extern "C"
13137 #endif
13138 char _mwvalidcheckl ();
13140 main ()
13142 return _mwvalidcheckl ();
13144 return 0;
13146 _ACEOF
13147 if ac_fn_c_try_link "$LINENO"; then :
13148 ac_cv_lib_mw__mwvalidcheckl=yes
13149 else
13150 ac_cv_lib_mw__mwvalidcheckl=no
13152 rm -f core conftest.err conftest.$ac_objext \
13153 conftest$ac_exeext conftest.$ac_ext
13154 LIBS=$ac_check_lib_save_LIBS
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13157 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13158 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13159 LIBM="-lmw"
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13163 $as_echo_n "checking for cos in -lm... " >&6; }
13164 if ${ac_cv_lib_m_cos+:} false; then :
13165 $as_echo_n "(cached) " >&6
13166 else
13167 ac_check_lib_save_LIBS=$LIBS
13168 LIBS="-lm $LIBS"
13169 if test x$gcc_no_link = xyes; then
13170 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13178 #ifdef __cplusplus
13179 extern "C"
13180 #endif
13181 char cos ();
13183 main ()
13185 return cos ();
13187 return 0;
13189 _ACEOF
13190 if ac_fn_c_try_link "$LINENO"; then :
13191 ac_cv_lib_m_cos=yes
13192 else
13193 ac_cv_lib_m_cos=no
13195 rm -f core conftest.err conftest.$ac_objext \
13196 conftest$ac_exeext conftest.$ac_ext
13197 LIBS=$ac_check_lib_save_LIBS
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13200 $as_echo "$ac_cv_lib_m_cos" >&6; }
13201 if test "x$ac_cv_lib_m_cos" = xyes; then :
13202 LIBM="$LIBM -lm"
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13208 $as_echo_n "checking for cos in -lm... " >&6; }
13209 if ${ac_cv_lib_m_cos+:} false; then :
13210 $as_echo_n "(cached) " >&6
13211 else
13212 ac_check_lib_save_LIBS=$LIBS
13213 LIBS="-lm $LIBS"
13214 if test x$gcc_no_link = xyes; then
13215 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13220 /* Override any GCC internal prototype to avoid an error.
13221 Use char because int might match the return type of a GCC
13222 builtin and then its argument prototype would still apply. */
13223 #ifdef __cplusplus
13224 extern "C"
13225 #endif
13226 char cos ();
13228 main ()
13230 return cos ();
13232 return 0;
13234 _ACEOF
13235 if ac_fn_c_try_link "$LINENO"; then :
13236 ac_cv_lib_m_cos=yes
13237 else
13238 ac_cv_lib_m_cos=no
13240 rm -f core conftest.err conftest.$ac_objext \
13241 conftest$ac_exeext conftest.$ac_ext
13242 LIBS=$ac_check_lib_save_LIBS
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13245 $as_echo "$ac_cv_lib_m_cos" >&6; }
13246 if test "x$ac_cv_lib_m_cos" = xyes; then :
13247 LIBM="-lm"
13251 esac
13257 case $host in
13258 *-cygwin* | *-mingw*)
13259 # 'host' will be top-level target in the case of a target lib,
13260 # we must compare to with_cross_host to decide if this is a native
13261 # or cross-compiler and select where to install dlls appropriately.
13262 if test -n "$with_cross_host" &&
13263 test x"$with_cross_host" != x"no"; then
13264 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13265 else
13266 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13270 lt_host_flags=
13272 esac
13278 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13280 # We need gfortran to compile parts of the library
13281 #AC_PROG_FC(gfortran)
13282 FC="$GFORTRAN"
13283 ac_ext=${ac_fc_srcext-f}
13284 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13285 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13286 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13287 if test -n "$ac_tool_prefix"; then
13288 for ac_prog in gfortran
13290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13291 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 $as_echo_n "checking for $ac_word... " >&6; }
13294 if ${ac_cv_prog_FC+:} false; then :
13295 $as_echo_n "(cached) " >&6
13296 else
13297 if test -n "$FC"; then
13298 ac_cv_prog_FC="$FC" # Let the user override the test.
13299 else
13300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13301 for as_dir in $PATH
13303 IFS=$as_save_IFS
13304 test -z "$as_dir" && as_dir=.
13305 for ac_exec_ext in '' $ac_executable_extensions; do
13306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13307 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13309 break 2
13311 done
13312 done
13313 IFS=$as_save_IFS
13317 FC=$ac_cv_prog_FC
13318 if test -n "$FC"; then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13320 $as_echo "$FC" >&6; }
13321 else
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13323 $as_echo "no" >&6; }
13327 test -n "$FC" && break
13328 done
13330 if test -z "$FC"; then
13331 ac_ct_FC=$FC
13332 for ac_prog in gfortran
13334 # Extract the first word of "$ac_prog", so it can be a program name with args.
13335 set dummy $ac_prog; ac_word=$2
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13337 $as_echo_n "checking for $ac_word... " >&6; }
13338 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13339 $as_echo_n "(cached) " >&6
13340 else
13341 if test -n "$ac_ct_FC"; then
13342 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13343 else
13344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13345 for as_dir in $PATH
13347 IFS=$as_save_IFS
13348 test -z "$as_dir" && as_dir=.
13349 for ac_exec_ext in '' $ac_executable_extensions; do
13350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13351 ac_cv_prog_ac_ct_FC="$ac_prog"
13352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13353 break 2
13355 done
13356 done
13357 IFS=$as_save_IFS
13361 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13362 if test -n "$ac_ct_FC"; then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13364 $as_echo "$ac_ct_FC" >&6; }
13365 else
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13371 test -n "$ac_ct_FC" && break
13372 done
13374 if test "x$ac_ct_FC" = x; then
13375 FC=""
13376 else
13377 case $cross_compiling:$ac_tool_warned in
13378 yes:)
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13381 ac_tool_warned=yes ;;
13382 esac
13383 FC=$ac_ct_FC
13388 # Provide some information about the compiler.
13389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13390 set X $ac_compile
13391 ac_compiler=$2
13392 for ac_option in --version -v -V -qversion; do
13393 { { ac_try="$ac_compiler $ac_option >&5"
13394 case "(($ac_try" in
13395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13396 *) ac_try_echo=$ac_try;;
13397 esac
13398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13399 $as_echo "$ac_try_echo"; } >&5
13400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13401 ac_status=$?
13402 if test -s conftest.err; then
13403 sed '10a\
13404 ... rest of stderr output deleted ...
13405 10q' conftest.err >conftest.er1
13406 cat conftest.er1 >&5
13408 rm -f conftest.er1 conftest.err
13409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13410 test $ac_status = 0; }
13411 done
13412 rm -f a.out
13414 # If we don't use `.F' as extension, the preprocessor is not run on the
13415 # input file. (Note that this only needs to work for GNU compilers.)
13416 ac_save_ext=$ac_ext
13417 ac_ext=F
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13419 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13420 if ${ac_cv_fc_compiler_gnu+:} false; then :
13421 $as_echo_n "(cached) " >&6
13422 else
13423 cat > conftest.$ac_ext <<_ACEOF
13424 program main
13425 #ifndef __GNUC__
13426 choke me
13427 #endif
13430 _ACEOF
13431 if ac_fn_fc_try_compile "$LINENO"; then :
13432 ac_compiler_gnu=yes
13433 else
13434 ac_compiler_gnu=no
13436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13437 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13441 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13442 ac_ext=$ac_save_ext
13443 ac_test_FCFLAGS=${FCFLAGS+set}
13444 ac_save_FCFLAGS=$FCFLAGS
13445 FCFLAGS=
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13447 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13448 if ${ac_cv_prog_fc_g+:} false; then :
13449 $as_echo_n "(cached) " >&6
13450 else
13451 FCFLAGS=-g
13452 cat > conftest.$ac_ext <<_ACEOF
13453 program main
13456 _ACEOF
13457 if ac_fn_fc_try_compile "$LINENO"; then :
13458 ac_cv_prog_fc_g=yes
13459 else
13460 ac_cv_prog_fc_g=no
13462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13466 $as_echo "$ac_cv_prog_fc_g" >&6; }
13467 if test "$ac_test_FCFLAGS" = set; then
13468 FCFLAGS=$ac_save_FCFLAGS
13469 elif test $ac_cv_prog_fc_g = yes; then
13470 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13471 FCFLAGS="-g -O2"
13472 else
13473 FCFLAGS="-g"
13475 else
13476 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13477 FCFLAGS="-O2"
13478 else
13479 FCFLAGS=
13483 if test $ac_compiler_gnu = yes; then
13484 GFC=yes
13485 else
13486 GFC=
13488 ac_ext=c
13489 ac_cpp='$CPP $CPPFLAGS'
13490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13494 ac_ext=${ac_fc_srcext-f}
13495 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13496 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13497 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13500 if test -z "$FC" || test "X$FC" = "Xno"; then
13501 _lt_disable_FC=yes
13504 archive_cmds_need_lc_FC=no
13505 allow_undefined_flag_FC=
13506 always_export_symbols_FC=no
13507 archive_expsym_cmds_FC=
13508 export_dynamic_flag_spec_FC=
13509 hardcode_direct_FC=no
13510 hardcode_direct_absolute_FC=no
13511 hardcode_libdir_flag_spec_FC=
13512 hardcode_libdir_flag_spec_ld_FC=
13513 hardcode_libdir_separator_FC=
13514 hardcode_minus_L_FC=no
13515 hardcode_automatic_FC=no
13516 inherit_rpath_FC=no
13517 module_cmds_FC=
13518 module_expsym_cmds_FC=
13519 link_all_deplibs_FC=unknown
13520 old_archive_cmds_FC=$old_archive_cmds
13521 reload_flag_FC=$reload_flag
13522 reload_cmds_FC=$reload_cmds
13523 no_undefined_flag_FC=
13524 whole_archive_flag_spec_FC=
13525 enable_shared_with_static_runtimes_FC=no
13527 # Source file extension for fc test sources.
13528 ac_ext=${ac_fc_srcext-f}
13530 # Object file extension for compiled fc test sources.
13531 objext=o
13532 objext_FC=$objext
13534 # No sense in running all these tests if we already determined that
13535 # the FC compiler isn't working. Some variables (like enable_shared)
13536 # are currently assumed to apply to all compilers on this platform,
13537 # and will be corrupted by setting them based on a non-working compiler.
13538 if test "$_lt_disable_FC" != yes; then
13539 # Code to be used in simple compile tests
13540 lt_simple_compile_test_code="\
13541 subroutine t
13542 return
13546 # Code to be used in simple link tests
13547 lt_simple_link_test_code="\
13548 program t
13552 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13559 # If no C compiler was specified, use CC.
13560 LTCC=${LTCC-"$CC"}
13562 # If no C compiler flags were specified, use CFLAGS.
13563 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13565 # Allow CC to be a program name with arguments.
13566 compiler=$CC
13569 # save warnings/boilerplate of simple test code
13570 ac_outfile=conftest.$ac_objext
13571 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13572 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13573 _lt_compiler_boilerplate=`cat conftest.err`
13574 $RM conftest*
13576 ac_outfile=conftest.$ac_objext
13577 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13578 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13579 _lt_linker_boilerplate=`cat conftest.err`
13580 $RM -r conftest*
13583 # Allow CC to be a program name with arguments.
13584 lt_save_CC="$CC"
13585 lt_save_GCC=$GCC
13586 CC=${FC-"f95"}
13587 compiler=$CC
13588 GCC=$ac_cv_fc_compiler_gnu
13590 compiler_FC=$CC
13591 for cc_temp in $compiler""; do
13592 case $cc_temp in
13593 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13594 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13595 \-*) ;;
13596 *) break;;
13597 esac
13598 done
13599 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13602 if test -n "$compiler"; then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13604 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13606 $as_echo "$can_build_shared" >&6; }
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13609 $as_echo_n "checking whether to build shared libraries... " >&6; }
13610 test "$can_build_shared" = "no" && enable_shared=no
13612 # On AIX, shared libraries and static libraries use the same namespace, and
13613 # are all built from PIC.
13614 case $host_os in
13615 aix3*)
13616 test "$enable_shared" = yes && enable_static=no
13617 if test -n "$RANLIB"; then
13618 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13619 postinstall_cmds='$RANLIB $lib'
13622 aix[4-9]*)
13623 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13624 test "$enable_shared" = yes && enable_static=no
13627 esac
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13629 $as_echo "$enable_shared" >&6; }
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13632 $as_echo_n "checking whether to build static libraries... " >&6; }
13633 # Make sure either enable_shared or enable_static is yes.
13634 test "$enable_shared" = yes || enable_static=yes
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13636 $as_echo "$enable_static" >&6; }
13638 GCC_FC="$ac_cv_fc_compiler_gnu"
13639 LD_FC="$LD"
13641 ## CAVEAT EMPTOR:
13642 ## There is no encapsulation within the following macros, do not change
13643 ## the running order or otherwise move them around unless you know exactly
13644 ## what you are doing...
13645 # Dependencies to place before and after the object being linked:
13646 predep_objects_FC=
13647 postdep_objects_FC=
13648 predeps_FC=
13649 postdeps_FC=
13650 compiler_lib_search_path_FC=
13652 cat > conftest.$ac_ext <<_LT_EOF
13653 subroutine foo
13654 implicit none
13655 integer a
13657 return
13659 _LT_EOF
13661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13662 (eval $ac_compile) 2>&5
13663 ac_status=$?
13664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13665 test $ac_status = 0; }; then
13666 # Parse the compiler output and extract the necessary
13667 # objects, libraries and library flags.
13669 # Sentinel used to keep track of whether or not we are before
13670 # the conftest object file.
13671 pre_test_object_deps_done=no
13673 for p in `eval "$output_verbose_link_cmd"`; do
13674 case $p in
13676 -L* | -R* | -l*)
13677 # Some compilers place space between "-{L,R}" and the path.
13678 # Remove the space.
13679 if test $p = "-L" ||
13680 test $p = "-R"; then
13681 prev=$p
13682 continue
13683 else
13684 prev=
13687 if test "$pre_test_object_deps_done" = no; then
13688 case $p in
13689 -L* | -R*)
13690 # Internal compiler library paths should come after those
13691 # provided the user. The postdeps already come after the
13692 # user supplied libs so there is no need to process them.
13693 if test -z "$compiler_lib_search_path_FC"; then
13694 compiler_lib_search_path_FC="${prev}${p}"
13695 else
13696 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13699 # The "-l" case would never come before the object being
13700 # linked, so don't bother handling this case.
13701 esac
13702 else
13703 if test -z "$postdeps_FC"; then
13704 postdeps_FC="${prev}${p}"
13705 else
13706 postdeps_FC="${postdeps_FC} ${prev}${p}"
13711 *.$objext)
13712 # This assumes that the test object file only shows up
13713 # once in the compiler output.
13714 if test "$p" = "conftest.$objext"; then
13715 pre_test_object_deps_done=yes
13716 continue
13719 if test "$pre_test_object_deps_done" = no; then
13720 if test -z "$predep_objects_FC"; then
13721 predep_objects_FC="$p"
13722 else
13723 predep_objects_FC="$predep_objects_FC $p"
13725 else
13726 if test -z "$postdep_objects_FC"; then
13727 postdep_objects_FC="$p"
13728 else
13729 postdep_objects_FC="$postdep_objects_FC $p"
13734 *) ;; # Ignore the rest.
13736 esac
13737 done
13739 # Clean up.
13740 rm -f a.out a.exe
13741 else
13742 echo "libtool.m4: error: problem compiling FC test program"
13745 $RM -f confest.$objext
13747 # PORTME: override above test on systems where it is broken
13750 case " $postdeps_FC " in
13751 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13752 esac
13753 compiler_lib_search_dirs_FC=
13754 if test -n "${compiler_lib_search_path_FC}"; then
13755 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13788 lt_prog_compiler_wl_FC=
13789 lt_prog_compiler_pic_FC=
13790 lt_prog_compiler_static_FC=
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13793 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13795 if test "$GCC" = yes; then
13796 lt_prog_compiler_wl_FC='-Wl,'
13797 lt_prog_compiler_static_FC='-static'
13799 case $host_os in
13800 aix*)
13801 # All AIX code is PIC.
13802 if test "$host_cpu" = ia64; then
13803 # AIX 5 now supports IA64 processor
13804 lt_prog_compiler_static_FC='-Bstatic'
13806 lt_prog_compiler_pic_FC='-fPIC'
13809 amigaos*)
13810 case $host_cpu in
13811 powerpc)
13812 # see comment about AmigaOS4 .so support
13813 lt_prog_compiler_pic_FC='-fPIC'
13815 m68k)
13816 # FIXME: we need at least 68020 code to build shared libraries, but
13817 # adding the `-m68020' flag to GCC prevents building anything better,
13818 # like `-m68040'.
13819 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13821 esac
13824 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13825 # PIC is the default for these OSes.
13828 mingw* | cygwin* | pw32* | os2* | cegcc*)
13829 # This hack is so that the source file can tell whether it is being
13830 # built for inclusion in a dll (and should export symbols for example).
13831 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13832 # (--disable-auto-import) libraries
13833 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13836 darwin* | rhapsody*)
13837 # PIC is the default on this platform
13838 # Common symbols not allowed in MH_DYLIB files
13839 lt_prog_compiler_pic_FC='-fno-common'
13842 haiku*)
13843 # PIC is the default for Haiku.
13844 # The "-static" flag exists, but is broken.
13845 lt_prog_compiler_static_FC=
13848 hpux*)
13849 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13850 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13851 # sets the default TLS model and affects inlining.
13852 case $host_cpu in
13853 hppa*64*)
13854 # +Z the default
13857 lt_prog_compiler_pic_FC='-fPIC'
13859 esac
13862 interix[3-9]*)
13863 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13864 # Instead, we relocate shared libraries at runtime.
13867 msdosdjgpp*)
13868 # Just because we use GCC doesn't mean we suddenly get shared libraries
13869 # on systems that don't support them.
13870 lt_prog_compiler_can_build_shared_FC=no
13871 enable_shared=no
13874 *nto* | *qnx*)
13875 # QNX uses GNU C++, but need to define -shared option too, otherwise
13876 # it will coredump.
13877 lt_prog_compiler_pic_FC='-fPIC -shared'
13880 sysv4*MP*)
13881 if test -d /usr/nec; then
13882 lt_prog_compiler_pic_FC=-Kconform_pic
13887 lt_prog_compiler_pic_FC='-fPIC'
13889 esac
13891 case $cc_basename in
13892 nvcc*) # Cuda Compiler Driver 2.2
13893 lt_prog_compiler_wl_FC='-Xlinker '
13894 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13896 esac
13897 else
13898 # PORTME Check for flag to pass linker flags through the system compiler.
13899 case $host_os in
13900 aix*)
13901 lt_prog_compiler_wl_FC='-Wl,'
13902 if test "$host_cpu" = ia64; then
13903 # AIX 5 now supports IA64 processor
13904 lt_prog_compiler_static_FC='-Bstatic'
13905 else
13906 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13910 mingw* | cygwin* | pw32* | os2* | cegcc*)
13911 # This hack is so that the source file can tell whether it is being
13912 # built for inclusion in a dll (and should export symbols for example).
13913 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13916 hpux9* | hpux10* | hpux11*)
13917 lt_prog_compiler_wl_FC='-Wl,'
13918 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13919 # not for PA HP-UX.
13920 case $host_cpu in
13921 hppa*64*|ia64*)
13922 # +Z the default
13925 lt_prog_compiler_pic_FC='+Z'
13927 esac
13928 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13929 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13932 irix5* | irix6* | nonstopux*)
13933 lt_prog_compiler_wl_FC='-Wl,'
13934 # PIC (with -KPIC) is the default.
13935 lt_prog_compiler_static_FC='-non_shared'
13938 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13939 case $cc_basename in
13940 # old Intel for x86_64 which still supported -KPIC.
13941 ecc*)
13942 lt_prog_compiler_wl_FC='-Wl,'
13943 lt_prog_compiler_pic_FC='-KPIC'
13944 lt_prog_compiler_static_FC='-static'
13946 # icc used to be incompatible with GCC.
13947 # ICC 10 doesn't accept -KPIC any more.
13948 icc* | ifort*)
13949 lt_prog_compiler_wl_FC='-Wl,'
13950 lt_prog_compiler_pic_FC='-fPIC'
13951 lt_prog_compiler_static_FC='-static'
13953 # Lahey Fortran 8.1.
13954 lf95*)
13955 lt_prog_compiler_wl_FC='-Wl,'
13956 lt_prog_compiler_pic_FC='--shared'
13957 lt_prog_compiler_static_FC='--static'
13959 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13960 # Portland Group compilers (*not* the Pentium gcc compiler,
13961 # which looks to be a dead project)
13962 lt_prog_compiler_wl_FC='-Wl,'
13963 lt_prog_compiler_pic_FC='-fpic'
13964 lt_prog_compiler_static_FC='-Bstatic'
13966 ccc*)
13967 lt_prog_compiler_wl_FC='-Wl,'
13968 # All Alpha code is PIC.
13969 lt_prog_compiler_static_FC='-non_shared'
13971 xl* | bgxl* | bgf* | mpixl*)
13972 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13973 lt_prog_compiler_wl_FC='-Wl,'
13974 lt_prog_compiler_pic_FC='-qpic'
13975 lt_prog_compiler_static_FC='-qstaticlink'
13978 case `$CC -V 2>&1 | sed 5q` in
13979 *Sun\ F* | *Sun*Fortran*)
13980 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13981 lt_prog_compiler_pic_FC='-KPIC'
13982 lt_prog_compiler_static_FC='-Bstatic'
13983 lt_prog_compiler_wl_FC=''
13985 *Sun\ C*)
13986 # Sun C 5.9
13987 lt_prog_compiler_pic_FC='-KPIC'
13988 lt_prog_compiler_static_FC='-Bstatic'
13989 lt_prog_compiler_wl_FC='-Wl,'
13991 esac
13993 esac
13996 newsos6)
13997 lt_prog_compiler_pic_FC='-KPIC'
13998 lt_prog_compiler_static_FC='-Bstatic'
14001 *nto* | *qnx*)
14002 # QNX uses GNU C++, but need to define -shared option too, otherwise
14003 # it will coredump.
14004 lt_prog_compiler_pic_FC='-fPIC -shared'
14007 osf3* | osf4* | osf5*)
14008 lt_prog_compiler_wl_FC='-Wl,'
14009 # All OSF/1 code is PIC.
14010 lt_prog_compiler_static_FC='-non_shared'
14013 rdos*)
14014 lt_prog_compiler_static_FC='-non_shared'
14017 solaris*)
14018 lt_prog_compiler_pic_FC='-KPIC'
14019 lt_prog_compiler_static_FC='-Bstatic'
14020 case $cc_basename in
14021 f77* | f90* | f95*)
14022 lt_prog_compiler_wl_FC='-Qoption ld ';;
14024 lt_prog_compiler_wl_FC='-Wl,';;
14025 esac
14028 sunos4*)
14029 lt_prog_compiler_wl_FC='-Qoption ld '
14030 lt_prog_compiler_pic_FC='-PIC'
14031 lt_prog_compiler_static_FC='-Bstatic'
14034 sysv4 | sysv4.2uw2* | sysv4.3*)
14035 lt_prog_compiler_wl_FC='-Wl,'
14036 lt_prog_compiler_pic_FC='-KPIC'
14037 lt_prog_compiler_static_FC='-Bstatic'
14040 sysv4*MP*)
14041 if test -d /usr/nec ;then
14042 lt_prog_compiler_pic_FC='-Kconform_pic'
14043 lt_prog_compiler_static_FC='-Bstatic'
14047 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14048 lt_prog_compiler_wl_FC='-Wl,'
14049 lt_prog_compiler_pic_FC='-KPIC'
14050 lt_prog_compiler_static_FC='-Bstatic'
14053 unicos*)
14054 lt_prog_compiler_wl_FC='-Wl,'
14055 lt_prog_compiler_can_build_shared_FC=no
14058 uts4*)
14059 lt_prog_compiler_pic_FC='-pic'
14060 lt_prog_compiler_static_FC='-Bstatic'
14064 lt_prog_compiler_can_build_shared_FC=no
14066 esac
14069 case $host_os in
14070 # For platforms which do not support PIC, -DPIC is meaningless:
14071 *djgpp*)
14072 lt_prog_compiler_pic_FC=
14075 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14077 esac
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14079 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14084 # Check to make sure the PIC flag actually works.
14086 if test -n "$lt_prog_compiler_pic_FC"; then
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14088 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14089 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14090 $as_echo_n "(cached) " >&6
14091 else
14092 lt_cv_prog_compiler_pic_works_FC=no
14093 ac_outfile=conftest.$ac_objext
14094 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14095 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14096 # Insert the option either (1) after the last *FLAGS variable, or
14097 # (2) before a word containing "conftest.", or (3) at the end.
14098 # Note that $ac_compile itself does not contain backslashes and begins
14099 # with a dollar sign (not a hyphen), so the echo should work correctly.
14100 # The option is referenced via a variable to avoid confusing sed.
14101 lt_compile=`echo "$ac_compile" | $SED \
14102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14104 -e 's:$: $lt_compiler_flag:'`
14105 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14106 (eval "$lt_compile" 2>conftest.err)
14107 ac_status=$?
14108 cat conftest.err >&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 if (exit $ac_status) && test -s "$ac_outfile"; then
14111 # The compiler can only warn and ignore the option if not recognized
14112 # So say no if there are warnings other than the usual output.
14113 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14114 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14115 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14116 lt_cv_prog_compiler_pic_works_FC=yes
14119 $RM conftest*
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14123 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14125 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14126 case $lt_prog_compiler_pic_FC in
14127 "" | " "*) ;;
14128 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14129 esac
14130 else
14131 lt_prog_compiler_pic_FC=
14132 lt_prog_compiler_can_build_shared_FC=no
14140 # Check to make sure the static flag actually works.
14142 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14144 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14145 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14146 $as_echo_n "(cached) " >&6
14147 else
14148 lt_cv_prog_compiler_static_works_FC=no
14149 save_LDFLAGS="$LDFLAGS"
14150 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14151 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14152 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14153 # The linker can only warn and ignore the option if not recognized
14154 # So say no if there are warnings
14155 if test -s conftest.err; then
14156 # Append any errors to the config.log.
14157 cat conftest.err 1>&5
14158 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14159 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14160 if diff conftest.exp conftest.er2 >/dev/null; then
14161 lt_cv_prog_compiler_static_works_FC=yes
14163 else
14164 lt_cv_prog_compiler_static_works_FC=yes
14167 $RM -r conftest*
14168 LDFLAGS="$save_LDFLAGS"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14172 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14174 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14176 else
14177 lt_prog_compiler_static_FC=
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14184 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14185 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14186 $as_echo_n "(cached) " >&6
14187 else
14188 lt_cv_prog_compiler_c_o_FC=no
14189 $RM -r conftest 2>/dev/null
14190 mkdir conftest
14191 cd conftest
14192 mkdir out
14193 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14195 lt_compiler_flag="-o out/conftest2.$ac_objext"
14196 # Insert the option either (1) after the last *FLAGS variable, or
14197 # (2) before a word containing "conftest.", or (3) at the end.
14198 # Note that $ac_compile itself does not contain backslashes and begins
14199 # with a dollar sign (not a hyphen), so the echo should work correctly.
14200 lt_compile=`echo "$ac_compile" | $SED \
14201 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14202 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14203 -e 's:$: $lt_compiler_flag:'`
14204 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14205 (eval "$lt_compile" 2>out/conftest.err)
14206 ac_status=$?
14207 cat out/conftest.err >&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14210 then
14211 # The compiler can only warn and ignore the option if not recognized
14212 # So say no if there are warnings
14213 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14214 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14215 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14216 lt_cv_prog_compiler_c_o_FC=yes
14219 chmod u+w . 2>&5
14220 $RM conftest*
14221 # SGI C++ compiler will create directory out/ii_files/ for
14222 # template instantiation
14223 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14224 $RM out/* && rmdir out
14225 cd ..
14226 $RM -r conftest
14227 $RM conftest*
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14231 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14236 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14237 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14238 $as_echo_n "(cached) " >&6
14239 else
14240 lt_cv_prog_compiler_c_o_FC=no
14241 $RM -r conftest 2>/dev/null
14242 mkdir conftest
14243 cd conftest
14244 mkdir out
14245 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14247 lt_compiler_flag="-o out/conftest2.$ac_objext"
14248 # Insert the option either (1) after the last *FLAGS variable, or
14249 # (2) before a word containing "conftest.", or (3) at the end.
14250 # Note that $ac_compile itself does not contain backslashes and begins
14251 # with a dollar sign (not a hyphen), so the echo should work correctly.
14252 lt_compile=`echo "$ac_compile" | $SED \
14253 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14254 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14255 -e 's:$: $lt_compiler_flag:'`
14256 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14257 (eval "$lt_compile" 2>out/conftest.err)
14258 ac_status=$?
14259 cat out/conftest.err >&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14262 then
14263 # The compiler can only warn and ignore the option if not recognized
14264 # So say no if there are warnings
14265 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14266 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14267 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14268 lt_cv_prog_compiler_c_o_FC=yes
14271 chmod u+w . 2>&5
14272 $RM conftest*
14273 # SGI C++ compiler will create directory out/ii_files/ for
14274 # template instantiation
14275 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14276 $RM out/* && rmdir out
14277 cd ..
14278 $RM -r conftest
14279 $RM conftest*
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14283 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14288 hard_links="nottested"
14289 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14290 # do not overwrite the value of need_locks provided by the user
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14292 $as_echo_n "checking if we can lock with hard links... " >&6; }
14293 hard_links=yes
14294 $RM conftest*
14295 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14296 touch conftest.a
14297 ln conftest.a conftest.b 2>&5 || hard_links=no
14298 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14300 $as_echo "$hard_links" >&6; }
14301 if test "$hard_links" = no; then
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14303 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14304 need_locks=warn
14306 else
14307 need_locks=no
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14313 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14315 runpath_var=
14316 allow_undefined_flag_FC=
14317 always_export_symbols_FC=no
14318 archive_cmds_FC=
14319 archive_expsym_cmds_FC=
14320 compiler_needs_object_FC=no
14321 enable_shared_with_static_runtimes_FC=no
14322 export_dynamic_flag_spec_FC=
14323 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14324 hardcode_automatic_FC=no
14325 hardcode_direct_FC=no
14326 hardcode_direct_absolute_FC=no
14327 hardcode_libdir_flag_spec_FC=
14328 hardcode_libdir_flag_spec_ld_FC=
14329 hardcode_libdir_separator_FC=
14330 hardcode_minus_L_FC=no
14331 hardcode_shlibpath_var_FC=unsupported
14332 inherit_rpath_FC=no
14333 link_all_deplibs_FC=unknown
14334 module_cmds_FC=
14335 module_expsym_cmds_FC=
14336 old_archive_from_new_cmds_FC=
14337 old_archive_from_expsyms_cmds_FC=
14338 thread_safe_flag_spec_FC=
14339 whole_archive_flag_spec_FC=
14340 # include_expsyms should be a list of space-separated symbols to be *always*
14341 # included in the symbol list
14342 include_expsyms_FC=
14343 # exclude_expsyms can be an extended regexp of symbols to exclude
14344 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14345 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14346 # as well as any symbol that contains `d'.
14347 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14348 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14349 # platforms (ab)use it in PIC code, but their linkers get confused if
14350 # the symbol is explicitly referenced. Since portable code cannot
14351 # rely on this symbol name, it's probably fine to never include it in
14352 # preloaded symbol tables.
14353 # Exclude shared library initialization/finalization symbols.
14354 extract_expsyms_cmds=
14356 case $host_os in
14357 cygwin* | mingw* | pw32* | cegcc*)
14358 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14359 # When not using gcc, we currently assume that we are using
14360 # Microsoft Visual C++.
14361 if test "$GCC" != yes; then
14362 with_gnu_ld=no
14365 interix*)
14366 # we just hope/assume this is gcc and not c89 (= MSVC++)
14367 with_gnu_ld=yes
14369 openbsd*)
14370 with_gnu_ld=no
14372 esac
14374 ld_shlibs_FC=yes
14376 # On some targets, GNU ld is compatible enough with the native linker
14377 # that we're better off using the native interface for both.
14378 lt_use_gnu_ld_interface=no
14379 if test "$with_gnu_ld" = yes; then
14380 case $host_os in
14381 aix*)
14382 # The AIX port of GNU ld has always aspired to compatibility
14383 # with the native linker. However, as the warning in the GNU ld
14384 # block says, versions before 2.19.5* couldn't really create working
14385 # shared libraries, regardless of the interface used.
14386 case `$LD -v 2>&1` in
14387 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14388 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14389 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14391 lt_use_gnu_ld_interface=yes
14393 esac
14396 lt_use_gnu_ld_interface=yes
14398 esac
14401 if test "$lt_use_gnu_ld_interface" = yes; then
14402 # If archive_cmds runs LD, not CC, wlarc should be empty
14403 wlarc='${wl}'
14405 # Set some defaults for GNU ld with shared library support. These
14406 # are reset later if shared libraries are not supported. Putting them
14407 # here allows them to be overridden if necessary.
14408 runpath_var=LD_RUN_PATH
14409 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14410 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14411 # ancient GNU ld didn't support --whole-archive et. al.
14412 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14413 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14414 else
14415 whole_archive_flag_spec_FC=
14417 supports_anon_versioning=no
14418 case `$LD -v 2>&1` in
14419 *GNU\ gold*) supports_anon_versioning=yes ;;
14420 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14421 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14422 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14423 *\ 2.11.*) ;; # other 2.11 versions
14424 *) supports_anon_versioning=yes ;;
14425 esac
14427 # See if GNU ld supports shared libraries.
14428 case $host_os in
14429 aix[3-9]*)
14430 # On AIX/PPC, the GNU linker is very broken
14431 if test "$host_cpu" != ia64; then
14432 ld_shlibs_FC=no
14433 cat <<_LT_EOF 1>&2
14435 *** Warning: the GNU linker, at least up to release 2.19, is reported
14436 *** to be unable to reliably create shared libraries on AIX.
14437 *** Therefore, libtool is disabling shared libraries support. If you
14438 *** really care for shared libraries, you may want to install binutils
14439 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14440 *** You will then need to restart the configuration process.
14442 _LT_EOF
14446 amigaos*)
14447 case $host_cpu in
14448 powerpc)
14449 # see comment about AmigaOS4 .so support
14450 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14451 archive_expsym_cmds_FC=''
14453 m68k)
14454 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)'
14455 hardcode_libdir_flag_spec_FC='-L$libdir'
14456 hardcode_minus_L_FC=yes
14458 esac
14461 beos*)
14462 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14463 allow_undefined_flag_FC=unsupported
14464 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14465 # support --undefined. This deserves some investigation. FIXME
14466 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14467 else
14468 ld_shlibs_FC=no
14472 cygwin* | mingw* | pw32* | cegcc*)
14473 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14474 # as there is no search path for DLLs.
14475 hardcode_libdir_flag_spec_FC='-L$libdir'
14476 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14477 allow_undefined_flag_FC=unsupported
14478 always_export_symbols_FC=no
14479 enable_shared_with_static_runtimes_FC=yes
14480 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14482 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14483 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14484 # If the export-symbols file already is a .def file (1st line
14485 # is EXPORTS), use it as is; otherwise, prepend...
14486 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14487 cp $export_symbols $output_objdir/$soname.def;
14488 else
14489 echo EXPORTS > $output_objdir/$soname.def;
14490 cat $export_symbols >> $output_objdir/$soname.def;
14492 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14493 else
14494 ld_shlibs_FC=no
14498 haiku*)
14499 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14500 link_all_deplibs_FC=yes
14503 interix[3-9]*)
14504 hardcode_direct_FC=no
14505 hardcode_shlibpath_var_FC=no
14506 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14507 export_dynamic_flag_spec_FC='${wl}-E'
14508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14509 # Instead, shared libraries are loaded at an image base (0x10000000 by
14510 # default) and relocated if they conflict, which is a slow very memory
14511 # consuming and fragmenting process. To avoid this, we pick a random,
14512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14514 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'
14515 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'
14518 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14519 tmp_diet=no
14520 if test "$host_os" = linux-dietlibc; then
14521 case $cc_basename in
14522 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14523 esac
14525 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14526 && test "$tmp_diet" = no
14527 then
14528 tmp_addflag=' $pic_flag'
14529 tmp_sharedflag='-shared'
14530 case $cc_basename,$host_cpu in
14531 pgcc*) # Portland Group C compiler
14532 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'
14533 tmp_addflag=' $pic_flag'
14535 pgf77* | pgf90* | pgf95* | pgfortran*)
14536 # Portland Group f77 and f90 compilers
14537 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'
14538 tmp_addflag=' $pic_flag -Mnomain' ;;
14539 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14540 tmp_addflag=' -i_dynamic' ;;
14541 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14542 tmp_addflag=' -i_dynamic -nofor_main' ;;
14543 ifc* | ifort*) # Intel Fortran compiler
14544 tmp_addflag=' -nofor_main' ;;
14545 lf95*) # Lahey Fortran 8.1
14546 whole_archive_flag_spec_FC=
14547 tmp_sharedflag='--shared' ;;
14548 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14549 tmp_sharedflag='-qmkshrobj'
14550 tmp_addflag= ;;
14551 nvcc*) # Cuda Compiler Driver 2.2
14552 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'
14553 compiler_needs_object_FC=yes
14555 esac
14556 case `$CC -V 2>&1 | sed 5q` in
14557 *Sun\ C*) # Sun C 5.9
14558 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'
14559 compiler_needs_object_FC=yes
14560 tmp_sharedflag='-G' ;;
14561 *Sun\ F*) # Sun Fortran 8.3
14562 tmp_sharedflag='-G' ;;
14563 esac
14564 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14566 if test "x$supports_anon_versioning" = xyes; then
14567 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14568 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14569 echo "local: *; };" >> $output_objdir/$libname.ver~
14570 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14573 case $cc_basename in
14574 xlf* | bgf* | bgxlf* | mpixlf*)
14575 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14576 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14577 hardcode_libdir_flag_spec_FC=
14578 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14579 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14580 if test "x$supports_anon_versioning" = xyes; then
14581 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14582 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14583 echo "local: *; };" >> $output_objdir/$libname.ver~
14584 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14587 esac
14588 else
14589 ld_shlibs_FC=no
14593 netbsd*)
14594 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14595 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14596 wlarc=
14597 else
14598 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14599 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14603 solaris*)
14604 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14605 ld_shlibs_FC=no
14606 cat <<_LT_EOF 1>&2
14608 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14609 *** create shared libraries on Solaris systems. Therefore, libtool
14610 *** is disabling shared libraries support. We urge you to upgrade GNU
14611 *** binutils to release 2.9.1 or newer. Another option is to modify
14612 *** your PATH or compiler configuration so that the native linker is
14613 *** used, and then restart.
14615 _LT_EOF
14616 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14617 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14618 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14619 else
14620 ld_shlibs_FC=no
14624 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14625 case `$LD -v 2>&1` in
14626 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14627 ld_shlibs_FC=no
14628 cat <<_LT_EOF 1>&2
14630 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14631 *** reliably create shared libraries on SCO systems. Therefore, libtool
14632 *** is disabling shared libraries support. We urge you to upgrade GNU
14633 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14634 *** your PATH or compiler configuration so that the native linker is
14635 *** used, and then restart.
14637 _LT_EOF
14640 # For security reasons, it is highly recommended that you always
14641 # use absolute paths for naming shared libraries, and exclude the
14642 # DT_RUNPATH tag from executables and libraries. But doing so
14643 # requires that you compile everything twice, which is a pain.
14644 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14645 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14646 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14647 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14648 else
14649 ld_shlibs_FC=no
14652 esac
14655 sunos4*)
14656 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14657 wlarc=
14658 hardcode_direct_FC=yes
14659 hardcode_shlibpath_var_FC=no
14663 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14664 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14665 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14666 else
14667 ld_shlibs_FC=no
14670 esac
14672 if test "$ld_shlibs_FC" = no; then
14673 runpath_var=
14674 hardcode_libdir_flag_spec_FC=
14675 export_dynamic_flag_spec_FC=
14676 whole_archive_flag_spec_FC=
14678 else
14679 # PORTME fill in a description of your system's linker (not GNU ld)
14680 case $host_os in
14681 aix3*)
14682 allow_undefined_flag_FC=unsupported
14683 always_export_symbols_FC=yes
14684 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'
14685 # Note: this linker hardcodes the directories in LIBPATH if there
14686 # are no directories specified by -L.
14687 hardcode_minus_L_FC=yes
14688 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14689 # Neither direct hardcoding nor static linking is supported with a
14690 # broken collect2.
14691 hardcode_direct_FC=unsupported
14695 aix[4-9]*)
14696 if test "$host_cpu" = ia64; then
14697 # On IA64, the linker does run time linking by default, so we don't
14698 # have to do anything special.
14699 aix_use_runtimelinking=no
14700 exp_sym_flag='-Bexport'
14701 no_entry_flag=""
14702 else
14703 # If we're using GNU nm, then we don't want the "-C" option.
14704 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14705 # Also, AIX nm treats weak defined symbols like other global
14706 # defined symbols, whereas GNU nm marks them as "W".
14707 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14708 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'
14709 else
14710 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'
14712 aix_use_runtimelinking=no
14714 # Test if we are trying to use run time linking or normal
14715 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14716 # need to do runtime linking.
14717 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14718 for ld_flag in $LDFLAGS; do
14719 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14720 aix_use_runtimelinking=yes
14721 break
14723 done
14725 esac
14727 exp_sym_flag='-bexport'
14728 no_entry_flag='-bnoentry'
14731 # When large executables or shared objects are built, AIX ld can
14732 # have problems creating the table of contents. If linking a library
14733 # or program results in "error TOC overflow" add -mminimal-toc to
14734 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14735 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14737 archive_cmds_FC=''
14738 hardcode_direct_FC=yes
14739 hardcode_direct_absolute_FC=yes
14740 hardcode_libdir_separator_FC=':'
14741 link_all_deplibs_FC=yes
14742 file_list_spec_FC='${wl}-f,'
14744 if test "$GCC" = yes; then
14745 case $host_os in aix4.[012]|aix4.[012].*)
14746 # We only want to do this on AIX 4.2 and lower, the check
14747 # below for broken collect2 doesn't work under 4.3+
14748 collect2name=`${CC} -print-prog-name=collect2`
14749 if test -f "$collect2name" &&
14750 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14751 then
14752 # We have reworked collect2
14754 else
14755 # We have old collect2
14756 hardcode_direct_FC=unsupported
14757 # It fails to find uninstalled libraries when the uninstalled
14758 # path is not listed in the libpath. Setting hardcode_minus_L
14759 # to unsupported forces relinking
14760 hardcode_minus_L_FC=yes
14761 hardcode_libdir_flag_spec_FC='-L$libdir'
14762 hardcode_libdir_separator_FC=
14765 esac
14766 shared_flag='-shared'
14767 if test "$aix_use_runtimelinking" = yes; then
14768 shared_flag="$shared_flag "'${wl}-G'
14770 else
14771 # not using gcc
14772 if test "$host_cpu" = ia64; then
14773 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14774 # chokes on -Wl,-G. The following line is correct:
14775 shared_flag='-G'
14776 else
14777 if test "$aix_use_runtimelinking" = yes; then
14778 shared_flag='${wl}-G'
14779 else
14780 shared_flag='${wl}-bM:SRE'
14785 export_dynamic_flag_spec_FC='${wl}-bexpall'
14786 # It seems that -bexpall does not export symbols beginning with
14787 # underscore (_), so it is better to generate a list of symbols to export.
14788 always_export_symbols_FC=yes
14789 if test "$aix_use_runtimelinking" = yes; then
14790 # Warning - without using the other runtime loading flags (-brtl),
14791 # -berok will link without error, but may produce a broken library.
14792 allow_undefined_flag_FC='-berok'
14793 # Determine the default libpath from the value encoded in an
14794 # empty executable.
14795 if test x$gcc_no_link = xyes; then
14796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14798 cat > conftest.$ac_ext <<_ACEOF
14799 program main
14802 _ACEOF
14803 if ac_fn_fc_try_link "$LINENO"; then :
14805 lt_aix_libpath_sed='
14806 /Import File Strings/,/^$/ {
14807 /^0/ {
14808 s/^0 *\(.*\)$/\1/
14812 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14813 # Check for a 64-bit object if we didn't find anything.
14814 if test -z "$aix_libpath"; then
14815 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14822 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14823 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"
14824 else
14825 if test "$host_cpu" = ia64; then
14826 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14827 allow_undefined_flag_FC="-z nodefs"
14828 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"
14829 else
14830 # Determine the default libpath from the value encoded in an
14831 # empty executable.
14832 if test x$gcc_no_link = xyes; then
14833 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14835 cat > conftest.$ac_ext <<_ACEOF
14836 program main
14839 _ACEOF
14840 if ac_fn_fc_try_link "$LINENO"; then :
14842 lt_aix_libpath_sed='
14843 /Import File Strings/,/^$/ {
14844 /^0/ {
14845 s/^0 *\(.*\)$/\1/
14849 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14850 # Check for a 64-bit object if we didn't find anything.
14851 if test -z "$aix_libpath"; then
14852 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14855 rm -f core conftest.err conftest.$ac_objext \
14856 conftest$ac_exeext conftest.$ac_ext
14857 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14859 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14860 # Warning - without using the other run time loading flags,
14861 # -berok will link without error, but may produce a broken library.
14862 no_undefined_flag_FC=' ${wl}-bernotok'
14863 allow_undefined_flag_FC=' ${wl}-berok'
14864 if test "$with_gnu_ld" = yes; then
14865 # We only use this code for GNU lds that support --whole-archive.
14866 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14867 else
14868 # Exported symbols can be pulled into shared objects from archives
14869 whole_archive_flag_spec_FC='$convenience'
14871 archive_cmds_need_lc_FC=yes
14872 # This is similar to how AIX traditionally builds its shared libraries.
14873 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'
14878 amigaos*)
14879 case $host_cpu in
14880 powerpc)
14881 # see comment about AmigaOS4 .so support
14882 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14883 archive_expsym_cmds_FC=''
14885 m68k)
14886 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)'
14887 hardcode_libdir_flag_spec_FC='-L$libdir'
14888 hardcode_minus_L_FC=yes
14890 esac
14893 bsdi[45]*)
14894 export_dynamic_flag_spec_FC=-rdynamic
14897 cygwin* | mingw* | pw32* | cegcc*)
14898 # When not using gcc, we currently assume that we are using
14899 # Microsoft Visual C++.
14900 # hardcode_libdir_flag_spec is actually meaningless, as there is
14901 # no search path for DLLs.
14902 hardcode_libdir_flag_spec_FC=' '
14903 allow_undefined_flag_FC=unsupported
14904 # Tell ltmain to make .lib files, not .a files.
14905 libext=lib
14906 # Tell ltmain to make .dll files, not .so files.
14907 shrext_cmds=".dll"
14908 # FIXME: Setting linknames here is a bad hack.
14909 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14910 # The linker will automatically build a .lib file if we build a DLL.
14911 old_archive_from_new_cmds_FC='true'
14912 # FIXME: Should let the user specify the lib program.
14913 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14914 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14915 enable_shared_with_static_runtimes_FC=yes
14918 darwin* | rhapsody*)
14921 archive_cmds_need_lc_FC=no
14922 hardcode_direct_FC=no
14923 hardcode_automatic_FC=yes
14924 hardcode_shlibpath_var_FC=unsupported
14925 if test "$lt_cv_ld_force_load" = "yes"; then
14926 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\"`'
14927 else
14928 whole_archive_flag_spec_FC=''
14930 link_all_deplibs_FC=yes
14931 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14932 case $cc_basename in
14933 ifort*) _lt_dar_can_shared=yes ;;
14934 *) _lt_dar_can_shared=$GCC ;;
14935 esac
14936 if test "$_lt_dar_can_shared" = "yes"; then
14937 output_verbose_link_cmd=func_echo_all
14938 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14939 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14940 archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14941 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}"
14943 else
14944 ld_shlibs_FC=no
14949 dgux*)
14950 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14951 hardcode_libdir_flag_spec_FC='-L$libdir'
14952 hardcode_shlibpath_var_FC=no
14955 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14956 # support. Future versions do this automatically, but an explicit c++rt0.o
14957 # does not break anything, and helps significantly (at the cost of a little
14958 # extra space).
14959 freebsd2.2*)
14960 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14961 hardcode_libdir_flag_spec_FC='-R$libdir'
14962 hardcode_direct_FC=yes
14963 hardcode_shlibpath_var_FC=no
14966 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14967 freebsd2.*)
14968 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14969 hardcode_direct_FC=yes
14970 hardcode_minus_L_FC=yes
14971 hardcode_shlibpath_var_FC=no
14974 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14975 freebsd* | dragonfly*)
14976 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14977 hardcode_libdir_flag_spec_FC='-R$libdir'
14978 hardcode_direct_FC=yes
14979 hardcode_shlibpath_var_FC=no
14982 hpux9*)
14983 if test "$GCC" = yes; then
14984 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'
14985 else
14986 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'
14988 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14989 hardcode_libdir_separator_FC=:
14990 hardcode_direct_FC=yes
14992 # hardcode_minus_L: Not really in the search PATH,
14993 # but as the default location of the library.
14994 hardcode_minus_L_FC=yes
14995 export_dynamic_flag_spec_FC='${wl}-E'
14998 hpux10*)
14999 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15000 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15001 else
15002 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15004 if test "$with_gnu_ld" = no; then
15005 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15006 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15007 hardcode_libdir_separator_FC=:
15008 hardcode_direct_FC=yes
15009 hardcode_direct_absolute_FC=yes
15010 export_dynamic_flag_spec_FC='${wl}-E'
15011 # hardcode_minus_L: Not really in the search PATH,
15012 # but as the default location of the library.
15013 hardcode_minus_L_FC=yes
15017 hpux11*)
15018 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15019 case $host_cpu in
15020 hppa*64*)
15021 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15023 ia64*)
15024 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15027 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15029 esac
15030 else
15031 case $host_cpu in
15032 hppa*64*)
15033 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15035 ia64*)
15036 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15039 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15041 esac
15043 if test "$with_gnu_ld" = no; then
15044 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15045 hardcode_libdir_separator_FC=:
15047 case $host_cpu in
15048 hppa*64*|ia64*)
15049 hardcode_direct_FC=no
15050 hardcode_shlibpath_var_FC=no
15053 hardcode_direct_FC=yes
15054 hardcode_direct_absolute_FC=yes
15055 export_dynamic_flag_spec_FC='${wl}-E'
15057 # hardcode_minus_L: Not really in the search PATH,
15058 # but as the default location of the library.
15059 hardcode_minus_L_FC=yes
15061 esac
15065 irix5* | irix6* | nonstopux*)
15066 if test "$GCC" = yes; then
15067 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'
15068 # Try to use the -exported_symbol ld option, if it does not
15069 # work, assume that -exports_file does not work either and
15070 # implicitly export all symbols.
15071 save_LDFLAGS="$LDFLAGS"
15072 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15073 if test x$gcc_no_link = xyes; then
15074 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15076 cat > conftest.$ac_ext <<_ACEOF
15077 int foo(void) {}
15078 _ACEOF
15079 if ac_fn_fc_try_link "$LINENO"; then :
15080 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'
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15085 LDFLAGS="$save_LDFLAGS"
15086 else
15087 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'
15088 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'
15090 archive_cmds_need_lc_FC='no'
15091 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15092 hardcode_libdir_separator_FC=:
15093 inherit_rpath_FC=yes
15094 link_all_deplibs_FC=yes
15097 netbsd*)
15098 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15099 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15100 else
15101 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15103 hardcode_libdir_flag_spec_FC='-R$libdir'
15104 hardcode_direct_FC=yes
15105 hardcode_shlibpath_var_FC=no
15108 newsos6)
15109 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15110 hardcode_direct_FC=yes
15111 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15112 hardcode_libdir_separator_FC=:
15113 hardcode_shlibpath_var_FC=no
15116 *nto* | *qnx*)
15119 openbsd*)
15120 if test -f /usr/libexec/ld.so; then
15121 hardcode_direct_FC=yes
15122 hardcode_shlibpath_var_FC=no
15123 hardcode_direct_absolute_FC=yes
15124 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15125 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15126 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15127 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15128 export_dynamic_flag_spec_FC='${wl}-E'
15129 else
15130 case $host_os in
15131 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15132 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15133 hardcode_libdir_flag_spec_FC='-R$libdir'
15136 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15137 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15139 esac
15141 else
15142 ld_shlibs_FC=no
15146 os2*)
15147 hardcode_libdir_flag_spec_FC='-L$libdir'
15148 hardcode_minus_L_FC=yes
15149 allow_undefined_flag_FC=unsupported
15150 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'
15151 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15154 osf3*)
15155 if test "$GCC" = yes; then
15156 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15157 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'
15158 else
15159 allow_undefined_flag_FC=' -expect_unresolved \*'
15160 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'
15162 archive_cmds_need_lc_FC='no'
15163 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15164 hardcode_libdir_separator_FC=:
15167 osf4* | osf5*) # as osf3* with the addition of -msym flag
15168 if test "$GCC" = yes; then
15169 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15170 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'
15171 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15172 else
15173 allow_undefined_flag_FC=' -expect_unresolved \*'
15174 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'
15175 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~
15176 $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'
15178 # Both c and cxx compiler support -rpath directly
15179 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15181 archive_cmds_need_lc_FC='no'
15182 hardcode_libdir_separator_FC=:
15185 solaris*)
15186 no_undefined_flag_FC=' -z defs'
15187 if test "$GCC" = yes; then
15188 wlarc='${wl}'
15189 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15190 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15191 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15192 else
15193 case `$CC -V 2>&1` in
15194 *"Compilers 5.0"*)
15195 wlarc=''
15196 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15197 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15198 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15201 wlarc='${wl}'
15202 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15203 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15204 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15206 esac
15208 hardcode_libdir_flag_spec_FC='-R$libdir'
15209 hardcode_shlibpath_var_FC=no
15210 case $host_os in
15211 solaris2.[0-5] | solaris2.[0-5].*) ;;
15213 # The compiler driver will combine and reorder linker options,
15214 # but understands `-z linker_flag'. GCC discards it without `$wl',
15215 # but is careful enough not to reorder.
15216 # Supported since Solaris 2.6 (maybe 2.5.1?)
15217 if test "$GCC" = yes; then
15218 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15219 else
15220 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15223 esac
15224 link_all_deplibs_FC=yes
15227 sunos4*)
15228 if test "x$host_vendor" = xsequent; then
15229 # Use $CC to link under sequent, because it throws in some extra .o
15230 # files that make .init and .fini sections work.
15231 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15232 else
15233 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15235 hardcode_libdir_flag_spec_FC='-L$libdir'
15236 hardcode_direct_FC=yes
15237 hardcode_minus_L_FC=yes
15238 hardcode_shlibpath_var_FC=no
15241 sysv4)
15242 case $host_vendor in
15243 sni)
15244 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15245 hardcode_direct_FC=yes # is this really true???
15247 siemens)
15248 ## LD is ld it makes a PLAMLIB
15249 ## CC just makes a GrossModule.
15250 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15251 reload_cmds_FC='$CC -r -o $output$reload_objs'
15252 hardcode_direct_FC=no
15254 motorola)
15255 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15256 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15258 esac
15259 runpath_var='LD_RUN_PATH'
15260 hardcode_shlibpath_var_FC=no
15263 sysv4.3*)
15264 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15265 hardcode_shlibpath_var_FC=no
15266 export_dynamic_flag_spec_FC='-Bexport'
15269 sysv4*MP*)
15270 if test -d /usr/nec; then
15271 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15272 hardcode_shlibpath_var_FC=no
15273 runpath_var=LD_RUN_PATH
15274 hardcode_runpath_var=yes
15275 ld_shlibs_FC=yes
15279 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15280 no_undefined_flag_FC='${wl}-z,text'
15281 archive_cmds_need_lc_FC=no
15282 hardcode_shlibpath_var_FC=no
15283 runpath_var='LD_RUN_PATH'
15285 if test "$GCC" = yes; then
15286 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15287 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15288 else
15289 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15290 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15294 sysv5* | sco3.2v5* | sco5v6*)
15295 # Note: We can NOT use -z defs as we might desire, because we do not
15296 # link with -lc, and that would cause any symbols used from libc to
15297 # always be unresolved, which means just about no library would
15298 # ever link correctly. If we're not using GNU ld we use -z text
15299 # though, which does catch some bad symbols but isn't as heavy-handed
15300 # as -z defs.
15301 no_undefined_flag_FC='${wl}-z,text'
15302 allow_undefined_flag_FC='${wl}-z,nodefs'
15303 archive_cmds_need_lc_FC=no
15304 hardcode_shlibpath_var_FC=no
15305 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15306 hardcode_libdir_separator_FC=':'
15307 link_all_deplibs_FC=yes
15308 export_dynamic_flag_spec_FC='${wl}-Bexport'
15309 runpath_var='LD_RUN_PATH'
15311 if test "$GCC" = yes; then
15312 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15313 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15314 else
15315 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15316 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15320 uts4*)
15321 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15322 hardcode_libdir_flag_spec_FC='-L$libdir'
15323 hardcode_shlibpath_var_FC=no
15327 ld_shlibs_FC=no
15329 esac
15331 if test x$host_vendor = xsni; then
15332 case $host in
15333 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15334 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15336 esac
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15341 $as_echo "$ld_shlibs_FC" >&6; }
15342 test "$ld_shlibs_FC" = no && can_build_shared=no
15344 with_gnu_ld_FC=$with_gnu_ld
15352 # Do we need to explicitly link libc?
15354 case "x$archive_cmds_need_lc_FC" in
15355 x|xyes)
15356 # Assume -lc should be added
15357 archive_cmds_need_lc_FC=yes
15359 if test "$enable_shared" = yes && test "$GCC" = yes; then
15360 case $archive_cmds_FC in
15361 *'~'*)
15362 # FIXME: we may have to deal with multi-command sequences.
15364 '$CC '*)
15365 # Test whether the compiler implicitly links with -lc since on some
15366 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15367 # to ld, don't add -lc before -lgcc.
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15369 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15370 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15373 $RM conftest*
15374 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15377 (eval $ac_compile) 2>&5
15378 ac_status=$?
15379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15380 test $ac_status = 0; } 2>conftest.err; then
15381 soname=conftest
15382 lib=conftest
15383 libobjs=conftest.$ac_objext
15384 deplibs=
15385 wl=$lt_prog_compiler_wl_FC
15386 pic_flag=$lt_prog_compiler_pic_FC
15387 compiler_flags=-v
15388 linker_flags=-v
15389 verstring=
15390 output_objdir=.
15391 libname=conftest
15392 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15393 allow_undefined_flag_FC=
15394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15395 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15396 ac_status=$?
15397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15398 test $ac_status = 0; }
15399 then
15400 lt_cv_archive_cmds_need_lc_FC=no
15401 else
15402 lt_cv_archive_cmds_need_lc_FC=yes
15404 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15405 else
15406 cat conftest.err 1>&5
15408 $RM conftest*
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15412 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15413 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15415 esac
15418 esac
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15484 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15486 library_names_spec=
15487 libname_spec='lib$name'
15488 soname_spec=
15489 shrext_cmds=".so"
15490 postinstall_cmds=
15491 postuninstall_cmds=
15492 finish_cmds=
15493 finish_eval=
15494 shlibpath_var=
15495 shlibpath_overrides_runpath=unknown
15496 version_type=none
15497 dynamic_linker="$host_os ld.so"
15498 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15499 need_lib_prefix=unknown
15500 hardcode_into_libs=no
15502 # when you set need_version to no, make sure it does not cause -set_version
15503 # flags to be left without arguments
15504 need_version=unknown
15506 case $host_os in
15507 aix3*)
15508 version_type=linux
15509 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15510 shlibpath_var=LIBPATH
15512 # AIX 3 has no versioning support, so we append a major version to the name.
15513 soname_spec='${libname}${release}${shared_ext}$major'
15516 aix[4-9]*)
15517 version_type=linux
15518 need_lib_prefix=no
15519 need_version=no
15520 hardcode_into_libs=yes
15521 if test "$host_cpu" = ia64; then
15522 # AIX 5 supports IA64
15523 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15524 shlibpath_var=LD_LIBRARY_PATH
15525 else
15526 # With GCC up to 2.95.x, collect2 would create an import file
15527 # for dependence libraries. The import file would start with
15528 # the line `#! .'. This would cause the generated library to
15529 # depend on `.', always an invalid library. This was fixed in
15530 # development snapshots of GCC prior to 3.0.
15531 case $host_os in
15532 aix4 | aix4.[01] | aix4.[01].*)
15533 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15534 echo ' yes '
15535 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15537 else
15538 can_build_shared=no
15541 esac
15542 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15543 # soname into executable. Probably we can add versioning support to
15544 # collect2, so additional links can be useful in future.
15545 if test "$aix_use_runtimelinking" = yes; then
15546 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15547 # instead of lib<name>.a to let people know that these are not
15548 # typical AIX shared libraries.
15549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550 else
15551 # We preserve .a as extension for shared libraries through AIX4.2
15552 # and later when we are not doing run time linking.
15553 library_names_spec='${libname}${release}.a $libname.a'
15554 soname_spec='${libname}${release}${shared_ext}$major'
15556 shlibpath_var=LIBPATH
15560 amigaos*)
15561 case $host_cpu in
15562 powerpc)
15563 # Since July 2007 AmigaOS4 officially supports .so libraries.
15564 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15567 m68k)
15568 library_names_spec='$libname.ixlibrary $libname.a'
15569 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15570 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'
15572 esac
15575 beos*)
15576 library_names_spec='${libname}${shared_ext}'
15577 dynamic_linker="$host_os ld.so"
15578 shlibpath_var=LIBRARY_PATH
15581 bsdi[45]*)
15582 version_type=linux
15583 need_version=no
15584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15585 soname_spec='${libname}${release}${shared_ext}$major'
15586 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15587 shlibpath_var=LD_LIBRARY_PATH
15588 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15589 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15590 # the default ld.so.conf also contains /usr/contrib/lib and
15591 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15592 # libtool to hard-code these into programs
15595 cygwin* | mingw* | pw32* | cegcc*)
15596 version_type=windows
15597 shrext_cmds=".dll"
15598 need_version=no
15599 need_lib_prefix=no
15601 case $GCC,$host_os in
15602 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15603 library_names_spec='$libname.dll.a'
15604 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15605 postinstall_cmds='base_file=`basename \${file}`~
15606 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15607 dldir=$destdir/`dirname \$dlpath`~
15608 test -d \$dldir || mkdir -p \$dldir~
15609 $install_prog $dir/$dlname \$dldir/$dlname~
15610 chmod a+x \$dldir/$dlname~
15611 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15612 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15614 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15615 dlpath=$dir/\$dldll~
15616 $RM \$dlpath'
15617 shlibpath_overrides_runpath=yes
15619 case $host_os in
15620 cygwin*)
15621 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15622 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15625 mingw* | cegcc*)
15626 # MinGW DLLs use traditional 'lib' prefix
15627 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15629 pw32*)
15630 # pw32 DLLs use 'pw' prefix rather than 'lib'
15631 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15633 esac
15637 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15639 esac
15640 dynamic_linker='Win32 ld.exe'
15641 # FIXME: first we should search . and the directory the executable is in
15642 shlibpath_var=PATH
15645 darwin* | rhapsody*)
15646 dynamic_linker="$host_os dyld"
15647 version_type=darwin
15648 need_lib_prefix=no
15649 need_version=no
15650 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15651 soname_spec='${libname}${release}${major}$shared_ext'
15652 shlibpath_overrides_runpath=yes
15653 shlibpath_var=DYLD_LIBRARY_PATH
15654 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15656 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15659 dgux*)
15660 version_type=linux
15661 need_lib_prefix=no
15662 need_version=no
15663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15664 soname_spec='${libname}${release}${shared_ext}$major'
15665 shlibpath_var=LD_LIBRARY_PATH
15668 freebsd* | dragonfly*)
15669 # DragonFly does not have aout. When/if they implement a new
15670 # versioning mechanism, adjust this.
15671 if test -x /usr/bin/objformat; then
15672 objformat=`/usr/bin/objformat`
15673 else
15674 case $host_os in
15675 freebsd[23].*) objformat=aout ;;
15676 *) objformat=elf ;;
15677 esac
15679 version_type=freebsd-$objformat
15680 case $version_type in
15681 freebsd-elf*)
15682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15683 need_version=no
15684 need_lib_prefix=no
15686 freebsd-*)
15687 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15688 need_version=yes
15690 esac
15691 shlibpath_var=LD_LIBRARY_PATH
15692 case $host_os in
15693 freebsd2.*)
15694 shlibpath_overrides_runpath=yes
15696 freebsd3.[01]* | freebsdelf3.[01]*)
15697 shlibpath_overrides_runpath=yes
15698 hardcode_into_libs=yes
15700 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15701 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15702 shlibpath_overrides_runpath=no
15703 hardcode_into_libs=yes
15705 *) # from 4.6 on, and DragonFly
15706 shlibpath_overrides_runpath=yes
15707 hardcode_into_libs=yes
15709 esac
15712 haiku*)
15713 version_type=linux
15714 need_lib_prefix=no
15715 need_version=no
15716 dynamic_linker="$host_os runtime_loader"
15717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15718 soname_spec='${libname}${release}${shared_ext}$major'
15719 shlibpath_var=LIBRARY_PATH
15720 shlibpath_overrides_runpath=yes
15721 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15722 hardcode_into_libs=yes
15725 hpux9* | hpux10* | hpux11*)
15726 # Give a soname corresponding to the major version so that dld.sl refuses to
15727 # link against other versions.
15728 version_type=sunos
15729 need_lib_prefix=no
15730 need_version=no
15731 case $host_cpu in
15732 ia64*)
15733 shrext_cmds='.so'
15734 hardcode_into_libs=yes
15735 dynamic_linker="$host_os dld.so"
15736 shlibpath_var=LD_LIBRARY_PATH
15737 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15739 soname_spec='${libname}${release}${shared_ext}$major'
15740 if test "X$HPUX_IA64_MODE" = X32; then
15741 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15742 else
15743 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15745 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15747 hppa*64*)
15748 shrext_cmds='.sl'
15749 hardcode_into_libs=yes
15750 dynamic_linker="$host_os dld.sl"
15751 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15752 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15754 soname_spec='${libname}${release}${shared_ext}$major'
15755 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15756 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15759 shrext_cmds='.sl'
15760 dynamic_linker="$host_os dld.sl"
15761 shlibpath_var=SHLIB_PATH
15762 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15764 soname_spec='${libname}${release}${shared_ext}$major'
15766 esac
15767 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15768 postinstall_cmds='chmod 555 $lib'
15769 # or fails outright, so override atomically:
15770 install_override_mode=555
15773 interix[3-9]*)
15774 version_type=linux
15775 need_lib_prefix=no
15776 need_version=no
15777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15778 soname_spec='${libname}${release}${shared_ext}$major'
15779 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15780 shlibpath_var=LD_LIBRARY_PATH
15781 shlibpath_overrides_runpath=no
15782 hardcode_into_libs=yes
15785 irix5* | irix6* | nonstopux*)
15786 case $host_os in
15787 nonstopux*) version_type=nonstopux ;;
15789 if test "$lt_cv_prog_gnu_ld" = yes; then
15790 version_type=linux
15791 else
15792 version_type=irix
15793 fi ;;
15794 esac
15795 need_lib_prefix=no
15796 need_version=no
15797 soname_spec='${libname}${release}${shared_ext}$major'
15798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15799 case $host_os in
15800 irix5* | nonstopux*)
15801 libsuff= shlibsuff=
15804 case $LD in # libtool.m4 will add one of these switches to LD
15805 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15806 libsuff= shlibsuff= libmagic=32-bit;;
15807 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15808 libsuff=32 shlibsuff=N32 libmagic=N32;;
15809 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15810 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15811 *) libsuff= shlibsuff= libmagic=never-match;;
15812 esac
15814 esac
15815 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15816 shlibpath_overrides_runpath=no
15817 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15818 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15819 hardcode_into_libs=yes
15822 # No shared lib support for Linux oldld, aout, or coff.
15823 linux*oldld* | linux*aout* | linux*coff*)
15824 dynamic_linker=no
15827 # This must be Linux ELF.
15829 # uclinux* changes (here and below) have been submitted to the libtool
15830 # project, but have not yet been accepted: they are GCC-local changes
15831 # for the time being. (See
15832 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15833 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15834 version_type=linux
15835 need_lib_prefix=no
15836 need_version=no
15837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15838 soname_spec='${libname}${release}${shared_ext}$major'
15839 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15840 shlibpath_var=LD_LIBRARY_PATH
15841 shlibpath_overrides_runpath=no
15843 # Some binutils ld are patched to set DT_RUNPATH
15844 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15845 $as_echo_n "(cached) " >&6
15846 else
15847 lt_cv_shlibpath_overrides_runpath=no
15848 save_LDFLAGS=$LDFLAGS
15849 save_libdir=$libdir
15850 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15851 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15852 if test x$gcc_no_link = xyes; then
15853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15855 cat > conftest.$ac_ext <<_ACEOF
15856 program main
15859 _ACEOF
15860 if ac_fn_fc_try_link "$LINENO"; then :
15861 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15862 lt_cv_shlibpath_overrides_runpath=yes
15865 rm -f core conftest.err conftest.$ac_objext \
15866 conftest$ac_exeext conftest.$ac_ext
15867 LDFLAGS=$save_LDFLAGS
15868 libdir=$save_libdir
15872 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15874 # This implies no fast_install, which is unacceptable.
15875 # Some rework will be needed to allow for fast_install
15876 # before this can be enabled.
15877 hardcode_into_libs=yes
15879 # Append ld.so.conf contents to the search path
15880 if test -f /etc/ld.so.conf; then
15881 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' ' '`
15882 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15885 # We used to test for /lib/ld.so.1 and disable shared libraries on
15886 # powerpc, because MkLinux only supported shared libraries with the
15887 # GNU dynamic linker. Since this was broken with cross compilers,
15888 # most powerpc-linux boxes support dynamic linking these days and
15889 # people can always --disable-shared, the test was removed, and we
15890 # assume the GNU/Linux dynamic linker is in use.
15891 dynamic_linker='GNU/Linux ld.so'
15894 netbsd*)
15895 version_type=sunos
15896 need_lib_prefix=no
15897 need_version=no
15898 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15901 dynamic_linker='NetBSD (a.out) ld.so'
15902 else
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'
15905 dynamic_linker='NetBSD ld.elf_so'
15907 shlibpath_var=LD_LIBRARY_PATH
15908 shlibpath_overrides_runpath=yes
15909 hardcode_into_libs=yes
15912 newsos6)
15913 version_type=linux
15914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915 shlibpath_var=LD_LIBRARY_PATH
15916 shlibpath_overrides_runpath=yes
15919 *nto* | *qnx*)
15920 version_type=qnx
15921 need_lib_prefix=no
15922 need_version=no
15923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15924 soname_spec='${libname}${release}${shared_ext}$major'
15925 shlibpath_var=LD_LIBRARY_PATH
15926 shlibpath_overrides_runpath=no
15927 hardcode_into_libs=yes
15928 dynamic_linker='ldqnx.so'
15931 openbsd*)
15932 version_type=sunos
15933 sys_lib_dlsearch_path_spec="/usr/lib"
15934 need_lib_prefix=no
15935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15936 case $host_os in
15937 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15938 *) need_version=no ;;
15939 esac
15940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15942 shlibpath_var=LD_LIBRARY_PATH
15943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15944 case $host_os in
15945 openbsd2.[89] | openbsd2.[89].*)
15946 shlibpath_overrides_runpath=no
15949 shlibpath_overrides_runpath=yes
15951 esac
15952 else
15953 shlibpath_overrides_runpath=yes
15957 os2*)
15958 libname_spec='$name'
15959 shrext_cmds=".dll"
15960 need_lib_prefix=no
15961 library_names_spec='$libname${shared_ext} $libname.a'
15962 dynamic_linker='OS/2 ld.exe'
15963 shlibpath_var=LIBPATH
15966 osf3* | osf4* | osf5*)
15967 version_type=osf
15968 need_lib_prefix=no
15969 need_version=no
15970 soname_spec='${libname}${release}${shared_ext}$major'
15971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15972 shlibpath_var=LD_LIBRARY_PATH
15973 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15974 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15977 rdos*)
15978 dynamic_linker=no
15981 solaris*)
15982 version_type=linux
15983 need_lib_prefix=no
15984 need_version=no
15985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15986 soname_spec='${libname}${release}${shared_ext}$major'
15987 shlibpath_var=LD_LIBRARY_PATH
15988 shlibpath_overrides_runpath=yes
15989 hardcode_into_libs=yes
15990 # ldd complains unless libraries are executable
15991 postinstall_cmds='chmod +x $lib'
15994 sunos4*)
15995 version_type=sunos
15996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15997 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15998 shlibpath_var=LD_LIBRARY_PATH
15999 shlibpath_overrides_runpath=yes
16000 if test "$with_gnu_ld" = yes; then
16001 need_lib_prefix=no
16003 need_version=yes
16006 sysv4 | sysv4.3*)
16007 version_type=linux
16008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16009 soname_spec='${libname}${release}${shared_ext}$major'
16010 shlibpath_var=LD_LIBRARY_PATH
16011 case $host_vendor in
16012 sni)
16013 shlibpath_overrides_runpath=no
16014 need_lib_prefix=no
16015 runpath_var=LD_RUN_PATH
16017 siemens)
16018 need_lib_prefix=no
16020 motorola)
16021 need_lib_prefix=no
16022 need_version=no
16023 shlibpath_overrides_runpath=no
16024 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16026 esac
16029 sysv4*MP*)
16030 if test -d /usr/nec ;then
16031 version_type=linux
16032 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16033 soname_spec='$libname${shared_ext}.$major'
16034 shlibpath_var=LD_LIBRARY_PATH
16038 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16039 version_type=freebsd-elf
16040 need_lib_prefix=no
16041 need_version=no
16042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16043 soname_spec='${libname}${release}${shared_ext}$major'
16044 shlibpath_var=LD_LIBRARY_PATH
16045 shlibpath_overrides_runpath=yes
16046 hardcode_into_libs=yes
16047 if test "$with_gnu_ld" = yes; then
16048 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16049 else
16050 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16051 case $host_os in
16052 sco3.2v5*)
16053 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16055 esac
16057 sys_lib_dlsearch_path_spec='/usr/lib'
16060 tpf*)
16061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16062 version_type=linux
16063 need_lib_prefix=no
16064 need_version=no
16065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16066 shlibpath_var=LD_LIBRARY_PATH
16067 shlibpath_overrides_runpath=no
16068 hardcode_into_libs=yes
16071 uts4*)
16072 version_type=linux
16073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16074 soname_spec='${libname}${release}${shared_ext}$major'
16075 shlibpath_var=LD_LIBRARY_PATH
16079 dynamic_linker=no
16081 esac
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16083 $as_echo "$dynamic_linker" >&6; }
16084 test "$dynamic_linker" = no && can_build_shared=no
16086 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16087 if test "$GCC" = yes; then
16088 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16092 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16095 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16136 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16137 hardcode_action_FC=
16138 if test -n "$hardcode_libdir_flag_spec_FC" ||
16139 test -n "$runpath_var_FC" ||
16140 test "X$hardcode_automatic_FC" = "Xyes" ; then
16142 # We can hardcode non-existent directories.
16143 if test "$hardcode_direct_FC" != no &&
16144 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16145 # have to relink, otherwise we might link with an installed library
16146 # when we should be linking with a yet-to-be-installed one
16147 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16148 test "$hardcode_minus_L_FC" != no; then
16149 # Linking always hardcodes the temporary library directory.
16150 hardcode_action_FC=relink
16151 else
16152 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16153 hardcode_action_FC=immediate
16155 else
16156 # We cannot hardcode anything, or else we can only hardcode existing
16157 # directories.
16158 hardcode_action_FC=unsupported
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16161 $as_echo "$hardcode_action_FC" >&6; }
16163 if test "$hardcode_action_FC" = relink ||
16164 test "$inherit_rpath_FC" = yes; then
16165 # Fast installation is not supported
16166 enable_fast_install=no
16167 elif test "$shlibpath_overrides_runpath" = yes ||
16168 test "$enable_shared" = no; then
16169 # Fast installation is not necessary
16170 enable_fast_install=needless
16179 fi # test -n "$compiler"
16181 GCC=$lt_save_GCC
16182 CC="$lt_save_CC"
16183 fi # test "$_lt_disable_FC" != yes
16185 ac_ext=c
16186 ac_cpp='$CPP $CPPFLAGS'
16187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16193 # extra LD Flags which are required for targets
16194 case "${host}" in
16195 *-darwin*)
16196 # Darwin needs -single_module when linking libgfortran
16197 extra_ldflags_libgfortran=-Wl,-single_module
16199 esac
16202 # We need a working compiler at that point, otherwise give a clear
16203 # error message and bail out.
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16206 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16207 ac_ext=${ac_fc_srcext-f}
16208 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16209 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16210 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16212 cat > conftest.$ac_ext <<_ACEOF
16214 program foo
16215 real, parameter :: bar = sin (12.34 / 2.5)
16216 end program foo
16217 _ACEOF
16218 if ac_fn_fc_try_compile "$LINENO"; then :
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16220 $as_echo "yes" >&6; }
16221 else
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16223 $as_echo "no" >&6; }
16224 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16228 ac_ext=c
16229 ac_cpp='$CPP $CPPFLAGS'
16230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16236 # Check whether --enable-largefile was given.
16237 if test "${enable_largefile+set}" = set; then :
16238 enableval=$enable_largefile;
16241 if test "$enable_largefile" != no; then
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16244 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16245 if ${ac_cv_sys_largefile_CC+:} false; then :
16246 $as_echo_n "(cached) " >&6
16247 else
16248 ac_cv_sys_largefile_CC=no
16249 if test "$GCC" != yes; then
16250 ac_save_CC=$CC
16251 while :; do
16252 # IRIX 6.2 and later do not support large files by default,
16253 # so use the C compiler's -n32 option if that helps.
16254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16256 #include <sys/types.h>
16257 /* Check that off_t can represent 2**63 - 1 correctly.
16258 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16259 since some C++ compilers masquerading as C compilers
16260 incorrectly reject 9223372036854775807. */
16261 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16262 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16263 && LARGE_OFF_T % 2147483647 == 1)
16264 ? 1 : -1];
16266 main ()
16270 return 0;
16272 _ACEOF
16273 if ac_fn_c_try_compile "$LINENO"; then :
16274 break
16276 rm -f core conftest.err conftest.$ac_objext
16277 CC="$CC -n32"
16278 if ac_fn_c_try_compile "$LINENO"; then :
16279 ac_cv_sys_largefile_CC=' -n32'; break
16281 rm -f core conftest.err conftest.$ac_objext
16282 break
16283 done
16284 CC=$ac_save_CC
16285 rm -f conftest.$ac_ext
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16289 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16290 if test "$ac_cv_sys_largefile_CC" != no; then
16291 CC=$CC$ac_cv_sys_largefile_CC
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16295 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16296 if ${ac_cv_sys_file_offset_bits+:} false; then :
16297 $as_echo_n "(cached) " >&6
16298 else
16299 while :; do
16300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16302 #include <sys/types.h>
16303 /* Check that off_t can represent 2**63 - 1 correctly.
16304 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16305 since some C++ compilers masquerading as C compilers
16306 incorrectly reject 9223372036854775807. */
16307 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16308 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16309 && LARGE_OFF_T % 2147483647 == 1)
16310 ? 1 : -1];
16312 main ()
16316 return 0;
16318 _ACEOF
16319 if ac_fn_c_try_compile "$LINENO"; then :
16320 ac_cv_sys_file_offset_bits=no; break
16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16324 /* end confdefs.h. */
16325 #define _FILE_OFFSET_BITS 64
16326 #include <sys/types.h>
16327 /* Check that off_t can represent 2**63 - 1 correctly.
16328 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16329 since some C++ compilers masquerading as C compilers
16330 incorrectly reject 9223372036854775807. */
16331 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16332 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16333 && LARGE_OFF_T % 2147483647 == 1)
16334 ? 1 : -1];
16336 main ()
16340 return 0;
16342 _ACEOF
16343 if ac_fn_c_try_compile "$LINENO"; then :
16344 ac_cv_sys_file_offset_bits=64; break
16346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16347 ac_cv_sys_file_offset_bits=unknown
16348 break
16349 done
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16352 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16353 case $ac_cv_sys_file_offset_bits in #(
16354 no | unknown) ;;
16356 cat >>confdefs.h <<_ACEOF
16357 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16358 _ACEOF
16360 esac
16361 rm -rf conftest*
16362 if test $ac_cv_sys_file_offset_bits = unknown; then
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16364 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16365 if ${ac_cv_sys_large_files+:} false; then :
16366 $as_echo_n "(cached) " >&6
16367 else
16368 while :; do
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #include <sys/types.h>
16372 /* Check that off_t can represent 2**63 - 1 correctly.
16373 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16374 since some C++ compilers masquerading as C compilers
16375 incorrectly reject 9223372036854775807. */
16376 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16377 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16378 && LARGE_OFF_T % 2147483647 == 1)
16379 ? 1 : -1];
16381 main ()
16385 return 0;
16387 _ACEOF
16388 if ac_fn_c_try_compile "$LINENO"; then :
16389 ac_cv_sys_large_files=no; break
16391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16394 #define _LARGE_FILES 1
16395 #include <sys/types.h>
16396 /* Check that off_t can represent 2**63 - 1 correctly.
16397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16398 since some C++ compilers masquerading as C compilers
16399 incorrectly reject 9223372036854775807. */
16400 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16402 && LARGE_OFF_T % 2147483647 == 1)
16403 ? 1 : -1];
16405 main ()
16409 return 0;
16411 _ACEOF
16412 if ac_fn_c_try_compile "$LINENO"; then :
16413 ac_cv_sys_large_files=1; break
16415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16416 ac_cv_sys_large_files=unknown
16417 break
16418 done
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16421 $as_echo "$ac_cv_sys_large_files" >&6; }
16422 case $ac_cv_sys_large_files in #(
16423 no | unknown) ;;
16425 cat >>confdefs.h <<_ACEOF
16426 #define _LARGE_FILES $ac_cv_sys_large_files
16427 _ACEOF
16429 esac
16430 rm -rf conftest*
16437 # Types
16438 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16439 if test "x$ac_cv_type_off_t" = xyes; then :
16441 else
16443 cat >>confdefs.h <<_ACEOF
16444 #define off_t long int
16445 _ACEOF
16450 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16451 if test "x$ac_cv_type_intptr_t" = xyes; then :
16453 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16455 else
16456 for ac_type in 'int' 'long int' 'long long int'; do
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 $ac_includes_default
16461 main ()
16463 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16464 test_array [0] = 0;
16465 return test_array [0];
16468 return 0;
16470 _ACEOF
16471 if ac_fn_c_try_compile "$LINENO"; then :
16473 cat >>confdefs.h <<_ACEOF
16474 #define intptr_t $ac_type
16475 _ACEOF
16477 ac_type=
16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16480 test -z "$ac_type" && break
16481 done
16486 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16487 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16489 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16491 else
16492 for ac_type in 'unsigned int' 'unsigned long int' \
16493 'unsigned long long int'; do
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 $ac_includes_default
16498 main ()
16500 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16501 test_array [0] = 0;
16502 return test_array [0];
16505 return 0;
16507 _ACEOF
16508 if ac_fn_c_try_compile "$LINENO"; then :
16510 cat >>confdefs.h <<_ACEOF
16511 #define uintptr_t $ac_type
16512 _ACEOF
16514 ac_type=
16516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16517 test -z "$ac_type" && break
16518 done
16522 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16523 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16525 cat >>confdefs.h <<_ACEOF
16526 #define HAVE_PTRDIFF_T 1
16527 _ACEOF
16533 # check header files (we assume C89 is available, so don't check for that)
16537 for ac_header in $ac_header_list
16538 do :
16539 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16540 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16542 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16543 cat >>confdefs.h <<_ACEOF
16544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16545 _ACEOF
16549 done
16589 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16591 acx_cv_header_stdint=stddef.h
16592 acx_cv_header_stdint_kind="(already complete)"
16593 for i in stdint.h $inttype_headers; do
16594 unset ac_cv_type_uintptr_t
16595 unset ac_cv_type_uintmax_t
16596 unset ac_cv_type_int_least32_t
16597 unset ac_cv_type_int_fast32_t
16598 unset ac_cv_type_uint64_t
16599 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16600 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16601 #include <$i>
16603 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16604 acx_cv_header_stdint=$i
16605 else
16606 continue
16609 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16610 #include <$i>
16612 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16614 else
16615 acx_cv_header_stdint_kind="(mostly complete)"
16618 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16619 #include <$i>
16621 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16623 else
16624 acx_cv_header_stdint_kind="(mostly complete)"
16627 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16628 #include <$i>
16630 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16632 else
16633 acx_cv_header_stdint_kind="(mostly complete)"
16636 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16637 #include <$i>
16639 if test "x$ac_cv_type_uint64_t" = xyes; then :
16641 else
16642 acx_cv_header_stdint_kind="(lacks uint64_t)"
16645 break
16646 done
16647 if test "$acx_cv_header_stdint" = stddef.h; then
16648 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16649 for i in stdint.h $inttype_headers; do
16650 unset ac_cv_type_uintptr_t
16651 unset ac_cv_type_uint32_t
16652 unset ac_cv_type_uint64_t
16653 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16654 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16655 #include <$i>
16657 if test "x$ac_cv_type_uint32_t" = xyes; then :
16658 acx_cv_header_stdint=$i
16659 else
16660 continue
16663 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16664 #include <$i>
16666 if test "x$ac_cv_type_uint64_t" = xyes; then :
16670 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16671 #include <$i>
16673 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16677 break
16678 done
16680 if test "$acx_cv_header_stdint" = stddef.h; then
16681 acx_cv_header_stdint_kind="(u_intXX_t style)"
16682 for i in sys/types.h $inttype_headers; do
16683 unset ac_cv_type_u_int32_t
16684 unset ac_cv_type_u_int64_t
16685 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16686 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16687 #include <$i>
16689 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16690 acx_cv_header_stdint=$i
16691 else
16692 continue
16695 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16696 #include <$i>
16698 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16702 break
16703 done
16705 if test "$acx_cv_header_stdint" = stddef.h; then
16706 acx_cv_header_stdint_kind="(using manual detection)"
16709 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16710 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16711 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16712 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16713 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16715 # ----------------- Summarize what we found so far
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16718 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16720 case `$as_basename -- gstdint.h ||
16721 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16722 Xgstdint.h : 'X\(//\)$' \| \
16723 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16724 $as_echo X/gstdint.h |
16725 sed '/^.*\/\([^/][^/]*\)\/*$/{
16726 s//\1/
16729 /^X\/\(\/\/\)$/{
16730 s//\1/
16733 /^X\/\(\/\).*/{
16734 s//\1/
16737 s/.*/./; q'` in
16738 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16739 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16740 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16741 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16742 *) ;;
16743 esac
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16746 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16748 # ----------------- done included file, check C basic types --------
16750 # Lacking an uintptr_t? Test size of void *
16751 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16752 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16755 # This bug is HP SR number 8606223364.
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16757 $as_echo_n "checking size of void *... " >&6; }
16758 if ${ac_cv_sizeof_void_p+:} false; then :
16759 $as_echo_n "(cached) " >&6
16760 else
16761 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16763 else
16764 if test "$ac_cv_type_void_p" = yes; then
16765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16767 as_fn_error 77 "cannot compute sizeof (void *)
16768 See \`config.log' for more details" "$LINENO" 5; }
16769 else
16770 ac_cv_sizeof_void_p=0
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16776 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16780 cat >>confdefs.h <<_ACEOF
16781 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16782 _ACEOF
16785 esac
16787 # Lacking an uint64_t? Test size of long
16788 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16789 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16792 # This bug is HP SR number 8606223364.
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16794 $as_echo_n "checking size of long... " >&6; }
16795 if ${ac_cv_sizeof_long+:} false; then :
16796 $as_echo_n "(cached) " >&6
16797 else
16798 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16800 else
16801 if test "$ac_cv_type_long" = yes; then
16802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16804 as_fn_error 77 "cannot compute sizeof (long)
16805 See \`config.log' for more details" "$LINENO" 5; }
16806 else
16807 ac_cv_sizeof_long=0
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16813 $as_echo "$ac_cv_sizeof_long" >&6; }
16817 cat >>confdefs.h <<_ACEOF
16818 #define SIZEOF_LONG $ac_cv_sizeof_long
16819 _ACEOF
16822 esac
16824 if test $acx_cv_header_stdint = stddef.h; then
16825 # Lacking a good header? Test size of everything and deduce all types.
16826 # The cast to long int works around a bug in the HP C Compiler
16827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16829 # This bug is HP SR number 8606223364.
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16831 $as_echo_n "checking size of int... " >&6; }
16832 if ${ac_cv_sizeof_int+:} false; then :
16833 $as_echo_n "(cached) " >&6
16834 else
16835 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16837 else
16838 if test "$ac_cv_type_int" = yes; then
16839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16841 as_fn_error 77 "cannot compute sizeof (int)
16842 See \`config.log' for more details" "$LINENO" 5; }
16843 else
16844 ac_cv_sizeof_int=0
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16850 $as_echo "$ac_cv_sizeof_int" >&6; }
16854 cat >>confdefs.h <<_ACEOF
16855 #define SIZEOF_INT $ac_cv_sizeof_int
16856 _ACEOF
16859 # The cast to long int works around a bug in the HP C Compiler
16860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16862 # This bug is HP SR number 8606223364.
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16864 $as_echo_n "checking size of short... " >&6; }
16865 if ${ac_cv_sizeof_short+:} false; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16870 else
16871 if test "$ac_cv_type_short" = yes; then
16872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16874 as_fn_error 77 "cannot compute sizeof (short)
16875 See \`config.log' for more details" "$LINENO" 5; }
16876 else
16877 ac_cv_sizeof_short=0
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16883 $as_echo "$ac_cv_sizeof_short" >&6; }
16887 cat >>confdefs.h <<_ACEOF
16888 #define SIZEOF_SHORT $ac_cv_sizeof_short
16889 _ACEOF
16892 # The cast to long int works around a bug in the HP C Compiler
16893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16895 # This bug is HP SR number 8606223364.
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16897 $as_echo_n "checking size of char... " >&6; }
16898 if ${ac_cv_sizeof_char+:} false; then :
16899 $as_echo_n "(cached) " >&6
16900 else
16901 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16903 else
16904 if test "$ac_cv_type_char" = yes; then
16905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16907 as_fn_error 77 "cannot compute sizeof (char)
16908 See \`config.log' for more details" "$LINENO" 5; }
16909 else
16910 ac_cv_sizeof_char=0
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16916 $as_echo "$ac_cv_sizeof_char" >&6; }
16920 cat >>confdefs.h <<_ACEOF
16921 #define SIZEOF_CHAR $ac_cv_sizeof_char
16922 _ACEOF
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16927 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16928 case "$ac_cv_sizeof_char" in
16929 1) acx_cv_type_int8_t=char ;;
16930 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
16931 esac
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16933 $as_echo "$acx_cv_type_int8_t" >&6; }
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16936 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16937 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16938 2:*) acx_cv_type_int16_t=int ;;
16939 *:2) acx_cv_type_int16_t=short ;;
16940 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
16941 esac
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16943 $as_echo "$acx_cv_type_int16_t" >&6; }
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16946 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16947 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16948 4:*) acx_cv_type_int32_t=int ;;
16949 *:4) acx_cv_type_int32_t=long ;;
16950 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
16951 esac
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16953 $as_echo "$acx_cv_type_int32_t" >&6; }
16956 # These tests are here to make the output prettier
16958 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16959 case "$ac_cv_sizeof_long" in
16960 8) acx_cv_type_int64_t=long ;;
16961 esac
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16963 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16965 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16968 # Now we can use the above types
16970 if test "$ac_cv_type_uintptr_t" != yes; then
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16972 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16973 case $ac_cv_sizeof_void_p in
16974 2) acx_cv_type_intptr_t=int16_t ;;
16975 4) acx_cv_type_intptr_t=int32_t ;;
16976 8) acx_cv_type_intptr_t=int64_t ;;
16977 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16978 esac
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16980 $as_echo "$acx_cv_type_intptr_t" >&6; }
16983 # ----------------- done all checks, emit header -------------
16984 ac_config_commands="$ac_config_commands gstdint.h"
16989 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16990 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
16992 cat >>confdefs.h <<_ACEOF
16993 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16994 _ACEOF
16998 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16999 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17001 cat >>confdefs.h <<_ACEOF
17002 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17003 _ACEOF
17007 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17008 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17010 cat >>confdefs.h <<_ACEOF
17011 #define HAVE_STRUCT_STAT_ST_RDEV 1
17012 _ACEOF
17018 case "${host}--x${with_newlib}" in
17019 mips*--xyes)
17020 hardwire_newlib=1;;
17021 nvptx*--xyes)
17022 hardwire_newlib=1;;
17023 esac
17025 # Check for library functions.
17026 if test "${hardwire_newlib:-0}" -eq 1; then
17027 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17028 # may not work correctly, because the compiler may not be able to
17029 # link executables.
17031 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17034 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17037 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17040 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17043 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17046 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17049 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17052 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17055 # At some point, we should differentiate between architectures
17056 # like x86, which have long double versions, and alpha/powerpc/etc.,
17057 # which don't. For the time being, punt.
17058 if test x"long_double_math_on_this_cpu" = x"yes"; then
17060 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17063 else
17067 for ac_func in $ac_func_list
17068 do :
17069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17071 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17072 cat >>confdefs.h <<_ACEOF
17073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17074 _ACEOF
17077 done
17194 # Check strerror_r, cannot be above as versions with two and three arguments exist
17196 ac_save_CFLAGS="$CFLAGS"
17197 CFLAGS="-Wimplicit-function-declaration -Werror"
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 #define _GNU_SOURCE 1
17201 #include <string.h>
17202 #include <locale.h>
17204 main ()
17206 char s[128]; strerror_r(5, s, 128);
17208 return 0;
17210 _ACEOF
17211 if ac_fn_c_try_compile "$LINENO"; then :
17213 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217 CFLAGS="$ac_save_CFLAGS"
17219 ac_save_CFLAGS="$CFLAGS"
17220 CFLAGS="-Wimplicit-function-declaration -Werror"
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 #define _GNU_SOURCE 1
17224 #include <string.h>
17225 #include <locale.h>
17227 main ()
17229 char s[128]; strerror_r(5, s);
17231 return 0;
17233 _ACEOF
17234 if ac_fn_c_try_compile "$LINENO"; then :
17236 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17240 CFLAGS="$ac_save_CFLAGS"
17243 # Check for C99 (and other IEEE) math functions
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17245 $as_echo_n "checking for sin in -lm... " >&6; }
17246 if ${ac_cv_lib_m_sin+:} false; then :
17247 $as_echo_n "(cached) " >&6
17248 else
17249 ac_check_lib_save_LIBS=$LIBS
17250 LIBS="-lm $LIBS"
17251 if test x$gcc_no_link = xyes; then
17252 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17257 /* Override any GCC internal prototype to avoid an error.
17258 Use char because int might match the return type of a GCC
17259 builtin and then its argument prototype would still apply. */
17260 #ifdef __cplusplus
17261 extern "C"
17262 #endif
17263 char sin ();
17265 main ()
17267 return sin ();
17269 return 0;
17271 _ACEOF
17272 if ac_fn_c_try_link "$LINENO"; then :
17273 ac_cv_lib_m_sin=yes
17274 else
17275 ac_cv_lib_m_sin=no
17277 rm -f core conftest.err conftest.$ac_objext \
17278 conftest$ac_exeext conftest.$ac_ext
17279 LIBS=$ac_check_lib_save_LIBS
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17282 $as_echo "$ac_cv_lib_m_sin" >&6; }
17283 if test "x$ac_cv_lib_m_sin" = xyes; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_LIBM 1
17286 _ACEOF
17288 LIBS="-lm $LIBS"
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17299 $as_echo_n "checking for acosf... " >&6; }
17300 if ${gcc_cv_math_func_acosf+:} false; then :
17301 $as_echo_n "(cached) " >&6
17302 else
17303 if test x$gcc_no_link = xyes; then
17304 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17309 #ifdef HAVE_COMPLEX_H
17310 #include <complex.h>
17311 #endif
17312 #ifdef HAVE_MATH_H
17313 #include <math.h>
17314 #endif
17316 int (*ptr)() = (int (*)())acosf;
17319 main ()
17321 return 0;
17324 _ACEOF
17325 if ac_fn_c_try_link "$LINENO"; then :
17326 gcc_cv_math_func_acosf=yes
17327 else
17328 gcc_cv_math_func_acosf=no
17330 rm -f core conftest.err conftest.$ac_objext \
17331 conftest$ac_exeext conftest.$ac_ext
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17334 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17335 if test $gcc_cv_math_func_acosf = yes; then
17337 cat >>confdefs.h <<_ACEOF
17338 #define HAVE_ACOSF 1
17339 _ACEOF
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17347 $as_echo_n "checking for acos... " >&6; }
17348 if ${gcc_cv_math_func_acos+:} false; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 if test x$gcc_no_link = xyes; then
17352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17357 #ifdef HAVE_COMPLEX_H
17358 #include <complex.h>
17359 #endif
17360 #ifdef HAVE_MATH_H
17361 #include <math.h>
17362 #endif
17364 int (*ptr)() = (int (*)())acos;
17367 main ()
17369 return 0;
17372 _ACEOF
17373 if ac_fn_c_try_link "$LINENO"; then :
17374 gcc_cv_math_func_acos=yes
17375 else
17376 gcc_cv_math_func_acos=no
17378 rm -f core conftest.err conftest.$ac_objext \
17379 conftest$ac_exeext conftest.$ac_ext
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17382 $as_echo "$gcc_cv_math_func_acos" >&6; }
17383 if test $gcc_cv_math_func_acos = yes; then
17385 cat >>confdefs.h <<_ACEOF
17386 #define HAVE_ACOS 1
17387 _ACEOF
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17395 $as_echo_n "checking for acosl... " >&6; }
17396 if ${gcc_cv_math_func_acosl+:} false; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17399 if test x$gcc_no_link = xyes; then
17400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17405 #ifdef HAVE_COMPLEX_H
17406 #include <complex.h>
17407 #endif
17408 #ifdef HAVE_MATH_H
17409 #include <math.h>
17410 #endif
17412 int (*ptr)() = (int (*)())acosl;
17415 main ()
17417 return 0;
17420 _ACEOF
17421 if ac_fn_c_try_link "$LINENO"; then :
17422 gcc_cv_math_func_acosl=yes
17423 else
17424 gcc_cv_math_func_acosl=no
17426 rm -f core conftest.err conftest.$ac_objext \
17427 conftest$ac_exeext conftest.$ac_ext
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17430 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17431 if test $gcc_cv_math_func_acosl = yes; then
17433 cat >>confdefs.h <<_ACEOF
17434 #define HAVE_ACOSL 1
17435 _ACEOF
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17443 $as_echo_n "checking for acoshf... " >&6; }
17444 if ${gcc_cv_math_func_acoshf+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 if test x$gcc_no_link = xyes; then
17448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17453 #ifdef HAVE_COMPLEX_H
17454 #include <complex.h>
17455 #endif
17456 #ifdef HAVE_MATH_H
17457 #include <math.h>
17458 #endif
17460 int (*ptr)() = (int (*)())acoshf;
17463 main ()
17465 return 0;
17468 _ACEOF
17469 if ac_fn_c_try_link "$LINENO"; then :
17470 gcc_cv_math_func_acoshf=yes
17471 else
17472 gcc_cv_math_func_acoshf=no
17474 rm -f core conftest.err conftest.$ac_objext \
17475 conftest$ac_exeext conftest.$ac_ext
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17478 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17479 if test $gcc_cv_math_func_acoshf = yes; then
17481 cat >>confdefs.h <<_ACEOF
17482 #define HAVE_ACOSHF 1
17483 _ACEOF
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17491 $as_echo_n "checking for acosh... " >&6; }
17492 if ${gcc_cv_math_func_acosh+:} false; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17495 if test x$gcc_no_link = xyes; then
17496 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17501 #ifdef HAVE_COMPLEX_H
17502 #include <complex.h>
17503 #endif
17504 #ifdef HAVE_MATH_H
17505 #include <math.h>
17506 #endif
17508 int (*ptr)() = (int (*)())acosh;
17511 main ()
17513 return 0;
17516 _ACEOF
17517 if ac_fn_c_try_link "$LINENO"; then :
17518 gcc_cv_math_func_acosh=yes
17519 else
17520 gcc_cv_math_func_acosh=no
17522 rm -f core conftest.err conftest.$ac_objext \
17523 conftest$ac_exeext conftest.$ac_ext
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17526 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17527 if test $gcc_cv_math_func_acosh = yes; then
17529 cat >>confdefs.h <<_ACEOF
17530 #define HAVE_ACOSH 1
17531 _ACEOF
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17539 $as_echo_n "checking for acoshl... " >&6; }
17540 if ${gcc_cv_math_func_acoshl+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 if test x$gcc_no_link = xyes; then
17544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17549 #ifdef HAVE_COMPLEX_H
17550 #include <complex.h>
17551 #endif
17552 #ifdef HAVE_MATH_H
17553 #include <math.h>
17554 #endif
17556 int (*ptr)() = (int (*)())acoshl;
17559 main ()
17561 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 gcc_cv_math_func_acoshl=yes
17567 else
17568 gcc_cv_math_func_acoshl=no
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17574 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17575 if test $gcc_cv_math_func_acoshl = yes; then
17577 cat >>confdefs.h <<_ACEOF
17578 #define HAVE_ACOSHL 1
17579 _ACEOF
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17587 $as_echo_n "checking for asinf... " >&6; }
17588 if ${gcc_cv_math_func_asinf+:} false; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17591 if test x$gcc_no_link = xyes; then
17592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17597 #ifdef HAVE_COMPLEX_H
17598 #include <complex.h>
17599 #endif
17600 #ifdef HAVE_MATH_H
17601 #include <math.h>
17602 #endif
17604 int (*ptr)() = (int (*)())asinf;
17607 main ()
17609 return 0;
17612 _ACEOF
17613 if ac_fn_c_try_link "$LINENO"; then :
17614 gcc_cv_math_func_asinf=yes
17615 else
17616 gcc_cv_math_func_asinf=no
17618 rm -f core conftest.err conftest.$ac_objext \
17619 conftest$ac_exeext conftest.$ac_ext
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17622 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17623 if test $gcc_cv_math_func_asinf = yes; then
17625 cat >>confdefs.h <<_ACEOF
17626 #define HAVE_ASINF 1
17627 _ACEOF
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17635 $as_echo_n "checking for asin... " >&6; }
17636 if ${gcc_cv_math_func_asin+:} false; then :
17637 $as_echo_n "(cached) " >&6
17638 else
17639 if test x$gcc_no_link = xyes; then
17640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17645 #ifdef HAVE_COMPLEX_H
17646 #include <complex.h>
17647 #endif
17648 #ifdef HAVE_MATH_H
17649 #include <math.h>
17650 #endif
17652 int (*ptr)() = (int (*)())asin;
17655 main ()
17657 return 0;
17660 _ACEOF
17661 if ac_fn_c_try_link "$LINENO"; then :
17662 gcc_cv_math_func_asin=yes
17663 else
17664 gcc_cv_math_func_asin=no
17666 rm -f core conftest.err conftest.$ac_objext \
17667 conftest$ac_exeext conftest.$ac_ext
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17670 $as_echo "$gcc_cv_math_func_asin" >&6; }
17671 if test $gcc_cv_math_func_asin = yes; then
17673 cat >>confdefs.h <<_ACEOF
17674 #define HAVE_ASIN 1
17675 _ACEOF
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17683 $as_echo_n "checking for asinl... " >&6; }
17684 if ${gcc_cv_math_func_asinl+:} false; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17687 if test x$gcc_no_link = xyes; then
17688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17693 #ifdef HAVE_COMPLEX_H
17694 #include <complex.h>
17695 #endif
17696 #ifdef HAVE_MATH_H
17697 #include <math.h>
17698 #endif
17700 int (*ptr)() = (int (*)())asinl;
17703 main ()
17705 return 0;
17708 _ACEOF
17709 if ac_fn_c_try_link "$LINENO"; then :
17710 gcc_cv_math_func_asinl=yes
17711 else
17712 gcc_cv_math_func_asinl=no
17714 rm -f core conftest.err conftest.$ac_objext \
17715 conftest$ac_exeext conftest.$ac_ext
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17718 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17719 if test $gcc_cv_math_func_asinl = yes; then
17721 cat >>confdefs.h <<_ACEOF
17722 #define HAVE_ASINL 1
17723 _ACEOF
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17731 $as_echo_n "checking for asinhf... " >&6; }
17732 if ${gcc_cv_math_func_asinhf+:} false; then :
17733 $as_echo_n "(cached) " >&6
17734 else
17735 if test x$gcc_no_link = xyes; then
17736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17741 #ifdef HAVE_COMPLEX_H
17742 #include <complex.h>
17743 #endif
17744 #ifdef HAVE_MATH_H
17745 #include <math.h>
17746 #endif
17748 int (*ptr)() = (int (*)())asinhf;
17751 main ()
17753 return 0;
17756 _ACEOF
17757 if ac_fn_c_try_link "$LINENO"; then :
17758 gcc_cv_math_func_asinhf=yes
17759 else
17760 gcc_cv_math_func_asinhf=no
17762 rm -f core conftest.err conftest.$ac_objext \
17763 conftest$ac_exeext conftest.$ac_ext
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17766 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17767 if test $gcc_cv_math_func_asinhf = yes; then
17769 cat >>confdefs.h <<_ACEOF
17770 #define HAVE_ASINHF 1
17771 _ACEOF
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17779 $as_echo_n "checking for asinh... " >&6; }
17780 if ${gcc_cv_math_func_asinh+:} false; then :
17781 $as_echo_n "(cached) " >&6
17782 else
17783 if test x$gcc_no_link = xyes; then
17784 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17789 #ifdef HAVE_COMPLEX_H
17790 #include <complex.h>
17791 #endif
17792 #ifdef HAVE_MATH_H
17793 #include <math.h>
17794 #endif
17796 int (*ptr)() = (int (*)())asinh;
17799 main ()
17801 return 0;
17804 _ACEOF
17805 if ac_fn_c_try_link "$LINENO"; then :
17806 gcc_cv_math_func_asinh=yes
17807 else
17808 gcc_cv_math_func_asinh=no
17810 rm -f core conftest.err conftest.$ac_objext \
17811 conftest$ac_exeext conftest.$ac_ext
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17814 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17815 if test $gcc_cv_math_func_asinh = yes; then
17817 cat >>confdefs.h <<_ACEOF
17818 #define HAVE_ASINH 1
17819 _ACEOF
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17827 $as_echo_n "checking for asinhl... " >&6; }
17828 if ${gcc_cv_math_func_asinhl+:} false; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17831 if test x$gcc_no_link = xyes; then
17832 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17837 #ifdef HAVE_COMPLEX_H
17838 #include <complex.h>
17839 #endif
17840 #ifdef HAVE_MATH_H
17841 #include <math.h>
17842 #endif
17844 int (*ptr)() = (int (*)())asinhl;
17847 main ()
17849 return 0;
17852 _ACEOF
17853 if ac_fn_c_try_link "$LINENO"; then :
17854 gcc_cv_math_func_asinhl=yes
17855 else
17856 gcc_cv_math_func_asinhl=no
17858 rm -f core conftest.err conftest.$ac_objext \
17859 conftest$ac_exeext conftest.$ac_ext
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17862 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17863 if test $gcc_cv_math_func_asinhl = yes; then
17865 cat >>confdefs.h <<_ACEOF
17866 #define HAVE_ASINHL 1
17867 _ACEOF
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17875 $as_echo_n "checking for atan2f... " >&6; }
17876 if ${gcc_cv_math_func_atan2f+:} false; then :
17877 $as_echo_n "(cached) " >&6
17878 else
17879 if test x$gcc_no_link = xyes; then
17880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17885 #ifdef HAVE_COMPLEX_H
17886 #include <complex.h>
17887 #endif
17888 #ifdef HAVE_MATH_H
17889 #include <math.h>
17890 #endif
17892 int (*ptr)() = (int (*)())atan2f;
17895 main ()
17897 return 0;
17900 _ACEOF
17901 if ac_fn_c_try_link "$LINENO"; then :
17902 gcc_cv_math_func_atan2f=yes
17903 else
17904 gcc_cv_math_func_atan2f=no
17906 rm -f core conftest.err conftest.$ac_objext \
17907 conftest$ac_exeext conftest.$ac_ext
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17910 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17911 if test $gcc_cv_math_func_atan2f = yes; then
17913 cat >>confdefs.h <<_ACEOF
17914 #define HAVE_ATAN2F 1
17915 _ACEOF
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17923 $as_echo_n "checking for atan2... " >&6; }
17924 if ${gcc_cv_math_func_atan2+:} false; then :
17925 $as_echo_n "(cached) " >&6
17926 else
17927 if test x$gcc_no_link = xyes; then
17928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17933 #ifdef HAVE_COMPLEX_H
17934 #include <complex.h>
17935 #endif
17936 #ifdef HAVE_MATH_H
17937 #include <math.h>
17938 #endif
17940 int (*ptr)() = (int (*)())atan2;
17943 main ()
17945 return 0;
17948 _ACEOF
17949 if ac_fn_c_try_link "$LINENO"; then :
17950 gcc_cv_math_func_atan2=yes
17951 else
17952 gcc_cv_math_func_atan2=no
17954 rm -f core conftest.err conftest.$ac_objext \
17955 conftest$ac_exeext conftest.$ac_ext
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17958 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17959 if test $gcc_cv_math_func_atan2 = yes; then
17961 cat >>confdefs.h <<_ACEOF
17962 #define HAVE_ATAN2 1
17963 _ACEOF
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17971 $as_echo_n "checking for atan2l... " >&6; }
17972 if ${gcc_cv_math_func_atan2l+:} false; then :
17973 $as_echo_n "(cached) " >&6
17974 else
17975 if test x$gcc_no_link = xyes; then
17976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17981 #ifdef HAVE_COMPLEX_H
17982 #include <complex.h>
17983 #endif
17984 #ifdef HAVE_MATH_H
17985 #include <math.h>
17986 #endif
17988 int (*ptr)() = (int (*)())atan2l;
17991 main ()
17993 return 0;
17996 _ACEOF
17997 if ac_fn_c_try_link "$LINENO"; then :
17998 gcc_cv_math_func_atan2l=yes
17999 else
18000 gcc_cv_math_func_atan2l=no
18002 rm -f core conftest.err conftest.$ac_objext \
18003 conftest$ac_exeext conftest.$ac_ext
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18006 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18007 if test $gcc_cv_math_func_atan2l = yes; then
18009 cat >>confdefs.h <<_ACEOF
18010 #define HAVE_ATAN2L 1
18011 _ACEOF
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18019 $as_echo_n "checking for atanf... " >&6; }
18020 if ${gcc_cv_math_func_atanf+:} false; then :
18021 $as_echo_n "(cached) " >&6
18022 else
18023 if test x$gcc_no_link = xyes; then
18024 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18029 #ifdef HAVE_COMPLEX_H
18030 #include <complex.h>
18031 #endif
18032 #ifdef HAVE_MATH_H
18033 #include <math.h>
18034 #endif
18036 int (*ptr)() = (int (*)())atanf;
18039 main ()
18041 return 0;
18044 _ACEOF
18045 if ac_fn_c_try_link "$LINENO"; then :
18046 gcc_cv_math_func_atanf=yes
18047 else
18048 gcc_cv_math_func_atanf=no
18050 rm -f core conftest.err conftest.$ac_objext \
18051 conftest$ac_exeext conftest.$ac_ext
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18054 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18055 if test $gcc_cv_math_func_atanf = yes; then
18057 cat >>confdefs.h <<_ACEOF
18058 #define HAVE_ATANF 1
18059 _ACEOF
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18067 $as_echo_n "checking for atan... " >&6; }
18068 if ${gcc_cv_math_func_atan+:} false; then :
18069 $as_echo_n "(cached) " >&6
18070 else
18071 if test x$gcc_no_link = xyes; then
18072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18077 #ifdef HAVE_COMPLEX_H
18078 #include <complex.h>
18079 #endif
18080 #ifdef HAVE_MATH_H
18081 #include <math.h>
18082 #endif
18084 int (*ptr)() = (int (*)())atan;
18087 main ()
18089 return 0;
18092 _ACEOF
18093 if ac_fn_c_try_link "$LINENO"; then :
18094 gcc_cv_math_func_atan=yes
18095 else
18096 gcc_cv_math_func_atan=no
18098 rm -f core conftest.err conftest.$ac_objext \
18099 conftest$ac_exeext conftest.$ac_ext
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18102 $as_echo "$gcc_cv_math_func_atan" >&6; }
18103 if test $gcc_cv_math_func_atan = yes; then
18105 cat >>confdefs.h <<_ACEOF
18106 #define HAVE_ATAN 1
18107 _ACEOF
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18115 $as_echo_n "checking for atanl... " >&6; }
18116 if ${gcc_cv_math_func_atanl+:} false; then :
18117 $as_echo_n "(cached) " >&6
18118 else
18119 if test x$gcc_no_link = xyes; then
18120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18125 #ifdef HAVE_COMPLEX_H
18126 #include <complex.h>
18127 #endif
18128 #ifdef HAVE_MATH_H
18129 #include <math.h>
18130 #endif
18132 int (*ptr)() = (int (*)())atanl;
18135 main ()
18137 return 0;
18140 _ACEOF
18141 if ac_fn_c_try_link "$LINENO"; then :
18142 gcc_cv_math_func_atanl=yes
18143 else
18144 gcc_cv_math_func_atanl=no
18146 rm -f core conftest.err conftest.$ac_objext \
18147 conftest$ac_exeext conftest.$ac_ext
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18150 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18151 if test $gcc_cv_math_func_atanl = yes; then
18153 cat >>confdefs.h <<_ACEOF
18154 #define HAVE_ATANL 1
18155 _ACEOF
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18163 $as_echo_n "checking for atanhf... " >&6; }
18164 if ${gcc_cv_math_func_atanhf+:} false; then :
18165 $as_echo_n "(cached) " >&6
18166 else
18167 if test x$gcc_no_link = xyes; then
18168 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18173 #ifdef HAVE_COMPLEX_H
18174 #include <complex.h>
18175 #endif
18176 #ifdef HAVE_MATH_H
18177 #include <math.h>
18178 #endif
18180 int (*ptr)() = (int (*)())atanhf;
18183 main ()
18185 return 0;
18188 _ACEOF
18189 if ac_fn_c_try_link "$LINENO"; then :
18190 gcc_cv_math_func_atanhf=yes
18191 else
18192 gcc_cv_math_func_atanhf=no
18194 rm -f core conftest.err conftest.$ac_objext \
18195 conftest$ac_exeext conftest.$ac_ext
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18198 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18199 if test $gcc_cv_math_func_atanhf = yes; then
18201 cat >>confdefs.h <<_ACEOF
18202 #define HAVE_ATANHF 1
18203 _ACEOF
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18211 $as_echo_n "checking for atanh... " >&6; }
18212 if ${gcc_cv_math_func_atanh+:} false; then :
18213 $as_echo_n "(cached) " >&6
18214 else
18215 if test x$gcc_no_link = xyes; then
18216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18221 #ifdef HAVE_COMPLEX_H
18222 #include <complex.h>
18223 #endif
18224 #ifdef HAVE_MATH_H
18225 #include <math.h>
18226 #endif
18228 int (*ptr)() = (int (*)())atanh;
18231 main ()
18233 return 0;
18236 _ACEOF
18237 if ac_fn_c_try_link "$LINENO"; then :
18238 gcc_cv_math_func_atanh=yes
18239 else
18240 gcc_cv_math_func_atanh=no
18242 rm -f core conftest.err conftest.$ac_objext \
18243 conftest$ac_exeext conftest.$ac_ext
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18246 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18247 if test $gcc_cv_math_func_atanh = yes; then
18249 cat >>confdefs.h <<_ACEOF
18250 #define HAVE_ATANH 1
18251 _ACEOF
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18259 $as_echo_n "checking for atanhl... " >&6; }
18260 if ${gcc_cv_math_func_atanhl+:} false; then :
18261 $as_echo_n "(cached) " >&6
18262 else
18263 if test x$gcc_no_link = xyes; then
18264 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18267 /* end confdefs.h. */
18269 #ifdef HAVE_COMPLEX_H
18270 #include <complex.h>
18271 #endif
18272 #ifdef HAVE_MATH_H
18273 #include <math.h>
18274 #endif
18276 int (*ptr)() = (int (*)())atanhl;
18279 main ()
18281 return 0;
18284 _ACEOF
18285 if ac_fn_c_try_link "$LINENO"; then :
18286 gcc_cv_math_func_atanhl=yes
18287 else
18288 gcc_cv_math_func_atanhl=no
18290 rm -f core conftest.err conftest.$ac_objext \
18291 conftest$ac_exeext conftest.$ac_ext
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18294 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18295 if test $gcc_cv_math_func_atanhl = yes; then
18297 cat >>confdefs.h <<_ACEOF
18298 #define HAVE_ATANHL 1
18299 _ACEOF
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18307 $as_echo_n "checking for cargf... " >&6; }
18308 if ${gcc_cv_math_func_cargf+:} false; then :
18309 $as_echo_n "(cached) " >&6
18310 else
18311 if test x$gcc_no_link = xyes; then
18312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18317 #ifdef HAVE_COMPLEX_H
18318 #include <complex.h>
18319 #endif
18320 #ifdef HAVE_MATH_H
18321 #include <math.h>
18322 #endif
18324 int (*ptr)() = (int (*)())cargf;
18327 main ()
18329 return 0;
18332 _ACEOF
18333 if ac_fn_c_try_link "$LINENO"; then :
18334 gcc_cv_math_func_cargf=yes
18335 else
18336 gcc_cv_math_func_cargf=no
18338 rm -f core conftest.err conftest.$ac_objext \
18339 conftest$ac_exeext conftest.$ac_ext
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18342 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18343 if test $gcc_cv_math_func_cargf = yes; then
18345 cat >>confdefs.h <<_ACEOF
18346 #define HAVE_CARGF 1
18347 _ACEOF
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18355 $as_echo_n "checking for carg... " >&6; }
18356 if ${gcc_cv_math_func_carg+:} false; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18359 if test x$gcc_no_link = xyes; then
18360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18363 /* end confdefs.h. */
18365 #ifdef HAVE_COMPLEX_H
18366 #include <complex.h>
18367 #endif
18368 #ifdef HAVE_MATH_H
18369 #include <math.h>
18370 #endif
18372 int (*ptr)() = (int (*)())carg;
18375 main ()
18377 return 0;
18380 _ACEOF
18381 if ac_fn_c_try_link "$LINENO"; then :
18382 gcc_cv_math_func_carg=yes
18383 else
18384 gcc_cv_math_func_carg=no
18386 rm -f core conftest.err conftest.$ac_objext \
18387 conftest$ac_exeext conftest.$ac_ext
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18390 $as_echo "$gcc_cv_math_func_carg" >&6; }
18391 if test $gcc_cv_math_func_carg = yes; then
18393 cat >>confdefs.h <<_ACEOF
18394 #define HAVE_CARG 1
18395 _ACEOF
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18403 $as_echo_n "checking for cargl... " >&6; }
18404 if ${gcc_cv_math_func_cargl+:} false; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18407 if test x$gcc_no_link = xyes; then
18408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18413 #ifdef HAVE_COMPLEX_H
18414 #include <complex.h>
18415 #endif
18416 #ifdef HAVE_MATH_H
18417 #include <math.h>
18418 #endif
18420 int (*ptr)() = (int (*)())cargl;
18423 main ()
18425 return 0;
18428 _ACEOF
18429 if ac_fn_c_try_link "$LINENO"; then :
18430 gcc_cv_math_func_cargl=yes
18431 else
18432 gcc_cv_math_func_cargl=no
18434 rm -f core conftest.err conftest.$ac_objext \
18435 conftest$ac_exeext conftest.$ac_ext
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18438 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18439 if test $gcc_cv_math_func_cargl = yes; then
18441 cat >>confdefs.h <<_ACEOF
18442 #define HAVE_CARGL 1
18443 _ACEOF
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18451 $as_echo_n "checking for ceilf... " >&6; }
18452 if ${gcc_cv_math_func_ceilf+:} false; then :
18453 $as_echo_n "(cached) " >&6
18454 else
18455 if test x$gcc_no_link = xyes; then
18456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18461 #ifdef HAVE_COMPLEX_H
18462 #include <complex.h>
18463 #endif
18464 #ifdef HAVE_MATH_H
18465 #include <math.h>
18466 #endif
18468 int (*ptr)() = (int (*)())ceilf;
18471 main ()
18473 return 0;
18476 _ACEOF
18477 if ac_fn_c_try_link "$LINENO"; then :
18478 gcc_cv_math_func_ceilf=yes
18479 else
18480 gcc_cv_math_func_ceilf=no
18482 rm -f core conftest.err conftest.$ac_objext \
18483 conftest$ac_exeext conftest.$ac_ext
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18486 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18487 if test $gcc_cv_math_func_ceilf = yes; then
18489 cat >>confdefs.h <<_ACEOF
18490 #define HAVE_CEILF 1
18491 _ACEOF
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18499 $as_echo_n "checking for ceil... " >&6; }
18500 if ${gcc_cv_math_func_ceil+:} false; then :
18501 $as_echo_n "(cached) " >&6
18502 else
18503 if test x$gcc_no_link = xyes; then
18504 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18509 #ifdef HAVE_COMPLEX_H
18510 #include <complex.h>
18511 #endif
18512 #ifdef HAVE_MATH_H
18513 #include <math.h>
18514 #endif
18516 int (*ptr)() = (int (*)())ceil;
18519 main ()
18521 return 0;
18524 _ACEOF
18525 if ac_fn_c_try_link "$LINENO"; then :
18526 gcc_cv_math_func_ceil=yes
18527 else
18528 gcc_cv_math_func_ceil=no
18530 rm -f core conftest.err conftest.$ac_objext \
18531 conftest$ac_exeext conftest.$ac_ext
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18534 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18535 if test $gcc_cv_math_func_ceil = yes; then
18537 cat >>confdefs.h <<_ACEOF
18538 #define HAVE_CEIL 1
18539 _ACEOF
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18547 $as_echo_n "checking for ceill... " >&6; }
18548 if ${gcc_cv_math_func_ceill+:} false; then :
18549 $as_echo_n "(cached) " >&6
18550 else
18551 if test x$gcc_no_link = xyes; then
18552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18557 #ifdef HAVE_COMPLEX_H
18558 #include <complex.h>
18559 #endif
18560 #ifdef HAVE_MATH_H
18561 #include <math.h>
18562 #endif
18564 int (*ptr)() = (int (*)())ceill;
18567 main ()
18569 return 0;
18572 _ACEOF
18573 if ac_fn_c_try_link "$LINENO"; then :
18574 gcc_cv_math_func_ceill=yes
18575 else
18576 gcc_cv_math_func_ceill=no
18578 rm -f core conftest.err conftest.$ac_objext \
18579 conftest$ac_exeext conftest.$ac_ext
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18582 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18583 if test $gcc_cv_math_func_ceill = yes; then
18585 cat >>confdefs.h <<_ACEOF
18586 #define HAVE_CEILL 1
18587 _ACEOF
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18595 $as_echo_n "checking for copysignf... " >&6; }
18596 if ${gcc_cv_math_func_copysignf+:} false; then :
18597 $as_echo_n "(cached) " >&6
18598 else
18599 if test x$gcc_no_link = xyes; then
18600 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18605 #ifdef HAVE_COMPLEX_H
18606 #include <complex.h>
18607 #endif
18608 #ifdef HAVE_MATH_H
18609 #include <math.h>
18610 #endif
18612 int (*ptr)() = (int (*)())copysignf;
18615 main ()
18617 return 0;
18620 _ACEOF
18621 if ac_fn_c_try_link "$LINENO"; then :
18622 gcc_cv_math_func_copysignf=yes
18623 else
18624 gcc_cv_math_func_copysignf=no
18626 rm -f core conftest.err conftest.$ac_objext \
18627 conftest$ac_exeext conftest.$ac_ext
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18630 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18631 if test $gcc_cv_math_func_copysignf = yes; then
18633 cat >>confdefs.h <<_ACEOF
18634 #define HAVE_COPYSIGNF 1
18635 _ACEOF
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18643 $as_echo_n "checking for copysign... " >&6; }
18644 if ${gcc_cv_math_func_copysign+:} false; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18647 if test x$gcc_no_link = xyes; then
18648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18653 #ifdef HAVE_COMPLEX_H
18654 #include <complex.h>
18655 #endif
18656 #ifdef HAVE_MATH_H
18657 #include <math.h>
18658 #endif
18660 int (*ptr)() = (int (*)())copysign;
18663 main ()
18665 return 0;
18668 _ACEOF
18669 if ac_fn_c_try_link "$LINENO"; then :
18670 gcc_cv_math_func_copysign=yes
18671 else
18672 gcc_cv_math_func_copysign=no
18674 rm -f core conftest.err conftest.$ac_objext \
18675 conftest$ac_exeext conftest.$ac_ext
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18678 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18679 if test $gcc_cv_math_func_copysign = yes; then
18681 cat >>confdefs.h <<_ACEOF
18682 #define HAVE_COPYSIGN 1
18683 _ACEOF
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18691 $as_echo_n "checking for copysignl... " >&6; }
18692 if ${gcc_cv_math_func_copysignl+:} false; then :
18693 $as_echo_n "(cached) " >&6
18694 else
18695 if test x$gcc_no_link = xyes; then
18696 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18701 #ifdef HAVE_COMPLEX_H
18702 #include <complex.h>
18703 #endif
18704 #ifdef HAVE_MATH_H
18705 #include <math.h>
18706 #endif
18708 int (*ptr)() = (int (*)())copysignl;
18711 main ()
18713 return 0;
18716 _ACEOF
18717 if ac_fn_c_try_link "$LINENO"; then :
18718 gcc_cv_math_func_copysignl=yes
18719 else
18720 gcc_cv_math_func_copysignl=no
18722 rm -f core conftest.err conftest.$ac_objext \
18723 conftest$ac_exeext conftest.$ac_ext
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18726 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18727 if test $gcc_cv_math_func_copysignl = yes; then
18729 cat >>confdefs.h <<_ACEOF
18730 #define HAVE_COPYSIGNL 1
18731 _ACEOF
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18739 $as_echo_n "checking for cosf... " >&6; }
18740 if ${gcc_cv_math_func_cosf+:} false; then :
18741 $as_echo_n "(cached) " >&6
18742 else
18743 if test x$gcc_no_link = xyes; then
18744 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18749 #ifdef HAVE_COMPLEX_H
18750 #include <complex.h>
18751 #endif
18752 #ifdef HAVE_MATH_H
18753 #include <math.h>
18754 #endif
18756 int (*ptr)() = (int (*)())cosf;
18759 main ()
18761 return 0;
18764 _ACEOF
18765 if ac_fn_c_try_link "$LINENO"; then :
18766 gcc_cv_math_func_cosf=yes
18767 else
18768 gcc_cv_math_func_cosf=no
18770 rm -f core conftest.err conftest.$ac_objext \
18771 conftest$ac_exeext conftest.$ac_ext
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18774 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18775 if test $gcc_cv_math_func_cosf = yes; then
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_COSF 1
18779 _ACEOF
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18787 $as_echo_n "checking for cos... " >&6; }
18788 if ${gcc_cv_math_func_cos+:} false; then :
18789 $as_echo_n "(cached) " >&6
18790 else
18791 if test x$gcc_no_link = xyes; then
18792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18797 #ifdef HAVE_COMPLEX_H
18798 #include <complex.h>
18799 #endif
18800 #ifdef HAVE_MATH_H
18801 #include <math.h>
18802 #endif
18804 int (*ptr)() = (int (*)())cos;
18807 main ()
18809 return 0;
18812 _ACEOF
18813 if ac_fn_c_try_link "$LINENO"; then :
18814 gcc_cv_math_func_cos=yes
18815 else
18816 gcc_cv_math_func_cos=no
18818 rm -f core conftest.err conftest.$ac_objext \
18819 conftest$ac_exeext conftest.$ac_ext
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18822 $as_echo "$gcc_cv_math_func_cos" >&6; }
18823 if test $gcc_cv_math_func_cos = yes; then
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_COS 1
18827 _ACEOF
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18835 $as_echo_n "checking for cosl... " >&6; }
18836 if ${gcc_cv_math_func_cosl+:} false; then :
18837 $as_echo_n "(cached) " >&6
18838 else
18839 if test x$gcc_no_link = xyes; then
18840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18845 #ifdef HAVE_COMPLEX_H
18846 #include <complex.h>
18847 #endif
18848 #ifdef HAVE_MATH_H
18849 #include <math.h>
18850 #endif
18852 int (*ptr)() = (int (*)())cosl;
18855 main ()
18857 return 0;
18860 _ACEOF
18861 if ac_fn_c_try_link "$LINENO"; then :
18862 gcc_cv_math_func_cosl=yes
18863 else
18864 gcc_cv_math_func_cosl=no
18866 rm -f core conftest.err conftest.$ac_objext \
18867 conftest$ac_exeext conftest.$ac_ext
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18870 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18871 if test $gcc_cv_math_func_cosl = yes; then
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_COSL 1
18875 _ACEOF
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18883 $as_echo_n "checking for ccosf... " >&6; }
18884 if ${gcc_cv_math_func_ccosf+:} false; then :
18885 $as_echo_n "(cached) " >&6
18886 else
18887 if test x$gcc_no_link = xyes; then
18888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18893 #ifdef HAVE_COMPLEX_H
18894 #include <complex.h>
18895 #endif
18896 #ifdef HAVE_MATH_H
18897 #include <math.h>
18898 #endif
18900 int (*ptr)() = (int (*)())ccosf;
18903 main ()
18905 return 0;
18908 _ACEOF
18909 if ac_fn_c_try_link "$LINENO"; then :
18910 gcc_cv_math_func_ccosf=yes
18911 else
18912 gcc_cv_math_func_ccosf=no
18914 rm -f core conftest.err conftest.$ac_objext \
18915 conftest$ac_exeext conftest.$ac_ext
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18918 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18919 if test $gcc_cv_math_func_ccosf = yes; then
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_CCOSF 1
18923 _ACEOF
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18931 $as_echo_n "checking for ccos... " >&6; }
18932 if ${gcc_cv_math_func_ccos+:} false; then :
18933 $as_echo_n "(cached) " >&6
18934 else
18935 if test x$gcc_no_link = xyes; then
18936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18941 #ifdef HAVE_COMPLEX_H
18942 #include <complex.h>
18943 #endif
18944 #ifdef HAVE_MATH_H
18945 #include <math.h>
18946 #endif
18948 int (*ptr)() = (int (*)())ccos;
18951 main ()
18953 return 0;
18956 _ACEOF
18957 if ac_fn_c_try_link "$LINENO"; then :
18958 gcc_cv_math_func_ccos=yes
18959 else
18960 gcc_cv_math_func_ccos=no
18962 rm -f core conftest.err conftest.$ac_objext \
18963 conftest$ac_exeext conftest.$ac_ext
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18966 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18967 if test $gcc_cv_math_func_ccos = yes; then
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_CCOS 1
18971 _ACEOF
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18979 $as_echo_n "checking for ccosl... " >&6; }
18980 if ${gcc_cv_math_func_ccosl+:} false; then :
18981 $as_echo_n "(cached) " >&6
18982 else
18983 if test x$gcc_no_link = xyes; then
18984 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18987 /* end confdefs.h. */
18989 #ifdef HAVE_COMPLEX_H
18990 #include <complex.h>
18991 #endif
18992 #ifdef HAVE_MATH_H
18993 #include <math.h>
18994 #endif
18996 int (*ptr)() = (int (*)())ccosl;
18999 main ()
19001 return 0;
19004 _ACEOF
19005 if ac_fn_c_try_link "$LINENO"; then :
19006 gcc_cv_math_func_ccosl=yes
19007 else
19008 gcc_cv_math_func_ccosl=no
19010 rm -f core conftest.err conftest.$ac_objext \
19011 conftest$ac_exeext conftest.$ac_ext
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19014 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19015 if test $gcc_cv_math_func_ccosl = yes; then
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_CCOSL 1
19019 _ACEOF
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19027 $as_echo_n "checking for coshf... " >&6; }
19028 if ${gcc_cv_math_func_coshf+:} false; then :
19029 $as_echo_n "(cached) " >&6
19030 else
19031 if test x$gcc_no_link = xyes; then
19032 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19037 #ifdef HAVE_COMPLEX_H
19038 #include <complex.h>
19039 #endif
19040 #ifdef HAVE_MATH_H
19041 #include <math.h>
19042 #endif
19044 int (*ptr)() = (int (*)())coshf;
19047 main ()
19049 return 0;
19052 _ACEOF
19053 if ac_fn_c_try_link "$LINENO"; then :
19054 gcc_cv_math_func_coshf=yes
19055 else
19056 gcc_cv_math_func_coshf=no
19058 rm -f core conftest.err conftest.$ac_objext \
19059 conftest$ac_exeext conftest.$ac_ext
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19062 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19063 if test $gcc_cv_math_func_coshf = yes; then
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_COSHF 1
19067 _ACEOF
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19075 $as_echo_n "checking for cosh... " >&6; }
19076 if ${gcc_cv_math_func_cosh+:} false; then :
19077 $as_echo_n "(cached) " >&6
19078 else
19079 if test x$gcc_no_link = xyes; then
19080 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19083 /* end confdefs.h. */
19085 #ifdef HAVE_COMPLEX_H
19086 #include <complex.h>
19087 #endif
19088 #ifdef HAVE_MATH_H
19089 #include <math.h>
19090 #endif
19092 int (*ptr)() = (int (*)())cosh;
19095 main ()
19097 return 0;
19100 _ACEOF
19101 if ac_fn_c_try_link "$LINENO"; then :
19102 gcc_cv_math_func_cosh=yes
19103 else
19104 gcc_cv_math_func_cosh=no
19106 rm -f core conftest.err conftest.$ac_objext \
19107 conftest$ac_exeext conftest.$ac_ext
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19110 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19111 if test $gcc_cv_math_func_cosh = yes; then
19113 cat >>confdefs.h <<_ACEOF
19114 #define HAVE_COSH 1
19115 _ACEOF
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19123 $as_echo_n "checking for coshl... " >&6; }
19124 if ${gcc_cv_math_func_coshl+:} false; then :
19125 $as_echo_n "(cached) " >&6
19126 else
19127 if test x$gcc_no_link = xyes; then
19128 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19131 /* end confdefs.h. */
19133 #ifdef HAVE_COMPLEX_H
19134 #include <complex.h>
19135 #endif
19136 #ifdef HAVE_MATH_H
19137 #include <math.h>
19138 #endif
19140 int (*ptr)() = (int (*)())coshl;
19143 main ()
19145 return 0;
19148 _ACEOF
19149 if ac_fn_c_try_link "$LINENO"; then :
19150 gcc_cv_math_func_coshl=yes
19151 else
19152 gcc_cv_math_func_coshl=no
19154 rm -f core conftest.err conftest.$ac_objext \
19155 conftest$ac_exeext conftest.$ac_ext
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19158 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19159 if test $gcc_cv_math_func_coshl = yes; then
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_COSHL 1
19163 _ACEOF
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19171 $as_echo_n "checking for ccoshf... " >&6; }
19172 if ${gcc_cv_math_func_ccoshf+:} false; then :
19173 $as_echo_n "(cached) " >&6
19174 else
19175 if test x$gcc_no_link = xyes; then
19176 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h. */
19181 #ifdef HAVE_COMPLEX_H
19182 #include <complex.h>
19183 #endif
19184 #ifdef HAVE_MATH_H
19185 #include <math.h>
19186 #endif
19188 int (*ptr)() = (int (*)())ccoshf;
19191 main ()
19193 return 0;
19196 _ACEOF
19197 if ac_fn_c_try_link "$LINENO"; then :
19198 gcc_cv_math_func_ccoshf=yes
19199 else
19200 gcc_cv_math_func_ccoshf=no
19202 rm -f core conftest.err conftest.$ac_objext \
19203 conftest$ac_exeext conftest.$ac_ext
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19206 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19207 if test $gcc_cv_math_func_ccoshf = yes; then
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_CCOSHF 1
19211 _ACEOF
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19219 $as_echo_n "checking for ccosh... " >&6; }
19220 if ${gcc_cv_math_func_ccosh+:} false; then :
19221 $as_echo_n "(cached) " >&6
19222 else
19223 if test x$gcc_no_link = xyes; then
19224 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19229 #ifdef HAVE_COMPLEX_H
19230 #include <complex.h>
19231 #endif
19232 #ifdef HAVE_MATH_H
19233 #include <math.h>
19234 #endif
19236 int (*ptr)() = (int (*)())ccosh;
19239 main ()
19241 return 0;
19244 _ACEOF
19245 if ac_fn_c_try_link "$LINENO"; then :
19246 gcc_cv_math_func_ccosh=yes
19247 else
19248 gcc_cv_math_func_ccosh=no
19250 rm -f core conftest.err conftest.$ac_objext \
19251 conftest$ac_exeext conftest.$ac_ext
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19254 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19255 if test $gcc_cv_math_func_ccosh = yes; then
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_CCOSH 1
19259 _ACEOF
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19267 $as_echo_n "checking for ccoshl... " >&6; }
19268 if ${gcc_cv_math_func_ccoshl+:} false; then :
19269 $as_echo_n "(cached) " >&6
19270 else
19271 if test x$gcc_no_link = xyes; then
19272 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19277 #ifdef HAVE_COMPLEX_H
19278 #include <complex.h>
19279 #endif
19280 #ifdef HAVE_MATH_H
19281 #include <math.h>
19282 #endif
19284 int (*ptr)() = (int (*)())ccoshl;
19287 main ()
19289 return 0;
19292 _ACEOF
19293 if ac_fn_c_try_link "$LINENO"; then :
19294 gcc_cv_math_func_ccoshl=yes
19295 else
19296 gcc_cv_math_func_ccoshl=no
19298 rm -f core conftest.err conftest.$ac_objext \
19299 conftest$ac_exeext conftest.$ac_ext
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19302 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19303 if test $gcc_cv_math_func_ccoshl = yes; then
19305 cat >>confdefs.h <<_ACEOF
19306 #define HAVE_CCOSHL 1
19307 _ACEOF
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19315 $as_echo_n "checking for expf... " >&6; }
19316 if ${gcc_cv_math_func_expf+:} false; then :
19317 $as_echo_n "(cached) " >&6
19318 else
19319 if test x$gcc_no_link = xyes; then
19320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19325 #ifdef HAVE_COMPLEX_H
19326 #include <complex.h>
19327 #endif
19328 #ifdef HAVE_MATH_H
19329 #include <math.h>
19330 #endif
19332 int (*ptr)() = (int (*)())expf;
19335 main ()
19337 return 0;
19340 _ACEOF
19341 if ac_fn_c_try_link "$LINENO"; then :
19342 gcc_cv_math_func_expf=yes
19343 else
19344 gcc_cv_math_func_expf=no
19346 rm -f core conftest.err conftest.$ac_objext \
19347 conftest$ac_exeext conftest.$ac_ext
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19350 $as_echo "$gcc_cv_math_func_expf" >&6; }
19351 if test $gcc_cv_math_func_expf = yes; then
19353 cat >>confdefs.h <<_ACEOF
19354 #define HAVE_EXPF 1
19355 _ACEOF
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19363 $as_echo_n "checking for exp... " >&6; }
19364 if ${gcc_cv_math_func_exp+:} false; then :
19365 $as_echo_n "(cached) " >&6
19366 else
19367 if test x$gcc_no_link = xyes; then
19368 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19373 #ifdef HAVE_COMPLEX_H
19374 #include <complex.h>
19375 #endif
19376 #ifdef HAVE_MATH_H
19377 #include <math.h>
19378 #endif
19380 int (*ptr)() = (int (*)())exp;
19383 main ()
19385 return 0;
19388 _ACEOF
19389 if ac_fn_c_try_link "$LINENO"; then :
19390 gcc_cv_math_func_exp=yes
19391 else
19392 gcc_cv_math_func_exp=no
19394 rm -f core conftest.err conftest.$ac_objext \
19395 conftest$ac_exeext conftest.$ac_ext
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19398 $as_echo "$gcc_cv_math_func_exp" >&6; }
19399 if test $gcc_cv_math_func_exp = yes; then
19401 cat >>confdefs.h <<_ACEOF
19402 #define HAVE_EXP 1
19403 _ACEOF
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19411 $as_echo_n "checking for expl... " >&6; }
19412 if ${gcc_cv_math_func_expl+:} false; then :
19413 $as_echo_n "(cached) " >&6
19414 else
19415 if test x$gcc_no_link = xyes; then
19416 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19419 /* end confdefs.h. */
19421 #ifdef HAVE_COMPLEX_H
19422 #include <complex.h>
19423 #endif
19424 #ifdef HAVE_MATH_H
19425 #include <math.h>
19426 #endif
19428 int (*ptr)() = (int (*)())expl;
19431 main ()
19433 return 0;
19436 _ACEOF
19437 if ac_fn_c_try_link "$LINENO"; then :
19438 gcc_cv_math_func_expl=yes
19439 else
19440 gcc_cv_math_func_expl=no
19442 rm -f core conftest.err conftest.$ac_objext \
19443 conftest$ac_exeext conftest.$ac_ext
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19446 $as_echo "$gcc_cv_math_func_expl" >&6; }
19447 if test $gcc_cv_math_func_expl = yes; then
19449 cat >>confdefs.h <<_ACEOF
19450 #define HAVE_EXPL 1
19451 _ACEOF
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19459 $as_echo_n "checking for cexpf... " >&6; }
19460 if ${gcc_cv_math_func_cexpf+:} false; then :
19461 $as_echo_n "(cached) " >&6
19462 else
19463 if test x$gcc_no_link = xyes; then
19464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19469 #ifdef HAVE_COMPLEX_H
19470 #include <complex.h>
19471 #endif
19472 #ifdef HAVE_MATH_H
19473 #include <math.h>
19474 #endif
19476 int (*ptr)() = (int (*)())cexpf;
19479 main ()
19481 return 0;
19484 _ACEOF
19485 if ac_fn_c_try_link "$LINENO"; then :
19486 gcc_cv_math_func_cexpf=yes
19487 else
19488 gcc_cv_math_func_cexpf=no
19490 rm -f core conftest.err conftest.$ac_objext \
19491 conftest$ac_exeext conftest.$ac_ext
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19494 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19495 if test $gcc_cv_math_func_cexpf = yes; then
19497 cat >>confdefs.h <<_ACEOF
19498 #define HAVE_CEXPF 1
19499 _ACEOF
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19507 $as_echo_n "checking for cexp... " >&6; }
19508 if ${gcc_cv_math_func_cexp+:} false; then :
19509 $as_echo_n "(cached) " >&6
19510 else
19511 if test x$gcc_no_link = xyes; then
19512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19517 #ifdef HAVE_COMPLEX_H
19518 #include <complex.h>
19519 #endif
19520 #ifdef HAVE_MATH_H
19521 #include <math.h>
19522 #endif
19524 int (*ptr)() = (int (*)())cexp;
19527 main ()
19529 return 0;
19532 _ACEOF
19533 if ac_fn_c_try_link "$LINENO"; then :
19534 gcc_cv_math_func_cexp=yes
19535 else
19536 gcc_cv_math_func_cexp=no
19538 rm -f core conftest.err conftest.$ac_objext \
19539 conftest$ac_exeext conftest.$ac_ext
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19542 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19543 if test $gcc_cv_math_func_cexp = yes; then
19545 cat >>confdefs.h <<_ACEOF
19546 #define HAVE_CEXP 1
19547 _ACEOF
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19555 $as_echo_n "checking for cexpl... " >&6; }
19556 if ${gcc_cv_math_func_cexpl+:} false; then :
19557 $as_echo_n "(cached) " >&6
19558 else
19559 if test x$gcc_no_link = xyes; then
19560 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19565 #ifdef HAVE_COMPLEX_H
19566 #include <complex.h>
19567 #endif
19568 #ifdef HAVE_MATH_H
19569 #include <math.h>
19570 #endif
19572 int (*ptr)() = (int (*)())cexpl;
19575 main ()
19577 return 0;
19580 _ACEOF
19581 if ac_fn_c_try_link "$LINENO"; then :
19582 gcc_cv_math_func_cexpl=yes
19583 else
19584 gcc_cv_math_func_cexpl=no
19586 rm -f core conftest.err conftest.$ac_objext \
19587 conftest$ac_exeext conftest.$ac_ext
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19590 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19591 if test $gcc_cv_math_func_cexpl = yes; then
19593 cat >>confdefs.h <<_ACEOF
19594 #define HAVE_CEXPL 1
19595 _ACEOF
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19603 $as_echo_n "checking for fabsf... " >&6; }
19604 if ${gcc_cv_math_func_fabsf+:} false; then :
19605 $as_echo_n "(cached) " >&6
19606 else
19607 if test x$gcc_no_link = xyes; then
19608 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19613 #ifdef HAVE_COMPLEX_H
19614 #include <complex.h>
19615 #endif
19616 #ifdef HAVE_MATH_H
19617 #include <math.h>
19618 #endif
19620 int (*ptr)() = (int (*)())fabsf;
19623 main ()
19625 return 0;
19628 _ACEOF
19629 if ac_fn_c_try_link "$LINENO"; then :
19630 gcc_cv_math_func_fabsf=yes
19631 else
19632 gcc_cv_math_func_fabsf=no
19634 rm -f core conftest.err conftest.$ac_objext \
19635 conftest$ac_exeext conftest.$ac_ext
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19638 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19639 if test $gcc_cv_math_func_fabsf = yes; then
19641 cat >>confdefs.h <<_ACEOF
19642 #define HAVE_FABSF 1
19643 _ACEOF
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19651 $as_echo_n "checking for fabs... " >&6; }
19652 if ${gcc_cv_math_func_fabs+:} false; then :
19653 $as_echo_n "(cached) " >&6
19654 else
19655 if test x$gcc_no_link = xyes; then
19656 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19661 #ifdef HAVE_COMPLEX_H
19662 #include <complex.h>
19663 #endif
19664 #ifdef HAVE_MATH_H
19665 #include <math.h>
19666 #endif
19668 int (*ptr)() = (int (*)())fabs;
19671 main ()
19673 return 0;
19676 _ACEOF
19677 if ac_fn_c_try_link "$LINENO"; then :
19678 gcc_cv_math_func_fabs=yes
19679 else
19680 gcc_cv_math_func_fabs=no
19682 rm -f core conftest.err conftest.$ac_objext \
19683 conftest$ac_exeext conftest.$ac_ext
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19686 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19687 if test $gcc_cv_math_func_fabs = yes; then
19689 cat >>confdefs.h <<_ACEOF
19690 #define HAVE_FABS 1
19691 _ACEOF
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19699 $as_echo_n "checking for fabsl... " >&6; }
19700 if ${gcc_cv_math_func_fabsl+:} false; then :
19701 $as_echo_n "(cached) " >&6
19702 else
19703 if test x$gcc_no_link = xyes; then
19704 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19709 #ifdef HAVE_COMPLEX_H
19710 #include <complex.h>
19711 #endif
19712 #ifdef HAVE_MATH_H
19713 #include <math.h>
19714 #endif
19716 int (*ptr)() = (int (*)())fabsl;
19719 main ()
19721 return 0;
19724 _ACEOF
19725 if ac_fn_c_try_link "$LINENO"; then :
19726 gcc_cv_math_func_fabsl=yes
19727 else
19728 gcc_cv_math_func_fabsl=no
19730 rm -f core conftest.err conftest.$ac_objext \
19731 conftest$ac_exeext conftest.$ac_ext
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19734 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19735 if test $gcc_cv_math_func_fabsl = yes; then
19737 cat >>confdefs.h <<_ACEOF
19738 #define HAVE_FABSL 1
19739 _ACEOF
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19747 $as_echo_n "checking for cabsf... " >&6; }
19748 if ${gcc_cv_math_func_cabsf+:} false; then :
19749 $as_echo_n "(cached) " >&6
19750 else
19751 if test x$gcc_no_link = xyes; then
19752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19757 #ifdef HAVE_COMPLEX_H
19758 #include <complex.h>
19759 #endif
19760 #ifdef HAVE_MATH_H
19761 #include <math.h>
19762 #endif
19764 int (*ptr)() = (int (*)())cabsf;
19767 main ()
19769 return 0;
19772 _ACEOF
19773 if ac_fn_c_try_link "$LINENO"; then :
19774 gcc_cv_math_func_cabsf=yes
19775 else
19776 gcc_cv_math_func_cabsf=no
19778 rm -f core conftest.err conftest.$ac_objext \
19779 conftest$ac_exeext conftest.$ac_ext
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19782 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19783 if test $gcc_cv_math_func_cabsf = yes; then
19785 cat >>confdefs.h <<_ACEOF
19786 #define HAVE_CABSF 1
19787 _ACEOF
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19795 $as_echo_n "checking for cabs... " >&6; }
19796 if ${gcc_cv_math_func_cabs+:} false; then :
19797 $as_echo_n "(cached) " >&6
19798 else
19799 if test x$gcc_no_link = xyes; then
19800 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h. */
19805 #ifdef HAVE_COMPLEX_H
19806 #include <complex.h>
19807 #endif
19808 #ifdef HAVE_MATH_H
19809 #include <math.h>
19810 #endif
19812 int (*ptr)() = (int (*)())cabs;
19815 main ()
19817 return 0;
19820 _ACEOF
19821 if ac_fn_c_try_link "$LINENO"; then :
19822 gcc_cv_math_func_cabs=yes
19823 else
19824 gcc_cv_math_func_cabs=no
19826 rm -f core conftest.err conftest.$ac_objext \
19827 conftest$ac_exeext conftest.$ac_ext
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19830 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19831 if test $gcc_cv_math_func_cabs = yes; then
19833 cat >>confdefs.h <<_ACEOF
19834 #define HAVE_CABS 1
19835 _ACEOF
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19843 $as_echo_n "checking for cabsl... " >&6; }
19844 if ${gcc_cv_math_func_cabsl+:} false; then :
19845 $as_echo_n "(cached) " >&6
19846 else
19847 if test x$gcc_no_link = xyes; then
19848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19853 #ifdef HAVE_COMPLEX_H
19854 #include <complex.h>
19855 #endif
19856 #ifdef HAVE_MATH_H
19857 #include <math.h>
19858 #endif
19860 int (*ptr)() = (int (*)())cabsl;
19863 main ()
19865 return 0;
19868 _ACEOF
19869 if ac_fn_c_try_link "$LINENO"; then :
19870 gcc_cv_math_func_cabsl=yes
19871 else
19872 gcc_cv_math_func_cabsl=no
19874 rm -f core conftest.err conftest.$ac_objext \
19875 conftest$ac_exeext conftest.$ac_ext
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19878 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19879 if test $gcc_cv_math_func_cabsl = yes; then
19881 cat >>confdefs.h <<_ACEOF
19882 #define HAVE_CABSL 1
19883 _ACEOF
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19891 $as_echo_n "checking for floorf... " >&6; }
19892 if ${gcc_cv_math_func_floorf+:} false; then :
19893 $as_echo_n "(cached) " >&6
19894 else
19895 if test x$gcc_no_link = xyes; then
19896 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19901 #ifdef HAVE_COMPLEX_H
19902 #include <complex.h>
19903 #endif
19904 #ifdef HAVE_MATH_H
19905 #include <math.h>
19906 #endif
19908 int (*ptr)() = (int (*)())floorf;
19911 main ()
19913 return 0;
19916 _ACEOF
19917 if ac_fn_c_try_link "$LINENO"; then :
19918 gcc_cv_math_func_floorf=yes
19919 else
19920 gcc_cv_math_func_floorf=no
19922 rm -f core conftest.err conftest.$ac_objext \
19923 conftest$ac_exeext conftest.$ac_ext
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19926 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19927 if test $gcc_cv_math_func_floorf = yes; then
19929 cat >>confdefs.h <<_ACEOF
19930 #define HAVE_FLOORF 1
19931 _ACEOF
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19939 $as_echo_n "checking for floor... " >&6; }
19940 if ${gcc_cv_math_func_floor+:} false; then :
19941 $as_echo_n "(cached) " >&6
19942 else
19943 if test x$gcc_no_link = xyes; then
19944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19949 #ifdef HAVE_COMPLEX_H
19950 #include <complex.h>
19951 #endif
19952 #ifdef HAVE_MATH_H
19953 #include <math.h>
19954 #endif
19956 int (*ptr)() = (int (*)())floor;
19959 main ()
19961 return 0;
19964 _ACEOF
19965 if ac_fn_c_try_link "$LINENO"; then :
19966 gcc_cv_math_func_floor=yes
19967 else
19968 gcc_cv_math_func_floor=no
19970 rm -f core conftest.err conftest.$ac_objext \
19971 conftest$ac_exeext conftest.$ac_ext
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19974 $as_echo "$gcc_cv_math_func_floor" >&6; }
19975 if test $gcc_cv_math_func_floor = yes; then
19977 cat >>confdefs.h <<_ACEOF
19978 #define HAVE_FLOOR 1
19979 _ACEOF
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19987 $as_echo_n "checking for floorl... " >&6; }
19988 if ${gcc_cv_math_func_floorl+:} false; then :
19989 $as_echo_n "(cached) " >&6
19990 else
19991 if test x$gcc_no_link = xyes; then
19992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h. */
19997 #ifdef HAVE_COMPLEX_H
19998 #include <complex.h>
19999 #endif
20000 #ifdef HAVE_MATH_H
20001 #include <math.h>
20002 #endif
20004 int (*ptr)() = (int (*)())floorl;
20007 main ()
20009 return 0;
20012 _ACEOF
20013 if ac_fn_c_try_link "$LINENO"; then :
20014 gcc_cv_math_func_floorl=yes
20015 else
20016 gcc_cv_math_func_floorl=no
20018 rm -f core conftest.err conftest.$ac_objext \
20019 conftest$ac_exeext conftest.$ac_ext
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20022 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20023 if test $gcc_cv_math_func_floorl = yes; then
20025 cat >>confdefs.h <<_ACEOF
20026 #define HAVE_FLOORL 1
20027 _ACEOF
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20035 $as_echo_n "checking for fmaf... " >&6; }
20036 if ${gcc_cv_math_func_fmaf+:} false; then :
20037 $as_echo_n "(cached) " >&6
20038 else
20039 if test x$gcc_no_link = xyes; then
20040 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20043 /* end confdefs.h. */
20045 #ifdef HAVE_COMPLEX_H
20046 #include <complex.h>
20047 #endif
20048 #ifdef HAVE_MATH_H
20049 #include <math.h>
20050 #endif
20052 int (*ptr)() = (int (*)())fmaf;
20055 main ()
20057 return 0;
20060 _ACEOF
20061 if ac_fn_c_try_link "$LINENO"; then :
20062 gcc_cv_math_func_fmaf=yes
20063 else
20064 gcc_cv_math_func_fmaf=no
20066 rm -f core conftest.err conftest.$ac_objext \
20067 conftest$ac_exeext conftest.$ac_ext
20069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20070 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20071 if test $gcc_cv_math_func_fmaf = yes; then
20073 cat >>confdefs.h <<_ACEOF
20074 #define HAVE_FMAF 1
20075 _ACEOF
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20083 $as_echo_n "checking for fma... " >&6; }
20084 if ${gcc_cv_math_func_fma+:} false; then :
20085 $as_echo_n "(cached) " >&6
20086 else
20087 if test x$gcc_no_link = xyes; then
20088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20093 #ifdef HAVE_COMPLEX_H
20094 #include <complex.h>
20095 #endif
20096 #ifdef HAVE_MATH_H
20097 #include <math.h>
20098 #endif
20100 int (*ptr)() = (int (*)())fma;
20103 main ()
20105 return 0;
20108 _ACEOF
20109 if ac_fn_c_try_link "$LINENO"; then :
20110 gcc_cv_math_func_fma=yes
20111 else
20112 gcc_cv_math_func_fma=no
20114 rm -f core conftest.err conftest.$ac_objext \
20115 conftest$ac_exeext conftest.$ac_ext
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20118 $as_echo "$gcc_cv_math_func_fma" >&6; }
20119 if test $gcc_cv_math_func_fma = yes; then
20121 cat >>confdefs.h <<_ACEOF
20122 #define HAVE_FMA 1
20123 _ACEOF
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20131 $as_echo_n "checking for fmal... " >&6; }
20132 if ${gcc_cv_math_func_fmal+:} false; then :
20133 $as_echo_n "(cached) " >&6
20134 else
20135 if test x$gcc_no_link = xyes; then
20136 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20139 /* end confdefs.h. */
20141 #ifdef HAVE_COMPLEX_H
20142 #include <complex.h>
20143 #endif
20144 #ifdef HAVE_MATH_H
20145 #include <math.h>
20146 #endif
20148 int (*ptr)() = (int (*)())fmal;
20151 main ()
20153 return 0;
20156 _ACEOF
20157 if ac_fn_c_try_link "$LINENO"; then :
20158 gcc_cv_math_func_fmal=yes
20159 else
20160 gcc_cv_math_func_fmal=no
20162 rm -f core conftest.err conftest.$ac_objext \
20163 conftest$ac_exeext conftest.$ac_ext
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20166 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20167 if test $gcc_cv_math_func_fmal = yes; then
20169 cat >>confdefs.h <<_ACEOF
20170 #define HAVE_FMAL 1
20171 _ACEOF
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20179 $as_echo_n "checking for fmodf... " >&6; }
20180 if ${gcc_cv_math_func_fmodf+:} false; then :
20181 $as_echo_n "(cached) " >&6
20182 else
20183 if test x$gcc_no_link = xyes; then
20184 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20189 #ifdef HAVE_COMPLEX_H
20190 #include <complex.h>
20191 #endif
20192 #ifdef HAVE_MATH_H
20193 #include <math.h>
20194 #endif
20196 int (*ptr)() = (int (*)())fmodf;
20199 main ()
20201 return 0;
20204 _ACEOF
20205 if ac_fn_c_try_link "$LINENO"; then :
20206 gcc_cv_math_func_fmodf=yes
20207 else
20208 gcc_cv_math_func_fmodf=no
20210 rm -f core conftest.err conftest.$ac_objext \
20211 conftest$ac_exeext conftest.$ac_ext
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20214 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20215 if test $gcc_cv_math_func_fmodf = yes; then
20217 cat >>confdefs.h <<_ACEOF
20218 #define HAVE_FMODF 1
20219 _ACEOF
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20227 $as_echo_n "checking for fmod... " >&6; }
20228 if ${gcc_cv_math_func_fmod+:} false; then :
20229 $as_echo_n "(cached) " >&6
20230 else
20231 if test x$gcc_no_link = xyes; then
20232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20235 /* end confdefs.h. */
20237 #ifdef HAVE_COMPLEX_H
20238 #include <complex.h>
20239 #endif
20240 #ifdef HAVE_MATH_H
20241 #include <math.h>
20242 #endif
20244 int (*ptr)() = (int (*)())fmod;
20247 main ()
20249 return 0;
20252 _ACEOF
20253 if ac_fn_c_try_link "$LINENO"; then :
20254 gcc_cv_math_func_fmod=yes
20255 else
20256 gcc_cv_math_func_fmod=no
20258 rm -f core conftest.err conftest.$ac_objext \
20259 conftest$ac_exeext conftest.$ac_ext
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20262 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20263 if test $gcc_cv_math_func_fmod = yes; then
20265 cat >>confdefs.h <<_ACEOF
20266 #define HAVE_FMOD 1
20267 _ACEOF
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20275 $as_echo_n "checking for fmodl... " >&6; }
20276 if ${gcc_cv_math_func_fmodl+:} false; then :
20277 $as_echo_n "(cached) " >&6
20278 else
20279 if test x$gcc_no_link = xyes; then
20280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20283 /* end confdefs.h. */
20285 #ifdef HAVE_COMPLEX_H
20286 #include <complex.h>
20287 #endif
20288 #ifdef HAVE_MATH_H
20289 #include <math.h>
20290 #endif
20292 int (*ptr)() = (int (*)())fmodl;
20295 main ()
20297 return 0;
20300 _ACEOF
20301 if ac_fn_c_try_link "$LINENO"; then :
20302 gcc_cv_math_func_fmodl=yes
20303 else
20304 gcc_cv_math_func_fmodl=no
20306 rm -f core conftest.err conftest.$ac_objext \
20307 conftest$ac_exeext conftest.$ac_ext
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20310 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20311 if test $gcc_cv_math_func_fmodl = yes; then
20313 cat >>confdefs.h <<_ACEOF
20314 #define HAVE_FMODL 1
20315 _ACEOF
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20323 $as_echo_n "checking for frexpf... " >&6; }
20324 if ${gcc_cv_math_func_frexpf+:} false; then :
20325 $as_echo_n "(cached) " >&6
20326 else
20327 if test x$gcc_no_link = xyes; then
20328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20331 /* end confdefs.h. */
20333 #ifdef HAVE_COMPLEX_H
20334 #include <complex.h>
20335 #endif
20336 #ifdef HAVE_MATH_H
20337 #include <math.h>
20338 #endif
20340 int (*ptr)() = (int (*)())frexpf;
20343 main ()
20345 return 0;
20348 _ACEOF
20349 if ac_fn_c_try_link "$LINENO"; then :
20350 gcc_cv_math_func_frexpf=yes
20351 else
20352 gcc_cv_math_func_frexpf=no
20354 rm -f core conftest.err conftest.$ac_objext \
20355 conftest$ac_exeext conftest.$ac_ext
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20358 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20359 if test $gcc_cv_math_func_frexpf = yes; then
20361 cat >>confdefs.h <<_ACEOF
20362 #define HAVE_FREXPF 1
20363 _ACEOF
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20371 $as_echo_n "checking for frexp... " >&6; }
20372 if ${gcc_cv_math_func_frexp+:} false; then :
20373 $as_echo_n "(cached) " >&6
20374 else
20375 if test x$gcc_no_link = xyes; then
20376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20379 /* end confdefs.h. */
20381 #ifdef HAVE_COMPLEX_H
20382 #include <complex.h>
20383 #endif
20384 #ifdef HAVE_MATH_H
20385 #include <math.h>
20386 #endif
20388 int (*ptr)() = (int (*)())frexp;
20391 main ()
20393 return 0;
20396 _ACEOF
20397 if ac_fn_c_try_link "$LINENO"; then :
20398 gcc_cv_math_func_frexp=yes
20399 else
20400 gcc_cv_math_func_frexp=no
20402 rm -f core conftest.err conftest.$ac_objext \
20403 conftest$ac_exeext conftest.$ac_ext
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20406 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20407 if test $gcc_cv_math_func_frexp = yes; then
20409 cat >>confdefs.h <<_ACEOF
20410 #define HAVE_FREXP 1
20411 _ACEOF
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20419 $as_echo_n "checking for frexpl... " >&6; }
20420 if ${gcc_cv_math_func_frexpl+:} false; then :
20421 $as_echo_n "(cached) " >&6
20422 else
20423 if test x$gcc_no_link = xyes; then
20424 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20427 /* end confdefs.h. */
20429 #ifdef HAVE_COMPLEX_H
20430 #include <complex.h>
20431 #endif
20432 #ifdef HAVE_MATH_H
20433 #include <math.h>
20434 #endif
20436 int (*ptr)() = (int (*)())frexpl;
20439 main ()
20441 return 0;
20444 _ACEOF
20445 if ac_fn_c_try_link "$LINENO"; then :
20446 gcc_cv_math_func_frexpl=yes
20447 else
20448 gcc_cv_math_func_frexpl=no
20450 rm -f core conftest.err conftest.$ac_objext \
20451 conftest$ac_exeext conftest.$ac_ext
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20454 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20455 if test $gcc_cv_math_func_frexpl = yes; then
20457 cat >>confdefs.h <<_ACEOF
20458 #define HAVE_FREXPL 1
20459 _ACEOF
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20467 $as_echo_n "checking for hypotf... " >&6; }
20468 if ${gcc_cv_math_func_hypotf+:} false; then :
20469 $as_echo_n "(cached) " >&6
20470 else
20471 if test x$gcc_no_link = xyes; then
20472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20475 /* end confdefs.h. */
20477 #ifdef HAVE_COMPLEX_H
20478 #include <complex.h>
20479 #endif
20480 #ifdef HAVE_MATH_H
20481 #include <math.h>
20482 #endif
20484 int (*ptr)() = (int (*)())hypotf;
20487 main ()
20489 return 0;
20492 _ACEOF
20493 if ac_fn_c_try_link "$LINENO"; then :
20494 gcc_cv_math_func_hypotf=yes
20495 else
20496 gcc_cv_math_func_hypotf=no
20498 rm -f core conftest.err conftest.$ac_objext \
20499 conftest$ac_exeext conftest.$ac_ext
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20502 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20503 if test $gcc_cv_math_func_hypotf = yes; then
20505 cat >>confdefs.h <<_ACEOF
20506 #define HAVE_HYPOTF 1
20507 _ACEOF
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20515 $as_echo_n "checking for hypot... " >&6; }
20516 if ${gcc_cv_math_func_hypot+:} false; then :
20517 $as_echo_n "(cached) " >&6
20518 else
20519 if test x$gcc_no_link = xyes; then
20520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h. */
20525 #ifdef HAVE_COMPLEX_H
20526 #include <complex.h>
20527 #endif
20528 #ifdef HAVE_MATH_H
20529 #include <math.h>
20530 #endif
20532 int (*ptr)() = (int (*)())hypot;
20535 main ()
20537 return 0;
20540 _ACEOF
20541 if ac_fn_c_try_link "$LINENO"; then :
20542 gcc_cv_math_func_hypot=yes
20543 else
20544 gcc_cv_math_func_hypot=no
20546 rm -f core conftest.err conftest.$ac_objext \
20547 conftest$ac_exeext conftest.$ac_ext
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20550 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20551 if test $gcc_cv_math_func_hypot = yes; then
20553 cat >>confdefs.h <<_ACEOF
20554 #define HAVE_HYPOT 1
20555 _ACEOF
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20563 $as_echo_n "checking for hypotl... " >&6; }
20564 if ${gcc_cv_math_func_hypotl+:} false; then :
20565 $as_echo_n "(cached) " >&6
20566 else
20567 if test x$gcc_no_link = xyes; then
20568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20571 /* end confdefs.h. */
20573 #ifdef HAVE_COMPLEX_H
20574 #include <complex.h>
20575 #endif
20576 #ifdef HAVE_MATH_H
20577 #include <math.h>
20578 #endif
20580 int (*ptr)() = (int (*)())hypotl;
20583 main ()
20585 return 0;
20588 _ACEOF
20589 if ac_fn_c_try_link "$LINENO"; then :
20590 gcc_cv_math_func_hypotl=yes
20591 else
20592 gcc_cv_math_func_hypotl=no
20594 rm -f core conftest.err conftest.$ac_objext \
20595 conftest$ac_exeext conftest.$ac_ext
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20598 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20599 if test $gcc_cv_math_func_hypotl = yes; then
20601 cat >>confdefs.h <<_ACEOF
20602 #define HAVE_HYPOTL 1
20603 _ACEOF
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20611 $as_echo_n "checking for ldexpf... " >&6; }
20612 if ${gcc_cv_math_func_ldexpf+:} false; then :
20613 $as_echo_n "(cached) " >&6
20614 else
20615 if test x$gcc_no_link = xyes; then
20616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20619 /* end confdefs.h. */
20621 #ifdef HAVE_COMPLEX_H
20622 #include <complex.h>
20623 #endif
20624 #ifdef HAVE_MATH_H
20625 #include <math.h>
20626 #endif
20628 int (*ptr)() = (int (*)())ldexpf;
20631 main ()
20633 return 0;
20636 _ACEOF
20637 if ac_fn_c_try_link "$LINENO"; then :
20638 gcc_cv_math_func_ldexpf=yes
20639 else
20640 gcc_cv_math_func_ldexpf=no
20642 rm -f core conftest.err conftest.$ac_objext \
20643 conftest$ac_exeext conftest.$ac_ext
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20646 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20647 if test $gcc_cv_math_func_ldexpf = yes; then
20649 cat >>confdefs.h <<_ACEOF
20650 #define HAVE_LDEXPF 1
20651 _ACEOF
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20659 $as_echo_n "checking for ldexp... " >&6; }
20660 if ${gcc_cv_math_func_ldexp+:} false; then :
20661 $as_echo_n "(cached) " >&6
20662 else
20663 if test x$gcc_no_link = xyes; then
20664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20667 /* end confdefs.h. */
20669 #ifdef HAVE_COMPLEX_H
20670 #include <complex.h>
20671 #endif
20672 #ifdef HAVE_MATH_H
20673 #include <math.h>
20674 #endif
20676 int (*ptr)() = (int (*)())ldexp;
20679 main ()
20681 return 0;
20684 _ACEOF
20685 if ac_fn_c_try_link "$LINENO"; then :
20686 gcc_cv_math_func_ldexp=yes
20687 else
20688 gcc_cv_math_func_ldexp=no
20690 rm -f core conftest.err conftest.$ac_objext \
20691 conftest$ac_exeext conftest.$ac_ext
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20694 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20695 if test $gcc_cv_math_func_ldexp = yes; then
20697 cat >>confdefs.h <<_ACEOF
20698 #define HAVE_LDEXP 1
20699 _ACEOF
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20707 $as_echo_n "checking for ldexpl... " >&6; }
20708 if ${gcc_cv_math_func_ldexpl+:} false; then :
20709 $as_echo_n "(cached) " >&6
20710 else
20711 if test x$gcc_no_link = xyes; then
20712 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h. */
20717 #ifdef HAVE_COMPLEX_H
20718 #include <complex.h>
20719 #endif
20720 #ifdef HAVE_MATH_H
20721 #include <math.h>
20722 #endif
20724 int (*ptr)() = (int (*)())ldexpl;
20727 main ()
20729 return 0;
20732 _ACEOF
20733 if ac_fn_c_try_link "$LINENO"; then :
20734 gcc_cv_math_func_ldexpl=yes
20735 else
20736 gcc_cv_math_func_ldexpl=no
20738 rm -f core conftest.err conftest.$ac_objext \
20739 conftest$ac_exeext conftest.$ac_ext
20741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20742 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20743 if test $gcc_cv_math_func_ldexpl = yes; then
20745 cat >>confdefs.h <<_ACEOF
20746 #define HAVE_LDEXPL 1
20747 _ACEOF
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20755 $as_echo_n "checking for logf... " >&6; }
20756 if ${gcc_cv_math_func_logf+:} false; then :
20757 $as_echo_n "(cached) " >&6
20758 else
20759 if test x$gcc_no_link = xyes; then
20760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20763 /* end confdefs.h. */
20765 #ifdef HAVE_COMPLEX_H
20766 #include <complex.h>
20767 #endif
20768 #ifdef HAVE_MATH_H
20769 #include <math.h>
20770 #endif
20772 int (*ptr)() = (int (*)())logf;
20775 main ()
20777 return 0;
20780 _ACEOF
20781 if ac_fn_c_try_link "$LINENO"; then :
20782 gcc_cv_math_func_logf=yes
20783 else
20784 gcc_cv_math_func_logf=no
20786 rm -f core conftest.err conftest.$ac_objext \
20787 conftest$ac_exeext conftest.$ac_ext
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20790 $as_echo "$gcc_cv_math_func_logf" >&6; }
20791 if test $gcc_cv_math_func_logf = yes; then
20793 cat >>confdefs.h <<_ACEOF
20794 #define HAVE_LOGF 1
20795 _ACEOF
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20803 $as_echo_n "checking for log... " >&6; }
20804 if ${gcc_cv_math_func_log+:} false; then :
20805 $as_echo_n "(cached) " >&6
20806 else
20807 if test x$gcc_no_link = xyes; then
20808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20811 /* end confdefs.h. */
20813 #ifdef HAVE_COMPLEX_H
20814 #include <complex.h>
20815 #endif
20816 #ifdef HAVE_MATH_H
20817 #include <math.h>
20818 #endif
20820 int (*ptr)() = (int (*)())log;
20823 main ()
20825 return 0;
20828 _ACEOF
20829 if ac_fn_c_try_link "$LINENO"; then :
20830 gcc_cv_math_func_log=yes
20831 else
20832 gcc_cv_math_func_log=no
20834 rm -f core conftest.err conftest.$ac_objext \
20835 conftest$ac_exeext conftest.$ac_ext
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20838 $as_echo "$gcc_cv_math_func_log" >&6; }
20839 if test $gcc_cv_math_func_log = yes; then
20841 cat >>confdefs.h <<_ACEOF
20842 #define HAVE_LOG 1
20843 _ACEOF
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20851 $as_echo_n "checking for logl... " >&6; }
20852 if ${gcc_cv_math_func_logl+:} false; then :
20853 $as_echo_n "(cached) " >&6
20854 else
20855 if test x$gcc_no_link = xyes; then
20856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20861 #ifdef HAVE_COMPLEX_H
20862 #include <complex.h>
20863 #endif
20864 #ifdef HAVE_MATH_H
20865 #include <math.h>
20866 #endif
20868 int (*ptr)() = (int (*)())logl;
20871 main ()
20873 return 0;
20876 _ACEOF
20877 if ac_fn_c_try_link "$LINENO"; then :
20878 gcc_cv_math_func_logl=yes
20879 else
20880 gcc_cv_math_func_logl=no
20882 rm -f core conftest.err conftest.$ac_objext \
20883 conftest$ac_exeext conftest.$ac_ext
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20886 $as_echo "$gcc_cv_math_func_logl" >&6; }
20887 if test $gcc_cv_math_func_logl = yes; then
20889 cat >>confdefs.h <<_ACEOF
20890 #define HAVE_LOGL 1
20891 _ACEOF
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20899 $as_echo_n "checking for clogf... " >&6; }
20900 if ${gcc_cv_math_func_clogf+:} false; then :
20901 $as_echo_n "(cached) " >&6
20902 else
20903 if test x$gcc_no_link = xyes; then
20904 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h. */
20909 #ifdef HAVE_COMPLEX_H
20910 #include <complex.h>
20911 #endif
20912 #ifdef HAVE_MATH_H
20913 #include <math.h>
20914 #endif
20916 int (*ptr)() = (int (*)())clogf;
20919 main ()
20921 return 0;
20924 _ACEOF
20925 if ac_fn_c_try_link "$LINENO"; then :
20926 gcc_cv_math_func_clogf=yes
20927 else
20928 gcc_cv_math_func_clogf=no
20930 rm -f core conftest.err conftest.$ac_objext \
20931 conftest$ac_exeext conftest.$ac_ext
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20934 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20935 if test $gcc_cv_math_func_clogf = yes; then
20937 cat >>confdefs.h <<_ACEOF
20938 #define HAVE_CLOGF 1
20939 _ACEOF
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20947 $as_echo_n "checking for clog... " >&6; }
20948 if ${gcc_cv_math_func_clog+:} false; then :
20949 $as_echo_n "(cached) " >&6
20950 else
20951 if test x$gcc_no_link = xyes; then
20952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20957 #ifdef HAVE_COMPLEX_H
20958 #include <complex.h>
20959 #endif
20960 #ifdef HAVE_MATH_H
20961 #include <math.h>
20962 #endif
20964 int (*ptr)() = (int (*)())clog;
20967 main ()
20969 return 0;
20972 _ACEOF
20973 if ac_fn_c_try_link "$LINENO"; then :
20974 gcc_cv_math_func_clog=yes
20975 else
20976 gcc_cv_math_func_clog=no
20978 rm -f core conftest.err conftest.$ac_objext \
20979 conftest$ac_exeext conftest.$ac_ext
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20982 $as_echo "$gcc_cv_math_func_clog" >&6; }
20983 if test $gcc_cv_math_func_clog = yes; then
20985 cat >>confdefs.h <<_ACEOF
20986 #define HAVE_CLOG 1
20987 _ACEOF
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20995 $as_echo_n "checking for clogl... " >&6; }
20996 if ${gcc_cv_math_func_clogl+:} false; then :
20997 $as_echo_n "(cached) " >&6
20998 else
20999 if test x$gcc_no_link = xyes; then
21000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21005 #ifdef HAVE_COMPLEX_H
21006 #include <complex.h>
21007 #endif
21008 #ifdef HAVE_MATH_H
21009 #include <math.h>
21010 #endif
21012 int (*ptr)() = (int (*)())clogl;
21015 main ()
21017 return 0;
21020 _ACEOF
21021 if ac_fn_c_try_link "$LINENO"; then :
21022 gcc_cv_math_func_clogl=yes
21023 else
21024 gcc_cv_math_func_clogl=no
21026 rm -f core conftest.err conftest.$ac_objext \
21027 conftest$ac_exeext conftest.$ac_ext
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21030 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21031 if test $gcc_cv_math_func_clogl = yes; then
21033 cat >>confdefs.h <<_ACEOF
21034 #define HAVE_CLOGL 1
21035 _ACEOF
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21043 $as_echo_n "checking for log10f... " >&6; }
21044 if ${gcc_cv_math_func_log10f+:} false; then :
21045 $as_echo_n "(cached) " >&6
21046 else
21047 if test x$gcc_no_link = xyes; then
21048 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21053 #ifdef HAVE_COMPLEX_H
21054 #include <complex.h>
21055 #endif
21056 #ifdef HAVE_MATH_H
21057 #include <math.h>
21058 #endif
21060 int (*ptr)() = (int (*)())log10f;
21063 main ()
21065 return 0;
21068 _ACEOF
21069 if ac_fn_c_try_link "$LINENO"; then :
21070 gcc_cv_math_func_log10f=yes
21071 else
21072 gcc_cv_math_func_log10f=no
21074 rm -f core conftest.err conftest.$ac_objext \
21075 conftest$ac_exeext conftest.$ac_ext
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21078 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21079 if test $gcc_cv_math_func_log10f = yes; then
21081 cat >>confdefs.h <<_ACEOF
21082 #define HAVE_LOG10F 1
21083 _ACEOF
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21091 $as_echo_n "checking for log10... " >&6; }
21092 if ${gcc_cv_math_func_log10+:} false; then :
21093 $as_echo_n "(cached) " >&6
21094 else
21095 if test x$gcc_no_link = xyes; then
21096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21101 #ifdef HAVE_COMPLEX_H
21102 #include <complex.h>
21103 #endif
21104 #ifdef HAVE_MATH_H
21105 #include <math.h>
21106 #endif
21108 int (*ptr)() = (int (*)())log10;
21111 main ()
21113 return 0;
21116 _ACEOF
21117 if ac_fn_c_try_link "$LINENO"; then :
21118 gcc_cv_math_func_log10=yes
21119 else
21120 gcc_cv_math_func_log10=no
21122 rm -f core conftest.err conftest.$ac_objext \
21123 conftest$ac_exeext conftest.$ac_ext
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21126 $as_echo "$gcc_cv_math_func_log10" >&6; }
21127 if test $gcc_cv_math_func_log10 = yes; then
21129 cat >>confdefs.h <<_ACEOF
21130 #define HAVE_LOG10 1
21131 _ACEOF
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21139 $as_echo_n "checking for log10l... " >&6; }
21140 if ${gcc_cv_math_func_log10l+:} false; then :
21141 $as_echo_n "(cached) " >&6
21142 else
21143 if test x$gcc_no_link = xyes; then
21144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21147 /* end confdefs.h. */
21149 #ifdef HAVE_COMPLEX_H
21150 #include <complex.h>
21151 #endif
21152 #ifdef HAVE_MATH_H
21153 #include <math.h>
21154 #endif
21156 int (*ptr)() = (int (*)())log10l;
21159 main ()
21161 return 0;
21164 _ACEOF
21165 if ac_fn_c_try_link "$LINENO"; then :
21166 gcc_cv_math_func_log10l=yes
21167 else
21168 gcc_cv_math_func_log10l=no
21170 rm -f core conftest.err conftest.$ac_objext \
21171 conftest$ac_exeext conftest.$ac_ext
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21174 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21175 if test $gcc_cv_math_func_log10l = yes; then
21177 cat >>confdefs.h <<_ACEOF
21178 #define HAVE_LOG10L 1
21179 _ACEOF
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21187 $as_echo_n "checking for clog10f... " >&6; }
21188 if ${gcc_cv_math_func_clog10f+:} false; then :
21189 $as_echo_n "(cached) " >&6
21190 else
21191 if test x$gcc_no_link = xyes; then
21192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21195 /* end confdefs.h. */
21197 #ifdef HAVE_COMPLEX_H
21198 #include <complex.h>
21199 #endif
21200 #ifdef HAVE_MATH_H
21201 #include <math.h>
21202 #endif
21204 int (*ptr)() = (int (*)())clog10f;
21207 main ()
21209 return 0;
21212 _ACEOF
21213 if ac_fn_c_try_link "$LINENO"; then :
21214 gcc_cv_math_func_clog10f=yes
21215 else
21216 gcc_cv_math_func_clog10f=no
21218 rm -f core conftest.err conftest.$ac_objext \
21219 conftest$ac_exeext conftest.$ac_ext
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21222 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21223 if test $gcc_cv_math_func_clog10f = yes; then
21225 cat >>confdefs.h <<_ACEOF
21226 #define HAVE_CLOG10F 1
21227 _ACEOF
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21235 $as_echo_n "checking for clog10... " >&6; }
21236 if ${gcc_cv_math_func_clog10+:} false; then :
21237 $as_echo_n "(cached) " >&6
21238 else
21239 if test x$gcc_no_link = xyes; then
21240 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21243 /* end confdefs.h. */
21245 #ifdef HAVE_COMPLEX_H
21246 #include <complex.h>
21247 #endif
21248 #ifdef HAVE_MATH_H
21249 #include <math.h>
21250 #endif
21252 int (*ptr)() = (int (*)())clog10;
21255 main ()
21257 return 0;
21260 _ACEOF
21261 if ac_fn_c_try_link "$LINENO"; then :
21262 gcc_cv_math_func_clog10=yes
21263 else
21264 gcc_cv_math_func_clog10=no
21266 rm -f core conftest.err conftest.$ac_objext \
21267 conftest$ac_exeext conftest.$ac_ext
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21270 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21271 if test $gcc_cv_math_func_clog10 = yes; then
21273 cat >>confdefs.h <<_ACEOF
21274 #define HAVE_CLOG10 1
21275 _ACEOF
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21283 $as_echo_n "checking for clog10l... " >&6; }
21284 if ${gcc_cv_math_func_clog10l+:} false; then :
21285 $as_echo_n "(cached) " >&6
21286 else
21287 if test x$gcc_no_link = xyes; then
21288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h. */
21293 #ifdef HAVE_COMPLEX_H
21294 #include <complex.h>
21295 #endif
21296 #ifdef HAVE_MATH_H
21297 #include <math.h>
21298 #endif
21300 int (*ptr)() = (int (*)())clog10l;
21303 main ()
21305 return 0;
21308 _ACEOF
21309 if ac_fn_c_try_link "$LINENO"; then :
21310 gcc_cv_math_func_clog10l=yes
21311 else
21312 gcc_cv_math_func_clog10l=no
21314 rm -f core conftest.err conftest.$ac_objext \
21315 conftest$ac_exeext conftest.$ac_ext
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21318 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21319 if test $gcc_cv_math_func_clog10l = yes; then
21321 cat >>confdefs.h <<_ACEOF
21322 #define HAVE_CLOG10L 1
21323 _ACEOF
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21331 $as_echo_n "checking for nextafterf... " >&6; }
21332 if ${gcc_cv_math_func_nextafterf+:} false; then :
21333 $as_echo_n "(cached) " >&6
21334 else
21335 if test x$gcc_no_link = xyes; then
21336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21339 /* end confdefs.h. */
21341 #ifdef HAVE_COMPLEX_H
21342 #include <complex.h>
21343 #endif
21344 #ifdef HAVE_MATH_H
21345 #include <math.h>
21346 #endif
21348 int (*ptr)() = (int (*)())nextafterf;
21351 main ()
21353 return 0;
21356 _ACEOF
21357 if ac_fn_c_try_link "$LINENO"; then :
21358 gcc_cv_math_func_nextafterf=yes
21359 else
21360 gcc_cv_math_func_nextafterf=no
21362 rm -f core conftest.err conftest.$ac_objext \
21363 conftest$ac_exeext conftest.$ac_ext
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21366 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21367 if test $gcc_cv_math_func_nextafterf = yes; then
21369 cat >>confdefs.h <<_ACEOF
21370 #define HAVE_NEXTAFTERF 1
21371 _ACEOF
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21379 $as_echo_n "checking for nextafter... " >&6; }
21380 if ${gcc_cv_math_func_nextafter+:} false; then :
21381 $as_echo_n "(cached) " >&6
21382 else
21383 if test x$gcc_no_link = xyes; then
21384 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h. */
21389 #ifdef HAVE_COMPLEX_H
21390 #include <complex.h>
21391 #endif
21392 #ifdef HAVE_MATH_H
21393 #include <math.h>
21394 #endif
21396 int (*ptr)() = (int (*)())nextafter;
21399 main ()
21401 return 0;
21404 _ACEOF
21405 if ac_fn_c_try_link "$LINENO"; then :
21406 gcc_cv_math_func_nextafter=yes
21407 else
21408 gcc_cv_math_func_nextafter=no
21410 rm -f core conftest.err conftest.$ac_objext \
21411 conftest$ac_exeext conftest.$ac_ext
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21414 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21415 if test $gcc_cv_math_func_nextafter = yes; then
21417 cat >>confdefs.h <<_ACEOF
21418 #define HAVE_NEXTAFTER 1
21419 _ACEOF
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21427 $as_echo_n "checking for nextafterl... " >&6; }
21428 if ${gcc_cv_math_func_nextafterl+:} false; then :
21429 $as_echo_n "(cached) " >&6
21430 else
21431 if test x$gcc_no_link = xyes; then
21432 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21437 #ifdef HAVE_COMPLEX_H
21438 #include <complex.h>
21439 #endif
21440 #ifdef HAVE_MATH_H
21441 #include <math.h>
21442 #endif
21444 int (*ptr)() = (int (*)())nextafterl;
21447 main ()
21449 return 0;
21452 _ACEOF
21453 if ac_fn_c_try_link "$LINENO"; then :
21454 gcc_cv_math_func_nextafterl=yes
21455 else
21456 gcc_cv_math_func_nextafterl=no
21458 rm -f core conftest.err conftest.$ac_objext \
21459 conftest$ac_exeext conftest.$ac_ext
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21462 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21463 if test $gcc_cv_math_func_nextafterl = yes; then
21465 cat >>confdefs.h <<_ACEOF
21466 #define HAVE_NEXTAFTERL 1
21467 _ACEOF
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21475 $as_echo_n "checking for powf... " >&6; }
21476 if ${gcc_cv_math_func_powf+:} false; then :
21477 $as_echo_n "(cached) " >&6
21478 else
21479 if test x$gcc_no_link = xyes; then
21480 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21483 /* end confdefs.h. */
21485 #ifdef HAVE_COMPLEX_H
21486 #include <complex.h>
21487 #endif
21488 #ifdef HAVE_MATH_H
21489 #include <math.h>
21490 #endif
21492 int (*ptr)() = (int (*)())powf;
21495 main ()
21497 return 0;
21500 _ACEOF
21501 if ac_fn_c_try_link "$LINENO"; then :
21502 gcc_cv_math_func_powf=yes
21503 else
21504 gcc_cv_math_func_powf=no
21506 rm -f core conftest.err conftest.$ac_objext \
21507 conftest$ac_exeext conftest.$ac_ext
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21510 $as_echo "$gcc_cv_math_func_powf" >&6; }
21511 if test $gcc_cv_math_func_powf = yes; then
21513 cat >>confdefs.h <<_ACEOF
21514 #define HAVE_POWF 1
21515 _ACEOF
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21523 $as_echo_n "checking for pow... " >&6; }
21524 if ${gcc_cv_math_func_pow+:} false; then :
21525 $as_echo_n "(cached) " >&6
21526 else
21527 if test x$gcc_no_link = xyes; then
21528 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21531 /* end confdefs.h. */
21533 #ifdef HAVE_COMPLEX_H
21534 #include <complex.h>
21535 #endif
21536 #ifdef HAVE_MATH_H
21537 #include <math.h>
21538 #endif
21540 int (*ptr)() = (int (*)())pow;
21543 main ()
21545 return 0;
21548 _ACEOF
21549 if ac_fn_c_try_link "$LINENO"; then :
21550 gcc_cv_math_func_pow=yes
21551 else
21552 gcc_cv_math_func_pow=no
21554 rm -f core conftest.err conftest.$ac_objext \
21555 conftest$ac_exeext conftest.$ac_ext
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21558 $as_echo "$gcc_cv_math_func_pow" >&6; }
21559 if test $gcc_cv_math_func_pow = yes; then
21561 cat >>confdefs.h <<_ACEOF
21562 #define HAVE_POW 1
21563 _ACEOF
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21571 $as_echo_n "checking for cpowf... " >&6; }
21572 if ${gcc_cv_math_func_cpowf+:} false; then :
21573 $as_echo_n "(cached) " >&6
21574 else
21575 if test x$gcc_no_link = xyes; then
21576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21579 /* end confdefs.h. */
21581 #ifdef HAVE_COMPLEX_H
21582 #include <complex.h>
21583 #endif
21584 #ifdef HAVE_MATH_H
21585 #include <math.h>
21586 #endif
21588 int (*ptr)() = (int (*)())cpowf;
21591 main ()
21593 return 0;
21596 _ACEOF
21597 if ac_fn_c_try_link "$LINENO"; then :
21598 gcc_cv_math_func_cpowf=yes
21599 else
21600 gcc_cv_math_func_cpowf=no
21602 rm -f core conftest.err conftest.$ac_objext \
21603 conftest$ac_exeext conftest.$ac_ext
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21606 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21607 if test $gcc_cv_math_func_cpowf = yes; then
21609 cat >>confdefs.h <<_ACEOF
21610 #define HAVE_CPOWF 1
21611 _ACEOF
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21619 $as_echo_n "checking for cpow... " >&6; }
21620 if ${gcc_cv_math_func_cpow+:} false; then :
21621 $as_echo_n "(cached) " >&6
21622 else
21623 if test x$gcc_no_link = xyes; then
21624 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21627 /* end confdefs.h. */
21629 #ifdef HAVE_COMPLEX_H
21630 #include <complex.h>
21631 #endif
21632 #ifdef HAVE_MATH_H
21633 #include <math.h>
21634 #endif
21636 int (*ptr)() = (int (*)())cpow;
21639 main ()
21641 return 0;
21644 _ACEOF
21645 if ac_fn_c_try_link "$LINENO"; then :
21646 gcc_cv_math_func_cpow=yes
21647 else
21648 gcc_cv_math_func_cpow=no
21650 rm -f core conftest.err conftest.$ac_objext \
21651 conftest$ac_exeext conftest.$ac_ext
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21654 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21655 if test $gcc_cv_math_func_cpow = yes; then
21657 cat >>confdefs.h <<_ACEOF
21658 #define HAVE_CPOW 1
21659 _ACEOF
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21667 $as_echo_n "checking for cpowl... " >&6; }
21668 if ${gcc_cv_math_func_cpowl+:} false; then :
21669 $as_echo_n "(cached) " >&6
21670 else
21671 if test x$gcc_no_link = xyes; then
21672 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21675 /* end confdefs.h. */
21677 #ifdef HAVE_COMPLEX_H
21678 #include <complex.h>
21679 #endif
21680 #ifdef HAVE_MATH_H
21681 #include <math.h>
21682 #endif
21684 int (*ptr)() = (int (*)())cpowl;
21687 main ()
21689 return 0;
21692 _ACEOF
21693 if ac_fn_c_try_link "$LINENO"; then :
21694 gcc_cv_math_func_cpowl=yes
21695 else
21696 gcc_cv_math_func_cpowl=no
21698 rm -f core conftest.err conftest.$ac_objext \
21699 conftest$ac_exeext conftest.$ac_ext
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21702 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21703 if test $gcc_cv_math_func_cpowl = yes; then
21705 cat >>confdefs.h <<_ACEOF
21706 #define HAVE_CPOWL 1
21707 _ACEOF
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21715 $as_echo_n "checking for roundf... " >&6; }
21716 if ${gcc_cv_math_func_roundf+:} false; then :
21717 $as_echo_n "(cached) " >&6
21718 else
21719 if test x$gcc_no_link = xyes; then
21720 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21723 /* end confdefs.h. */
21725 #ifdef HAVE_COMPLEX_H
21726 #include <complex.h>
21727 #endif
21728 #ifdef HAVE_MATH_H
21729 #include <math.h>
21730 #endif
21732 int (*ptr)() = (int (*)())roundf;
21735 main ()
21737 return 0;
21740 _ACEOF
21741 if ac_fn_c_try_link "$LINENO"; then :
21742 gcc_cv_math_func_roundf=yes
21743 else
21744 gcc_cv_math_func_roundf=no
21746 rm -f core conftest.err conftest.$ac_objext \
21747 conftest$ac_exeext conftest.$ac_ext
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21750 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21751 if test $gcc_cv_math_func_roundf = yes; then
21753 cat >>confdefs.h <<_ACEOF
21754 #define HAVE_ROUNDF 1
21755 _ACEOF
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21763 $as_echo_n "checking for round... " >&6; }
21764 if ${gcc_cv_math_func_round+:} false; then :
21765 $as_echo_n "(cached) " >&6
21766 else
21767 if test x$gcc_no_link = xyes; then
21768 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21771 /* end confdefs.h. */
21773 #ifdef HAVE_COMPLEX_H
21774 #include <complex.h>
21775 #endif
21776 #ifdef HAVE_MATH_H
21777 #include <math.h>
21778 #endif
21780 int (*ptr)() = (int (*)())round;
21783 main ()
21785 return 0;
21788 _ACEOF
21789 if ac_fn_c_try_link "$LINENO"; then :
21790 gcc_cv_math_func_round=yes
21791 else
21792 gcc_cv_math_func_round=no
21794 rm -f core conftest.err conftest.$ac_objext \
21795 conftest$ac_exeext conftest.$ac_ext
21797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21798 $as_echo "$gcc_cv_math_func_round" >&6; }
21799 if test $gcc_cv_math_func_round = yes; then
21801 cat >>confdefs.h <<_ACEOF
21802 #define HAVE_ROUND 1
21803 _ACEOF
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21811 $as_echo_n "checking for roundl... " >&6; }
21812 if ${gcc_cv_math_func_roundl+:} false; then :
21813 $as_echo_n "(cached) " >&6
21814 else
21815 if test x$gcc_no_link = xyes; then
21816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21821 #ifdef HAVE_COMPLEX_H
21822 #include <complex.h>
21823 #endif
21824 #ifdef HAVE_MATH_H
21825 #include <math.h>
21826 #endif
21828 int (*ptr)() = (int (*)())roundl;
21831 main ()
21833 return 0;
21836 _ACEOF
21837 if ac_fn_c_try_link "$LINENO"; then :
21838 gcc_cv_math_func_roundl=yes
21839 else
21840 gcc_cv_math_func_roundl=no
21842 rm -f core conftest.err conftest.$ac_objext \
21843 conftest$ac_exeext conftest.$ac_ext
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21846 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21847 if test $gcc_cv_math_func_roundl = yes; then
21849 cat >>confdefs.h <<_ACEOF
21850 #define HAVE_ROUNDL 1
21851 _ACEOF
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21859 $as_echo_n "checking for lroundf... " >&6; }
21860 if ${gcc_cv_math_func_lroundf+:} false; then :
21861 $as_echo_n "(cached) " >&6
21862 else
21863 if test x$gcc_no_link = xyes; then
21864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21867 /* end confdefs.h. */
21869 #ifdef HAVE_COMPLEX_H
21870 #include <complex.h>
21871 #endif
21872 #ifdef HAVE_MATH_H
21873 #include <math.h>
21874 #endif
21876 int (*ptr)() = (int (*)())lroundf;
21879 main ()
21881 return 0;
21884 _ACEOF
21885 if ac_fn_c_try_link "$LINENO"; then :
21886 gcc_cv_math_func_lroundf=yes
21887 else
21888 gcc_cv_math_func_lroundf=no
21890 rm -f core conftest.err conftest.$ac_objext \
21891 conftest$ac_exeext conftest.$ac_ext
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21894 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21895 if test $gcc_cv_math_func_lroundf = yes; then
21897 cat >>confdefs.h <<_ACEOF
21898 #define HAVE_LROUNDF 1
21899 _ACEOF
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21907 $as_echo_n "checking for lround... " >&6; }
21908 if ${gcc_cv_math_func_lround+:} false; then :
21909 $as_echo_n "(cached) " >&6
21910 else
21911 if test x$gcc_no_link = xyes; then
21912 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21915 /* end confdefs.h. */
21917 #ifdef HAVE_COMPLEX_H
21918 #include <complex.h>
21919 #endif
21920 #ifdef HAVE_MATH_H
21921 #include <math.h>
21922 #endif
21924 int (*ptr)() = (int (*)())lround;
21927 main ()
21929 return 0;
21932 _ACEOF
21933 if ac_fn_c_try_link "$LINENO"; then :
21934 gcc_cv_math_func_lround=yes
21935 else
21936 gcc_cv_math_func_lround=no
21938 rm -f core conftest.err conftest.$ac_objext \
21939 conftest$ac_exeext conftest.$ac_ext
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21942 $as_echo "$gcc_cv_math_func_lround" >&6; }
21943 if test $gcc_cv_math_func_lround = yes; then
21945 cat >>confdefs.h <<_ACEOF
21946 #define HAVE_LROUND 1
21947 _ACEOF
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21955 $as_echo_n "checking for lroundl... " >&6; }
21956 if ${gcc_cv_math_func_lroundl+:} false; then :
21957 $as_echo_n "(cached) " >&6
21958 else
21959 if test x$gcc_no_link = xyes; then
21960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21963 /* end confdefs.h. */
21965 #ifdef HAVE_COMPLEX_H
21966 #include <complex.h>
21967 #endif
21968 #ifdef HAVE_MATH_H
21969 #include <math.h>
21970 #endif
21972 int (*ptr)() = (int (*)())lroundl;
21975 main ()
21977 return 0;
21980 _ACEOF
21981 if ac_fn_c_try_link "$LINENO"; then :
21982 gcc_cv_math_func_lroundl=yes
21983 else
21984 gcc_cv_math_func_lroundl=no
21986 rm -f core conftest.err conftest.$ac_objext \
21987 conftest$ac_exeext conftest.$ac_ext
21989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21990 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21991 if test $gcc_cv_math_func_lroundl = yes; then
21993 cat >>confdefs.h <<_ACEOF
21994 #define HAVE_LROUNDL 1
21995 _ACEOF
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22003 $as_echo_n "checking for llroundf... " >&6; }
22004 if ${gcc_cv_math_func_llroundf+:} false; then :
22005 $as_echo_n "(cached) " >&6
22006 else
22007 if test x$gcc_no_link = xyes; then
22008 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22013 #ifdef HAVE_COMPLEX_H
22014 #include <complex.h>
22015 #endif
22016 #ifdef HAVE_MATH_H
22017 #include <math.h>
22018 #endif
22020 int (*ptr)() = (int (*)())llroundf;
22023 main ()
22025 return 0;
22028 _ACEOF
22029 if ac_fn_c_try_link "$LINENO"; then :
22030 gcc_cv_math_func_llroundf=yes
22031 else
22032 gcc_cv_math_func_llroundf=no
22034 rm -f core conftest.err conftest.$ac_objext \
22035 conftest$ac_exeext conftest.$ac_ext
22037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22038 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22039 if test $gcc_cv_math_func_llroundf = yes; then
22041 cat >>confdefs.h <<_ACEOF
22042 #define HAVE_LLROUNDF 1
22043 _ACEOF
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22051 $as_echo_n "checking for llround... " >&6; }
22052 if ${gcc_cv_math_func_llround+:} false; then :
22053 $as_echo_n "(cached) " >&6
22054 else
22055 if test x$gcc_no_link = xyes; then
22056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22059 /* end confdefs.h. */
22061 #ifdef HAVE_COMPLEX_H
22062 #include <complex.h>
22063 #endif
22064 #ifdef HAVE_MATH_H
22065 #include <math.h>
22066 #endif
22068 int (*ptr)() = (int (*)())llround;
22071 main ()
22073 return 0;
22076 _ACEOF
22077 if ac_fn_c_try_link "$LINENO"; then :
22078 gcc_cv_math_func_llround=yes
22079 else
22080 gcc_cv_math_func_llround=no
22082 rm -f core conftest.err conftest.$ac_objext \
22083 conftest$ac_exeext conftest.$ac_ext
22085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22086 $as_echo "$gcc_cv_math_func_llround" >&6; }
22087 if test $gcc_cv_math_func_llround = yes; then
22089 cat >>confdefs.h <<_ACEOF
22090 #define HAVE_LLROUND 1
22091 _ACEOF
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22099 $as_echo_n "checking for llroundl... " >&6; }
22100 if ${gcc_cv_math_func_llroundl+:} false; then :
22101 $as_echo_n "(cached) " >&6
22102 else
22103 if test x$gcc_no_link = xyes; then
22104 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h. */
22109 #ifdef HAVE_COMPLEX_H
22110 #include <complex.h>
22111 #endif
22112 #ifdef HAVE_MATH_H
22113 #include <math.h>
22114 #endif
22116 int (*ptr)() = (int (*)())llroundl;
22119 main ()
22121 return 0;
22124 _ACEOF
22125 if ac_fn_c_try_link "$LINENO"; then :
22126 gcc_cv_math_func_llroundl=yes
22127 else
22128 gcc_cv_math_func_llroundl=no
22130 rm -f core conftest.err conftest.$ac_objext \
22131 conftest$ac_exeext conftest.$ac_ext
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22134 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22135 if test $gcc_cv_math_func_llroundl = yes; then
22137 cat >>confdefs.h <<_ACEOF
22138 #define HAVE_LLROUNDL 1
22139 _ACEOF
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22147 $as_echo_n "checking for scalbnf... " >&6; }
22148 if ${gcc_cv_math_func_scalbnf+:} false; then :
22149 $as_echo_n "(cached) " >&6
22150 else
22151 if test x$gcc_no_link = xyes; then
22152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22155 /* end confdefs.h. */
22157 #ifdef HAVE_COMPLEX_H
22158 #include <complex.h>
22159 #endif
22160 #ifdef HAVE_MATH_H
22161 #include <math.h>
22162 #endif
22164 int (*ptr)() = (int (*)())scalbnf;
22167 main ()
22169 return 0;
22172 _ACEOF
22173 if ac_fn_c_try_link "$LINENO"; then :
22174 gcc_cv_math_func_scalbnf=yes
22175 else
22176 gcc_cv_math_func_scalbnf=no
22178 rm -f core conftest.err conftest.$ac_objext \
22179 conftest$ac_exeext conftest.$ac_ext
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22182 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22183 if test $gcc_cv_math_func_scalbnf = yes; then
22185 cat >>confdefs.h <<_ACEOF
22186 #define HAVE_SCALBNF 1
22187 _ACEOF
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22195 $as_echo_n "checking for scalbn... " >&6; }
22196 if ${gcc_cv_math_func_scalbn+:} false; then :
22197 $as_echo_n "(cached) " >&6
22198 else
22199 if test x$gcc_no_link = xyes; then
22200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22203 /* end confdefs.h. */
22205 #ifdef HAVE_COMPLEX_H
22206 #include <complex.h>
22207 #endif
22208 #ifdef HAVE_MATH_H
22209 #include <math.h>
22210 #endif
22212 int (*ptr)() = (int (*)())scalbn;
22215 main ()
22217 return 0;
22220 _ACEOF
22221 if ac_fn_c_try_link "$LINENO"; then :
22222 gcc_cv_math_func_scalbn=yes
22223 else
22224 gcc_cv_math_func_scalbn=no
22226 rm -f core conftest.err conftest.$ac_objext \
22227 conftest$ac_exeext conftest.$ac_ext
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22230 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22231 if test $gcc_cv_math_func_scalbn = yes; then
22233 cat >>confdefs.h <<_ACEOF
22234 #define HAVE_SCALBN 1
22235 _ACEOF
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22243 $as_echo_n "checking for scalbnl... " >&6; }
22244 if ${gcc_cv_math_func_scalbnl+:} false; then :
22245 $as_echo_n "(cached) " >&6
22246 else
22247 if test x$gcc_no_link = xyes; then
22248 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22251 /* end confdefs.h. */
22253 #ifdef HAVE_COMPLEX_H
22254 #include <complex.h>
22255 #endif
22256 #ifdef HAVE_MATH_H
22257 #include <math.h>
22258 #endif
22260 int (*ptr)() = (int (*)())scalbnl;
22263 main ()
22265 return 0;
22268 _ACEOF
22269 if ac_fn_c_try_link "$LINENO"; then :
22270 gcc_cv_math_func_scalbnl=yes
22271 else
22272 gcc_cv_math_func_scalbnl=no
22274 rm -f core conftest.err conftest.$ac_objext \
22275 conftest$ac_exeext conftest.$ac_ext
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22278 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22279 if test $gcc_cv_math_func_scalbnl = yes; then
22281 cat >>confdefs.h <<_ACEOF
22282 #define HAVE_SCALBNL 1
22283 _ACEOF
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22291 $as_echo_n "checking for sinf... " >&6; }
22292 if ${gcc_cv_math_func_sinf+:} false; then :
22293 $as_echo_n "(cached) " >&6
22294 else
22295 if test x$gcc_no_link = xyes; then
22296 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22299 /* end confdefs.h. */
22301 #ifdef HAVE_COMPLEX_H
22302 #include <complex.h>
22303 #endif
22304 #ifdef HAVE_MATH_H
22305 #include <math.h>
22306 #endif
22308 int (*ptr)() = (int (*)())sinf;
22311 main ()
22313 return 0;
22316 _ACEOF
22317 if ac_fn_c_try_link "$LINENO"; then :
22318 gcc_cv_math_func_sinf=yes
22319 else
22320 gcc_cv_math_func_sinf=no
22322 rm -f core conftest.err conftest.$ac_objext \
22323 conftest$ac_exeext conftest.$ac_ext
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22326 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22327 if test $gcc_cv_math_func_sinf = yes; then
22329 cat >>confdefs.h <<_ACEOF
22330 #define HAVE_SINF 1
22331 _ACEOF
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22339 $as_echo_n "checking for sin... " >&6; }
22340 if ${gcc_cv_math_func_sin+:} false; then :
22341 $as_echo_n "(cached) " >&6
22342 else
22343 if test x$gcc_no_link = xyes; then
22344 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22347 /* end confdefs.h. */
22349 #ifdef HAVE_COMPLEX_H
22350 #include <complex.h>
22351 #endif
22352 #ifdef HAVE_MATH_H
22353 #include <math.h>
22354 #endif
22356 int (*ptr)() = (int (*)())sin;
22359 main ()
22361 return 0;
22364 _ACEOF
22365 if ac_fn_c_try_link "$LINENO"; then :
22366 gcc_cv_math_func_sin=yes
22367 else
22368 gcc_cv_math_func_sin=no
22370 rm -f core conftest.err conftest.$ac_objext \
22371 conftest$ac_exeext conftest.$ac_ext
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22374 $as_echo "$gcc_cv_math_func_sin" >&6; }
22375 if test $gcc_cv_math_func_sin = yes; then
22377 cat >>confdefs.h <<_ACEOF
22378 #define HAVE_SIN 1
22379 _ACEOF
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22387 $as_echo_n "checking for sinl... " >&6; }
22388 if ${gcc_cv_math_func_sinl+:} false; then :
22389 $as_echo_n "(cached) " >&6
22390 else
22391 if test x$gcc_no_link = xyes; then
22392 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h. */
22397 #ifdef HAVE_COMPLEX_H
22398 #include <complex.h>
22399 #endif
22400 #ifdef HAVE_MATH_H
22401 #include <math.h>
22402 #endif
22404 int (*ptr)() = (int (*)())sinl;
22407 main ()
22409 return 0;
22412 _ACEOF
22413 if ac_fn_c_try_link "$LINENO"; then :
22414 gcc_cv_math_func_sinl=yes
22415 else
22416 gcc_cv_math_func_sinl=no
22418 rm -f core conftest.err conftest.$ac_objext \
22419 conftest$ac_exeext conftest.$ac_ext
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22422 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22423 if test $gcc_cv_math_func_sinl = yes; then
22425 cat >>confdefs.h <<_ACEOF
22426 #define HAVE_SINL 1
22427 _ACEOF
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22435 $as_echo_n "checking for csinf... " >&6; }
22436 if ${gcc_cv_math_func_csinf+:} false; then :
22437 $as_echo_n "(cached) " >&6
22438 else
22439 if test x$gcc_no_link = xyes; then
22440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22443 /* end confdefs.h. */
22445 #ifdef HAVE_COMPLEX_H
22446 #include <complex.h>
22447 #endif
22448 #ifdef HAVE_MATH_H
22449 #include <math.h>
22450 #endif
22452 int (*ptr)() = (int (*)())csinf;
22455 main ()
22457 return 0;
22460 _ACEOF
22461 if ac_fn_c_try_link "$LINENO"; then :
22462 gcc_cv_math_func_csinf=yes
22463 else
22464 gcc_cv_math_func_csinf=no
22466 rm -f core conftest.err conftest.$ac_objext \
22467 conftest$ac_exeext conftest.$ac_ext
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22470 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22471 if test $gcc_cv_math_func_csinf = yes; then
22473 cat >>confdefs.h <<_ACEOF
22474 #define HAVE_CSINF 1
22475 _ACEOF
22482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22483 $as_echo_n "checking for csin... " >&6; }
22484 if ${gcc_cv_math_func_csin+:} false; then :
22485 $as_echo_n "(cached) " >&6
22486 else
22487 if test x$gcc_no_link = xyes; then
22488 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22491 /* end confdefs.h. */
22493 #ifdef HAVE_COMPLEX_H
22494 #include <complex.h>
22495 #endif
22496 #ifdef HAVE_MATH_H
22497 #include <math.h>
22498 #endif
22500 int (*ptr)() = (int (*)())csin;
22503 main ()
22505 return 0;
22508 _ACEOF
22509 if ac_fn_c_try_link "$LINENO"; then :
22510 gcc_cv_math_func_csin=yes
22511 else
22512 gcc_cv_math_func_csin=no
22514 rm -f core conftest.err conftest.$ac_objext \
22515 conftest$ac_exeext conftest.$ac_ext
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22518 $as_echo "$gcc_cv_math_func_csin" >&6; }
22519 if test $gcc_cv_math_func_csin = yes; then
22521 cat >>confdefs.h <<_ACEOF
22522 #define HAVE_CSIN 1
22523 _ACEOF
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22531 $as_echo_n "checking for csinl... " >&6; }
22532 if ${gcc_cv_math_func_csinl+:} false; then :
22533 $as_echo_n "(cached) " >&6
22534 else
22535 if test x$gcc_no_link = xyes; then
22536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22539 /* end confdefs.h. */
22541 #ifdef HAVE_COMPLEX_H
22542 #include <complex.h>
22543 #endif
22544 #ifdef HAVE_MATH_H
22545 #include <math.h>
22546 #endif
22548 int (*ptr)() = (int (*)())csinl;
22551 main ()
22553 return 0;
22556 _ACEOF
22557 if ac_fn_c_try_link "$LINENO"; then :
22558 gcc_cv_math_func_csinl=yes
22559 else
22560 gcc_cv_math_func_csinl=no
22562 rm -f core conftest.err conftest.$ac_objext \
22563 conftest$ac_exeext conftest.$ac_ext
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22566 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22567 if test $gcc_cv_math_func_csinl = yes; then
22569 cat >>confdefs.h <<_ACEOF
22570 #define HAVE_CSINL 1
22571 _ACEOF
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22579 $as_echo_n "checking for sinhf... " >&6; }
22580 if ${gcc_cv_math_func_sinhf+:} false; then :
22581 $as_echo_n "(cached) " >&6
22582 else
22583 if test x$gcc_no_link = xyes; then
22584 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22587 /* end confdefs.h. */
22589 #ifdef HAVE_COMPLEX_H
22590 #include <complex.h>
22591 #endif
22592 #ifdef HAVE_MATH_H
22593 #include <math.h>
22594 #endif
22596 int (*ptr)() = (int (*)())sinhf;
22599 main ()
22601 return 0;
22604 _ACEOF
22605 if ac_fn_c_try_link "$LINENO"; then :
22606 gcc_cv_math_func_sinhf=yes
22607 else
22608 gcc_cv_math_func_sinhf=no
22610 rm -f core conftest.err conftest.$ac_objext \
22611 conftest$ac_exeext conftest.$ac_ext
22613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22614 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22615 if test $gcc_cv_math_func_sinhf = yes; then
22617 cat >>confdefs.h <<_ACEOF
22618 #define HAVE_SINHF 1
22619 _ACEOF
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22627 $as_echo_n "checking for sinh... " >&6; }
22628 if ${gcc_cv_math_func_sinh+:} false; then :
22629 $as_echo_n "(cached) " >&6
22630 else
22631 if test x$gcc_no_link = xyes; then
22632 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22635 /* end confdefs.h. */
22637 #ifdef HAVE_COMPLEX_H
22638 #include <complex.h>
22639 #endif
22640 #ifdef HAVE_MATH_H
22641 #include <math.h>
22642 #endif
22644 int (*ptr)() = (int (*)())sinh;
22647 main ()
22649 return 0;
22652 _ACEOF
22653 if ac_fn_c_try_link "$LINENO"; then :
22654 gcc_cv_math_func_sinh=yes
22655 else
22656 gcc_cv_math_func_sinh=no
22658 rm -f core conftest.err conftest.$ac_objext \
22659 conftest$ac_exeext conftest.$ac_ext
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22662 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22663 if test $gcc_cv_math_func_sinh = yes; then
22665 cat >>confdefs.h <<_ACEOF
22666 #define HAVE_SINH 1
22667 _ACEOF
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22675 $as_echo_n "checking for sinhl... " >&6; }
22676 if ${gcc_cv_math_func_sinhl+:} false; then :
22677 $as_echo_n "(cached) " >&6
22678 else
22679 if test x$gcc_no_link = xyes; then
22680 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22683 /* end confdefs.h. */
22685 #ifdef HAVE_COMPLEX_H
22686 #include <complex.h>
22687 #endif
22688 #ifdef HAVE_MATH_H
22689 #include <math.h>
22690 #endif
22692 int (*ptr)() = (int (*)())sinhl;
22695 main ()
22697 return 0;
22700 _ACEOF
22701 if ac_fn_c_try_link "$LINENO"; then :
22702 gcc_cv_math_func_sinhl=yes
22703 else
22704 gcc_cv_math_func_sinhl=no
22706 rm -f core conftest.err conftest.$ac_objext \
22707 conftest$ac_exeext conftest.$ac_ext
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22710 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22711 if test $gcc_cv_math_func_sinhl = yes; then
22713 cat >>confdefs.h <<_ACEOF
22714 #define HAVE_SINHL 1
22715 _ACEOF
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22723 $as_echo_n "checking for csinhf... " >&6; }
22724 if ${gcc_cv_math_func_csinhf+:} false; then :
22725 $as_echo_n "(cached) " >&6
22726 else
22727 if test x$gcc_no_link = xyes; then
22728 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22731 /* end confdefs.h. */
22733 #ifdef HAVE_COMPLEX_H
22734 #include <complex.h>
22735 #endif
22736 #ifdef HAVE_MATH_H
22737 #include <math.h>
22738 #endif
22740 int (*ptr)() = (int (*)())csinhf;
22743 main ()
22745 return 0;
22748 _ACEOF
22749 if ac_fn_c_try_link "$LINENO"; then :
22750 gcc_cv_math_func_csinhf=yes
22751 else
22752 gcc_cv_math_func_csinhf=no
22754 rm -f core conftest.err conftest.$ac_objext \
22755 conftest$ac_exeext conftest.$ac_ext
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22758 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22759 if test $gcc_cv_math_func_csinhf = yes; then
22761 cat >>confdefs.h <<_ACEOF
22762 #define HAVE_CSINHF 1
22763 _ACEOF
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22771 $as_echo_n "checking for csinh... " >&6; }
22772 if ${gcc_cv_math_func_csinh+:} false; then :
22773 $as_echo_n "(cached) " >&6
22774 else
22775 if test x$gcc_no_link = xyes; then
22776 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22779 /* end confdefs.h. */
22781 #ifdef HAVE_COMPLEX_H
22782 #include <complex.h>
22783 #endif
22784 #ifdef HAVE_MATH_H
22785 #include <math.h>
22786 #endif
22788 int (*ptr)() = (int (*)())csinh;
22791 main ()
22793 return 0;
22796 _ACEOF
22797 if ac_fn_c_try_link "$LINENO"; then :
22798 gcc_cv_math_func_csinh=yes
22799 else
22800 gcc_cv_math_func_csinh=no
22802 rm -f core conftest.err conftest.$ac_objext \
22803 conftest$ac_exeext conftest.$ac_ext
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22806 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22807 if test $gcc_cv_math_func_csinh = yes; then
22809 cat >>confdefs.h <<_ACEOF
22810 #define HAVE_CSINH 1
22811 _ACEOF
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22819 $as_echo_n "checking for csinhl... " >&6; }
22820 if ${gcc_cv_math_func_csinhl+:} false; then :
22821 $as_echo_n "(cached) " >&6
22822 else
22823 if test x$gcc_no_link = xyes; then
22824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22827 /* end confdefs.h. */
22829 #ifdef HAVE_COMPLEX_H
22830 #include <complex.h>
22831 #endif
22832 #ifdef HAVE_MATH_H
22833 #include <math.h>
22834 #endif
22836 int (*ptr)() = (int (*)())csinhl;
22839 main ()
22841 return 0;
22844 _ACEOF
22845 if ac_fn_c_try_link "$LINENO"; then :
22846 gcc_cv_math_func_csinhl=yes
22847 else
22848 gcc_cv_math_func_csinhl=no
22850 rm -f core conftest.err conftest.$ac_objext \
22851 conftest$ac_exeext conftest.$ac_ext
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22854 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22855 if test $gcc_cv_math_func_csinhl = yes; then
22857 cat >>confdefs.h <<_ACEOF
22858 #define HAVE_CSINHL 1
22859 _ACEOF
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22867 $as_echo_n "checking for sqrtf... " >&6; }
22868 if ${gcc_cv_math_func_sqrtf+:} false; then :
22869 $as_echo_n "(cached) " >&6
22870 else
22871 if test x$gcc_no_link = xyes; then
22872 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22875 /* end confdefs.h. */
22877 #ifdef HAVE_COMPLEX_H
22878 #include <complex.h>
22879 #endif
22880 #ifdef HAVE_MATH_H
22881 #include <math.h>
22882 #endif
22884 int (*ptr)() = (int (*)())sqrtf;
22887 main ()
22889 return 0;
22892 _ACEOF
22893 if ac_fn_c_try_link "$LINENO"; then :
22894 gcc_cv_math_func_sqrtf=yes
22895 else
22896 gcc_cv_math_func_sqrtf=no
22898 rm -f core conftest.err conftest.$ac_objext \
22899 conftest$ac_exeext conftest.$ac_ext
22901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22902 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22903 if test $gcc_cv_math_func_sqrtf = yes; then
22905 cat >>confdefs.h <<_ACEOF
22906 #define HAVE_SQRTF 1
22907 _ACEOF
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22915 $as_echo_n "checking for sqrt... " >&6; }
22916 if ${gcc_cv_math_func_sqrt+:} false; then :
22917 $as_echo_n "(cached) " >&6
22918 else
22919 if test x$gcc_no_link = xyes; then
22920 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22925 #ifdef HAVE_COMPLEX_H
22926 #include <complex.h>
22927 #endif
22928 #ifdef HAVE_MATH_H
22929 #include <math.h>
22930 #endif
22932 int (*ptr)() = (int (*)())sqrt;
22935 main ()
22937 return 0;
22940 _ACEOF
22941 if ac_fn_c_try_link "$LINENO"; then :
22942 gcc_cv_math_func_sqrt=yes
22943 else
22944 gcc_cv_math_func_sqrt=no
22946 rm -f core conftest.err conftest.$ac_objext \
22947 conftest$ac_exeext conftest.$ac_ext
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22950 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22951 if test $gcc_cv_math_func_sqrt = yes; then
22953 cat >>confdefs.h <<_ACEOF
22954 #define HAVE_SQRT 1
22955 _ACEOF
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22963 $as_echo_n "checking for sqrtl... " >&6; }
22964 if ${gcc_cv_math_func_sqrtl+:} false; then :
22965 $as_echo_n "(cached) " >&6
22966 else
22967 if test x$gcc_no_link = xyes; then
22968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22971 /* end confdefs.h. */
22973 #ifdef HAVE_COMPLEX_H
22974 #include <complex.h>
22975 #endif
22976 #ifdef HAVE_MATH_H
22977 #include <math.h>
22978 #endif
22980 int (*ptr)() = (int (*)())sqrtl;
22983 main ()
22985 return 0;
22988 _ACEOF
22989 if ac_fn_c_try_link "$LINENO"; then :
22990 gcc_cv_math_func_sqrtl=yes
22991 else
22992 gcc_cv_math_func_sqrtl=no
22994 rm -f core conftest.err conftest.$ac_objext \
22995 conftest$ac_exeext conftest.$ac_ext
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22998 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22999 if test $gcc_cv_math_func_sqrtl = yes; then
23001 cat >>confdefs.h <<_ACEOF
23002 #define HAVE_SQRTL 1
23003 _ACEOF
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23011 $as_echo_n "checking for csqrtf... " >&6; }
23012 if ${gcc_cv_math_func_csqrtf+:} false; then :
23013 $as_echo_n "(cached) " >&6
23014 else
23015 if test x$gcc_no_link = xyes; then
23016 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23019 /* end confdefs.h. */
23021 #ifdef HAVE_COMPLEX_H
23022 #include <complex.h>
23023 #endif
23024 #ifdef HAVE_MATH_H
23025 #include <math.h>
23026 #endif
23028 int (*ptr)() = (int (*)())csqrtf;
23031 main ()
23033 return 0;
23036 _ACEOF
23037 if ac_fn_c_try_link "$LINENO"; then :
23038 gcc_cv_math_func_csqrtf=yes
23039 else
23040 gcc_cv_math_func_csqrtf=no
23042 rm -f core conftest.err conftest.$ac_objext \
23043 conftest$ac_exeext conftest.$ac_ext
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23046 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23047 if test $gcc_cv_math_func_csqrtf = yes; then
23049 cat >>confdefs.h <<_ACEOF
23050 #define HAVE_CSQRTF 1
23051 _ACEOF
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23059 $as_echo_n "checking for csqrt... " >&6; }
23060 if ${gcc_cv_math_func_csqrt+:} false; then :
23061 $as_echo_n "(cached) " >&6
23062 else
23063 if test x$gcc_no_link = xyes; then
23064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23067 /* end confdefs.h. */
23069 #ifdef HAVE_COMPLEX_H
23070 #include <complex.h>
23071 #endif
23072 #ifdef HAVE_MATH_H
23073 #include <math.h>
23074 #endif
23076 int (*ptr)() = (int (*)())csqrt;
23079 main ()
23081 return 0;
23084 _ACEOF
23085 if ac_fn_c_try_link "$LINENO"; then :
23086 gcc_cv_math_func_csqrt=yes
23087 else
23088 gcc_cv_math_func_csqrt=no
23090 rm -f core conftest.err conftest.$ac_objext \
23091 conftest$ac_exeext conftest.$ac_ext
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23094 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23095 if test $gcc_cv_math_func_csqrt = yes; then
23097 cat >>confdefs.h <<_ACEOF
23098 #define HAVE_CSQRT 1
23099 _ACEOF
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23107 $as_echo_n "checking for csqrtl... " >&6; }
23108 if ${gcc_cv_math_func_csqrtl+:} false; then :
23109 $as_echo_n "(cached) " >&6
23110 else
23111 if test x$gcc_no_link = xyes; then
23112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23115 /* end confdefs.h. */
23117 #ifdef HAVE_COMPLEX_H
23118 #include <complex.h>
23119 #endif
23120 #ifdef HAVE_MATH_H
23121 #include <math.h>
23122 #endif
23124 int (*ptr)() = (int (*)())csqrtl;
23127 main ()
23129 return 0;
23132 _ACEOF
23133 if ac_fn_c_try_link "$LINENO"; then :
23134 gcc_cv_math_func_csqrtl=yes
23135 else
23136 gcc_cv_math_func_csqrtl=no
23138 rm -f core conftest.err conftest.$ac_objext \
23139 conftest$ac_exeext conftest.$ac_ext
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23142 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23143 if test $gcc_cv_math_func_csqrtl = yes; then
23145 cat >>confdefs.h <<_ACEOF
23146 #define HAVE_CSQRTL 1
23147 _ACEOF
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23155 $as_echo_n "checking for tanf... " >&6; }
23156 if ${gcc_cv_math_func_tanf+:} false; then :
23157 $as_echo_n "(cached) " >&6
23158 else
23159 if test x$gcc_no_link = xyes; then
23160 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23163 /* end confdefs.h. */
23165 #ifdef HAVE_COMPLEX_H
23166 #include <complex.h>
23167 #endif
23168 #ifdef HAVE_MATH_H
23169 #include <math.h>
23170 #endif
23172 int (*ptr)() = (int (*)())tanf;
23175 main ()
23177 return 0;
23180 _ACEOF
23181 if ac_fn_c_try_link "$LINENO"; then :
23182 gcc_cv_math_func_tanf=yes
23183 else
23184 gcc_cv_math_func_tanf=no
23186 rm -f core conftest.err conftest.$ac_objext \
23187 conftest$ac_exeext conftest.$ac_ext
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23190 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23191 if test $gcc_cv_math_func_tanf = yes; then
23193 cat >>confdefs.h <<_ACEOF
23194 #define HAVE_TANF 1
23195 _ACEOF
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23203 $as_echo_n "checking for tan... " >&6; }
23204 if ${gcc_cv_math_func_tan+:} false; then :
23205 $as_echo_n "(cached) " >&6
23206 else
23207 if test x$gcc_no_link = xyes; then
23208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23211 /* end confdefs.h. */
23213 #ifdef HAVE_COMPLEX_H
23214 #include <complex.h>
23215 #endif
23216 #ifdef HAVE_MATH_H
23217 #include <math.h>
23218 #endif
23220 int (*ptr)() = (int (*)())tan;
23223 main ()
23225 return 0;
23228 _ACEOF
23229 if ac_fn_c_try_link "$LINENO"; then :
23230 gcc_cv_math_func_tan=yes
23231 else
23232 gcc_cv_math_func_tan=no
23234 rm -f core conftest.err conftest.$ac_objext \
23235 conftest$ac_exeext conftest.$ac_ext
23237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23238 $as_echo "$gcc_cv_math_func_tan" >&6; }
23239 if test $gcc_cv_math_func_tan = yes; then
23241 cat >>confdefs.h <<_ACEOF
23242 #define HAVE_TAN 1
23243 _ACEOF
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23251 $as_echo_n "checking for tanl... " >&6; }
23252 if ${gcc_cv_math_func_tanl+:} false; then :
23253 $as_echo_n "(cached) " >&6
23254 else
23255 if test x$gcc_no_link = xyes; then
23256 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23259 /* end confdefs.h. */
23261 #ifdef HAVE_COMPLEX_H
23262 #include <complex.h>
23263 #endif
23264 #ifdef HAVE_MATH_H
23265 #include <math.h>
23266 #endif
23268 int (*ptr)() = (int (*)())tanl;
23271 main ()
23273 return 0;
23276 _ACEOF
23277 if ac_fn_c_try_link "$LINENO"; then :
23278 gcc_cv_math_func_tanl=yes
23279 else
23280 gcc_cv_math_func_tanl=no
23282 rm -f core conftest.err conftest.$ac_objext \
23283 conftest$ac_exeext conftest.$ac_ext
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23286 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23287 if test $gcc_cv_math_func_tanl = yes; then
23289 cat >>confdefs.h <<_ACEOF
23290 #define HAVE_TANL 1
23291 _ACEOF
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23299 $as_echo_n "checking for ctanf... " >&6; }
23300 if ${gcc_cv_math_func_ctanf+:} false; then :
23301 $as_echo_n "(cached) " >&6
23302 else
23303 if test x$gcc_no_link = xyes; then
23304 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23307 /* end confdefs.h. */
23309 #ifdef HAVE_COMPLEX_H
23310 #include <complex.h>
23311 #endif
23312 #ifdef HAVE_MATH_H
23313 #include <math.h>
23314 #endif
23316 int (*ptr)() = (int (*)())ctanf;
23319 main ()
23321 return 0;
23324 _ACEOF
23325 if ac_fn_c_try_link "$LINENO"; then :
23326 gcc_cv_math_func_ctanf=yes
23327 else
23328 gcc_cv_math_func_ctanf=no
23330 rm -f core conftest.err conftest.$ac_objext \
23331 conftest$ac_exeext conftest.$ac_ext
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23334 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23335 if test $gcc_cv_math_func_ctanf = yes; then
23337 cat >>confdefs.h <<_ACEOF
23338 #define HAVE_CTANF 1
23339 _ACEOF
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23347 $as_echo_n "checking for ctan... " >&6; }
23348 if ${gcc_cv_math_func_ctan+:} false; then :
23349 $as_echo_n "(cached) " >&6
23350 else
23351 if test x$gcc_no_link = xyes; then
23352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23355 /* end confdefs.h. */
23357 #ifdef HAVE_COMPLEX_H
23358 #include <complex.h>
23359 #endif
23360 #ifdef HAVE_MATH_H
23361 #include <math.h>
23362 #endif
23364 int (*ptr)() = (int (*)())ctan;
23367 main ()
23369 return 0;
23372 _ACEOF
23373 if ac_fn_c_try_link "$LINENO"; then :
23374 gcc_cv_math_func_ctan=yes
23375 else
23376 gcc_cv_math_func_ctan=no
23378 rm -f core conftest.err conftest.$ac_objext \
23379 conftest$ac_exeext conftest.$ac_ext
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23382 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23383 if test $gcc_cv_math_func_ctan = yes; then
23385 cat >>confdefs.h <<_ACEOF
23386 #define HAVE_CTAN 1
23387 _ACEOF
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23395 $as_echo_n "checking for ctanl... " >&6; }
23396 if ${gcc_cv_math_func_ctanl+:} false; then :
23397 $as_echo_n "(cached) " >&6
23398 else
23399 if test x$gcc_no_link = xyes; then
23400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h. */
23405 #ifdef HAVE_COMPLEX_H
23406 #include <complex.h>
23407 #endif
23408 #ifdef HAVE_MATH_H
23409 #include <math.h>
23410 #endif
23412 int (*ptr)() = (int (*)())ctanl;
23415 main ()
23417 return 0;
23420 _ACEOF
23421 if ac_fn_c_try_link "$LINENO"; then :
23422 gcc_cv_math_func_ctanl=yes
23423 else
23424 gcc_cv_math_func_ctanl=no
23426 rm -f core conftest.err conftest.$ac_objext \
23427 conftest$ac_exeext conftest.$ac_ext
23429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23430 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23431 if test $gcc_cv_math_func_ctanl = yes; then
23433 cat >>confdefs.h <<_ACEOF
23434 #define HAVE_CTANL 1
23435 _ACEOF
23442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23443 $as_echo_n "checking for tanhf... " >&6; }
23444 if ${gcc_cv_math_func_tanhf+:} false; then :
23445 $as_echo_n "(cached) " >&6
23446 else
23447 if test x$gcc_no_link = xyes; then
23448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23451 /* end confdefs.h. */
23453 #ifdef HAVE_COMPLEX_H
23454 #include <complex.h>
23455 #endif
23456 #ifdef HAVE_MATH_H
23457 #include <math.h>
23458 #endif
23460 int (*ptr)() = (int (*)())tanhf;
23463 main ()
23465 return 0;
23468 _ACEOF
23469 if ac_fn_c_try_link "$LINENO"; then :
23470 gcc_cv_math_func_tanhf=yes
23471 else
23472 gcc_cv_math_func_tanhf=no
23474 rm -f core conftest.err conftest.$ac_objext \
23475 conftest$ac_exeext conftest.$ac_ext
23477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23478 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23479 if test $gcc_cv_math_func_tanhf = yes; then
23481 cat >>confdefs.h <<_ACEOF
23482 #define HAVE_TANHF 1
23483 _ACEOF
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23491 $as_echo_n "checking for tanh... " >&6; }
23492 if ${gcc_cv_math_func_tanh+:} false; then :
23493 $as_echo_n "(cached) " >&6
23494 else
23495 if test x$gcc_no_link = xyes; then
23496 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 /* end confdefs.h. */
23501 #ifdef HAVE_COMPLEX_H
23502 #include <complex.h>
23503 #endif
23504 #ifdef HAVE_MATH_H
23505 #include <math.h>
23506 #endif
23508 int (*ptr)() = (int (*)())tanh;
23511 main ()
23513 return 0;
23516 _ACEOF
23517 if ac_fn_c_try_link "$LINENO"; then :
23518 gcc_cv_math_func_tanh=yes
23519 else
23520 gcc_cv_math_func_tanh=no
23522 rm -f core conftest.err conftest.$ac_objext \
23523 conftest$ac_exeext conftest.$ac_ext
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23526 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23527 if test $gcc_cv_math_func_tanh = yes; then
23529 cat >>confdefs.h <<_ACEOF
23530 #define HAVE_TANH 1
23531 _ACEOF
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23539 $as_echo_n "checking for tanhl... " >&6; }
23540 if ${gcc_cv_math_func_tanhl+:} false; then :
23541 $as_echo_n "(cached) " >&6
23542 else
23543 if test x$gcc_no_link = xyes; then
23544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h. */
23549 #ifdef HAVE_COMPLEX_H
23550 #include <complex.h>
23551 #endif
23552 #ifdef HAVE_MATH_H
23553 #include <math.h>
23554 #endif
23556 int (*ptr)() = (int (*)())tanhl;
23559 main ()
23561 return 0;
23564 _ACEOF
23565 if ac_fn_c_try_link "$LINENO"; then :
23566 gcc_cv_math_func_tanhl=yes
23567 else
23568 gcc_cv_math_func_tanhl=no
23570 rm -f core conftest.err conftest.$ac_objext \
23571 conftest$ac_exeext conftest.$ac_ext
23573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23574 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23575 if test $gcc_cv_math_func_tanhl = yes; then
23577 cat >>confdefs.h <<_ACEOF
23578 #define HAVE_TANHL 1
23579 _ACEOF
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23587 $as_echo_n "checking for ctanhf... " >&6; }
23588 if ${gcc_cv_math_func_ctanhf+:} false; then :
23589 $as_echo_n "(cached) " >&6
23590 else
23591 if test x$gcc_no_link = xyes; then
23592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23595 /* end confdefs.h. */
23597 #ifdef HAVE_COMPLEX_H
23598 #include <complex.h>
23599 #endif
23600 #ifdef HAVE_MATH_H
23601 #include <math.h>
23602 #endif
23604 int (*ptr)() = (int (*)())ctanhf;
23607 main ()
23609 return 0;
23612 _ACEOF
23613 if ac_fn_c_try_link "$LINENO"; then :
23614 gcc_cv_math_func_ctanhf=yes
23615 else
23616 gcc_cv_math_func_ctanhf=no
23618 rm -f core conftest.err conftest.$ac_objext \
23619 conftest$ac_exeext conftest.$ac_ext
23621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23622 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23623 if test $gcc_cv_math_func_ctanhf = yes; then
23625 cat >>confdefs.h <<_ACEOF
23626 #define HAVE_CTANHF 1
23627 _ACEOF
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23635 $as_echo_n "checking for ctanh... " >&6; }
23636 if ${gcc_cv_math_func_ctanh+:} false; then :
23637 $as_echo_n "(cached) " >&6
23638 else
23639 if test x$gcc_no_link = xyes; then
23640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23645 #ifdef HAVE_COMPLEX_H
23646 #include <complex.h>
23647 #endif
23648 #ifdef HAVE_MATH_H
23649 #include <math.h>
23650 #endif
23652 int (*ptr)() = (int (*)())ctanh;
23655 main ()
23657 return 0;
23660 _ACEOF
23661 if ac_fn_c_try_link "$LINENO"; then :
23662 gcc_cv_math_func_ctanh=yes
23663 else
23664 gcc_cv_math_func_ctanh=no
23666 rm -f core conftest.err conftest.$ac_objext \
23667 conftest$ac_exeext conftest.$ac_ext
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23670 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23671 if test $gcc_cv_math_func_ctanh = yes; then
23673 cat >>confdefs.h <<_ACEOF
23674 #define HAVE_CTANH 1
23675 _ACEOF
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23683 $as_echo_n "checking for ctanhl... " >&6; }
23684 if ${gcc_cv_math_func_ctanhl+:} false; then :
23685 $as_echo_n "(cached) " >&6
23686 else
23687 if test x$gcc_no_link = xyes; then
23688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h. */
23693 #ifdef HAVE_COMPLEX_H
23694 #include <complex.h>
23695 #endif
23696 #ifdef HAVE_MATH_H
23697 #include <math.h>
23698 #endif
23700 int (*ptr)() = (int (*)())ctanhl;
23703 main ()
23705 return 0;
23708 _ACEOF
23709 if ac_fn_c_try_link "$LINENO"; then :
23710 gcc_cv_math_func_ctanhl=yes
23711 else
23712 gcc_cv_math_func_ctanhl=no
23714 rm -f core conftest.err conftest.$ac_objext \
23715 conftest$ac_exeext conftest.$ac_ext
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23718 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23719 if test $gcc_cv_math_func_ctanhl = yes; then
23721 cat >>confdefs.h <<_ACEOF
23722 #define HAVE_CTANHL 1
23723 _ACEOF
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23731 $as_echo_n "checking for truncf... " >&6; }
23732 if ${gcc_cv_math_func_truncf+:} false; then :
23733 $as_echo_n "(cached) " >&6
23734 else
23735 if test x$gcc_no_link = xyes; then
23736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23739 /* end confdefs.h. */
23741 #ifdef HAVE_COMPLEX_H
23742 #include <complex.h>
23743 #endif
23744 #ifdef HAVE_MATH_H
23745 #include <math.h>
23746 #endif
23748 int (*ptr)() = (int (*)())truncf;
23751 main ()
23753 return 0;
23756 _ACEOF
23757 if ac_fn_c_try_link "$LINENO"; then :
23758 gcc_cv_math_func_truncf=yes
23759 else
23760 gcc_cv_math_func_truncf=no
23762 rm -f core conftest.err conftest.$ac_objext \
23763 conftest$ac_exeext conftest.$ac_ext
23765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23766 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23767 if test $gcc_cv_math_func_truncf = yes; then
23769 cat >>confdefs.h <<_ACEOF
23770 #define HAVE_TRUNCF 1
23771 _ACEOF
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23779 $as_echo_n "checking for trunc... " >&6; }
23780 if ${gcc_cv_math_func_trunc+:} false; then :
23781 $as_echo_n "(cached) " >&6
23782 else
23783 if test x$gcc_no_link = xyes; then
23784 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23787 /* end confdefs.h. */
23789 #ifdef HAVE_COMPLEX_H
23790 #include <complex.h>
23791 #endif
23792 #ifdef HAVE_MATH_H
23793 #include <math.h>
23794 #endif
23796 int (*ptr)() = (int (*)())trunc;
23799 main ()
23801 return 0;
23804 _ACEOF
23805 if ac_fn_c_try_link "$LINENO"; then :
23806 gcc_cv_math_func_trunc=yes
23807 else
23808 gcc_cv_math_func_trunc=no
23810 rm -f core conftest.err conftest.$ac_objext \
23811 conftest$ac_exeext conftest.$ac_ext
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23814 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23815 if test $gcc_cv_math_func_trunc = yes; then
23817 cat >>confdefs.h <<_ACEOF
23818 #define HAVE_TRUNC 1
23819 _ACEOF
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23827 $as_echo_n "checking for truncl... " >&6; }
23828 if ${gcc_cv_math_func_truncl+:} false; then :
23829 $as_echo_n "(cached) " >&6
23830 else
23831 if test x$gcc_no_link = xyes; then
23832 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23835 /* end confdefs.h. */
23837 #ifdef HAVE_COMPLEX_H
23838 #include <complex.h>
23839 #endif
23840 #ifdef HAVE_MATH_H
23841 #include <math.h>
23842 #endif
23844 int (*ptr)() = (int (*)())truncl;
23847 main ()
23849 return 0;
23852 _ACEOF
23853 if ac_fn_c_try_link "$LINENO"; then :
23854 gcc_cv_math_func_truncl=yes
23855 else
23856 gcc_cv_math_func_truncl=no
23858 rm -f core conftest.err conftest.$ac_objext \
23859 conftest$ac_exeext conftest.$ac_ext
23861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23862 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23863 if test $gcc_cv_math_func_truncl = yes; then
23865 cat >>confdefs.h <<_ACEOF
23866 #define HAVE_TRUNCL 1
23867 _ACEOF
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23875 $as_echo_n "checking for erff... " >&6; }
23876 if ${gcc_cv_math_func_erff+:} false; then :
23877 $as_echo_n "(cached) " >&6
23878 else
23879 if test x$gcc_no_link = xyes; then
23880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h. */
23885 #ifdef HAVE_COMPLEX_H
23886 #include <complex.h>
23887 #endif
23888 #ifdef HAVE_MATH_H
23889 #include <math.h>
23890 #endif
23892 int (*ptr)() = (int (*)())erff;
23895 main ()
23897 return 0;
23900 _ACEOF
23901 if ac_fn_c_try_link "$LINENO"; then :
23902 gcc_cv_math_func_erff=yes
23903 else
23904 gcc_cv_math_func_erff=no
23906 rm -f core conftest.err conftest.$ac_objext \
23907 conftest$ac_exeext conftest.$ac_ext
23909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23910 $as_echo "$gcc_cv_math_func_erff" >&6; }
23911 if test $gcc_cv_math_func_erff = yes; then
23913 cat >>confdefs.h <<_ACEOF
23914 #define HAVE_ERFF 1
23915 _ACEOF
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23923 $as_echo_n "checking for erf... " >&6; }
23924 if ${gcc_cv_math_func_erf+:} false; then :
23925 $as_echo_n "(cached) " >&6
23926 else
23927 if test x$gcc_no_link = xyes; then
23928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23931 /* end confdefs.h. */
23933 #ifdef HAVE_COMPLEX_H
23934 #include <complex.h>
23935 #endif
23936 #ifdef HAVE_MATH_H
23937 #include <math.h>
23938 #endif
23940 int (*ptr)() = (int (*)())erf;
23943 main ()
23945 return 0;
23948 _ACEOF
23949 if ac_fn_c_try_link "$LINENO"; then :
23950 gcc_cv_math_func_erf=yes
23951 else
23952 gcc_cv_math_func_erf=no
23954 rm -f core conftest.err conftest.$ac_objext \
23955 conftest$ac_exeext conftest.$ac_ext
23957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23958 $as_echo "$gcc_cv_math_func_erf" >&6; }
23959 if test $gcc_cv_math_func_erf = yes; then
23961 cat >>confdefs.h <<_ACEOF
23962 #define HAVE_ERF 1
23963 _ACEOF
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23971 $as_echo_n "checking for erfcf... " >&6; }
23972 if ${gcc_cv_math_func_erfcf+:} false; then :
23973 $as_echo_n "(cached) " >&6
23974 else
23975 if test x$gcc_no_link = xyes; then
23976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23979 /* end confdefs.h. */
23981 #ifdef HAVE_COMPLEX_H
23982 #include <complex.h>
23983 #endif
23984 #ifdef HAVE_MATH_H
23985 #include <math.h>
23986 #endif
23988 int (*ptr)() = (int (*)())erfcf;
23991 main ()
23993 return 0;
23996 _ACEOF
23997 if ac_fn_c_try_link "$LINENO"; then :
23998 gcc_cv_math_func_erfcf=yes
23999 else
24000 gcc_cv_math_func_erfcf=no
24002 rm -f core conftest.err conftest.$ac_objext \
24003 conftest$ac_exeext conftest.$ac_ext
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24006 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24007 if test $gcc_cv_math_func_erfcf = yes; then
24009 cat >>confdefs.h <<_ACEOF
24010 #define HAVE_ERFCF 1
24011 _ACEOF
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24019 $as_echo_n "checking for erfc... " >&6; }
24020 if ${gcc_cv_math_func_erfc+:} false; then :
24021 $as_echo_n "(cached) " >&6
24022 else
24023 if test x$gcc_no_link = xyes; then
24024 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24027 /* end confdefs.h. */
24029 #ifdef HAVE_COMPLEX_H
24030 #include <complex.h>
24031 #endif
24032 #ifdef HAVE_MATH_H
24033 #include <math.h>
24034 #endif
24036 int (*ptr)() = (int (*)())erfc;
24039 main ()
24041 return 0;
24044 _ACEOF
24045 if ac_fn_c_try_link "$LINENO"; then :
24046 gcc_cv_math_func_erfc=yes
24047 else
24048 gcc_cv_math_func_erfc=no
24050 rm -f core conftest.err conftest.$ac_objext \
24051 conftest$ac_exeext conftest.$ac_ext
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24054 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24055 if test $gcc_cv_math_func_erfc = yes; then
24057 cat >>confdefs.h <<_ACEOF
24058 #define HAVE_ERFC 1
24059 _ACEOF
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24067 $as_echo_n "checking for erfcl... " >&6; }
24068 if ${gcc_cv_math_func_erfcl+:} false; then :
24069 $as_echo_n "(cached) " >&6
24070 else
24071 if test x$gcc_no_link = xyes; then
24072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24075 /* end confdefs.h. */
24077 #ifdef HAVE_COMPLEX_H
24078 #include <complex.h>
24079 #endif
24080 #ifdef HAVE_MATH_H
24081 #include <math.h>
24082 #endif
24084 int (*ptr)() = (int (*)())erfcl;
24087 main ()
24089 return 0;
24092 _ACEOF
24093 if ac_fn_c_try_link "$LINENO"; then :
24094 gcc_cv_math_func_erfcl=yes
24095 else
24096 gcc_cv_math_func_erfcl=no
24098 rm -f core conftest.err conftest.$ac_objext \
24099 conftest$ac_exeext conftest.$ac_ext
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24102 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24103 if test $gcc_cv_math_func_erfcl = yes; then
24105 cat >>confdefs.h <<_ACEOF
24106 #define HAVE_ERFCL 1
24107 _ACEOF
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24115 $as_echo_n "checking for j0f... " >&6; }
24116 if ${gcc_cv_math_func_j0f+:} false; then :
24117 $as_echo_n "(cached) " >&6
24118 else
24119 if test x$gcc_no_link = xyes; then
24120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24123 /* end confdefs.h. */
24125 #ifdef HAVE_COMPLEX_H
24126 #include <complex.h>
24127 #endif
24128 #ifdef HAVE_MATH_H
24129 #include <math.h>
24130 #endif
24132 int (*ptr)() = (int (*)())j0f;
24135 main ()
24137 return 0;
24140 _ACEOF
24141 if ac_fn_c_try_link "$LINENO"; then :
24142 gcc_cv_math_func_j0f=yes
24143 else
24144 gcc_cv_math_func_j0f=no
24146 rm -f core conftest.err conftest.$ac_objext \
24147 conftest$ac_exeext conftest.$ac_ext
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24150 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24151 if test $gcc_cv_math_func_j0f = yes; then
24153 cat >>confdefs.h <<_ACEOF
24154 #define HAVE_J0F 1
24155 _ACEOF
24162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24163 $as_echo_n "checking for j0... " >&6; }
24164 if ${gcc_cv_math_func_j0+:} false; then :
24165 $as_echo_n "(cached) " >&6
24166 else
24167 if test x$gcc_no_link = xyes; then
24168 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24171 /* end confdefs.h. */
24173 #ifdef HAVE_COMPLEX_H
24174 #include <complex.h>
24175 #endif
24176 #ifdef HAVE_MATH_H
24177 #include <math.h>
24178 #endif
24180 int (*ptr)() = (int (*)())j0;
24183 main ()
24185 return 0;
24188 _ACEOF
24189 if ac_fn_c_try_link "$LINENO"; then :
24190 gcc_cv_math_func_j0=yes
24191 else
24192 gcc_cv_math_func_j0=no
24194 rm -f core conftest.err conftest.$ac_objext \
24195 conftest$ac_exeext conftest.$ac_ext
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24198 $as_echo "$gcc_cv_math_func_j0" >&6; }
24199 if test $gcc_cv_math_func_j0 = yes; then
24201 cat >>confdefs.h <<_ACEOF
24202 #define HAVE_J0 1
24203 _ACEOF
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24211 $as_echo_n "checking for j1f... " >&6; }
24212 if ${gcc_cv_math_func_j1f+:} false; then :
24213 $as_echo_n "(cached) " >&6
24214 else
24215 if test x$gcc_no_link = xyes; then
24216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24219 /* end confdefs.h. */
24221 #ifdef HAVE_COMPLEX_H
24222 #include <complex.h>
24223 #endif
24224 #ifdef HAVE_MATH_H
24225 #include <math.h>
24226 #endif
24228 int (*ptr)() = (int (*)())j1f;
24231 main ()
24233 return 0;
24236 _ACEOF
24237 if ac_fn_c_try_link "$LINENO"; then :
24238 gcc_cv_math_func_j1f=yes
24239 else
24240 gcc_cv_math_func_j1f=no
24242 rm -f core conftest.err conftest.$ac_objext \
24243 conftest$ac_exeext conftest.$ac_ext
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24246 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24247 if test $gcc_cv_math_func_j1f = yes; then
24249 cat >>confdefs.h <<_ACEOF
24250 #define HAVE_J1F 1
24251 _ACEOF
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24259 $as_echo_n "checking for j1... " >&6; }
24260 if ${gcc_cv_math_func_j1+:} false; then :
24261 $as_echo_n "(cached) " >&6
24262 else
24263 if test x$gcc_no_link = xyes; then
24264 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24267 /* end confdefs.h. */
24269 #ifdef HAVE_COMPLEX_H
24270 #include <complex.h>
24271 #endif
24272 #ifdef HAVE_MATH_H
24273 #include <math.h>
24274 #endif
24276 int (*ptr)() = (int (*)())j1;
24279 main ()
24281 return 0;
24284 _ACEOF
24285 if ac_fn_c_try_link "$LINENO"; then :
24286 gcc_cv_math_func_j1=yes
24287 else
24288 gcc_cv_math_func_j1=no
24290 rm -f core conftest.err conftest.$ac_objext \
24291 conftest$ac_exeext conftest.$ac_ext
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24294 $as_echo "$gcc_cv_math_func_j1" >&6; }
24295 if test $gcc_cv_math_func_j1 = yes; then
24297 cat >>confdefs.h <<_ACEOF
24298 #define HAVE_J1 1
24299 _ACEOF
24306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24307 $as_echo_n "checking for jnf... " >&6; }
24308 if ${gcc_cv_math_func_jnf+:} false; then :
24309 $as_echo_n "(cached) " >&6
24310 else
24311 if test x$gcc_no_link = xyes; then
24312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24315 /* end confdefs.h. */
24317 #ifdef HAVE_COMPLEX_H
24318 #include <complex.h>
24319 #endif
24320 #ifdef HAVE_MATH_H
24321 #include <math.h>
24322 #endif
24324 int (*ptr)() = (int (*)())jnf;
24327 main ()
24329 return 0;
24332 _ACEOF
24333 if ac_fn_c_try_link "$LINENO"; then :
24334 gcc_cv_math_func_jnf=yes
24335 else
24336 gcc_cv_math_func_jnf=no
24338 rm -f core conftest.err conftest.$ac_objext \
24339 conftest$ac_exeext conftest.$ac_ext
24341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24342 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24343 if test $gcc_cv_math_func_jnf = yes; then
24345 cat >>confdefs.h <<_ACEOF
24346 #define HAVE_JNF 1
24347 _ACEOF
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24355 $as_echo_n "checking for jn... " >&6; }
24356 if ${gcc_cv_math_func_jn+:} false; then :
24357 $as_echo_n "(cached) " >&6
24358 else
24359 if test x$gcc_no_link = xyes; then
24360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24363 /* end confdefs.h. */
24365 #ifdef HAVE_COMPLEX_H
24366 #include <complex.h>
24367 #endif
24368 #ifdef HAVE_MATH_H
24369 #include <math.h>
24370 #endif
24372 int (*ptr)() = (int (*)())jn;
24375 main ()
24377 return 0;
24380 _ACEOF
24381 if ac_fn_c_try_link "$LINENO"; then :
24382 gcc_cv_math_func_jn=yes
24383 else
24384 gcc_cv_math_func_jn=no
24386 rm -f core conftest.err conftest.$ac_objext \
24387 conftest$ac_exeext conftest.$ac_ext
24389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24390 $as_echo "$gcc_cv_math_func_jn" >&6; }
24391 if test $gcc_cv_math_func_jn = yes; then
24393 cat >>confdefs.h <<_ACEOF
24394 #define HAVE_JN 1
24395 _ACEOF
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24403 $as_echo_n "checking for jnl... " >&6; }
24404 if ${gcc_cv_math_func_jnl+:} false; then :
24405 $as_echo_n "(cached) " >&6
24406 else
24407 if test x$gcc_no_link = xyes; then
24408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24411 /* end confdefs.h. */
24413 #ifdef HAVE_COMPLEX_H
24414 #include <complex.h>
24415 #endif
24416 #ifdef HAVE_MATH_H
24417 #include <math.h>
24418 #endif
24420 int (*ptr)() = (int (*)())jnl;
24423 main ()
24425 return 0;
24428 _ACEOF
24429 if ac_fn_c_try_link "$LINENO"; then :
24430 gcc_cv_math_func_jnl=yes
24431 else
24432 gcc_cv_math_func_jnl=no
24434 rm -f core conftest.err conftest.$ac_objext \
24435 conftest$ac_exeext conftest.$ac_ext
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24438 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24439 if test $gcc_cv_math_func_jnl = yes; then
24441 cat >>confdefs.h <<_ACEOF
24442 #define HAVE_JNL 1
24443 _ACEOF
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24451 $as_echo_n "checking for y0f... " >&6; }
24452 if ${gcc_cv_math_func_y0f+:} false; then :
24453 $as_echo_n "(cached) " >&6
24454 else
24455 if test x$gcc_no_link = xyes; then
24456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24459 /* end confdefs.h. */
24461 #ifdef HAVE_COMPLEX_H
24462 #include <complex.h>
24463 #endif
24464 #ifdef HAVE_MATH_H
24465 #include <math.h>
24466 #endif
24468 int (*ptr)() = (int (*)())y0f;
24471 main ()
24473 return 0;
24476 _ACEOF
24477 if ac_fn_c_try_link "$LINENO"; then :
24478 gcc_cv_math_func_y0f=yes
24479 else
24480 gcc_cv_math_func_y0f=no
24482 rm -f core conftest.err conftest.$ac_objext \
24483 conftest$ac_exeext conftest.$ac_ext
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24486 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24487 if test $gcc_cv_math_func_y0f = yes; then
24489 cat >>confdefs.h <<_ACEOF
24490 #define HAVE_Y0F 1
24491 _ACEOF
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24499 $as_echo_n "checking for y0... " >&6; }
24500 if ${gcc_cv_math_func_y0+:} false; then :
24501 $as_echo_n "(cached) " >&6
24502 else
24503 if test x$gcc_no_link = xyes; then
24504 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24507 /* end confdefs.h. */
24509 #ifdef HAVE_COMPLEX_H
24510 #include <complex.h>
24511 #endif
24512 #ifdef HAVE_MATH_H
24513 #include <math.h>
24514 #endif
24516 int (*ptr)() = (int (*)())y0;
24519 main ()
24521 return 0;
24524 _ACEOF
24525 if ac_fn_c_try_link "$LINENO"; then :
24526 gcc_cv_math_func_y0=yes
24527 else
24528 gcc_cv_math_func_y0=no
24530 rm -f core conftest.err conftest.$ac_objext \
24531 conftest$ac_exeext conftest.$ac_ext
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24534 $as_echo "$gcc_cv_math_func_y0" >&6; }
24535 if test $gcc_cv_math_func_y0 = yes; then
24537 cat >>confdefs.h <<_ACEOF
24538 #define HAVE_Y0 1
24539 _ACEOF
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24547 $as_echo_n "checking for y1f... " >&6; }
24548 if ${gcc_cv_math_func_y1f+:} false; then :
24549 $as_echo_n "(cached) " >&6
24550 else
24551 if test x$gcc_no_link = xyes; then
24552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24555 /* end confdefs.h. */
24557 #ifdef HAVE_COMPLEX_H
24558 #include <complex.h>
24559 #endif
24560 #ifdef HAVE_MATH_H
24561 #include <math.h>
24562 #endif
24564 int (*ptr)() = (int (*)())y1f;
24567 main ()
24569 return 0;
24572 _ACEOF
24573 if ac_fn_c_try_link "$LINENO"; then :
24574 gcc_cv_math_func_y1f=yes
24575 else
24576 gcc_cv_math_func_y1f=no
24578 rm -f core conftest.err conftest.$ac_objext \
24579 conftest$ac_exeext conftest.$ac_ext
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24582 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24583 if test $gcc_cv_math_func_y1f = yes; then
24585 cat >>confdefs.h <<_ACEOF
24586 #define HAVE_Y1F 1
24587 _ACEOF
24594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24595 $as_echo_n "checking for y1... " >&6; }
24596 if ${gcc_cv_math_func_y1+:} false; then :
24597 $as_echo_n "(cached) " >&6
24598 else
24599 if test x$gcc_no_link = xyes; then
24600 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24603 /* end confdefs.h. */
24605 #ifdef HAVE_COMPLEX_H
24606 #include <complex.h>
24607 #endif
24608 #ifdef HAVE_MATH_H
24609 #include <math.h>
24610 #endif
24612 int (*ptr)() = (int (*)())y1;
24615 main ()
24617 return 0;
24620 _ACEOF
24621 if ac_fn_c_try_link "$LINENO"; then :
24622 gcc_cv_math_func_y1=yes
24623 else
24624 gcc_cv_math_func_y1=no
24626 rm -f core conftest.err conftest.$ac_objext \
24627 conftest$ac_exeext conftest.$ac_ext
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24630 $as_echo "$gcc_cv_math_func_y1" >&6; }
24631 if test $gcc_cv_math_func_y1 = yes; then
24633 cat >>confdefs.h <<_ACEOF
24634 #define HAVE_Y1 1
24635 _ACEOF
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24643 $as_echo_n "checking for ynf... " >&6; }
24644 if ${gcc_cv_math_func_ynf+:} false; then :
24645 $as_echo_n "(cached) " >&6
24646 else
24647 if test x$gcc_no_link = xyes; then
24648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h. */
24653 #ifdef HAVE_COMPLEX_H
24654 #include <complex.h>
24655 #endif
24656 #ifdef HAVE_MATH_H
24657 #include <math.h>
24658 #endif
24660 int (*ptr)() = (int (*)())ynf;
24663 main ()
24665 return 0;
24668 _ACEOF
24669 if ac_fn_c_try_link "$LINENO"; then :
24670 gcc_cv_math_func_ynf=yes
24671 else
24672 gcc_cv_math_func_ynf=no
24674 rm -f core conftest.err conftest.$ac_objext \
24675 conftest$ac_exeext conftest.$ac_ext
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24678 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24679 if test $gcc_cv_math_func_ynf = yes; then
24681 cat >>confdefs.h <<_ACEOF
24682 #define HAVE_YNF 1
24683 _ACEOF
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24691 $as_echo_n "checking for yn... " >&6; }
24692 if ${gcc_cv_math_func_yn+:} false; then :
24693 $as_echo_n "(cached) " >&6
24694 else
24695 if test x$gcc_no_link = xyes; then
24696 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24699 /* end confdefs.h. */
24701 #ifdef HAVE_COMPLEX_H
24702 #include <complex.h>
24703 #endif
24704 #ifdef HAVE_MATH_H
24705 #include <math.h>
24706 #endif
24708 int (*ptr)() = (int (*)())yn;
24711 main ()
24713 return 0;
24716 _ACEOF
24717 if ac_fn_c_try_link "$LINENO"; then :
24718 gcc_cv_math_func_yn=yes
24719 else
24720 gcc_cv_math_func_yn=no
24722 rm -f core conftest.err conftest.$ac_objext \
24723 conftest$ac_exeext conftest.$ac_ext
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24726 $as_echo "$gcc_cv_math_func_yn" >&6; }
24727 if test $gcc_cv_math_func_yn = yes; then
24729 cat >>confdefs.h <<_ACEOF
24730 #define HAVE_YN 1
24731 _ACEOF
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24739 $as_echo_n "checking for ynl... " >&6; }
24740 if ${gcc_cv_math_func_ynl+:} false; then :
24741 $as_echo_n "(cached) " >&6
24742 else
24743 if test x$gcc_no_link = xyes; then
24744 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24747 /* end confdefs.h. */
24749 #ifdef HAVE_COMPLEX_H
24750 #include <complex.h>
24751 #endif
24752 #ifdef HAVE_MATH_H
24753 #include <math.h>
24754 #endif
24756 int (*ptr)() = (int (*)())ynl;
24759 main ()
24761 return 0;
24764 _ACEOF
24765 if ac_fn_c_try_link "$LINENO"; then :
24766 gcc_cv_math_func_ynl=yes
24767 else
24768 gcc_cv_math_func_ynl=no
24770 rm -f core conftest.err conftest.$ac_objext \
24771 conftest$ac_exeext conftest.$ac_ext
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24774 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24775 if test $gcc_cv_math_func_ynl = yes; then
24777 cat >>confdefs.h <<_ACEOF
24778 #define HAVE_YNL 1
24779 _ACEOF
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24787 $as_echo_n "checking for tgamma... " >&6; }
24788 if ${gcc_cv_math_func_tgamma+:} false; then :
24789 $as_echo_n "(cached) " >&6
24790 else
24791 if test x$gcc_no_link = xyes; then
24792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24795 /* end confdefs.h. */
24797 #ifdef HAVE_COMPLEX_H
24798 #include <complex.h>
24799 #endif
24800 #ifdef HAVE_MATH_H
24801 #include <math.h>
24802 #endif
24804 int (*ptr)() = (int (*)())tgamma;
24807 main ()
24809 return 0;
24812 _ACEOF
24813 if ac_fn_c_try_link "$LINENO"; then :
24814 gcc_cv_math_func_tgamma=yes
24815 else
24816 gcc_cv_math_func_tgamma=no
24818 rm -f core conftest.err conftest.$ac_objext \
24819 conftest$ac_exeext conftest.$ac_ext
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24822 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24823 if test $gcc_cv_math_func_tgamma = yes; then
24825 cat >>confdefs.h <<_ACEOF
24826 #define HAVE_TGAMMA 1
24827 _ACEOF
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24835 $as_echo_n "checking for tgammaf... " >&6; }
24836 if ${gcc_cv_math_func_tgammaf+:} false; then :
24837 $as_echo_n "(cached) " >&6
24838 else
24839 if test x$gcc_no_link = xyes; then
24840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h. */
24845 #ifdef HAVE_COMPLEX_H
24846 #include <complex.h>
24847 #endif
24848 #ifdef HAVE_MATH_H
24849 #include <math.h>
24850 #endif
24852 int (*ptr)() = (int (*)())tgammaf;
24855 main ()
24857 return 0;
24860 _ACEOF
24861 if ac_fn_c_try_link "$LINENO"; then :
24862 gcc_cv_math_func_tgammaf=yes
24863 else
24864 gcc_cv_math_func_tgammaf=no
24866 rm -f core conftest.err conftest.$ac_objext \
24867 conftest$ac_exeext conftest.$ac_ext
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24870 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24871 if test $gcc_cv_math_func_tgammaf = yes; then
24873 cat >>confdefs.h <<_ACEOF
24874 #define HAVE_TGAMMAF 1
24875 _ACEOF
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24883 $as_echo_n "checking for lgamma... " >&6; }
24884 if ${gcc_cv_math_func_lgamma+:} false; then :
24885 $as_echo_n "(cached) " >&6
24886 else
24887 if test x$gcc_no_link = xyes; then
24888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24891 /* end confdefs.h. */
24893 #ifdef HAVE_COMPLEX_H
24894 #include <complex.h>
24895 #endif
24896 #ifdef HAVE_MATH_H
24897 #include <math.h>
24898 #endif
24900 int (*ptr)() = (int (*)())lgamma;
24903 main ()
24905 return 0;
24908 _ACEOF
24909 if ac_fn_c_try_link "$LINENO"; then :
24910 gcc_cv_math_func_lgamma=yes
24911 else
24912 gcc_cv_math_func_lgamma=no
24914 rm -f core conftest.err conftest.$ac_objext \
24915 conftest$ac_exeext conftest.$ac_ext
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24918 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24919 if test $gcc_cv_math_func_lgamma = yes; then
24921 cat >>confdefs.h <<_ACEOF
24922 #define HAVE_LGAMMA 1
24923 _ACEOF
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24931 $as_echo_n "checking for lgammaf... " >&6; }
24932 if ${gcc_cv_math_func_lgammaf+:} false; then :
24933 $as_echo_n "(cached) " >&6
24934 else
24935 if test x$gcc_no_link = xyes; then
24936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24939 /* end confdefs.h. */
24941 #ifdef HAVE_COMPLEX_H
24942 #include <complex.h>
24943 #endif
24944 #ifdef HAVE_MATH_H
24945 #include <math.h>
24946 #endif
24948 int (*ptr)() = (int (*)())lgammaf;
24951 main ()
24953 return 0;
24956 _ACEOF
24957 if ac_fn_c_try_link "$LINENO"; then :
24958 gcc_cv_math_func_lgammaf=yes
24959 else
24960 gcc_cv_math_func_lgammaf=no
24962 rm -f core conftest.err conftest.$ac_objext \
24963 conftest$ac_exeext conftest.$ac_ext
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24966 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24967 if test $gcc_cv_math_func_lgammaf = yes; then
24969 cat >>confdefs.h <<_ACEOF
24970 #define HAVE_LGAMMAF 1
24971 _ACEOF
24976 # Check for GFORTRAN_C99_1.1 funcs
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24981 $as_echo_n "checking for cacos... " >&6; }
24982 if ${gcc_cv_math_func_cacos+:} false; then :
24983 $as_echo_n "(cached) " >&6
24984 else
24985 if test x$gcc_no_link = xyes; then
24986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24989 /* end confdefs.h. */
24991 #ifdef HAVE_COMPLEX_H
24992 #include <complex.h>
24993 #endif
24994 #ifdef HAVE_MATH_H
24995 #include <math.h>
24996 #endif
24998 int (*ptr)() = (int (*)())cacos;
25001 main ()
25003 return 0;
25006 _ACEOF
25007 if ac_fn_c_try_link "$LINENO"; then :
25008 gcc_cv_math_func_cacos=yes
25009 else
25010 gcc_cv_math_func_cacos=no
25012 rm -f core conftest.err conftest.$ac_objext \
25013 conftest$ac_exeext conftest.$ac_ext
25015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25016 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25017 if test $gcc_cv_math_func_cacos = yes; then
25019 cat >>confdefs.h <<_ACEOF
25020 #define HAVE_CACOS 1
25021 _ACEOF
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25029 $as_echo_n "checking for cacosf... " >&6; }
25030 if ${gcc_cv_math_func_cacosf+:} false; then :
25031 $as_echo_n "(cached) " >&6
25032 else
25033 if test x$gcc_no_link = xyes; then
25034 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25037 /* end confdefs.h. */
25039 #ifdef HAVE_COMPLEX_H
25040 #include <complex.h>
25041 #endif
25042 #ifdef HAVE_MATH_H
25043 #include <math.h>
25044 #endif
25046 int (*ptr)() = (int (*)())cacosf;
25049 main ()
25051 return 0;
25054 _ACEOF
25055 if ac_fn_c_try_link "$LINENO"; then :
25056 gcc_cv_math_func_cacosf=yes
25057 else
25058 gcc_cv_math_func_cacosf=no
25060 rm -f core conftest.err conftest.$ac_objext \
25061 conftest$ac_exeext conftest.$ac_ext
25063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25064 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25065 if test $gcc_cv_math_func_cacosf = yes; then
25067 cat >>confdefs.h <<_ACEOF
25068 #define HAVE_CACOSF 1
25069 _ACEOF
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25077 $as_echo_n "checking for cacosh... " >&6; }
25078 if ${gcc_cv_math_func_cacosh+:} false; then :
25079 $as_echo_n "(cached) " >&6
25080 else
25081 if test x$gcc_no_link = xyes; then
25082 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25085 /* end confdefs.h. */
25087 #ifdef HAVE_COMPLEX_H
25088 #include <complex.h>
25089 #endif
25090 #ifdef HAVE_MATH_H
25091 #include <math.h>
25092 #endif
25094 int (*ptr)() = (int (*)())cacosh;
25097 main ()
25099 return 0;
25102 _ACEOF
25103 if ac_fn_c_try_link "$LINENO"; then :
25104 gcc_cv_math_func_cacosh=yes
25105 else
25106 gcc_cv_math_func_cacosh=no
25108 rm -f core conftest.err conftest.$ac_objext \
25109 conftest$ac_exeext conftest.$ac_ext
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25112 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25113 if test $gcc_cv_math_func_cacosh = yes; then
25115 cat >>confdefs.h <<_ACEOF
25116 #define HAVE_CACOSH 1
25117 _ACEOF
25124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25125 $as_echo_n "checking for cacoshf... " >&6; }
25126 if ${gcc_cv_math_func_cacoshf+:} false; then :
25127 $as_echo_n "(cached) " >&6
25128 else
25129 if test x$gcc_no_link = xyes; then
25130 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25133 /* end confdefs.h. */
25135 #ifdef HAVE_COMPLEX_H
25136 #include <complex.h>
25137 #endif
25138 #ifdef HAVE_MATH_H
25139 #include <math.h>
25140 #endif
25142 int (*ptr)() = (int (*)())cacoshf;
25145 main ()
25147 return 0;
25150 _ACEOF
25151 if ac_fn_c_try_link "$LINENO"; then :
25152 gcc_cv_math_func_cacoshf=yes
25153 else
25154 gcc_cv_math_func_cacoshf=no
25156 rm -f core conftest.err conftest.$ac_objext \
25157 conftest$ac_exeext conftest.$ac_ext
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25160 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25161 if test $gcc_cv_math_func_cacoshf = yes; then
25163 cat >>confdefs.h <<_ACEOF
25164 #define HAVE_CACOSHF 1
25165 _ACEOF
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25173 $as_echo_n "checking for cacoshl... " >&6; }
25174 if ${gcc_cv_math_func_cacoshl+:} false; then :
25175 $as_echo_n "(cached) " >&6
25176 else
25177 if test x$gcc_no_link = xyes; then
25178 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25181 /* end confdefs.h. */
25183 #ifdef HAVE_COMPLEX_H
25184 #include <complex.h>
25185 #endif
25186 #ifdef HAVE_MATH_H
25187 #include <math.h>
25188 #endif
25190 int (*ptr)() = (int (*)())cacoshl;
25193 main ()
25195 return 0;
25198 _ACEOF
25199 if ac_fn_c_try_link "$LINENO"; then :
25200 gcc_cv_math_func_cacoshl=yes
25201 else
25202 gcc_cv_math_func_cacoshl=no
25204 rm -f core conftest.err conftest.$ac_objext \
25205 conftest$ac_exeext conftest.$ac_ext
25207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25208 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25209 if test $gcc_cv_math_func_cacoshl = yes; then
25211 cat >>confdefs.h <<_ACEOF
25212 #define HAVE_CACOSHL 1
25213 _ACEOF
25220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25221 $as_echo_n "checking for cacosl... " >&6; }
25222 if ${gcc_cv_math_func_cacosl+:} false; then :
25223 $as_echo_n "(cached) " >&6
25224 else
25225 if test x$gcc_no_link = xyes; then
25226 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25229 /* end confdefs.h. */
25231 #ifdef HAVE_COMPLEX_H
25232 #include <complex.h>
25233 #endif
25234 #ifdef HAVE_MATH_H
25235 #include <math.h>
25236 #endif
25238 int (*ptr)() = (int (*)())cacosl;
25241 main ()
25243 return 0;
25246 _ACEOF
25247 if ac_fn_c_try_link "$LINENO"; then :
25248 gcc_cv_math_func_cacosl=yes
25249 else
25250 gcc_cv_math_func_cacosl=no
25252 rm -f core conftest.err conftest.$ac_objext \
25253 conftest$ac_exeext conftest.$ac_ext
25255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25256 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25257 if test $gcc_cv_math_func_cacosl = yes; then
25259 cat >>confdefs.h <<_ACEOF
25260 #define HAVE_CACOSL 1
25261 _ACEOF
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25269 $as_echo_n "checking for casin... " >&6; }
25270 if ${gcc_cv_math_func_casin+:} false; then :
25271 $as_echo_n "(cached) " >&6
25272 else
25273 if test x$gcc_no_link = xyes; then
25274 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25277 /* end confdefs.h. */
25279 #ifdef HAVE_COMPLEX_H
25280 #include <complex.h>
25281 #endif
25282 #ifdef HAVE_MATH_H
25283 #include <math.h>
25284 #endif
25286 int (*ptr)() = (int (*)())casin;
25289 main ()
25291 return 0;
25294 _ACEOF
25295 if ac_fn_c_try_link "$LINENO"; then :
25296 gcc_cv_math_func_casin=yes
25297 else
25298 gcc_cv_math_func_casin=no
25300 rm -f core conftest.err conftest.$ac_objext \
25301 conftest$ac_exeext conftest.$ac_ext
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25304 $as_echo "$gcc_cv_math_func_casin" >&6; }
25305 if test $gcc_cv_math_func_casin = yes; then
25307 cat >>confdefs.h <<_ACEOF
25308 #define HAVE_CASIN 1
25309 _ACEOF
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25317 $as_echo_n "checking for casinf... " >&6; }
25318 if ${gcc_cv_math_func_casinf+:} false; then :
25319 $as_echo_n "(cached) " >&6
25320 else
25321 if test x$gcc_no_link = xyes; then
25322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25325 /* end confdefs.h. */
25327 #ifdef HAVE_COMPLEX_H
25328 #include <complex.h>
25329 #endif
25330 #ifdef HAVE_MATH_H
25331 #include <math.h>
25332 #endif
25334 int (*ptr)() = (int (*)())casinf;
25337 main ()
25339 return 0;
25342 _ACEOF
25343 if ac_fn_c_try_link "$LINENO"; then :
25344 gcc_cv_math_func_casinf=yes
25345 else
25346 gcc_cv_math_func_casinf=no
25348 rm -f core conftest.err conftest.$ac_objext \
25349 conftest$ac_exeext conftest.$ac_ext
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25352 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25353 if test $gcc_cv_math_func_casinf = yes; then
25355 cat >>confdefs.h <<_ACEOF
25356 #define HAVE_CASINF 1
25357 _ACEOF
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25365 $as_echo_n "checking for casinh... " >&6; }
25366 if ${gcc_cv_math_func_casinh+:} false; then :
25367 $as_echo_n "(cached) " >&6
25368 else
25369 if test x$gcc_no_link = xyes; then
25370 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25375 #ifdef HAVE_COMPLEX_H
25376 #include <complex.h>
25377 #endif
25378 #ifdef HAVE_MATH_H
25379 #include <math.h>
25380 #endif
25382 int (*ptr)() = (int (*)())casinh;
25385 main ()
25387 return 0;
25390 _ACEOF
25391 if ac_fn_c_try_link "$LINENO"; then :
25392 gcc_cv_math_func_casinh=yes
25393 else
25394 gcc_cv_math_func_casinh=no
25396 rm -f core conftest.err conftest.$ac_objext \
25397 conftest$ac_exeext conftest.$ac_ext
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25400 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25401 if test $gcc_cv_math_func_casinh = yes; then
25403 cat >>confdefs.h <<_ACEOF
25404 #define HAVE_CASINH 1
25405 _ACEOF
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25413 $as_echo_n "checking for casinhf... " >&6; }
25414 if ${gcc_cv_math_func_casinhf+:} false; then :
25415 $as_echo_n "(cached) " >&6
25416 else
25417 if test x$gcc_no_link = xyes; then
25418 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25421 /* end confdefs.h. */
25423 #ifdef HAVE_COMPLEX_H
25424 #include <complex.h>
25425 #endif
25426 #ifdef HAVE_MATH_H
25427 #include <math.h>
25428 #endif
25430 int (*ptr)() = (int (*)())casinhf;
25433 main ()
25435 return 0;
25438 _ACEOF
25439 if ac_fn_c_try_link "$LINENO"; then :
25440 gcc_cv_math_func_casinhf=yes
25441 else
25442 gcc_cv_math_func_casinhf=no
25444 rm -f core conftest.err conftest.$ac_objext \
25445 conftest$ac_exeext conftest.$ac_ext
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25448 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25449 if test $gcc_cv_math_func_casinhf = yes; then
25451 cat >>confdefs.h <<_ACEOF
25452 #define HAVE_CASINHF 1
25453 _ACEOF
25460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25461 $as_echo_n "checking for casinhl... " >&6; }
25462 if ${gcc_cv_math_func_casinhl+:} false; then :
25463 $as_echo_n "(cached) " >&6
25464 else
25465 if test x$gcc_no_link = xyes; then
25466 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25469 /* end confdefs.h. */
25471 #ifdef HAVE_COMPLEX_H
25472 #include <complex.h>
25473 #endif
25474 #ifdef HAVE_MATH_H
25475 #include <math.h>
25476 #endif
25478 int (*ptr)() = (int (*)())casinhl;
25481 main ()
25483 return 0;
25486 _ACEOF
25487 if ac_fn_c_try_link "$LINENO"; then :
25488 gcc_cv_math_func_casinhl=yes
25489 else
25490 gcc_cv_math_func_casinhl=no
25492 rm -f core conftest.err conftest.$ac_objext \
25493 conftest$ac_exeext conftest.$ac_ext
25495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25496 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25497 if test $gcc_cv_math_func_casinhl = yes; then
25499 cat >>confdefs.h <<_ACEOF
25500 #define HAVE_CASINHL 1
25501 _ACEOF
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25509 $as_echo_n "checking for casinl... " >&6; }
25510 if ${gcc_cv_math_func_casinl+:} false; then :
25511 $as_echo_n "(cached) " >&6
25512 else
25513 if test x$gcc_no_link = xyes; then
25514 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25517 /* end confdefs.h. */
25519 #ifdef HAVE_COMPLEX_H
25520 #include <complex.h>
25521 #endif
25522 #ifdef HAVE_MATH_H
25523 #include <math.h>
25524 #endif
25526 int (*ptr)() = (int (*)())casinl;
25529 main ()
25531 return 0;
25534 _ACEOF
25535 if ac_fn_c_try_link "$LINENO"; then :
25536 gcc_cv_math_func_casinl=yes
25537 else
25538 gcc_cv_math_func_casinl=no
25540 rm -f core conftest.err conftest.$ac_objext \
25541 conftest$ac_exeext conftest.$ac_ext
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25544 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25545 if test $gcc_cv_math_func_casinl = yes; then
25547 cat >>confdefs.h <<_ACEOF
25548 #define HAVE_CASINL 1
25549 _ACEOF
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25557 $as_echo_n "checking for catan... " >&6; }
25558 if ${gcc_cv_math_func_catan+:} false; then :
25559 $as_echo_n "(cached) " >&6
25560 else
25561 if test x$gcc_no_link = xyes; then
25562 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25565 /* end confdefs.h. */
25567 #ifdef HAVE_COMPLEX_H
25568 #include <complex.h>
25569 #endif
25570 #ifdef HAVE_MATH_H
25571 #include <math.h>
25572 #endif
25574 int (*ptr)() = (int (*)())catan;
25577 main ()
25579 return 0;
25582 _ACEOF
25583 if ac_fn_c_try_link "$LINENO"; then :
25584 gcc_cv_math_func_catan=yes
25585 else
25586 gcc_cv_math_func_catan=no
25588 rm -f core conftest.err conftest.$ac_objext \
25589 conftest$ac_exeext conftest.$ac_ext
25591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25592 $as_echo "$gcc_cv_math_func_catan" >&6; }
25593 if test $gcc_cv_math_func_catan = yes; then
25595 cat >>confdefs.h <<_ACEOF
25596 #define HAVE_CATAN 1
25597 _ACEOF
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25605 $as_echo_n "checking for catanf... " >&6; }
25606 if ${gcc_cv_math_func_catanf+:} false; then :
25607 $as_echo_n "(cached) " >&6
25608 else
25609 if test x$gcc_no_link = xyes; then
25610 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25613 /* end confdefs.h. */
25615 #ifdef HAVE_COMPLEX_H
25616 #include <complex.h>
25617 #endif
25618 #ifdef HAVE_MATH_H
25619 #include <math.h>
25620 #endif
25622 int (*ptr)() = (int (*)())catanf;
25625 main ()
25627 return 0;
25630 _ACEOF
25631 if ac_fn_c_try_link "$LINENO"; then :
25632 gcc_cv_math_func_catanf=yes
25633 else
25634 gcc_cv_math_func_catanf=no
25636 rm -f core conftest.err conftest.$ac_objext \
25637 conftest$ac_exeext conftest.$ac_ext
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25640 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25641 if test $gcc_cv_math_func_catanf = yes; then
25643 cat >>confdefs.h <<_ACEOF
25644 #define HAVE_CATANF 1
25645 _ACEOF
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25653 $as_echo_n "checking for catanh... " >&6; }
25654 if ${gcc_cv_math_func_catanh+:} false; then :
25655 $as_echo_n "(cached) " >&6
25656 else
25657 if test x$gcc_no_link = xyes; then
25658 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25661 /* end confdefs.h. */
25663 #ifdef HAVE_COMPLEX_H
25664 #include <complex.h>
25665 #endif
25666 #ifdef HAVE_MATH_H
25667 #include <math.h>
25668 #endif
25670 int (*ptr)() = (int (*)())catanh;
25673 main ()
25675 return 0;
25678 _ACEOF
25679 if ac_fn_c_try_link "$LINENO"; then :
25680 gcc_cv_math_func_catanh=yes
25681 else
25682 gcc_cv_math_func_catanh=no
25684 rm -f core conftest.err conftest.$ac_objext \
25685 conftest$ac_exeext conftest.$ac_ext
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25688 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25689 if test $gcc_cv_math_func_catanh = yes; then
25691 cat >>confdefs.h <<_ACEOF
25692 #define HAVE_CATANH 1
25693 _ACEOF
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25701 $as_echo_n "checking for catanhf... " >&6; }
25702 if ${gcc_cv_math_func_catanhf+:} false; then :
25703 $as_echo_n "(cached) " >&6
25704 else
25705 if test x$gcc_no_link = xyes; then
25706 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25709 /* end confdefs.h. */
25711 #ifdef HAVE_COMPLEX_H
25712 #include <complex.h>
25713 #endif
25714 #ifdef HAVE_MATH_H
25715 #include <math.h>
25716 #endif
25718 int (*ptr)() = (int (*)())catanhf;
25721 main ()
25723 return 0;
25726 _ACEOF
25727 if ac_fn_c_try_link "$LINENO"; then :
25728 gcc_cv_math_func_catanhf=yes
25729 else
25730 gcc_cv_math_func_catanhf=no
25732 rm -f core conftest.err conftest.$ac_objext \
25733 conftest$ac_exeext conftest.$ac_ext
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25736 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25737 if test $gcc_cv_math_func_catanhf = yes; then
25739 cat >>confdefs.h <<_ACEOF
25740 #define HAVE_CATANHF 1
25741 _ACEOF
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25749 $as_echo_n "checking for catanhl... " >&6; }
25750 if ${gcc_cv_math_func_catanhl+:} false; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25753 if test x$gcc_no_link = xyes; then
25754 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25757 /* end confdefs.h. */
25759 #ifdef HAVE_COMPLEX_H
25760 #include <complex.h>
25761 #endif
25762 #ifdef HAVE_MATH_H
25763 #include <math.h>
25764 #endif
25766 int (*ptr)() = (int (*)())catanhl;
25769 main ()
25771 return 0;
25774 _ACEOF
25775 if ac_fn_c_try_link "$LINENO"; then :
25776 gcc_cv_math_func_catanhl=yes
25777 else
25778 gcc_cv_math_func_catanhl=no
25780 rm -f core conftest.err conftest.$ac_objext \
25781 conftest$ac_exeext conftest.$ac_ext
25783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25784 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25785 if test $gcc_cv_math_func_catanhl = yes; then
25787 cat >>confdefs.h <<_ACEOF
25788 #define HAVE_CATANHL 1
25789 _ACEOF
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25797 $as_echo_n "checking for catanl... " >&6; }
25798 if ${gcc_cv_math_func_catanl+:} false; then :
25799 $as_echo_n "(cached) " >&6
25800 else
25801 if test x$gcc_no_link = xyes; then
25802 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25805 /* end confdefs.h. */
25807 #ifdef HAVE_COMPLEX_H
25808 #include <complex.h>
25809 #endif
25810 #ifdef HAVE_MATH_H
25811 #include <math.h>
25812 #endif
25814 int (*ptr)() = (int (*)())catanl;
25817 main ()
25819 return 0;
25822 _ACEOF
25823 if ac_fn_c_try_link "$LINENO"; then :
25824 gcc_cv_math_func_catanl=yes
25825 else
25826 gcc_cv_math_func_catanl=no
25828 rm -f core conftest.err conftest.$ac_objext \
25829 conftest$ac_exeext conftest.$ac_ext
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25832 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25833 if test $gcc_cv_math_func_catanl = yes; then
25835 cat >>confdefs.h <<_ACEOF
25836 #define HAVE_CATANL 1
25837 _ACEOF
25842 # For POWER, check the ieee128 math functions
25844 if test "x$have_real_17" = "xyes"; then
25846 cat >>confdefs.h <<_ACEOF
25847 #define HAVE_REAL_17 1
25848 _ACEOF
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25855 $as_echo_n "checking for __acoshieee128... " >&6; }
25856 if ${gcc_cv_math_func___acoshieee128+:} false; then :
25857 $as_echo_n "(cached) " >&6
25858 else
25859 if test x$gcc_no_link = xyes; then
25860 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25863 /* end confdefs.h. */
25865 _Float128 __acoshieee128 (_Float128);
25866 _Float128 (*ptr)(_Float128) = __acoshieee128;
25869 main ()
25871 return 0;
25874 _ACEOF
25875 if ac_fn_c_try_link "$LINENO"; then :
25876 gcc_cv_math_func___acoshieee128=yes
25877 else
25878 gcc_cv_math_func___acoshieee128=no
25880 rm -f core conftest.err conftest.$ac_objext \
25881 conftest$ac_exeext conftest.$ac_ext
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25884 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25885 if test $gcc_cv_math_func___acoshieee128 = yes; then
25887 cat >>confdefs.h <<_ACEOF
25888 #define HAVE___ACOSHIEEE128 1
25889 _ACEOF
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25897 $as_echo_n "checking for __acosieee128... " >&6; }
25898 if ${gcc_cv_math_func___acosieee128+:} false; then :
25899 $as_echo_n "(cached) " >&6
25900 else
25901 if test x$gcc_no_link = xyes; then
25902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25905 /* end confdefs.h. */
25907 _Float128 __acosieee128 (_Float128);
25908 _Float128 (*ptr)(_Float128) = __acosieee128;
25911 main ()
25913 return 0;
25916 _ACEOF
25917 if ac_fn_c_try_link "$LINENO"; then :
25918 gcc_cv_math_func___acosieee128=yes
25919 else
25920 gcc_cv_math_func___acosieee128=no
25922 rm -f core conftest.err conftest.$ac_objext \
25923 conftest$ac_exeext conftest.$ac_ext
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25926 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25927 if test $gcc_cv_math_func___acosieee128 = yes; then
25929 cat >>confdefs.h <<_ACEOF
25930 #define HAVE___ACOSIEEE128 1
25931 _ACEOF
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25939 $as_echo_n "checking for __asinhieee128... " >&6; }
25940 if ${gcc_cv_math_func___asinhieee128+:} false; then :
25941 $as_echo_n "(cached) " >&6
25942 else
25943 if test x$gcc_no_link = xyes; then
25944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h. */
25949 _Float128 __asinhieee128 (_Float128);
25950 _Float128 (*ptr)(_Float128) = __asinhieee128;
25953 main ()
25955 return 0;
25958 _ACEOF
25959 if ac_fn_c_try_link "$LINENO"; then :
25960 gcc_cv_math_func___asinhieee128=yes
25961 else
25962 gcc_cv_math_func___asinhieee128=no
25964 rm -f core conftest.err conftest.$ac_objext \
25965 conftest$ac_exeext conftest.$ac_ext
25967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
25968 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
25969 if test $gcc_cv_math_func___asinhieee128 = yes; then
25971 cat >>confdefs.h <<_ACEOF
25972 #define HAVE___ASINHIEEE128 1
25973 _ACEOF
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
25981 $as_echo_n "checking for __asinieee128... " >&6; }
25982 if ${gcc_cv_math_func___asinieee128+:} false; then :
25983 $as_echo_n "(cached) " >&6
25984 else
25985 if test x$gcc_no_link = xyes; then
25986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25989 /* end confdefs.h. */
25991 _Float128 __asinieee128 (_Float128);
25992 _Float128 (*ptr)(_Float128) = __asinieee128;
25995 main ()
25997 return 0;
26000 _ACEOF
26001 if ac_fn_c_try_link "$LINENO"; then :
26002 gcc_cv_math_func___asinieee128=yes
26003 else
26004 gcc_cv_math_func___asinieee128=no
26006 rm -f core conftest.err conftest.$ac_objext \
26007 conftest$ac_exeext conftest.$ac_ext
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26010 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26011 if test $gcc_cv_math_func___asinieee128 = yes; then
26013 cat >>confdefs.h <<_ACEOF
26014 #define HAVE___ASINIEEE128 1
26015 _ACEOF
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26023 $as_echo_n "checking for __atan2ieee128... " >&6; }
26024 if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26025 $as_echo_n "(cached) " >&6
26026 else
26027 if test x$gcc_no_link = xyes; then
26028 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26033 _Float128 __atan2ieee128 (_Float128);
26034 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26037 main ()
26039 return 0;
26042 _ACEOF
26043 if ac_fn_c_try_link "$LINENO"; then :
26044 gcc_cv_math_func___atan2ieee128=yes
26045 else
26046 gcc_cv_math_func___atan2ieee128=no
26048 rm -f core conftest.err conftest.$ac_objext \
26049 conftest$ac_exeext conftest.$ac_ext
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26052 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26053 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26055 cat >>confdefs.h <<_ACEOF
26056 #define HAVE___ATAN2IEEE128 1
26057 _ACEOF
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26065 $as_echo_n "checking for __atanhieee128... " >&6; }
26066 if ${gcc_cv_math_func___atanhieee128+:} false; then :
26067 $as_echo_n "(cached) " >&6
26068 else
26069 if test x$gcc_no_link = xyes; then
26070 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26073 /* end confdefs.h. */
26075 _Float128 __atanhieee128 (_Float128);
26076 _Float128 (*ptr)(_Float128) = __atanhieee128;
26079 main ()
26081 return 0;
26084 _ACEOF
26085 if ac_fn_c_try_link "$LINENO"; then :
26086 gcc_cv_math_func___atanhieee128=yes
26087 else
26088 gcc_cv_math_func___atanhieee128=no
26090 rm -f core conftest.err conftest.$ac_objext \
26091 conftest$ac_exeext conftest.$ac_ext
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26094 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26095 if test $gcc_cv_math_func___atanhieee128 = yes; then
26097 cat >>confdefs.h <<_ACEOF
26098 #define HAVE___ATANHIEEE128 1
26099 _ACEOF
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26107 $as_echo_n "checking for __atanieee128... " >&6; }
26108 if ${gcc_cv_math_func___atanieee128+:} false; then :
26109 $as_echo_n "(cached) " >&6
26110 else
26111 if test x$gcc_no_link = xyes; then
26112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26115 /* end confdefs.h. */
26117 _Float128 __atanieee128 (_Float128);
26118 _Float128 (*ptr)(_Float128) = __atanieee128;
26121 main ()
26123 return 0;
26126 _ACEOF
26127 if ac_fn_c_try_link "$LINENO"; then :
26128 gcc_cv_math_func___atanieee128=yes
26129 else
26130 gcc_cv_math_func___atanieee128=no
26132 rm -f core conftest.err conftest.$ac_objext \
26133 conftest$ac_exeext conftest.$ac_ext
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26136 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26137 if test $gcc_cv_math_func___atanieee128 = yes; then
26139 cat >>confdefs.h <<_ACEOF
26140 #define HAVE___ATANIEEE128 1
26141 _ACEOF
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26149 $as_echo_n "checking for __coshieee128... " >&6; }
26150 if ${gcc_cv_math_func___coshieee128+:} false; then :
26151 $as_echo_n "(cached) " >&6
26152 else
26153 if test x$gcc_no_link = xyes; then
26154 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26157 /* end confdefs.h. */
26159 _Float128 __coshieee128 (_Float128);
26160 _Float128 (*ptr)(_Float128) = __coshieee128;
26163 main ()
26165 return 0;
26168 _ACEOF
26169 if ac_fn_c_try_link "$LINENO"; then :
26170 gcc_cv_math_func___coshieee128=yes
26171 else
26172 gcc_cv_math_func___coshieee128=no
26174 rm -f core conftest.err conftest.$ac_objext \
26175 conftest$ac_exeext conftest.$ac_ext
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26178 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26179 if test $gcc_cv_math_func___coshieee128 = yes; then
26181 cat >>confdefs.h <<_ACEOF
26182 #define HAVE___COSHIEEE128 1
26183 _ACEOF
26190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26191 $as_echo_n "checking for __cosieee128... " >&6; }
26192 if ${gcc_cv_math_func___cosieee128+:} false; then :
26193 $as_echo_n "(cached) " >&6
26194 else
26195 if test x$gcc_no_link = xyes; then
26196 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26199 /* end confdefs.h. */
26201 _Float128 __cosieee128 (_Float128);
26202 _Float128 (*ptr)(_Float128) = __cosieee128;
26205 main ()
26207 return 0;
26210 _ACEOF
26211 if ac_fn_c_try_link "$LINENO"; then :
26212 gcc_cv_math_func___cosieee128=yes
26213 else
26214 gcc_cv_math_func___cosieee128=no
26216 rm -f core conftest.err conftest.$ac_objext \
26217 conftest$ac_exeext conftest.$ac_ext
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26220 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26221 if test $gcc_cv_math_func___cosieee128 = yes; then
26223 cat >>confdefs.h <<_ACEOF
26224 #define HAVE___COSIEEE128 1
26225 _ACEOF
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26233 $as_echo_n "checking for __erfieee128... " >&6; }
26234 if ${gcc_cv_math_func___erfieee128+:} false; then :
26235 $as_echo_n "(cached) " >&6
26236 else
26237 if test x$gcc_no_link = xyes; then
26238 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h. */
26243 _Float128 __erfieee128 (_Float128);
26244 _Float128 (*ptr)(_Float128) = __erfieee128;
26247 main ()
26249 return 0;
26252 _ACEOF
26253 if ac_fn_c_try_link "$LINENO"; then :
26254 gcc_cv_math_func___erfieee128=yes
26255 else
26256 gcc_cv_math_func___erfieee128=no
26258 rm -f core conftest.err conftest.$ac_objext \
26259 conftest$ac_exeext conftest.$ac_ext
26261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26262 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26263 if test $gcc_cv_math_func___erfieee128 = yes; then
26265 cat >>confdefs.h <<_ACEOF
26266 #define HAVE___ERFIEEE128 1
26267 _ACEOF
26274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26275 $as_echo_n "checking for __expieee128... " >&6; }
26276 if ${gcc_cv_math_func___expieee128+:} false; then :
26277 $as_echo_n "(cached) " >&6
26278 else
26279 if test x$gcc_no_link = xyes; then
26280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26283 /* end confdefs.h. */
26285 _Float128 __expieee128 (_Float128);
26286 _Float128 (*ptr)(_Float128) = __expieee128;
26289 main ()
26291 return 0;
26294 _ACEOF
26295 if ac_fn_c_try_link "$LINENO"; then :
26296 gcc_cv_math_func___expieee128=yes
26297 else
26298 gcc_cv_math_func___expieee128=no
26300 rm -f core conftest.err conftest.$ac_objext \
26301 conftest$ac_exeext conftest.$ac_ext
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26304 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26305 if test $gcc_cv_math_func___expieee128 = yes; then
26307 cat >>confdefs.h <<_ACEOF
26308 #define HAVE___EXPIEEE128 1
26309 _ACEOF
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26317 $as_echo_n "checking for __fabsieee128... " >&6; }
26318 if ${gcc_cv_math_func___fabsieee128+:} false; then :
26319 $as_echo_n "(cached) " >&6
26320 else
26321 if test x$gcc_no_link = xyes; then
26322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26325 /* end confdefs.h. */
26327 _Float128 __fabsieee128 (_Float128);
26328 _Float128 (*ptr)(_Float128) = __fabsieee128;
26331 main ()
26333 return 0;
26336 _ACEOF
26337 if ac_fn_c_try_link "$LINENO"; then :
26338 gcc_cv_math_func___fabsieee128=yes
26339 else
26340 gcc_cv_math_func___fabsieee128=no
26342 rm -f core conftest.err conftest.$ac_objext \
26343 conftest$ac_exeext conftest.$ac_ext
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26346 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26347 if test $gcc_cv_math_func___fabsieee128 = yes; then
26349 cat >>confdefs.h <<_ACEOF
26350 #define HAVE___FABSIEEE128 1
26351 _ACEOF
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26359 $as_echo_n "checking for __jnieee128... " >&6; }
26360 if ${gcc_cv_math_func___jnieee128+:} false; then :
26361 $as_echo_n "(cached) " >&6
26362 else
26363 if test x$gcc_no_link = xyes; then
26364 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26369 _Float128 __jnieee128 (_Float128);
26370 _Float128 (*ptr)(_Float128) = __jnieee128;
26373 main ()
26375 return 0;
26378 _ACEOF
26379 if ac_fn_c_try_link "$LINENO"; then :
26380 gcc_cv_math_func___jnieee128=yes
26381 else
26382 gcc_cv_math_func___jnieee128=no
26384 rm -f core conftest.err conftest.$ac_objext \
26385 conftest$ac_exeext conftest.$ac_ext
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26388 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26389 if test $gcc_cv_math_func___jnieee128 = yes; then
26391 cat >>confdefs.h <<_ACEOF
26392 #define HAVE___JNIEEE128 1
26393 _ACEOF
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26401 $as_echo_n "checking for __log10ieee128... " >&6; }
26402 if ${gcc_cv_math_func___log10ieee128+:} false; then :
26403 $as_echo_n "(cached) " >&6
26404 else
26405 if test x$gcc_no_link = xyes; then
26406 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26409 /* end confdefs.h. */
26411 _Float128 __log10ieee128 (_Float128);
26412 _Float128 (*ptr)(_Float128) = __log10ieee128;
26415 main ()
26417 return 0;
26420 _ACEOF
26421 if ac_fn_c_try_link "$LINENO"; then :
26422 gcc_cv_math_func___log10ieee128=yes
26423 else
26424 gcc_cv_math_func___log10ieee128=no
26426 rm -f core conftest.err conftest.$ac_objext \
26427 conftest$ac_exeext conftest.$ac_ext
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26430 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26431 if test $gcc_cv_math_func___log10ieee128 = yes; then
26433 cat >>confdefs.h <<_ACEOF
26434 #define HAVE___LOG10IEEE128 1
26435 _ACEOF
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26443 $as_echo_n "checking for __logieee128... " >&6; }
26444 if ${gcc_cv_math_func___logieee128+:} false; then :
26445 $as_echo_n "(cached) " >&6
26446 else
26447 if test x$gcc_no_link = xyes; then
26448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26451 /* end confdefs.h. */
26453 _Float128 __logieee128 (_Float128);
26454 _Float128 (*ptr)(_Float128) = __logieee128;
26457 main ()
26459 return 0;
26462 _ACEOF
26463 if ac_fn_c_try_link "$LINENO"; then :
26464 gcc_cv_math_func___logieee128=yes
26465 else
26466 gcc_cv_math_func___logieee128=no
26468 rm -f core conftest.err conftest.$ac_objext \
26469 conftest$ac_exeext conftest.$ac_ext
26471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26472 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26473 if test $gcc_cv_math_func___logieee128 = yes; then
26475 cat >>confdefs.h <<_ACEOF
26476 #define HAVE___LOGIEEE128 1
26477 _ACEOF
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26485 $as_echo_n "checking for __powieee128... " >&6; }
26486 if ${gcc_cv_math_func___powieee128+:} false; then :
26487 $as_echo_n "(cached) " >&6
26488 else
26489 if test x$gcc_no_link = xyes; then
26490 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26493 /* end confdefs.h. */
26495 _Float128 __powieee128 (_Float128);
26496 _Float128 (*ptr)(_Float128) = __powieee128;
26499 main ()
26501 return 0;
26504 _ACEOF
26505 if ac_fn_c_try_link "$LINENO"; then :
26506 gcc_cv_math_func___powieee128=yes
26507 else
26508 gcc_cv_math_func___powieee128=no
26510 rm -f core conftest.err conftest.$ac_objext \
26511 conftest$ac_exeext conftest.$ac_ext
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26514 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26515 if test $gcc_cv_math_func___powieee128 = yes; then
26517 cat >>confdefs.h <<_ACEOF
26518 #define HAVE___POWIEEE128 1
26519 _ACEOF
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26527 $as_echo_n "checking for __sinhieee128... " >&6; }
26528 if ${gcc_cv_math_func___sinhieee128+:} false; then :
26529 $as_echo_n "(cached) " >&6
26530 else
26531 if test x$gcc_no_link = xyes; then
26532 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26535 /* end confdefs.h. */
26537 _Float128 __sinhieee128 (_Float128);
26538 _Float128 (*ptr)(_Float128) = __sinhieee128;
26541 main ()
26543 return 0;
26546 _ACEOF
26547 if ac_fn_c_try_link "$LINENO"; then :
26548 gcc_cv_math_func___sinhieee128=yes
26549 else
26550 gcc_cv_math_func___sinhieee128=no
26552 rm -f core conftest.err conftest.$ac_objext \
26553 conftest$ac_exeext conftest.$ac_ext
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26556 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26557 if test $gcc_cv_math_func___sinhieee128 = yes; then
26559 cat >>confdefs.h <<_ACEOF
26560 #define HAVE___SINHIEEE128 1
26561 _ACEOF
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26569 $as_echo_n "checking for __sinieee128... " >&6; }
26570 if ${gcc_cv_math_func___sinieee128+:} false; then :
26571 $as_echo_n "(cached) " >&6
26572 else
26573 if test x$gcc_no_link = xyes; then
26574 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26577 /* end confdefs.h. */
26579 _Float128 __sinieee128 (_Float128);
26580 _Float128 (*ptr)(_Float128) = __sinieee128;
26583 main ()
26585 return 0;
26588 _ACEOF
26589 if ac_fn_c_try_link "$LINENO"; then :
26590 gcc_cv_math_func___sinieee128=yes
26591 else
26592 gcc_cv_math_func___sinieee128=no
26594 rm -f core conftest.err conftest.$ac_objext \
26595 conftest$ac_exeext conftest.$ac_ext
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26598 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26599 if test $gcc_cv_math_func___sinieee128 = yes; then
26601 cat >>confdefs.h <<_ACEOF
26602 #define HAVE___SINIEEE128 1
26603 _ACEOF
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26611 $as_echo_n "checking for __sqrtieee128... " >&6; }
26612 if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26613 $as_echo_n "(cached) " >&6
26614 else
26615 if test x$gcc_no_link = xyes; then
26616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26619 /* end confdefs.h. */
26621 _Float128 __sqrtieee128 (_Float128);
26622 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26625 main ()
26627 return 0;
26630 _ACEOF
26631 if ac_fn_c_try_link "$LINENO"; then :
26632 gcc_cv_math_func___sqrtieee128=yes
26633 else
26634 gcc_cv_math_func___sqrtieee128=no
26636 rm -f core conftest.err conftest.$ac_objext \
26637 conftest$ac_exeext conftest.$ac_ext
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26640 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26641 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26643 cat >>confdefs.h <<_ACEOF
26644 #define HAVE___SQRTIEEE128 1
26645 _ACEOF
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26653 $as_echo_n "checking for __tanhieee128... " >&6; }
26654 if ${gcc_cv_math_func___tanhieee128+:} false; then :
26655 $as_echo_n "(cached) " >&6
26656 else
26657 if test x$gcc_no_link = xyes; then
26658 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26661 /* end confdefs.h. */
26663 _Float128 __tanhieee128 (_Float128);
26664 _Float128 (*ptr)(_Float128) = __tanhieee128;
26667 main ()
26669 return 0;
26672 _ACEOF
26673 if ac_fn_c_try_link "$LINENO"; then :
26674 gcc_cv_math_func___tanhieee128=yes
26675 else
26676 gcc_cv_math_func___tanhieee128=no
26678 rm -f core conftest.err conftest.$ac_objext \
26679 conftest$ac_exeext conftest.$ac_ext
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26682 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26683 if test $gcc_cv_math_func___tanhieee128 = yes; then
26685 cat >>confdefs.h <<_ACEOF
26686 #define HAVE___TANHIEEE128 1
26687 _ACEOF
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26695 $as_echo_n "checking for __tanieee128... " >&6; }
26696 if ${gcc_cv_math_func___tanieee128+:} false; then :
26697 $as_echo_n "(cached) " >&6
26698 else
26699 if test x$gcc_no_link = xyes; then
26700 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26703 /* end confdefs.h. */
26705 _Float128 __tanieee128 (_Float128);
26706 _Float128 (*ptr)(_Float128) = __tanieee128;
26709 main ()
26711 return 0;
26714 _ACEOF
26715 if ac_fn_c_try_link "$LINENO"; then :
26716 gcc_cv_math_func___tanieee128=yes
26717 else
26718 gcc_cv_math_func___tanieee128=no
26720 rm -f core conftest.err conftest.$ac_objext \
26721 conftest$ac_exeext conftest.$ac_ext
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26724 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26725 if test $gcc_cv_math_func___tanieee128 = yes; then
26727 cat >>confdefs.h <<_ACEOF
26728 #define HAVE___TANIEEE128 1
26729 _ACEOF
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26737 $as_echo_n "checking for __ynieee128... " >&6; }
26738 if ${gcc_cv_math_func___ynieee128+:} false; then :
26739 $as_echo_n "(cached) " >&6
26740 else
26741 if test x$gcc_no_link = xyes; then
26742 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26745 /* end confdefs.h. */
26747 _Float128 __ynieee128 (_Float128);
26748 _Float128 (*ptr)(_Float128) = __ynieee128;
26751 main ()
26753 return 0;
26756 _ACEOF
26757 if ac_fn_c_try_link "$LINENO"; then :
26758 gcc_cv_math_func___ynieee128=yes
26759 else
26760 gcc_cv_math_func___ynieee128=no
26762 rm -f core conftest.err conftest.$ac_objext \
26763 conftest$ac_exeext conftest.$ac_ext
26765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26766 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26767 if test $gcc_cv_math_func___ynieee128 = yes; then
26769 cat >>confdefs.h <<_ACEOF
26770 #define HAVE___YNIEEE128 1
26771 _ACEOF
26777 # On AIX, clog is present in libm as __clog
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26779 $as_echo_n "checking for __clog in -lm... " >&6; }
26780 if ${ac_cv_lib_m___clog+:} false; then :
26781 $as_echo_n "(cached) " >&6
26782 else
26783 ac_check_lib_save_LIBS=$LIBS
26784 LIBS="-lm $LIBS"
26785 if test x$gcc_no_link = xyes; then
26786 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26789 /* end confdefs.h. */
26791 /* Override any GCC internal prototype to avoid an error.
26792 Use char because int might match the return type of a GCC
26793 builtin and then its argument prototype would still apply. */
26794 #ifdef __cplusplus
26795 extern "C"
26796 #endif
26797 char __clog ();
26799 main ()
26801 return __clog ();
26803 return 0;
26805 _ACEOF
26806 if ac_fn_c_try_link "$LINENO"; then :
26807 ac_cv_lib_m___clog=yes
26808 else
26809 ac_cv_lib_m___clog=no
26811 rm -f core conftest.err conftest.$ac_objext \
26812 conftest$ac_exeext conftest.$ac_ext
26813 LIBS=$ac_check_lib_save_LIBS
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26816 $as_echo "$ac_cv_lib_m___clog" >&6; }
26817 if test "x$ac_cv_lib_m___clog" = xyes; then :
26819 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26826 if test $gcc_cv_math_func_copysign = no; then
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26828 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26829 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26830 $as_echo_n "(cached) " >&6
26831 else
26832 if test x$gcc_no_link = xyes; then
26833 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26836 /* end confdefs.h. */
26838 double
26839 copysign_fallback (double x, double y)
26841 return __builtin_copysign (x, y);
26845 main ()
26847 return 0;
26850 _ACEOF
26851 if ac_fn_c_try_link "$LINENO"; then :
26852 gcc_cv_math_inline_builtin_copysign=yes
26853 else
26854 gcc_cv_math_inline_builtin_copysign=no
26856 rm -f core conftest.err conftest.$ac_objext \
26857 conftest$ac_exeext conftest.$ac_ext
26859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26860 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26861 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26863 cat >>confdefs.h <<_ACEOF
26864 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26865 _ACEOF
26871 if test $gcc_cv_math_func_copysignl = no; then
26872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26873 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26874 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
26875 $as_echo_n "(cached) " >&6
26876 else
26877 if test x$gcc_no_link = xyes; then
26878 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26881 /* end confdefs.h. */
26883 long double
26884 copysignl_fallback (long double x, long double y)
26886 return __builtin_copysignl (x, y);
26890 main ()
26892 return 0;
26895 _ACEOF
26896 if ac_fn_c_try_link "$LINENO"; then :
26897 gcc_cv_math_inline_builtin_copysignl=yes
26898 else
26899 gcc_cv_math_inline_builtin_copysignl=no
26901 rm -f core conftest.err conftest.$ac_objext \
26902 conftest$ac_exeext conftest.$ac_ext
26904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26905 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26906 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26908 cat >>confdefs.h <<_ACEOF
26909 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26910 _ACEOF
26916 if test $gcc_cv_math_func_fabs = no; then
26917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26918 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26919 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
26920 $as_echo_n "(cached) " >&6
26921 else
26922 if test x$gcc_no_link = xyes; then
26923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26926 /* end confdefs.h. */
26928 double
26929 fabs_fallback (double x)
26931 return __builtin_fabs (x);
26935 main ()
26937 return 0;
26940 _ACEOF
26941 if ac_fn_c_try_link "$LINENO"; then :
26942 gcc_cv_math_inline_builtin_fabs=yes
26943 else
26944 gcc_cv_math_inline_builtin_fabs=no
26946 rm -f core conftest.err conftest.$ac_objext \
26947 conftest$ac_exeext conftest.$ac_ext
26949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26950 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26951 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26953 cat >>confdefs.h <<_ACEOF
26954 #define HAVE_INLINE_BUILTIN_FABS 1
26955 _ACEOF
26961 if test $gcc_cv_math_func_fabsl = no; then
26962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
26963 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
26964 if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
26965 $as_echo_n "(cached) " >&6
26966 else
26967 if test x$gcc_no_link = xyes; then
26968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26971 /* end confdefs.h. */
26973 long double
26974 fabsl_fallback (long double x)
26976 return __builtin_fabsl (x);
26980 main ()
26982 return 0;
26985 _ACEOF
26986 if ac_fn_c_try_link "$LINENO"; then :
26987 gcc_cv_math_inline_builtin_fabsl=yes
26988 else
26989 gcc_cv_math_inline_builtin_fabsl=no
26991 rm -f core conftest.err conftest.$ac_objext \
26992 conftest$ac_exeext conftest.$ac_ext
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
26995 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
26996 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
26998 cat >>confdefs.h <<_ACEOF
26999 #define HAVE_INLINE_BUILTIN_FABSL 1
27000 _ACEOF
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27009 $as_echo_n "checking for acosf128... " >&6; }
27010 if ${gcc_cv_math_func_acosf128+:} false; then :
27011 $as_echo_n "(cached) " >&6
27012 else
27013 if test x$gcc_no_link = xyes; then
27014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27017 /* end confdefs.h. */
27019 #ifdef HAVE_COMPLEX_H
27020 #include <complex.h>
27021 #endif
27022 #ifdef HAVE_MATH_H
27023 #include <math.h>
27024 #endif
27026 int (*ptr)() = (int (*)())acosf128;
27029 main ()
27031 return 0;
27034 _ACEOF
27035 if ac_fn_c_try_link "$LINENO"; then :
27036 gcc_cv_math_func_acosf128=yes
27037 else
27038 gcc_cv_math_func_acosf128=no
27040 rm -f core conftest.err conftest.$ac_objext \
27041 conftest$ac_exeext conftest.$ac_ext
27043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27044 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27045 if test $gcc_cv_math_func_acosf128 = yes; then
27047 cat >>confdefs.h <<_ACEOF
27048 #define HAVE_ACOSF128 1
27049 _ACEOF
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27057 $as_echo_n "checking for acoshf128... " >&6; }
27058 if ${gcc_cv_math_func_acoshf128+:} false; then :
27059 $as_echo_n "(cached) " >&6
27060 else
27061 if test x$gcc_no_link = xyes; then
27062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27065 /* end confdefs.h. */
27067 #ifdef HAVE_COMPLEX_H
27068 #include <complex.h>
27069 #endif
27070 #ifdef HAVE_MATH_H
27071 #include <math.h>
27072 #endif
27074 int (*ptr)() = (int (*)())acoshf128;
27077 main ()
27079 return 0;
27082 _ACEOF
27083 if ac_fn_c_try_link "$LINENO"; then :
27084 gcc_cv_math_func_acoshf128=yes
27085 else
27086 gcc_cv_math_func_acoshf128=no
27088 rm -f core conftest.err conftest.$ac_objext \
27089 conftest$ac_exeext conftest.$ac_ext
27091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27092 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27093 if test $gcc_cv_math_func_acoshf128 = yes; then
27095 cat >>confdefs.h <<_ACEOF
27096 #define HAVE_ACOSHF128 1
27097 _ACEOF
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27105 $as_echo_n "checking for asinf128... " >&6; }
27106 if ${gcc_cv_math_func_asinf128+:} false; then :
27107 $as_echo_n "(cached) " >&6
27108 else
27109 if test x$gcc_no_link = xyes; then
27110 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27113 /* end confdefs.h. */
27115 #ifdef HAVE_COMPLEX_H
27116 #include <complex.h>
27117 #endif
27118 #ifdef HAVE_MATH_H
27119 #include <math.h>
27120 #endif
27122 int (*ptr)() = (int (*)())asinf128;
27125 main ()
27127 return 0;
27130 _ACEOF
27131 if ac_fn_c_try_link "$LINENO"; then :
27132 gcc_cv_math_func_asinf128=yes
27133 else
27134 gcc_cv_math_func_asinf128=no
27136 rm -f core conftest.err conftest.$ac_objext \
27137 conftest$ac_exeext conftest.$ac_ext
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27140 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27141 if test $gcc_cv_math_func_asinf128 = yes; then
27143 cat >>confdefs.h <<_ACEOF
27144 #define HAVE_ASINF128 1
27145 _ACEOF
27152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27153 $as_echo_n "checking for asinhf128... " >&6; }
27154 if ${gcc_cv_math_func_asinhf128+:} false; then :
27155 $as_echo_n "(cached) " >&6
27156 else
27157 if test x$gcc_no_link = xyes; then
27158 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27161 /* end confdefs.h. */
27163 #ifdef HAVE_COMPLEX_H
27164 #include <complex.h>
27165 #endif
27166 #ifdef HAVE_MATH_H
27167 #include <math.h>
27168 #endif
27170 int (*ptr)() = (int (*)())asinhf128;
27173 main ()
27175 return 0;
27178 _ACEOF
27179 if ac_fn_c_try_link "$LINENO"; then :
27180 gcc_cv_math_func_asinhf128=yes
27181 else
27182 gcc_cv_math_func_asinhf128=no
27184 rm -f core conftest.err conftest.$ac_objext \
27185 conftest$ac_exeext conftest.$ac_ext
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27188 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27189 if test $gcc_cv_math_func_asinhf128 = yes; then
27191 cat >>confdefs.h <<_ACEOF
27192 #define HAVE_ASINHF128 1
27193 _ACEOF
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27201 $as_echo_n "checking for atan2f128... " >&6; }
27202 if ${gcc_cv_math_func_atan2f128+:} false; then :
27203 $as_echo_n "(cached) " >&6
27204 else
27205 if test x$gcc_no_link = xyes; then
27206 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27209 /* end confdefs.h. */
27211 #ifdef HAVE_COMPLEX_H
27212 #include <complex.h>
27213 #endif
27214 #ifdef HAVE_MATH_H
27215 #include <math.h>
27216 #endif
27218 int (*ptr)() = (int (*)())atan2f128;
27221 main ()
27223 return 0;
27226 _ACEOF
27227 if ac_fn_c_try_link "$LINENO"; then :
27228 gcc_cv_math_func_atan2f128=yes
27229 else
27230 gcc_cv_math_func_atan2f128=no
27232 rm -f core conftest.err conftest.$ac_objext \
27233 conftest$ac_exeext conftest.$ac_ext
27235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27236 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27237 if test $gcc_cv_math_func_atan2f128 = yes; then
27239 cat >>confdefs.h <<_ACEOF
27240 #define HAVE_ATAN2F128 1
27241 _ACEOF
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27249 $as_echo_n "checking for atanf128... " >&6; }
27250 if ${gcc_cv_math_func_atanf128+:} false; then :
27251 $as_echo_n "(cached) " >&6
27252 else
27253 if test x$gcc_no_link = xyes; then
27254 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27257 /* end confdefs.h. */
27259 #ifdef HAVE_COMPLEX_H
27260 #include <complex.h>
27261 #endif
27262 #ifdef HAVE_MATH_H
27263 #include <math.h>
27264 #endif
27266 int (*ptr)() = (int (*)())atanf128;
27269 main ()
27271 return 0;
27274 _ACEOF
27275 if ac_fn_c_try_link "$LINENO"; then :
27276 gcc_cv_math_func_atanf128=yes
27277 else
27278 gcc_cv_math_func_atanf128=no
27280 rm -f core conftest.err conftest.$ac_objext \
27281 conftest$ac_exeext conftest.$ac_ext
27283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27284 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27285 if test $gcc_cv_math_func_atanf128 = yes; then
27287 cat >>confdefs.h <<_ACEOF
27288 #define HAVE_ATANF128 1
27289 _ACEOF
27296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27297 $as_echo_n "checking for atanhf128... " >&6; }
27298 if ${gcc_cv_math_func_atanhf128+:} false; then :
27299 $as_echo_n "(cached) " >&6
27300 else
27301 if test x$gcc_no_link = xyes; then
27302 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27305 /* end confdefs.h. */
27307 #ifdef HAVE_COMPLEX_H
27308 #include <complex.h>
27309 #endif
27310 #ifdef HAVE_MATH_H
27311 #include <math.h>
27312 #endif
27314 int (*ptr)() = (int (*)())atanhf128;
27317 main ()
27319 return 0;
27322 _ACEOF
27323 if ac_fn_c_try_link "$LINENO"; then :
27324 gcc_cv_math_func_atanhf128=yes
27325 else
27326 gcc_cv_math_func_atanhf128=no
27328 rm -f core conftest.err conftest.$ac_objext \
27329 conftest$ac_exeext conftest.$ac_ext
27331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27332 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27333 if test $gcc_cv_math_func_atanhf128 = yes; then
27335 cat >>confdefs.h <<_ACEOF
27336 #define HAVE_ATANHF128 1
27337 _ACEOF
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27345 $as_echo_n "checking for cargf128... " >&6; }
27346 if ${gcc_cv_math_func_cargf128+:} false; then :
27347 $as_echo_n "(cached) " >&6
27348 else
27349 if test x$gcc_no_link = xyes; then
27350 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27353 /* end confdefs.h. */
27355 #ifdef HAVE_COMPLEX_H
27356 #include <complex.h>
27357 #endif
27358 #ifdef HAVE_MATH_H
27359 #include <math.h>
27360 #endif
27362 int (*ptr)() = (int (*)())cargf128;
27365 main ()
27367 return 0;
27370 _ACEOF
27371 if ac_fn_c_try_link "$LINENO"; then :
27372 gcc_cv_math_func_cargf128=yes
27373 else
27374 gcc_cv_math_func_cargf128=no
27376 rm -f core conftest.err conftest.$ac_objext \
27377 conftest$ac_exeext conftest.$ac_ext
27379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27380 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27381 if test $gcc_cv_math_func_cargf128 = yes; then
27383 cat >>confdefs.h <<_ACEOF
27384 #define HAVE_CARGF128 1
27385 _ACEOF
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27393 $as_echo_n "checking for ceilf128... " >&6; }
27394 if ${gcc_cv_math_func_ceilf128+:} false; then :
27395 $as_echo_n "(cached) " >&6
27396 else
27397 if test x$gcc_no_link = xyes; then
27398 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27401 /* end confdefs.h. */
27403 #ifdef HAVE_COMPLEX_H
27404 #include <complex.h>
27405 #endif
27406 #ifdef HAVE_MATH_H
27407 #include <math.h>
27408 #endif
27410 int (*ptr)() = (int (*)())ceilf128;
27413 main ()
27415 return 0;
27418 _ACEOF
27419 if ac_fn_c_try_link "$LINENO"; then :
27420 gcc_cv_math_func_ceilf128=yes
27421 else
27422 gcc_cv_math_func_ceilf128=no
27424 rm -f core conftest.err conftest.$ac_objext \
27425 conftest$ac_exeext conftest.$ac_ext
27427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27428 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27429 if test $gcc_cv_math_func_ceilf128 = yes; then
27431 cat >>confdefs.h <<_ACEOF
27432 #define HAVE_CEILF128 1
27433 _ACEOF
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27441 $as_echo_n "checking for copysignf128... " >&6; }
27442 if ${gcc_cv_math_func_copysignf128+:} false; then :
27443 $as_echo_n "(cached) " >&6
27444 else
27445 if test x$gcc_no_link = xyes; then
27446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27449 /* end confdefs.h. */
27451 #ifdef HAVE_COMPLEX_H
27452 #include <complex.h>
27453 #endif
27454 #ifdef HAVE_MATH_H
27455 #include <math.h>
27456 #endif
27458 int (*ptr)() = (int (*)())copysignf128;
27461 main ()
27463 return 0;
27466 _ACEOF
27467 if ac_fn_c_try_link "$LINENO"; then :
27468 gcc_cv_math_func_copysignf128=yes
27469 else
27470 gcc_cv_math_func_copysignf128=no
27472 rm -f core conftest.err conftest.$ac_objext \
27473 conftest$ac_exeext conftest.$ac_ext
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27476 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27477 if test $gcc_cv_math_func_copysignf128 = yes; then
27479 cat >>confdefs.h <<_ACEOF
27480 #define HAVE_COPYSIGNF128 1
27481 _ACEOF
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27489 $as_echo_n "checking for cosf128... " >&6; }
27490 if ${gcc_cv_math_func_cosf128+:} false; then :
27491 $as_echo_n "(cached) " >&6
27492 else
27493 if test x$gcc_no_link = xyes; then
27494 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27497 /* end confdefs.h. */
27499 #ifdef HAVE_COMPLEX_H
27500 #include <complex.h>
27501 #endif
27502 #ifdef HAVE_MATH_H
27503 #include <math.h>
27504 #endif
27506 int (*ptr)() = (int (*)())cosf128;
27509 main ()
27511 return 0;
27514 _ACEOF
27515 if ac_fn_c_try_link "$LINENO"; then :
27516 gcc_cv_math_func_cosf128=yes
27517 else
27518 gcc_cv_math_func_cosf128=no
27520 rm -f core conftest.err conftest.$ac_objext \
27521 conftest$ac_exeext conftest.$ac_ext
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27524 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27525 if test $gcc_cv_math_func_cosf128 = yes; then
27527 cat >>confdefs.h <<_ACEOF
27528 #define HAVE_COSF128 1
27529 _ACEOF
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27537 $as_echo_n "checking for ccosf128... " >&6; }
27538 if ${gcc_cv_math_func_ccosf128+:} false; then :
27539 $as_echo_n "(cached) " >&6
27540 else
27541 if test x$gcc_no_link = xyes; then
27542 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27545 /* end confdefs.h. */
27547 #ifdef HAVE_COMPLEX_H
27548 #include <complex.h>
27549 #endif
27550 #ifdef HAVE_MATH_H
27551 #include <math.h>
27552 #endif
27554 int (*ptr)() = (int (*)())ccosf128;
27557 main ()
27559 return 0;
27562 _ACEOF
27563 if ac_fn_c_try_link "$LINENO"; then :
27564 gcc_cv_math_func_ccosf128=yes
27565 else
27566 gcc_cv_math_func_ccosf128=no
27568 rm -f core conftest.err conftest.$ac_objext \
27569 conftest$ac_exeext conftest.$ac_ext
27571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27572 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27573 if test $gcc_cv_math_func_ccosf128 = yes; then
27575 cat >>confdefs.h <<_ACEOF
27576 #define HAVE_CCOSF128 1
27577 _ACEOF
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27585 $as_echo_n "checking for coshf128... " >&6; }
27586 if ${gcc_cv_math_func_coshf128+:} false; then :
27587 $as_echo_n "(cached) " >&6
27588 else
27589 if test x$gcc_no_link = xyes; then
27590 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27593 /* end confdefs.h. */
27595 #ifdef HAVE_COMPLEX_H
27596 #include <complex.h>
27597 #endif
27598 #ifdef HAVE_MATH_H
27599 #include <math.h>
27600 #endif
27602 int (*ptr)() = (int (*)())coshf128;
27605 main ()
27607 return 0;
27610 _ACEOF
27611 if ac_fn_c_try_link "$LINENO"; then :
27612 gcc_cv_math_func_coshf128=yes
27613 else
27614 gcc_cv_math_func_coshf128=no
27616 rm -f core conftest.err conftest.$ac_objext \
27617 conftest$ac_exeext conftest.$ac_ext
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27620 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27621 if test $gcc_cv_math_func_coshf128 = yes; then
27623 cat >>confdefs.h <<_ACEOF
27624 #define HAVE_COSHF128 1
27625 _ACEOF
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27633 $as_echo_n "checking for ccoshf128... " >&6; }
27634 if ${gcc_cv_math_func_ccoshf128+:} false; then :
27635 $as_echo_n "(cached) " >&6
27636 else
27637 if test x$gcc_no_link = xyes; then
27638 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h. */
27643 #ifdef HAVE_COMPLEX_H
27644 #include <complex.h>
27645 #endif
27646 #ifdef HAVE_MATH_H
27647 #include <math.h>
27648 #endif
27650 int (*ptr)() = (int (*)())ccoshf128;
27653 main ()
27655 return 0;
27658 _ACEOF
27659 if ac_fn_c_try_link "$LINENO"; then :
27660 gcc_cv_math_func_ccoshf128=yes
27661 else
27662 gcc_cv_math_func_ccoshf128=no
27664 rm -f core conftest.err conftest.$ac_objext \
27665 conftest$ac_exeext conftest.$ac_ext
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27668 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27669 if test $gcc_cv_math_func_ccoshf128 = yes; then
27671 cat >>confdefs.h <<_ACEOF
27672 #define HAVE_CCOSHF128 1
27673 _ACEOF
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27681 $as_echo_n "checking for expf128... " >&6; }
27682 if ${gcc_cv_math_func_expf128+:} false; then :
27683 $as_echo_n "(cached) " >&6
27684 else
27685 if test x$gcc_no_link = xyes; then
27686 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27689 /* end confdefs.h. */
27691 #ifdef HAVE_COMPLEX_H
27692 #include <complex.h>
27693 #endif
27694 #ifdef HAVE_MATH_H
27695 #include <math.h>
27696 #endif
27698 int (*ptr)() = (int (*)())expf128;
27701 main ()
27703 return 0;
27706 _ACEOF
27707 if ac_fn_c_try_link "$LINENO"; then :
27708 gcc_cv_math_func_expf128=yes
27709 else
27710 gcc_cv_math_func_expf128=no
27712 rm -f core conftest.err conftest.$ac_objext \
27713 conftest$ac_exeext conftest.$ac_ext
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27716 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27717 if test $gcc_cv_math_func_expf128 = yes; then
27719 cat >>confdefs.h <<_ACEOF
27720 #define HAVE_EXPF128 1
27721 _ACEOF
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27729 $as_echo_n "checking for cexpf128... " >&6; }
27730 if ${gcc_cv_math_func_cexpf128+:} false; then :
27731 $as_echo_n "(cached) " >&6
27732 else
27733 if test x$gcc_no_link = xyes; then
27734 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27737 /* end confdefs.h. */
27739 #ifdef HAVE_COMPLEX_H
27740 #include <complex.h>
27741 #endif
27742 #ifdef HAVE_MATH_H
27743 #include <math.h>
27744 #endif
27746 int (*ptr)() = (int (*)())cexpf128;
27749 main ()
27751 return 0;
27754 _ACEOF
27755 if ac_fn_c_try_link "$LINENO"; then :
27756 gcc_cv_math_func_cexpf128=yes
27757 else
27758 gcc_cv_math_func_cexpf128=no
27760 rm -f core conftest.err conftest.$ac_objext \
27761 conftest$ac_exeext conftest.$ac_ext
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27764 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27765 if test $gcc_cv_math_func_cexpf128 = yes; then
27767 cat >>confdefs.h <<_ACEOF
27768 #define HAVE_CEXPF128 1
27769 _ACEOF
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27777 $as_echo_n "checking for fabsf128... " >&6; }
27778 if ${gcc_cv_math_func_fabsf128+:} false; then :
27779 $as_echo_n "(cached) " >&6
27780 else
27781 if test x$gcc_no_link = xyes; then
27782 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27785 /* end confdefs.h. */
27787 #ifdef HAVE_COMPLEX_H
27788 #include <complex.h>
27789 #endif
27790 #ifdef HAVE_MATH_H
27791 #include <math.h>
27792 #endif
27794 int (*ptr)() = (int (*)())fabsf128;
27797 main ()
27799 return 0;
27802 _ACEOF
27803 if ac_fn_c_try_link "$LINENO"; then :
27804 gcc_cv_math_func_fabsf128=yes
27805 else
27806 gcc_cv_math_func_fabsf128=no
27808 rm -f core conftest.err conftest.$ac_objext \
27809 conftest$ac_exeext conftest.$ac_ext
27811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27812 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27813 if test $gcc_cv_math_func_fabsf128 = yes; then
27815 cat >>confdefs.h <<_ACEOF
27816 #define HAVE_FABSF128 1
27817 _ACEOF
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27825 $as_echo_n "checking for cabsf128... " >&6; }
27826 if ${gcc_cv_math_func_cabsf128+:} false; then :
27827 $as_echo_n "(cached) " >&6
27828 else
27829 if test x$gcc_no_link = xyes; then
27830 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h. */
27835 #ifdef HAVE_COMPLEX_H
27836 #include <complex.h>
27837 #endif
27838 #ifdef HAVE_MATH_H
27839 #include <math.h>
27840 #endif
27842 int (*ptr)() = (int (*)())cabsf128;
27845 main ()
27847 return 0;
27850 _ACEOF
27851 if ac_fn_c_try_link "$LINENO"; then :
27852 gcc_cv_math_func_cabsf128=yes
27853 else
27854 gcc_cv_math_func_cabsf128=no
27856 rm -f core conftest.err conftest.$ac_objext \
27857 conftest$ac_exeext conftest.$ac_ext
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27860 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27861 if test $gcc_cv_math_func_cabsf128 = yes; then
27863 cat >>confdefs.h <<_ACEOF
27864 #define HAVE_CABSF128 1
27865 _ACEOF
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27873 $as_echo_n "checking for floorf128... " >&6; }
27874 if ${gcc_cv_math_func_floorf128+:} false; then :
27875 $as_echo_n "(cached) " >&6
27876 else
27877 if test x$gcc_no_link = xyes; then
27878 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h. */
27883 #ifdef HAVE_COMPLEX_H
27884 #include <complex.h>
27885 #endif
27886 #ifdef HAVE_MATH_H
27887 #include <math.h>
27888 #endif
27890 int (*ptr)() = (int (*)())floorf128;
27893 main ()
27895 return 0;
27898 _ACEOF
27899 if ac_fn_c_try_link "$LINENO"; then :
27900 gcc_cv_math_func_floorf128=yes
27901 else
27902 gcc_cv_math_func_floorf128=no
27904 rm -f core conftest.err conftest.$ac_objext \
27905 conftest$ac_exeext conftest.$ac_ext
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27908 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27909 if test $gcc_cv_math_func_floorf128 = yes; then
27911 cat >>confdefs.h <<_ACEOF
27912 #define HAVE_FLOORF128 1
27913 _ACEOF
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27921 $as_echo_n "checking for fmaf128... " >&6; }
27922 if ${gcc_cv_math_func_fmaf128+:} false; then :
27923 $as_echo_n "(cached) " >&6
27924 else
27925 if test x$gcc_no_link = xyes; then
27926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27929 /* end confdefs.h. */
27931 #ifdef HAVE_COMPLEX_H
27932 #include <complex.h>
27933 #endif
27934 #ifdef HAVE_MATH_H
27935 #include <math.h>
27936 #endif
27938 int (*ptr)() = (int (*)())fmaf128;
27941 main ()
27943 return 0;
27946 _ACEOF
27947 if ac_fn_c_try_link "$LINENO"; then :
27948 gcc_cv_math_func_fmaf128=yes
27949 else
27950 gcc_cv_math_func_fmaf128=no
27952 rm -f core conftest.err conftest.$ac_objext \
27953 conftest$ac_exeext conftest.$ac_ext
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
27956 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
27957 if test $gcc_cv_math_func_fmaf128 = yes; then
27959 cat >>confdefs.h <<_ACEOF
27960 #define HAVE_FMAF128 1
27961 _ACEOF
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
27969 $as_echo_n "checking for fmodf128... " >&6; }
27970 if ${gcc_cv_math_func_fmodf128+:} false; then :
27971 $as_echo_n "(cached) " >&6
27972 else
27973 if test x$gcc_no_link = xyes; then
27974 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27977 /* end confdefs.h. */
27979 #ifdef HAVE_COMPLEX_H
27980 #include <complex.h>
27981 #endif
27982 #ifdef HAVE_MATH_H
27983 #include <math.h>
27984 #endif
27986 int (*ptr)() = (int (*)())fmodf128;
27989 main ()
27991 return 0;
27994 _ACEOF
27995 if ac_fn_c_try_link "$LINENO"; then :
27996 gcc_cv_math_func_fmodf128=yes
27997 else
27998 gcc_cv_math_func_fmodf128=no
28000 rm -f core conftest.err conftest.$ac_objext \
28001 conftest$ac_exeext conftest.$ac_ext
28003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28004 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28005 if test $gcc_cv_math_func_fmodf128 = yes; then
28007 cat >>confdefs.h <<_ACEOF
28008 #define HAVE_FMODF128 1
28009 _ACEOF
28016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28017 $as_echo_n "checking for frexpf128... " >&6; }
28018 if ${gcc_cv_math_func_frexpf128+:} false; then :
28019 $as_echo_n "(cached) " >&6
28020 else
28021 if test x$gcc_no_link = xyes; then
28022 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28025 /* end confdefs.h. */
28027 #ifdef HAVE_COMPLEX_H
28028 #include <complex.h>
28029 #endif
28030 #ifdef HAVE_MATH_H
28031 #include <math.h>
28032 #endif
28034 int (*ptr)() = (int (*)())frexpf128;
28037 main ()
28039 return 0;
28042 _ACEOF
28043 if ac_fn_c_try_link "$LINENO"; then :
28044 gcc_cv_math_func_frexpf128=yes
28045 else
28046 gcc_cv_math_func_frexpf128=no
28048 rm -f core conftest.err conftest.$ac_objext \
28049 conftest$ac_exeext conftest.$ac_ext
28051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28052 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28053 if test $gcc_cv_math_func_frexpf128 = yes; then
28055 cat >>confdefs.h <<_ACEOF
28056 #define HAVE_FREXPF128 1
28057 _ACEOF
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28065 $as_echo_n "checking for hypotf128... " >&6; }
28066 if ${gcc_cv_math_func_hypotf128+:} false; then :
28067 $as_echo_n "(cached) " >&6
28068 else
28069 if test x$gcc_no_link = xyes; then
28070 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28073 /* end confdefs.h. */
28075 #ifdef HAVE_COMPLEX_H
28076 #include <complex.h>
28077 #endif
28078 #ifdef HAVE_MATH_H
28079 #include <math.h>
28080 #endif
28082 int (*ptr)() = (int (*)())hypotf128;
28085 main ()
28087 return 0;
28090 _ACEOF
28091 if ac_fn_c_try_link "$LINENO"; then :
28092 gcc_cv_math_func_hypotf128=yes
28093 else
28094 gcc_cv_math_func_hypotf128=no
28096 rm -f core conftest.err conftest.$ac_objext \
28097 conftest$ac_exeext conftest.$ac_ext
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28100 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28101 if test $gcc_cv_math_func_hypotf128 = yes; then
28103 cat >>confdefs.h <<_ACEOF
28104 #define HAVE_HYPOTF128 1
28105 _ACEOF
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28113 $as_echo_n "checking for ldexpf128... " >&6; }
28114 if ${gcc_cv_math_func_ldexpf128+:} false; then :
28115 $as_echo_n "(cached) " >&6
28116 else
28117 if test x$gcc_no_link = xyes; then
28118 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28121 /* end confdefs.h. */
28123 #ifdef HAVE_COMPLEX_H
28124 #include <complex.h>
28125 #endif
28126 #ifdef HAVE_MATH_H
28127 #include <math.h>
28128 #endif
28130 int (*ptr)() = (int (*)())ldexpf128;
28133 main ()
28135 return 0;
28138 _ACEOF
28139 if ac_fn_c_try_link "$LINENO"; then :
28140 gcc_cv_math_func_ldexpf128=yes
28141 else
28142 gcc_cv_math_func_ldexpf128=no
28144 rm -f core conftest.err conftest.$ac_objext \
28145 conftest$ac_exeext conftest.$ac_ext
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28148 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28149 if test $gcc_cv_math_func_ldexpf128 = yes; then
28151 cat >>confdefs.h <<_ACEOF
28152 #define HAVE_LDEXPF128 1
28153 _ACEOF
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28161 $as_echo_n "checking for logf128... " >&6; }
28162 if ${gcc_cv_math_func_logf128+:} false; then :
28163 $as_echo_n "(cached) " >&6
28164 else
28165 if test x$gcc_no_link = xyes; then
28166 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28169 /* end confdefs.h. */
28171 #ifdef HAVE_COMPLEX_H
28172 #include <complex.h>
28173 #endif
28174 #ifdef HAVE_MATH_H
28175 #include <math.h>
28176 #endif
28178 int (*ptr)() = (int (*)())logf128;
28181 main ()
28183 return 0;
28186 _ACEOF
28187 if ac_fn_c_try_link "$LINENO"; then :
28188 gcc_cv_math_func_logf128=yes
28189 else
28190 gcc_cv_math_func_logf128=no
28192 rm -f core conftest.err conftest.$ac_objext \
28193 conftest$ac_exeext conftest.$ac_ext
28195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28196 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28197 if test $gcc_cv_math_func_logf128 = yes; then
28199 cat >>confdefs.h <<_ACEOF
28200 #define HAVE_LOGF128 1
28201 _ACEOF
28208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28209 $as_echo_n "checking for clogf128... " >&6; }
28210 if ${gcc_cv_math_func_clogf128+:} false; then :
28211 $as_echo_n "(cached) " >&6
28212 else
28213 if test x$gcc_no_link = xyes; then
28214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28217 /* end confdefs.h. */
28219 #ifdef HAVE_COMPLEX_H
28220 #include <complex.h>
28221 #endif
28222 #ifdef HAVE_MATH_H
28223 #include <math.h>
28224 #endif
28226 int (*ptr)() = (int (*)())clogf128;
28229 main ()
28231 return 0;
28234 _ACEOF
28235 if ac_fn_c_try_link "$LINENO"; then :
28236 gcc_cv_math_func_clogf128=yes
28237 else
28238 gcc_cv_math_func_clogf128=no
28240 rm -f core conftest.err conftest.$ac_objext \
28241 conftest$ac_exeext conftest.$ac_ext
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28244 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28245 if test $gcc_cv_math_func_clogf128 = yes; then
28247 cat >>confdefs.h <<_ACEOF
28248 #define HAVE_CLOGF128 1
28249 _ACEOF
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28257 $as_echo_n "checking for log10f128... " >&6; }
28258 if ${gcc_cv_math_func_log10f128+:} false; then :
28259 $as_echo_n "(cached) " >&6
28260 else
28261 if test x$gcc_no_link = xyes; then
28262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28265 /* end confdefs.h. */
28267 #ifdef HAVE_COMPLEX_H
28268 #include <complex.h>
28269 #endif
28270 #ifdef HAVE_MATH_H
28271 #include <math.h>
28272 #endif
28274 int (*ptr)() = (int (*)())log10f128;
28277 main ()
28279 return 0;
28282 _ACEOF
28283 if ac_fn_c_try_link "$LINENO"; then :
28284 gcc_cv_math_func_log10f128=yes
28285 else
28286 gcc_cv_math_func_log10f128=no
28288 rm -f core conftest.err conftest.$ac_objext \
28289 conftest$ac_exeext conftest.$ac_ext
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28292 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28293 if test $gcc_cv_math_func_log10f128 = yes; then
28295 cat >>confdefs.h <<_ACEOF
28296 #define HAVE_LOG10F128 1
28297 _ACEOF
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28305 $as_echo_n "checking for clog10f128... " >&6; }
28306 if ${gcc_cv_math_func_clog10f128+:} false; then :
28307 $as_echo_n "(cached) " >&6
28308 else
28309 if test x$gcc_no_link = xyes; then
28310 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28313 /* end confdefs.h. */
28315 #ifdef HAVE_COMPLEX_H
28316 #include <complex.h>
28317 #endif
28318 #ifdef HAVE_MATH_H
28319 #include <math.h>
28320 #endif
28322 int (*ptr)() = (int (*)())clog10f128;
28325 main ()
28327 return 0;
28330 _ACEOF
28331 if ac_fn_c_try_link "$LINENO"; then :
28332 gcc_cv_math_func_clog10f128=yes
28333 else
28334 gcc_cv_math_func_clog10f128=no
28336 rm -f core conftest.err conftest.$ac_objext \
28337 conftest$ac_exeext conftest.$ac_ext
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28340 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28341 if test $gcc_cv_math_func_clog10f128 = yes; then
28343 cat >>confdefs.h <<_ACEOF
28344 #define HAVE_CLOG10F128 1
28345 _ACEOF
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28353 $as_echo_n "checking for nextafterf128... " >&6; }
28354 if ${gcc_cv_math_func_nextafterf128+:} false; then :
28355 $as_echo_n "(cached) " >&6
28356 else
28357 if test x$gcc_no_link = xyes; then
28358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28361 /* end confdefs.h. */
28363 #ifdef HAVE_COMPLEX_H
28364 #include <complex.h>
28365 #endif
28366 #ifdef HAVE_MATH_H
28367 #include <math.h>
28368 #endif
28370 int (*ptr)() = (int (*)())nextafterf128;
28373 main ()
28375 return 0;
28378 _ACEOF
28379 if ac_fn_c_try_link "$LINENO"; then :
28380 gcc_cv_math_func_nextafterf128=yes
28381 else
28382 gcc_cv_math_func_nextafterf128=no
28384 rm -f core conftest.err conftest.$ac_objext \
28385 conftest$ac_exeext conftest.$ac_ext
28387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28388 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28389 if test $gcc_cv_math_func_nextafterf128 = yes; then
28391 cat >>confdefs.h <<_ACEOF
28392 #define HAVE_NEXTAFTERF128 1
28393 _ACEOF
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28401 $as_echo_n "checking for powf128... " >&6; }
28402 if ${gcc_cv_math_func_powf128+:} false; then :
28403 $as_echo_n "(cached) " >&6
28404 else
28405 if test x$gcc_no_link = xyes; then
28406 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28409 /* end confdefs.h. */
28411 #ifdef HAVE_COMPLEX_H
28412 #include <complex.h>
28413 #endif
28414 #ifdef HAVE_MATH_H
28415 #include <math.h>
28416 #endif
28418 int (*ptr)() = (int (*)())powf128;
28421 main ()
28423 return 0;
28426 _ACEOF
28427 if ac_fn_c_try_link "$LINENO"; then :
28428 gcc_cv_math_func_powf128=yes
28429 else
28430 gcc_cv_math_func_powf128=no
28432 rm -f core conftest.err conftest.$ac_objext \
28433 conftest$ac_exeext conftest.$ac_ext
28435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28436 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28437 if test $gcc_cv_math_func_powf128 = yes; then
28439 cat >>confdefs.h <<_ACEOF
28440 #define HAVE_POWF128 1
28441 _ACEOF
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28449 $as_echo_n "checking for cpowf128... " >&6; }
28450 if ${gcc_cv_math_func_cpowf128+:} false; then :
28451 $as_echo_n "(cached) " >&6
28452 else
28453 if test x$gcc_no_link = xyes; then
28454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28457 /* end confdefs.h. */
28459 #ifdef HAVE_COMPLEX_H
28460 #include <complex.h>
28461 #endif
28462 #ifdef HAVE_MATH_H
28463 #include <math.h>
28464 #endif
28466 int (*ptr)() = (int (*)())cpowf128;
28469 main ()
28471 return 0;
28474 _ACEOF
28475 if ac_fn_c_try_link "$LINENO"; then :
28476 gcc_cv_math_func_cpowf128=yes
28477 else
28478 gcc_cv_math_func_cpowf128=no
28480 rm -f core conftest.err conftest.$ac_objext \
28481 conftest$ac_exeext conftest.$ac_ext
28483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28484 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28485 if test $gcc_cv_math_func_cpowf128 = yes; then
28487 cat >>confdefs.h <<_ACEOF
28488 #define HAVE_CPOWF128 1
28489 _ACEOF
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28497 $as_echo_n "checking for roundf128... " >&6; }
28498 if ${gcc_cv_math_func_roundf128+:} false; then :
28499 $as_echo_n "(cached) " >&6
28500 else
28501 if test x$gcc_no_link = xyes; then
28502 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28505 /* end confdefs.h. */
28507 #ifdef HAVE_COMPLEX_H
28508 #include <complex.h>
28509 #endif
28510 #ifdef HAVE_MATH_H
28511 #include <math.h>
28512 #endif
28514 int (*ptr)() = (int (*)())roundf128;
28517 main ()
28519 return 0;
28522 _ACEOF
28523 if ac_fn_c_try_link "$LINENO"; then :
28524 gcc_cv_math_func_roundf128=yes
28525 else
28526 gcc_cv_math_func_roundf128=no
28528 rm -f core conftest.err conftest.$ac_objext \
28529 conftest$ac_exeext conftest.$ac_ext
28531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28532 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28533 if test $gcc_cv_math_func_roundf128 = yes; then
28535 cat >>confdefs.h <<_ACEOF
28536 #define HAVE_ROUNDF128 1
28537 _ACEOF
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28545 $as_echo_n "checking for lroundf128... " >&6; }
28546 if ${gcc_cv_math_func_lroundf128+:} false; then :
28547 $as_echo_n "(cached) " >&6
28548 else
28549 if test x$gcc_no_link = xyes; then
28550 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28553 /* end confdefs.h. */
28555 #ifdef HAVE_COMPLEX_H
28556 #include <complex.h>
28557 #endif
28558 #ifdef HAVE_MATH_H
28559 #include <math.h>
28560 #endif
28562 int (*ptr)() = (int (*)())lroundf128;
28565 main ()
28567 return 0;
28570 _ACEOF
28571 if ac_fn_c_try_link "$LINENO"; then :
28572 gcc_cv_math_func_lroundf128=yes
28573 else
28574 gcc_cv_math_func_lroundf128=no
28576 rm -f core conftest.err conftest.$ac_objext \
28577 conftest$ac_exeext conftest.$ac_ext
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28580 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28581 if test $gcc_cv_math_func_lroundf128 = yes; then
28583 cat >>confdefs.h <<_ACEOF
28584 #define HAVE_LROUNDF128 1
28585 _ACEOF
28592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28593 $as_echo_n "checking for llroundf128... " >&6; }
28594 if ${gcc_cv_math_func_llroundf128+:} false; then :
28595 $as_echo_n "(cached) " >&6
28596 else
28597 if test x$gcc_no_link = xyes; then
28598 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28601 /* end confdefs.h. */
28603 #ifdef HAVE_COMPLEX_H
28604 #include <complex.h>
28605 #endif
28606 #ifdef HAVE_MATH_H
28607 #include <math.h>
28608 #endif
28610 int (*ptr)() = (int (*)())llroundf128;
28613 main ()
28615 return 0;
28618 _ACEOF
28619 if ac_fn_c_try_link "$LINENO"; then :
28620 gcc_cv_math_func_llroundf128=yes
28621 else
28622 gcc_cv_math_func_llroundf128=no
28624 rm -f core conftest.err conftest.$ac_objext \
28625 conftest$ac_exeext conftest.$ac_ext
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28628 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28629 if test $gcc_cv_math_func_llroundf128 = yes; then
28631 cat >>confdefs.h <<_ACEOF
28632 #define HAVE_LLROUNDF128 1
28633 _ACEOF
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28641 $as_echo_n "checking for scalbnf128... " >&6; }
28642 if ${gcc_cv_math_func_scalbnf128+:} false; then :
28643 $as_echo_n "(cached) " >&6
28644 else
28645 if test x$gcc_no_link = xyes; then
28646 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28649 /* end confdefs.h. */
28651 #ifdef HAVE_COMPLEX_H
28652 #include <complex.h>
28653 #endif
28654 #ifdef HAVE_MATH_H
28655 #include <math.h>
28656 #endif
28658 int (*ptr)() = (int (*)())scalbnf128;
28661 main ()
28663 return 0;
28666 _ACEOF
28667 if ac_fn_c_try_link "$LINENO"; then :
28668 gcc_cv_math_func_scalbnf128=yes
28669 else
28670 gcc_cv_math_func_scalbnf128=no
28672 rm -f core conftest.err conftest.$ac_objext \
28673 conftest$ac_exeext conftest.$ac_ext
28675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28676 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28677 if test $gcc_cv_math_func_scalbnf128 = yes; then
28679 cat >>confdefs.h <<_ACEOF
28680 #define HAVE_SCALBNF128 1
28681 _ACEOF
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28689 $as_echo_n "checking for sinf128... " >&6; }
28690 if ${gcc_cv_math_func_sinf128+:} false; then :
28691 $as_echo_n "(cached) " >&6
28692 else
28693 if test x$gcc_no_link = xyes; then
28694 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28697 /* end confdefs.h. */
28699 #ifdef HAVE_COMPLEX_H
28700 #include <complex.h>
28701 #endif
28702 #ifdef HAVE_MATH_H
28703 #include <math.h>
28704 #endif
28706 int (*ptr)() = (int (*)())sinf128;
28709 main ()
28711 return 0;
28714 _ACEOF
28715 if ac_fn_c_try_link "$LINENO"; then :
28716 gcc_cv_math_func_sinf128=yes
28717 else
28718 gcc_cv_math_func_sinf128=no
28720 rm -f core conftest.err conftest.$ac_objext \
28721 conftest$ac_exeext conftest.$ac_ext
28723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28724 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28725 if test $gcc_cv_math_func_sinf128 = yes; then
28727 cat >>confdefs.h <<_ACEOF
28728 #define HAVE_SINF128 1
28729 _ACEOF
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28737 $as_echo_n "checking for csinf128... " >&6; }
28738 if ${gcc_cv_math_func_csinf128+:} false; then :
28739 $as_echo_n "(cached) " >&6
28740 else
28741 if test x$gcc_no_link = xyes; then
28742 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28745 /* end confdefs.h. */
28747 #ifdef HAVE_COMPLEX_H
28748 #include <complex.h>
28749 #endif
28750 #ifdef HAVE_MATH_H
28751 #include <math.h>
28752 #endif
28754 int (*ptr)() = (int (*)())csinf128;
28757 main ()
28759 return 0;
28762 _ACEOF
28763 if ac_fn_c_try_link "$LINENO"; then :
28764 gcc_cv_math_func_csinf128=yes
28765 else
28766 gcc_cv_math_func_csinf128=no
28768 rm -f core conftest.err conftest.$ac_objext \
28769 conftest$ac_exeext conftest.$ac_ext
28771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28772 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28773 if test $gcc_cv_math_func_csinf128 = yes; then
28775 cat >>confdefs.h <<_ACEOF
28776 #define HAVE_CSINF128 1
28777 _ACEOF
28784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28785 $as_echo_n "checking for sinhf128... " >&6; }
28786 if ${gcc_cv_math_func_sinhf128+:} false; then :
28787 $as_echo_n "(cached) " >&6
28788 else
28789 if test x$gcc_no_link = xyes; then
28790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28793 /* end confdefs.h. */
28795 #ifdef HAVE_COMPLEX_H
28796 #include <complex.h>
28797 #endif
28798 #ifdef HAVE_MATH_H
28799 #include <math.h>
28800 #endif
28802 int (*ptr)() = (int (*)())sinhf128;
28805 main ()
28807 return 0;
28810 _ACEOF
28811 if ac_fn_c_try_link "$LINENO"; then :
28812 gcc_cv_math_func_sinhf128=yes
28813 else
28814 gcc_cv_math_func_sinhf128=no
28816 rm -f core conftest.err conftest.$ac_objext \
28817 conftest$ac_exeext conftest.$ac_ext
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28820 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28821 if test $gcc_cv_math_func_sinhf128 = yes; then
28823 cat >>confdefs.h <<_ACEOF
28824 #define HAVE_SINHF128 1
28825 _ACEOF
28832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28833 $as_echo_n "checking for csinhf128... " >&6; }
28834 if ${gcc_cv_math_func_csinhf128+:} false; then :
28835 $as_echo_n "(cached) " >&6
28836 else
28837 if test x$gcc_no_link = xyes; then
28838 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28841 /* end confdefs.h. */
28843 #ifdef HAVE_COMPLEX_H
28844 #include <complex.h>
28845 #endif
28846 #ifdef HAVE_MATH_H
28847 #include <math.h>
28848 #endif
28850 int (*ptr)() = (int (*)())csinhf128;
28853 main ()
28855 return 0;
28858 _ACEOF
28859 if ac_fn_c_try_link "$LINENO"; then :
28860 gcc_cv_math_func_csinhf128=yes
28861 else
28862 gcc_cv_math_func_csinhf128=no
28864 rm -f core conftest.err conftest.$ac_objext \
28865 conftest$ac_exeext conftest.$ac_ext
28867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28868 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28869 if test $gcc_cv_math_func_csinhf128 = yes; then
28871 cat >>confdefs.h <<_ACEOF
28872 #define HAVE_CSINHF128 1
28873 _ACEOF
28880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28881 $as_echo_n "checking for sqrtf128... " >&6; }
28882 if ${gcc_cv_math_func_sqrtf128+:} false; then :
28883 $as_echo_n "(cached) " >&6
28884 else
28885 if test x$gcc_no_link = xyes; then
28886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28889 /* end confdefs.h. */
28891 #ifdef HAVE_COMPLEX_H
28892 #include <complex.h>
28893 #endif
28894 #ifdef HAVE_MATH_H
28895 #include <math.h>
28896 #endif
28898 int (*ptr)() = (int (*)())sqrtf128;
28901 main ()
28903 return 0;
28906 _ACEOF
28907 if ac_fn_c_try_link "$LINENO"; then :
28908 gcc_cv_math_func_sqrtf128=yes
28909 else
28910 gcc_cv_math_func_sqrtf128=no
28912 rm -f core conftest.err conftest.$ac_objext \
28913 conftest$ac_exeext conftest.$ac_ext
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28916 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28917 if test $gcc_cv_math_func_sqrtf128 = yes; then
28919 cat >>confdefs.h <<_ACEOF
28920 #define HAVE_SQRTF128 1
28921 _ACEOF
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28929 $as_echo_n "checking for csqrtf128... " >&6; }
28930 if ${gcc_cv_math_func_csqrtf128+:} false; then :
28931 $as_echo_n "(cached) " >&6
28932 else
28933 if test x$gcc_no_link = xyes; then
28934 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28937 /* end confdefs.h. */
28939 #ifdef HAVE_COMPLEX_H
28940 #include <complex.h>
28941 #endif
28942 #ifdef HAVE_MATH_H
28943 #include <math.h>
28944 #endif
28946 int (*ptr)() = (int (*)())csqrtf128;
28949 main ()
28951 return 0;
28954 _ACEOF
28955 if ac_fn_c_try_link "$LINENO"; then :
28956 gcc_cv_math_func_csqrtf128=yes
28957 else
28958 gcc_cv_math_func_csqrtf128=no
28960 rm -f core conftest.err conftest.$ac_objext \
28961 conftest$ac_exeext conftest.$ac_ext
28963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
28964 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
28965 if test $gcc_cv_math_func_csqrtf128 = yes; then
28967 cat >>confdefs.h <<_ACEOF
28968 #define HAVE_CSQRTF128 1
28969 _ACEOF
28976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
28977 $as_echo_n "checking for tanf128... " >&6; }
28978 if ${gcc_cv_math_func_tanf128+:} false; then :
28979 $as_echo_n "(cached) " >&6
28980 else
28981 if test x$gcc_no_link = xyes; then
28982 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28985 /* end confdefs.h. */
28987 #ifdef HAVE_COMPLEX_H
28988 #include <complex.h>
28989 #endif
28990 #ifdef HAVE_MATH_H
28991 #include <math.h>
28992 #endif
28994 int (*ptr)() = (int (*)())tanf128;
28997 main ()
28999 return 0;
29002 _ACEOF
29003 if ac_fn_c_try_link "$LINENO"; then :
29004 gcc_cv_math_func_tanf128=yes
29005 else
29006 gcc_cv_math_func_tanf128=no
29008 rm -f core conftest.err conftest.$ac_objext \
29009 conftest$ac_exeext conftest.$ac_ext
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29012 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29013 if test $gcc_cv_math_func_tanf128 = yes; then
29015 cat >>confdefs.h <<_ACEOF
29016 #define HAVE_TANF128 1
29017 _ACEOF
29024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29025 $as_echo_n "checking for ctanf128... " >&6; }
29026 if ${gcc_cv_math_func_ctanf128+:} false; then :
29027 $as_echo_n "(cached) " >&6
29028 else
29029 if test x$gcc_no_link = xyes; then
29030 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29033 /* end confdefs.h. */
29035 #ifdef HAVE_COMPLEX_H
29036 #include <complex.h>
29037 #endif
29038 #ifdef HAVE_MATH_H
29039 #include <math.h>
29040 #endif
29042 int (*ptr)() = (int (*)())ctanf128;
29045 main ()
29047 return 0;
29050 _ACEOF
29051 if ac_fn_c_try_link "$LINENO"; then :
29052 gcc_cv_math_func_ctanf128=yes
29053 else
29054 gcc_cv_math_func_ctanf128=no
29056 rm -f core conftest.err conftest.$ac_objext \
29057 conftest$ac_exeext conftest.$ac_ext
29059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29060 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29061 if test $gcc_cv_math_func_ctanf128 = yes; then
29063 cat >>confdefs.h <<_ACEOF
29064 #define HAVE_CTANF128 1
29065 _ACEOF
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29073 $as_echo_n "checking for tanhf128... " >&6; }
29074 if ${gcc_cv_math_func_tanhf128+:} false; then :
29075 $as_echo_n "(cached) " >&6
29076 else
29077 if test x$gcc_no_link = xyes; then
29078 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29081 /* end confdefs.h. */
29083 #ifdef HAVE_COMPLEX_H
29084 #include <complex.h>
29085 #endif
29086 #ifdef HAVE_MATH_H
29087 #include <math.h>
29088 #endif
29090 int (*ptr)() = (int (*)())tanhf128;
29093 main ()
29095 return 0;
29098 _ACEOF
29099 if ac_fn_c_try_link "$LINENO"; then :
29100 gcc_cv_math_func_tanhf128=yes
29101 else
29102 gcc_cv_math_func_tanhf128=no
29104 rm -f core conftest.err conftest.$ac_objext \
29105 conftest$ac_exeext conftest.$ac_ext
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29108 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29109 if test $gcc_cv_math_func_tanhf128 = yes; then
29111 cat >>confdefs.h <<_ACEOF
29112 #define HAVE_TANHF128 1
29113 _ACEOF
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29121 $as_echo_n "checking for ctanhf128... " >&6; }
29122 if ${gcc_cv_math_func_ctanhf128+:} false; then :
29123 $as_echo_n "(cached) " >&6
29124 else
29125 if test x$gcc_no_link = xyes; then
29126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29129 /* end confdefs.h. */
29131 #ifdef HAVE_COMPLEX_H
29132 #include <complex.h>
29133 #endif
29134 #ifdef HAVE_MATH_H
29135 #include <math.h>
29136 #endif
29138 int (*ptr)() = (int (*)())ctanhf128;
29141 main ()
29143 return 0;
29146 _ACEOF
29147 if ac_fn_c_try_link "$LINENO"; then :
29148 gcc_cv_math_func_ctanhf128=yes
29149 else
29150 gcc_cv_math_func_ctanhf128=no
29152 rm -f core conftest.err conftest.$ac_objext \
29153 conftest$ac_exeext conftest.$ac_ext
29155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29156 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29157 if test $gcc_cv_math_func_ctanhf128 = yes; then
29159 cat >>confdefs.h <<_ACEOF
29160 #define HAVE_CTANHF128 1
29161 _ACEOF
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29169 $as_echo_n "checking for truncf128... " >&6; }
29170 if ${gcc_cv_math_func_truncf128+:} false; then :
29171 $as_echo_n "(cached) " >&6
29172 else
29173 if test x$gcc_no_link = xyes; then
29174 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29177 /* end confdefs.h. */
29179 #ifdef HAVE_COMPLEX_H
29180 #include <complex.h>
29181 #endif
29182 #ifdef HAVE_MATH_H
29183 #include <math.h>
29184 #endif
29186 int (*ptr)() = (int (*)())truncf128;
29189 main ()
29191 return 0;
29194 _ACEOF
29195 if ac_fn_c_try_link "$LINENO"; then :
29196 gcc_cv_math_func_truncf128=yes
29197 else
29198 gcc_cv_math_func_truncf128=no
29200 rm -f core conftest.err conftest.$ac_objext \
29201 conftest$ac_exeext conftest.$ac_ext
29203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29204 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29205 if test $gcc_cv_math_func_truncf128 = yes; then
29207 cat >>confdefs.h <<_ACEOF
29208 #define HAVE_TRUNCF128 1
29209 _ACEOF
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29217 $as_echo_n "checking for erff128... " >&6; }
29218 if ${gcc_cv_math_func_erff128+:} false; then :
29219 $as_echo_n "(cached) " >&6
29220 else
29221 if test x$gcc_no_link = xyes; then
29222 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29225 /* end confdefs.h. */
29227 #ifdef HAVE_COMPLEX_H
29228 #include <complex.h>
29229 #endif
29230 #ifdef HAVE_MATH_H
29231 #include <math.h>
29232 #endif
29234 int (*ptr)() = (int (*)())erff128;
29237 main ()
29239 return 0;
29242 _ACEOF
29243 if ac_fn_c_try_link "$LINENO"; then :
29244 gcc_cv_math_func_erff128=yes
29245 else
29246 gcc_cv_math_func_erff128=no
29248 rm -f core conftest.err conftest.$ac_objext \
29249 conftest$ac_exeext conftest.$ac_ext
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29252 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29253 if test $gcc_cv_math_func_erff128 = yes; then
29255 cat >>confdefs.h <<_ACEOF
29256 #define HAVE_ERFF128 1
29257 _ACEOF
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29265 $as_echo_n "checking for erfcf128... " >&6; }
29266 if ${gcc_cv_math_func_erfcf128+:} false; then :
29267 $as_echo_n "(cached) " >&6
29268 else
29269 if test x$gcc_no_link = xyes; then
29270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29273 /* end confdefs.h. */
29275 #ifdef HAVE_COMPLEX_H
29276 #include <complex.h>
29277 #endif
29278 #ifdef HAVE_MATH_H
29279 #include <math.h>
29280 #endif
29282 int (*ptr)() = (int (*)())erfcf128;
29285 main ()
29287 return 0;
29290 _ACEOF
29291 if ac_fn_c_try_link "$LINENO"; then :
29292 gcc_cv_math_func_erfcf128=yes
29293 else
29294 gcc_cv_math_func_erfcf128=no
29296 rm -f core conftest.err conftest.$ac_objext \
29297 conftest$ac_exeext conftest.$ac_ext
29299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29300 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29301 if test $gcc_cv_math_func_erfcf128 = yes; then
29303 cat >>confdefs.h <<_ACEOF
29304 #define HAVE_ERFCF128 1
29305 _ACEOF
29312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29313 $as_echo_n "checking for j0f128... " >&6; }
29314 if ${gcc_cv_math_func_j0f128+:} false; then :
29315 $as_echo_n "(cached) " >&6
29316 else
29317 if test x$gcc_no_link = xyes; then
29318 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29321 /* end confdefs.h. */
29323 #ifdef HAVE_COMPLEX_H
29324 #include <complex.h>
29325 #endif
29326 #ifdef HAVE_MATH_H
29327 #include <math.h>
29328 #endif
29330 int (*ptr)() = (int (*)())j0f128;
29333 main ()
29335 return 0;
29338 _ACEOF
29339 if ac_fn_c_try_link "$LINENO"; then :
29340 gcc_cv_math_func_j0f128=yes
29341 else
29342 gcc_cv_math_func_j0f128=no
29344 rm -f core conftest.err conftest.$ac_objext \
29345 conftest$ac_exeext conftest.$ac_ext
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29348 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29349 if test $gcc_cv_math_func_j0f128 = yes; then
29351 cat >>confdefs.h <<_ACEOF
29352 #define HAVE_J0F128 1
29353 _ACEOF
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29361 $as_echo_n "checking for j1f128... " >&6; }
29362 if ${gcc_cv_math_func_j1f128+:} false; then :
29363 $as_echo_n "(cached) " >&6
29364 else
29365 if test x$gcc_no_link = xyes; then
29366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29369 /* end confdefs.h. */
29371 #ifdef HAVE_COMPLEX_H
29372 #include <complex.h>
29373 #endif
29374 #ifdef HAVE_MATH_H
29375 #include <math.h>
29376 #endif
29378 int (*ptr)() = (int (*)())j1f128;
29381 main ()
29383 return 0;
29386 _ACEOF
29387 if ac_fn_c_try_link "$LINENO"; then :
29388 gcc_cv_math_func_j1f128=yes
29389 else
29390 gcc_cv_math_func_j1f128=no
29392 rm -f core conftest.err conftest.$ac_objext \
29393 conftest$ac_exeext conftest.$ac_ext
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29396 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29397 if test $gcc_cv_math_func_j1f128 = yes; then
29399 cat >>confdefs.h <<_ACEOF
29400 #define HAVE_J1F128 1
29401 _ACEOF
29408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29409 $as_echo_n "checking for jnf128... " >&6; }
29410 if ${gcc_cv_math_func_jnf128+:} false; then :
29411 $as_echo_n "(cached) " >&6
29412 else
29413 if test x$gcc_no_link = xyes; then
29414 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29417 /* end confdefs.h. */
29419 #ifdef HAVE_COMPLEX_H
29420 #include <complex.h>
29421 #endif
29422 #ifdef HAVE_MATH_H
29423 #include <math.h>
29424 #endif
29426 int (*ptr)() = (int (*)())jnf128;
29429 main ()
29431 return 0;
29434 _ACEOF
29435 if ac_fn_c_try_link "$LINENO"; then :
29436 gcc_cv_math_func_jnf128=yes
29437 else
29438 gcc_cv_math_func_jnf128=no
29440 rm -f core conftest.err conftest.$ac_objext \
29441 conftest$ac_exeext conftest.$ac_ext
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29444 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29445 if test $gcc_cv_math_func_jnf128 = yes; then
29447 cat >>confdefs.h <<_ACEOF
29448 #define HAVE_JNF128 1
29449 _ACEOF
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29457 $as_echo_n "checking for y0f128... " >&6; }
29458 if ${gcc_cv_math_func_y0f128+:} false; then :
29459 $as_echo_n "(cached) " >&6
29460 else
29461 if test x$gcc_no_link = xyes; then
29462 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29465 /* end confdefs.h. */
29467 #ifdef HAVE_COMPLEX_H
29468 #include <complex.h>
29469 #endif
29470 #ifdef HAVE_MATH_H
29471 #include <math.h>
29472 #endif
29474 int (*ptr)() = (int (*)())y0f128;
29477 main ()
29479 return 0;
29482 _ACEOF
29483 if ac_fn_c_try_link "$LINENO"; then :
29484 gcc_cv_math_func_y0f128=yes
29485 else
29486 gcc_cv_math_func_y0f128=no
29488 rm -f core conftest.err conftest.$ac_objext \
29489 conftest$ac_exeext conftest.$ac_ext
29491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29492 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29493 if test $gcc_cv_math_func_y0f128 = yes; then
29495 cat >>confdefs.h <<_ACEOF
29496 #define HAVE_Y0F128 1
29497 _ACEOF
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29505 $as_echo_n "checking for y1f128... " >&6; }
29506 if ${gcc_cv_math_func_y1f128+:} false; then :
29507 $as_echo_n "(cached) " >&6
29508 else
29509 if test x$gcc_no_link = xyes; then
29510 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29513 /* end confdefs.h. */
29515 #ifdef HAVE_COMPLEX_H
29516 #include <complex.h>
29517 #endif
29518 #ifdef HAVE_MATH_H
29519 #include <math.h>
29520 #endif
29522 int (*ptr)() = (int (*)())y1f128;
29525 main ()
29527 return 0;
29530 _ACEOF
29531 if ac_fn_c_try_link "$LINENO"; then :
29532 gcc_cv_math_func_y1f128=yes
29533 else
29534 gcc_cv_math_func_y1f128=no
29536 rm -f core conftest.err conftest.$ac_objext \
29537 conftest$ac_exeext conftest.$ac_ext
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29540 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29541 if test $gcc_cv_math_func_y1f128 = yes; then
29543 cat >>confdefs.h <<_ACEOF
29544 #define HAVE_Y1F128 1
29545 _ACEOF
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29553 $as_echo_n "checking for ynf128... " >&6; }
29554 if ${gcc_cv_math_func_ynf128+:} false; then :
29555 $as_echo_n "(cached) " >&6
29556 else
29557 if test x$gcc_no_link = xyes; then
29558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29561 /* end confdefs.h. */
29563 #ifdef HAVE_COMPLEX_H
29564 #include <complex.h>
29565 #endif
29566 #ifdef HAVE_MATH_H
29567 #include <math.h>
29568 #endif
29570 int (*ptr)() = (int (*)())ynf128;
29573 main ()
29575 return 0;
29578 _ACEOF
29579 if ac_fn_c_try_link "$LINENO"; then :
29580 gcc_cv_math_func_ynf128=yes
29581 else
29582 gcc_cv_math_func_ynf128=no
29584 rm -f core conftest.err conftest.$ac_objext \
29585 conftest$ac_exeext conftest.$ac_ext
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29588 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29589 if test $gcc_cv_math_func_ynf128 = yes; then
29591 cat >>confdefs.h <<_ACEOF
29592 #define HAVE_YNF128 1
29593 _ACEOF
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29601 $as_echo_n "checking for tgammaf128... " >&6; }
29602 if ${gcc_cv_math_func_tgammaf128+:} false; then :
29603 $as_echo_n "(cached) " >&6
29604 else
29605 if test x$gcc_no_link = xyes; then
29606 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h. */
29611 #ifdef HAVE_COMPLEX_H
29612 #include <complex.h>
29613 #endif
29614 #ifdef HAVE_MATH_H
29615 #include <math.h>
29616 #endif
29618 int (*ptr)() = (int (*)())tgammaf128;
29621 main ()
29623 return 0;
29626 _ACEOF
29627 if ac_fn_c_try_link "$LINENO"; then :
29628 gcc_cv_math_func_tgammaf128=yes
29629 else
29630 gcc_cv_math_func_tgammaf128=no
29632 rm -f core conftest.err conftest.$ac_objext \
29633 conftest$ac_exeext conftest.$ac_ext
29635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29636 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29637 if test $gcc_cv_math_func_tgammaf128 = yes; then
29639 cat >>confdefs.h <<_ACEOF
29640 #define HAVE_TGAMMAF128 1
29641 _ACEOF
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29649 $as_echo_n "checking for lgammaf128... " >&6; }
29650 if ${gcc_cv_math_func_lgammaf128+:} false; then :
29651 $as_echo_n "(cached) " >&6
29652 else
29653 if test x$gcc_no_link = xyes; then
29654 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29657 /* end confdefs.h. */
29659 #ifdef HAVE_COMPLEX_H
29660 #include <complex.h>
29661 #endif
29662 #ifdef HAVE_MATH_H
29663 #include <math.h>
29664 #endif
29666 int (*ptr)() = (int (*)())lgammaf128;
29669 main ()
29671 return 0;
29674 _ACEOF
29675 if ac_fn_c_try_link "$LINENO"; then :
29676 gcc_cv_math_func_lgammaf128=yes
29677 else
29678 gcc_cv_math_func_lgammaf128=no
29680 rm -f core conftest.err conftest.$ac_objext \
29681 conftest$ac_exeext conftest.$ac_ext
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29684 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29685 if test $gcc_cv_math_func_lgammaf128 = yes; then
29687 cat >>confdefs.h <<_ACEOF
29688 #define HAVE_LGAMMAF128 1
29689 _ACEOF
29697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29698 $as_echo_n "checking for cacosf128... " >&6; }
29699 if ${gcc_cv_math_func_cacosf128+:} false; then :
29700 $as_echo_n "(cached) " >&6
29701 else
29702 if test x$gcc_no_link = xyes; then
29703 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29706 /* end confdefs.h. */
29708 #ifdef HAVE_COMPLEX_H
29709 #include <complex.h>
29710 #endif
29711 #ifdef HAVE_MATH_H
29712 #include <math.h>
29713 #endif
29715 int (*ptr)() = (int (*)())cacosf128;
29718 main ()
29720 return 0;
29723 _ACEOF
29724 if ac_fn_c_try_link "$LINENO"; then :
29725 gcc_cv_math_func_cacosf128=yes
29726 else
29727 gcc_cv_math_func_cacosf128=no
29729 rm -f core conftest.err conftest.$ac_objext \
29730 conftest$ac_exeext conftest.$ac_ext
29732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29733 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29734 if test $gcc_cv_math_func_cacosf128 = yes; then
29736 cat >>confdefs.h <<_ACEOF
29737 #define HAVE_CACOSF128 1
29738 _ACEOF
29745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29746 $as_echo_n "checking for cacoshf128... " >&6; }
29747 if ${gcc_cv_math_func_cacoshf128+:} false; then :
29748 $as_echo_n "(cached) " >&6
29749 else
29750 if test x$gcc_no_link = xyes; then
29751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29754 /* end confdefs.h. */
29756 #ifdef HAVE_COMPLEX_H
29757 #include <complex.h>
29758 #endif
29759 #ifdef HAVE_MATH_H
29760 #include <math.h>
29761 #endif
29763 int (*ptr)() = (int (*)())cacoshf128;
29766 main ()
29768 return 0;
29771 _ACEOF
29772 if ac_fn_c_try_link "$LINENO"; then :
29773 gcc_cv_math_func_cacoshf128=yes
29774 else
29775 gcc_cv_math_func_cacoshf128=no
29777 rm -f core conftest.err conftest.$ac_objext \
29778 conftest$ac_exeext conftest.$ac_ext
29780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29781 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29782 if test $gcc_cv_math_func_cacoshf128 = yes; then
29784 cat >>confdefs.h <<_ACEOF
29785 #define HAVE_CACOSHF128 1
29786 _ACEOF
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29794 $as_echo_n "checking for casinf128... " >&6; }
29795 if ${gcc_cv_math_func_casinf128+:} false; then :
29796 $as_echo_n "(cached) " >&6
29797 else
29798 if test x$gcc_no_link = xyes; then
29799 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29802 /* end confdefs.h. */
29804 #ifdef HAVE_COMPLEX_H
29805 #include <complex.h>
29806 #endif
29807 #ifdef HAVE_MATH_H
29808 #include <math.h>
29809 #endif
29811 int (*ptr)() = (int (*)())casinf128;
29814 main ()
29816 return 0;
29819 _ACEOF
29820 if ac_fn_c_try_link "$LINENO"; then :
29821 gcc_cv_math_func_casinf128=yes
29822 else
29823 gcc_cv_math_func_casinf128=no
29825 rm -f core conftest.err conftest.$ac_objext \
29826 conftest$ac_exeext conftest.$ac_ext
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29829 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29830 if test $gcc_cv_math_func_casinf128 = yes; then
29832 cat >>confdefs.h <<_ACEOF
29833 #define HAVE_CASINF128 1
29834 _ACEOF
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29842 $as_echo_n "checking for casinhf128... " >&6; }
29843 if ${gcc_cv_math_func_casinhf128+:} false; then :
29844 $as_echo_n "(cached) " >&6
29845 else
29846 if test x$gcc_no_link = xyes; then
29847 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29850 /* end confdefs.h. */
29852 #ifdef HAVE_COMPLEX_H
29853 #include <complex.h>
29854 #endif
29855 #ifdef HAVE_MATH_H
29856 #include <math.h>
29857 #endif
29859 int (*ptr)() = (int (*)())casinhf128;
29862 main ()
29864 return 0;
29867 _ACEOF
29868 if ac_fn_c_try_link "$LINENO"; then :
29869 gcc_cv_math_func_casinhf128=yes
29870 else
29871 gcc_cv_math_func_casinhf128=no
29873 rm -f core conftest.err conftest.$ac_objext \
29874 conftest$ac_exeext conftest.$ac_ext
29876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29877 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29878 if test $gcc_cv_math_func_casinhf128 = yes; then
29880 cat >>confdefs.h <<_ACEOF
29881 #define HAVE_CASINHF128 1
29882 _ACEOF
29889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29890 $as_echo_n "checking for catanf128... " >&6; }
29891 if ${gcc_cv_math_func_catanf128+:} false; then :
29892 $as_echo_n "(cached) " >&6
29893 else
29894 if test x$gcc_no_link = xyes; then
29895 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29898 /* end confdefs.h. */
29900 #ifdef HAVE_COMPLEX_H
29901 #include <complex.h>
29902 #endif
29903 #ifdef HAVE_MATH_H
29904 #include <math.h>
29905 #endif
29907 int (*ptr)() = (int (*)())catanf128;
29910 main ()
29912 return 0;
29915 _ACEOF
29916 if ac_fn_c_try_link "$LINENO"; then :
29917 gcc_cv_math_func_catanf128=yes
29918 else
29919 gcc_cv_math_func_catanf128=no
29921 rm -f core conftest.err conftest.$ac_objext \
29922 conftest$ac_exeext conftest.$ac_ext
29924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29925 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29926 if test $gcc_cv_math_func_catanf128 = yes; then
29928 cat >>confdefs.h <<_ACEOF
29929 #define HAVE_CATANF128 1
29930 _ACEOF
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29938 $as_echo_n "checking for catanhf128... " >&6; }
29939 if ${gcc_cv_math_func_catanhf128+:} false; then :
29940 $as_echo_n "(cached) " >&6
29941 else
29942 if test x$gcc_no_link = xyes; then
29943 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29946 /* end confdefs.h. */
29948 #ifdef HAVE_COMPLEX_H
29949 #include <complex.h>
29950 #endif
29951 #ifdef HAVE_MATH_H
29952 #include <math.h>
29953 #endif
29955 int (*ptr)() = (int (*)())catanhf128;
29958 main ()
29960 return 0;
29963 _ACEOF
29964 if ac_fn_c_try_link "$LINENO"; then :
29965 gcc_cv_math_func_catanhf128=yes
29966 else
29967 gcc_cv_math_func_catanhf128=no
29969 rm -f core conftest.err conftest.$ac_objext \
29970 conftest$ac_exeext conftest.$ac_ext
29972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
29973 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
29974 if test $gcc_cv_math_func_catanhf128 = yes; then
29976 cat >>confdefs.h <<_ACEOF
29977 #define HAVE_CATANHF128 1
29978 _ACEOF
29983 # Check whether the system has a working stat()
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
29986 $as_echo_n "checking whether the target stat is reliable... " >&6; }
29987 if ${libgfor_cv_have_working_stat+:} false; then :
29988 $as_echo_n "(cached) " >&6
29989 else
29991 if test "$cross_compiling" = yes; then :
29993 case "${target}" in
29994 *mingw*) libgfor_cv_have_working_stat=no ;;
29995 *) libgfor_cv_have_working_stat=yes;;
29996 esac
29997 else
29998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29999 /* end confdefs.h. */
30001 #include <stdio.h>
30002 #include <sys/types.h>
30003 #include <sys/stat.h>
30004 #include <unistd.h>
30006 int main ()
30008 FILE *f, *g;
30009 struct stat st1, st2;
30011 f = fopen ("foo", "w");
30012 g = fopen ("bar", "w");
30013 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30014 return 1;
30015 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30016 return 1;
30017 fclose(f);
30018 fclose(g);
30019 return 0;
30021 _ACEOF
30022 if ac_fn_c_try_run "$LINENO"; then :
30023 libgfor_cv_have_working_stat=yes
30024 else
30025 libgfor_cv_have_working_stat=no
30027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30028 conftest.$ac_objext conftest.beam conftest.$ac_ext
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30033 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30034 if test x"$libgfor_cv_have_working_stat" = xyes; then
30036 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30040 # Check whether __mingw_snprintf() is present
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30043 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30044 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
30045 $as_echo_n "(cached) " >&6
30046 else
30048 if test x$gcc_no_link = xyes; then
30049 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30052 /* end confdefs.h. */
30054 #include <stdio.h>
30055 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30058 main ()
30061 __mingw_snprintf (NULL, 0, "%d\n", 1);
30064 return 0;
30066 _ACEOF
30067 if ac_fn_c_try_link "$LINENO"; then :
30068 eval "libgfor_cv_have_mingw_snprintf=yes"
30069 else
30070 eval "libgfor_cv_have_mingw_snprintf=no"
30072 rm -f core conftest.err conftest.$ac_objext \
30073 conftest$ac_exeext conftest.$ac_ext
30076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30077 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30078 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
30080 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30085 have_iec_60559_libc_support=no
30086 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30087 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then
30088 have_iec_60559_libc_support=yes
30091 # Check whether libquadmath should be used
30092 # Check whether --enable-libquadmath-support was given.
30093 if test "${enable_libquadmath_support+set}" = set; then :
30094 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
30095 else
30096 if test "x$have_iec_60559_libc_support" = xyes; then
30097 ENABLE_LIBQUADMATH_SUPPORT=default
30098 else
30099 ENABLE_LIBQUADMATH_SUPPORT=yes
30103 enable_libquadmath_support=
30104 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30105 enable_libquadmath_support=no
30106 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30107 enable_libquadmath_support=default
30110 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30111 # and have_iec_60559_libc_support.
30113 LIBQUADSPEC=
30114 LIBQUADLIB=
30115 LIBQUADLIB_DEP=
30116 LIBQUADINCLUDE=
30117 USE_IEC_60559=no
30119 if test "x$enable_libquadmath_support" != xno; then
30121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30122 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30123 if ${libgfor_cv_have_float128+:} false; then :
30124 $as_echo_n "(cached) " >&6
30125 else
30127 if test x$gcc_no_link = xyes; then
30128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30129 /* end confdefs.h. */
30131 _Float128 foo (_Float128 x)
30133 _Complex _Float128 z1, z2;
30135 z1 = x;
30136 z2 = x / 7.F128;
30137 z2 /= z1;
30139 return (_Float128) z2;
30142 _Float128 bar (_Float128 x)
30144 return x * __builtin_huge_valf128 ();
30147 __float128 baz (__float128 x)
30149 return x * __builtin_huge_valf128 ();
30153 main ()
30156 foo (1.2F128);
30157 bar (1.2F128);
30158 baz (1.2F128);
30159 foo (1.2Q);
30160 bar (1.2Q);
30161 baz (1.2Q);
30164 return 0;
30166 _ACEOF
30167 if ac_fn_c_try_compile "$LINENO"; then :
30169 libgfor_cv_have_float128=yes
30171 else
30173 libgfor_cv_have_float128=no
30176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30177 else
30178 if test x$gcc_no_link = xyes; then
30179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30182 /* end confdefs.h. */
30184 _Float128 foo (_Float128 x)
30186 _Complex _Float128 z1, z2;
30188 z1 = x;
30189 z2 = x / 7.F128;
30190 z2 /= z1;
30192 return (_Float128) z2;
30195 _Float128 bar (_Float128 x)
30197 return x * __builtin_huge_valf128 ();
30200 __float128 baz (__float128 x)
30202 return x * __builtin_huge_valf128 ();
30206 main ()
30209 foo (1.2F128);
30210 bar (1.2F128);
30211 baz (1.2F128);
30212 foo (1.2Q);
30213 bar (1.2Q);
30214 baz (1.2Q);
30217 return 0;
30219 _ACEOF
30220 if ac_fn_c_try_link "$LINENO"; then :
30222 libgfor_cv_have_float128=yes
30224 else
30226 libgfor_cv_have_float128=no
30229 rm -f core conftest.err conftest.$ac_objext \
30230 conftest$ac_exeext conftest.$ac_ext
30233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30234 $as_echo "$libgfor_cv_have_float128" >&6; }
30236 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then
30237 USE_IEC_60559=yes
30241 if test "x$libgfor_cv_have_float128" = xyes; then
30242 if test "x$USE_IEC_60559" = xyes; then
30244 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30248 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30251 ac_xsave_c_werror_flag=$ac_c_werror_flag
30252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30253 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30254 if ${libgfor_cv_have_as_needed+:} false; then :
30255 $as_echo_n "(cached) " >&6
30256 else
30258 # Test for native Solaris options first.
30259 # No whitespace after -z to pass it through -Wl.
30260 libgfor_cv_as_needed_option="-zignore"
30261 libgfor_cv_no_as_needed_option="-zrecord"
30262 save_LDFLAGS="$LDFLAGS"
30263 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30264 libgfor_cv_have_as_needed=no
30266 ac_c_werror_flag=yes
30267 if test x$gcc_no_link = xyes; then
30268 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30271 /* end confdefs.h. */
30274 main ()
30278 return 0;
30280 _ACEOF
30281 if ac_fn_c_try_link "$LINENO"; then :
30282 libgfor_cv_have_as_needed=yes
30283 else
30284 libgfor_cv_have_as_needed=no
30286 rm -f core conftest.err conftest.$ac_objext \
30287 conftest$ac_exeext conftest.$ac_ext
30288 LDFLAGS="$save_LDFLAGS"
30289 if test "x$libgfor_cv_have_as_needed" = xno; then
30290 libgfor_cv_as_needed_option="--as-needed"
30291 libgfor_cv_no_as_needed_option="--no-as-needed"
30292 save_LDFLAGS="$LDFLAGS"
30293 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30294 libgfor_cv_have_as_needed=no
30296 ac_c_werror_flag=yes
30297 if test x$gcc_no_link = xyes; then
30298 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30301 /* end confdefs.h. */
30304 main ()
30308 return 0;
30310 _ACEOF
30311 if ac_fn_c_try_link "$LINENO"; then :
30312 libgfor_cv_have_as_needed=yes
30313 else
30314 libgfor_cv_have_as_needed=no
30316 rm -f core conftest.err conftest.$ac_objext \
30317 conftest$ac_exeext conftest.$ac_ext
30318 LDFLAGS="$save_LDFLAGS"
30320 ac_c_werror_flag=$ac_xsave_c_werror_flag
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30324 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30326 touch conftest1.$ac_objext conftest2.$ac_objext
30327 LQUADMATH=-lquadmath
30328 $FC -static-libgfortran -### -o conftest \
30329 conftest1.$ac_objext -lgfortran conftest2.$ac_objext 2>&1 >/dev/null \
30330 | grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30331 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30332 conftest.cmd >/dev/null 2>&1; then
30333 LQUADMATH="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30334 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30335 conftest.cmd >/dev/null 2>&1; then
30336 LQUADMATH="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30337 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30338 conftest.cmd >/dev/null 2>&1; then
30339 LQUADMATH="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30340 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30341 conftest.cmd >/dev/null 2>&1; then
30342 LQUADMATH="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30344 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest conftest.cmd
30346 if test "x$libgfor_cv_have_as_needed" = xyes; then
30347 if test "x$USE_IEC_60559" = xyes; then
30348 LIBQUADSPEC="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30349 else
30350 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30352 else
30353 LIBQUADSPEC="$LQUADMATH"
30355 if test "x$USE_IEC_60559" != xyes; then
30356 if test -f ../libquadmath/libquadmath.la; then
30357 LIBQUADLIB=../libquadmath/libquadmath.la
30358 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
30359 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
30360 else
30361 LIBQUADLIB="-lquadmath"
30364 else
30365 USE_IEC_60559=no
30376 # Check for GNU libc feenableexcept
30377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30378 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30379 if ${ac_cv_lib_m_feenableexcept+:} false; then :
30380 $as_echo_n "(cached) " >&6
30381 else
30382 ac_check_lib_save_LIBS=$LIBS
30383 LIBS="-lm $LIBS"
30384 if test x$gcc_no_link = xyes; then
30385 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30388 /* end confdefs.h. */
30390 /* Override any GCC internal prototype to avoid an error.
30391 Use char because int might match the return type of a GCC
30392 builtin and then its argument prototype would still apply. */
30393 #ifdef __cplusplus
30394 extern "C"
30395 #endif
30396 char feenableexcept ();
30398 main ()
30400 return feenableexcept ();
30402 return 0;
30404 _ACEOF
30405 if ac_fn_c_try_link "$LINENO"; then :
30406 ac_cv_lib_m_feenableexcept=yes
30407 else
30408 ac_cv_lib_m_feenableexcept=no
30410 rm -f core conftest.err conftest.$ac_objext \
30411 conftest$ac_exeext conftest.$ac_ext
30412 LIBS=$ac_check_lib_save_LIBS
30414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30415 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30416 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
30417 have_feenableexcept=yes
30418 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30423 # At least for glibc, clock_gettime is in librt. But don't
30424 # pull that in if it still doesn't give us the function we want. This
30425 # test is copied from libgomp, and modified to not link in -lrt as
30426 # libgfortran calls clock_gettime via a weak reference if it's found
30427 # in librt.
30428 if test "$ac_cv_func_clock_gettime" = no; then
30429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30430 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30431 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
30432 $as_echo_n "(cached) " >&6
30433 else
30434 ac_check_lib_save_LIBS=$LIBS
30435 LIBS="-lrt $LIBS"
30436 if test x$gcc_no_link = xyes; then
30437 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30440 /* end confdefs.h. */
30442 /* Override any GCC internal prototype to avoid an error.
30443 Use char because int might match the return type of a GCC
30444 builtin and then its argument prototype would still apply. */
30445 #ifdef __cplusplus
30446 extern "C"
30447 #endif
30448 char clock_gettime ();
30450 main ()
30452 return clock_gettime ();
30454 return 0;
30456 _ACEOF
30457 if ac_fn_c_try_link "$LINENO"; then :
30458 ac_cv_lib_rt_clock_gettime=yes
30459 else
30460 ac_cv_lib_rt_clock_gettime=no
30462 rm -f core conftest.err conftest.$ac_objext \
30463 conftest$ac_exeext conftest.$ac_ext
30464 LIBS=$ac_check_lib_save_LIBS
30466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30467 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30468 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
30470 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30476 # Check for SysV fpsetmask
30478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30479 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30480 if ${libgfor_cv_have_fpsetmask+:} false; then :
30481 $as_echo_n "(cached) " >&6
30482 else
30484 if test x$gcc_no_link = xyes; then
30485 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30488 /* end confdefs.h. */
30490 #if HAVE_FLOATINGPOINT_H
30491 # include <floatingpoint.h>
30492 #endif /* HAVE_FLOATINGPOINT_H */
30493 #if HAVE_IEEEFP_H
30494 # include <ieeefp.h>
30495 #endif /* HAVE_IEEEFP_H */
30497 main ()
30499 fpsetmask(0);
30501 return 0;
30503 _ACEOF
30504 if ac_fn_c_try_link "$LINENO"; then :
30505 eval "libgfor_cv_have_fpsetmask=yes"
30506 else
30507 eval "libgfor_cv_have_fpsetmask=no"
30509 rm -f core conftest.err conftest.$ac_objext \
30510 conftest$ac_exeext conftest.$ac_ext
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30514 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30515 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
30516 have_fpsetmask=yes
30518 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30522 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
30523 #ifdef HAVE_IEEEFP_H
30524 #include <ieeefp.h>
30525 #endif
30526 #include <math.h>
30529 if test "x$ac_cv_type_fp_except" = xyes; then :
30531 cat >>confdefs.h <<_ACEOF
30532 #define HAVE_FP_EXCEPT 1
30533 _ACEOF
30537 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30538 #ifdef HAVE_IEEEFP_H
30539 #include <ieeefp.h>
30540 #endif
30541 #include <math.h>
30544 if test "x$ac_cv_type_fp_except_t" = xyes; then :
30546 cat >>confdefs.h <<_ACEOF
30547 #define HAVE_FP_EXCEPT_T 1
30548 _ACEOF
30553 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30554 #ifdef HAVE_IEEEFP_H
30555 #include <ieeefp.h>
30556 #endif
30557 #include <math.h>
30560 if test "x$ac_cv_type_fp_rnd" = xyes; then :
30562 cat >>confdefs.h <<_ACEOF
30563 #define HAVE_FP_RND 1
30564 _ACEOF
30568 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30569 #ifdef HAVE_IEEEFP_H
30570 #include <ieeefp.h>
30571 #endif
30572 #include <math.h>
30575 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
30577 cat >>confdefs.h <<_ACEOF
30578 #define HAVE_FP_RND_T 1
30579 _ACEOF
30585 # Check whether we have fpsetsticky or fpresetsticky
30586 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30587 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
30588 have_fpsetsticky=yes
30589 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30593 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30594 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
30595 have_fpresetsticky=yes
30596 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30601 # Check for AIX fp_trap and fp_enable
30602 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30603 if test "x$ac_cv_func_fp_trap" = xyes; then :
30604 have_fp_trap=yes
30605 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30609 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30610 if test "x$ac_cv_func_fp_enable" = xyes; then :
30611 have_fp_enable=yes
30612 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30617 # Check if _SOFT_FLOAT is defined
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30620 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30621 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
30622 $as_echo_n "(cached) " >&6
30623 else
30624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30625 /* end confdefs.h. */
30628 main ()
30631 #ifdef _SOFT_FLOAT
30632 int ok;
30633 #else
30634 choke me
30635 #endif
30638 return 0;
30640 _ACEOF
30641 if ac_fn_c_try_compile "$LINENO"; then :
30642 ac_cv_defined__SOFT_FLOAT=yes
30643 else
30644 ac_cv_defined__SOFT_FLOAT=no
30646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30649 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30650 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30651 have_soft_float=yes
30654 # Runs configure.host to set up necessary host-dependent shell variables.
30655 # We then display a message about it, and propagate them through the
30656 # build chain.
30657 . ${srcdir}/configure.host
30658 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30659 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30661 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30662 FPU_HOST_HEADER=config/${fpu_host}.h
30665 # Whether we will build the IEEE modules
30666 if test x${ieee_support} = xyes; then
30667 IEEE_SUPPORT_TRUE=
30668 IEEE_SUPPORT_FALSE='#'
30669 else
30670 IEEE_SUPPORT_TRUE='#'
30671 IEEE_SUPPORT_FALSE=
30676 # Some targets require additional compiler options for IEEE compatibility.
30677 IEEE_FLAGS="${ieee_flags}"
30680 # Conditionalize the makefile for this target machine.
30681 tmake_file_=
30682 for f in ${tmake_file}
30684 if test -f ${srcdir}/config/$f
30685 then
30686 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
30688 done
30689 tmake_file="${tmake_file_}"
30693 # Check for POSIX getpwuid_r
30695 # There are two versions of getpwuid_r, the POSIX one with 5
30696 # arguments, and another one with 4 arguments used by at least HP-UX
30697 # 10.2.
30698 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30700 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30701 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
30702 $as_echo_n "(cached) " >&6
30703 else
30705 if test x$gcc_no_link = xyes; then
30706 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30709 /* end confdefs.h. */
30711 #include <stdio.h>
30712 #include <sys/types.h>
30713 #include <pwd.h>
30715 main ()
30718 getpwuid_r(0, NULL, NULL, 0, NULL);
30721 return 0;
30723 _ACEOF
30724 if ac_fn_c_try_link "$LINENO"; then :
30725 libgfor_cv_posix_getpwuid_r="yes"
30726 else
30727 libgfor_cv_posix_getpwuid_r="no"
30729 rm -f core conftest.err conftest.$ac_objext \
30730 conftest$ac_exeext conftest.$ac_ext
30732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30733 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30735 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30737 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30742 # Check out attribute support.
30744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30745 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30746 if ${libgfor_cv_have_attribute_visibility+:} false; then :
30747 $as_echo_n "(cached) " >&6
30748 else
30750 save_CFLAGS="$CFLAGS"
30751 CFLAGS="$CFLAGS -Werror"
30752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30753 /* end confdefs.h. */
30754 void __attribute__((visibility("hidden"))) foo(void) { }
30756 main ()
30760 return 0;
30762 _ACEOF
30763 if ac_fn_c_try_compile "$LINENO"; then :
30764 libgfor_cv_have_attribute_visibility=yes
30765 else
30766 libgfor_cv_have_attribute_visibility=no
30768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30769 CFLAGS="$save_CFLAGS"
30771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30772 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30773 if test $libgfor_cv_have_attribute_visibility = yes; then
30775 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30780 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30781 if ${libgfor_cv_have_attribute_alias+:} false; then :
30782 $as_echo_n "(cached) " >&6
30783 else
30785 if test x$gcc_no_link = xyes; then
30786 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30789 /* end confdefs.h. */
30791 void foo(void) { }
30792 extern void bar(void) __attribute__((alias("foo")));
30794 main ()
30796 bar();
30798 return 0;
30800 _ACEOF
30801 if ac_fn_c_try_link "$LINENO"; then :
30802 libgfor_cv_have_attribute_alias=yes
30803 else
30804 libgfor_cv_have_attribute_alias=no
30806 rm -f core conftest.err conftest.$ac_objext \
30807 conftest$ac_exeext conftest.$ac_ext
30809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30810 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30811 if test $libgfor_cv_have_attribute_alias = yes; then
30813 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30817 # Check out atomic builtins support.
30819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30820 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30821 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
30822 $as_echo_n "(cached) " >&6
30823 else
30825 if test x$gcc_no_link = xyes; then
30826 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30829 /* end confdefs.h. */
30830 int foovar = 0;
30832 main ()
30835 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30836 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30838 return 0;
30840 _ACEOF
30841 if ac_fn_c_try_link "$LINENO"; then :
30842 libgfor_cv_have_atomic_fetch_add=yes
30843 else
30844 libgfor_cv_have_atomic_fetch_add=no
30846 rm -f core conftest.err conftest.$ac_objext \
30847 conftest$ac_exeext conftest.$ac_ext
30849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30850 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30851 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30853 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30857 # Check out #pragma weak.
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30860 $as_echo_n "checking whether pragma weak works... " >&6; }
30861 if ${libgfor_cv_have_pragma_weak+:} false; then :
30862 $as_echo_n "(cached) " >&6
30863 else
30865 gfor_save_CFLAGS="$CFLAGS"
30866 CFLAGS="$CFLAGS -Wunknown-pragmas"
30867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30868 /* end confdefs.h. */
30870 void foo (void);
30871 #pragma weak foo
30874 main ()
30876 if (foo) foo ();
30878 return 0;
30880 _ACEOF
30881 if ac_fn_c_try_compile "$LINENO"; then :
30882 libgfor_cv_have_pragma_weak=yes
30883 else
30884 libgfor_cv_have_pragma_weak=no
30886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30889 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30890 if test $libgfor_cv_have_pragma_weak = yes; then
30892 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30895 case "$host" in
30896 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
30898 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30901 esac
30903 # Check out weakref support.
30905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30906 $as_echo_n "checking whether the target supports weakref... " >&6; }
30907 if ${libgfor_cv_have_weakref+:} false; then :
30908 $as_echo_n "(cached) " >&6
30909 else
30911 save_CFLAGS="$CFLAGS"
30912 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
30913 if test x$gcc_no_link = xyes; then
30914 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30917 /* end confdefs.h. */
30919 static int mytoto (int) __attribute__((__weakref__("toto")));
30922 main ()
30924 return (mytoto != 0);
30926 return 0;
30928 _ACEOF
30929 if ac_fn_c_try_link "$LINENO"; then :
30930 libgfor_cv_have_weakref=yes
30931 else
30932 libgfor_cv_have_weakref=no
30934 rm -f core conftest.err conftest.$ac_objext \
30935 conftest$ac_exeext conftest.$ac_ext
30936 CFLAGS="$save_CFLAGS"
30938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30939 $as_echo "$libgfor_cv_have_weakref" >&6; }
30940 if test $libgfor_cv_have_weakref = yes; then
30942 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30946 # Various other checks on target
30948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
30949 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
30950 if ${libgfor_cv_have_unlink_open_file+:} false; then :
30951 $as_echo_n "(cached) " >&6
30952 else
30954 if test "$cross_compiling" = yes; then :
30956 case "${target}" in
30957 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
30958 *) libgfor_cv_have_unlink_open_file=yes;;
30959 esac
30960 else
30961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30962 /* end confdefs.h. */
30964 #include <errno.h>
30965 #include <fcntl.h>
30966 #include <unistd.h>
30967 #include <sys/stat.h>
30969 int main ()
30971 int fd;
30973 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
30974 if (fd <= 0)
30975 return 0;
30976 if (unlink ("testfile") == -1)
30977 return 1;
30978 write (fd, "This is a test\n", 15);
30979 close (fd);
30981 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
30982 return 0;
30983 else
30984 return 1;
30986 _ACEOF
30987 if ac_fn_c_try_run "$LINENO"; then :
30988 libgfor_cv_have_unlink_open_file=yes
30989 else
30990 libgfor_cv_have_unlink_open_file=no
30992 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30993 conftest.$ac_objext conftest.beam conftest.$ac_ext
30997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
30998 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
30999 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
31001 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31005 # Check whether line terminator is LF or CRLF
31007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31008 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31009 if ${libgfor_cv_have_crlf+:} false; then :
31010 $as_echo_n "(cached) " >&6
31011 else
31013 if test "$cross_compiling" = yes; then :
31015 case "${target}" in
31016 *mingw*) libgfor_cv_have_crlf=yes ;;
31017 *) libgfor_cv_have_crlf=no;;
31018 esac
31019 else
31020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31021 /* end confdefs.h. */
31023 /* This test program should exit with status 0 if system uses a CRLF as
31024 line terminator, and status 1 otherwise.
31025 Since it is used to check for mingw systems, and should return 0 in any
31026 other case, in case of a failure we will not use CRLF. */
31027 #include <sys/stat.h>
31028 #include <stdlib.h>
31029 #include <fcntl.h>
31030 #include <stdio.h>
31032 int main ()
31034 #ifndef O_BINARY
31035 exit(1);
31036 #else
31037 int fd, bytes;
31038 char buff[5];
31040 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31041 if (fd < 0)
31042 exit(1);
31043 if (write (fd, "\n", 1) < 0)
31044 perror ("write");
31046 close (fd);
31048 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31049 exit(1);
31050 bytes = read (fd, buff, 5);
31051 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31052 exit(0);
31053 else
31054 exit(1);
31055 #endif
31057 _ACEOF
31058 if ac_fn_c_try_run "$LINENO"; then :
31059 libgfor_cv_have_crlf=yes
31060 else
31061 libgfor_cv_have_crlf=no
31063 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31064 conftest.$ac_objext conftest.beam conftest.$ac_ext
31068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31069 $as_echo "$libgfor_cv_have_crlf" >&6; }
31070 if test x"$libgfor_cv_have_crlf" = xyes; then
31072 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31076 # Check whether we support AVX extensions
31078 ac_save_CFLAGS="$CFLAGS"
31079 CFLAGS="-O2 -mavx"
31080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31081 /* end confdefs.h. */
31083 void _mm256_zeroall (void)
31085 __builtin_ia32_vzeroall ();
31088 main ()
31092 return 0;
31094 _ACEOF
31095 if ac_fn_c_try_compile "$LINENO"; then :
31097 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31101 CFLAGS="$ac_save_CFLAGS"
31104 # Check whether we support AVX2 extensions
31106 ac_save_CFLAGS="$CFLAGS"
31107 CFLAGS="-O2 -mavx2"
31108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31109 /* end confdefs.h. */
31111 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31112 __v4di
31113 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31115 return __builtin_ia32_andnotsi256 (__X, __Y);
31118 main ()
31122 return 0;
31124 _ACEOF
31125 if ac_fn_c_try_compile "$LINENO"; then :
31127 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31131 CFLAGS="$ac_save_CFLAGS"
31134 # Check whether we support AVX512f extensions
31136 ac_save_CFLAGS="$CFLAGS"
31137 CFLAGS="-O2 -mavx512f"
31138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31139 /* end confdefs.h. */
31141 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31142 __m512d _mm512_add (__m512d a)
31144 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31145 /* For -m64/-mx32 also verify that code will work even if
31146 the target uses call saved zmm16+ and needs to emit
31147 unwind info for them (e.g. on mingw). See PR79127. */
31148 #ifdef __x86_64__
31149 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31150 #endif
31151 return b;
31154 main ()
31158 return 0;
31160 _ACEOF
31161 if ac_fn_c_try_compile "$LINENO"; then :
31163 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167 CFLAGS="$ac_save_CFLAGS"
31170 # Check for FMA3 extensions
31172 ac_save_CFLAGS="$CFLAGS"
31173 CFLAGS="-O2 -mfma -mno-fma4"
31174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31175 /* end confdefs.h. */
31177 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31178 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31179 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31181 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31182 (__v4sf)__B,
31183 (__v4sf)__C);
31186 main ()
31190 return 0;
31192 _ACEOF
31193 if ac_fn_c_try_compile "$LINENO"; then :
31195 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31199 CFLAGS="$ac_save_CFLAGS"
31202 # Check for FMA4 extensions
31204 ac_save_CFLAGS="$CFLAGS"
31205 CFLAGS="-O2 -mfma4 -mno-fma"
31206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31207 /* end confdefs.h. */
31209 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31210 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31211 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31213 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31214 (__v4sf)__B,
31215 (__v4sf)__C);
31218 main ()
31222 return 0;
31224 _ACEOF
31225 if ac_fn_c_try_compile "$LINENO"; then :
31227 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31231 CFLAGS="$ac_save_CFLAGS"
31234 # Check if AVX128 works
31236 ac_save_CFLAGS="$CFLAGS"
31237 CFLAGS="-O2 -mavx -mprefer-avx128"
31238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31239 /* end confdefs.h. */
31241 void foo()
31245 main ()
31249 return 0;
31251 _ACEOF
31252 if ac_fn_c_try_compile "$LINENO"; then :
31254 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31256 if true; then
31257 HAVE_AVX128_TRUE=
31258 HAVE_AVX128_FALSE='#'
31259 else
31260 HAVE_AVX128_TRUE='#'
31261 HAVE_AVX128_FALSE=
31264 else
31265 if false; then
31266 HAVE_AVX128_TRUE=
31267 HAVE_AVX128_FALSE='#'
31268 else
31269 HAVE_AVX128_TRUE='#'
31270 HAVE_AVX128_FALSE=
31274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31275 CFLAGS="$ac_save_CFLAGS"
31278 # Determine what GCC version number to use in filesystem paths.
31280 get_gcc_base_ver="cat"
31282 # Check whether --with-gcc-major-version-only was given.
31283 if test "${with_gcc_major_version_only+set}" = set; then :
31284 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
31285 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
31293 cat >confcache <<\_ACEOF
31294 # This file is a shell script that caches the results of configure
31295 # tests run on this system so they can be shared between configure
31296 # scripts and configure runs, see configure's option --config-cache.
31297 # It is not useful on other systems. If it contains results you don't
31298 # want to keep, you may remove or edit it.
31300 # config.status only pays attention to the cache file if you give it
31301 # the --recheck option to rerun configure.
31303 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31304 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31305 # following values.
31307 _ACEOF
31309 # The following way of writing the cache mishandles newlines in values,
31310 # but we know of no workaround that is simple, portable, and efficient.
31311 # So, we kill variables containing newlines.
31312 # Ultrix sh set writes to stderr and can't be redirected directly,
31313 # and sets the high bit in the cache file unless we assign to the vars.
31315 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31316 eval ac_val=\$$ac_var
31317 case $ac_val in #(
31318 *${as_nl}*)
31319 case $ac_var in #(
31320 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31322 esac
31323 case $ac_var in #(
31324 _ | IFS | as_nl) ;; #(
31325 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31326 *) { eval $ac_var=; unset $ac_var;} ;;
31327 esac ;;
31328 esac
31329 done
31331 (set) 2>&1 |
31332 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31333 *${as_nl}ac_space=\ *)
31334 # `set' does not quote correctly, so add quotes: double-quote
31335 # substitution turns \\\\ into \\, and sed turns \\ into \.
31336 sed -n \
31337 "s/'/'\\\\''/g;
31338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31339 ;; #(
31341 # `set' quotes correctly as required by POSIX, so do not add quotes.
31342 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31344 esac |
31345 sort
31347 sed '
31348 /^ac_cv_env_/b end
31349 t clear
31350 :clear
31351 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31352 t end
31353 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31354 :end' >>confcache
31355 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31356 if test -w "$cache_file"; then
31357 if test "x$cache_file" != "x/dev/null"; then
31358 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31359 $as_echo "$as_me: updating cache $cache_file" >&6;}
31360 if test ! -f "$cache_file" || test -h "$cache_file"; then
31361 cat confcache >"$cache_file"
31362 else
31363 case $cache_file in #(
31364 */* | ?:*)
31365 mv -f confcache "$cache_file"$$ &&
31366 mv -f "$cache_file"$$ "$cache_file" ;; #(
31368 mv -f confcache "$cache_file" ;;
31369 esac
31372 else
31373 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31374 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31377 rm -f confcache
31379 if test ${multilib} = yes; then
31380 multilib_arg="--enable-multilib"
31381 else
31382 multilib_arg=
31385 # Write our Makefile and spec file.
31386 ac_config_files="$ac_config_files Makefile libgfortran.spec"
31388 cat >confcache <<\_ACEOF
31389 # This file is a shell script that caches the results of configure
31390 # tests run on this system so they can be shared between configure
31391 # scripts and configure runs, see configure's option --config-cache.
31392 # It is not useful on other systems. If it contains results you don't
31393 # want to keep, you may remove or edit it.
31395 # config.status only pays attention to the cache file if you give it
31396 # the --recheck option to rerun configure.
31398 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31399 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31400 # following values.
31402 _ACEOF
31404 # The following way of writing the cache mishandles newlines in values,
31405 # but we know of no workaround that is simple, portable, and efficient.
31406 # So, we kill variables containing newlines.
31407 # Ultrix sh set writes to stderr and can't be redirected directly,
31408 # and sets the high bit in the cache file unless we assign to the vars.
31410 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31411 eval ac_val=\$$ac_var
31412 case $ac_val in #(
31413 *${as_nl}*)
31414 case $ac_var in #(
31415 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31416 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31417 esac
31418 case $ac_var in #(
31419 _ | IFS | as_nl) ;; #(
31420 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31421 *) { eval $ac_var=; unset $ac_var;} ;;
31422 esac ;;
31423 esac
31424 done
31426 (set) 2>&1 |
31427 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31428 *${as_nl}ac_space=\ *)
31429 # `set' does not quote correctly, so add quotes: double-quote
31430 # substitution turns \\\\ into \\, and sed turns \\ into \.
31431 sed -n \
31432 "s/'/'\\\\''/g;
31433 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31434 ;; #(
31436 # `set' quotes correctly as required by POSIX, so do not add quotes.
31437 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31439 esac |
31440 sort
31442 sed '
31443 /^ac_cv_env_/b end
31444 t clear
31445 :clear
31446 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31447 t end
31448 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31449 :end' >>confcache
31450 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31451 if test -w "$cache_file"; then
31452 if test "x$cache_file" != "x/dev/null"; then
31453 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31454 $as_echo "$as_me: updating cache $cache_file" >&6;}
31455 if test ! -f "$cache_file" || test -h "$cache_file"; then
31456 cat confcache >"$cache_file"
31457 else
31458 case $cache_file in #(
31459 */* | ?:*)
31460 mv -f confcache "$cache_file"$$ &&
31461 mv -f "$cache_file"$$ "$cache_file" ;; #(
31463 mv -f confcache "$cache_file" ;;
31464 esac
31467 else
31468 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31469 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31472 rm -f confcache
31474 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31475 # Let make expand exec_prefix.
31476 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31478 DEFS=-DHAVE_CONFIG_H
31480 ac_libobjs=
31481 ac_ltlibobjs=
31483 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31484 # 1. Remove the extension, and $U if already installed.
31485 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31486 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31487 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31488 # will be set to the directory where LIBOBJS objects are built.
31489 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31490 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31491 done
31492 LIBOBJS=$ac_libobjs
31494 LTLIBOBJS=$ac_ltlibobjs
31497 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
31498 as_fn_error $? "conditional \"onestep\" was never defined.
31499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31502 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31503 if test -n "$am_sleep_pid"; then
31504 # Hide warnings about reused PIDs.
31505 wait $am_sleep_pid 2>/dev/null
31507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31508 $as_echo "done" >&6; }
31509 if test -n "$EXEEXT"; then
31510 am__EXEEXT_TRUE=
31511 am__EXEEXT_FALSE='#'
31512 else
31513 am__EXEEXT_TRUE='#'
31514 am__EXEEXT_FALSE=
31517 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31518 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31521 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31522 as_fn_error $? "conditional \"AMDEP\" was never defined.
31523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31525 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31526 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31529 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31530 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31533 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31534 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
31535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31537 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31538 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31541 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31542 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31545 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31546 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31549 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31550 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
31551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31553 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31554 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
31555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31557 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31558 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
31559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31561 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31562 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31565 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31566 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31570 : "${CONFIG_STATUS=./config.status}"
31571 ac_write_fail=0
31572 ac_clean_files_save=$ac_clean_files
31573 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31575 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31576 as_write_fail=0
31577 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31578 #! $SHELL
31579 # Generated by $as_me.
31580 # Run this file to recreate the current configuration.
31581 # Compiler output produced by configure, useful for debugging
31582 # configure, is in config.log if it exists.
31584 debug=false
31585 ac_cs_recheck=false
31586 ac_cs_silent=false
31588 SHELL=\${CONFIG_SHELL-$SHELL}
31589 export SHELL
31590 _ASEOF
31591 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31592 ## -------------------- ##
31593 ## M4sh Initialization. ##
31594 ## -------------------- ##
31596 # Be more Bourne compatible
31597 DUALCASE=1; export DUALCASE # for MKS sh
31598 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31599 emulate sh
31600 NULLCMD=:
31601 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31602 # is contrary to our usage. Disable this feature.
31603 alias -g '${1+"$@"}'='"$@"'
31604 setopt NO_GLOB_SUBST
31605 else
31606 case `(set -o) 2>/dev/null` in #(
31607 *posix*) :
31608 set -o posix ;; #(
31609 *) :
31611 esac
31615 as_nl='
31617 export as_nl
31618 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31619 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31620 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31621 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31622 # Prefer a ksh shell builtin over an external printf program on Solaris,
31623 # but without wasting forks for bash or zsh.
31624 if test -z "$BASH_VERSION$ZSH_VERSION" \
31625 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31626 as_echo='print -r --'
31627 as_echo_n='print -rn --'
31628 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31629 as_echo='printf %s\n'
31630 as_echo_n='printf %s'
31631 else
31632 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31633 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31634 as_echo_n='/usr/ucb/echo -n'
31635 else
31636 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31637 as_echo_n_body='eval
31638 arg=$1;
31639 case $arg in #(
31640 *"$as_nl"*)
31641 expr "X$arg" : "X\\(.*\\)$as_nl";
31642 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31643 esac;
31644 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31646 export as_echo_n_body
31647 as_echo_n='sh -c $as_echo_n_body as_echo'
31649 export as_echo_body
31650 as_echo='sh -c $as_echo_body as_echo'
31653 # The user is always right.
31654 if test "${PATH_SEPARATOR+set}" != set; then
31655 PATH_SEPARATOR=:
31656 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31657 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31658 PATH_SEPARATOR=';'
31663 # IFS
31664 # We need space, tab and new line, in precisely that order. Quoting is
31665 # there to prevent editors from complaining about space-tab.
31666 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31667 # splitting by setting IFS to empty value.)
31668 IFS=" "" $as_nl"
31670 # Find who we are. Look in the path if we contain no directory separator.
31671 as_myself=
31672 case $0 in #((
31673 *[\\/]* ) as_myself=$0 ;;
31674 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31675 for as_dir in $PATH
31677 IFS=$as_save_IFS
31678 test -z "$as_dir" && as_dir=.
31679 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31680 done
31681 IFS=$as_save_IFS
31684 esac
31685 # We did not find ourselves, most probably we were run as `sh COMMAND'
31686 # in which case we are not to be found in the path.
31687 if test "x$as_myself" = x; then
31688 as_myself=$0
31690 if test ! -f "$as_myself"; then
31691 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31692 exit 1
31695 # Unset variables that we do not need and which cause bugs (e.g. in
31696 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31697 # suppresses any "Segmentation fault" message there. '((' could
31698 # trigger a bug in pdksh 5.2.14.
31699 for as_var in BASH_ENV ENV MAIL MAILPATH
31700 do eval test x\${$as_var+set} = xset \
31701 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31702 done
31703 PS1='$ '
31704 PS2='> '
31705 PS4='+ '
31707 # NLS nuisances.
31708 LC_ALL=C
31709 export LC_ALL
31710 LANGUAGE=C
31711 export LANGUAGE
31713 # CDPATH.
31714 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31717 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31718 # ----------------------------------------
31719 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31720 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31721 # script with STATUS, using 1 if that was 0.
31722 as_fn_error ()
31724 as_status=$1; test $as_status -eq 0 && as_status=1
31725 if test "$4"; then
31726 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31727 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31729 $as_echo "$as_me: error: $2" >&2
31730 as_fn_exit $as_status
31731 } # as_fn_error
31734 # as_fn_set_status STATUS
31735 # -----------------------
31736 # Set $? to STATUS, without forking.
31737 as_fn_set_status ()
31739 return $1
31740 } # as_fn_set_status
31742 # as_fn_exit STATUS
31743 # -----------------
31744 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31745 as_fn_exit ()
31747 set +e
31748 as_fn_set_status $1
31749 exit $1
31750 } # as_fn_exit
31752 # as_fn_unset VAR
31753 # ---------------
31754 # Portably unset VAR.
31755 as_fn_unset ()
31757 { eval $1=; unset $1;}
31759 as_unset=as_fn_unset
31760 # as_fn_append VAR VALUE
31761 # ----------------------
31762 # Append the text in VALUE to the end of the definition contained in VAR. Take
31763 # advantage of any shell optimizations that allow amortized linear growth over
31764 # repeated appends, instead of the typical quadratic growth present in naive
31765 # implementations.
31766 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31767 eval 'as_fn_append ()
31769 eval $1+=\$2
31771 else
31772 as_fn_append ()
31774 eval $1=\$$1\$2
31776 fi # as_fn_append
31778 # as_fn_arith ARG...
31779 # ------------------
31780 # Perform arithmetic evaluation on the ARGs, and store the result in the
31781 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31782 # must be portable across $(()) and expr.
31783 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31784 eval 'as_fn_arith ()
31786 as_val=$(( $* ))
31788 else
31789 as_fn_arith ()
31791 as_val=`expr "$@" || test $? -eq 1`
31793 fi # as_fn_arith
31796 if expr a : '\(a\)' >/dev/null 2>&1 &&
31797 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31798 as_expr=expr
31799 else
31800 as_expr=false
31803 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31804 as_basename=basename
31805 else
31806 as_basename=false
31809 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31810 as_dirname=dirname
31811 else
31812 as_dirname=false
31815 as_me=`$as_basename -- "$0" ||
31816 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31817 X"$0" : 'X\(//\)$' \| \
31818 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31819 $as_echo X/"$0" |
31820 sed '/^.*\/\([^/][^/]*\)\/*$/{
31821 s//\1/
31824 /^X\/\(\/\/\)$/{
31825 s//\1/
31828 /^X\/\(\/\).*/{
31829 s//\1/
31832 s/.*/./; q'`
31834 # Avoid depending upon Character Ranges.
31835 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31836 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31837 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31838 as_cr_digits='0123456789'
31839 as_cr_alnum=$as_cr_Letters$as_cr_digits
31841 ECHO_C= ECHO_N= ECHO_T=
31842 case `echo -n x` in #(((((
31843 -n*)
31844 case `echo 'xy\c'` in
31845 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
31846 xy) ECHO_C='\c';;
31847 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
31848 ECHO_T=' ';;
31849 esac;;
31851 ECHO_N='-n';;
31852 esac
31854 rm -f conf$$ conf$$.exe conf$$.file
31855 if test -d conf$$.dir; then
31856 rm -f conf$$.dir/conf$$.file
31857 else
31858 rm -f conf$$.dir
31859 mkdir conf$$.dir 2>/dev/null
31861 if (echo >conf$$.file) 2>/dev/null; then
31862 if ln -s conf$$.file conf$$ 2>/dev/null; then
31863 as_ln_s='ln -s'
31864 # ... but there are two gotchas:
31865 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31866 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31867 # In both cases, we have to default to `cp -pR'.
31868 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31869 as_ln_s='cp -pR'
31870 elif ln conf$$.file conf$$ 2>/dev/null; then
31871 as_ln_s=ln
31872 else
31873 as_ln_s='cp -pR'
31875 else
31876 as_ln_s='cp -pR'
31878 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31879 rmdir conf$$.dir 2>/dev/null
31882 # as_fn_mkdir_p
31883 # -------------
31884 # Create "$as_dir" as a directory, including parents if necessary.
31885 as_fn_mkdir_p ()
31888 case $as_dir in #(
31889 -*) as_dir=./$as_dir;;
31890 esac
31891 test -d "$as_dir" || eval $as_mkdir_p || {
31892 as_dirs=
31893 while :; do
31894 case $as_dir in #(
31895 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31896 *) as_qdir=$as_dir;;
31897 esac
31898 as_dirs="'$as_qdir' $as_dirs"
31899 as_dir=`$as_dirname -- "$as_dir" ||
31900 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31901 X"$as_dir" : 'X\(//\)[^/]' \| \
31902 X"$as_dir" : 'X\(//\)$' \| \
31903 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31904 $as_echo X"$as_dir" |
31905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31906 s//\1/
31909 /^X\(\/\/\)[^/].*/{
31910 s//\1/
31913 /^X\(\/\/\)$/{
31914 s//\1/
31917 /^X\(\/\).*/{
31918 s//\1/
31921 s/.*/./; q'`
31922 test -d "$as_dir" && break
31923 done
31924 test -z "$as_dirs" || eval "mkdir $as_dirs"
31925 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31928 } # as_fn_mkdir_p
31929 if mkdir -p . 2>/dev/null; then
31930 as_mkdir_p='mkdir -p "$as_dir"'
31931 else
31932 test -d ./-p && rmdir ./-p
31933 as_mkdir_p=false
31937 # as_fn_executable_p FILE
31938 # -----------------------
31939 # Test if FILE is an executable regular file.
31940 as_fn_executable_p ()
31942 test -f "$1" && test -x "$1"
31943 } # as_fn_executable_p
31944 as_test_x='test -x'
31945 as_executable_p=as_fn_executable_p
31947 # Sed expression to map a string onto a valid CPP name.
31948 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31950 # Sed expression to map a string onto a valid variable name.
31951 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31954 exec 6>&1
31955 ## ----------------------------------- ##
31956 ## Main body of $CONFIG_STATUS script. ##
31957 ## ----------------------------------- ##
31958 _ASEOF
31959 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
31961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31962 # Save the log message, to keep $0 and so on meaningful, and to
31963 # report actual input values of CONFIG_FILES etc. instead of their
31964 # values after options handling.
31965 ac_log="
31966 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
31967 generated by GNU Autoconf 2.69. Invocation command line was
31969 CONFIG_FILES = $CONFIG_FILES
31970 CONFIG_HEADERS = $CONFIG_HEADERS
31971 CONFIG_LINKS = $CONFIG_LINKS
31972 CONFIG_COMMANDS = $CONFIG_COMMANDS
31973 $ $0 $@
31975 on `(hostname || uname -n) 2>/dev/null | sed 1q`
31978 _ACEOF
31980 case $ac_config_files in *"
31981 "*) set x $ac_config_files; shift; ac_config_files=$*;;
31982 esac
31984 case $ac_config_headers in *"
31985 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
31986 esac
31989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31990 # Files that config.status was made for.
31991 config_files="$ac_config_files"
31992 config_headers="$ac_config_headers"
31993 config_commands="$ac_config_commands"
31995 _ACEOF
31997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31998 ac_cs_usage="\
31999 \`$as_me' instantiates files and other configuration actions
32000 from templates according to the current configuration. Unless the files
32001 and actions are specified as TAGs, all are instantiated by default.
32003 Usage: $0 [OPTION]... [TAG]...
32005 -h, --help print this help, then exit
32006 -V, --version print version number and configuration settings, then exit
32007 --config print configuration, then exit
32008 -q, --quiet, --silent
32009 do not print progress messages
32010 -d, --debug don't remove temporary files
32011 --recheck update $as_me by reconfiguring in the same conditions
32012 --file=FILE[:TEMPLATE]
32013 instantiate the configuration file FILE
32014 --header=FILE[:TEMPLATE]
32015 instantiate the configuration header FILE
32017 Configuration files:
32018 $config_files
32020 Configuration headers:
32021 $config_headers
32023 Configuration commands:
32024 $config_commands
32026 Report bugs to the package provider.
32027 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32028 General help using GNU software: <http://www.gnu.org/gethelp/>."
32030 _ACEOF
32031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32032 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32033 ac_cs_version="\\
32034 GNU Fortran Runtime Library config.status 0.3
32035 configured by $0, generated by GNU Autoconf 2.69,
32036 with options \\"\$ac_cs_config\\"
32038 Copyright (C) 2012 Free Software Foundation, Inc.
32039 This config.status script is free software; the Free Software Foundation
32040 gives unlimited permission to copy, distribute and modify it."
32042 ac_pwd='$ac_pwd'
32043 srcdir='$srcdir'
32044 INSTALL='$INSTALL'
32045 MKDIR_P='$MKDIR_P'
32046 AWK='$AWK'
32047 test -n "\$AWK" || AWK=awk
32048 _ACEOF
32050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32051 # The default lists apply if the user does not specify any file.
32052 ac_need_defaults=:
32053 while test $# != 0
32055 case $1 in
32056 --*=?*)
32057 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32058 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32059 ac_shift=:
32061 --*=)
32062 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32063 ac_optarg=
32064 ac_shift=:
32067 ac_option=$1
32068 ac_optarg=$2
32069 ac_shift=shift
32071 esac
32073 case $ac_option in
32074 # Handling of the options.
32075 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32076 ac_cs_recheck=: ;;
32077 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32078 $as_echo "$ac_cs_version"; exit ;;
32079 --config | --confi | --conf | --con | --co | --c )
32080 $as_echo "$ac_cs_config"; exit ;;
32081 --debug | --debu | --deb | --de | --d | -d )
32082 debug=: ;;
32083 --file | --fil | --fi | --f )
32084 $ac_shift
32085 case $ac_optarg in
32086 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32087 '') as_fn_error $? "missing file argument" ;;
32088 esac
32089 as_fn_append CONFIG_FILES " '$ac_optarg'"
32090 ac_need_defaults=false;;
32091 --header | --heade | --head | --hea )
32092 $ac_shift
32093 case $ac_optarg in
32094 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32095 esac
32096 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32097 ac_need_defaults=false;;
32098 --he | --h)
32099 # Conflict between --help and --header
32100 as_fn_error $? "ambiguous option: \`$1'
32101 Try \`$0 --help' for more information.";;
32102 --help | --hel | -h )
32103 $as_echo "$ac_cs_usage"; exit ;;
32104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32105 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32106 ac_cs_silent=: ;;
32108 # This is an error.
32109 -*) as_fn_error $? "unrecognized option: \`$1'
32110 Try \`$0 --help' for more information." ;;
32112 *) as_fn_append ac_config_targets " $1"
32113 ac_need_defaults=false ;;
32115 esac
32116 shift
32117 done
32119 ac_configure_extra_args=
32121 if $ac_cs_silent; then
32122 exec 6>/dev/null
32123 ac_configure_extra_args="$ac_configure_extra_args --silent"
32126 _ACEOF
32127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32128 if \$ac_cs_recheck; then
32129 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32130 shift
32131 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32132 CONFIG_SHELL='$SHELL'
32133 export CONFIG_SHELL
32134 exec "\$@"
32137 _ACEOF
32138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32139 exec 5>>config.log
32141 echo
32142 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32143 ## Running $as_me. ##
32144 _ASBOX
32145 $as_echo "$ac_log"
32146 } >&5
32148 _ACEOF
32149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32151 # INIT-COMMANDS
32154 srcdir="$srcdir"
32155 host="$host"
32156 target="$target"
32157 with_multisubdir="$with_multisubdir"
32158 with_multisrctop="$with_multisrctop"
32159 with_target_subdir="$with_target_subdir"
32160 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32161 multi_basedir="$multi_basedir"
32162 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32163 CC="$CC"
32164 CXX="$CXX"
32165 GFORTRAN="$GFORTRAN"
32166 GDC="$GDC"
32167 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32170 # The HP-UX ksh and POSIX shell print the target directory to stdout
32171 # if CDPATH is set.
32172 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32174 sed_quote_subst='$sed_quote_subst'
32175 double_quote_subst='$double_quote_subst'
32176 delay_variable_subst='$delay_variable_subst'
32177 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32178 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32179 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32180 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32181 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32182 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32183 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32184 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32185 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32186 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32187 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32188 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32189 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32190 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32191 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32192 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32193 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32194 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32195 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32196 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32197 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32198 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32199 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32200 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32201 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32202 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32203 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32204 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32205 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32206 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32207 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32208 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32209 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32210 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32211 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32212 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32213 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32214 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32215 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32216 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32217 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32218 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32219 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32220 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32221 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32222 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32223 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32224 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32225 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"`'
32226 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32227 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32228 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32229 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32230 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32231 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32232 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32233 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32234 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32235 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32236 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32237 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32238 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32239 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32240 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32241 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32242 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32243 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32244 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32245 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32246 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32247 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32248 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32249 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32250 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32251 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32252 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32253 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32254 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32255 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32256 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32257 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32258 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32259 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32260 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32261 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32262 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32263 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32264 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32265 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32266 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32267 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32268 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32269 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32270 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32271 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32272 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32273 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32274 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32275 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32276 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32277 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32278 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32279 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32280 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32281 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32282 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32283 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32284 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32285 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32286 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32287 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32288 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32289 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32290 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32291 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32292 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32293 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32294 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32295 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32296 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32297 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32298 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32299 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32300 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32301 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32302 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32303 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32304 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32305 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32306 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32307 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32308 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32309 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32310 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32311 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32312 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32313 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32314 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32315 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32316 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32317 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32318 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32319 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32320 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32321 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32322 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32323 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32324 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32325 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32326 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32327 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32328 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32329 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32330 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32331 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32332 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32333 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32334 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32335 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32336 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32337 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32338 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32339 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32340 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32341 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32342 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32343 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32344 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32345 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32346 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32347 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32348 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32349 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32350 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32351 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32353 LTCC='$LTCC'
32354 LTCFLAGS='$LTCFLAGS'
32355 compiler='$compiler_DEFAULT'
32357 # A function that is used when there is no print builtin or printf.
32358 func_fallback_echo ()
32360 eval 'cat <<_LTECHO_EOF
32362 _LTECHO_EOF'
32365 # Quote evaled strings.
32366 for var in SED \
32367 GREP \
32368 EGREP \
32369 FGREP \
32370 SHELL \
32371 ECHO \
32372 LD \
32373 NM \
32374 LN_S \
32375 lt_SP2NL \
32376 lt_NL2SP \
32377 reload_flag \
32378 OBJDUMP \
32379 deplibs_check_method \
32380 file_magic_cmd \
32381 AR \
32382 AR_FLAGS \
32383 STRIP \
32384 RANLIB \
32385 CC \
32386 CFLAGS \
32387 compiler \
32388 lt_cv_sys_global_symbol_pipe \
32389 lt_cv_sys_global_symbol_to_cdecl \
32390 lt_cv_sys_global_symbol_to_c_name_address \
32391 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32392 lt_prog_compiler_no_builtin_flag \
32393 lt_prog_compiler_wl \
32394 lt_prog_compiler_pic \
32395 lt_prog_compiler_static \
32396 lt_cv_prog_compiler_c_o \
32397 need_locks \
32398 DSYMUTIL \
32399 NMEDIT \
32400 LIPO \
32401 OTOOL \
32402 OTOOL64 \
32403 shrext_cmds \
32404 export_dynamic_flag_spec \
32405 whole_archive_flag_spec \
32406 compiler_needs_object \
32407 with_gnu_ld \
32408 allow_undefined_flag \
32409 no_undefined_flag \
32410 hardcode_libdir_flag_spec \
32411 hardcode_libdir_flag_spec_ld \
32412 hardcode_libdir_separator \
32413 fix_srcfile_path \
32414 exclude_expsyms \
32415 include_expsyms \
32416 file_list_spec \
32417 variables_saved_for_relink \
32418 libname_spec \
32419 library_names_spec \
32420 soname_spec \
32421 install_override_mode \
32422 finish_eval \
32423 old_striplib \
32424 striplib \
32425 compiler_lib_search_dirs \
32426 predep_objects \
32427 postdep_objects \
32428 predeps \
32429 postdeps \
32430 compiler_lib_search_path \
32431 LD_FC \
32432 reload_flag_FC \
32433 compiler_FC \
32434 lt_prog_compiler_no_builtin_flag_FC \
32435 lt_prog_compiler_wl_FC \
32436 lt_prog_compiler_pic_FC \
32437 lt_prog_compiler_static_FC \
32438 lt_cv_prog_compiler_c_o_FC \
32439 export_dynamic_flag_spec_FC \
32440 whole_archive_flag_spec_FC \
32441 compiler_needs_object_FC \
32442 with_gnu_ld_FC \
32443 allow_undefined_flag_FC \
32444 no_undefined_flag_FC \
32445 hardcode_libdir_flag_spec_FC \
32446 hardcode_libdir_flag_spec_ld_FC \
32447 hardcode_libdir_separator_FC \
32448 fix_srcfile_path_FC \
32449 exclude_expsyms_FC \
32450 include_expsyms_FC \
32451 file_list_spec_FC \
32452 compiler_lib_search_dirs_FC \
32453 predep_objects_FC \
32454 postdep_objects_FC \
32455 predeps_FC \
32456 postdeps_FC \
32457 compiler_lib_search_path_FC; do
32458 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32459 *[\\\\\\\`\\"\\\$]*)
32460 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32463 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32465 esac
32466 done
32468 # Double-quote double-evaled strings.
32469 for var in reload_cmds \
32470 old_postinstall_cmds \
32471 old_postuninstall_cmds \
32472 old_archive_cmds \
32473 extract_expsyms_cmds \
32474 old_archive_from_new_cmds \
32475 old_archive_from_expsyms_cmds \
32476 archive_cmds \
32477 archive_expsym_cmds \
32478 module_cmds \
32479 module_expsym_cmds \
32480 export_symbols_cmds \
32481 prelink_cmds \
32482 postinstall_cmds \
32483 postuninstall_cmds \
32484 finish_cmds \
32485 sys_lib_search_path_spec \
32486 sys_lib_dlsearch_path_spec \
32487 reload_cmds_FC \
32488 old_archive_cmds_FC \
32489 old_archive_from_new_cmds_FC \
32490 old_archive_from_expsyms_cmds_FC \
32491 archive_cmds_FC \
32492 archive_expsym_cmds_FC \
32493 module_cmds_FC \
32494 module_expsym_cmds_FC \
32495 export_symbols_cmds_FC \
32496 prelink_cmds_FC; do
32497 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32498 *[\\\\\\\`\\"\\\$]*)
32499 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32502 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32504 esac
32505 done
32507 ac_aux_dir='$ac_aux_dir'
32508 xsi_shell='$xsi_shell'
32509 lt_shell_append='$lt_shell_append'
32511 # See if we are running on zsh, and set the options which allow our
32512 # commands through without removal of \ escapes INIT.
32513 if test -n "\${ZSH_VERSION+set}" ; then
32514 setopt NO_GLOB_SUBST
32518 PACKAGE='$PACKAGE'
32519 VERSION='$VERSION'
32520 TIMESTAMP='$TIMESTAMP'
32521 RM='$RM'
32522 ofile='$ofile'
32529 GCC="$GCC"
32530 CC="$CC"
32531 acx_cv_header_stdint="$acx_cv_header_stdint"
32532 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32533 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32534 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32535 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32536 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32537 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32538 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32539 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32540 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32541 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32542 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32543 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32544 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32547 _ACEOF
32549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32551 # Handling of arguments.
32552 for ac_config_target in $ac_config_targets
32554 case $ac_config_target in
32555 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32556 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
32557 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32558 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32559 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
32560 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32561 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
32563 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32564 esac
32565 done
32568 # If the user did not use the arguments to specify the items to instantiate,
32569 # then the envvar interface is used. Set only those that are not.
32570 # We use the long form for the default assignment because of an extremely
32571 # bizarre bug on SunOS 4.1.3.
32572 if $ac_need_defaults; then
32573 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32574 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32575 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32578 # Have a temporary directory for convenience. Make it in the build tree
32579 # simply because there is no reason against having it here, and in addition,
32580 # creating and moving files from /tmp can sometimes cause problems.
32581 # Hook for its removal unless debugging.
32582 # Note that there is a small window in which the directory will not be cleaned:
32583 # after its creation but before its name has been assigned to `$tmp'.
32584 $debug ||
32586 tmp= ac_tmp=
32587 trap 'exit_status=$?
32588 : "${ac_tmp:=$tmp}"
32589 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32591 trap 'as_fn_exit 1' 1 2 13 15
32593 # Create a (secure) tmp directory for tmp files.
32596 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32597 test -d "$tmp"
32598 } ||
32600 tmp=./conf$$-$RANDOM
32601 (umask 077 && mkdir "$tmp")
32602 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32603 ac_tmp=$tmp
32605 # Set up the scripts for CONFIG_FILES section.
32606 # No need to generate them if there are no CONFIG_FILES.
32607 # This happens for instance with `./config.status config.h'.
32608 if test -n "$CONFIG_FILES"; then
32611 ac_cr=`echo X | tr X '\015'`
32612 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32613 # But we know of no other shell where ac_cr would be empty at this
32614 # point, so we can use a bashism as a fallback.
32615 if test "x$ac_cr" = x; then
32616 eval ac_cr=\$\'\\r\'
32618 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32619 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32620 ac_cs_awk_cr='\\r'
32621 else
32622 ac_cs_awk_cr=$ac_cr
32625 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32626 _ACEOF
32630 echo "cat >conf$$subs.awk <<_ACEOF" &&
32631 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32632 echo "_ACEOF"
32633 } >conf$$subs.sh ||
32634 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32635 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32636 ac_delim='%!_!# '
32637 for ac_last_try in false false false false false :; do
32638 . ./conf$$subs.sh ||
32639 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32641 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32642 if test $ac_delim_n = $ac_delim_num; then
32643 break
32644 elif $ac_last_try; then
32645 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32646 else
32647 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32649 done
32650 rm -f conf$$subs.sh
32652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32653 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
32654 _ACEOF
32655 sed -n '
32657 s/^/S["/; s/!.*/"]=/
32660 s/^[^!]*!//
32661 :repl
32662 t repl
32663 s/'"$ac_delim"'$//
32664 t delim
32667 s/\(.\{148\}\)..*/\1/
32668 t more1
32669 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32672 b repl
32673 :more1
32674 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32677 s/.\{148\}//
32678 t nl
32679 :delim
32681 s/\(.\{148\}\)..*/\1/
32682 t more2
32683 s/["\\]/\\&/g; s/^/"/; s/$/"/
32686 :more2
32687 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32690 s/.\{148\}//
32691 t delim
32692 ' <conf$$subs.awk | sed '
32693 /^[^""]/{
32695 s/\n//
32697 ' >>$CONFIG_STATUS || ac_write_fail=1
32698 rm -f conf$$subs.awk
32699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32700 _ACAWK
32701 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
32702 for (key in S) S_is_set[key] = 1
32703 FS = "\a"
32707 line = $ 0
32708 nfields = split(line, field, "@")
32709 substed = 0
32710 len = length(field[1])
32711 for (i = 2; i < nfields; i++) {
32712 key = field[i]
32713 keylen = length(key)
32714 if (S_is_set[key]) {
32715 value = S[key]
32716 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32717 len += length(value) + length(field[++i])
32718 substed = 1
32719 } else
32720 len += 1 + keylen
32723 print line
32726 _ACAWK
32727 _ACEOF
32728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32729 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32730 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32731 else
32733 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
32734 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32735 _ACEOF
32737 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32738 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32739 # trailing colons and then remove the whole line if VPATH becomes empty
32740 # (actually we leave an empty line to preserve line numbers).
32741 if test "x$srcdir" = x.; then
32742 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32744 s///
32745 s/^/:/
32746 s/[ ]*$/:/
32747 s/:\$(srcdir):/:/g
32748 s/:\${srcdir}:/:/g
32749 s/:@srcdir@:/:/g
32750 s/^:*//
32751 s/:*$//
32753 s/\(=[ ]*\).*/\1/
32755 s/\n//
32756 s/^[^=]*=[ ]*$//
32760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32761 fi # test -n "$CONFIG_FILES"
32763 # Set up the scripts for CONFIG_HEADERS section.
32764 # No need to generate them if there are no CONFIG_HEADERS.
32765 # This happens for instance with `./config.status Makefile'.
32766 if test -n "$CONFIG_HEADERS"; then
32767 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
32768 BEGIN {
32769 _ACEOF
32771 # Transform confdefs.h into an awk script `defines.awk', embedded as
32772 # here-document in config.status, that substitutes the proper values into
32773 # config.h.in to produce config.h.
32775 # Create a delimiter string that does not exist in confdefs.h, to ease
32776 # handling of long lines.
32777 ac_delim='%!_!# '
32778 for ac_last_try in false false :; do
32779 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32780 if test -z "$ac_tt"; then
32781 break
32782 elif $ac_last_try; then
32783 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32784 else
32785 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32787 done
32789 # For the awk script, D is an array of macro values keyed by name,
32790 # likewise P contains macro parameters if any. Preserve backslash
32791 # newline sequences.
32793 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32794 sed -n '
32795 s/.\{148\}/&'"$ac_delim"'/g
32796 t rset
32797 :rset
32798 s/^[ ]*#[ ]*define[ ][ ]*/ /
32799 t def
32801 :def
32802 s/\\$//
32803 t bsnl
32804 s/["\\]/\\&/g
32805 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32806 D["\1"]=" \3"/p
32807 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32809 :bsnl
32810 s/["\\]/\\&/g
32811 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32812 D["\1"]=" \3\\\\\\n"\\/p
32813 t cont
32814 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32815 t cont
32817 :cont
32819 s/.\{148\}/&'"$ac_delim"'/g
32820 t clear
32821 :clear
32822 s/\\$//
32823 t bsnlc
32824 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32826 :bsnlc
32827 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32828 b cont
32829 ' <confdefs.h | sed '
32830 s/'"$ac_delim"'/"\\\
32831 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32834 for (key in D) D_is_set[key] = 1
32835 FS = "\a"
32837 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32838 line = \$ 0
32839 split(line, arg, " ")
32840 if (arg[1] == "#") {
32841 defundef = arg[2]
32842 mac1 = arg[3]
32843 } else {
32844 defundef = substr(arg[1], 2)
32845 mac1 = arg[2]
32847 split(mac1, mac2, "(") #)
32848 macro = mac2[1]
32849 prefix = substr(line, 1, index(line, defundef) - 1)
32850 if (D_is_set[macro]) {
32851 # Preserve the white space surrounding the "#".
32852 print prefix "define", macro P[macro] D[macro]
32853 next
32854 } else {
32855 # Replace #undef with comments. This is necessary, for example,
32856 # in the case of _POSIX_SOURCE, which is predefined and required
32857 # on some systems where configure will not decide to define it.
32858 if (defundef == "undef") {
32859 print "/*", prefix defundef, macro, "*/"
32860 next
32864 { print }
32865 _ACAWK
32866 _ACEOF
32867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32868 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32869 fi # test -n "$CONFIG_HEADERS"
32872 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32873 shift
32874 for ac_tag
32876 case $ac_tag in
32877 :[FHLC]) ac_mode=$ac_tag; continue;;
32878 esac
32879 case $ac_mode$ac_tag in
32880 :[FHL]*:*);;
32881 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
32882 :[FH]-) ac_tag=-:-;;
32883 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32884 esac
32885 ac_save_IFS=$IFS
32886 IFS=:
32887 set x $ac_tag
32888 IFS=$ac_save_IFS
32889 shift
32890 ac_file=$1
32891 shift
32893 case $ac_mode in
32894 :L) ac_source=$1;;
32895 :[FH])
32896 ac_file_inputs=
32897 for ac_f
32899 case $ac_f in
32900 -) ac_f="$ac_tmp/stdin";;
32901 *) # Look for the file first in the build tree, then in the source tree
32902 # (if the path is not absolute). The absolute path cannot be DOS-style,
32903 # because $ac_f cannot contain `:'.
32904 test -f "$ac_f" ||
32905 case $ac_f in
32906 [\\/$]*) false;;
32907 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32908 esac ||
32909 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32910 esac
32911 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32912 as_fn_append ac_file_inputs " '$ac_f'"
32913 done
32915 # Let's still pretend it is `configure' which instantiates (i.e., don't
32916 # use $as_me), people would be surprised to read:
32917 # /* config.h. Generated by config.status. */
32918 configure_input='Generated from '`
32919 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32920 `' by configure.'
32921 if test x"$ac_file" != x-; then
32922 configure_input="$ac_file. $configure_input"
32923 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32924 $as_echo "$as_me: creating $ac_file" >&6;}
32926 # Neutralize special characters interpreted by sed in replacement strings.
32927 case $configure_input in #(
32928 *\&* | *\|* | *\\* )
32929 ac_sed_conf_input=`$as_echo "$configure_input" |
32930 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32931 *) ac_sed_conf_input=$configure_input;;
32932 esac
32934 case $ac_tag in
32935 *:-:* | *:-) cat >"$ac_tmp/stdin" \
32936 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
32937 esac
32939 esac
32941 ac_dir=`$as_dirname -- "$ac_file" ||
32942 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32943 X"$ac_file" : 'X\(//\)[^/]' \| \
32944 X"$ac_file" : 'X\(//\)$' \| \
32945 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32946 $as_echo X"$ac_file" |
32947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32948 s//\1/
32951 /^X\(\/\/\)[^/].*/{
32952 s//\1/
32955 /^X\(\/\/\)$/{
32956 s//\1/
32959 /^X\(\/\).*/{
32960 s//\1/
32963 s/.*/./; q'`
32964 as_dir="$ac_dir"; as_fn_mkdir_p
32965 ac_builddir=.
32967 case "$ac_dir" in
32968 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32970 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32971 # A ".." for each directory in $ac_dir_suffix.
32972 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32973 case $ac_top_builddir_sub in
32974 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32975 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32976 esac ;;
32977 esac
32978 ac_abs_top_builddir=$ac_pwd
32979 ac_abs_builddir=$ac_pwd$ac_dir_suffix
32980 # for backward compatibility:
32981 ac_top_builddir=$ac_top_build_prefix
32983 case $srcdir in
32984 .) # We are building in place.
32985 ac_srcdir=.
32986 ac_top_srcdir=$ac_top_builddir_sub
32987 ac_abs_top_srcdir=$ac_pwd ;;
32988 [\\/]* | ?:[\\/]* ) # Absolute name.
32989 ac_srcdir=$srcdir$ac_dir_suffix;
32990 ac_top_srcdir=$srcdir
32991 ac_abs_top_srcdir=$srcdir ;;
32992 *) # Relative name.
32993 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
32994 ac_top_srcdir=$ac_top_build_prefix$srcdir
32995 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
32996 esac
32997 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33000 case $ac_mode in
33003 # CONFIG_FILE
33006 case $INSTALL in
33007 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33008 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33009 esac
33010 ac_MKDIR_P=$MKDIR_P
33011 case $MKDIR_P in
33012 [\\/$]* | ?:[\\/]* ) ;;
33013 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33014 esac
33015 _ACEOF
33017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33018 # If the template does not know about datarootdir, expand it.
33019 # FIXME: This hack should be removed a few years after 2.60.
33020 ac_datarootdir_hack=; ac_datarootdir_seen=
33021 ac_sed_dataroot='
33022 /datarootdir/ {
33026 /@datadir@/p
33027 /@docdir@/p
33028 /@infodir@/p
33029 /@localedir@/p
33030 /@mandir@/p'
33031 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33032 *datarootdir*) ac_datarootdir_seen=yes;;
33033 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33035 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33036 _ACEOF
33037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33038 ac_datarootdir_hack='
33039 s&@datadir@&$datadir&g
33040 s&@docdir@&$docdir&g
33041 s&@infodir@&$infodir&g
33042 s&@localedir@&$localedir&g
33043 s&@mandir@&$mandir&g
33044 s&\\\${datarootdir}&$datarootdir&g' ;;
33045 esac
33046 _ACEOF
33048 # Neutralize VPATH when `$srcdir' = `.'.
33049 # Shell code in configure.ac might set extrasub.
33050 # FIXME: do we really want to maintain this feature?
33051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33052 ac_sed_extra="$ac_vpsub
33053 $extrasub
33054 _ACEOF
33055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33057 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33058 s|@configure_input@|$ac_sed_conf_input|;t t
33059 s&@top_builddir@&$ac_top_builddir_sub&;t t
33060 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33061 s&@srcdir@&$ac_srcdir&;t t
33062 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33063 s&@top_srcdir@&$ac_top_srcdir&;t t
33064 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33065 s&@builddir@&$ac_builddir&;t t
33066 s&@abs_builddir@&$ac_abs_builddir&;t t
33067 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33068 s&@INSTALL@&$ac_INSTALL&;t t
33069 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33070 $ac_datarootdir_hack
33072 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33073 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33075 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33076 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33077 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33078 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33080 which seems to be undefined. Please make sure it is defined" >&5
33081 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33082 which seems to be undefined. Please make sure it is defined" >&2;}
33084 rm -f "$ac_tmp/stdin"
33085 case $ac_file in
33086 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33087 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33088 esac \
33089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33093 # CONFIG_HEADER
33095 if test x"$ac_file" != x-; then
33097 $as_echo "/* $configure_input */" \
33098 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33099 } >"$ac_tmp/config.h" \
33100 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33101 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33102 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33103 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33104 else
33105 rm -f "$ac_file"
33106 mv "$ac_tmp/config.h" "$ac_file" \
33107 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33109 else
33110 $as_echo "/* $configure_input */" \
33111 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33112 || as_fn_error $? "could not create -" "$LINENO" 5
33114 # Compute "$ac_file"'s index in $config_headers.
33115 _am_arg="$ac_file"
33116 _am_stamp_count=1
33117 for _am_header in $config_headers :; do
33118 case $_am_header in
33119 $_am_arg | $_am_arg:* )
33120 break ;;
33122 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33123 esac
33124 done
33125 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33126 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33127 X"$_am_arg" : 'X\(//\)[^/]' \| \
33128 X"$_am_arg" : 'X\(//\)$' \| \
33129 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33130 $as_echo X"$_am_arg" |
33131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33132 s//\1/
33135 /^X\(\/\/\)[^/].*/{
33136 s//\1/
33139 /^X\(\/\/\)$/{
33140 s//\1/
33143 /^X\(\/\).*/{
33144 s//\1/
33147 s/.*/./; q'`/stamp-h$_am_stamp_count
33150 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33151 $as_echo "$as_me: executing $ac_file commands" >&6;}
33153 esac
33156 case $ac_file$ac_mode in
33157 "default-1":C)
33158 # Only add multilib support code if we just rebuilt the top-level
33159 # Makefile.
33160 case " $CONFIG_FILES " in
33161 *" Makefile "*)
33162 ac_file=Makefile . ${multi_basedir}/config-ml.in
33164 esac ;;
33165 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33166 # Older Autoconf quotes --file arguments for eval, but not when files
33167 # are listed without --file. Let's play safe and only enable the eval
33168 # if we detect the quoting.
33169 case $CONFIG_FILES in
33170 *\'*) eval set x "$CONFIG_FILES" ;;
33171 *) set x $CONFIG_FILES ;;
33172 esac
33173 shift
33174 for mf
33176 # Strip MF so we end up with the name of the file.
33177 mf=`echo "$mf" | sed -e 's/:.*$//'`
33178 # Check whether this is an Automake generated Makefile or not.
33179 # We used to match only the files named 'Makefile.in', but
33180 # some people rename them; so instead we look at the file content.
33181 # Grep'ing the first line is not enough: some people post-process
33182 # each Makefile.in and add a new line on top of each file to say so.
33183 # Grep'ing the whole file is not good either: AIX grep has a line
33184 # limit of 2048, but all sed's we know have understand at least 4000.
33185 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33186 dirpart=`$as_dirname -- "$mf" ||
33187 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33188 X"$mf" : 'X\(//\)[^/]' \| \
33189 X"$mf" : 'X\(//\)$' \| \
33190 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33191 $as_echo X"$mf" |
33192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33193 s//\1/
33196 /^X\(\/\/\)[^/].*/{
33197 s//\1/
33200 /^X\(\/\/\)$/{
33201 s//\1/
33204 /^X\(\/\).*/{
33205 s//\1/
33208 s/.*/./; q'`
33209 else
33210 continue
33212 # Extract the definition of DEPDIR, am__include, and am__quote
33213 # from the Makefile without running 'make'.
33214 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33215 test -z "$DEPDIR" && continue
33216 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33217 test -z "$am__include" && continue
33218 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33219 # Find all dependency output files, they are included files with
33220 # $(DEPDIR) in their names. We invoke sed twice because it is the
33221 # simplest approach to changing $(DEPDIR) to its actual value in the
33222 # expansion.
33223 for file in `sed -n "
33224 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33225 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33226 # Make sure the directory exists.
33227 test -f "$dirpart/$file" && continue
33228 fdir=`$as_dirname -- "$file" ||
33229 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33230 X"$file" : 'X\(//\)[^/]' \| \
33231 X"$file" : 'X\(//\)$' \| \
33232 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33233 $as_echo X"$file" |
33234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33235 s//\1/
33238 /^X\(\/\/\)[^/].*/{
33239 s//\1/
33242 /^X\(\/\/\)$/{
33243 s//\1/
33246 /^X\(\/\).*/{
33247 s//\1/
33250 s/.*/./; q'`
33251 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33252 # echo "creating $dirpart/$file"
33253 echo '# dummy' > "$dirpart/$file"
33254 done
33255 done
33258 "libtool":C)
33260 # See if we are running on zsh, and set the options which allow our
33261 # commands through without removal of \ escapes.
33262 if test -n "${ZSH_VERSION+set}" ; then
33263 setopt NO_GLOB_SUBST
33266 cfgfile="${ofile}T"
33267 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33268 $RM "$cfgfile"
33270 cat <<_LT_EOF >> "$cfgfile"
33271 #! $SHELL
33273 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33274 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33275 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33276 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33278 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33279 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33280 # Written by Gordon Matzigkeit, 1996
33282 # This file is part of GNU Libtool.
33284 # GNU Libtool is free software; you can redistribute it and/or
33285 # modify it under the terms of the GNU General Public License as
33286 # published by the Free Software Foundation; either version 2 of
33287 # the License, or (at your option) any later version.
33289 # As a special exception to the GNU General Public License,
33290 # if you distribute this file as part of a program or library that
33291 # is built using GNU Libtool, you may include this file under the
33292 # same distribution terms that you use for the rest of that program.
33294 # GNU Libtool is distributed in the hope that it will be useful,
33295 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33296 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33297 # GNU General Public License for more details.
33299 # You should have received a copy of the GNU General Public License
33300 # along with GNU Libtool; see the file COPYING. If not, a copy
33301 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33302 # obtained by writing to the Free Software Foundation, Inc.,
33303 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33306 # The names of the tagged configurations supported by this script.
33307 available_tags="FC "
33309 # ### BEGIN LIBTOOL CONFIG
33311 # A sed program that does not truncate output.
33312 SED=$lt_SED
33314 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33315 Xsed="\$SED -e 1s/^X//"
33317 # A grep program that handles long lines.
33318 GREP=$lt_GREP
33320 # An ERE matcher.
33321 EGREP=$lt_EGREP
33323 # A literal string matcher.
33324 FGREP=$lt_FGREP
33326 # Shell to use when invoking shell scripts.
33327 SHELL=$lt_SHELL
33329 # An echo program that protects backslashes.
33330 ECHO=$lt_ECHO
33332 # Which release of libtool.m4 was used?
33333 macro_version=$macro_version
33334 macro_revision=$macro_revision
33336 # Whether or not to build shared libraries.
33337 build_libtool_libs=$enable_shared
33339 # Whether or not to build static libraries.
33340 build_old_libs=$enable_static
33342 # What type of objects to build.
33343 pic_mode=$pic_mode
33345 # Whether or not to optimize for fast installation.
33346 fast_install=$enable_fast_install
33348 # The host system.
33349 host_alias=$host_alias
33350 host=$host
33351 host_os=$host_os
33353 # The build system.
33354 build_alias=$build_alias
33355 build=$build
33356 build_os=$build_os
33358 # A BSD- or MS-compatible name lister.
33359 NM=$lt_NM
33361 # Whether we need soft or hard links.
33362 LN_S=$lt_LN_S
33364 # What is the maximum length of a command?
33365 max_cmd_len=$max_cmd_len
33367 # Object file suffix (normally "o").
33368 objext=$ac_objext
33370 # Executable file suffix (normally "").
33371 exeext=$exeext
33373 # whether the shell understands "unset".
33374 lt_unset=$lt_unset
33376 # turn spaces into newlines.
33377 SP2NL=$lt_lt_SP2NL
33379 # turn newlines into spaces.
33380 NL2SP=$lt_lt_NL2SP
33382 # An object symbol dumper.
33383 OBJDUMP=$lt_OBJDUMP
33385 # Method to check whether dependent libraries are shared objects.
33386 deplibs_check_method=$lt_deplibs_check_method
33388 # Command to use when deplibs_check_method == "file_magic".
33389 file_magic_cmd=$lt_file_magic_cmd
33391 # The archiver.
33392 AR=$lt_AR
33393 AR_FLAGS=$lt_AR_FLAGS
33395 # A symbol stripping program.
33396 STRIP=$lt_STRIP
33398 # Commands used to install an old-style archive.
33399 RANLIB=$lt_RANLIB
33400 old_postinstall_cmds=$lt_old_postinstall_cmds
33401 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33403 # Whether to use a lock for old archive extraction.
33404 lock_old_archive_extraction=$lock_old_archive_extraction
33406 # A C compiler.
33407 LTCC=$lt_CC
33409 # LTCC compiler flags.
33410 LTCFLAGS=$lt_CFLAGS
33412 # Take the output of nm and produce a listing of raw symbols and C names.
33413 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33415 # Transform the output of nm in a proper C declaration.
33416 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33418 # Transform the output of nm in a C name address pair.
33419 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33421 # Transform the output of nm in a C name address pair when lib prefix is needed.
33422 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33424 # The name of the directory that contains temporary libtool files.
33425 objdir=$objdir
33427 # Used to examine libraries when file_magic_cmd begins with "file".
33428 MAGIC_CMD=$MAGIC_CMD
33430 # Must we lock files when doing compilation?
33431 need_locks=$lt_need_locks
33433 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33434 DSYMUTIL=$lt_DSYMUTIL
33436 # Tool to change global to local symbols on Mac OS X.
33437 NMEDIT=$lt_NMEDIT
33439 # Tool to manipulate fat objects and archives on Mac OS X.
33440 LIPO=$lt_LIPO
33442 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33443 OTOOL=$lt_OTOOL
33445 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33446 OTOOL64=$lt_OTOOL64
33448 # Old archive suffix (normally "a").
33449 libext=$libext
33451 # Shared library suffix (normally ".so").
33452 shrext_cmds=$lt_shrext_cmds
33454 # The commands to extract the exported symbol list from a shared archive.
33455 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33457 # Variables whose values should be saved in libtool wrapper scripts and
33458 # restored at link time.
33459 variables_saved_for_relink=$lt_variables_saved_for_relink
33461 # Do we need the "lib" prefix for modules?
33462 need_lib_prefix=$need_lib_prefix
33464 # Do we need a version for libraries?
33465 need_version=$need_version
33467 # Library versioning type.
33468 version_type=$version_type
33470 # Shared library runtime path variable.
33471 runpath_var=$runpath_var
33473 # Shared library path variable.
33474 shlibpath_var=$shlibpath_var
33476 # Is shlibpath searched before the hard-coded library search path?
33477 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33479 # Format of library name prefix.
33480 libname_spec=$lt_libname_spec
33482 # List of archive names. First name is the real one, the rest are links.
33483 # The last name is the one that the linker finds with -lNAME
33484 library_names_spec=$lt_library_names_spec
33486 # The coded name of the library, if different from the real name.
33487 soname_spec=$lt_soname_spec
33489 # Permission mode override for installation of shared libraries.
33490 install_override_mode=$lt_install_override_mode
33492 # Command to use after installation of a shared archive.
33493 postinstall_cmds=$lt_postinstall_cmds
33495 # Command to use after uninstallation of a shared archive.
33496 postuninstall_cmds=$lt_postuninstall_cmds
33498 # Commands used to finish a libtool library installation in a directory.
33499 finish_cmds=$lt_finish_cmds
33501 # As "finish_cmds", except a single script fragment to be evaled but
33502 # not shown.
33503 finish_eval=$lt_finish_eval
33505 # Whether we should hardcode library paths into libraries.
33506 hardcode_into_libs=$hardcode_into_libs
33508 # Compile-time system search path for libraries.
33509 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33511 # Run-time system search path for libraries.
33512 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33514 # Whether dlopen is supported.
33515 dlopen_support=$enable_dlopen
33517 # Whether dlopen of programs is supported.
33518 dlopen_self=$enable_dlopen_self
33520 # Whether dlopen of statically linked programs is supported.
33521 dlopen_self_static=$enable_dlopen_self_static
33523 # Commands to strip libraries.
33524 old_striplib=$lt_old_striplib
33525 striplib=$lt_striplib
33528 # The linker used to build libraries.
33529 LD=$lt_LD
33531 # How to create reloadable object files.
33532 reload_flag=$lt_reload_flag
33533 reload_cmds=$lt_reload_cmds
33535 # Commands used to build an old-style archive.
33536 old_archive_cmds=$lt_old_archive_cmds
33538 # A language specific compiler.
33539 CC=$lt_compiler
33541 # Is the compiler the GNU compiler?
33542 with_gcc=$GCC
33544 # Compiler flag to turn off builtin functions.
33545 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33547 # How to pass a linker flag through the compiler.
33548 wl=$lt_lt_prog_compiler_wl
33550 # Additional compiler flags for building library objects.
33551 pic_flag=$lt_lt_prog_compiler_pic
33553 # Compiler flag to prevent dynamic linking.
33554 link_static_flag=$lt_lt_prog_compiler_static
33556 # Does compiler simultaneously support -c and -o options?
33557 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33559 # Whether or not to add -lc for building shared libraries.
33560 build_libtool_need_lc=$archive_cmds_need_lc
33562 # Whether or not to disallow shared libs when runtime libs are static.
33563 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33565 # Compiler flag to allow reflexive dlopens.
33566 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33568 # Compiler flag to generate shared objects directly from archives.
33569 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33571 # Whether the compiler copes with passing no objects directly.
33572 compiler_needs_object=$lt_compiler_needs_object
33574 # Create an old-style archive from a shared archive.
33575 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33577 # Create a temporary old-style archive to link instead of a shared archive.
33578 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33580 # Commands used to build a shared archive.
33581 archive_cmds=$lt_archive_cmds
33582 archive_expsym_cmds=$lt_archive_expsym_cmds
33584 # Commands used to build a loadable module if different from building
33585 # a shared archive.
33586 module_cmds=$lt_module_cmds
33587 module_expsym_cmds=$lt_module_expsym_cmds
33589 # Whether we are building with GNU ld or not.
33590 with_gnu_ld=$lt_with_gnu_ld
33592 # Flag that allows shared libraries with undefined symbols to be built.
33593 allow_undefined_flag=$lt_allow_undefined_flag
33595 # Flag that enforces no undefined symbols.
33596 no_undefined_flag=$lt_no_undefined_flag
33598 # Flag to hardcode \$libdir into a binary during linking.
33599 # This must work even if \$libdir does not exist
33600 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33602 # If ld is used when linking, flag to hardcode \$libdir into a binary
33603 # during linking. This must work even if \$libdir does not exist.
33604 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33606 # Whether we need a single "-rpath" flag with a separated argument.
33607 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33609 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33610 # DIR into the resulting binary.
33611 hardcode_direct=$hardcode_direct
33613 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33614 # DIR into the resulting binary and the resulting library dependency is
33615 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33616 # library is relocated.
33617 hardcode_direct_absolute=$hardcode_direct_absolute
33619 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33620 # into the resulting binary.
33621 hardcode_minus_L=$hardcode_minus_L
33623 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33624 # into the resulting binary.
33625 hardcode_shlibpath_var=$hardcode_shlibpath_var
33627 # Set to "yes" if building a shared library automatically hardcodes DIR
33628 # into the library and all subsequent libraries and executables linked
33629 # against it.
33630 hardcode_automatic=$hardcode_automatic
33632 # Set to yes if linker adds runtime paths of dependent libraries
33633 # to runtime path list.
33634 inherit_rpath=$inherit_rpath
33636 # Whether libtool must link a program against all its dependency libraries.
33637 link_all_deplibs=$link_all_deplibs
33639 # Fix the shell variable \$srcfile for the compiler.
33640 fix_srcfile_path=$lt_fix_srcfile_path
33642 # Set to "yes" if exported symbols are required.
33643 always_export_symbols=$always_export_symbols
33645 # The commands to list exported symbols.
33646 export_symbols_cmds=$lt_export_symbols_cmds
33648 # Symbols that should not be listed in the preloaded symbols.
33649 exclude_expsyms=$lt_exclude_expsyms
33651 # Symbols that must always be exported.
33652 include_expsyms=$lt_include_expsyms
33654 # Commands necessary for linking programs (against libraries) with templates.
33655 prelink_cmds=$lt_prelink_cmds
33657 # Specify filename containing input files.
33658 file_list_spec=$lt_file_list_spec
33660 # How to hardcode a shared library path into an executable.
33661 hardcode_action=$hardcode_action
33663 # The directories searched by this compiler when creating a shared library.
33664 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33666 # Dependencies to place before and after the objects being linked to
33667 # create a shared library.
33668 predep_objects=$lt_predep_objects
33669 postdep_objects=$lt_postdep_objects
33670 predeps=$lt_predeps
33671 postdeps=$lt_postdeps
33673 # The library search path used internally by the compiler when linking
33674 # a shared library.
33675 compiler_lib_search_path=$lt_compiler_lib_search_path
33677 # ### END LIBTOOL CONFIG
33679 _LT_EOF
33681 case $host_os in
33682 aix3*)
33683 cat <<\_LT_EOF >> "$cfgfile"
33684 # AIX sometimes has problems with the GCC collect2 program. For some
33685 # reason, if we set the COLLECT_NAMES environment variable, the problems
33686 # vanish in a puff of smoke.
33687 if test "X${COLLECT_NAMES+set}" != Xset; then
33688 COLLECT_NAMES=
33689 export COLLECT_NAMES
33691 _LT_EOF
33693 esac
33696 ltmain="$ac_aux_dir/ltmain.sh"
33699 # We use sed instead of cat because bash on DJGPP gets confused if
33700 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33701 # text mode, it properly converts lines to CR/LF. This bash problem
33702 # is reportedly fixed, but why not run on old versions too?
33703 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33704 || (rm -f "$cfgfile"; exit 1)
33706 case $xsi_shell in
33707 yes)
33708 cat << \_LT_EOF >> "$cfgfile"
33710 # func_dirname file append nondir_replacement
33711 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33712 # otherwise set result to NONDIR_REPLACEMENT.
33713 func_dirname ()
33715 case ${1} in
33716 */*) func_dirname_result="${1%/*}${2}" ;;
33717 * ) func_dirname_result="${3}" ;;
33718 esac
33721 # func_basename file
33722 func_basename ()
33724 func_basename_result="${1##*/}"
33727 # func_dirname_and_basename file append nondir_replacement
33728 # perform func_basename and func_dirname in a single function
33729 # call:
33730 # dirname: Compute the dirname of FILE. If nonempty,
33731 # add APPEND to the result, otherwise set result
33732 # to NONDIR_REPLACEMENT.
33733 # value returned in "$func_dirname_result"
33734 # basename: Compute filename of FILE.
33735 # value retuned in "$func_basename_result"
33736 # Implementation must be kept synchronized with func_dirname
33737 # and func_basename. For efficiency, we do not delegate to
33738 # those functions but instead duplicate the functionality here.
33739 func_dirname_and_basename ()
33741 case ${1} in
33742 */*) func_dirname_result="${1%/*}${2}" ;;
33743 * ) func_dirname_result="${3}" ;;
33744 esac
33745 func_basename_result="${1##*/}"
33748 # func_stripname prefix suffix name
33749 # strip PREFIX and SUFFIX off of NAME.
33750 # PREFIX and SUFFIX must not contain globbing or regex special
33751 # characters, hashes, percent signs, but SUFFIX may contain a leading
33752 # dot (in which case that matches only a dot).
33753 func_stripname ()
33755 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33756 # positional parameters, so assign one to ordinary parameter first.
33757 func_stripname_result=${3}
33758 func_stripname_result=${func_stripname_result#"${1}"}
33759 func_stripname_result=${func_stripname_result%"${2}"}
33762 # func_opt_split
33763 func_opt_split ()
33765 func_opt_split_opt=${1%%=*}
33766 func_opt_split_arg=${1#*=}
33769 # func_lo2o object
33770 func_lo2o ()
33772 case ${1} in
33773 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33774 *) func_lo2o_result=${1} ;;
33775 esac
33778 # func_xform libobj-or-source
33779 func_xform ()
33781 func_xform_result=${1%.*}.lo
33784 # func_arith arithmetic-term...
33785 func_arith ()
33787 func_arith_result=$(( $* ))
33790 # func_len string
33791 # STRING may not start with a hyphen.
33792 func_len ()
33794 func_len_result=${#1}
33797 _LT_EOF
33799 *) # Bourne compatible functions.
33800 cat << \_LT_EOF >> "$cfgfile"
33802 # func_dirname file append nondir_replacement
33803 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33804 # otherwise set result to NONDIR_REPLACEMENT.
33805 func_dirname ()
33807 # Extract subdirectory from the argument.
33808 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
33809 if test "X$func_dirname_result" = "X${1}"; then
33810 func_dirname_result="${3}"
33811 else
33812 func_dirname_result="$func_dirname_result${2}"
33816 # func_basename file
33817 func_basename ()
33819 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
33823 # func_stripname prefix suffix name
33824 # strip PREFIX and SUFFIX off of NAME.
33825 # PREFIX and SUFFIX must not contain globbing or regex special
33826 # characters, hashes, percent signs, but SUFFIX may contain a leading
33827 # dot (in which case that matches only a dot).
33828 # func_strip_suffix prefix name
33829 func_stripname ()
33831 case ${2} in
33832 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33833 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33834 esac
33837 # sed scripts:
33838 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33839 my_sed_long_arg='1s/^-[^=]*=//'
33841 # func_opt_split
33842 func_opt_split ()
33844 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33845 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33848 # func_lo2o object
33849 func_lo2o ()
33851 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
33854 # func_xform libobj-or-source
33855 func_xform ()
33857 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33860 # func_arith arithmetic-term...
33861 func_arith ()
33863 func_arith_result=`expr "$@"`
33866 # func_len string
33867 # STRING may not start with a hyphen.
33868 func_len ()
33870 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33873 _LT_EOF
33874 esac
33876 case $lt_shell_append in
33877 yes)
33878 cat << \_LT_EOF >> "$cfgfile"
33880 # func_append var value
33881 # Append VALUE to the end of shell variable VAR.
33882 func_append ()
33884 eval "$1+=\$2"
33886 _LT_EOF
33889 cat << \_LT_EOF >> "$cfgfile"
33891 # func_append var value
33892 # Append VALUE to the end of shell variable VAR.
33893 func_append ()
33895 eval "$1=\$$1\$2"
33898 _LT_EOF
33900 esac
33903 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33904 || (rm -f "$cfgfile"; exit 1)
33906 mv -f "$cfgfile" "$ofile" ||
33907 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33908 chmod +x "$ofile"
33911 cat <<_LT_EOF >> "$ofile"
33913 # ### BEGIN LIBTOOL TAG CONFIG: FC
33915 # The linker used to build libraries.
33916 LD=$lt_LD_FC
33918 # How to create reloadable object files.
33919 reload_flag=$lt_reload_flag_FC
33920 reload_cmds=$lt_reload_cmds_FC
33922 # Commands used to build an old-style archive.
33923 old_archive_cmds=$lt_old_archive_cmds_FC
33925 # A language specific compiler.
33926 CC=$lt_compiler_FC
33928 # Is the compiler the GNU compiler?
33929 with_gcc=$GCC_FC
33931 # Compiler flag to turn off builtin functions.
33932 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33934 # How to pass a linker flag through the compiler.
33935 wl=$lt_lt_prog_compiler_wl_FC
33937 # Additional compiler flags for building library objects.
33938 pic_flag=$lt_lt_prog_compiler_pic_FC
33940 # Compiler flag to prevent dynamic linking.
33941 link_static_flag=$lt_lt_prog_compiler_static_FC
33943 # Does compiler simultaneously support -c and -o options?
33944 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33946 # Whether or not to add -lc for building shared libraries.
33947 build_libtool_need_lc=$archive_cmds_need_lc_FC
33949 # Whether or not to disallow shared libs when runtime libs are static.
33950 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33952 # Compiler flag to allow reflexive dlopens.
33953 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
33955 # Compiler flag to generate shared objects directly from archives.
33956 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
33958 # Whether the compiler copes with passing no objects directly.
33959 compiler_needs_object=$lt_compiler_needs_object_FC
33961 # Create an old-style archive from a shared archive.
33962 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
33964 # Create a temporary old-style archive to link instead of a shared archive.
33965 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
33967 # Commands used to build a shared archive.
33968 archive_cmds=$lt_archive_cmds_FC
33969 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
33971 # Commands used to build a loadable module if different from building
33972 # a shared archive.
33973 module_cmds=$lt_module_cmds_FC
33974 module_expsym_cmds=$lt_module_expsym_cmds_FC
33976 # Whether we are building with GNU ld or not.
33977 with_gnu_ld=$lt_with_gnu_ld_FC
33979 # Flag that allows shared libraries with undefined symbols to be built.
33980 allow_undefined_flag=$lt_allow_undefined_flag_FC
33982 # Flag that enforces no undefined symbols.
33983 no_undefined_flag=$lt_no_undefined_flag_FC
33985 # Flag to hardcode \$libdir into a binary during linking.
33986 # This must work even if \$libdir does not exist
33987 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
33989 # If ld is used when linking, flag to hardcode \$libdir into a binary
33990 # during linking. This must work even if \$libdir does not exist.
33991 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
33993 # Whether we need a single "-rpath" flag with a separated argument.
33994 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
33996 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33997 # DIR into the resulting binary.
33998 hardcode_direct=$hardcode_direct_FC
34000 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34001 # DIR into the resulting binary and the resulting library dependency is
34002 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34003 # library is relocated.
34004 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34006 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34007 # into the resulting binary.
34008 hardcode_minus_L=$hardcode_minus_L_FC
34010 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34011 # into the resulting binary.
34012 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34014 # Set to "yes" if building a shared library automatically hardcodes DIR
34015 # into the library and all subsequent libraries and executables linked
34016 # against it.
34017 hardcode_automatic=$hardcode_automatic_FC
34019 # Set to yes if linker adds runtime paths of dependent libraries
34020 # to runtime path list.
34021 inherit_rpath=$inherit_rpath_FC
34023 # Whether libtool must link a program against all its dependency libraries.
34024 link_all_deplibs=$link_all_deplibs_FC
34026 # Fix the shell variable \$srcfile for the compiler.
34027 fix_srcfile_path=$lt_fix_srcfile_path_FC
34029 # Set to "yes" if exported symbols are required.
34030 always_export_symbols=$always_export_symbols_FC
34032 # The commands to list exported symbols.
34033 export_symbols_cmds=$lt_export_symbols_cmds_FC
34035 # Symbols that should not be listed in the preloaded symbols.
34036 exclude_expsyms=$lt_exclude_expsyms_FC
34038 # Symbols that must always be exported.
34039 include_expsyms=$lt_include_expsyms_FC
34041 # Commands necessary for linking programs (against libraries) with templates.
34042 prelink_cmds=$lt_prelink_cmds_FC
34044 # Specify filename containing input files.
34045 file_list_spec=$lt_file_list_spec_FC
34047 # How to hardcode a shared library path into an executable.
34048 hardcode_action=$hardcode_action_FC
34050 # The directories searched by this compiler when creating a shared library.
34051 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34053 # Dependencies to place before and after the objects being linked to
34054 # create a shared library.
34055 predep_objects=$lt_predep_objects_FC
34056 postdep_objects=$lt_postdep_objects_FC
34057 predeps=$lt_predeps_FC
34058 postdeps=$lt_postdeps_FC
34060 # The library search path used internally by the compiler when linking
34061 # a shared library.
34062 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34064 # ### END LIBTOOL TAG CONFIG: FC
34065 _LT_EOF
34068 "gstdint.h":C)
34069 if test "$GCC" = yes; then
34070 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34071 else
34072 echo "/* generated for $CC */" > tmp-stdint.h
34075 sed 's/^ *//' >> tmp-stdint.h <<EOF
34077 #ifndef GCC_GENERATED_STDINT_H
34078 #define GCC_GENERATED_STDINT_H 1
34080 #include <sys/types.h>
34083 if test "$acx_cv_header_stdint" != stdint.h; then
34084 echo "#include <stddef.h>" >> tmp-stdint.h
34086 if test "$acx_cv_header_stdint" != stddef.h; then
34087 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34090 sed 's/^ *//' >> tmp-stdint.h <<EOF
34091 /* glibc uses these symbols as guards to prevent redefinitions. */
34092 #ifdef __int8_t_defined
34093 #define _INT8_T
34094 #define _INT16_T
34095 #define _INT32_T
34096 #endif
34097 #ifdef __uint32_t_defined
34098 #define _UINT32_T
34099 #endif
34103 # ----------------- done header, emit basic int types -------------
34104 if test "$acx_cv_header_stdint" = stddef.h; then
34105 sed 's/^ *//' >> tmp-stdint.h <<EOF
34107 #ifndef _UINT8_T
34108 #define _UINT8_T
34109 #ifndef __uint8_t_defined
34110 #define __uint8_t_defined
34111 #ifndef uint8_t
34112 typedef unsigned $acx_cv_type_int8_t uint8_t;
34113 #endif
34114 #endif
34115 #endif
34117 #ifndef _UINT16_T
34118 #define _UINT16_T
34119 #ifndef __uint16_t_defined
34120 #define __uint16_t_defined
34121 #ifndef uint16_t
34122 typedef unsigned $acx_cv_type_int16_t uint16_t;
34123 #endif
34124 #endif
34125 #endif
34127 #ifndef _UINT32_T
34128 #define _UINT32_T
34129 #ifndef __uint32_t_defined
34130 #define __uint32_t_defined
34131 #ifndef uint32_t
34132 typedef unsigned $acx_cv_type_int32_t uint32_t;
34133 #endif
34134 #endif
34135 #endif
34137 #ifndef _INT8_T
34138 #define _INT8_T
34139 #ifndef __int8_t_defined
34140 #define __int8_t_defined
34141 #ifndef int8_t
34142 typedef $acx_cv_type_int8_t int8_t;
34143 #endif
34144 #endif
34145 #endif
34147 #ifndef _INT16_T
34148 #define _INT16_T
34149 #ifndef __int16_t_defined
34150 #define __int16_t_defined
34151 #ifndef int16_t
34152 typedef $acx_cv_type_int16_t int16_t;
34153 #endif
34154 #endif
34155 #endif
34157 #ifndef _INT32_T
34158 #define _INT32_T
34159 #ifndef __int32_t_defined
34160 #define __int32_t_defined
34161 #ifndef int32_t
34162 typedef $acx_cv_type_int32_t int32_t;
34163 #endif
34164 #endif
34165 #endif
34167 elif test "$ac_cv_type_u_int32_t" = yes; then
34168 sed 's/^ *//' >> tmp-stdint.h <<EOF
34170 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34171 #ifndef _INT8_T
34172 #define _INT8_T
34173 #endif
34174 #ifndef _INT16_T
34175 #define _INT16_T
34176 #endif
34177 #ifndef _INT32_T
34178 #define _INT32_T
34179 #endif
34181 #ifndef _UINT8_T
34182 #define _UINT8_T
34183 #ifndef __uint8_t_defined
34184 #define __uint8_t_defined
34185 #ifndef uint8_t
34186 typedef u_int8_t uint8_t;
34187 #endif
34188 #endif
34189 #endif
34191 #ifndef _UINT16_T
34192 #define _UINT16_T
34193 #ifndef __uint16_t_defined
34194 #define __uint16_t_defined
34195 #ifndef uint16_t
34196 typedef u_int16_t uint16_t;
34197 #endif
34198 #endif
34199 #endif
34201 #ifndef _UINT32_T
34202 #define _UINT32_T
34203 #ifndef __uint32_t_defined
34204 #define __uint32_t_defined
34205 #ifndef uint32_t
34206 typedef u_int32_t uint32_t;
34207 #endif
34208 #endif
34209 #endif
34211 else
34212 sed 's/^ *//' >> tmp-stdint.h <<EOF
34214 /* Some systems have guard macros to prevent redefinitions, define them. */
34215 #ifndef _INT8_T
34216 #define _INT8_T
34217 #endif
34218 #ifndef _INT16_T
34219 #define _INT16_T
34220 #endif
34221 #ifndef _INT32_T
34222 #define _INT32_T
34223 #endif
34224 #ifndef _UINT8_T
34225 #define _UINT8_T
34226 #endif
34227 #ifndef _UINT16_T
34228 #define _UINT16_T
34229 #endif
34230 #ifndef _UINT32_T
34231 #define _UINT32_T
34232 #endif
34236 # ------------- done basic int types, emit int64_t types ------------
34237 if test "$ac_cv_type_uint64_t" = yes; then
34238 sed 's/^ *//' >> tmp-stdint.h <<EOF
34240 /* system headers have good uint64_t and int64_t */
34241 #ifndef _INT64_T
34242 #define _INT64_T
34243 #endif
34244 #ifndef _UINT64_T
34245 #define _UINT64_T
34246 #endif
34248 elif test "$ac_cv_type_u_int64_t" = yes; then
34249 sed 's/^ *//' >> tmp-stdint.h <<EOF
34251 /* system headers have an u_int64_t (and int64_t) */
34252 #ifndef _INT64_T
34253 #define _INT64_T
34254 #endif
34255 #ifndef _UINT64_T
34256 #define _UINT64_T
34257 #ifndef __uint64_t_defined
34258 #define __uint64_t_defined
34259 #ifndef uint64_t
34260 typedef u_int64_t uint64_t;
34261 #endif
34262 #endif
34263 #endif
34265 elif test -n "$acx_cv_type_int64_t"; then
34266 sed 's/^ *//' >> tmp-stdint.h <<EOF
34268 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34269 #ifndef _INT64_T
34270 #define _INT64_T
34271 #ifndef int64_t
34272 typedef $acx_cv_type_int64_t int64_t;
34273 #endif
34274 #endif
34275 #ifndef _UINT64_T
34276 #define _UINT64_T
34277 #ifndef __uint64_t_defined
34278 #define __uint64_t_defined
34279 #ifndef uint64_t
34280 typedef unsigned $acx_cv_type_int64_t uint64_t;
34281 #endif
34282 #endif
34283 #endif
34285 else
34286 sed 's/^ *//' >> tmp-stdint.h <<EOF
34288 /* some common heuristics for int64_t, using compiler-specific tests */
34289 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34290 #ifndef _INT64_T
34291 #define _INT64_T
34292 #ifndef __int64_t_defined
34293 #ifndef int64_t
34294 typedef long long int64_t;
34295 #endif
34296 #endif
34297 #endif
34298 #ifndef _UINT64_T
34299 #define _UINT64_T
34300 #ifndef uint64_t
34301 typedef unsigned long long uint64_t;
34302 #endif
34303 #endif
34305 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34306 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34307 does not implement __extension__. But that compiler doesn't define
34308 __GNUC_MINOR__. */
34309 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34310 # define __extension__
34311 # endif
34313 # ifndef _INT64_T
34314 # define _INT64_T
34315 # ifndef int64_t
34316 __extension__ typedef long long int64_t;
34317 # endif
34318 # endif
34319 # ifndef _UINT64_T
34320 # define _UINT64_T
34321 # ifndef uint64_t
34322 __extension__ typedef unsigned long long uint64_t;
34323 # endif
34324 # endif
34326 #elif !defined __STRICT_ANSI__
34327 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34329 # ifndef _INT64_T
34330 # define _INT64_T
34331 # ifndef int64_t
34332 typedef __int64 int64_t;
34333 # endif
34334 # endif
34335 # ifndef _UINT64_T
34336 # define _UINT64_T
34337 # ifndef uint64_t
34338 typedef unsigned __int64 uint64_t;
34339 # endif
34340 # endif
34341 # endif /* compiler */
34343 #endif /* ANSI version */
34347 # ------------- done int64_t types, emit intptr types ------------
34348 if test "$ac_cv_type_uintptr_t" != yes; then
34349 sed 's/^ *//' >> tmp-stdint.h <<EOF
34351 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34352 #ifndef __uintptr_t_defined
34353 #ifndef uintptr_t
34354 typedef u$acx_cv_type_intptr_t uintptr_t;
34355 #endif
34356 #endif
34357 #ifndef __intptr_t_defined
34358 #ifndef intptr_t
34359 typedef $acx_cv_type_intptr_t intptr_t;
34360 #endif
34361 #endif
34365 # ------------- done intptr types, emit int_least types ------------
34366 if test "$ac_cv_type_int_least32_t" != yes; then
34367 sed 's/^ *//' >> tmp-stdint.h <<EOF
34369 /* Define int_least types */
34370 typedef int8_t int_least8_t;
34371 typedef int16_t int_least16_t;
34372 typedef int32_t int_least32_t;
34373 #ifdef _INT64_T
34374 typedef int64_t int_least64_t;
34375 #endif
34377 typedef uint8_t uint_least8_t;
34378 typedef uint16_t uint_least16_t;
34379 typedef uint32_t uint_least32_t;
34380 #ifdef _UINT64_T
34381 typedef uint64_t uint_least64_t;
34382 #endif
34386 # ------------- done intptr types, emit int_fast types ------------
34387 if test "$ac_cv_type_int_fast32_t" != yes; then
34388 sed 's/^ *//' >> tmp-stdint.h <<EOF
34390 /* Define int_fast types. short is often slow */
34391 typedef int8_t int_fast8_t;
34392 typedef int int_fast16_t;
34393 typedef int32_t int_fast32_t;
34394 #ifdef _INT64_T
34395 typedef int64_t int_fast64_t;
34396 #endif
34398 typedef uint8_t uint_fast8_t;
34399 typedef unsigned int uint_fast16_t;
34400 typedef uint32_t uint_fast32_t;
34401 #ifdef _UINT64_T
34402 typedef uint64_t uint_fast64_t;
34403 #endif
34407 if test "$ac_cv_type_uintmax_t" != yes; then
34408 sed 's/^ *//' >> tmp-stdint.h <<EOF
34410 /* Define intmax based on what we found */
34411 #ifndef intmax_t
34412 #ifdef _INT64_T
34413 typedef int64_t intmax_t;
34414 #else
34415 typedef long intmax_t;
34416 #endif
34417 #endif
34418 #ifndef uintmax_t
34419 #ifdef _UINT64_T
34420 typedef uint64_t uintmax_t;
34421 #else
34422 typedef unsigned long uintmax_t;
34423 #endif
34424 #endif
34428 sed 's/^ *//' >> tmp-stdint.h <<EOF
34430 #endif /* GCC_GENERATED_STDINT_H */
34433 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
34434 rm -f tmp-stdint.h
34435 else
34436 mv -f tmp-stdint.h gstdint.h
34441 esac
34442 done # for ac_tag
34445 as_fn_exit 0
34446 _ACEOF
34447 ac_clean_files=$ac_clean_files_save
34449 test $ac_write_fail = 0 ||
34450 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34453 # configure is writing to config.log, and then calls config.status.
34454 # config.status does its own redirection, appending to config.log.
34455 # Unfortunately, on DOS this fails, as config.log is still kept open
34456 # by configure, so config.status won't be able to write to it; its
34457 # output is simply discarded. So we exec the FD to /dev/null,
34458 # effectively closing config.log, so it can be properly (re)opened and
34459 # appended to by config.status. When coming back to configure, we
34460 # need to make the FD available again.
34461 if test "$no_create" != yes; then
34462 ac_cs_success=:
34463 ac_config_status_args=
34464 test "$silent" = yes &&
34465 ac_config_status_args="$ac_config_status_args --quiet"
34466 exec 5>/dev/null
34467 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34468 exec 5>>config.log
34469 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34470 # would make configure fail if this is the last instruction.
34471 $ac_cs_success || as_fn_exit 1
34473 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34475 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}