compiler: revert `for package-scope "a = b; b = x" just set "a = x"`
[official-gcc.git] / libgfortran / configure
blobae64dca31140e2502752aa9dcb2f1ef913beba88
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 LIBGFOR_BUILD_QUAD_FALSE
649 LIBGFOR_BUILD_QUAD_TRUE
650 LIBQUADINCLUDE
651 LIBQUADLIB_DEP
652 LIBQUADLIB
653 LIBQUADSPEC
654 extra_ldflags_libgfortran
655 ac_ct_FC
656 FCFLAGS
658 enable_static
659 enable_shared
660 lt_host_flags
661 LIBM
662 OTOOL64
663 OTOOL
664 LIPO
665 NMEDIT
666 DSYMUTIL
667 OBJDUMP
668 LN_S
670 ac_ct_DUMPBIN
671 DUMPBIN
672 LIBTOOL
673 RANLIB
676 HAVE_HWCAP_FALSE
677 HAVE_HWCAP_TRUE
678 HWCAP_LDFLAGS
680 FGREP
682 SECTION_FLAGS
683 LIBGOMP_CHECKED_REAL_KINDS
684 LIBGOMP_CHECKED_INT_KINDS
685 LIBGFOR_MINIMAL_FALSE
686 LIBGFOR_MINIMAL_TRUE
687 LIBGFOR_USE_SYMVER_SUN_FALSE
688 LIBGFOR_USE_SYMVER_SUN_TRUE
689 LIBGFOR_USE_SYMVER_GNU_FALSE
690 LIBGFOR_USE_SYMVER_GNU_TRUE
691 LIBGFOR_USE_SYMVER_FALSE
692 LIBGFOR_USE_SYMVER_TRUE
693 AM_CFLAGS
694 AM_FCFLAGS
695 HAVE_REAL_17_FALSE
696 HAVE_REAL_17_TRUE
697 toolexeclibdir
698 toolexecdir
699 EGREP
700 GREP
702 am__fastdepCC_FALSE
703 am__fastdepCC_TRUE
704 CCDEPMODE
705 am__nodep
706 AMDEPBACKSLASH
707 AMDEP_FALSE
708 AMDEP_TRUE
709 am__quote
710 am__include
711 DEPDIR
712 OBJEXT
713 EXEEXT
714 ac_ct_CC
715 CPPFLAGS
716 LDFLAGS
717 CFLAGS
719 multi_basedir
720 MAINT
721 MAINTAINER_MODE_FALSE
722 MAINTAINER_MODE_TRUE
723 AM_BACKSLASH
724 AM_DEFAULT_VERBOSITY
725 AM_DEFAULT_V
726 AM_V
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_noncanonical
751 target_os
752 target_vendor
753 target_cpu
754 target
755 host_os
756 host_vendor
757 host_cpu
758 host
759 onestep
760 onestep_FALSE
761 onestep_TRUE
762 target_subdir
763 host_subdir
764 build_subdir
765 build_libsubdir
766 build_os
767 build_vendor
768 build_cpu
769 build
770 target_alias
771 host_alias
772 build_alias
773 LIBS
774 ECHO_T
775 ECHO_N
776 ECHO_C
777 DEFS
778 mandir
779 localedir
780 libdir
781 psdir
782 pdfdir
783 dvidir
784 htmldir
785 infodir
786 docdir
787 oldincludedir
788 includedir
789 localstatedir
790 sharedstatedir
791 sysconfdir
792 datadir
793 datarootdir
794 libexecdir
795 sbindir
796 bindir
797 program_transform_name
798 prefix
799 exec_prefix
800 PACKAGE_URL
801 PACKAGE_BUGREPORT
802 PACKAGE_STRING
803 PACKAGE_VERSION
804 PACKAGE_TARNAME
805 PACKAGE_NAME
806 PATH_SEPARATOR
807 SHELL'
808 ac_subst_files=''
809 ac_user_opts='
810 enable_option_checking
811 with_build_libsubdir
812 enable_version_specific_runtime_libs
813 enable_intermodule
814 enable_silent_rules
815 enable_maintainer_mode
816 enable_multilib
817 enable_dependency_tracking
818 with_toolexeclibdir
819 enable_cet
820 enable_symvers
821 with_gnu_ld
822 enable_shared
823 enable_static
824 with_pic
825 enable_fast_install
826 enable_libtool_lock
827 enable_largefile
828 enable_libquadmath_support
829 with_gcc_major_version_only
831 ac_precious_vars='build_alias
832 host_alias
833 target_alias
835 CFLAGS
836 LDFLAGS
837 LIBS
838 CPPFLAGS
841 FCFLAGS'
844 # Initialize some variables set by options.
845 ac_init_help=
846 ac_init_version=false
847 ac_unrecognized_opts=
848 ac_unrecognized_sep=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
851 cache_file=/dev/null
852 exec_prefix=NONE
853 no_create=
854 no_recursion=
855 prefix=NONE
856 program_prefix=NONE
857 program_suffix=NONE
858 program_transform_name=s,x,x,
859 silent=
860 site=
861 srcdir=
862 verbose=
863 x_includes=NONE
864 x_libraries=NONE
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir='${exec_prefix}/bin'
873 sbindir='${exec_prefix}/sbin'
874 libexecdir='${exec_prefix}/libexec'
875 datarootdir='${prefix}/share'
876 datadir='${datarootdir}'
877 sysconfdir='${prefix}/etc'
878 sharedstatedir='${prefix}/com'
879 localstatedir='${prefix}/var'
880 includedir='${prefix}/include'
881 oldincludedir='/usr/include'
882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
883 infodir='${datarootdir}/info'
884 htmldir='${docdir}'
885 dvidir='${docdir}'
886 pdfdir='${docdir}'
887 psdir='${docdir}'
888 libdir='${exec_prefix}/lib'
889 localedir='${datarootdir}/locale'
890 mandir='${datarootdir}/man'
892 ac_prev=
893 ac_dashdash=
894 for ac_option
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\$ac_option
899 ac_prev=
900 continue
903 case $ac_option in
904 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905 *=) ac_optarg= ;;
906 *) ac_optarg=yes ;;
907 esac
909 # Accept the important Cygnus configure options, so we can diagnose typos.
911 case $ac_dashdash$ac_option in
913 ac_dashdash=yes ;;
915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
916 ac_prev=bindir ;;
917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
918 bindir=$ac_optarg ;;
920 -build | --build | --buil | --bui | --bu)
921 ac_prev=build_alias ;;
922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
923 build_alias=$ac_optarg ;;
925 -cache-file | --cache-file | --cache-fil | --cache-fi \
926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
927 ac_prev=cache_file ;;
928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
930 cache_file=$ac_optarg ;;
932 --config-cache | -C)
933 cache_file=config.cache ;;
935 -datadir | --datadir | --datadi | --datad)
936 ac_prev=datadir ;;
937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
938 datadir=$ac_optarg ;;
940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
941 | --dataroo | --dataro | --datar)
942 ac_prev=datarootdir ;;
943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
945 datarootdir=$ac_optarg ;;
947 -disable-* | --disable-*)
948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 as_fn_error $? "invalid feature name: $ac_useropt"
952 ac_useropt_orig=$ac_useropt
953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
956 "enable_$ac_useropt"
957 "*) ;;
958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959 ac_unrecognized_sep=', ';;
960 esac
961 eval enable_$ac_useropt=no ;;
963 -docdir | --docdir | --docdi | --doc | --do)
964 ac_prev=docdir ;;
965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
966 docdir=$ac_optarg ;;
968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
969 ac_prev=dvidir ;;
970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
971 dvidir=$ac_optarg ;;
973 -enable-* | --enable-*)
974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977 as_fn_error $? "invalid feature name: $ac_useropt"
978 ac_useropt_orig=$ac_useropt
979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
982 "enable_$ac_useropt"
983 "*) ;;
984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
986 esac
987 eval enable_$ac_useropt=\$ac_optarg ;;
989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
991 | --exec | --exe | --ex)
992 ac_prev=exec_prefix ;;
993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
995 | --exec=* | --exe=* | --ex=*)
996 exec_prefix=$ac_optarg ;;
998 -gas | --gas | --ga | --g)
999 # Obsolete; use --with-gas.
1000 with_gas=yes ;;
1002 -help | --help | --hel | --he | -h)
1003 ac_init_help=long ;;
1004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1005 ac_init_help=recursive ;;
1006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1007 ac_init_help=short ;;
1009 -host | --host | --hos | --ho)
1010 ac_prev=host_alias ;;
1011 -host=* | --host=* | --hos=* | --ho=*)
1012 host_alias=$ac_optarg ;;
1014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1015 ac_prev=htmldir ;;
1016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1017 | --ht=*)
1018 htmldir=$ac_optarg ;;
1020 -includedir | --includedir | --includedi | --included | --include \
1021 | --includ | --inclu | --incl | --inc)
1022 ac_prev=includedir ;;
1023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1024 | --includ=* | --inclu=* | --incl=* | --inc=*)
1025 includedir=$ac_optarg ;;
1027 -infodir | --infodir | --infodi | --infod | --info | --inf)
1028 ac_prev=infodir ;;
1029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1030 infodir=$ac_optarg ;;
1032 -libdir | --libdir | --libdi | --libd)
1033 ac_prev=libdir ;;
1034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1035 libdir=$ac_optarg ;;
1037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1038 | --libexe | --libex | --libe)
1039 ac_prev=libexecdir ;;
1040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1041 | --libexe=* | --libex=* | --libe=*)
1042 libexecdir=$ac_optarg ;;
1044 -localedir | --localedir | --localedi | --localed | --locale)
1045 ac_prev=localedir ;;
1046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1047 localedir=$ac_optarg ;;
1049 -localstatedir | --localstatedir | --localstatedi | --localstated \
1050 | --localstate | --localstat | --localsta | --localst | --locals)
1051 ac_prev=localstatedir ;;
1052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1054 localstatedir=$ac_optarg ;;
1056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1057 ac_prev=mandir ;;
1058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1059 mandir=$ac_optarg ;;
1061 -nfp | --nfp | --nf)
1062 # Obsolete; use --without-fp.
1063 with_fp=no ;;
1065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1066 | --no-cr | --no-c | -n)
1067 no_create=yes ;;
1069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071 no_recursion=yes ;;
1073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1075 | --oldin | --oldi | --old | --ol | --o)
1076 ac_prev=oldincludedir ;;
1077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1080 oldincludedir=$ac_optarg ;;
1082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1083 ac_prev=prefix ;;
1084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1085 prefix=$ac_optarg ;;
1087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1088 | --program-pre | --program-pr | --program-p)
1089 ac_prev=program_prefix ;;
1090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1092 program_prefix=$ac_optarg ;;
1094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1095 | --program-suf | --program-su | --program-s)
1096 ac_prev=program_suffix ;;
1097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1099 program_suffix=$ac_optarg ;;
1101 -program-transform-name | --program-transform-name \
1102 | --program-transform-nam | --program-transform-na \
1103 | --program-transform-n | --program-transform- \
1104 | --program-transform | --program-transfor \
1105 | --program-transfo | --program-transf \
1106 | --program-trans | --program-tran \
1107 | --progr-tra | --program-tr | --program-t)
1108 ac_prev=program_transform_name ;;
1109 -program-transform-name=* | --program-transform-name=* \
1110 | --program-transform-nam=* | --program-transform-na=* \
1111 | --program-transform-n=* | --program-transform-=* \
1112 | --program-transform=* | --program-transfor=* \
1113 | --program-transfo=* | --program-transf=* \
1114 | --program-trans=* | --program-tran=* \
1115 | --progr-tra=* | --program-tr=* | --program-t=*)
1116 program_transform_name=$ac_optarg ;;
1118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1119 ac_prev=pdfdir ;;
1120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1121 pdfdir=$ac_optarg ;;
1123 -psdir | --psdir | --psdi | --psd | --ps)
1124 ac_prev=psdir ;;
1125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126 psdir=$ac_optarg ;;
1128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1129 | -silent | --silent | --silen | --sile | --sil)
1130 silent=yes ;;
1132 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1133 ac_prev=sbindir ;;
1134 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1135 | --sbi=* | --sb=*)
1136 sbindir=$ac_optarg ;;
1138 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1139 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1140 | --sharedst | --shareds | --shared | --share | --shar \
1141 | --sha | --sh)
1142 ac_prev=sharedstatedir ;;
1143 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1144 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1145 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1146 | --sha=* | --sh=*)
1147 sharedstatedir=$ac_optarg ;;
1149 -site | --site | --sit)
1150 ac_prev=site ;;
1151 -site=* | --site=* | --sit=*)
1152 site=$ac_optarg ;;
1154 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1155 ac_prev=srcdir ;;
1156 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1157 srcdir=$ac_optarg ;;
1159 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1160 | --syscon | --sysco | --sysc | --sys | --sy)
1161 ac_prev=sysconfdir ;;
1162 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1163 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1164 sysconfdir=$ac_optarg ;;
1166 -target | --target | --targe | --targ | --tar | --ta | --t)
1167 ac_prev=target_alias ;;
1168 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1169 target_alias=$ac_optarg ;;
1171 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172 verbose=yes ;;
1174 -version | --version | --versio | --versi | --vers | -V)
1175 ac_init_version=: ;;
1177 -with-* | --with-*)
1178 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error $? "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1186 "with_$ac_useropt"
1187 "*) ;;
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1190 esac
1191 eval with_$ac_useropt=\$ac_optarg ;;
1193 -without-* | --without-*)
1194 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 as_fn_error $? "invalid package name: $ac_useropt"
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1202 "with_$ac_useropt"
1203 "*) ;;
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1206 esac
1207 eval with_$ac_useropt=no ;;
1209 --x)
1210 # Obsolete; use --with-x.
1211 with_x=yes ;;
1213 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214 | --x-incl | --x-inc | --x-in | --x-i)
1215 ac_prev=x_includes ;;
1216 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218 x_includes=$ac_optarg ;;
1220 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222 ac_prev=x_libraries ;;
1223 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225 x_libraries=$ac_optarg ;;
1227 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information"
1231 *=*)
1232 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 case $ac_envvar in #(
1235 '' | [0-9]* | *[!_$as_cr_alnum]* )
1236 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1237 esac
1238 eval $ac_envvar=\$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 esac
1250 done
1252 if test -n "$ac_prev"; then
1253 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254 as_fn_error $? "missing argument to $ac_option"
1257 if test -n "$ac_unrecognized_opts"; then
1258 case $enable_option_checking in
1259 no) ;;
1260 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1261 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 esac
1265 # Check all directory arguments for consistency.
1266 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267 datadir sysconfdir sharedstatedir localstatedir includedir \
1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269 libdir localedir mandir
1271 eval ac_val=\$$ac_var
1272 # Remove trailing slashes.
1273 case $ac_val in
1274 */ )
1275 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276 eval $ac_var=\$ac_val;;
1277 esac
1278 # Be sure to have absolute directory names.
1279 case $ac_val in
1280 [\\/$]* | ?:[\\/]* ) continue;;
1281 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1282 esac
1283 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1284 done
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1289 build=$build_alias
1290 host=$host_alias
1291 target=$target_alias
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x; then
1295 if test "x$build_alias" = x; then
1296 cross_compiling=maybe
1297 elif test "x$build_alias" != "x$host_alias"; then
1298 cross_compiling=yes
1302 ac_tool_prefix=
1303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1305 test "$silent" = yes && exec 6>/dev/null
1308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di=`ls -di .` &&
1310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error $? "working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error $? "pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327 s//\1/
1330 /^X\(\/\/\)[^/].*/{
1331 s//\1/
1334 /^X\(\/\/\)$/{
1335 s//\1/
1338 /^X\(\/\).*/{
1339 s//\1/
1342 s/.*/./; q'`
1343 srcdir=$ac_confdir
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 srcdir=..
1347 else
1348 ac_srcdir_defaulted=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1352 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 ac_abs_confdir=`(
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357 pwd)`
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 srcdir=.
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1365 case $srcdir in
1366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 esac
1368 for ac_var in $ac_precious_vars; do
1369 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_${ac_var}_value=\$${ac_var}
1371 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1373 done
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1381 cat <<_ACEOF
1382 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1391 Configuration:
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking ...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 [PREFIX]
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1435 _ACEOF
1437 cat <<\_ACEOF
1439 Program names:
1440 --program-prefix=PREFIX prepend PREFIX to installed program names
1441 --program-suffix=SUFFIX append SUFFIX to installed program names
1442 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1444 System types:
1445 --build=BUILD configure for building on BUILD [guessed]
1446 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1447 --target=TARGET configure for building compilers for TARGET [HOST]
1448 _ACEOF
1451 if test -n "$ac_init_help"; then
1452 case $ac_init_help in
1453 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1454 esac
1455 cat <<\_ACEOF
1457 Optional Features:
1458 --disable-option-checking ignore unrecognized --enable/--with options
1459 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1460 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1461 --enable-version-specific-runtime-libs
1462 specify that runtime libraries should be installed
1463 in a compiler-specific directory
1464 --enable-intermodule build the library in one step
1465 --enable-silent-rules less verbose build output (undo: "make V=1")
1466 --disable-silent-rules verbose build output (undo: "make V=0")
1467 --enable-maintainer-mode
1468 enable make rules and dependencies not useful (and
1469 sometimes confusing) to the casual installer
1470 --enable-multilib build many library versions (default)
1471 --enable-dependency-tracking
1472 do not reject slow dependency extractors
1473 --disable-dependency-tracking
1474 speeds up one-time build
1475 --enable-cet enable Intel CET in target libraries [default=auto]
1476 --disable-symvers disable symbol versioning for libgfortran
1477 --enable-shared[=PKGS] build shared libraries [default=yes]
1478 --enable-static[=PKGS] build static libraries [default=yes]
1479 --enable-fast-install[=PKGS]
1480 optimize for fast installation [default=yes]
1481 --disable-libtool-lock avoid locking (might break parallel builds)
1482 --disable-largefile omit support for large files
1483 --disable-libquadmath-support
1484 disable libquadmath support for Fortran
1486 Optional Packages:
1487 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1488 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1489 --with-build-libsubdir=DIR Directory where to find libraries for build system
1490 --with-toolexeclibdir=DIR
1491 install libraries built with a cross compiler within
1493 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1494 --with-pic try to use only PIC/non-PIC objects [default=use
1495 both]
1496 --with-gcc-major-version-only
1497 use only GCC major number in filesystem paths
1499 Some influential environment variables:
1500 CC C compiler command
1501 CFLAGS C compiler flags
1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1503 nonstandard directory <lib dir>
1504 LIBS libraries to pass to the linker, e.g. -l<library>
1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1506 you have headers in a nonstandard directory <include dir>
1507 CPP C preprocessor
1508 FC Fortran compiler command
1509 FCFLAGS Fortran compiler flags
1511 Use these variables to override the choices made by `configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1514 Report bugs to the package provider.
1515 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1516 General help using GNU software: <http://www.gnu.org/gethelp/>.
1517 _ACEOF
1518 ac_status=$?
1521 if test "$ac_init_help" = "recursive"; then
1522 # If there are subdirs, report their specific --help.
1523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1524 test -d "$ac_dir" ||
1525 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1526 continue
1527 ac_builddir=.
1529 case "$ac_dir" in
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538 esac ;;
1539 esac
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1545 case $srcdir in
1546 .) # We are building in place.
1547 ac_srcdir=.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1554 *) # Relative name.
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 esac
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if test -f "$ac_srcdir/configure.gnu"; then
1564 echo &&
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif test -f "$ac_srcdir/configure"; then
1567 echo &&
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1569 else
1570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571 fi || ac_status=$?
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1573 done
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1578 cat <<\_ACEOF
1579 GNU Fortran Runtime Library configure 0.3
1580 generated by GNU Autoconf 2.69
1582 Copyright (C) 2012 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1585 _ACEOF
1586 exit
1589 ## ------------------------ ##
1590 ## Autoconf initialization. ##
1591 ## ------------------------ ##
1593 # ac_fn_c_try_compile LINENO
1594 # --------------------------
1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_compile ()
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rm -f conftest.$ac_objext
1600 if { { ac_try="$ac_compile"
1601 case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604 esac
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_compile") 2>conftest.err
1608 ac_status=$?
1609 if test -s conftest.err; then
1610 grep -v '^ *+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && {
1616 test -z "$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1618 } && test -s conftest.$ac_objext; then :
1619 ac_retval=0
1620 else
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1624 ac_retval=1
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1629 } # ac_fn_c_try_compile
1631 # ac_fn_c_try_cpp LINENO
1632 # ----------------------
1633 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_cpp ()
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if { { ac_try="$ac_cpp conftest.$ac_ext"
1638 case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1645 ac_status=$?
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } > conftest.i && {
1653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1655 }; then :
1656 ac_retval=0
1657 else
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1661 ac_retval=1
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1666 } # ac_fn_c_try_cpp
1668 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1669 # -------------------------------------------------------
1670 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1671 # the include files in INCLUDES and setting the cache variable VAR
1672 # accordingly.
1673 ac_fn_c_check_header_mongrel ()
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if eval \${$3+:} false; then :
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1682 eval ac_res=\$$3
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 else
1686 # Is the header compilable?
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1688 $as_echo_n "checking $2 usability... " >&6; }
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1692 #include <$2>
1693 _ACEOF
1694 if ac_fn_c_try_compile "$LINENO"; then :
1695 ac_header_compiler=yes
1696 else
1697 ac_header_compiler=no
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1701 $as_echo "$ac_header_compiler" >&6; }
1703 # Is the header present?
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1705 $as_echo_n "checking $2 presence... " >&6; }
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1708 #include <$2>
1709 _ACEOF
1710 if ac_fn_c_try_cpp "$LINENO"; then :
1711 ac_header_preproc=yes
1712 else
1713 ac_header_preproc=no
1715 rm -f conftest.err conftest.i conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1717 $as_echo "$ac_header_preproc" >&6; }
1719 # So? What about this header?
1720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1721 yes:no: )
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1723 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1727 no:yes:* )
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1729 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1731 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1733 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1735 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1737 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1739 esac
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if eval \${$3+:} false; then :
1743 $as_echo_n "(cached) " >&6
1744 else
1745 eval "$3=\$ac_header_compiler"
1747 eval ac_res=\$$3
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 } # ac_fn_c_check_header_mongrel
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1759 ac_fn_c_try_run ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_link"
1763 case "(($ac_try" in
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>&5
1770 ac_status=$?
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1773 { { case "(($ac_try" in
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_try") 2>&5
1780 ac_status=$?
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; }; }; then :
1783 ac_retval=0
1784 else
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1789 ac_retval=$ac_status
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1795 } # ac_fn_c_try_run
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1808 else
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1812 #include <$2>
1813 _ACEOF
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815 eval "$3=yes"
1816 else
1817 eval "$3=no"
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 eval ac_res=\$$3
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 } # ac_fn_c_check_header_compile
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_link ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1836 case "(($ac_try" in
1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1839 esac
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1843 ac_status=$?
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 test -x conftest$ac_exeext
1856 }; then :
1857 ac_retval=0
1858 else
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1862 ac_retval=1
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status $ac_retval
1872 } # ac_fn_c_try_link
1874 # ac_fn_c_check_func LINENO FUNC VAR
1875 # ----------------------------------
1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1877 ac_fn_c_check_func ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 if test x$gcc_no_link = xyes; then
1886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1890 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1892 #define $2 innocuous_$2
1894 /* System header to define __stub macros and hopefully few prototypes,
1895 which can conflict with char $2 (); below.
1896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1897 <limits.h> exists even on freestanding compilers. */
1899 #ifdef __STDC__
1900 # include <limits.h>
1901 #else
1902 # include <assert.h>
1903 #endif
1905 #undef $2
1907 /* Override any GCC internal prototype to avoid an error.
1908 Use char because int might match the return type of a GCC
1909 builtin and then its argument prototype would still apply. */
1910 #ifdef __cplusplus
1911 extern "C"
1912 #endif
1913 char $2 ();
1914 /* The GNU C library defines this for functions which it implements
1915 to always fail with ENOSYS. Some functions are actually named
1916 something starting with __ and the normal name is an alias. */
1917 #if defined __stub_$2 || defined __stub___$2
1918 choke me
1919 #endif
1922 main ()
1924 return $2 ();
1926 return 0;
1928 _ACEOF
1929 if ac_fn_c_try_link "$LINENO"; then :
1930 eval "$3=yes"
1931 else
1932 eval "$3=no"
1934 rm -f core conftest.err conftest.$ac_objext \
1935 conftest$ac_exeext conftest.$ac_ext
1937 eval ac_res=\$$3
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 } # ac_fn_c_check_func
1944 # ac_fn_fc_try_compile LINENO
1945 # ---------------------------
1946 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1947 ac_fn_fc_try_compile ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 rm -f conftest.$ac_objext
1951 if { { ac_try="$ac_compile"
1952 case "(($ac_try" in
1953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1955 esac
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_compile") 2>conftest.err
1959 ac_status=$?
1960 if test -s conftest.err; then
1961 grep -v '^ *+' conftest.err >conftest.er1
1962 cat conftest.er1 >&5
1963 mv -f conftest.er1 conftest.err
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; } && {
1967 test -z "$ac_fc_werror_flag" ||
1968 test ! -s conftest.err
1969 } && test -s conftest.$ac_objext; then :
1970 ac_retval=0
1971 else
1972 $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1975 ac_retval=1
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 as_fn_set_status $ac_retval
1980 } # ac_fn_fc_try_compile
1982 # ac_fn_fc_try_link LINENO
1983 # ------------------------
1984 # Try to link conftest.$ac_ext, and return whether this succeeded.
1985 ac_fn_fc_try_link ()
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 rm -f conftest.$ac_objext conftest$ac_exeext
1989 if { { ac_try="$ac_link"
1990 case "(($ac_try" in
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1993 esac
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_link") 2>conftest.err
1997 ac_status=$?
1998 if test -s conftest.err; then
1999 grep -v '^ *+' conftest.err >conftest.er1
2000 cat conftest.er1 >&5
2001 mv -f conftest.er1 conftest.err
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; } && {
2005 test -z "$ac_fc_werror_flag" ||
2006 test ! -s conftest.err
2007 } && test -s conftest$ac_exeext && {
2008 test "$cross_compiling" = yes ||
2009 test -x conftest$ac_exeext
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2016 ac_retval=1
2018 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2019 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2020 # interfere with the next link command; also delete a directory that is
2021 # left behind by Apple's compiler. We do this before executing the actions.
2022 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 as_fn_set_status $ac_retval
2026 } # ac_fn_fc_try_link
2028 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2029 # -------------------------------------------
2030 # Tests whether TYPE exists after having included INCLUDES, setting cache
2031 # variable VAR accordingly.
2032 ac_fn_c_check_type ()
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2036 $as_echo_n "checking for $2... " >&6; }
2037 if eval \${$3+:} false; then :
2038 $as_echo_n "(cached) " >&6
2039 else
2040 eval "$3=no"
2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2045 main ()
2047 if (sizeof ($2))
2048 return 0;
2050 return 0;
2052 _ACEOF
2053 if ac_fn_c_try_compile "$LINENO"; then :
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2058 main ()
2060 if (sizeof (($2)))
2061 return 0;
2063 return 0;
2065 _ACEOF
2066 if ac_fn_c_try_compile "$LINENO"; then :
2068 else
2069 eval "$3=yes"
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 eval ac_res=\$$3
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080 } # ac_fn_c_check_type
2082 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2083 # --------------------------------------------
2084 # Tries to find the compile-time value of EXPR in a program that includes
2085 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2086 # computed
2087 ac_fn_c_compute_int ()
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 if test "$cross_compiling" = yes; then
2091 # Depending upon the size, compute the lo and hi bounds.
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2096 main ()
2098 static int test_array [1 - 2 * !(($2) >= 0)];
2099 test_array [0] = 0;
2100 return test_array [0];
2103 return 0;
2105 _ACEOF
2106 if ac_fn_c_try_compile "$LINENO"; then :
2107 ac_lo=0 ac_mid=0
2108 while :; do
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2113 main ()
2115 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2116 test_array [0] = 0;
2117 return test_array [0];
2120 return 0;
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_hi=$ac_mid; break
2125 else
2126 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2127 if test $ac_lo -le $ac_mid; then
2128 ac_lo= ac_hi=
2129 break
2131 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2134 done
2135 else
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2140 main ()
2142 static int test_array [1 - 2 * !(($2) < 0)];
2143 test_array [0] = 0;
2144 return test_array [0];
2147 return 0;
2149 _ACEOF
2150 if ac_fn_c_try_compile "$LINENO"; then :
2151 ac_hi=-1 ac_mid=-1
2152 while :; do
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2157 main ()
2159 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2160 test_array [0] = 0;
2161 return test_array [0];
2164 return 0;
2166 _ACEOF
2167 if ac_fn_c_try_compile "$LINENO"; then :
2168 ac_lo=$ac_mid; break
2169 else
2170 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2171 if test $ac_mid -le $ac_hi; then
2172 ac_lo= ac_hi=
2173 break
2175 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 done
2179 else
2180 ac_lo= ac_hi=
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 # Binary search between lo and hi bounds.
2186 while test "x$ac_lo" != "x$ac_hi"; do
2187 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2192 main ()
2194 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2195 test_array [0] = 0;
2196 return test_array [0];
2199 return 0;
2201 _ACEOF
2202 if ac_fn_c_try_compile "$LINENO"; then :
2203 ac_hi=$ac_mid
2204 else
2205 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 done
2209 case $ac_lo in #((
2210 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2211 '') ac_retval=1 ;;
2212 esac
2213 else
2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2217 static long int longval () { return $2; }
2218 static unsigned long int ulongval () { return $2; }
2219 #include <stdio.h>
2220 #include <stdlib.h>
2222 main ()
2225 FILE *f = fopen ("conftest.val", "w");
2226 if (! f)
2227 return 1;
2228 if (($2) < 0)
2230 long int i = longval ();
2231 if (i != ($2))
2232 return 1;
2233 fprintf (f, "%ld", i);
2235 else
2237 unsigned long int i = ulongval ();
2238 if (i != ($2))
2239 return 1;
2240 fprintf (f, "%lu", i);
2242 /* Do not output a trailing newline, as this causes \r\n confusion
2243 on some platforms. */
2244 return ferror (f) || fclose (f) != 0;
2247 return 0;
2249 _ACEOF
2250 if ac_fn_c_try_run "$LINENO"; then :
2251 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2252 else
2253 ac_retval=1
2255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2256 conftest.$ac_objext conftest.beam conftest.$ac_ext
2257 rm -f conftest.val
2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261 as_fn_set_status $ac_retval
2263 } # ac_fn_c_compute_int
2265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2266 # ----------------------------------------------------
2267 # Tries to find if the field MEMBER exists in type AGGR, after including
2268 # INCLUDES, setting cache variable VAR accordingly.
2269 ac_fn_c_check_member ()
2271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2273 $as_echo_n "checking for $2.$3... " >&6; }
2274 if eval \${$4+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2281 main ()
2283 static $2 ac_aggr;
2284 if (ac_aggr.$3)
2285 return 0;
2287 return 0;
2289 _ACEOF
2290 if ac_fn_c_try_compile "$LINENO"; then :
2291 eval "$4=yes"
2292 else
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2297 main ()
2299 static $2 ac_aggr;
2300 if (sizeof ac_aggr.$3)
2301 return 0;
2303 return 0;
2305 _ACEOF
2306 if ac_fn_c_try_compile "$LINENO"; then :
2307 eval "$4=yes"
2308 else
2309 eval "$4=no"
2311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2315 eval ac_res=\$$4
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2317 $as_echo "$ac_res" >&6; }
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 } # ac_fn_c_check_member
2321 cat >config.log <<_ACEOF
2322 This file contains any messages produced by compilers while
2323 running configure, to aid debugging if configure makes a mistake.
2325 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2326 generated by GNU Autoconf 2.69. Invocation command line was
2328 $ $0 $@
2330 _ACEOF
2331 exec 5>>config.log
2333 cat <<_ASUNAME
2334 ## --------- ##
2335 ## Platform. ##
2336 ## --------- ##
2338 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2339 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2340 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2341 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2342 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2344 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2345 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2347 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2348 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2349 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2350 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2351 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2352 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2353 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2355 _ASUNAME
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 for as_dir in $PATH
2360 IFS=$as_save_IFS
2361 test -z "$as_dir" && as_dir=.
2362 $as_echo "PATH: $as_dir"
2363 done
2364 IFS=$as_save_IFS
2366 } >&5
2368 cat >&5 <<_ACEOF
2371 ## ----------- ##
2372 ## Core tests. ##
2373 ## ----------- ##
2375 _ACEOF
2378 # Keep a trace of the command line.
2379 # Strip out --no-create and --no-recursion so they do not pile up.
2380 # Strip out --silent because we don't want to record it for future runs.
2381 # Also quote any args containing shell meta-characters.
2382 # Make two passes to allow for proper duplicate-argument suppression.
2383 ac_configure_args=
2384 ac_configure_args0=
2385 ac_configure_args1=
2386 ac_must_keep_next=false
2387 for ac_pass in 1 2
2389 for ac_arg
2391 case $ac_arg in
2392 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2394 | -silent | --silent | --silen | --sile | --sil)
2395 continue ;;
2396 *\'*)
2397 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2398 esac
2399 case $ac_pass in
2400 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2402 as_fn_append ac_configure_args1 " '$ac_arg'"
2403 if test $ac_must_keep_next = true; then
2404 ac_must_keep_next=false # Got value, back to normal.
2405 else
2406 case $ac_arg in
2407 *=* | --config-cache | -C | -disable-* | --disable-* \
2408 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2409 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2410 | -with-* | --with-* | -without-* | --without-* | --x)
2411 case "$ac_configure_args0 " in
2412 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2413 esac
2415 -* ) ac_must_keep_next=true ;;
2416 esac
2418 as_fn_append ac_configure_args " '$ac_arg'"
2420 esac
2421 done
2422 done
2423 { ac_configure_args0=; unset ac_configure_args0;}
2424 { ac_configure_args1=; unset ac_configure_args1;}
2426 # When interrupted or exit'd, cleanup temporary files, and complete
2427 # config.log. We remove comments because anyway the quotes in there
2428 # would cause problems or look ugly.
2429 # WARNING: Use '\'' to represent an apostrophe within the trap.
2430 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2431 trap 'exit_status=$?
2432 # Save into config.log some information that might help in debugging.
2434 echo
2436 $as_echo "## ---------------- ##
2437 ## Cache variables. ##
2438 ## ---------------- ##"
2439 echo
2440 # The following way of writing the cache mishandles newlines in values,
2442 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2443 eval ac_val=\$$ac_var
2444 case $ac_val in #(
2445 *${as_nl}*)
2446 case $ac_var in #(
2447 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2448 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2449 esac
2450 case $ac_var in #(
2451 _ | IFS | as_nl) ;; #(
2452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2453 *) { eval $ac_var=; unset $ac_var;} ;;
2454 esac ;;
2455 esac
2456 done
2457 (set) 2>&1 |
2458 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2459 *${as_nl}ac_space=\ *)
2460 sed -n \
2461 "s/'\''/'\''\\\\'\'''\''/g;
2462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2463 ;; #(
2465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2467 esac |
2468 sort
2470 echo
2472 $as_echo "## ----------------- ##
2473 ## Output variables. ##
2474 ## ----------------- ##"
2475 echo
2476 for ac_var in $ac_subst_vars
2478 eval ac_val=\$$ac_var
2479 case $ac_val in
2480 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2481 esac
2482 $as_echo "$ac_var='\''$ac_val'\''"
2483 done | sort
2484 echo
2486 if test -n "$ac_subst_files"; then
2487 $as_echo "## ------------------- ##
2488 ## File substitutions. ##
2489 ## ------------------- ##"
2490 echo
2491 for ac_var in $ac_subst_files
2493 eval ac_val=\$$ac_var
2494 case $ac_val in
2495 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2496 esac
2497 $as_echo "$ac_var='\''$ac_val'\''"
2498 done | sort
2499 echo
2502 if test -s confdefs.h; then
2503 $as_echo "## ----------- ##
2504 ## confdefs.h. ##
2505 ## ----------- ##"
2506 echo
2507 cat confdefs.h
2508 echo
2510 test "$ac_signal" != 0 &&
2511 $as_echo "$as_me: caught signal $ac_signal"
2512 $as_echo "$as_me: exit $exit_status"
2513 } >&5
2514 rm -f core *.core core.conftest.* &&
2515 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2516 exit $exit_status
2518 for ac_signal in 1 2 13 15; do
2519 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2520 done
2521 ac_signal=0
2523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2524 rm -f -r conftest* confdefs.h
2526 $as_echo "/* confdefs.h */" > confdefs.h
2528 # Predefined preprocessor variables.
2530 cat >>confdefs.h <<_ACEOF
2531 #define PACKAGE_NAME "$PACKAGE_NAME"
2532 _ACEOF
2534 cat >>confdefs.h <<_ACEOF
2535 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2536 _ACEOF
2538 cat >>confdefs.h <<_ACEOF
2539 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2540 _ACEOF
2542 cat >>confdefs.h <<_ACEOF
2543 #define PACKAGE_STRING "$PACKAGE_STRING"
2544 _ACEOF
2546 cat >>confdefs.h <<_ACEOF
2547 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2548 _ACEOF
2550 cat >>confdefs.h <<_ACEOF
2551 #define PACKAGE_URL "$PACKAGE_URL"
2552 _ACEOF
2555 # Let the site file select an alternate cache file if it wants to.
2556 # Prefer an explicitly selected file to automatically selected ones.
2557 ac_site_file1=NONE
2558 ac_site_file2=NONE
2559 if test -n "$CONFIG_SITE"; then
2560 # We do not want a PATH search for config.site.
2561 case $CONFIG_SITE in #((
2562 -*) ac_site_file1=./$CONFIG_SITE;;
2563 */*) ac_site_file1=$CONFIG_SITE;;
2564 *) ac_site_file1=./$CONFIG_SITE;;
2565 esac
2566 elif test "x$prefix" != xNONE; then
2567 ac_site_file1=$prefix/share/config.site
2568 ac_site_file2=$prefix/etc/config.site
2569 else
2570 ac_site_file1=$ac_default_prefix/share/config.site
2571 ac_site_file2=$ac_default_prefix/etc/config.site
2573 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2575 test "x$ac_site_file" = xNONE && continue
2576 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2578 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2579 sed 's/^/| /' "$ac_site_file" >&5
2580 . "$ac_site_file" \
2581 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2583 as_fn_error $? "failed to load site script $ac_site_file
2584 See \`config.log' for more details" "$LINENO" 5; }
2586 done
2588 if test -r "$cache_file"; then
2589 # Some versions of bash will fail to source /dev/null (special files
2590 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2591 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2593 $as_echo "$as_me: loading cache $cache_file" >&6;}
2594 case $cache_file in
2595 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2596 *) . "./$cache_file";;
2597 esac
2599 else
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2601 $as_echo "$as_me: creating cache $cache_file" >&6;}
2602 >$cache_file
2605 as_fn_append ac_header_list " unistd.h"
2606 as_fn_append ac_header_list " sys/random.h"
2607 as_fn_append ac_header_list " sys/time.h"
2608 as_fn_append ac_header_list " sys/times.h"
2609 as_fn_append ac_header_list " sys/resource.h"
2610 as_fn_append ac_header_list " sys/types.h"
2611 as_fn_append ac_header_list " sys/stat.h"
2612 as_fn_append ac_header_list " sys/uio.h"
2613 as_fn_append ac_header_list " sys/wait.h"
2614 as_fn_append ac_header_list " floatingpoint.h"
2615 as_fn_append ac_header_list " ieeefp.h"
2616 as_fn_append ac_header_list " fenv.h"
2617 as_fn_append ac_header_list " fptrap.h"
2618 as_fn_append ac_header_list " fpxcp.h"
2619 as_fn_append ac_header_list " pwd.h"
2620 as_fn_append ac_header_list " complex.h"
2621 as_fn_append ac_header_list " xlocale.h"
2622 as_fn_append ac_func_list " getrusage"
2623 as_fn_append ac_func_list " times"
2624 as_fn_append ac_func_list " mkstemp"
2625 as_fn_append ac_func_list " strtof"
2626 as_fn_append ac_func_list " strtold"
2627 as_fn_append ac_func_list " snprintf"
2628 as_fn_append ac_func_list " ftruncate"
2629 as_fn_append ac_func_list " chsize"
2630 as_fn_append ac_func_list " chdir"
2631 as_fn_append ac_func_list " getentropy"
2632 as_fn_append ac_func_list " getlogin"
2633 as_fn_append ac_func_list " gethostname"
2634 as_fn_append ac_func_list " kill"
2635 as_fn_append ac_func_list " link"
2636 as_fn_append ac_func_list " symlink"
2637 as_fn_append ac_func_list " sleep"
2638 as_fn_append ac_func_list " ttyname"
2639 as_fn_append ac_func_list " sigaction"
2640 as_fn_append ac_func_list " waitpid"
2641 as_fn_append ac_func_list " alarm"
2642 as_fn_append ac_func_list " access"
2643 as_fn_append ac_func_list " fork"
2644 as_fn_append ac_func_list " posix_spawn"
2645 as_fn_append ac_func_list " setmode"
2646 as_fn_append ac_func_list " fcntl"
2647 as_fn_append ac_func_list " writev"
2648 as_fn_append ac_func_list " gettimeofday"
2649 as_fn_append ac_func_list " stat"
2650 as_fn_append ac_func_list " fstat"
2651 as_fn_append ac_func_list " lstat"
2652 as_fn_append ac_func_list " getpwuid"
2653 as_fn_append ac_func_list " vsnprintf"
2654 as_fn_append ac_func_list " dup"
2655 as_fn_append ac_func_list " getcwd"
2656 as_fn_append ac_func_list " localtime_r"
2657 as_fn_append ac_func_list " gmtime_r"
2658 as_fn_append ac_func_list " getpwuid_r"
2659 as_fn_append ac_func_list " ttyname_r"
2660 as_fn_append ac_func_list " clock_gettime"
2661 as_fn_append ac_func_list " getgid"
2662 as_fn_append ac_func_list " getpid"
2663 as_fn_append ac_func_list " getuid"
2664 as_fn_append ac_func_list " geteuid"
2665 as_fn_append ac_func_list " umask"
2666 as_fn_append ac_func_list " getegid"
2667 as_fn_append ac_func_list " secure_getenv"
2668 as_fn_append ac_func_list " __secure_getenv"
2669 as_fn_append ac_func_list " mkostemp"
2670 as_fn_append ac_func_list " strnlen"
2671 as_fn_append ac_func_list " strndup"
2672 as_fn_append ac_func_list " newlocale"
2673 as_fn_append ac_func_list " freelocale"
2674 as_fn_append ac_func_list " uselocale"
2675 as_fn_append ac_func_list " strerror_l"
2676 as_fn_append ac_header_list " math.h"
2677 # Check that the precious variables saved in the cache have kept the same
2678 # value.
2679 ac_cache_corrupted=false
2680 for ac_var in $ac_precious_vars; do
2681 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2682 eval ac_new_set=\$ac_env_${ac_var}_set
2683 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2684 eval ac_new_val=\$ac_env_${ac_var}_value
2685 case $ac_old_set,$ac_new_set in
2686 set,)
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2688 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2689 ac_cache_corrupted=: ;;
2690 ,set)
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2692 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2693 ac_cache_corrupted=: ;;
2694 ,);;
2696 if test "x$ac_old_val" != "x$ac_new_val"; then
2697 # differences in whitespace do not lead to failure.
2698 ac_old_val_w=`echo x $ac_old_val`
2699 ac_new_val_w=`echo x $ac_new_val`
2700 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2702 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2703 ac_cache_corrupted=:
2704 else
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2706 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2707 eval $ac_var=\$ac_old_val
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2710 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2712 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2713 fi;;
2714 esac
2715 # Pass precious variables to config.status.
2716 if test "$ac_new_set" = set; then
2717 case $ac_new_val in
2718 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2719 *) ac_arg=$ac_var=$ac_new_val ;;
2720 esac
2721 case " $ac_configure_args " in
2722 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2723 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2724 esac
2726 done
2727 if $ac_cache_corrupted; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2731 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2732 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2734 ## -------------------- ##
2735 ## Main body of script. ##
2736 ## -------------------- ##
2738 ac_ext=c
2739 ac_cpp='$CPP $CPPFLAGS'
2740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2748 ac_config_headers="$ac_config_headers config.h"
2750 ac_aux_dir=
2751 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2752 if test -f "$ac_dir/install-sh"; then
2753 ac_aux_dir=$ac_dir
2754 ac_install_sh="$ac_aux_dir/install-sh -c"
2755 break
2756 elif test -f "$ac_dir/install.sh"; then
2757 ac_aux_dir=$ac_dir
2758 ac_install_sh="$ac_aux_dir/install.sh -c"
2759 break
2760 elif test -f "$ac_dir/shtool"; then
2761 ac_aux_dir=$ac_dir
2762 ac_install_sh="$ac_aux_dir/shtool install -c"
2763 break
2765 done
2766 if test -z "$ac_aux_dir"; then
2767 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2770 # These three variables are undocumented and unsupported,
2771 # and are intended to be withdrawn in a future Autoconf release.
2772 # They can cause serious problems if a builder's source tree is in a directory
2773 # whose full name contains unusual characters.
2774 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2775 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2776 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2779 # Make sure we can run config.sub.
2780 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2781 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2784 $as_echo_n "checking build system type... " >&6; }
2785 if ${ac_cv_build+:} false; then :
2786 $as_echo_n "(cached) " >&6
2787 else
2788 ac_build_alias=$build_alias
2789 test "x$ac_build_alias" = x &&
2790 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2791 test "x$ac_build_alias" = x &&
2792 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2793 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2794 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2798 $as_echo "$ac_cv_build" >&6; }
2799 case $ac_cv_build in
2800 *-*-*) ;;
2801 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2802 esac
2803 build=$ac_cv_build
2804 ac_save_IFS=$IFS; IFS='-'
2805 set x $ac_cv_build
2806 shift
2807 build_cpu=$1
2808 build_vendor=$2
2809 shift; shift
2810 # Remember, the first character of IFS is used to create $*,
2811 # except with old shells:
2812 build_os=$*
2813 IFS=$ac_save_IFS
2814 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2817 case ${build_alias} in
2818 "") build_noncanonical=${build} ;;
2819 *) build_noncanonical=${build_alias} ;;
2820 esac
2822 case ${host_alias} in
2823 "") host_noncanonical=${build_noncanonical} ;;
2824 *) host_noncanonical=${host_alias} ;;
2825 esac
2827 case ${target_alias} in
2828 "") target_noncanonical=${host_noncanonical} ;;
2829 *) target_noncanonical=${target_alias} ;;
2830 esac
2833 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2834 # have matching libraries, they should use host libraries: Makefile.tpl
2835 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2836 # However, they still use the build modules, because the corresponding
2837 # host modules (e.g. bison) are only built for the host when bootstrap
2838 # finishes. So:
2839 # - build_subdir is where we find build modules, and never changes.
2840 # - build_libsubdir is where we find build libraries, and can be overridden.
2842 # Prefix 'build-' so this never conflicts with target_subdir.
2843 build_subdir="build-${build_noncanonical}"
2845 # Check whether --with-build-libsubdir was given.
2846 if test "${with_build_libsubdir+set}" = set; then :
2847 withval=$with_build_libsubdir; build_libsubdir="$withval"
2848 else
2849 build_libsubdir="$build_subdir"
2852 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2853 if ( test $srcdir = . && test -d gcc ) \
2854 || test -d $srcdir/../host-${host_noncanonical}; then
2855 host_subdir="host-${host_noncanonical}"
2856 else
2857 host_subdir=.
2859 # No prefix.
2860 target_subdir=${target_noncanonical}
2863 # -------
2864 # Options
2865 # -------
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2868 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2869 # Check whether --enable-version-specific-runtime-libs was given.
2870 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2871 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2872 yes) version_specific_libs=yes ;;
2873 no) version_specific_libs=no ;;
2874 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2875 esac
2876 else
2877 version_specific_libs=no
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2881 $as_echo "$version_specific_libs" >&6; }
2883 # Build with intermodule optimisations
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2885 $as_echo_n "checking for --enable-intermodule... " >&6; }
2886 # Check whether --enable-intermodule was given.
2887 if test "${enable_intermodule+set}" = set; then :
2888 enableval=$enable_intermodule; case "$enable_intermodule" in
2889 yes) onestep="-onestep";;
2890 *) onestep="";;
2891 esac
2892 else
2893 onestep=""
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2897 $as_echo "$enable_intermodule" >&6; }
2898 if test x$onestep = x-onestep; then
2899 onestep_TRUE=
2900 onestep_FALSE='#'
2901 else
2902 onestep_TRUE='#'
2903 onestep_FALSE=
2908 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2910 # You will slowly go insane if you do not grok the following fact: when
2911 # building this library, the top-level /target/ becomes the library's /host/.
2913 # configure then causes --target to default to --host, exactly like any
2914 # other package using autoconf. Therefore, 'target' and 'host' will
2915 # always be the same. This makes sense both for native and cross compilers
2916 # just think about it for a little while. :-)
2918 # Also, if this library is being configured as part of a cross compiler, the
2919 # top-level configure script will pass the "real" host as $with_cross_host.
2921 # Do not delete or change the following two lines. For why, see
2922 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2924 $as_echo_n "checking host system type... " >&6; }
2925 if ${ac_cv_host+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927 else
2928 if test "x$host_alias" = x; then
2929 ac_cv_host=$ac_cv_build
2930 else
2931 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2932 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2937 $as_echo "$ac_cv_host" >&6; }
2938 case $ac_cv_host in
2939 *-*-*) ;;
2940 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2941 esac
2942 host=$ac_cv_host
2943 ac_save_IFS=$IFS; IFS='-'
2944 set x $ac_cv_host
2945 shift
2946 host_cpu=$1
2947 host_vendor=$2
2948 shift; shift
2949 # Remember, the first character of IFS is used to create $*,
2950 # except with old shells:
2951 host_os=$*
2952 IFS=$ac_save_IFS
2953 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2957 $as_echo_n "checking target system type... " >&6; }
2958 if ${ac_cv_target+:} false; then :
2959 $as_echo_n "(cached) " >&6
2960 else
2961 if test "x$target_alias" = x; then
2962 ac_cv_target=$ac_cv_host
2963 else
2964 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2965 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2970 $as_echo "$ac_cv_target" >&6; }
2971 case $ac_cv_target in
2972 *-*-*) ;;
2973 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2974 esac
2975 target=$ac_cv_target
2976 ac_save_IFS=$IFS; IFS='-'
2977 set x $ac_cv_target
2978 shift
2979 target_cpu=$1
2980 target_vendor=$2
2981 shift; shift
2982 # Remember, the first character of IFS is used to create $*,
2983 # except with old shells:
2984 target_os=$*
2985 IFS=$ac_save_IFS
2986 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2989 # The aliases save the names the user supplied, while $host etc.
2990 # will get canonicalized.
2991 test -n "$target_alias" &&
2992 test "$program_prefix$program_suffix$program_transform_name" = \
2993 NONENONEs,x,x, &&
2994 program_prefix=${target_alias}-
2999 target_alias=${target_alias-$host_alias}
3002 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3003 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3004 # 1.9.6: minimum required version
3005 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3006 # of other PACKAGE_* variables will, however, and there's nothing
3007 # we can do about that; they come from AC_INIT).
3008 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3009 # file in the top srcdir, etc, etc), so stop complaining.
3010 # no-dist: we don't want 'dist' and related rules.
3011 # -Wall: turns on all automake warnings...
3012 # -Wno-portability: ...except this one, since GNU make is required.
3013 am__api_version='1.15'
3015 # Find a good install program. We prefer a C program (faster),
3016 # so one script is as good as another. But avoid the broken or
3017 # incompatible versions:
3018 # SysV /etc/install, /usr/sbin/install
3019 # SunOS /usr/etc/install
3020 # IRIX /sbin/install
3021 # AIX /bin/install
3022 # AmigaOS /C/install, which installs bootblocks on floppy discs
3023 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3024 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3025 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3026 # OS/2's system install, which has a completely different semantic
3027 # ./install, which can be erroneously created by make from ./install.sh.
3028 # Reject install programs that cannot install multiple files.
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3030 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3031 if test -z "$INSTALL"; then
3032 if ${ac_cv_path_install+:} false; then :
3033 $as_echo_n "(cached) " >&6
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3038 IFS=$as_save_IFS
3039 test -z "$as_dir" && as_dir=.
3040 # Account for people who put trailing slashes in PATH elements.
3041 case $as_dir/ in #((
3042 ./ | .// | /[cC]/* | \
3043 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3044 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3045 /usr/ucb/* ) ;;
3047 # OSF1 and SCO ODT 3.0 have their own names for install.
3048 # Don't use installbsd from OSF since it installs stuff as root
3049 # by default.
3050 for ac_prog in ginstall scoinst install; do
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3053 if test $ac_prog = install &&
3054 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3055 # AIX install. It has an incompatible calling convention.
3057 elif test $ac_prog = install &&
3058 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3059 # program-specific install script used by HP pwplus--don't use.
3061 else
3062 rm -rf conftest.one conftest.two conftest.dir
3063 echo one > conftest.one
3064 echo two > conftest.two
3065 mkdir conftest.dir
3066 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3067 test -s conftest.one && test -s conftest.two &&
3068 test -s conftest.dir/conftest.one &&
3069 test -s conftest.dir/conftest.two
3070 then
3071 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3072 break 3
3076 done
3077 done
3079 esac
3081 done
3082 IFS=$as_save_IFS
3084 rm -rf conftest.one conftest.two conftest.dir
3087 if test "${ac_cv_path_install+set}" = set; then
3088 INSTALL=$ac_cv_path_install
3089 else
3090 # As a last resort, use the slow shell script. Don't cache a
3091 # value for INSTALL within a source directory, because that will
3092 # break other packages using the cache if that directory is
3093 # removed, or if the value is a relative name.
3094 INSTALL=$ac_install_sh
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3098 $as_echo "$INSTALL" >&6; }
3100 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3101 # It thinks the first close brace ends the variable substitution.
3102 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3104 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3106 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3109 $as_echo_n "checking whether build environment is sane... " >&6; }
3110 # Reject unsafe characters in $srcdir or the absolute working directory
3111 # name. Accept space and tab only in the latter.
3112 am_lf='
3114 case `pwd` in
3115 *[\\\"\#\$\&\'\`$am_lf]*)
3116 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3117 esac
3118 case $srcdir in
3119 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3120 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3121 esac
3123 # Do 'set' in a subshell so we don't clobber the current shell's
3124 # arguments. Must try -L first in case configure is actually a
3125 # symlink; some systems play weird games with the mod time of symlinks
3126 # (eg FreeBSD returns the mod time of the symlink's containing
3127 # directory).
3128 if (
3129 am_has_slept=no
3130 for am_try in 1 2; do
3131 echo "timestamp, slept: $am_has_slept" > conftest.file
3132 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3133 if test "$*" = "X"; then
3134 # -L didn't work.
3135 set X `ls -t "$srcdir/configure" conftest.file`
3137 if test "$*" != "X $srcdir/configure conftest.file" \
3138 && test "$*" != "X conftest.file $srcdir/configure"; then
3140 # If neither matched, then we have a broken ls. This can happen
3141 # if, for instance, CONFIG_SHELL is bash and it inherits a
3142 # broken ls alias from the environment. This has actually
3143 # happened. Such a system could not be considered "sane".
3144 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3145 alias in your environment" "$LINENO" 5
3147 if test "$2" = conftest.file || test $am_try -eq 2; then
3148 break
3150 # Just in case.
3151 sleep 1
3152 am_has_slept=yes
3153 done
3154 test "$2" = conftest.file
3156 then
3157 # Ok.
3159 else
3160 as_fn_error $? "newly created file is older than distributed files!
3161 Check your system clock" "$LINENO" 5
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3164 $as_echo "yes" >&6; }
3165 # If we didn't sleep, we still need to ensure time stamps of config.status and
3166 # generated files are strictly newer.
3167 am_sleep_pid=
3168 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3169 ( sleep 1 ) &
3170 am_sleep_pid=$!
3173 rm -f conftest.file
3175 test "$program_prefix" != NONE &&
3176 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3177 # Use a double $ so make ignores it.
3178 test "$program_suffix" != NONE &&
3179 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3180 # Double any \ or $.
3181 # By default was `s,x,x', remove it if useless.
3182 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3183 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3185 # Expand $ac_aux_dir to an absolute path.
3186 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3188 if test x"${MISSING+set}" != xset; then
3189 case $am_aux_dir in
3190 *\ * | *\ *)
3191 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3193 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3194 esac
3196 # Use eval to expand $SHELL
3197 if eval "$MISSING --is-lightweight"; then
3198 am_missing_run="$MISSING "
3199 else
3200 am_missing_run=
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3202 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3205 if test x"${install_sh+set}" != xset; then
3206 case $am_aux_dir in
3207 *\ * | *\ *)
3208 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3210 install_sh="\${SHELL} $am_aux_dir/install-sh"
3211 esac
3214 # Installed binaries are usually stripped using 'strip' when the user
3215 # run "make install-strip". However 'strip' might not be the right
3216 # tool to use in cross-compilation environments, therefore Automake
3217 # will honor the 'STRIP' environment variable to overrule this program.
3218 if test "$cross_compiling" != no; then
3219 if test -n "$ac_tool_prefix"; then
3220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3221 set dummy ${ac_tool_prefix}strip; ac_word=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_STRIP+:} false; then :
3225 $as_echo_n "(cached) " >&6
3226 else
3227 if test -n "$STRIP"; then
3228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3229 else
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231 for as_dir in $PATH
3233 IFS=$as_save_IFS
3234 test -z "$as_dir" && as_dir=.
3235 for ac_exec_ext in '' $ac_executable_extensions; do
3236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239 break 2
3241 done
3242 done
3243 IFS=$as_save_IFS
3247 STRIP=$ac_cv_prog_STRIP
3248 if test -n "$STRIP"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3250 $as_echo "$STRIP" >&6; }
3251 else
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3258 if test -z "$ac_cv_prog_STRIP"; then
3259 ac_ct_STRIP=$STRIP
3260 # Extract the first word of "strip", so it can be a program name with args.
3261 set dummy strip; ac_word=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3265 $as_echo_n "(cached) " >&6
3266 else
3267 if test -n "$ac_ct_STRIP"; then
3268 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3269 else
3270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3271 for as_dir in $PATH
3273 IFS=$as_save_IFS
3274 test -z "$as_dir" && as_dir=.
3275 for ac_exec_ext in '' $ac_executable_extensions; do
3276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3277 ac_cv_prog_ac_ct_STRIP="strip"
3278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 break 2
3281 done
3282 done
3283 IFS=$as_save_IFS
3287 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3288 if test -n "$ac_ct_STRIP"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3290 $as_echo "$ac_ct_STRIP" >&6; }
3291 else
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3296 if test "x$ac_ct_STRIP" = x; then
3297 STRIP=":"
3298 else
3299 case $cross_compiling:$ac_tool_warned in
3300 yes:)
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3303 ac_tool_warned=yes ;;
3304 esac
3305 STRIP=$ac_ct_STRIP
3307 else
3308 STRIP="$ac_cv_prog_STRIP"
3312 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3315 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3316 if test -z "$MKDIR_P"; then
3317 if ${ac_cv_path_mkdir+:} false; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3323 IFS=$as_save_IFS
3324 test -z "$as_dir" && as_dir=.
3325 for ac_prog in mkdir gmkdir; do
3326 for ac_exec_ext in '' $ac_executable_extensions; do
3327 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3328 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3329 'mkdir (GNU coreutils) '* | \
3330 'mkdir (coreutils) '* | \
3331 'mkdir (fileutils) '4.1*)
3332 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3333 break 3;;
3334 esac
3335 done
3336 done
3337 done
3338 IFS=$as_save_IFS
3342 test -d ./--version && rmdir ./--version
3343 if test "${ac_cv_path_mkdir+set}" = set; then
3344 MKDIR_P="$ac_cv_path_mkdir -p"
3345 else
3346 # As a last resort, use the slow shell script. Don't cache a
3347 # value for MKDIR_P within a source directory, because that will
3348 # break other packages using the cache if that directory is
3349 # removed, or if the value is a relative name.
3350 MKDIR_P="$ac_install_sh -d"
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3354 $as_echo "$MKDIR_P" >&6; }
3356 for ac_prog in gawk mawk nawk awk
3358 # Extract the first word of "$ac_prog", so it can be a program name with args.
3359 set dummy $ac_prog; ac_word=$2
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3361 $as_echo_n "checking for $ac_word... " >&6; }
3362 if ${ac_cv_prog_AWK+:} false; then :
3363 $as_echo_n "(cached) " >&6
3364 else
3365 if test -n "$AWK"; then
3366 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3367 else
3368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369 for as_dir in $PATH
3371 IFS=$as_save_IFS
3372 test -z "$as_dir" && as_dir=.
3373 for ac_exec_ext in '' $ac_executable_extensions; do
3374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3375 ac_cv_prog_AWK="$ac_prog"
3376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 break 2
3379 done
3380 done
3381 IFS=$as_save_IFS
3385 AWK=$ac_cv_prog_AWK
3386 if test -n "$AWK"; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3388 $as_echo "$AWK" >&6; }
3389 else
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391 $as_echo "no" >&6; }
3395 test -n "$AWK" && break
3396 done
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3399 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3400 set x ${MAKE-make}
3401 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3402 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3403 $as_echo_n "(cached) " >&6
3404 else
3405 cat >conftest.make <<\_ACEOF
3406 SHELL = /bin/sh
3407 all:
3408 @echo '@@@%%%=$(MAKE)=@@@%%%'
3409 _ACEOF
3410 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3411 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3412 *@@@%%%=?*=@@@%%%*)
3413 eval ac_cv_prog_make_${ac_make}_set=yes;;
3415 eval ac_cv_prog_make_${ac_make}_set=no;;
3416 esac
3417 rm -f conftest.make
3419 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3421 $as_echo "yes" >&6; }
3422 SET_MAKE=
3423 else
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3426 SET_MAKE="MAKE=${MAKE-make}"
3429 rm -rf .tst 2>/dev/null
3430 mkdir .tst 2>/dev/null
3431 if test -d .tst; then
3432 am__leading_dot=.
3433 else
3434 am__leading_dot=_
3436 rmdir .tst 2>/dev/null
3438 # Check whether --enable-silent-rules was given.
3439 if test "${enable_silent_rules+set}" = set; then :
3440 enableval=$enable_silent_rules;
3443 case $enable_silent_rules in # (((
3444 yes) AM_DEFAULT_VERBOSITY=0;;
3445 no) AM_DEFAULT_VERBOSITY=1;;
3446 *) AM_DEFAULT_VERBOSITY=1;;
3447 esac
3448 am_make=${MAKE-make}
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3450 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3451 if ${am_cv_make_support_nested_variables+:} false; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 if $as_echo 'TRUE=$(BAR$(V))
3455 BAR0=false
3456 BAR1=true
3458 am__doit:
3459 @$(TRUE)
3460 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3461 am_cv_make_support_nested_variables=yes
3462 else
3463 am_cv_make_support_nested_variables=no
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3467 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3468 if test $am_cv_make_support_nested_variables = yes; then
3469 AM_V='$(V)'
3470 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3471 else
3472 AM_V=$AM_DEFAULT_VERBOSITY
3473 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3475 AM_BACKSLASH='\'
3477 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3478 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3479 # is not polluted with repeated "-I."
3480 am__isrc=' -I$(srcdir)'
3481 # test to see if srcdir already configured
3482 if test -f $srcdir/config.status; then
3483 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3487 # test whether we have cygpath
3488 if test -z "$CYGPATH_W"; then
3489 if (cygpath --version) >/dev/null 2>/dev/null; then
3490 CYGPATH_W='cygpath -w'
3491 else
3492 CYGPATH_W=echo
3497 # Define the identity of the package.
3498 PACKAGE='libgfortran'
3499 VERSION='0.3'
3502 # Some tools Automake needs.
3504 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3507 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3510 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3513 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3516 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3518 # For better backward compatibility. To be removed once Automake 1.9.x
3519 # dies out for good. For more background, see:
3520 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3521 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3522 mkdir_p='$(MKDIR_P)'
3524 # We need awk for the "check" target (and possibly the TAP driver). The
3525 # system "awk" is bad on some platforms.
3526 # Always define AMTAR for backward compatibility. Yes, it's still used
3527 # in the wild :-( We should find a proper way to deprecate it ...
3528 AMTAR='$${TAR-tar}'
3531 # We'll loop over all known methods to create a tar archive until one works.
3532 _am_tools='gnutar pax cpio none'
3534 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3541 # POSIX will say in a future version that running "rm -f" with no argument
3542 # is OK; and we want to be able to make that assumption in our Makefile
3543 # recipes. So use an aggressive probe to check that the usage we want is
3544 # actually supported "in the wild" to an acceptable degree.
3545 # See automake bug#10828.
3546 # To make any issue more visible, cause the running configure to be aborted
3547 # by default if the 'rm' program in use doesn't match our expectations; the
3548 # user can still override this though.
3549 if rm -f && rm -fr && rm -rf; then : OK; else
3550 cat >&2 <<'END'
3551 Oops!
3553 Your 'rm' program seems unable to run without file operands specified
3554 on the command line, even when the '-f' option is present. This is contrary
3555 to the behaviour of most rm programs out there, and not conforming with
3556 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3558 Please tell bug-automake@gnu.org about your system, including the value
3559 of your $PATH and any error possibly output before this message. This
3560 can help us improve future automake versions.
3563 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3564 echo 'Configuration will proceed anyway, since you have set the' >&2
3565 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3566 echo >&2
3567 else
3568 cat >&2 <<'END'
3569 Aborting the configuration process, to ensure you take notice of the issue.
3571 You can download and install GNU coreutils to get an 'rm' implementation
3572 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3574 If you want to complete the configuration process using your problematic
3575 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3576 to "yes", and re-run configure.
3579 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3586 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3587 # Check whether --enable-maintainer-mode was given.
3588 if test "${enable_maintainer_mode+set}" = set; then :
3589 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3590 else
3591 USE_MAINTAINER_MODE=no
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3595 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3596 if test $USE_MAINTAINER_MODE = yes; then
3597 MAINTAINER_MODE_TRUE=
3598 MAINTAINER_MODE_FALSE='#'
3599 else
3600 MAINTAINER_MODE_TRUE='#'
3601 MAINTAINER_MODE_FALSE=
3604 MAINT=$MAINTAINER_MODE_TRUE
3607 # Default to --enable-multilib
3608 # Check whether --enable-multilib was given.
3609 if test "${enable_multilib+set}" = set; then :
3610 enableval=$enable_multilib; case "$enableval" in
3611 yes) multilib=yes ;;
3612 no) multilib=no ;;
3613 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3614 esac
3615 else
3616 multilib=yes
3620 # We may get other options which we leave undocumented:
3621 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3622 # See config-ml.in if you want the gory details.
3624 if test "$srcdir" = "."; then
3625 if test "$with_target_subdir" != "."; then
3626 multi_basedir="$srcdir/$with_multisrctop../.."
3627 else
3628 multi_basedir="$srcdir/$with_multisrctop.."
3630 else
3631 multi_basedir="$srcdir/.."
3635 # Even if the default multilib is not a cross compilation,
3636 # it may be that some of the other multilibs are.
3637 if test $cross_compiling = no && test $multilib = yes \
3638 && test "x${with_multisubdir}" != x ; then
3639 cross_compiling=maybe
3642 ac_config_commands="$ac_config_commands default-1"
3645 # Handy for debugging:
3646 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3648 # Are we being configured with some form of cross compiler?
3649 # NB: We don't actually need to know this just now, but when, say, a test
3650 # suite is included, we'll have to know.
3651 if test "$build" != "$host"; then
3652 LIBGFOR_IS_NATIVE=false
3654 else
3655 LIBGFOR_IS_NATIVE=true
3658 DEPDIR="${am__leading_dot}deps"
3660 ac_config_commands="$ac_config_commands depfiles"
3663 am_make=${MAKE-make}
3664 cat > confinc << 'END'
3665 am__doit:
3666 @echo this is the am__doit target
3667 .PHONY: am__doit
3669 # If we don't find an include directive, just comment out the code.
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3671 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3672 am__include="#"
3673 am__quote=
3674 _am_result=none
3675 # First try GNU make style include.
3676 echo "include confinc" > confmf
3677 # Ignore all kinds of additional output from 'make'.
3678 case `$am_make -s -f confmf 2> /dev/null` in #(
3679 *the\ am__doit\ target*)
3680 am__include=include
3681 am__quote=
3682 _am_result=GNU
3684 esac
3685 # Now try BSD make style include.
3686 if test "$am__include" = "#"; then
3687 echo '.include "confinc"' > confmf
3688 case `$am_make -s -f confmf 2> /dev/null` in #(
3689 *the\ am__doit\ target*)
3690 am__include=.include
3691 am__quote="\""
3692 _am_result=BSD
3694 esac
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3699 $as_echo "$_am_result" >&6; }
3700 rm -f confinc confmf
3702 # Check whether --enable-dependency-tracking was given.
3703 if test "${enable_dependency_tracking+set}" = set; then :
3704 enableval=$enable_dependency_tracking;
3707 if test "x$enable_dependency_tracking" != xno; then
3708 am_depcomp="$ac_aux_dir/depcomp"
3709 AMDEPBACKSLASH='\'
3710 am__nodep='_no'
3712 if test "x$enable_dependency_tracking" != xno; then
3713 AMDEP_TRUE=
3714 AMDEP_FALSE='#'
3715 else
3716 AMDEP_TRUE='#'
3717 AMDEP_FALSE=
3721 ac_ext=c
3722 ac_cpp='$CPP $CPPFLAGS'
3723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_prog_CC+:} false; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC="$CC" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3744 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3748 done
3749 done
3750 IFS=$as_save_IFS
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$ac_cv_prog_CC"; then
3766 ac_ct_CC=$CC
3767 # Extract the first word of "gcc", so it can be a program name with args.
3768 set dummy gcc; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$ac_ct_CC"; then
3775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3776 else
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 for as_dir in $PATH
3780 IFS=$as_save_IFS
3781 test -z "$as_dir" && as_dir=.
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3784 ac_cv_prog_ac_ct_CC="gcc"
3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 break 2
3788 done
3789 done
3790 IFS=$as_save_IFS
3794 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3795 if test -n "$ac_ct_CC"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3797 $as_echo "$ac_ct_CC" >&6; }
3798 else
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3803 if test "x$ac_ct_CC" = x; then
3804 CC=""
3805 else
3806 case $cross_compiling:$ac_tool_warned in
3807 yes:)
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3810 ac_tool_warned=yes ;;
3811 esac
3812 CC=$ac_ct_CC
3814 else
3815 CC="$ac_cv_prog_CC"
3818 if test -z "$CC"; then
3819 if test -n "$ac_tool_prefix"; then
3820 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3821 set dummy ${ac_tool_prefix}cc; ac_word=$2
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3823 $as_echo_n "checking for $ac_word... " >&6; }
3824 if ${ac_cv_prog_CC+:} false; then :
3825 $as_echo_n "(cached) " >&6
3826 else
3827 if test -n "$CC"; then
3828 ac_cv_prog_CC="$CC" # Let the user override the test.
3829 else
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831 for as_dir in $PATH
3833 IFS=$as_save_IFS
3834 test -z "$as_dir" && as_dir=.
3835 for ac_exec_ext in '' $ac_executable_extensions; do
3836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3837 ac_cv_prog_CC="${ac_tool_prefix}cc"
3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 break 2
3841 done
3842 done
3843 IFS=$as_save_IFS
3847 CC=$ac_cv_prog_CC
3848 if test -n "$CC"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3850 $as_echo "$CC" >&6; }
3851 else
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3853 $as_echo "no" >&6; }
3859 if test -z "$CC"; then
3860 # Extract the first word of "cc", so it can be a program name with args.
3861 set dummy cc; ac_word=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if ${ac_cv_prog_CC+:} false; then :
3865 $as_echo_n "(cached) " >&6
3866 else
3867 if test -n "$CC"; then
3868 ac_cv_prog_CC="$CC" # Let the user override the test.
3869 else
3870 ac_prog_rejected=no
3871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3872 for as_dir in $PATH
3874 IFS=$as_save_IFS
3875 test -z "$as_dir" && as_dir=.
3876 for ac_exec_ext in '' $ac_executable_extensions; do
3877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3878 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3879 ac_prog_rejected=yes
3880 continue
3882 ac_cv_prog_CC="cc"
3883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3884 break 2
3886 done
3887 done
3888 IFS=$as_save_IFS
3890 if test $ac_prog_rejected = yes; then
3891 # We found a bogon in the path, so make sure we never use it.
3892 set dummy $ac_cv_prog_CC
3893 shift
3894 if test $# != 0; then
3895 # We chose a different compiler from the bogus one.
3896 # However, it has the same basename, so the bogon will be chosen
3897 # first if we set CC to just the basename; use the full file name.
3898 shift
3899 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3904 CC=$ac_cv_prog_CC
3905 if test -n "$CC"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3907 $as_echo "$CC" >&6; }
3908 else
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3915 if test -z "$CC"; then
3916 if test -n "$ac_tool_prefix"; then
3917 for ac_prog in cl.exe
3919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3920 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_CC+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC="$CC" # Let the user override the test.
3928 else
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH
3932 IFS=$as_save_IFS
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 break 2
3940 done
3941 done
3942 IFS=$as_save_IFS
3946 CC=$ac_cv_prog_CC
3947 if test -n "$CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3949 $as_echo "$CC" >&6; }
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3956 test -n "$CC" && break
3957 done
3959 if test -z "$CC"; then
3960 ac_ct_CC=$CC
3961 for ac_prog in cl.exe
3963 # Extract the first word of "$ac_prog", so it can be a program name with args.
3964 set dummy $ac_prog; ac_word=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3968 $as_echo_n "(cached) " >&6
3969 else
3970 if test -n "$ac_ct_CC"; then
3971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3972 else
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 for as_dir in $PATH
3976 IFS=$as_save_IFS
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3980 ac_cv_prog_ac_ct_CC="$ac_prog"
3981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 break 2
3984 done
3985 done
3986 IFS=$as_save_IFS
3990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3991 if test -n "$ac_ct_CC"; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3993 $as_echo "$ac_ct_CC" >&6; }
3994 else
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
4000 test -n "$ac_ct_CC" && break
4001 done
4003 if test "x$ac_ct_CC" = x; then
4004 CC=""
4005 else
4006 case $cross_compiling:$ac_tool_warned in
4007 yes:)
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4010 ac_tool_warned=yes ;;
4011 esac
4012 CC=$ac_ct_CC
4019 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error $? "no acceptable C compiler found in \$PATH
4022 See \`config.log' for more details" "$LINENO" 5; }
4024 # Provide some information about the compiler.
4025 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4026 set X $ac_compile
4027 ac_compiler=$2
4028 for ac_option in --version -v -V -qversion; do
4029 { { ac_try="$ac_compiler $ac_option >&5"
4030 case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033 esac
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4037 ac_status=$?
4038 if test -s conftest.err; then
4039 sed '10a\
4040 ... rest of stderr output deleted ...
4041 10q' conftest.err >conftest.er1
4042 cat conftest.er1 >&5
4044 rm -f conftest.er1 conftest.err
4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; }
4047 done
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4051 #include <stdio.h>
4053 main ()
4055 printf ("hello world\n");
4057 return 0;
4059 _ACEOF
4060 # FIXME: Cleanup?
4061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4062 (eval $ac_link) 2>&5
4063 ac_status=$?
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }; then :
4066 gcc_no_link=no
4067 else
4068 gcc_no_link=yes
4070 if test x$gcc_no_link = xyes; then
4071 # Setting cross_compile will disable run tests; it will
4072 # also disable AC_CHECK_FILE but that's generally
4073 # correct if we can't link.
4074 cross_compiling=yes
4075 EXEEXT=
4076 else
4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4081 main ()
4085 return 0;
4087 _ACEOF
4088 ac_clean_files_save=$ac_clean_files
4089 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4090 # Try to create an executable without -o first, disregard a.out.
4091 # It will help us diagnose broken compilers, and finding out an intuition
4092 # of exeext.
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4094 $as_echo_n "checking whether the C compiler works... " >&6; }
4095 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4097 # The possible output files:
4098 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4100 ac_rmfiles=
4101 for ac_file in $ac_files
4103 case $ac_file in
4104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4105 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4106 esac
4107 done
4108 rm -f $ac_rmfiles
4110 if { { ac_try="$ac_link_default"
4111 case "(($ac_try" in
4112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113 *) ac_try_echo=$ac_try;;
4114 esac
4115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4116 $as_echo "$ac_try_echo"; } >&5
4117 (eval "$ac_link_default") 2>&5
4118 ac_status=$?
4119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120 test $ac_status = 0; }; then :
4121 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4122 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4123 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4124 # so that the user can short-circuit this test for compilers unknown to
4125 # Autoconf.
4126 for ac_file in $ac_files ''
4128 test -f "$ac_file" || continue
4129 case $ac_file in
4130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4132 [ab].out )
4133 # We found the default executable, but exeext='' is most
4134 # certainly right.
4135 break;;
4136 *.* )
4137 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4138 then :; else
4139 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 # We set ac_cv_exeext here because the later test for it is not
4142 # safe: cross compilers may not add the suffix if given an `-o'
4143 # argument, so we may need to know it at that point already.
4144 # Even if this section looks crufty: it has the advantage of
4145 # actually working.
4146 break;;
4148 break;;
4149 esac
4150 done
4151 test "$ac_cv_exeext" = no && ac_cv_exeext=
4153 else
4154 ac_file=''
4156 if test -z "$ac_file"; then :
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4159 $as_echo "$as_me: failed program was:" >&5
4160 sed 's/^/| /' conftest.$ac_ext >&5
4162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error 77 "C compiler cannot create executables
4165 See \`config.log' for more details" "$LINENO" 5; }
4166 else
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4168 $as_echo "yes" >&6; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4171 $as_echo_n "checking for C compiler default output file name... " >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4173 $as_echo "$ac_file" >&6; }
4174 ac_exeext=$ac_cv_exeext
4176 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4177 ac_clean_files=$ac_clean_files_save
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4179 $as_echo_n "checking for suffix of executables... " >&6; }
4180 if { { ac_try="$ac_link"
4181 case "(($ac_try" in
4182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4184 esac
4185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4186 $as_echo "$ac_try_echo"; } >&5
4187 (eval "$ac_link") 2>&5
4188 ac_status=$?
4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4190 test $ac_status = 0; }; then :
4191 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4192 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4193 # work properly (i.e., refer to `conftest.exe'), while it won't with
4194 # `rm'.
4195 for ac_file in conftest.exe conftest conftest.*; do
4196 test -f "$ac_file" || continue
4197 case $ac_file in
4198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4199 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4200 break;;
4201 * ) break;;
4202 esac
4203 done
4204 else
4205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4207 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4208 See \`config.log' for more details" "$LINENO" 5; }
4210 rm -f conftest conftest$ac_cv_exeext
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4212 $as_echo "$ac_cv_exeext" >&6; }
4214 rm -f conftest.$ac_ext
4215 EXEEXT=$ac_cv_exeext
4216 ac_exeext=$EXEEXT
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219 #include <stdio.h>
4221 main ()
4223 FILE *f = fopen ("conftest.out", "w");
4224 return ferror (f) || fclose (f) != 0;
4227 return 0;
4229 _ACEOF
4230 ac_clean_files="$ac_clean_files conftest.out"
4231 # Check that the compiler produces executables we can run. If not, either
4232 # the compiler is broken, or we cross compile.
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4234 $as_echo_n "checking whether we are cross compiling... " >&6; }
4235 if test "$cross_compiling" != yes; then
4236 { { ac_try="$ac_link"
4237 case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240 esac
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_link") 2>&5
4244 ac_status=$?
4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }
4247 if { ac_try='./conftest$ac_cv_exeext'
4248 { { case "(($ac_try" in
4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4251 esac
4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254 (eval "$ac_try") 2>&5
4255 ac_status=$?
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; }; then
4258 cross_compiling=no
4259 else
4260 if test "$cross_compiling" = maybe; then
4261 cross_compiling=yes
4262 else
4263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4265 as_fn_error $? "cannot run C compiled programs.
4266 If you meant to cross compile, use \`--host'.
4267 See \`config.log' for more details" "$LINENO" 5; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4272 $as_echo "$cross_compiling" >&6; }
4274 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4275 ac_clean_files=$ac_clean_files_save
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4278 $as_echo_n "checking for suffix of object files... " >&6; }
4279 if ${ac_cv_objext+:} false; then :
4280 $as_echo_n "(cached) " >&6
4281 else
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4286 main ()
4290 return 0;
4292 _ACEOF
4293 rm -f conftest.o conftest.obj
4294 if { { ac_try="$ac_compile"
4295 case "(($ac_try" in
4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4298 esac
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301 (eval "$ac_compile") 2>&5
4302 ac_status=$?
4303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4304 test $ac_status = 0; }; then :
4305 for ac_file in conftest.o conftest.obj conftest.*; do
4306 test -f "$ac_file" || continue;
4307 case $ac_file in
4308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4309 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4310 break;;
4311 esac
4312 done
4313 else
4314 $as_echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4319 as_fn_error $? "cannot compute suffix of object files: cannot compile
4320 See \`config.log' for more details" "$LINENO" 5; }
4322 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4325 $as_echo "$ac_cv_objext" >&6; }
4326 OBJEXT=$ac_cv_objext
4327 ac_objext=$OBJEXT
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4329 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4330 if ${ac_cv_c_compiler_gnu+:} false; then :
4331 $as_echo_n "(cached) " >&6
4332 else
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4337 main ()
4339 #ifndef __GNUC__
4340 choke me
4341 #endif
4344 return 0;
4346 _ACEOF
4347 if ac_fn_c_try_compile "$LINENO"; then :
4348 ac_compiler_gnu=yes
4349 else
4350 ac_compiler_gnu=no
4352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4353 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4357 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4358 if test $ac_compiler_gnu = yes; then
4359 GCC=yes
4360 else
4361 GCC=
4363 ac_test_CFLAGS=${CFLAGS+set}
4364 ac_save_CFLAGS=$CFLAGS
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4366 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4367 if ${ac_cv_prog_cc_g+:} false; then :
4368 $as_echo_n "(cached) " >&6
4369 else
4370 ac_save_c_werror_flag=$ac_c_werror_flag
4371 ac_c_werror_flag=yes
4372 ac_cv_prog_cc_g=no
4373 CFLAGS="-g"
4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4378 main ()
4382 return 0;
4384 _ACEOF
4385 if ac_fn_c_try_compile "$LINENO"; then :
4386 ac_cv_prog_cc_g=yes
4387 else
4388 CFLAGS=""
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4393 main ()
4397 return 0;
4399 _ACEOF
4400 if ac_fn_c_try_compile "$LINENO"; then :
4402 else
4403 ac_c_werror_flag=$ac_save_c_werror_flag
4404 CFLAGS="-g"
4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4409 main ()
4413 return 0;
4415 _ACEOF
4416 if ac_fn_c_try_compile "$LINENO"; then :
4417 ac_cv_prog_cc_g=yes
4419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424 ac_c_werror_flag=$ac_save_c_werror_flag
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4427 $as_echo "$ac_cv_prog_cc_g" >&6; }
4428 if test "$ac_test_CFLAGS" = set; then
4429 CFLAGS=$ac_save_CFLAGS
4430 elif test $ac_cv_prog_cc_g = yes; then
4431 if test "$GCC" = yes; then
4432 CFLAGS="-g -O2"
4433 else
4434 CFLAGS="-g"
4436 else
4437 if test "$GCC" = yes; then
4438 CFLAGS="-O2"
4439 else
4440 CFLAGS=
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4444 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4445 if ${ac_cv_prog_cc_c89+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 ac_cv_prog_cc_c89=no
4449 ac_save_CC=$CC
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4452 #include <stdarg.h>
4453 #include <stdio.h>
4454 struct stat;
4455 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4456 struct buf { int x; };
4457 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4458 static char *e (p, i)
4459 char **p;
4460 int i;
4462 return p[i];
4464 static char *f (char * (*g) (char **, int), char **p, ...)
4466 char *s;
4467 va_list v;
4468 va_start (v,p);
4469 s = g (p, va_arg (v,int));
4470 va_end (v);
4471 return s;
4474 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4475 function prototypes and stuff, but not '\xHH' hex character constants.
4476 These don't provoke an error unfortunately, instead are silently treated
4477 as 'x'. The following induces an error, until -std is added to get
4478 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4479 array size at least. It's necessary to write '\x00'==0 to get something
4480 that's true only with -std. */
4481 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4483 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4484 inside strings and character constants. */
4485 #define FOO(x) 'x'
4486 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4488 int test (int i, double x);
4489 struct s1 {int (*f) (int a);};
4490 struct s2 {int (*f) (double a);};
4491 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4492 int argc;
4493 char **argv;
4495 main ()
4497 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4499 return 0;
4501 _ACEOF
4502 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4503 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4505 CC="$ac_save_CC $ac_arg"
4506 if ac_fn_c_try_compile "$LINENO"; then :
4507 ac_cv_prog_cc_c89=$ac_arg
4509 rm -f core conftest.err conftest.$ac_objext
4510 test "x$ac_cv_prog_cc_c89" != "xno" && break
4511 done
4512 rm -f conftest.$ac_ext
4513 CC=$ac_save_CC
4516 # AC_CACHE_VAL
4517 case "x$ac_cv_prog_cc_c89" in
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4520 $as_echo "none needed" >&6; } ;;
4521 xno)
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4523 $as_echo "unsupported" >&6; } ;;
4525 CC="$CC $ac_cv_prog_cc_c89"
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4527 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4528 esac
4529 if test "x$ac_cv_prog_cc_c89" != xno; then :
4533 ac_ext=c
4534 ac_cpp='$CPP $CPPFLAGS'
4535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4539 ac_ext=c
4540 ac_cpp='$CPP $CPPFLAGS'
4541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4545 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4546 if ${am_cv_prog_cc_c_o+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 # Make sure it works both with $CC and with simple cc.
4561 # Following AC_PROG_CC_C_O, we do the test twice because some
4562 # compilers refuse to overwrite an existing .o file with -o,
4563 # though they will create one.
4564 am_cv_prog_cc_c_o=yes
4565 for am_i in 1 2; do
4566 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4567 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4568 ac_status=$?
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } \
4571 && test -f conftest2.$ac_objext; then
4572 : OK
4573 else
4574 am_cv_prog_cc_c_o=no
4575 break
4577 done
4578 rm -f core conftest*
4579 unset am_i
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4582 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4583 if test "$am_cv_prog_cc_c_o" != yes; then
4584 # Losing compiler, so override with the script.
4585 # FIXME: It is wrong to rewrite CC.
4586 # But if we don't then we get into trouble of one sort or another.
4587 # A longer-term fix would be to have automake use am__CC in this case,
4588 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4589 CC="$am_aux_dir/compile $CC"
4591 ac_ext=c
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 depcc="$CC" am_compiler_list=
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4601 $as_echo_n "checking dependency style of $depcc... " >&6; }
4602 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4606 # We make a subdir and do the tests there. Otherwise we can end up
4607 # making bogus files that we don't know about and never remove. For
4608 # instance it was reported that on HP-UX the gcc test will end up
4609 # making a dummy file named 'D' -- because '-MD' means "put the output
4610 # in D".
4611 rm -rf conftest.dir
4612 mkdir conftest.dir
4613 # Copy depcomp to subdir because otherwise we won't find it if we're
4614 # using a relative directory.
4615 cp "$am_depcomp" conftest.dir
4616 cd conftest.dir
4617 # We will build objects and dependencies in a subdirectory because
4618 # it helps to detect inapplicable dependency modes. For instance
4619 # both Tru64's cc and ICC support -MD to output dependencies as a
4620 # side effect of compilation, but ICC will put the dependencies in
4621 # the current directory while Tru64 will put them in the object
4622 # directory.
4623 mkdir sub
4625 am_cv_CC_dependencies_compiler_type=none
4626 if test "$am_compiler_list" = ""; then
4627 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4629 am__universal=false
4630 case " $depcc " in #(
4631 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4632 esac
4634 for depmode in $am_compiler_list; do
4635 # Setup a source with many dependencies, because some compilers
4636 # like to wrap large dependency lists on column 80 (with \), and
4637 # we should not choose a depcomp mode which is confused by this.
4639 # We need to recreate these files for each test, as the compiler may
4640 # overwrite some of them when testing with obscure command lines.
4641 # This happens at least with the AIX C compiler.
4642 : > sub/conftest.c
4643 for i in 1 2 3 4 5 6; do
4644 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4645 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4646 # Solaris 10 /bin/sh.
4647 echo '/* dummy */' > sub/conftst$i.h
4648 done
4649 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4651 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4652 # mode. It turns out that the SunPro C++ compiler does not properly
4653 # handle '-M -o', and we need to detect this. Also, some Intel
4654 # versions had trouble with output in subdirs.
4655 am__obj=sub/conftest.${OBJEXT-o}
4656 am__minus_obj="-o $am__obj"
4657 case $depmode in
4658 gcc)
4659 # This depmode causes a compiler race in universal mode.
4660 test "$am__universal" = false || continue
4662 nosideeffect)
4663 # After this tag, mechanisms are not by side-effect, so they'll
4664 # only be used when explicitly requested.
4665 if test "x$enable_dependency_tracking" = xyes; then
4666 continue
4667 else
4668 break
4671 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4672 # This compiler won't grok '-c -o', but also, the minuso test has
4673 # not run yet. These depmodes are late enough in the game, and
4674 # so weak that their functioning should not be impacted.
4675 am__obj=conftest.${OBJEXT-o}
4676 am__minus_obj=
4678 none) break ;;
4679 esac
4680 if depmode=$depmode \
4681 source=sub/conftest.c object=$am__obj \
4682 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4683 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4684 >/dev/null 2>conftest.err &&
4685 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4686 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4687 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4688 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4689 # icc doesn't choke on unknown options, it will just issue warnings
4690 # or remarks (even with -Werror). So we grep stderr for any message
4691 # that says an option was ignored or not supported.
4692 # When given -MP, icc 7.0 and 7.1 complain thusly:
4693 # icc: Command line warning: ignoring option '-M'; no argument required
4694 # The diagnosis changed in icc 8.0:
4695 # icc: Command line remark: option '-MP' not supported
4696 if (grep 'ignoring option' conftest.err ||
4697 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4698 am_cv_CC_dependencies_compiler_type=$depmode
4699 break
4702 done
4704 cd ..
4705 rm -rf conftest.dir
4706 else
4707 am_cv_CC_dependencies_compiler_type=none
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4712 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4713 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4716 test "x$enable_dependency_tracking" != xno \
4717 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4718 am__fastdepCC_TRUE=
4719 am__fastdepCC_FALSE='#'
4720 else
4721 am__fastdepCC_TRUE='#'
4722 am__fastdepCC_FALSE=
4727 ac_ext=c
4728 ac_cpp='$CPP $CPPFLAGS'
4729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4733 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4734 # On Suns, sometimes $CPP names a directory.
4735 if test -n "$CPP" && test -d "$CPP"; then
4736 CPP=
4738 if test -z "$CPP"; then
4739 if ${ac_cv_prog_CPP+:} false; then :
4740 $as_echo_n "(cached) " >&6
4741 else
4742 # Double quotes because CPP needs to be expanded
4743 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4745 ac_preproc_ok=false
4746 for ac_c_preproc_warn_flag in '' yes
4748 # Use a header file that comes with gcc, so configuring glibc
4749 # with a fresh cross-compiler works.
4750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4751 # <limits.h> exists even on freestanding compilers.
4752 # On the NeXT, cc -E runs the code through the compiler's parser,
4753 # not just through cpp. "Syntax error" is here to catch this case.
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4756 #ifdef __STDC__
4757 # include <limits.h>
4758 #else
4759 # include <assert.h>
4760 #endif
4761 Syntax error
4762 _ACEOF
4763 if ac_fn_c_try_cpp "$LINENO"; then :
4765 else
4766 # Broken: fails on valid input.
4767 continue
4769 rm -f conftest.err conftest.i conftest.$ac_ext
4771 # OK, works on sane cases. Now check whether nonexistent headers
4772 # can be detected and how.
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4775 #include <ac_nonexistent.h>
4776 _ACEOF
4777 if ac_fn_c_try_cpp "$LINENO"; then :
4778 # Broken: success on invalid input.
4779 continue
4780 else
4781 # Passes both tests.
4782 ac_preproc_ok=:
4783 break
4785 rm -f conftest.err conftest.i conftest.$ac_ext
4787 done
4788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4789 rm -f conftest.i conftest.err conftest.$ac_ext
4790 if $ac_preproc_ok; then :
4791 break
4794 done
4795 ac_cv_prog_CPP=$CPP
4798 CPP=$ac_cv_prog_CPP
4799 else
4800 ac_cv_prog_CPP=$CPP
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4803 $as_echo "$CPP" >&6; }
4804 ac_preproc_ok=false
4805 for ac_c_preproc_warn_flag in '' yes
4807 # Use a header file that comes with gcc, so configuring glibc
4808 # with a fresh cross-compiler works.
4809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4810 # <limits.h> exists even on freestanding compilers.
4811 # On the NeXT, cc -E runs the code through the compiler's parser,
4812 # not just through cpp. "Syntax error" is here to catch this case.
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4815 #ifdef __STDC__
4816 # include <limits.h>
4817 #else
4818 # include <assert.h>
4819 #endif
4820 Syntax error
4821 _ACEOF
4822 if ac_fn_c_try_cpp "$LINENO"; then :
4824 else
4825 # Broken: fails on valid input.
4826 continue
4828 rm -f conftest.err conftest.i conftest.$ac_ext
4830 # OK, works on sane cases. Now check whether nonexistent headers
4831 # can be detected and how.
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4834 #include <ac_nonexistent.h>
4835 _ACEOF
4836 if ac_fn_c_try_cpp "$LINENO"; then :
4837 # Broken: success on invalid input.
4838 continue
4839 else
4840 # Passes both tests.
4841 ac_preproc_ok=:
4842 break
4844 rm -f conftest.err conftest.i conftest.$ac_ext
4846 done
4847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4848 rm -f conftest.i conftest.err conftest.$ac_ext
4849 if $ac_preproc_ok; then :
4851 else
4852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4854 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4855 See \`config.log' for more details" "$LINENO" 5; }
4858 ac_ext=c
4859 ac_cpp='$CPP $CPPFLAGS'
4860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4866 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4867 if ${ac_cv_path_GREP+:} false; then :
4868 $as_echo_n "(cached) " >&6
4869 else
4870 if test -z "$GREP"; then
4871 ac_path_GREP_found=false
4872 # Loop through the user's path and test for each of PROGNAME-LIST
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4876 IFS=$as_save_IFS
4877 test -z "$as_dir" && as_dir=.
4878 for ac_prog in grep ggrep; do
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4881 as_fn_executable_p "$ac_path_GREP" || continue
4882 # Check for GNU ac_path_GREP and select it if it is found.
4883 # Check for GNU $ac_path_GREP
4884 case `"$ac_path_GREP" --version 2>&1` in
4885 *GNU*)
4886 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4888 ac_count=0
4889 $as_echo_n 0123456789 >"conftest.in"
4890 while :
4892 cat "conftest.in" "conftest.in" >"conftest.tmp"
4893 mv "conftest.tmp" "conftest.in"
4894 cp "conftest.in" "conftest.nl"
4895 $as_echo 'GREP' >> "conftest.nl"
4896 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4897 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4898 as_fn_arith $ac_count + 1 && ac_count=$as_val
4899 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4900 # Best one so far, save it but keep looking for a better one
4901 ac_cv_path_GREP="$ac_path_GREP"
4902 ac_path_GREP_max=$ac_count
4904 # 10*(2^10) chars as input seems more than enough
4905 test $ac_count -gt 10 && break
4906 done
4907 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4908 esac
4910 $ac_path_GREP_found && break 3
4911 done
4912 done
4913 done
4914 IFS=$as_save_IFS
4915 if test -z "$ac_cv_path_GREP"; then
4916 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4918 else
4919 ac_cv_path_GREP=$GREP
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4924 $as_echo "$ac_cv_path_GREP" >&6; }
4925 GREP="$ac_cv_path_GREP"
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4929 $as_echo_n "checking for egrep... " >&6; }
4930 if ${ac_cv_path_EGREP+:} false; then :
4931 $as_echo_n "(cached) " >&6
4932 else
4933 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4934 then ac_cv_path_EGREP="$GREP -E"
4935 else
4936 if test -z "$EGREP"; then
4937 ac_path_EGREP_found=false
4938 # Loop through the user's path and test for each of PROGNAME-LIST
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_prog in egrep; do
4945 for ac_exec_ext in '' $ac_executable_extensions; do
4946 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4947 as_fn_executable_p "$ac_path_EGREP" || continue
4948 # Check for GNU ac_path_EGREP and select it if it is found.
4949 # Check for GNU $ac_path_EGREP
4950 case `"$ac_path_EGREP" --version 2>&1` in
4951 *GNU*)
4952 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4954 ac_count=0
4955 $as_echo_n 0123456789 >"conftest.in"
4956 while :
4958 cat "conftest.in" "conftest.in" >"conftest.tmp"
4959 mv "conftest.tmp" "conftest.in"
4960 cp "conftest.in" "conftest.nl"
4961 $as_echo 'EGREP' >> "conftest.nl"
4962 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4963 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4964 as_fn_arith $ac_count + 1 && ac_count=$as_val
4965 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4966 # Best one so far, save it but keep looking for a better one
4967 ac_cv_path_EGREP="$ac_path_EGREP"
4968 ac_path_EGREP_max=$ac_count
4970 # 10*(2^10) chars as input seems more than enough
4971 test $ac_count -gt 10 && break
4972 done
4973 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4974 esac
4976 $ac_path_EGREP_found && break 3
4977 done
4978 done
4979 done
4980 IFS=$as_save_IFS
4981 if test -z "$ac_cv_path_EGREP"; then
4982 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4984 else
4985 ac_cv_path_EGREP=$EGREP
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4991 $as_echo "$ac_cv_path_EGREP" >&6; }
4992 EGREP="$ac_cv_path_EGREP"
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4996 $as_echo_n "checking for ANSI C header files... " >&6; }
4997 if ${ac_cv_header_stdc+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5002 #include <stdlib.h>
5003 #include <stdarg.h>
5004 #include <string.h>
5005 #include <float.h>
5008 main ()
5012 return 0;
5014 _ACEOF
5015 if ac_fn_c_try_compile "$LINENO"; then :
5016 ac_cv_header_stdc=yes
5017 else
5018 ac_cv_header_stdc=no
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 if test $ac_cv_header_stdc = yes; then
5023 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 #include <string.h>
5028 _ACEOF
5029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5030 $EGREP "memchr" >/dev/null 2>&1; then :
5032 else
5033 ac_cv_header_stdc=no
5035 rm -f conftest*
5039 if test $ac_cv_header_stdc = yes; then
5040 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5043 #include <stdlib.h>
5045 _ACEOF
5046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5047 $EGREP "free" >/dev/null 2>&1; then :
5049 else
5050 ac_cv_header_stdc=no
5052 rm -f conftest*
5056 if test $ac_cv_header_stdc = yes; then
5057 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5058 if test "$cross_compiling" = yes; then :
5060 else
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5063 #include <ctype.h>
5064 #include <stdlib.h>
5065 #if ((' ' & 0x0FF) == 0x020)
5066 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5067 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5068 #else
5069 # define ISLOWER(c) \
5070 (('a' <= (c) && (c) <= 'i') \
5071 || ('j' <= (c) && (c) <= 'r') \
5072 || ('s' <= (c) && (c) <= 'z'))
5073 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5074 #endif
5076 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5078 main ()
5080 int i;
5081 for (i = 0; i < 256; i++)
5082 if (XOR (islower (i), ISLOWER (i))
5083 || toupper (i) != TOUPPER (i))
5084 return 2;
5085 return 0;
5087 _ACEOF
5088 if ac_fn_c_try_run "$LINENO"; then :
5090 else
5091 ac_cv_header_stdc=no
5093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5094 conftest.$ac_objext conftest.beam conftest.$ac_ext
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5100 $as_echo "$ac_cv_header_stdc" >&6; }
5101 if test $ac_cv_header_stdc = yes; then
5103 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5107 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5108 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5109 inttypes.h stdint.h unistd.h
5110 do :
5111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5114 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5115 cat >>confdefs.h <<_ACEOF
5116 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5117 _ACEOF
5121 done
5125 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5126 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5127 MINIX=yes
5128 else
5129 MINIX=
5133 if test "$MINIX" = yes; then
5135 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5138 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5141 $as_echo "#define _MINIX 1" >>confdefs.h
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5147 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5148 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5154 # define __EXTENSIONS__ 1
5155 $ac_includes_default
5157 main ()
5161 return 0;
5163 _ACEOF
5164 if ac_fn_c_try_compile "$LINENO"; then :
5165 ac_cv_safe_to_define___extensions__=yes
5166 else
5167 ac_cv_safe_to_define___extensions__=no
5169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5172 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5173 test $ac_cv_safe_to_define___extensions__ = yes &&
5174 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5176 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5178 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5180 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5182 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5187 # Check whether --with-toolexeclibdir was given.
5188 if test "${with_toolexeclibdir+set}" = set; then :
5189 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5193 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5195 esac
5196 else
5197 with_toolexeclibdir=no
5202 # Calculate toolexeclibdir
5203 # Also toolexecdir, though it's only used in toolexeclibdir
5204 case ${version_specific_libs} in
5205 yes)
5206 # Need the gcc compiler version to know where to install libraries
5207 # and header files if --enable-version-specific-runtime-libs option
5208 # is selected.
5209 toolexecdir='$(libdir)/gcc/$(target_alias)'
5210 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5213 if test -n "$with_cross_host" &&
5214 test x"$with_cross_host" != x"no"; then
5215 # Install a library built with a cross compiler in tooldir, not libdir.
5216 toolexecdir='$(exec_prefix)/$(target_alias)'
5217 case ${with_toolexeclibdir} in
5219 toolexeclibdir='$(toolexecdir)/lib'
5222 toolexeclibdir=${with_toolexeclibdir}
5224 esac
5225 else
5226 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5227 toolexeclibdir='$(libdir)'
5229 multi_os_directory=`$CC -print-multi-os-directory`
5230 case $multi_os_directory in
5231 .) ;; # Avoid trailing /.
5232 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5233 esac
5235 esac
5239 # Create a spec file, so that compile/link tests don't fail
5240 test -f libgfortran.spec || touch libgfortran.spec
5242 ac_ext=c
5243 ac_cpp='$CPP $CPPFLAGS'
5244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5248 # Check the compiler.
5249 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5250 # We must force CC to /not/ be precious variables; otherwise
5251 # the wrong, non-multilib-adjusted value will be used in multilibs.
5252 # As a side effect, we have to subst CFLAGS ourselves.
5256 ac_ext=c
5257 ac_cpp='$CPP $CPPFLAGS'
5258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5261 if test -n "$ac_tool_prefix"; then
5262 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5263 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_CC+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$CC"; then
5270 ac_cv_prog_CC="$CC" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 CC=$ac_cv_prog_CC
5290 if test -n "$CC"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5292 $as_echo "$CC" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5300 if test -z "$ac_cv_prog_CC"; then
5301 ac_ct_CC=$CC
5302 # Extract the first word of "gcc", so it can be a program name with args.
5303 set dummy gcc; ac_word=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 if test -n "$ac_ct_CC"; then
5310 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5311 else
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH
5315 IFS=$as_save_IFS
5316 test -z "$as_dir" && as_dir=.
5317 for ac_exec_ext in '' $ac_executable_extensions; do
5318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5319 ac_cv_prog_ac_ct_CC="gcc"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 break 2
5323 done
5324 done
5325 IFS=$as_save_IFS
5329 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5330 if test -n "$ac_ct_CC"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5332 $as_echo "$ac_ct_CC" >&6; }
5333 else
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5338 if test "x$ac_ct_CC" = x; then
5339 CC=""
5340 else
5341 case $cross_compiling:$ac_tool_warned in
5342 yes:)
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345 ac_tool_warned=yes ;;
5346 esac
5347 CC=$ac_ct_CC
5349 else
5350 CC="$ac_cv_prog_CC"
5353 if test -z "$CC"; then
5354 if test -n "$ac_tool_prefix"; then
5355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5356 set dummy ${ac_tool_prefix}cc; ac_word=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if ${ac_cv_prog_CC+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 if test -n "$CC"; then
5363 ac_cv_prog_CC="$CC" # Let the user override the test.
5364 else
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH
5368 IFS=$as_save_IFS
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5372 ac_cv_prog_CC="${ac_tool_prefix}cc"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 break 2
5376 done
5377 done
5378 IFS=$as_save_IFS
5382 CC=$ac_cv_prog_CC
5383 if test -n "$CC"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5385 $as_echo "$CC" >&6; }
5386 else
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5394 if test -z "$CC"; then
5395 # Extract the first word of "cc", so it can be a program name with args.
5396 set dummy cc; ac_word=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_CC+:} false; then :
5400 $as_echo_n "(cached) " >&6
5401 else
5402 if test -n "$CC"; then
5403 ac_cv_prog_CC="$CC" # Let the user override the test.
5404 else
5405 ac_prog_rejected=no
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 for as_dir in $PATH
5409 IFS=$as_save_IFS
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5413 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5414 ac_prog_rejected=yes
5415 continue
5417 ac_cv_prog_CC="cc"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5425 if test $ac_prog_rejected = yes; then
5426 # We found a bogon in the path, so make sure we never use it.
5427 set dummy $ac_cv_prog_CC
5428 shift
5429 if test $# != 0; then
5430 # We chose a different compiler from the bogus one.
5431 # However, it has the same basename, so the bogon will be chosen
5432 # first if we set CC to just the basename; use the full file name.
5433 shift
5434 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5439 CC=$ac_cv_prog_CC
5440 if test -n "$CC"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5442 $as_echo "$CC" >&6; }
5443 else
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5450 if test -z "$CC"; then
5451 if test -n "$ac_tool_prefix"; then
5452 for ac_prog in cl.exe
5454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_CC+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$CC"; then
5462 ac_cv_prog_CC="$CC" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 CC=$ac_cv_prog_CC
5482 if test -n "$CC"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5484 $as_echo "$CC" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 test -n "$CC" && break
5492 done
5494 if test -z "$CC"; then
5495 ac_ct_CC=$CC
5496 for ac_prog in cl.exe
5498 # Extract the first word of "$ac_prog", so it can be a program name with args.
5499 set dummy $ac_prog; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$ac_ct_CC"; then
5506 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_CC="$ac_prog"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5519 done
5520 done
5521 IFS=$as_save_IFS
5525 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5526 if test -n "$ac_ct_CC"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5528 $as_echo "$ac_ct_CC" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5535 test -n "$ac_ct_CC" && break
5536 done
5538 if test "x$ac_ct_CC" = x; then
5539 CC=""
5540 else
5541 case $cross_compiling:$ac_tool_warned in
5542 yes:)
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5545 ac_tool_warned=yes ;;
5546 esac
5547 CC=$ac_ct_CC
5554 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5556 as_fn_error $? "no acceptable C compiler found in \$PATH
5557 See \`config.log' for more details" "$LINENO" 5; }
5559 # Provide some information about the compiler.
5560 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5561 set X $ac_compile
5562 ac_compiler=$2
5563 for ac_option in --version -v -V -qversion; do
5564 { { ac_try="$ac_compiler $ac_option >&5"
5565 case "(($ac_try" in
5566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5567 *) ac_try_echo=$ac_try;;
5568 esac
5569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5570 $as_echo "$ac_try_echo"; } >&5
5571 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5572 ac_status=$?
5573 if test -s conftest.err; then
5574 sed '10a\
5575 ... rest of stderr output deleted ...
5576 10q' conftest.err >conftest.er1
5577 cat conftest.er1 >&5
5579 rm -f conftest.er1 conftest.err
5580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5581 test $ac_status = 0; }
5582 done
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5585 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5586 if ${ac_cv_c_compiler_gnu+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5593 main ()
5595 #ifndef __GNUC__
5596 choke me
5597 #endif
5600 return 0;
5602 _ACEOF
5603 if ac_fn_c_try_compile "$LINENO"; then :
5604 ac_compiler_gnu=yes
5605 else
5606 ac_compiler_gnu=no
5608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5609 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5613 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5614 if test $ac_compiler_gnu = yes; then
5615 GCC=yes
5616 else
5617 GCC=
5619 ac_test_CFLAGS=${CFLAGS+set}
5620 ac_save_CFLAGS=$CFLAGS
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5622 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5623 if ${ac_cv_prog_cc_g+:} false; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 ac_save_c_werror_flag=$ac_c_werror_flag
5627 ac_c_werror_flag=yes
5628 ac_cv_prog_cc_g=no
5629 CFLAGS="-g"
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5634 main ()
5638 return 0;
5640 _ACEOF
5641 if ac_fn_c_try_compile "$LINENO"; then :
5642 ac_cv_prog_cc_g=yes
5643 else
5644 CFLAGS=""
5645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5649 main ()
5653 return 0;
5655 _ACEOF
5656 if ac_fn_c_try_compile "$LINENO"; then :
5658 else
5659 ac_c_werror_flag=$ac_save_c_werror_flag
5660 CFLAGS="-g"
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5665 main ()
5669 return 0;
5671 _ACEOF
5672 if ac_fn_c_try_compile "$LINENO"; then :
5673 ac_cv_prog_cc_g=yes
5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680 ac_c_werror_flag=$ac_save_c_werror_flag
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5683 $as_echo "$ac_cv_prog_cc_g" >&6; }
5684 if test "$ac_test_CFLAGS" = set; then
5685 CFLAGS=$ac_save_CFLAGS
5686 elif test $ac_cv_prog_cc_g = yes; then
5687 if test "$GCC" = yes; then
5688 CFLAGS="-g -O2"
5689 else
5690 CFLAGS="-g"
5692 else
5693 if test "$GCC" = yes; then
5694 CFLAGS="-O2"
5695 else
5696 CFLAGS=
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5700 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5701 if ${ac_cv_prog_cc_c89+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703 else
5704 ac_cv_prog_cc_c89=no
5705 ac_save_CC=$CC
5706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5708 #include <stdarg.h>
5709 #include <stdio.h>
5710 struct stat;
5711 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5712 struct buf { int x; };
5713 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5714 static char *e (p, i)
5715 char **p;
5716 int i;
5718 return p[i];
5720 static char *f (char * (*g) (char **, int), char **p, ...)
5722 char *s;
5723 va_list v;
5724 va_start (v,p);
5725 s = g (p, va_arg (v,int));
5726 va_end (v);
5727 return s;
5730 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5731 function prototypes and stuff, but not '\xHH' hex character constants.
5732 These don't provoke an error unfortunately, instead are silently treated
5733 as 'x'. The following induces an error, until -std is added to get
5734 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5735 array size at least. It's necessary to write '\x00'==0 to get something
5736 that's true only with -std. */
5737 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5739 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5740 inside strings and character constants. */
5741 #define FOO(x) 'x'
5742 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5744 int test (int i, double x);
5745 struct s1 {int (*f) (int a);};
5746 struct s2 {int (*f) (double a);};
5747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5748 int argc;
5749 char **argv;
5751 main ()
5753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5755 return 0;
5757 _ACEOF
5758 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5761 CC="$ac_save_CC $ac_arg"
5762 if ac_fn_c_try_compile "$LINENO"; then :
5763 ac_cv_prog_cc_c89=$ac_arg
5765 rm -f core conftest.err conftest.$ac_objext
5766 test "x$ac_cv_prog_cc_c89" != "xno" && break
5767 done
5768 rm -f conftest.$ac_ext
5769 CC=$ac_save_CC
5772 # AC_CACHE_VAL
5773 case "x$ac_cv_prog_cc_c89" in
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5776 $as_echo "none needed" >&6; } ;;
5777 xno)
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5779 $as_echo "unsupported" >&6; } ;;
5781 CC="$CC $ac_cv_prog_cc_c89"
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5783 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5784 esac
5785 if test "x$ac_cv_prog_cc_c89" != xno; then :
5789 ac_ext=c
5790 ac_cpp='$CPP $CPPFLAGS'
5791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5795 ac_ext=c
5796 ac_cpp='$CPP $CPPFLAGS'
5797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5801 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5802 if ${am_cv_prog_cc_c_o+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5809 main ()
5813 return 0;
5815 _ACEOF
5816 # Make sure it works both with $CC and with simple cc.
5817 # Following AC_PROG_CC_C_O, we do the test twice because some
5818 # compilers refuse to overwrite an existing .o file with -o,
5819 # though they will create one.
5820 am_cv_prog_cc_c_o=yes
5821 for am_i in 1 2; do
5822 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5823 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5824 ac_status=$?
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); } \
5827 && test -f conftest2.$ac_objext; then
5828 : OK
5829 else
5830 am_cv_prog_cc_c_o=no
5831 break
5833 done
5834 rm -f core conftest*
5835 unset am_i
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5838 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5839 if test "$am_cv_prog_cc_c_o" != yes; then
5840 # Losing compiler, so override with the script.
5841 # FIXME: It is wrong to rewrite CC.
5842 # But if we don't then we get into trouble of one sort or another.
5843 # A longer-term fix would be to have automake use am__CC in this case,
5844 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5845 CC="$am_aux_dir/compile $CC"
5847 ac_ext=c
5848 ac_cpp='$CPP $CPPFLAGS'
5849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5854 depcc="$CC" am_compiler_list=
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5857 $as_echo_n "checking dependency style of $depcc... " >&6; }
5858 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5862 # We make a subdir and do the tests there. Otherwise we can end up
5863 # making bogus files that we don't know about and never remove. For
5864 # instance it was reported that on HP-UX the gcc test will end up
5865 # making a dummy file named 'D' -- because '-MD' means "put the output
5866 # in D".
5867 rm -rf conftest.dir
5868 mkdir conftest.dir
5869 # Copy depcomp to subdir because otherwise we won't find it if we're
5870 # using a relative directory.
5871 cp "$am_depcomp" conftest.dir
5872 cd conftest.dir
5873 # We will build objects and dependencies in a subdirectory because
5874 # it helps to detect inapplicable dependency modes. For instance
5875 # both Tru64's cc and ICC support -MD to output dependencies as a
5876 # side effect of compilation, but ICC will put the dependencies in
5877 # the current directory while Tru64 will put them in the object
5878 # directory.
5879 mkdir sub
5881 am_cv_CC_dependencies_compiler_type=none
5882 if test "$am_compiler_list" = ""; then
5883 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5885 am__universal=false
5886 case " $depcc " in #(
5887 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5888 esac
5890 for depmode in $am_compiler_list; do
5891 # Setup a source with many dependencies, because some compilers
5892 # like to wrap large dependency lists on column 80 (with \), and
5893 # we should not choose a depcomp mode which is confused by this.
5895 # We need to recreate these files for each test, as the compiler may
5896 # overwrite some of them when testing with obscure command lines.
5897 # This happens at least with the AIX C compiler.
5898 : > sub/conftest.c
5899 for i in 1 2 3 4 5 6; do
5900 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5901 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5902 # Solaris 10 /bin/sh.
5903 echo '/* dummy */' > sub/conftst$i.h
5904 done
5905 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5907 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5908 # mode. It turns out that the SunPro C++ compiler does not properly
5909 # handle '-M -o', and we need to detect this. Also, some Intel
5910 # versions had trouble with output in subdirs.
5911 am__obj=sub/conftest.${OBJEXT-o}
5912 am__minus_obj="-o $am__obj"
5913 case $depmode in
5914 gcc)
5915 # This depmode causes a compiler race in universal mode.
5916 test "$am__universal" = false || continue
5918 nosideeffect)
5919 # After this tag, mechanisms are not by side-effect, so they'll
5920 # only be used when explicitly requested.
5921 if test "x$enable_dependency_tracking" = xyes; then
5922 continue
5923 else
5924 break
5927 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5928 # This compiler won't grok '-c -o', but also, the minuso test has
5929 # not run yet. These depmodes are late enough in the game, and
5930 # so weak that their functioning should not be impacted.
5931 am__obj=conftest.${OBJEXT-o}
5932 am__minus_obj=
5934 none) break ;;
5935 esac
5936 if depmode=$depmode \
5937 source=sub/conftest.c object=$am__obj \
5938 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5939 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5940 >/dev/null 2>conftest.err &&
5941 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5942 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5943 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5944 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5945 # icc doesn't choke on unknown options, it will just issue warnings
5946 # or remarks (even with -Werror). So we grep stderr for any message
5947 # that says an option was ignored or not supported.
5948 # When given -MP, icc 7.0 and 7.1 complain thusly:
5949 # icc: Command line warning: ignoring option '-M'; no argument required
5950 # The diagnosis changed in icc 8.0:
5951 # icc: Command line remark: option '-MP' not supported
5952 if (grep 'ignoring option' conftest.err ||
5953 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5954 am_cv_CC_dependencies_compiler_type=$depmode
5955 break
5958 done
5960 cd ..
5961 rm -rf conftest.dir
5962 else
5963 am_cv_CC_dependencies_compiler_type=none
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5968 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5969 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5972 test "x$enable_dependency_tracking" != xno \
5973 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5974 am__fastdepCC_TRUE=
5975 am__fastdepCC_FALSE='#'
5976 else
5977 am__fastdepCC_TRUE='#'
5978 am__fastdepCC_FALSE=
5988 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5989 have_real_17=no
5990 if test "x$GCC" = "xyes"; then
5991 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5992 ## We like to use C11 and C99 routines when available. This makes
5993 ## sure that
5994 ## __STDC_VERSION__ is set such that libc includes make them available.
5995 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5996 ## Compile the following tests with the same system header contents
5997 ## that we'll encounter when compiling our own source files.
5998 CFLAGS="-std=gnu11 $CFLAGS"
6000 case x$target in
6001 xpowerpc64le*-linux*)
6002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6003 /* end confdefs.h. */
6004 #if __SIZEOF_LONG_DOUBLE__ != 16
6005 #error long double is double
6006 #endif
6008 main ()
6010 (void) 0;
6012 return 0;
6014 _ACEOF
6015 if ac_fn_c_try_cpp "$LINENO"; then :
6016 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6017 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6018 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6019 have_real_17=yes
6021 rm -f conftest.err conftest.i conftest.$ac_ext
6025 esac
6027 if test "x$have_real_17" != xno; then
6028 HAVE_REAL_17_TRUE=
6029 HAVE_REAL_17_FALSE='#'
6030 else
6031 HAVE_REAL_17_TRUE='#'
6032 HAVE_REAL_17_FALSE=
6036 # Add CET specific flags if CET is enabled
6037 # Check whether --enable-cet was given.
6038 if test "${enable_cet+set}" = set; then :
6039 enableval=$enable_cet;
6040 case "$enableval" in
6041 yes|no|auto) ;;
6042 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6043 esac
6045 else
6046 enable_cet=auto
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6051 $as_echo_n "checking for CET support... " >&6; }
6053 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6054 case "$host" in
6055 i[34567]86-*-linux* | x86_64-*-linux*)
6056 case "$enable_cet" in
6057 auto)
6058 # Check if target supports multi-byte NOPs
6059 # and if compiler and assembler support CET insn.
6060 cet_save_CFLAGS="$CFLAGS"
6061 CFLAGS="$CFLAGS -fcf-protection"
6062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6066 main ()
6069 #if !defined(__SSE2__)
6070 #error target does not support multi-byte NOPs
6071 #else
6072 asm ("setssbsy");
6073 #endif
6076 return 0;
6078 _ACEOF
6079 if ac_fn_c_try_compile "$LINENO"; then :
6080 enable_cet=yes
6081 else
6082 enable_cet=no
6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 CFLAGS="$cet_save_CFLAGS"
6087 yes)
6088 # Check if assembler supports CET.
6089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6093 main ()
6095 asm ("setssbsy");
6097 return 0;
6099 _ACEOF
6100 if ac_fn_c_try_compile "$LINENO"; then :
6102 else
6103 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6107 esac
6110 enable_cet=no
6112 esac
6113 if test x$enable_cet = xyes; then
6114 CET_FLAGS="-fcf-protection -mshstk"
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6116 $as_echo "yes" >&6; }
6117 else
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6122 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6123 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6124 CFLAGS="$CFLAGS $CET_FLAGS"
6130 # Check for symbol versioning (copied from libssp).
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6132 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6133 # Check whether --enable-symvers was given.
6134 if test "${enable_symvers+set}" = set; then :
6135 enableval=$enable_symvers; gfortran_use_symver=$enableval
6136 else
6137 gfortran_use_symver=yes
6140 if test "x$gfortran_use_symver" != xno; then
6141 save_LDFLAGS="$LDFLAGS"
6142 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6143 cat > conftest.map <<EOF
6144 FOO_1.0 {
6145 global: *foo*; bar; local: *;
6148 if test x$gcc_no_link = xyes; then
6149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6152 /* end confdefs.h. */
6153 int foo;
6155 main ()
6159 return 0;
6161 _ACEOF
6162 if ac_fn_c_try_link "$LINENO"; then :
6163 gfortran_use_symver=gnu
6164 else
6165 gfortran_use_symver=no
6167 rm -f core conftest.err conftest.$ac_objext \
6168 conftest$ac_exeext conftest.$ac_ext
6169 if test x$gfortran_use_symver = xno; then
6170 case "$target_os" in
6171 solaris2*)
6172 LDFLAGS="$save_LDFLAGS"
6173 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6174 # Sun ld cannot handle wildcards and treats all entries as undefined.
6175 cat > conftest.map <<EOF
6176 FOO_1.0 {
6177 global: foo; local: *;
6180 if test x$gcc_no_link = xyes; then
6181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6185 int foo;
6187 main ()
6191 return 0;
6193 _ACEOF
6194 if ac_fn_c_try_link "$LINENO"; then :
6195 gfortran_use_symver=sun
6196 else
6197 gfortran_use_symver=no
6199 rm -f core conftest.err conftest.$ac_objext \
6200 conftest$ac_exeext conftest.$ac_ext
6202 esac
6204 LDFLAGS="$save_LDFLAGS"
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6207 $as_echo "$gfortran_use_symver" >&6; }
6208 if test "x$gfortran_use_symver" != xno; then
6209 LIBGFOR_USE_SYMVER_TRUE=
6210 LIBGFOR_USE_SYMVER_FALSE='#'
6211 else
6212 LIBGFOR_USE_SYMVER_TRUE='#'
6213 LIBGFOR_USE_SYMVER_FALSE=
6216 if test "x$gfortran_use_symver" = xgnu; then
6217 LIBGFOR_USE_SYMVER_GNU_TRUE=
6218 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6219 else
6220 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6221 LIBGFOR_USE_SYMVER_GNU_FALSE=
6224 if test "x$gfortran_use_symver" = xsun; then
6225 LIBGFOR_USE_SYMVER_SUN_TRUE=
6226 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6227 else
6228 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6229 LIBGFOR_USE_SYMVER_SUN_FALSE=
6233 # For GPU offloading, not everything in libfortran can be supported.
6234 # Currently, the only target that has this problem is nvptx. The
6235 # following is a (partial) list of features that are unsupportable on
6236 # this particular target:
6237 # * Constructors
6238 # * alloca
6239 # * C library support for I/O, with printf as the one notable exception
6240 # * C library support for other features such as signal, environment
6241 # variables, time functions
6243 if test "x${target_cpu}" = xnvptx; then
6244 LIBGFOR_MINIMAL_TRUE=
6245 LIBGFOR_MINIMAL_FALSE='#'
6246 else
6247 LIBGFOR_MINIMAL_TRUE='#'
6248 LIBGFOR_MINIMAL_FALSE=
6252 # Some compiler target support may have limited support for integer
6253 # or floating point numbers – or may want to reduce the libgfortran size
6254 # although they do have the support.
6255 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6256 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6261 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6262 # similarly to how libstdc++ does it
6263 ac_test_CFLAGS="${CFLAGS+set}"
6264 ac_save_CFLAGS="$CFLAGS"
6266 # Check for -ffunction-sections -fdata-sections
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6268 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6269 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6274 main ()
6276 int foo;
6278 return 0;
6280 _ACEOF
6281 if ac_fn_c_try_compile "$LINENO"; then :
6282 ac_fdsections=yes
6283 else
6284 ac_fdsections=no
6286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6287 if test "$ac_test_CFLAGS" = set; then
6288 CFLAGS="$ac_save_CFLAGS"
6289 else
6290 # this is the suspicious part
6291 CFLAGS=""
6293 if test x"$ac_fdsections" = x"yes"; then
6294 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6297 $as_echo "$ac_fdsections" >&6; }
6300 # Check linker hardware capability support.
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6302 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6303 if ${ac_cv_path_SED+:} false; then :
6304 $as_echo_n "(cached) " >&6
6305 else
6306 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6307 for ac_i in 1 2 3 4 5 6 7; do
6308 ac_script="$ac_script$as_nl$ac_script"
6309 done
6310 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6311 { ac_script=; unset ac_script;}
6312 if test -z "$SED"; then
6313 ac_path_SED_found=false
6314 # Loop through the user's path and test for each of PROGNAME-LIST
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 for as_dir in $PATH
6318 IFS=$as_save_IFS
6319 test -z "$as_dir" && as_dir=.
6320 for ac_prog in sed gsed; do
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6322 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6323 as_fn_executable_p "$ac_path_SED" || continue
6324 # Check for GNU ac_path_SED and select it if it is found.
6325 # Check for GNU $ac_path_SED
6326 case `"$ac_path_SED" --version 2>&1` in
6327 *GNU*)
6328 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6330 ac_count=0
6331 $as_echo_n 0123456789 >"conftest.in"
6332 while :
6334 cat "conftest.in" "conftest.in" >"conftest.tmp"
6335 mv "conftest.tmp" "conftest.in"
6336 cp "conftest.in" "conftest.nl"
6337 $as_echo '' >> "conftest.nl"
6338 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6340 as_fn_arith $ac_count + 1 && ac_count=$as_val
6341 if test $ac_count -gt ${ac_path_SED_max-0}; then
6342 # Best one so far, save it but keep looking for a better one
6343 ac_cv_path_SED="$ac_path_SED"
6344 ac_path_SED_max=$ac_count
6346 # 10*(2^10) chars as input seems more than enough
6347 test $ac_count -gt 10 && break
6348 done
6349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6350 esac
6352 $ac_path_SED_found && break 3
6353 done
6354 done
6355 done
6356 IFS=$as_save_IFS
6357 if test -z "$ac_cv_path_SED"; then
6358 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6360 else
6361 ac_cv_path_SED=$SED
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6366 $as_echo "$ac_cv_path_SED" >&6; }
6367 SED="$ac_cv_path_SED"
6368 rm -f conftest.sed
6370 test -z "$SED" && SED=sed
6371 Xsed="$SED -e 1s/^X//"
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6384 $as_echo_n "checking for fgrep... " >&6; }
6385 if ${ac_cv_path_FGREP+:} false; then :
6386 $as_echo_n "(cached) " >&6
6387 else
6388 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6389 then ac_cv_path_FGREP="$GREP -F"
6390 else
6391 if test -z "$FGREP"; then
6392 ac_path_FGREP_found=false
6393 # Loop through the user's path and test for each of PROGNAME-LIST
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_prog in fgrep; do
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6402 as_fn_executable_p "$ac_path_FGREP" || continue
6403 # Check for GNU ac_path_FGREP and select it if it is found.
6404 # Check for GNU $ac_path_FGREP
6405 case `"$ac_path_FGREP" --version 2>&1` in
6406 *GNU*)
6407 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6409 ac_count=0
6410 $as_echo_n 0123456789 >"conftest.in"
6411 while :
6413 cat "conftest.in" "conftest.in" >"conftest.tmp"
6414 mv "conftest.tmp" "conftest.in"
6415 cp "conftest.in" "conftest.nl"
6416 $as_echo 'FGREP' >> "conftest.nl"
6417 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6418 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6419 as_fn_arith $ac_count + 1 && ac_count=$as_val
6420 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6421 # Best one so far, save it but keep looking for a better one
6422 ac_cv_path_FGREP="$ac_path_FGREP"
6423 ac_path_FGREP_max=$ac_count
6425 # 10*(2^10) chars as input seems more than enough
6426 test $ac_count -gt 10 && break
6427 done
6428 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6429 esac
6431 $ac_path_FGREP_found && break 3
6432 done
6433 done
6434 done
6435 IFS=$as_save_IFS
6436 if test -z "$ac_cv_path_FGREP"; then
6437 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6439 else
6440 ac_cv_path_FGREP=$FGREP
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6446 $as_echo "$ac_cv_path_FGREP" >&6; }
6447 FGREP="$ac_cv_path_FGREP"
6450 test -z "$GREP" && GREP=grep
6468 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6469 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6470 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6473 $as_echo_n "checking how to print strings... " >&6; }
6474 # Test print first, because it will be a builtin if present.
6475 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6476 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6477 ECHO='print -r --'
6478 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6479 ECHO='printf %s\n'
6480 else
6481 # Use this function as a fallback that always works.
6482 func_fallback_echo ()
6484 eval 'cat <<_LTECHO_EOF
6486 _LTECHO_EOF'
6488 ECHO='func_fallback_echo'
6491 # func_echo_all arg...
6492 # Invoke $ECHO with all args, space-separated.
6493 func_echo_all ()
6495 $ECHO ""
6498 case "$ECHO" in
6499 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6500 $as_echo "printf" >&6; } ;;
6501 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6502 $as_echo "print -r" >&6; } ;;
6503 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6504 $as_echo "cat" >&6; } ;;
6505 esac
6522 # Check whether --with-gnu-ld was given.
6523 if test "${with_gnu_ld+set}" = set; then :
6524 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6525 else
6526 with_gnu_ld=no
6529 ac_prog=ld
6530 if test "$GCC" = yes; then
6531 # Check if gcc -print-prog-name=ld gives a path.
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6533 $as_echo_n "checking for ld used by $CC... " >&6; }
6534 case $host in
6535 *-*-mingw*)
6536 # gcc leaves a trailing carriage return which upsets mingw
6537 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6539 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6540 esac
6541 case $ac_prog in
6542 # Accept absolute paths.
6543 [\\/]* | ?:[\\/]*)
6544 re_direlt='/[^/][^/]*/\.\./'
6545 # Canonicalize the pathname of ld
6546 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6547 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6548 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6549 done
6550 test -z "$LD" && LD="$ac_prog"
6553 # If it fails, then pretend we aren't using GCC.
6554 ac_prog=ld
6557 # If it is relative, then search for the first ld in PATH.
6558 with_gnu_ld=unknown
6560 esac
6561 elif test "$with_gnu_ld" = yes; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6563 $as_echo_n "checking for GNU ld... " >&6; }
6564 else
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6566 $as_echo_n "checking for non-GNU ld... " >&6; }
6568 if ${lt_cv_path_LD+:} false; then :
6569 $as_echo_n "(cached) " >&6
6570 else
6571 if test -z "$LD"; then
6572 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6573 for ac_dir in $PATH; do
6574 IFS="$lt_save_ifs"
6575 test -z "$ac_dir" && ac_dir=.
6576 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6577 lt_cv_path_LD="$ac_dir/$ac_prog"
6578 # Check to see if the program is GNU ld. I'd rather use --version,
6579 # but apparently some variants of GNU ld only accept -v.
6580 # Break only if it was the GNU/non-GNU ld that we prefer.
6581 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6582 *GNU* | *'with BFD'*)
6583 test "$with_gnu_ld" != no && break
6586 test "$with_gnu_ld" != yes && break
6588 esac
6590 done
6591 IFS="$lt_save_ifs"
6592 else
6593 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6597 LD="$lt_cv_path_LD"
6598 if test -n "$LD"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6600 $as_echo "$LD" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6605 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6607 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6608 if ${lt_cv_prog_gnu_ld+:} false; then :
6609 $as_echo_n "(cached) " >&6
6610 else
6611 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6612 case `$LD -v 2>&1 </dev/null` in
6613 *GNU* | *'with BFD'*)
6614 lt_cv_prog_gnu_ld=yes
6617 lt_cv_prog_gnu_ld=no
6619 esac
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6622 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6623 with_gnu_ld=$lt_cv_prog_gnu_ld
6634 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6637 ac_save_LDFLAGS="$LDFLAGS"
6638 LDFLAGS="$LFLAGS -mclear-hwcap"
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6641 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6642 if test x$gcc_no_link = xyes; then
6643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6649 main ()
6651 return 0;
6653 return 0;
6655 _ACEOF
6656 if ac_fn_c_try_link "$LINENO"; then :
6657 ac_hwcap_ldflags=yes
6658 else
6659 ac_hwcap_ldflags=no
6661 rm -f core conftest.err conftest.$ac_objext \
6662 conftest$ac_exeext conftest.$ac_ext
6663 if test "$ac_hwcap_ldflags" = "yes"; then
6664 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6667 $as_echo "$ac_hwcap_ldflags" >&6; }
6669 LDFLAGS="$ac_save_LDFLAGS"
6673 if test $ac_hwcap_ldflags != no; then
6674 HAVE_HWCAP_TRUE=
6675 HAVE_HWCAP_FALSE='#'
6676 else
6677 HAVE_HWCAP_TRUE='#'
6678 HAVE_HWCAP_FALSE=
6683 # Find other programs we need.
6684 if test -n "$ac_tool_prefix"; then
6685 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6686 set dummy ${ac_tool_prefix}as; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_AS+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 if test -n "$AS"; then
6693 ac_cv_prog_AS="$AS" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_AS="${ac_tool_prefix}as"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 AS=$ac_cv_prog_AS
6713 if test -n "$AS"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6715 $as_echo "$AS" >&6; }
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6723 if test -z "$ac_cv_prog_AS"; then
6724 ac_ct_AS=$AS
6725 # Extract the first word of "as", so it can be a program name with args.
6726 set dummy as; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728 $as_echo_n "checking for $ac_word... " >&6; }
6729 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6730 $as_echo_n "(cached) " >&6
6731 else
6732 if test -n "$ac_ct_AS"; then
6733 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6734 else
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 for as_dir in $PATH
6738 IFS=$as_save_IFS
6739 test -z "$as_dir" && as_dir=.
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_ac_ct_AS="as"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6744 break 2
6746 done
6747 done
6748 IFS=$as_save_IFS
6752 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6753 if test -n "$ac_ct_AS"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6755 $as_echo "$ac_ct_AS" >&6; }
6756 else
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6758 $as_echo "no" >&6; }
6761 if test "x$ac_ct_AS" = x; then
6762 AS=""
6763 else
6764 case $cross_compiling:$ac_tool_warned in
6765 yes:)
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6768 ac_tool_warned=yes ;;
6769 esac
6770 AS=$ac_ct_AS
6772 else
6773 AS="$ac_cv_prog_AS"
6776 if test -n "$ac_tool_prefix"; then
6777 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6778 set dummy ${ac_tool_prefix}ar; ac_word=$2
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780 $as_echo_n "checking for $ac_word... " >&6; }
6781 if ${ac_cv_prog_AR+:} false; then :
6782 $as_echo_n "(cached) " >&6
6783 else
6784 if test -n "$AR"; then
6785 ac_cv_prog_AR="$AR" # Let the user override the test.
6786 else
6787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6788 for as_dir in $PATH
6790 IFS=$as_save_IFS
6791 test -z "$as_dir" && as_dir=.
6792 for ac_exec_ext in '' $ac_executable_extensions; do
6793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6794 ac_cv_prog_AR="${ac_tool_prefix}ar"
6795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6796 break 2
6798 done
6799 done
6800 IFS=$as_save_IFS
6804 AR=$ac_cv_prog_AR
6805 if test -n "$AR"; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6807 $as_echo "$AR" >&6; }
6808 else
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6810 $as_echo "no" >&6; }
6815 if test -z "$ac_cv_prog_AR"; then
6816 ac_ct_AR=$AR
6817 # Extract the first word of "ar", so it can be a program name with args.
6818 set dummy ar; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6820 $as_echo_n "checking for $ac_word... " >&6; }
6821 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6822 $as_echo_n "(cached) " >&6
6823 else
6824 if test -n "$ac_ct_AR"; then
6825 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6826 else
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 for as_dir in $PATH
6830 IFS=$as_save_IFS
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_ac_ct_AR="ar"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6836 break 2
6838 done
6839 done
6840 IFS=$as_save_IFS
6844 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6845 if test -n "$ac_ct_AR"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6847 $as_echo "$ac_ct_AR" >&6; }
6848 else
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 $as_echo "no" >&6; }
6853 if test "x$ac_ct_AR" = x; then
6854 AR=""
6855 else
6856 case $cross_compiling:$ac_tool_warned in
6857 yes:)
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6860 ac_tool_warned=yes ;;
6861 esac
6862 AR=$ac_ct_AR
6864 else
6865 AR="$ac_cv_prog_AR"
6868 if test -n "$ac_tool_prefix"; then
6869 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6870 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 $as_echo_n "checking for $ac_word... " >&6; }
6873 if ${ac_cv_prog_RANLIB+:} false; then :
6874 $as_echo_n "(cached) " >&6
6875 else
6876 if test -n "$RANLIB"; then
6877 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6878 else
6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 for as_dir in $PATH
6882 IFS=$as_save_IFS
6883 test -z "$as_dir" && as_dir=.
6884 for ac_exec_ext in '' $ac_executable_extensions; do
6885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6886 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6888 break 2
6890 done
6891 done
6892 IFS=$as_save_IFS
6896 RANLIB=$ac_cv_prog_RANLIB
6897 if test -n "$RANLIB"; then
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6899 $as_echo "$RANLIB" >&6; }
6900 else
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902 $as_echo "no" >&6; }
6907 if test -z "$ac_cv_prog_RANLIB"; then
6908 ac_ct_RANLIB=$RANLIB
6909 # Extract the first word of "ranlib", so it can be a program name with args.
6910 set dummy ranlib; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6914 $as_echo_n "(cached) " >&6
6915 else
6916 if test -n "$ac_ct_RANLIB"; then
6917 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6918 else
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 for as_dir in $PATH
6922 IFS=$as_save_IFS
6923 test -z "$as_dir" && as_dir=.
6924 for ac_exec_ext in '' $ac_executable_extensions; do
6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_ac_ct_RANLIB="ranlib"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6928 break 2
6930 done
6931 done
6932 IFS=$as_save_IFS
6936 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6937 if test -n "$ac_ct_RANLIB"; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6939 $as_echo "$ac_ct_RANLIB" >&6; }
6940 else
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 $as_echo "no" >&6; }
6945 if test "x$ac_ct_RANLIB" = x; then
6946 RANLIB="ranlib-not-found-in-path-error"
6947 else
6948 case $cross_compiling:$ac_tool_warned in
6949 yes:)
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6952 ac_tool_warned=yes ;;
6953 esac
6954 RANLIB=$ac_ct_RANLIB
6956 else
6957 RANLIB="$ac_cv_prog_RANLIB"
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6961 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6962 set x ${MAKE-make}
6963 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6964 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6965 $as_echo_n "(cached) " >&6
6966 else
6967 cat >conftest.make <<\_ACEOF
6968 SHELL = /bin/sh
6969 all:
6970 @echo '@@@%%%=$(MAKE)=@@@%%%'
6971 _ACEOF
6972 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6973 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6974 *@@@%%%=?*=@@@%%%*)
6975 eval ac_cv_prog_make_${ac_make}_set=yes;;
6977 eval ac_cv_prog_make_${ac_make}_set=no;;
6978 esac
6979 rm -f conftest.make
6981 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6983 $as_echo "yes" >&6; }
6984 SET_MAKE=
6985 else
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987 $as_echo "no" >&6; }
6988 SET_MAKE="MAKE=${MAKE-make}"
6993 # Configure libtool
6994 #AC_MSG_NOTICE([====== Starting libtool configuration])
6995 enable_dlopen=yes
6999 case `pwd` in
7000 *\ * | *\ *)
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7002 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7003 esac
7007 macro_version='2.2.7a'
7008 macro_revision='1.3134'
7022 ltmain="$ac_aux_dir/ltmain.sh"
7024 # Backslashify metacharacters that are still active within
7025 # double-quoted strings.
7026 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7028 # Same as above, but do not quote variable references.
7029 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7031 # Sed substitution to delay expansion of an escaped shell variable in a
7032 # double_quote_subst'ed string.
7033 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7035 # Sed substitution to delay expansion of an escaped single quote.
7036 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7038 # Sed substitution to avoid accidental globbing in evaled expressions
7039 no_glob_subst='s/\*/\\\*/g'
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7042 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7043 if ${lt_cv_path_NM+:} false; then :
7044 $as_echo_n "(cached) " >&6
7045 else
7046 if test -n "$NM"; then
7047 # Let the user override the test.
7048 lt_cv_path_NM="$NM"
7049 else
7050 lt_nm_to_check="${ac_tool_prefix}nm"
7051 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7052 lt_nm_to_check="$lt_nm_to_check nm"
7054 for lt_tmp_nm in $lt_nm_to_check; do
7055 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7056 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7057 IFS="$lt_save_ifs"
7058 test -z "$ac_dir" && ac_dir=.
7059 tmp_nm="$ac_dir/$lt_tmp_nm"
7060 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7061 # Check to see if the nm accepts a BSD-compat flag.
7062 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7063 # nm: unknown option "B" ignored
7064 # Tru64's nm complains that /dev/null is an invalid object file
7065 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7066 */dev/null* | *'Invalid file or object type'*)
7067 lt_cv_path_NM="$tmp_nm -B"
7068 break
7071 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7072 */dev/null*)
7073 lt_cv_path_NM="$tmp_nm -p"
7074 break
7077 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7078 continue # so that we can try to find one that supports BSD flags
7080 esac
7082 esac
7084 done
7085 IFS="$lt_save_ifs"
7086 done
7087 : ${lt_cv_path_NM=no}
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7091 $as_echo "$lt_cv_path_NM" >&6; }
7092 if test "$lt_cv_path_NM" != "no"; then
7093 NM="$lt_cv_path_NM"
7094 else
7095 # Didn't find any BSD compatible name lister, look for dumpbin.
7096 if test -n "$DUMPBIN"; then :
7097 # Let the user override the test.
7098 else
7099 if test -n "$ac_tool_prefix"; then
7100 for ac_prog in dumpbin "link -dump"
7102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if ${ac_cv_prog_DUMPBIN+:} false; then :
7107 $as_echo_n "(cached) " >&6
7108 else
7109 if test -n "$DUMPBIN"; then
7110 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7111 else
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 for as_dir in $PATH
7115 IFS=$as_save_IFS
7116 test -z "$as_dir" && as_dir=.
7117 for ac_exec_ext in '' $ac_executable_extensions; do
7118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 break 2
7123 done
7124 done
7125 IFS=$as_save_IFS
7129 DUMPBIN=$ac_cv_prog_DUMPBIN
7130 if test -n "$DUMPBIN"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7132 $as_echo "$DUMPBIN" >&6; }
7133 else
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7139 test -n "$DUMPBIN" && break
7140 done
7142 if test -z "$DUMPBIN"; then
7143 ac_ct_DUMPBIN=$DUMPBIN
7144 for ac_prog in dumpbin "link -dump"
7146 # Extract the first word of "$ac_prog", so it can be a program name with args.
7147 set dummy $ac_prog; ac_word=$2
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7149 $as_echo_n "checking for $ac_word... " >&6; }
7150 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7151 $as_echo_n "(cached) " >&6
7152 else
7153 if test -n "$ac_ct_DUMPBIN"; then
7154 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7155 else
7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157 for as_dir in $PATH
7159 IFS=$as_save_IFS
7160 test -z "$as_dir" && as_dir=.
7161 for ac_exec_ext in '' $ac_executable_extensions; do
7162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7163 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 break 2
7167 done
7168 done
7169 IFS=$as_save_IFS
7173 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7174 if test -n "$ac_ct_DUMPBIN"; then
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7176 $as_echo "$ac_ct_DUMPBIN" >&6; }
7177 else
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179 $as_echo "no" >&6; }
7183 test -n "$ac_ct_DUMPBIN" && break
7184 done
7186 if test "x$ac_ct_DUMPBIN" = x; then
7187 DUMPBIN=":"
7188 else
7189 case $cross_compiling:$ac_tool_warned in
7190 yes:)
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7193 ac_tool_warned=yes ;;
7194 esac
7195 DUMPBIN=$ac_ct_DUMPBIN
7199 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7200 *COFF*)
7201 DUMPBIN="$DUMPBIN -symbols"
7204 DUMPBIN=:
7206 esac
7209 if test "$DUMPBIN" != ":"; then
7210 NM="$DUMPBIN"
7213 test -z "$NM" && NM=nm
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7221 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7222 if ${lt_cv_nm_interface+:} false; then :
7223 $as_echo_n "(cached) " >&6
7224 else
7225 lt_cv_nm_interface="BSD nm"
7226 echo "int some_variable = 0;" > conftest.$ac_ext
7227 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7228 (eval "$ac_compile" 2>conftest.err)
7229 cat conftest.err >&5
7230 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7231 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7232 cat conftest.err >&5
7233 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7234 cat conftest.out >&5
7235 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7236 lt_cv_nm_interface="MS dumpbin"
7238 rm -f conftest*
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7241 $as_echo "$lt_cv_nm_interface" >&6; }
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7244 $as_echo_n "checking whether ln -s works... " >&6; }
7245 LN_S=$as_ln_s
7246 if test "$LN_S" = "ln -s"; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7248 $as_echo "yes" >&6; }
7249 else
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7251 $as_echo "no, using $LN_S" >&6; }
7254 # find the maximum length of command line arguments
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7256 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7257 if ${lt_cv_sys_max_cmd_len+:} false; then :
7258 $as_echo_n "(cached) " >&6
7259 else
7261 teststring="ABCD"
7263 case $build_os in
7264 msdosdjgpp*)
7265 # On DJGPP, this test can blow up pretty badly due to problems in libc
7266 # (any single argument exceeding 2000 bytes causes a buffer overrun
7267 # during glob expansion). Even if it were fixed, the result of this
7268 # check would be larger than it should be.
7269 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7272 gnu*)
7273 # Under GNU Hurd, this test is not required because there is
7274 # no limit to the length of command line arguments.
7275 # Libtool will interpret -1 as no limit whatsoever
7276 lt_cv_sys_max_cmd_len=-1;
7279 cygwin* | mingw* | cegcc*)
7280 # On Win9x/ME, this test blows up -- it succeeds, but takes
7281 # about 5 minutes as the teststring grows exponentially.
7282 # Worse, since 9x/ME are not pre-emptively multitasking,
7283 # you end up with a "frozen" computer, even though with patience
7284 # the test eventually succeeds (with a max line length of 256k).
7285 # Instead, let's just punt: use the minimum linelength reported by
7286 # all of the supported platforms: 8192 (on NT/2K/XP).
7287 lt_cv_sys_max_cmd_len=8192;
7290 mint*)
7291 # On MiNT this can take a long time and run out of memory.
7292 lt_cv_sys_max_cmd_len=8192;
7295 amigaos*)
7296 # On AmigaOS with pdksh, this test takes hours, literally.
7297 # So we just punt and use a minimum line length of 8192.
7298 lt_cv_sys_max_cmd_len=8192;
7301 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7302 # This has been around since 386BSD, at least. Likely further.
7303 if test -x /sbin/sysctl; then
7304 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7305 elif test -x /usr/sbin/sysctl; then
7306 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7307 else
7308 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7310 # And add a safety zone
7311 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7312 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7315 interix*)
7316 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7317 lt_cv_sys_max_cmd_len=196608
7320 osf*)
7321 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7322 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7323 # nice to cause kernel panics so lets avoid the loop below.
7324 # First set a reasonable default.
7325 lt_cv_sys_max_cmd_len=16384
7327 if test -x /sbin/sysconfig; then
7328 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7329 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7330 esac
7333 sco3.2v5*)
7334 lt_cv_sys_max_cmd_len=102400
7336 sysv5* | sco5v6* | sysv4.2uw2*)
7337 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7338 if test -n "$kargmax"; then
7339 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7340 else
7341 lt_cv_sys_max_cmd_len=32768
7345 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7346 if test -n "$lt_cv_sys_max_cmd_len"; then
7347 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7349 else
7350 # Make teststring a little bigger before we do anything with it.
7351 # a 1K string should be a reasonable start.
7352 for i in 1 2 3 4 5 6 7 8 ; do
7353 teststring=$teststring$teststring
7354 done
7355 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7356 # If test is not a shell built-in, we'll probably end up computing a
7357 # maximum length that is only half of the actual maximum length, but
7358 # we can't tell.
7359 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7360 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7361 test $i != 17 # 1/2 MB should be enough
7363 i=`expr $i + 1`
7364 teststring=$teststring$teststring
7365 done
7366 # Only check the string length outside the loop.
7367 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7368 teststring=
7369 # Add a significant safety factor because C++ compilers can tack on
7370 # massive amounts of additional arguments before passing them to the
7371 # linker. It appears as though 1/2 is a usable value.
7372 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7375 esac
7379 if test -n $lt_cv_sys_max_cmd_len ; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7381 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7382 else
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7384 $as_echo "none" >&6; }
7386 max_cmd_len=$lt_cv_sys_max_cmd_len
7393 : ${CP="cp -f"}
7394 : ${MV="mv -f"}
7395 : ${RM="rm -f"}
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7398 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7399 # Try some XSI features
7400 xsi_shell=no
7401 ( _lt_dummy="a/b/c"
7402 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7403 = c,a/b,, \
7404 && eval 'test $(( 1 + 1 )) -eq 2 \
7405 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7406 && xsi_shell=yes
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7408 $as_echo "$xsi_shell" >&6; }
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7412 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7413 lt_shell_append=no
7414 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7415 >/dev/null 2>&1 \
7416 && lt_shell_append=yes
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7418 $as_echo "$lt_shell_append" >&6; }
7421 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7422 lt_unset=unset
7423 else
7424 lt_unset=false
7431 # test EBCDIC or ASCII
7432 case `echo X|tr X '\101'` in
7433 A) # ASCII based system
7434 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7435 lt_SP2NL='tr \040 \012'
7436 lt_NL2SP='tr \015\012 \040\040'
7438 *) # EBCDIC based system
7439 lt_SP2NL='tr \100 \n'
7440 lt_NL2SP='tr \r\n \100\100'
7442 esac
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7453 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7454 if ${lt_cv_ld_reload_flag+:} false; then :
7455 $as_echo_n "(cached) " >&6
7456 else
7457 lt_cv_ld_reload_flag='-r'
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7460 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7461 reload_flag=$lt_cv_ld_reload_flag
7462 case $reload_flag in
7463 "" | " "*) ;;
7464 *) reload_flag=" $reload_flag" ;;
7465 esac
7466 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7467 case $host_os in
7468 darwin*)
7469 if test "$GCC" = yes; then
7470 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7471 else
7472 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7475 esac
7485 if test -n "$ac_tool_prefix"; then
7486 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7487 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if ${ac_cv_prog_OBJDUMP+:} false; then :
7491 $as_echo_n "(cached) " >&6
7492 else
7493 if test -n "$OBJDUMP"; then
7494 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7495 else
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 for as_dir in $PATH
7499 IFS=$as_save_IFS
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 break 2
7507 done
7508 done
7509 IFS=$as_save_IFS
7513 OBJDUMP=$ac_cv_prog_OBJDUMP
7514 if test -n "$OBJDUMP"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7516 $as_echo "$OBJDUMP" >&6; }
7517 else
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7524 if test -z "$ac_cv_prog_OBJDUMP"; then
7525 ac_ct_OBJDUMP=$OBJDUMP
7526 # Extract the first word of "objdump", so it can be a program name with args.
7527 set dummy objdump; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7531 $as_echo_n "(cached) " >&6
7532 else
7533 if test -n "$ac_ct_OBJDUMP"; then
7534 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7539 IFS=$as_save_IFS
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 break 2
7547 done
7548 done
7549 IFS=$as_save_IFS
7553 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7554 if test -n "$ac_ct_OBJDUMP"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7556 $as_echo "$ac_ct_OBJDUMP" >&6; }
7557 else
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7562 if test "x$ac_ct_OBJDUMP" = x; then
7563 OBJDUMP="false"
7564 else
7565 case $cross_compiling:$ac_tool_warned in
7566 yes:)
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7569 ac_tool_warned=yes ;;
7570 esac
7571 OBJDUMP=$ac_ct_OBJDUMP
7573 else
7574 OBJDUMP="$ac_cv_prog_OBJDUMP"
7577 test -z "$OBJDUMP" && OBJDUMP=objdump
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7588 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7589 if ${lt_cv_deplibs_check_method+:} false; then :
7590 $as_echo_n "(cached) " >&6
7591 else
7592 lt_cv_file_magic_cmd='$MAGIC_CMD'
7593 lt_cv_file_magic_test_file=
7594 lt_cv_deplibs_check_method='unknown'
7595 # Need to set the preceding variable on all platforms that support
7596 # interlibrary dependencies.
7597 # 'none' -- dependencies not supported.
7598 # `unknown' -- same as none, but documents that we really don't know.
7599 # 'pass_all' -- all dependencies passed with no checks.
7600 # 'test_compile' -- check by making test program.
7601 # 'file_magic [[regex]]' -- check by looking for files in library path
7602 # which responds to the $file_magic_cmd with a given extended regex.
7603 # If you have `file' or equivalent on your system and you're not sure
7604 # whether `pass_all' will *always* work, you probably want this one.
7606 case $host_os in
7607 aix[4-9]*)
7608 lt_cv_deplibs_check_method=pass_all
7611 beos*)
7612 lt_cv_deplibs_check_method=pass_all
7615 bsdi[45]*)
7616 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7617 lt_cv_file_magic_cmd='/usr/bin/file -L'
7618 lt_cv_file_magic_test_file=/shlib/libc.so
7621 cygwin*)
7622 # func_win32_libid is a shell function defined in ltmain.sh
7623 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7624 lt_cv_file_magic_cmd='func_win32_libid'
7627 mingw* | pw32*)
7628 # Base MSYS/MinGW do not provide the 'file' command needed by
7629 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7630 # unless we find 'file', for example because we are cross-compiling.
7631 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7632 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7633 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7634 lt_cv_file_magic_cmd='func_win32_libid'
7635 else
7636 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7637 lt_cv_file_magic_cmd='$OBJDUMP -f'
7641 cegcc*)
7642 # use the weaker test based on 'objdump'. See mingw*.
7643 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7644 lt_cv_file_magic_cmd='$OBJDUMP -f'
7647 darwin* | rhapsody*)
7648 lt_cv_deplibs_check_method=pass_all
7651 freebsd* | dragonfly*)
7652 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7653 case $host_cpu in
7654 i*86 )
7655 # Not sure whether the presence of OpenBSD here was a mistake.
7656 # Let's accept both of them until this is cleared up.
7657 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7658 lt_cv_file_magic_cmd=/usr/bin/file
7659 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7661 esac
7662 else
7663 lt_cv_deplibs_check_method=pass_all
7667 gnu*)
7668 lt_cv_deplibs_check_method=pass_all
7671 haiku*)
7672 lt_cv_deplibs_check_method=pass_all
7675 hpux10.20* | hpux11*)
7676 lt_cv_file_magic_cmd=/usr/bin/file
7677 case $host_cpu in
7678 ia64*)
7679 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7680 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7682 hppa*64*)
7683 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]'
7684 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7687 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7688 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7690 esac
7693 interix[3-9]*)
7694 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7695 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7698 irix5* | irix6* | nonstopux*)
7699 case $LD in
7700 *-32|*"-32 ") libmagic=32-bit;;
7701 *-n32|*"-n32 ") libmagic=N32;;
7702 *-64|*"-64 ") libmagic=64-bit;;
7703 *) libmagic=never-match;;
7704 esac
7705 lt_cv_deplibs_check_method=pass_all
7708 # This must be Linux ELF.
7709 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7710 lt_cv_deplibs_check_method=pass_all
7713 netbsd*)
7714 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7715 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7716 else
7717 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7721 newos6*)
7722 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7723 lt_cv_file_magic_cmd=/usr/bin/file
7724 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7727 *nto* | *qnx*)
7728 lt_cv_deplibs_check_method=pass_all
7731 openbsd*)
7732 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7733 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7734 else
7735 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7739 osf3* | osf4* | osf5*)
7740 lt_cv_deplibs_check_method=pass_all
7743 rdos*)
7744 lt_cv_deplibs_check_method=pass_all
7747 solaris*)
7748 lt_cv_deplibs_check_method=pass_all
7751 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7752 lt_cv_deplibs_check_method=pass_all
7755 sysv4 | sysv4.3*)
7756 case $host_vendor in
7757 motorola)
7758 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]'
7759 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7761 ncr)
7762 lt_cv_deplibs_check_method=pass_all
7764 sequent)
7765 lt_cv_file_magic_cmd='/bin/file'
7766 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7768 sni)
7769 lt_cv_file_magic_cmd='/bin/file'
7770 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7771 lt_cv_file_magic_test_file=/lib/libc.so
7773 siemens)
7774 lt_cv_deplibs_check_method=pass_all
7777 lt_cv_deplibs_check_method=pass_all
7779 esac
7782 tpf*)
7783 lt_cv_deplibs_check_method=pass_all
7785 esac
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7789 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7790 file_magic_cmd=$lt_cv_file_magic_cmd
7791 deplibs_check_method=$lt_cv_deplibs_check_method
7792 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7805 if test -n "$ac_tool_prefix"; then
7806 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7807 set dummy ${ac_tool_prefix}ar; ac_word=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7809 $as_echo_n "checking for $ac_word... " >&6; }
7810 if ${ac_cv_prog_AR+:} false; then :
7811 $as_echo_n "(cached) " >&6
7812 else
7813 if test -n "$AR"; then
7814 ac_cv_prog_AR="$AR" # Let the user override the test.
7815 else
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7817 for as_dir in $PATH
7819 IFS=$as_save_IFS
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7823 ac_cv_prog_AR="${ac_tool_prefix}ar"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7825 break 2
7827 done
7828 done
7829 IFS=$as_save_IFS
7833 AR=$ac_cv_prog_AR
7834 if test -n "$AR"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7836 $as_echo "$AR" >&6; }
7837 else
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7844 if test -z "$ac_cv_prog_AR"; then
7845 ac_ct_AR=$AR
7846 # Extract the first word of "ar", so it can be a program name with args.
7847 set dummy ar; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7851 $as_echo_n "(cached) " >&6
7852 else
7853 if test -n "$ac_ct_AR"; then
7854 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7855 else
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 for as_dir in $PATH
7859 IFS=$as_save_IFS
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_ac_ct_AR="ar"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7865 break 2
7867 done
7868 done
7869 IFS=$as_save_IFS
7873 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7874 if test -n "$ac_ct_AR"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7876 $as_echo "$ac_ct_AR" >&6; }
7877 else
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7882 if test "x$ac_ct_AR" = x; then
7883 AR="false"
7884 else
7885 case $cross_compiling:$ac_tool_warned in
7886 yes:)
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7889 ac_tool_warned=yes ;;
7890 esac
7891 AR=$ac_ct_AR
7893 else
7894 AR="$ac_cv_prog_AR"
7897 test -z "$AR" && AR=ar
7898 test -z "$AR_FLAGS" && AR_FLAGS=cru
7910 if test -n "$ac_tool_prefix"; then
7911 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7912 set dummy ${ac_tool_prefix}strip; ac_word=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914 $as_echo_n "checking for $ac_word... " >&6; }
7915 if ${ac_cv_prog_STRIP+:} false; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 if test -n "$STRIP"; then
7919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7920 else
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922 for as_dir in $PATH
7924 IFS=$as_save_IFS
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7928 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 break 2
7932 done
7933 done
7934 IFS=$as_save_IFS
7938 STRIP=$ac_cv_prog_STRIP
7939 if test -n "$STRIP"; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7941 $as_echo "$STRIP" >&6; }
7942 else
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7944 $as_echo "no" >&6; }
7949 if test -z "$ac_cv_prog_STRIP"; then
7950 ac_ct_STRIP=$STRIP
7951 # Extract the first word of "strip", so it can be a program name with args.
7952 set dummy strip; ac_word=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954 $as_echo_n "checking for $ac_word... " >&6; }
7955 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 if test -n "$ac_ct_STRIP"; then
7959 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7960 else
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 for as_dir in $PATH
7964 IFS=$as_save_IFS
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7968 ac_cv_prog_ac_ct_STRIP="strip"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7970 break 2
7972 done
7973 done
7974 IFS=$as_save_IFS
7978 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7979 if test -n "$ac_ct_STRIP"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7981 $as_echo "$ac_ct_STRIP" >&6; }
7982 else
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984 $as_echo "no" >&6; }
7987 if test "x$ac_ct_STRIP" = x; then
7988 STRIP=":"
7989 else
7990 case $cross_compiling:$ac_tool_warned in
7991 yes:)
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7994 ac_tool_warned=yes ;;
7995 esac
7996 STRIP=$ac_ct_STRIP
7998 else
7999 STRIP="$ac_cv_prog_STRIP"
8002 test -z "$STRIP" && STRIP=:
8009 if test -n "$ac_tool_prefix"; then
8010 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8011 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_RANLIB+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 if test -n "$RANLIB"; then
8018 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8019 else
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $PATH
8023 IFS=$as_save_IFS
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 break 2
8031 done
8032 done
8033 IFS=$as_save_IFS
8037 RANLIB=$ac_cv_prog_RANLIB
8038 if test -n "$RANLIB"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8040 $as_echo "$RANLIB" >&6; }
8041 else
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8048 if test -z "$ac_cv_prog_RANLIB"; then
8049 ac_ct_RANLIB=$RANLIB
8050 # Extract the first word of "ranlib", so it can be a program name with args.
8051 set dummy ranlib; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$ac_ct_RANLIB"; then
8058 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_ac_ct_RANLIB="ranlib"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8078 if test -n "$ac_ct_RANLIB"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8080 $as_echo "$ac_ct_RANLIB" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8086 if test "x$ac_ct_RANLIB" = x; then
8087 RANLIB=":"
8088 else
8089 case $cross_compiling:$ac_tool_warned in
8090 yes:)
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8093 ac_tool_warned=yes ;;
8094 esac
8095 RANLIB=$ac_ct_RANLIB
8097 else
8098 RANLIB="$ac_cv_prog_RANLIB"
8101 test -z "$RANLIB" && RANLIB=:
8108 # Determine commands to create old-style static archives.
8109 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8110 old_postinstall_cmds='chmod 644 $oldlib'
8111 old_postuninstall_cmds=
8113 if test -n "$RANLIB"; then
8114 case $host_os in
8115 openbsd*)
8116 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8119 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8121 esac
8122 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8125 case $host_os in
8126 darwin*)
8127 lock_old_archive_extraction=yes ;;
8129 lock_old_archive_extraction=no ;;
8130 esac
8170 # If no C compiler was specified, use CC.
8171 LTCC=${LTCC-"$CC"}
8173 # If no C compiler flags were specified, use CFLAGS.
8174 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8176 # Allow CC to be a program name with arguments.
8177 compiler=$CC
8180 # Check for command to grab the raw symbol name followed by C symbol from nm.
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8182 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8183 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8184 $as_echo_n "(cached) " >&6
8185 else
8187 # These are sane defaults that work on at least a few old systems.
8188 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8190 # Character class describing NM global symbol codes.
8191 symcode='[BCDEGRST]'
8193 # Regexp to match symbols that can be accessed directly from C.
8194 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8196 # Define system-specific variables.
8197 case $host_os in
8198 aix*)
8199 symcode='[BCDT]'
8201 cygwin* | mingw* | pw32* | cegcc*)
8202 symcode='[ABCDGISTW]'
8204 hpux*)
8205 if test "$host_cpu" = ia64; then
8206 symcode='[ABCDEGRST]'
8209 irix* | nonstopux*)
8210 symcode='[BCDEGRST]'
8212 osf*)
8213 symcode='[BCDEGQRST]'
8215 solaris*)
8216 symcode='[BDRT]'
8218 sco3.2v5*)
8219 symcode='[DT]'
8221 sysv4.2uw2*)
8222 symcode='[DT]'
8224 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8225 symcode='[ABDT]'
8227 sysv4)
8228 symcode='[DFNSTU]'
8230 esac
8232 # If we're using GNU nm, then use its standard symbol codes.
8233 case `$NM -V 2>&1` in
8234 *GNU* | *'with BFD'*)
8235 symcode='[ABCDGIRSTW]' ;;
8236 esac
8238 # Transform an extracted symbol line into a proper C declaration.
8239 # Some systems (esp. on ia64) link data and code symbols differently,
8240 # so use this general approach.
8241 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8243 # Transform an extracted symbol line into symbol name and symbol address
8244 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8245 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'"
8247 # Handle CRLF in mingw tool chain
8248 opt_cr=
8249 case $build_os in
8250 mingw*)
8251 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8253 esac
8255 # Try without a prefix underscore, then with it.
8256 for ac_symprfx in "" "_"; do
8258 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8259 symxfrm="\\1 $ac_symprfx\\2 \\2"
8261 # Write the raw and C identifiers.
8262 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8263 # Fake it for dumpbin and say T for any non-static function
8264 # and D for any global variable.
8265 # Also find C++ and __fastcall symbols from MSVC++,
8266 # which start with @ or ?.
8267 lt_cv_sys_global_symbol_pipe="$AWK '"\
8268 " {last_section=section; section=\$ 3};"\
8269 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8270 " \$ 0!~/External *\|/{next};"\
8271 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8272 " {if(hide[section]) next};"\
8273 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8274 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8275 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8276 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8277 " ' prfx=^$ac_symprfx"
8278 else
8279 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8282 # Check to see that the pipe works correctly.
8283 pipe_works=no
8285 rm -f conftest*
8286 cat > conftest.$ac_ext <<_LT_EOF
8287 #ifdef __cplusplus
8288 extern "C" {
8289 #endif
8290 char nm_test_var;
8291 void nm_test_func(void);
8292 void nm_test_func(void){}
8293 #ifdef __cplusplus
8295 #endif
8296 int main(){nm_test_var='a';nm_test_func();return(0);}
8297 _LT_EOF
8299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8300 (eval $ac_compile) 2>&5
8301 ac_status=$?
8302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8303 test $ac_status = 0; }; then
8304 # Now try to grab the symbols.
8305 nlist=conftest.nm
8306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8307 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8308 ac_status=$?
8309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8310 test $ac_status = 0; } && test -s "$nlist"; then
8311 # Try sorting and uniquifying the output.
8312 if sort "$nlist" | uniq > "$nlist"T; then
8313 mv -f "$nlist"T "$nlist"
8314 else
8315 rm -f "$nlist"T
8318 # Make sure that we snagged all the symbols we need.
8319 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8320 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8321 cat <<_LT_EOF > conftest.$ac_ext
8322 #ifdef __cplusplus
8323 extern "C" {
8324 #endif
8326 _LT_EOF
8327 # Now generate the symbol file.
8328 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8330 cat <<_LT_EOF >> conftest.$ac_ext
8332 /* The mapping between symbol names and symbols. */
8333 const struct {
8334 const char *name;
8335 void *address;
8337 lt__PROGRAM__LTX_preloaded_symbols[] =
8339 { "@PROGRAM@", (void *) 0 },
8340 _LT_EOF
8341 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8342 cat <<\_LT_EOF >> conftest.$ac_ext
8343 {0, (void *) 0}
8346 /* This works around a problem in FreeBSD linker */
8347 #ifdef FREEBSD_WORKAROUND
8348 static const void *lt_preloaded_setup() {
8349 return lt__PROGRAM__LTX_preloaded_symbols;
8351 #endif
8353 #ifdef __cplusplus
8355 #endif
8356 _LT_EOF
8357 # Now try linking the two files.
8358 mv conftest.$ac_objext conftstm.$ac_objext
8359 lt_save_LIBS="$LIBS"
8360 lt_save_CFLAGS="$CFLAGS"
8361 LIBS="conftstm.$ac_objext"
8362 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8364 (eval $ac_link) 2>&5
8365 ac_status=$?
8366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8367 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8368 pipe_works=yes
8370 LIBS="$lt_save_LIBS"
8371 CFLAGS="$lt_save_CFLAGS"
8372 else
8373 echo "cannot find nm_test_func in $nlist" >&5
8375 else
8376 echo "cannot find nm_test_var in $nlist" >&5
8378 else
8379 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8381 else
8382 echo "$progname: failed program was:" >&5
8383 cat conftest.$ac_ext >&5
8385 rm -rf conftest* conftst*
8387 # Do not use the global_symbol_pipe unless it works.
8388 if test "$pipe_works" = yes; then
8389 break
8390 else
8391 lt_cv_sys_global_symbol_pipe=
8393 done
8397 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8398 lt_cv_sys_global_symbol_to_cdecl=
8400 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8402 $as_echo "failed" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8405 $as_echo "ok" >&6; }
8429 # Check whether --enable-libtool-lock was given.
8430 if test "${enable_libtool_lock+set}" = set; then :
8431 enableval=$enable_libtool_lock;
8434 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8436 # Some flags need to be propagated to the compiler or linker for good
8437 # libtool support.
8438 case $host in
8439 ia64-*-hpux*)
8440 # Find out which ABI we are using.
8441 echo 'int i;' > conftest.$ac_ext
8442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8443 (eval $ac_compile) 2>&5
8444 ac_status=$?
8445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8446 test $ac_status = 0; }; then
8447 case `/usr/bin/file conftest.$ac_objext` in
8448 *ELF-32*)
8449 HPUX_IA64_MODE="32"
8451 *ELF-64*)
8452 HPUX_IA64_MODE="64"
8454 esac
8456 rm -rf conftest*
8458 *-*-irix6*)
8459 # Find out which ABI we are using.
8460 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8462 (eval $ac_compile) 2>&5
8463 ac_status=$?
8464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8465 test $ac_status = 0; }; then
8466 if test "$lt_cv_prog_gnu_ld" = yes; then
8467 case `/usr/bin/file conftest.$ac_objext` in
8468 *32-bit*)
8469 LD="${LD-ld} -melf32bsmip"
8471 *N32*)
8472 LD="${LD-ld} -melf32bmipn32"
8474 *64-bit*)
8475 LD="${LD-ld} -melf64bmip"
8477 esac
8478 else
8479 case `/usr/bin/file conftest.$ac_objext` in
8480 *32-bit*)
8481 LD="${LD-ld} -32"
8483 *N32*)
8484 LD="${LD-ld} -n32"
8486 *64-bit*)
8487 LD="${LD-ld} -64"
8489 esac
8492 rm -rf conftest*
8495 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8496 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8497 # Find out which ABI we are using.
8498 echo 'int i;' > conftest.$ac_ext
8499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8500 (eval $ac_compile) 2>&5
8501 ac_status=$?
8502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8503 test $ac_status = 0; }; then
8504 case `/usr/bin/file conftest.o` in
8505 *32-bit*)
8506 case $host in
8507 x86_64-*kfreebsd*-gnu)
8508 LD="${LD-ld} -m elf_i386_fbsd"
8510 x86_64-*linux*)
8511 case `/usr/bin/file conftest.o` in
8512 *x86-64*)
8513 LD="${LD-ld} -m elf32_x86_64"
8516 LD="${LD-ld} -m elf_i386"
8518 esac
8520 powerpc64le-*linux*)
8521 LD="${LD-ld} -m elf32lppclinux"
8523 powerpc64-*linux*)
8524 LD="${LD-ld} -m elf32ppclinux"
8526 s390x-*linux*)
8527 LD="${LD-ld} -m elf_s390"
8529 sparc64-*linux*)
8530 LD="${LD-ld} -m elf32_sparc"
8532 esac
8534 *64-bit*)
8535 case $host in
8536 x86_64-*kfreebsd*-gnu)
8537 LD="${LD-ld} -m elf_x86_64_fbsd"
8539 x86_64-*linux*)
8540 LD="${LD-ld} -m elf_x86_64"
8542 powerpcle-*linux*)
8543 LD="${LD-ld} -m elf64lppc"
8545 powerpc-*linux*)
8546 LD="${LD-ld} -m elf64ppc"
8548 s390*-*linux*|s390*-*tpf*)
8549 LD="${LD-ld} -m elf64_s390"
8551 sparc*-*linux*)
8552 LD="${LD-ld} -m elf64_sparc"
8554 esac
8556 esac
8558 rm -rf conftest*
8561 *-*-sco3.2v5*)
8562 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8563 SAVE_CFLAGS="$CFLAGS"
8564 CFLAGS="$CFLAGS -belf"
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8566 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8567 if ${lt_cv_cc_needs_belf+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 ac_ext=c
8571 ac_cpp='$CPP $CPPFLAGS'
8572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8576 if test x$gcc_no_link = xyes; then
8577 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8583 main ()
8587 return 0;
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 lt_cv_cc_needs_belf=yes
8592 else
8593 lt_cv_cc_needs_belf=no
8595 rm -f core conftest.err conftest.$ac_objext \
8596 conftest$ac_exeext conftest.$ac_ext
8597 ac_ext=c
8598 ac_cpp='$CPP $CPPFLAGS'
8599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8605 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8606 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8607 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8608 CFLAGS="$SAVE_CFLAGS"
8611 sparc*-*solaris*)
8612 # Find out which ABI we are using.
8613 echo 'int i;' > conftest.$ac_ext
8614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8615 (eval $ac_compile) 2>&5
8616 ac_status=$?
8617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8618 test $ac_status = 0; }; then
8619 case `/usr/bin/file conftest.o` in
8620 *64-bit*)
8621 case $lt_cv_prog_gnu_ld in
8622 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8624 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8625 LD="${LD-ld} -64"
8628 esac
8630 esac
8632 rm -rf conftest*
8634 esac
8636 need_locks="$enable_libtool_lock"
8639 case $host_os in
8640 rhapsody* | darwin*)
8641 if test -n "$ac_tool_prefix"; then
8642 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8643 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8645 $as_echo_n "checking for $ac_word... " >&6; }
8646 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8647 $as_echo_n "(cached) " >&6
8648 else
8649 if test -n "$DSYMUTIL"; then
8650 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8651 else
8652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8653 for as_dir in $PATH
8655 IFS=$as_save_IFS
8656 test -z "$as_dir" && as_dir=.
8657 for ac_exec_ext in '' $ac_executable_extensions; do
8658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8659 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8661 break 2
8663 done
8664 done
8665 IFS=$as_save_IFS
8669 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8670 if test -n "$DSYMUTIL"; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8672 $as_echo "$DSYMUTIL" >&6; }
8673 else
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8675 $as_echo "no" >&6; }
8680 if test -z "$ac_cv_prog_DSYMUTIL"; then
8681 ac_ct_DSYMUTIL=$DSYMUTIL
8682 # Extract the first word of "dsymutil", so it can be a program name with args.
8683 set dummy dsymutil; ac_word=$2
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8685 $as_echo_n "checking for $ac_word... " >&6; }
8686 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8687 $as_echo_n "(cached) " >&6
8688 else
8689 if test -n "$ac_ct_DSYMUTIL"; then
8690 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8691 else
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8693 for as_dir in $PATH
8695 IFS=$as_save_IFS
8696 test -z "$as_dir" && as_dir=.
8697 for ac_exec_ext in '' $ac_executable_extensions; do
8698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8699 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8701 break 2
8703 done
8704 done
8705 IFS=$as_save_IFS
8709 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8710 if test -n "$ac_ct_DSYMUTIL"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8712 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8713 else
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8718 if test "x$ac_ct_DSYMUTIL" = x; then
8719 DSYMUTIL=":"
8720 else
8721 case $cross_compiling:$ac_tool_warned in
8722 yes:)
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8725 ac_tool_warned=yes ;;
8726 esac
8727 DSYMUTIL=$ac_ct_DSYMUTIL
8729 else
8730 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8733 if test -n "$ac_tool_prefix"; then
8734 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8735 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8737 $as_echo_n "checking for $ac_word... " >&6; }
8738 if ${ac_cv_prog_NMEDIT+:} false; then :
8739 $as_echo_n "(cached) " >&6
8740 else
8741 if test -n "$NMEDIT"; then
8742 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8743 else
8744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8745 for as_dir in $PATH
8747 IFS=$as_save_IFS
8748 test -z "$as_dir" && as_dir=.
8749 for ac_exec_ext in '' $ac_executable_extensions; do
8750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8751 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8753 break 2
8755 done
8756 done
8757 IFS=$as_save_IFS
8761 NMEDIT=$ac_cv_prog_NMEDIT
8762 if test -n "$NMEDIT"; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8764 $as_echo "$NMEDIT" >&6; }
8765 else
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8767 $as_echo "no" >&6; }
8772 if test -z "$ac_cv_prog_NMEDIT"; then
8773 ac_ct_NMEDIT=$NMEDIT
8774 # Extract the first word of "nmedit", so it can be a program name with args.
8775 set dummy nmedit; ac_word=$2
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8777 $as_echo_n "checking for $ac_word... " >&6; }
8778 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8779 $as_echo_n "(cached) " >&6
8780 else
8781 if test -n "$ac_ct_NMEDIT"; then
8782 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8783 else
8784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8785 for as_dir in $PATH
8787 IFS=$as_save_IFS
8788 test -z "$as_dir" && as_dir=.
8789 for ac_exec_ext in '' $ac_executable_extensions; do
8790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8791 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8793 break 2
8795 done
8796 done
8797 IFS=$as_save_IFS
8801 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8802 if test -n "$ac_ct_NMEDIT"; then
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8804 $as_echo "$ac_ct_NMEDIT" >&6; }
8805 else
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8807 $as_echo "no" >&6; }
8810 if test "x$ac_ct_NMEDIT" = x; then
8811 NMEDIT=":"
8812 else
8813 case $cross_compiling:$ac_tool_warned in
8814 yes:)
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8817 ac_tool_warned=yes ;;
8818 esac
8819 NMEDIT=$ac_ct_NMEDIT
8821 else
8822 NMEDIT="$ac_cv_prog_NMEDIT"
8825 if test -n "$ac_tool_prefix"; then
8826 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8827 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8829 $as_echo_n "checking for $ac_word... " >&6; }
8830 if ${ac_cv_prog_LIPO+:} false; then :
8831 $as_echo_n "(cached) " >&6
8832 else
8833 if test -n "$LIPO"; then
8834 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8835 else
8836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8837 for as_dir in $PATH
8839 IFS=$as_save_IFS
8840 test -z "$as_dir" && as_dir=.
8841 for ac_exec_ext in '' $ac_executable_extensions; do
8842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8843 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8845 break 2
8847 done
8848 done
8849 IFS=$as_save_IFS
8853 LIPO=$ac_cv_prog_LIPO
8854 if test -n "$LIPO"; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8856 $as_echo "$LIPO" >&6; }
8857 else
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8859 $as_echo "no" >&6; }
8864 if test -z "$ac_cv_prog_LIPO"; then
8865 ac_ct_LIPO=$LIPO
8866 # Extract the first word of "lipo", so it can be a program name with args.
8867 set dummy lipo; ac_word=$2
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8869 $as_echo_n "checking for $ac_word... " >&6; }
8870 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8871 $as_echo_n "(cached) " >&6
8872 else
8873 if test -n "$ac_ct_LIPO"; then
8874 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8875 else
8876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8877 for as_dir in $PATH
8879 IFS=$as_save_IFS
8880 test -z "$as_dir" && as_dir=.
8881 for ac_exec_ext in '' $ac_executable_extensions; do
8882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8883 ac_cv_prog_ac_ct_LIPO="lipo"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8885 break 2
8887 done
8888 done
8889 IFS=$as_save_IFS
8893 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8894 if test -n "$ac_ct_LIPO"; then
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8896 $as_echo "$ac_ct_LIPO" >&6; }
8897 else
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8899 $as_echo "no" >&6; }
8902 if test "x$ac_ct_LIPO" = x; then
8903 LIPO=":"
8904 else
8905 case $cross_compiling:$ac_tool_warned in
8906 yes:)
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8909 ac_tool_warned=yes ;;
8910 esac
8911 LIPO=$ac_ct_LIPO
8913 else
8914 LIPO="$ac_cv_prog_LIPO"
8917 if test -n "$ac_tool_prefix"; then
8918 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8919 set dummy ${ac_tool_prefix}otool; ac_word=$2
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8921 $as_echo_n "checking for $ac_word... " >&6; }
8922 if ${ac_cv_prog_OTOOL+:} false; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 if test -n "$OTOOL"; then
8926 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8927 else
8928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8929 for as_dir in $PATH
8931 IFS=$as_save_IFS
8932 test -z "$as_dir" && as_dir=.
8933 for ac_exec_ext in '' $ac_executable_extensions; do
8934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8935 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8937 break 2
8939 done
8940 done
8941 IFS=$as_save_IFS
8945 OTOOL=$ac_cv_prog_OTOOL
8946 if test -n "$OTOOL"; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8948 $as_echo "$OTOOL" >&6; }
8949 else
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8951 $as_echo "no" >&6; }
8956 if test -z "$ac_cv_prog_OTOOL"; then
8957 ac_ct_OTOOL=$OTOOL
8958 # Extract the first word of "otool", so it can be a program name with args.
8959 set dummy otool; ac_word=$2
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8961 $as_echo_n "checking for $ac_word... " >&6; }
8962 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8963 $as_echo_n "(cached) " >&6
8964 else
8965 if test -n "$ac_ct_OTOOL"; then
8966 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8967 else
8968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8969 for as_dir in $PATH
8971 IFS=$as_save_IFS
8972 test -z "$as_dir" && as_dir=.
8973 for ac_exec_ext in '' $ac_executable_extensions; do
8974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8975 ac_cv_prog_ac_ct_OTOOL="otool"
8976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8977 break 2
8979 done
8980 done
8981 IFS=$as_save_IFS
8985 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8986 if test -n "$ac_ct_OTOOL"; then
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8988 $as_echo "$ac_ct_OTOOL" >&6; }
8989 else
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8991 $as_echo "no" >&6; }
8994 if test "x$ac_ct_OTOOL" = x; then
8995 OTOOL=":"
8996 else
8997 case $cross_compiling:$ac_tool_warned in
8998 yes:)
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9001 ac_tool_warned=yes ;;
9002 esac
9003 OTOOL=$ac_ct_OTOOL
9005 else
9006 OTOOL="$ac_cv_prog_OTOOL"
9009 if test -n "$ac_tool_prefix"; then
9010 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9011 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9013 $as_echo_n "checking for $ac_word... " >&6; }
9014 if ${ac_cv_prog_OTOOL64+:} false; then :
9015 $as_echo_n "(cached) " >&6
9016 else
9017 if test -n "$OTOOL64"; then
9018 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9019 else
9020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9021 for as_dir in $PATH
9023 IFS=$as_save_IFS
9024 test -z "$as_dir" && as_dir=.
9025 for ac_exec_ext in '' $ac_executable_extensions; do
9026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9027 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9029 break 2
9031 done
9032 done
9033 IFS=$as_save_IFS
9037 OTOOL64=$ac_cv_prog_OTOOL64
9038 if test -n "$OTOOL64"; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9040 $as_echo "$OTOOL64" >&6; }
9041 else
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9043 $as_echo "no" >&6; }
9048 if test -z "$ac_cv_prog_OTOOL64"; then
9049 ac_ct_OTOOL64=$OTOOL64
9050 # Extract the first word of "otool64", so it can be a program name with args.
9051 set dummy otool64; ac_word=$2
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9053 $as_echo_n "checking for $ac_word... " >&6; }
9054 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9055 $as_echo_n "(cached) " >&6
9056 else
9057 if test -n "$ac_ct_OTOOL64"; then
9058 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9059 else
9060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9061 for as_dir in $PATH
9063 IFS=$as_save_IFS
9064 test -z "$as_dir" && as_dir=.
9065 for ac_exec_ext in '' $ac_executable_extensions; do
9066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9067 ac_cv_prog_ac_ct_OTOOL64="otool64"
9068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9069 break 2
9071 done
9072 done
9073 IFS=$as_save_IFS
9077 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9078 if test -n "$ac_ct_OTOOL64"; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9080 $as_echo "$ac_ct_OTOOL64" >&6; }
9081 else
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9083 $as_echo "no" >&6; }
9086 if test "x$ac_ct_OTOOL64" = x; then
9087 OTOOL64=":"
9088 else
9089 case $cross_compiling:$ac_tool_warned in
9090 yes:)
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9093 ac_tool_warned=yes ;;
9094 esac
9095 OTOOL64=$ac_ct_OTOOL64
9097 else
9098 OTOOL64="$ac_cv_prog_OTOOL64"
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9128 $as_echo_n "checking for -single_module linker flag... " >&6; }
9129 if ${lt_cv_apple_cc_single_mod+:} false; then :
9130 $as_echo_n "(cached) " >&6
9131 else
9132 lt_cv_apple_cc_single_mod=no
9133 if test -z "${LT_MULTI_MODULE}"; then
9134 # By default we will add the -single_module flag. You can override
9135 # by either setting the environment variable LT_MULTI_MODULE
9136 # non-empty at configure time, or by adding -multi_module to the
9137 # link flags.
9138 rm -rf libconftest.dylib*
9139 echo "int foo(void){return 1;}" > conftest.c
9140 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9141 -dynamiclib -Wl,-single_module conftest.c" >&5
9142 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9143 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9144 _lt_result=$?
9145 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9146 lt_cv_apple_cc_single_mod=yes
9147 else
9148 cat conftest.err >&5
9150 rm -rf libconftest.dylib*
9151 rm -f conftest.*
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9155 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9157 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9158 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9159 $as_echo_n "(cached) " >&6
9160 else
9161 lt_cv_ld_exported_symbols_list=no
9162 save_LDFLAGS=$LDFLAGS
9163 echo "_main" > conftest.sym
9164 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9165 if test x$gcc_no_link = xyes; then
9166 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9172 main ()
9176 return 0;
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 lt_cv_ld_exported_symbols_list=yes
9181 else
9182 lt_cv_ld_exported_symbols_list=no
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 LDFLAGS="$save_LDFLAGS"
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9190 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9192 $as_echo_n "checking for -force_load linker flag... " >&6; }
9193 if ${lt_cv_ld_force_load+:} false; then :
9194 $as_echo_n "(cached) " >&6
9195 else
9196 lt_cv_ld_force_load=no
9197 cat > conftest.c << _LT_EOF
9198 int forced_loaded() { return 2;}
9199 _LT_EOF
9200 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9201 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9202 echo "$AR cru libconftest.a conftest.o" >&5
9203 $AR cru libconftest.a conftest.o 2>&5
9204 cat > conftest.c << _LT_EOF
9205 int main() { return 0;}
9206 _LT_EOF
9207 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9208 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9209 _lt_result=$?
9210 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9211 lt_cv_ld_force_load=yes
9212 else
9213 cat conftest.err >&5
9215 rm -f conftest.err libconftest.a conftest conftest.c
9216 rm -rf conftest.dSYM
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9220 $as_echo "$lt_cv_ld_force_load" >&6; }
9221 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9222 # build without first building modern cctools / linker.
9223 case $host_cpu-$host_os in
9224 *-rhapsody* | *-darwin1.[012])
9225 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9226 *-darwin1.*)
9227 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9228 *-darwin*)
9229 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9230 # deployment target is forced to an earlier version.
9231 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9232 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9234 10.[012][,.]*)
9235 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9239 esac
9241 esac
9242 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9243 _lt_dar_single_mod='$single_module'
9245 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9246 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9247 else
9248 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9250 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9251 _lt_dsymutil='~$DSYMUTIL $lib || :'
9252 else
9253 _lt_dsymutil=
9256 esac
9258 for ac_header in dlfcn.h
9259 do :
9260 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9262 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9263 cat >>confdefs.h <<_ACEOF
9264 #define HAVE_DLFCN_H 1
9265 _ACEOF
9269 done
9275 # Set options
9280 enable_win32_dll=no
9283 # Check whether --enable-shared was given.
9284 if test "${enable_shared+set}" = set; then :
9285 enableval=$enable_shared; p=${PACKAGE-default}
9286 case $enableval in
9287 yes) enable_shared=yes ;;
9288 no) enable_shared=no ;;
9290 enable_shared=no
9291 # Look at the argument we got. We use all the common list separators.
9292 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9293 for pkg in $enableval; do
9294 IFS="$lt_save_ifs"
9295 if test "X$pkg" = "X$p"; then
9296 enable_shared=yes
9298 done
9299 IFS="$lt_save_ifs"
9301 esac
9302 else
9303 enable_shared=yes
9314 # Check whether --enable-static was given.
9315 if test "${enable_static+set}" = set; then :
9316 enableval=$enable_static; p=${PACKAGE-default}
9317 case $enableval in
9318 yes) enable_static=yes ;;
9319 no) enable_static=no ;;
9321 enable_static=no
9322 # Look at the argument we got. We use all the common list separators.
9323 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9324 for pkg in $enableval; do
9325 IFS="$lt_save_ifs"
9326 if test "X$pkg" = "X$p"; then
9327 enable_static=yes
9329 done
9330 IFS="$lt_save_ifs"
9332 esac
9333 else
9334 enable_static=yes
9346 # Check whether --with-pic was given.
9347 if test "${with_pic+set}" = set; then :
9348 withval=$with_pic; pic_mode="$withval"
9349 else
9350 pic_mode=default
9354 test -z "$pic_mode" && pic_mode=default
9362 # Check whether --enable-fast-install was given.
9363 if test "${enable_fast_install+set}" = set; then :
9364 enableval=$enable_fast_install; p=${PACKAGE-default}
9365 case $enableval in
9366 yes) enable_fast_install=yes ;;
9367 no) enable_fast_install=no ;;
9369 enable_fast_install=no
9370 # Look at the argument we got. We use all the common list separators.
9371 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9372 for pkg in $enableval; do
9373 IFS="$lt_save_ifs"
9374 if test "X$pkg" = "X$p"; then
9375 enable_fast_install=yes
9377 done
9378 IFS="$lt_save_ifs"
9380 esac
9381 else
9382 enable_fast_install=yes
9395 # This can be used to rebuild libtool when needed
9396 LIBTOOL_DEPS="$ltmain"
9398 # Always use our own libtool.
9399 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9426 test -z "$LN_S" && LN_S="ln -s"
9441 if test -n "${ZSH_VERSION+set}" ; then
9442 setopt NO_GLOB_SUBST
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9446 $as_echo_n "checking for objdir... " >&6; }
9447 if ${lt_cv_objdir+:} false; then :
9448 $as_echo_n "(cached) " >&6
9449 else
9450 rm -f .libs 2>/dev/null
9451 mkdir .libs 2>/dev/null
9452 if test -d .libs; then
9453 lt_cv_objdir=.libs
9454 else
9455 # MS-DOS does not allow filenames that begin with a dot.
9456 lt_cv_objdir=_libs
9458 rmdir .libs 2>/dev/null
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9461 $as_echo "$lt_cv_objdir" >&6; }
9462 objdir=$lt_cv_objdir
9468 cat >>confdefs.h <<_ACEOF
9469 #define LT_OBJDIR "$lt_cv_objdir/"
9470 _ACEOF
9475 case $host_os in
9476 aix3*)
9477 # AIX sometimes has problems with the GCC collect2 program. For some
9478 # reason, if we set the COLLECT_NAMES environment variable, the problems
9479 # vanish in a puff of smoke.
9480 if test "X${COLLECT_NAMES+set}" != Xset; then
9481 COLLECT_NAMES=
9482 export COLLECT_NAMES
9485 esac
9487 # Global variables:
9488 ofile=libtool
9489 can_build_shared=yes
9491 # All known linkers require a `.a' archive for static linking (except MSVC,
9492 # which needs '.lib').
9493 libext=a
9495 with_gnu_ld="$lt_cv_prog_gnu_ld"
9497 old_CC="$CC"
9498 old_CFLAGS="$CFLAGS"
9500 # Set sane defaults for various variables
9501 test -z "$CC" && CC=cc
9502 test -z "$LTCC" && LTCC=$CC
9503 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9504 test -z "$LD" && LD=ld
9505 test -z "$ac_objext" && ac_objext=o
9507 for cc_temp in $compiler""; do
9508 case $cc_temp in
9509 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9510 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9511 \-*) ;;
9512 *) break;;
9513 esac
9514 done
9515 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9518 # Only perform the check for file, if the check method requires it
9519 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9520 case $deplibs_check_method in
9521 file_magic*)
9522 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9524 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9525 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 case $MAGIC_CMD in
9529 [\\/*] | ?:[\\/]*)
9530 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9533 lt_save_MAGIC_CMD="$MAGIC_CMD"
9534 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9535 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9536 for ac_dir in $ac_dummy; do
9537 IFS="$lt_save_ifs"
9538 test -z "$ac_dir" && ac_dir=.
9539 if test -f $ac_dir/${ac_tool_prefix}file; then
9540 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9541 if test -n "$file_magic_test_file"; then
9542 case $deplibs_check_method in
9543 "file_magic "*)
9544 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9545 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9546 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9547 $EGREP "$file_magic_regex" > /dev/null; then
9549 else
9550 cat <<_LT_EOF 1>&2
9552 *** Warning: the command libtool uses to detect shared libraries,
9553 *** $file_magic_cmd, produces output that libtool cannot recognize.
9554 *** The result is that libtool may fail to recognize shared libraries
9555 *** as such. This will affect the creation of libtool libraries that
9556 *** depend on shared libraries, but programs linked with such libtool
9557 *** libraries will work regardless of this problem. Nevertheless, you
9558 *** may want to report the problem to your system manager and/or to
9559 *** bug-libtool@gnu.org
9561 _LT_EOF
9562 fi ;;
9563 esac
9565 break
9567 done
9568 IFS="$lt_save_ifs"
9569 MAGIC_CMD="$lt_save_MAGIC_CMD"
9571 esac
9574 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9575 if test -n "$MAGIC_CMD"; then
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9577 $as_echo "$MAGIC_CMD" >&6; }
9578 else
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9580 $as_echo "no" >&6; }
9587 if test -z "$lt_cv_path_MAGIC_CMD"; then
9588 if test -n "$ac_tool_prefix"; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9590 $as_echo_n "checking for file... " >&6; }
9591 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 case $MAGIC_CMD in
9595 [\\/*] | ?:[\\/]*)
9596 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9599 lt_save_MAGIC_CMD="$MAGIC_CMD"
9600 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9601 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9602 for ac_dir in $ac_dummy; do
9603 IFS="$lt_save_ifs"
9604 test -z "$ac_dir" && ac_dir=.
9605 if test -f $ac_dir/file; then
9606 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9607 if test -n "$file_magic_test_file"; then
9608 case $deplibs_check_method in
9609 "file_magic "*)
9610 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9611 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9612 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9613 $EGREP "$file_magic_regex" > /dev/null; then
9615 else
9616 cat <<_LT_EOF 1>&2
9618 *** Warning: the command libtool uses to detect shared libraries,
9619 *** $file_magic_cmd, produces output that libtool cannot recognize.
9620 *** The result is that libtool may fail to recognize shared libraries
9621 *** as such. This will affect the creation of libtool libraries that
9622 *** depend on shared libraries, but programs linked with such libtool
9623 *** libraries will work regardless of this problem. Nevertheless, you
9624 *** may want to report the problem to your system manager and/or to
9625 *** bug-libtool@gnu.org
9627 _LT_EOF
9628 fi ;;
9629 esac
9631 break
9633 done
9634 IFS="$lt_save_ifs"
9635 MAGIC_CMD="$lt_save_MAGIC_CMD"
9637 esac
9640 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9641 if test -n "$MAGIC_CMD"; then
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9643 $as_echo "$MAGIC_CMD" >&6; }
9644 else
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9646 $as_echo "no" >&6; }
9650 else
9651 MAGIC_CMD=:
9657 esac
9659 # Use C for the default configuration in the libtool script
9661 lt_save_CC="$CC"
9662 ac_ext=c
9663 ac_cpp='$CPP $CPPFLAGS'
9664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9669 # Source file extension for C test sources.
9670 ac_ext=c
9672 # Object file extension for compiled C test sources.
9673 objext=o
9674 objext=$objext
9676 # Code to be used in simple compile tests
9677 lt_simple_compile_test_code="int some_variable = 0;"
9679 # Code to be used in simple link tests
9680 lt_simple_link_test_code='int main(){return(0);}'
9688 # If no C compiler was specified, use CC.
9689 LTCC=${LTCC-"$CC"}
9691 # If no C compiler flags were specified, use CFLAGS.
9692 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9694 # Allow CC to be a program name with arguments.
9695 compiler=$CC
9697 # Save the default compiler, since it gets overwritten when the other
9698 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9699 compiler_DEFAULT=$CC
9701 # save warnings/boilerplate of simple test code
9702 ac_outfile=conftest.$ac_objext
9703 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9704 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9705 _lt_compiler_boilerplate=`cat conftest.err`
9706 $RM conftest*
9708 ac_outfile=conftest.$ac_objext
9709 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9710 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9711 _lt_linker_boilerplate=`cat conftest.err`
9712 $RM -r conftest*
9715 ## CAVEAT EMPTOR:
9716 ## There is no encapsulation within the following macros, do not change
9717 ## the running order or otherwise move them around unless you know exactly
9718 ## what you are doing...
9719 if test -n "$compiler"; then
9721 lt_prog_compiler_no_builtin_flag=
9723 if test "$GCC" = yes; then
9724 case $cc_basename in
9725 nvcc*)
9726 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9728 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9729 esac
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9732 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9733 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9734 $as_echo_n "(cached) " >&6
9735 else
9736 lt_cv_prog_compiler_rtti_exceptions=no
9737 ac_outfile=conftest.$ac_objext
9738 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9739 lt_compiler_flag="-fno-rtti -fno-exceptions"
9740 # Insert the option either (1) after the last *FLAGS variable, or
9741 # (2) before a word containing "conftest.", or (3) at the end.
9742 # Note that $ac_compile itself does not contain backslashes and begins
9743 # with a dollar sign (not a hyphen), so the echo should work correctly.
9744 # The option is referenced via a variable to avoid confusing sed.
9745 lt_compile=`echo "$ac_compile" | $SED \
9746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9748 -e 's:$: $lt_compiler_flag:'`
9749 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9750 (eval "$lt_compile" 2>conftest.err)
9751 ac_status=$?
9752 cat conftest.err >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 if (exit $ac_status) && test -s "$ac_outfile"; then
9755 # The compiler can only warn and ignore the option if not recognized
9756 # So say no if there are warnings other than the usual output.
9757 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9758 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9759 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9760 lt_cv_prog_compiler_rtti_exceptions=yes
9763 $RM conftest*
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9767 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9769 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9770 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9771 else
9782 lt_prog_compiler_wl=
9783 lt_prog_compiler_pic=
9784 lt_prog_compiler_static=
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9787 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9789 if test "$GCC" = yes; then
9790 lt_prog_compiler_wl='-Wl,'
9791 lt_prog_compiler_static='-static'
9793 case $host_os in
9794 aix*)
9795 # All AIX code is PIC.
9796 if test "$host_cpu" = ia64; then
9797 # AIX 5 now supports IA64 processor
9798 lt_prog_compiler_static='-Bstatic'
9800 lt_prog_compiler_pic='-fPIC'
9803 amigaos*)
9804 case $host_cpu in
9805 powerpc)
9806 # see comment about AmigaOS4 .so support
9807 lt_prog_compiler_pic='-fPIC'
9809 m68k)
9810 # FIXME: we need at least 68020 code to build shared libraries, but
9811 # adding the `-m68020' flag to GCC prevents building anything better,
9812 # like `-m68040'.
9813 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9815 esac
9818 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9819 # PIC is the default for these OSes.
9822 mingw* | cygwin* | pw32* | os2* | cegcc*)
9823 # This hack is so that the source file can tell whether it is being
9824 # built for inclusion in a dll (and should export symbols for example).
9825 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9826 # (--disable-auto-import) libraries
9827 lt_prog_compiler_pic='-DDLL_EXPORT'
9830 darwin* | rhapsody*)
9831 # PIC is the default on this platform
9832 # Common symbols not allowed in MH_DYLIB files
9833 lt_prog_compiler_pic='-fno-common'
9836 haiku*)
9837 # PIC is the default for Haiku.
9838 # The "-static" flag exists, but is broken.
9839 lt_prog_compiler_static=
9842 hpux*)
9843 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9844 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9845 # sets the default TLS model and affects inlining.
9846 case $host_cpu in
9847 hppa*64*)
9848 # +Z the default
9851 lt_prog_compiler_pic='-fPIC'
9853 esac
9856 interix[3-9]*)
9857 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9858 # Instead, we relocate shared libraries at runtime.
9861 msdosdjgpp*)
9862 # Just because we use GCC doesn't mean we suddenly get shared libraries
9863 # on systems that don't support them.
9864 lt_prog_compiler_can_build_shared=no
9865 enable_shared=no
9868 *nto* | *qnx*)
9869 # QNX uses GNU C++, but need to define -shared option too, otherwise
9870 # it will coredump.
9871 lt_prog_compiler_pic='-fPIC -shared'
9874 sysv4*MP*)
9875 if test -d /usr/nec; then
9876 lt_prog_compiler_pic=-Kconform_pic
9881 lt_prog_compiler_pic='-fPIC'
9883 esac
9885 case $cc_basename in
9886 nvcc*) # Cuda Compiler Driver 2.2
9887 lt_prog_compiler_wl='-Xlinker '
9888 lt_prog_compiler_pic='-Xcompiler -fPIC'
9890 esac
9891 else
9892 # PORTME Check for flag to pass linker flags through the system compiler.
9893 case $host_os in
9894 aix*)
9895 lt_prog_compiler_wl='-Wl,'
9896 if test "$host_cpu" = ia64; then
9897 # AIX 5 now supports IA64 processor
9898 lt_prog_compiler_static='-Bstatic'
9899 else
9900 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9904 mingw* | cygwin* | pw32* | os2* | cegcc*)
9905 # This hack is so that the source file can tell whether it is being
9906 # built for inclusion in a dll (and should export symbols for example).
9907 lt_prog_compiler_pic='-DDLL_EXPORT'
9910 hpux9* | hpux10* | hpux11*)
9911 lt_prog_compiler_wl='-Wl,'
9912 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9913 # not for PA HP-UX.
9914 case $host_cpu in
9915 hppa*64*|ia64*)
9916 # +Z the default
9919 lt_prog_compiler_pic='+Z'
9921 esac
9922 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9923 lt_prog_compiler_static='${wl}-a ${wl}archive'
9926 irix5* | irix6* | nonstopux*)
9927 lt_prog_compiler_wl='-Wl,'
9928 # PIC (with -KPIC) is the default.
9929 lt_prog_compiler_static='-non_shared'
9932 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9933 case $cc_basename in
9934 # old Intel for x86_64 which still supported -KPIC.
9935 ecc*)
9936 lt_prog_compiler_wl='-Wl,'
9937 lt_prog_compiler_pic='-KPIC'
9938 lt_prog_compiler_static='-static'
9940 # icc used to be incompatible with GCC.
9941 # ICC 10 doesn't accept -KPIC any more.
9942 icc* | ifort*)
9943 lt_prog_compiler_wl='-Wl,'
9944 lt_prog_compiler_pic='-fPIC'
9945 lt_prog_compiler_static='-static'
9947 # Lahey Fortran 8.1.
9948 lf95*)
9949 lt_prog_compiler_wl='-Wl,'
9950 lt_prog_compiler_pic='--shared'
9951 lt_prog_compiler_static='--static'
9953 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9954 # Portland Group compilers (*not* the Pentium gcc compiler,
9955 # which looks to be a dead project)
9956 lt_prog_compiler_wl='-Wl,'
9957 lt_prog_compiler_pic='-fpic'
9958 lt_prog_compiler_static='-Bstatic'
9960 ccc*)
9961 lt_prog_compiler_wl='-Wl,'
9962 # All Alpha code is PIC.
9963 lt_prog_compiler_static='-non_shared'
9965 xl* | bgxl* | bgf* | mpixl*)
9966 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9967 lt_prog_compiler_wl='-Wl,'
9968 lt_prog_compiler_pic='-qpic'
9969 lt_prog_compiler_static='-qstaticlink'
9972 case `$CC -V 2>&1 | sed 5q` in
9973 *Sun\ F* | *Sun*Fortran*)
9974 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9975 lt_prog_compiler_pic='-KPIC'
9976 lt_prog_compiler_static='-Bstatic'
9977 lt_prog_compiler_wl=''
9979 *Sun\ C*)
9980 # Sun C 5.9
9981 lt_prog_compiler_pic='-KPIC'
9982 lt_prog_compiler_static='-Bstatic'
9983 lt_prog_compiler_wl='-Wl,'
9985 esac
9987 esac
9990 newsos6)
9991 lt_prog_compiler_pic='-KPIC'
9992 lt_prog_compiler_static='-Bstatic'
9995 *nto* | *qnx*)
9996 # QNX uses GNU C++, but need to define -shared option too, otherwise
9997 # it will coredump.
9998 lt_prog_compiler_pic='-fPIC -shared'
10001 osf3* | osf4* | osf5*)
10002 lt_prog_compiler_wl='-Wl,'
10003 # All OSF/1 code is PIC.
10004 lt_prog_compiler_static='-non_shared'
10007 rdos*)
10008 lt_prog_compiler_static='-non_shared'
10011 solaris*)
10012 lt_prog_compiler_pic='-KPIC'
10013 lt_prog_compiler_static='-Bstatic'
10014 case $cc_basename in
10015 f77* | f90* | f95*)
10016 lt_prog_compiler_wl='-Qoption ld ';;
10018 lt_prog_compiler_wl='-Wl,';;
10019 esac
10022 sunos4*)
10023 lt_prog_compiler_wl='-Qoption ld '
10024 lt_prog_compiler_pic='-PIC'
10025 lt_prog_compiler_static='-Bstatic'
10028 sysv4 | sysv4.2uw2* | sysv4.3*)
10029 lt_prog_compiler_wl='-Wl,'
10030 lt_prog_compiler_pic='-KPIC'
10031 lt_prog_compiler_static='-Bstatic'
10034 sysv4*MP*)
10035 if test -d /usr/nec ;then
10036 lt_prog_compiler_pic='-Kconform_pic'
10037 lt_prog_compiler_static='-Bstatic'
10041 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10042 lt_prog_compiler_wl='-Wl,'
10043 lt_prog_compiler_pic='-KPIC'
10044 lt_prog_compiler_static='-Bstatic'
10047 unicos*)
10048 lt_prog_compiler_wl='-Wl,'
10049 lt_prog_compiler_can_build_shared=no
10052 uts4*)
10053 lt_prog_compiler_pic='-pic'
10054 lt_prog_compiler_static='-Bstatic'
10058 lt_prog_compiler_can_build_shared=no
10060 esac
10063 case $host_os in
10064 # For platforms which do not support PIC, -DPIC is meaningless:
10065 *djgpp*)
10066 lt_prog_compiler_pic=
10069 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10071 esac
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10073 $as_echo "$lt_prog_compiler_pic" >&6; }
10081 # Check to make sure the PIC flag actually works.
10083 if test -n "$lt_prog_compiler_pic"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10085 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10086 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10087 $as_echo_n "(cached) " >&6
10088 else
10089 lt_cv_prog_compiler_pic_works=no
10090 ac_outfile=conftest.$ac_objext
10091 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10092 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10093 # Insert the option either (1) after the last *FLAGS variable, or
10094 # (2) before a word containing "conftest.", or (3) at the end.
10095 # Note that $ac_compile itself does not contain backslashes and begins
10096 # with a dollar sign (not a hyphen), so the echo should work correctly.
10097 # The option is referenced via a variable to avoid confusing sed.
10098 lt_compile=`echo "$ac_compile" | $SED \
10099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10101 -e 's:$: $lt_compiler_flag:'`
10102 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10103 (eval "$lt_compile" 2>conftest.err)
10104 ac_status=$?
10105 cat conftest.err >&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 if (exit $ac_status) && test -s "$ac_outfile"; then
10108 # The compiler can only warn and ignore the option if not recognized
10109 # So say no if there are warnings other than the usual output.
10110 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10111 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10112 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10113 lt_cv_prog_compiler_pic_works=yes
10116 $RM conftest*
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10120 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10122 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10123 case $lt_prog_compiler_pic in
10124 "" | " "*) ;;
10125 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10126 esac
10127 else
10128 lt_prog_compiler_pic=
10129 lt_prog_compiler_can_build_shared=no
10140 # Check to make sure the static flag actually works.
10142 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10144 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10145 if ${lt_cv_prog_compiler_static_works+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 lt_cv_prog_compiler_static_works=no
10149 save_LDFLAGS="$LDFLAGS"
10150 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10151 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10152 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10153 # The linker can only warn and ignore the option if not recognized
10154 # So say no if there are warnings
10155 if test -s conftest.err; then
10156 # Append any errors to the config.log.
10157 cat conftest.err 1>&5
10158 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10159 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10160 if diff conftest.exp conftest.er2 >/dev/null; then
10161 lt_cv_prog_compiler_static_works=yes
10163 else
10164 lt_cv_prog_compiler_static_works=yes
10167 $RM -r conftest*
10168 LDFLAGS="$save_LDFLAGS"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10172 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10174 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10176 else
10177 lt_prog_compiler_static=
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10187 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10188 if ${lt_cv_prog_compiler_c_o+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 lt_cv_prog_compiler_c_o=no
10192 $RM -r conftest 2>/dev/null
10193 mkdir conftest
10194 cd conftest
10195 mkdir out
10196 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10198 lt_compiler_flag="-o out/conftest2.$ac_objext"
10199 # Insert the option either (1) after the last *FLAGS variable, or
10200 # (2) before a word containing "conftest.", or (3) at the end.
10201 # Note that $ac_compile itself does not contain backslashes and begins
10202 # with a dollar sign (not a hyphen), so the echo should work correctly.
10203 lt_compile=`echo "$ac_compile" | $SED \
10204 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10205 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10206 -e 's:$: $lt_compiler_flag:'`
10207 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10208 (eval "$lt_compile" 2>out/conftest.err)
10209 ac_status=$?
10210 cat out/conftest.err >&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10213 then
10214 # The compiler can only warn and ignore the option if not recognized
10215 # So say no if there are warnings
10216 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10217 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10218 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10219 lt_cv_prog_compiler_c_o=yes
10222 chmod u+w . 2>&5
10223 $RM conftest*
10224 # SGI C++ compiler will create directory out/ii_files/ for
10225 # template instantiation
10226 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10227 $RM out/* && rmdir out
10228 cd ..
10229 $RM -r conftest
10230 $RM conftest*
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10234 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10242 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10243 if ${lt_cv_prog_compiler_c_o+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 lt_cv_prog_compiler_c_o=no
10247 $RM -r conftest 2>/dev/null
10248 mkdir conftest
10249 cd conftest
10250 mkdir out
10251 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10253 lt_compiler_flag="-o out/conftest2.$ac_objext"
10254 # Insert the option either (1) after the last *FLAGS variable, or
10255 # (2) before a word containing "conftest.", or (3) at the end.
10256 # Note that $ac_compile itself does not contain backslashes and begins
10257 # with a dollar sign (not a hyphen), so the echo should work correctly.
10258 lt_compile=`echo "$ac_compile" | $SED \
10259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10261 -e 's:$: $lt_compiler_flag:'`
10262 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10263 (eval "$lt_compile" 2>out/conftest.err)
10264 ac_status=$?
10265 cat out/conftest.err >&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10268 then
10269 # The compiler can only warn and ignore the option if not recognized
10270 # So say no if there are warnings
10271 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10272 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10273 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10274 lt_cv_prog_compiler_c_o=yes
10277 chmod u+w . 2>&5
10278 $RM conftest*
10279 # SGI C++ compiler will create directory out/ii_files/ for
10280 # template instantiation
10281 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10282 $RM out/* && rmdir out
10283 cd ..
10284 $RM -r conftest
10285 $RM conftest*
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10289 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10294 hard_links="nottested"
10295 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10296 # do not overwrite the value of need_locks provided by the user
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10298 $as_echo_n "checking if we can lock with hard links... " >&6; }
10299 hard_links=yes
10300 $RM conftest*
10301 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10302 touch conftest.a
10303 ln conftest.a conftest.b 2>&5 || hard_links=no
10304 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10306 $as_echo "$hard_links" >&6; }
10307 if test "$hard_links" = no; then
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10309 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10310 need_locks=warn
10312 else
10313 need_locks=no
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10322 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10324 runpath_var=
10325 allow_undefined_flag=
10326 always_export_symbols=no
10327 archive_cmds=
10328 archive_expsym_cmds=
10329 compiler_needs_object=no
10330 enable_shared_with_static_runtimes=no
10331 export_dynamic_flag_spec=
10332 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10333 hardcode_automatic=no
10334 hardcode_direct=no
10335 hardcode_direct_absolute=no
10336 hardcode_libdir_flag_spec=
10337 hardcode_libdir_flag_spec_ld=
10338 hardcode_libdir_separator=
10339 hardcode_minus_L=no
10340 hardcode_shlibpath_var=unsupported
10341 inherit_rpath=no
10342 link_all_deplibs=unknown
10343 module_cmds=
10344 module_expsym_cmds=
10345 old_archive_from_new_cmds=
10346 old_archive_from_expsyms_cmds=
10347 thread_safe_flag_spec=
10348 whole_archive_flag_spec=
10349 # include_expsyms should be a list of space-separated symbols to be *always*
10350 # included in the symbol list
10351 include_expsyms=
10352 # exclude_expsyms can be an extended regexp of symbols to exclude
10353 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10354 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10355 # as well as any symbol that contains `d'.
10356 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10357 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10358 # platforms (ab)use it in PIC code, but their linkers get confused if
10359 # the symbol is explicitly referenced. Since portable code cannot
10360 # rely on this symbol name, it's probably fine to never include it in
10361 # preloaded symbol tables.
10362 # Exclude shared library initialization/finalization symbols.
10363 extract_expsyms_cmds=
10365 case $host_os in
10366 cygwin* | mingw* | pw32* | cegcc*)
10367 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10368 # When not using gcc, we currently assume that we are using
10369 # Microsoft Visual C++.
10370 if test "$GCC" != yes; then
10371 with_gnu_ld=no
10374 interix*)
10375 # we just hope/assume this is gcc and not c89 (= MSVC++)
10376 with_gnu_ld=yes
10378 openbsd*)
10379 with_gnu_ld=no
10381 esac
10383 ld_shlibs=yes
10385 # On some targets, GNU ld is compatible enough with the native linker
10386 # that we're better off using the native interface for both.
10387 lt_use_gnu_ld_interface=no
10388 if test "$with_gnu_ld" = yes; then
10389 case $host_os in
10390 aix*)
10391 # The AIX port of GNU ld has always aspired to compatibility
10392 # with the native linker. However, as the warning in the GNU ld
10393 # block says, versions before 2.19.5* couldn't really create working
10394 # shared libraries, regardless of the interface used.
10395 case `$LD -v 2>&1` in
10396 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10397 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10398 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10400 lt_use_gnu_ld_interface=yes
10402 esac
10405 lt_use_gnu_ld_interface=yes
10407 esac
10410 if test "$lt_use_gnu_ld_interface" = yes; then
10411 # If archive_cmds runs LD, not CC, wlarc should be empty
10412 wlarc='${wl}'
10414 # Set some defaults for GNU ld with shared library support. These
10415 # are reset later if shared libraries are not supported. Putting them
10416 # here allows them to be overridden if necessary.
10417 runpath_var=LD_RUN_PATH
10418 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10419 export_dynamic_flag_spec='${wl}--export-dynamic'
10420 # ancient GNU ld didn't support --whole-archive et. al.
10421 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10422 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10423 else
10424 whole_archive_flag_spec=
10426 supports_anon_versioning=no
10427 case `$LD -v 2>&1` in
10428 *GNU\ gold*) supports_anon_versioning=yes ;;
10429 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10430 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10431 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10432 *\ 2.11.*) ;; # other 2.11 versions
10433 *) supports_anon_versioning=yes ;;
10434 esac
10436 # See if GNU ld supports shared libraries.
10437 case $host_os in
10438 aix[3-9]*)
10439 # On AIX/PPC, the GNU linker is very broken
10440 if test "$host_cpu" != ia64; then
10441 ld_shlibs=no
10442 cat <<_LT_EOF 1>&2
10444 *** Warning: the GNU linker, at least up to release 2.19, is reported
10445 *** to be unable to reliably create shared libraries on AIX.
10446 *** Therefore, libtool is disabling shared libraries support. If you
10447 *** really care for shared libraries, you may want to install binutils
10448 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10449 *** You will then need to restart the configuration process.
10451 _LT_EOF
10455 amigaos*)
10456 case $host_cpu in
10457 powerpc)
10458 # see comment about AmigaOS4 .so support
10459 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10460 archive_expsym_cmds=''
10462 m68k)
10463 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)'
10464 hardcode_libdir_flag_spec='-L$libdir'
10465 hardcode_minus_L=yes
10467 esac
10470 beos*)
10471 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10472 allow_undefined_flag=unsupported
10473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10474 # support --undefined. This deserves some investigation. FIXME
10475 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10476 else
10477 ld_shlibs=no
10481 cygwin* | mingw* | pw32* | cegcc*)
10482 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10483 # as there is no search path for DLLs.
10484 hardcode_libdir_flag_spec='-L$libdir'
10485 export_dynamic_flag_spec='${wl}--export-all-symbols'
10486 allow_undefined_flag=unsupported
10487 always_export_symbols=no
10488 enable_shared_with_static_runtimes=yes
10489 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10491 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10492 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10493 # If the export-symbols file already is a .def file (1st line
10494 # is EXPORTS), use it as is; otherwise, prepend...
10495 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10496 cp $export_symbols $output_objdir/$soname.def;
10497 else
10498 echo EXPORTS > $output_objdir/$soname.def;
10499 cat $export_symbols >> $output_objdir/$soname.def;
10501 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10502 else
10503 ld_shlibs=no
10507 haiku*)
10508 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10509 link_all_deplibs=yes
10512 interix[3-9]*)
10513 hardcode_direct=no
10514 hardcode_shlibpath_var=no
10515 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10516 export_dynamic_flag_spec='${wl}-E'
10517 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10518 # Instead, shared libraries are loaded at an image base (0x10000000 by
10519 # default) and relocated if they conflict, which is a slow very memory
10520 # consuming and fragmenting process. To avoid this, we pick a random,
10521 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10522 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10523 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10524 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'
10527 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10528 tmp_diet=no
10529 if test "$host_os" = linux-dietlibc; then
10530 case $cc_basename in
10531 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10532 esac
10534 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10535 && test "$tmp_diet" = no
10536 then
10537 tmp_addflag=' $pic_flag'
10538 tmp_sharedflag='-shared'
10539 case $cc_basename,$host_cpu in
10540 pgcc*) # Portland Group C compiler
10541 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'
10542 tmp_addflag=' $pic_flag'
10544 pgf77* | pgf90* | pgf95* | pgfortran*)
10545 # Portland Group f77 and f90 compilers
10546 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'
10547 tmp_addflag=' $pic_flag -Mnomain' ;;
10548 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10549 tmp_addflag=' -i_dynamic' ;;
10550 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10551 tmp_addflag=' -i_dynamic -nofor_main' ;;
10552 ifc* | ifort*) # Intel Fortran compiler
10553 tmp_addflag=' -nofor_main' ;;
10554 lf95*) # Lahey Fortran 8.1
10555 whole_archive_flag_spec=
10556 tmp_sharedflag='--shared' ;;
10557 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10558 tmp_sharedflag='-qmkshrobj'
10559 tmp_addflag= ;;
10560 nvcc*) # Cuda Compiler Driver 2.2
10561 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10562 compiler_needs_object=yes
10564 esac
10565 case `$CC -V 2>&1 | sed 5q` in
10566 *Sun\ C*) # Sun C 5.9
10567 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'
10568 compiler_needs_object=yes
10569 tmp_sharedflag='-G' ;;
10570 *Sun\ F*) # Sun Fortran 8.3
10571 tmp_sharedflag='-G' ;;
10572 esac
10573 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10575 if test "x$supports_anon_versioning" = xyes; then
10576 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10577 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10578 echo "local: *; };" >> $output_objdir/$libname.ver~
10579 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10582 case $cc_basename in
10583 xlf* | bgf* | bgxlf* | mpixlf*)
10584 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10585 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10586 hardcode_libdir_flag_spec=
10587 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10588 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10589 if test "x$supports_anon_versioning" = xyes; then
10590 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10591 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10592 echo "local: *; };" >> $output_objdir/$libname.ver~
10593 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10596 esac
10597 else
10598 ld_shlibs=no
10602 netbsd*)
10603 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10604 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10605 wlarc=
10606 else
10607 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10608 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10612 solaris*)
10613 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10614 ld_shlibs=no
10615 cat <<_LT_EOF 1>&2
10617 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10618 *** create shared libraries on Solaris systems. Therefore, libtool
10619 *** is disabling shared libraries support. We urge you to upgrade GNU
10620 *** binutils to release 2.9.1 or newer. Another option is to modify
10621 *** your PATH or compiler configuration so that the native linker is
10622 *** used, and then restart.
10624 _LT_EOF
10625 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10626 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10627 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10628 else
10629 ld_shlibs=no
10633 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10634 case `$LD -v 2>&1` in
10635 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10636 ld_shlibs=no
10637 cat <<_LT_EOF 1>&2
10639 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10640 *** reliably create shared libraries on SCO systems. Therefore, libtool
10641 *** is disabling shared libraries support. We urge you to upgrade GNU
10642 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10643 *** your PATH or compiler configuration so that the native linker is
10644 *** used, and then restart.
10646 _LT_EOF
10649 # For security reasons, it is highly recommended that you always
10650 # use absolute paths for naming shared libraries, and exclude the
10651 # DT_RUNPATH tag from executables and libraries. But doing so
10652 # requires that you compile everything twice, which is a pain.
10653 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10654 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10655 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10656 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10657 else
10658 ld_shlibs=no
10661 esac
10664 sunos4*)
10665 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10666 wlarc=
10667 hardcode_direct=yes
10668 hardcode_shlibpath_var=no
10672 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10673 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10674 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10675 else
10676 ld_shlibs=no
10679 esac
10681 if test "$ld_shlibs" = no; then
10682 runpath_var=
10683 hardcode_libdir_flag_spec=
10684 export_dynamic_flag_spec=
10685 whole_archive_flag_spec=
10687 else
10688 # PORTME fill in a description of your system's linker (not GNU ld)
10689 case $host_os in
10690 aix3*)
10691 allow_undefined_flag=unsupported
10692 always_export_symbols=yes
10693 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'
10694 # Note: this linker hardcodes the directories in LIBPATH if there
10695 # are no directories specified by -L.
10696 hardcode_minus_L=yes
10697 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10698 # Neither direct hardcoding nor static linking is supported with a
10699 # broken collect2.
10700 hardcode_direct=unsupported
10704 aix[4-9]*)
10705 if test "$host_cpu" = ia64; then
10706 # On IA64, the linker does run time linking by default, so we don't
10707 # have to do anything special.
10708 aix_use_runtimelinking=no
10709 exp_sym_flag='-Bexport'
10710 no_entry_flag=""
10711 else
10712 # If we're using GNU nm, then we don't want the "-C" option.
10713 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10714 # Also, AIX nm treats weak defined symbols like other global
10715 # defined symbols, whereas GNU nm marks them as "W".
10716 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10717 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'
10718 else
10719 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'
10721 aix_use_runtimelinking=no
10723 # Test if we are trying to use run time linking or normal
10724 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10725 # need to do runtime linking.
10726 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10727 for ld_flag in $LDFLAGS; do
10728 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10729 aix_use_runtimelinking=yes
10730 break
10732 done
10734 esac
10736 exp_sym_flag='-bexport'
10737 no_entry_flag='-bnoentry'
10740 # When large executables or shared objects are built, AIX ld can
10741 # have problems creating the table of contents. If linking a library
10742 # or program results in "error TOC overflow" add -mminimal-toc to
10743 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10744 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10746 archive_cmds=''
10747 hardcode_direct=yes
10748 hardcode_direct_absolute=yes
10749 hardcode_libdir_separator=':'
10750 link_all_deplibs=yes
10751 file_list_spec='${wl}-f,'
10753 if test "$GCC" = yes; then
10754 case $host_os in aix4.[012]|aix4.[012].*)
10755 # We only want to do this on AIX 4.2 and lower, the check
10756 # below for broken collect2 doesn't work under 4.3+
10757 collect2name=`${CC} -print-prog-name=collect2`
10758 if test -f "$collect2name" &&
10759 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10760 then
10761 # We have reworked collect2
10763 else
10764 # We have old collect2
10765 hardcode_direct=unsupported
10766 # It fails to find uninstalled libraries when the uninstalled
10767 # path is not listed in the libpath. Setting hardcode_minus_L
10768 # to unsupported forces relinking
10769 hardcode_minus_L=yes
10770 hardcode_libdir_flag_spec='-L$libdir'
10771 hardcode_libdir_separator=
10774 esac
10775 shared_flag='-shared'
10776 if test "$aix_use_runtimelinking" = yes; then
10777 shared_flag="$shared_flag "'${wl}-G'
10779 else
10780 # not using gcc
10781 if test "$host_cpu" = ia64; then
10782 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10783 # chokes on -Wl,-G. The following line is correct:
10784 shared_flag='-G'
10785 else
10786 if test "$aix_use_runtimelinking" = yes; then
10787 shared_flag='${wl}-G'
10788 else
10789 shared_flag='${wl}-bM:SRE'
10794 export_dynamic_flag_spec='${wl}-bexpall'
10795 # It seems that -bexpall does not export symbols beginning with
10796 # underscore (_), so it is better to generate a list of symbols to export.
10797 always_export_symbols=yes
10798 if test "$aix_use_runtimelinking" = yes; then
10799 # Warning - without using the other runtime loading flags (-brtl),
10800 # -berok will link without error, but may produce a broken library.
10801 allow_undefined_flag='-berok'
10802 # Determine the default libpath from the value encoded in an
10803 # empty executable.
10804 if test x$gcc_no_link = xyes; then
10805 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10811 main ()
10815 return 0;
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10820 lt_aix_libpath_sed='
10821 /Import File Strings/,/^$/ {
10822 /^0/ {
10823 s/^0 *\(.*\)$/\1/
10827 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10828 # Check for a 64-bit object if we didn't find anything.
10829 if test -z "$aix_libpath"; then
10830 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10833 rm -f core conftest.err conftest.$ac_objext \
10834 conftest$ac_exeext conftest.$ac_ext
10835 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10837 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10838 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"
10839 else
10840 if test "$host_cpu" = ia64; then
10841 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10842 allow_undefined_flag="-z nodefs"
10843 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"
10844 else
10845 # Determine the default libpath from the value encoded in an
10846 # empty executable.
10847 if test x$gcc_no_link = xyes; then
10848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10854 main ()
10858 return 0;
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"; then :
10863 lt_aix_libpath_sed='
10864 /Import File Strings/,/^$/ {
10865 /^0/ {
10866 s/^0 *\(.*\)$/\1/
10870 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10871 # Check for a 64-bit object if we didn't find anything.
10872 if test -z "$aix_libpath"; then
10873 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10876 rm -f core conftest.err conftest.$ac_objext \
10877 conftest$ac_exeext conftest.$ac_ext
10878 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10880 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10881 # Warning - without using the other run time loading flags,
10882 # -berok will link without error, but may produce a broken library.
10883 no_undefined_flag=' ${wl}-bernotok'
10884 allow_undefined_flag=' ${wl}-berok'
10885 if test "$with_gnu_ld" = yes; then
10886 # We only use this code for GNU lds that support --whole-archive.
10887 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10888 else
10889 # Exported symbols can be pulled into shared objects from archives
10890 whole_archive_flag_spec='$convenience'
10892 archive_cmds_need_lc=yes
10893 # This is similar to how AIX traditionally builds its shared libraries.
10894 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'
10899 amigaos*)
10900 case $host_cpu in
10901 powerpc)
10902 # see comment about AmigaOS4 .so support
10903 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10904 archive_expsym_cmds=''
10906 m68k)
10907 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)'
10908 hardcode_libdir_flag_spec='-L$libdir'
10909 hardcode_minus_L=yes
10911 esac
10914 bsdi[45]*)
10915 export_dynamic_flag_spec=-rdynamic
10918 cygwin* | mingw* | pw32* | cegcc*)
10919 # When not using gcc, we currently assume that we are using
10920 # Microsoft Visual C++.
10921 # hardcode_libdir_flag_spec is actually meaningless, as there is
10922 # no search path for DLLs.
10923 hardcode_libdir_flag_spec=' '
10924 allow_undefined_flag=unsupported
10925 # Tell ltmain to make .lib files, not .a files.
10926 libext=lib
10927 # Tell ltmain to make .dll files, not .so files.
10928 shrext_cmds=".dll"
10929 # FIXME: Setting linknames here is a bad hack.
10930 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10931 # The linker will automatically build a .lib file if we build a DLL.
10932 old_archive_from_new_cmds='true'
10933 # FIXME: Should let the user specify the lib program.
10934 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10935 fix_srcfile_path='`cygpath -w "$srcfile"`'
10936 enable_shared_with_static_runtimes=yes
10939 darwin* | rhapsody*)
10942 archive_cmds_need_lc=no
10943 hardcode_direct=no
10944 hardcode_automatic=yes
10945 hardcode_shlibpath_var=unsupported
10946 if test "$lt_cv_ld_force_load" = "yes"; then
10947 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\"`'
10948 else
10949 whole_archive_flag_spec=''
10951 link_all_deplibs=yes
10952 allow_undefined_flag="$_lt_dar_allow_undefined"
10953 case $cc_basename in
10954 ifort*) _lt_dar_can_shared=yes ;;
10955 *) _lt_dar_can_shared=$GCC ;;
10956 esac
10957 if test "$_lt_dar_can_shared" = "yes"; then
10958 output_verbose_link_cmd=func_echo_all
10959 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10960 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10961 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}"
10962 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}"
10964 else
10965 ld_shlibs=no
10970 dgux*)
10971 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10972 hardcode_libdir_flag_spec='-L$libdir'
10973 hardcode_shlibpath_var=no
10976 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10977 # support. Future versions do this automatically, but an explicit c++rt0.o
10978 # does not break anything, and helps significantly (at the cost of a little
10979 # extra space).
10980 freebsd2.2*)
10981 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10982 hardcode_libdir_flag_spec='-R$libdir'
10983 hardcode_direct=yes
10984 hardcode_shlibpath_var=no
10987 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10988 freebsd2.*)
10989 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10990 hardcode_direct=yes
10991 hardcode_minus_L=yes
10992 hardcode_shlibpath_var=no
10995 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10996 freebsd* | dragonfly*)
10997 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10998 hardcode_libdir_flag_spec='-R$libdir'
10999 hardcode_direct=yes
11000 hardcode_shlibpath_var=no
11003 hpux9*)
11004 if test "$GCC" = yes; then
11005 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'
11006 else
11007 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'
11009 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11010 hardcode_libdir_separator=:
11011 hardcode_direct=yes
11013 # hardcode_minus_L: Not really in the search PATH,
11014 # but as the default location of the library.
11015 hardcode_minus_L=yes
11016 export_dynamic_flag_spec='${wl}-E'
11019 hpux10*)
11020 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11021 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11022 else
11023 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11025 if test "$with_gnu_ld" = no; then
11026 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11027 hardcode_libdir_flag_spec_ld='+b $libdir'
11028 hardcode_libdir_separator=:
11029 hardcode_direct=yes
11030 hardcode_direct_absolute=yes
11031 export_dynamic_flag_spec='${wl}-E'
11032 # hardcode_minus_L: Not really in the search PATH,
11033 # but as the default location of the library.
11034 hardcode_minus_L=yes
11038 hpux11*)
11039 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11040 case $host_cpu in
11041 hppa*64*)
11042 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11044 ia64*)
11045 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11048 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11050 esac
11051 else
11052 case $host_cpu in
11053 hppa*64*)
11054 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11056 ia64*)
11057 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11061 # Older versions of the 11.00 compiler do not understand -b yet
11062 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11064 $as_echo_n "checking if $CC understands -b... " >&6; }
11065 if ${lt_cv_prog_compiler__b+:} false; then :
11066 $as_echo_n "(cached) " >&6
11067 else
11068 lt_cv_prog_compiler__b=no
11069 save_LDFLAGS="$LDFLAGS"
11070 LDFLAGS="$LDFLAGS -b"
11071 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11072 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11073 # The linker can only warn and ignore the option if not recognized
11074 # So say no if there are warnings
11075 if test -s conftest.err; then
11076 # Append any errors to the config.log.
11077 cat conftest.err 1>&5
11078 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11079 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11080 if diff conftest.exp conftest.er2 >/dev/null; then
11081 lt_cv_prog_compiler__b=yes
11083 else
11084 lt_cv_prog_compiler__b=yes
11087 $RM -r conftest*
11088 LDFLAGS="$save_LDFLAGS"
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11092 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11094 if test x"$lt_cv_prog_compiler__b" = xyes; then
11095 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11096 else
11097 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11101 esac
11103 if test "$with_gnu_ld" = no; then
11104 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11105 hardcode_libdir_separator=:
11107 case $host_cpu in
11108 hppa*64*|ia64*)
11109 hardcode_direct=no
11110 hardcode_shlibpath_var=no
11113 hardcode_direct=yes
11114 hardcode_direct_absolute=yes
11115 export_dynamic_flag_spec='${wl}-E'
11117 # hardcode_minus_L: Not really in the search PATH,
11118 # but as the default location of the library.
11119 hardcode_minus_L=yes
11121 esac
11125 irix5* | irix6* | nonstopux*)
11126 if test "$GCC" = yes; then
11127 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'
11128 # Try to use the -exported_symbol ld option, if it does not
11129 # work, assume that -exports_file does not work either and
11130 # implicitly export all symbols.
11131 save_LDFLAGS="$LDFLAGS"
11132 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11133 if test x$gcc_no_link = xyes; then
11134 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11138 int foo(void) {}
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 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'
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LDFLAGS="$save_LDFLAGS"
11147 else
11148 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'
11149 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'
11151 archive_cmds_need_lc='no'
11152 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11153 hardcode_libdir_separator=:
11154 inherit_rpath=yes
11155 link_all_deplibs=yes
11158 netbsd*)
11159 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11160 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11161 else
11162 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11164 hardcode_libdir_flag_spec='-R$libdir'
11165 hardcode_direct=yes
11166 hardcode_shlibpath_var=no
11169 newsos6)
11170 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11171 hardcode_direct=yes
11172 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11173 hardcode_libdir_separator=:
11174 hardcode_shlibpath_var=no
11177 *nto* | *qnx*)
11180 openbsd*)
11181 if test -f /usr/libexec/ld.so; then
11182 hardcode_direct=yes
11183 hardcode_shlibpath_var=no
11184 hardcode_direct_absolute=yes
11185 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11186 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11187 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11188 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11189 export_dynamic_flag_spec='${wl}-E'
11190 else
11191 case $host_os in
11192 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11193 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11194 hardcode_libdir_flag_spec='-R$libdir'
11197 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11198 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11200 esac
11202 else
11203 ld_shlibs=no
11207 os2*)
11208 hardcode_libdir_flag_spec='-L$libdir'
11209 hardcode_minus_L=yes
11210 allow_undefined_flag=unsupported
11211 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'
11212 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11215 osf3*)
11216 if test "$GCC" = yes; then
11217 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11218 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'
11219 else
11220 allow_undefined_flag=' -expect_unresolved \*'
11221 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'
11223 archive_cmds_need_lc='no'
11224 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11225 hardcode_libdir_separator=:
11228 osf4* | osf5*) # as osf3* with the addition of -msym flag
11229 if test "$GCC" = yes; then
11230 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11231 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'
11232 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11233 else
11234 allow_undefined_flag=' -expect_unresolved \*'
11235 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'
11236 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~
11237 $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'
11239 # Both c and cxx compiler support -rpath directly
11240 hardcode_libdir_flag_spec='-rpath $libdir'
11242 archive_cmds_need_lc='no'
11243 hardcode_libdir_separator=:
11246 solaris*)
11247 no_undefined_flag=' -z defs'
11248 if test "$GCC" = yes; then
11249 wlarc='${wl}'
11250 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11251 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11252 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11253 else
11254 case `$CC -V 2>&1` in
11255 *"Compilers 5.0"*)
11256 wlarc=''
11257 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11258 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11259 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11262 wlarc='${wl}'
11263 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11264 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11265 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11267 esac
11269 hardcode_libdir_flag_spec='-R$libdir'
11270 hardcode_shlibpath_var=no
11271 case $host_os in
11272 solaris2.[0-5] | solaris2.[0-5].*) ;;
11274 # The compiler driver will combine and reorder linker options,
11275 # but understands `-z linker_flag'. GCC discards it without `$wl',
11276 # but is careful enough not to reorder.
11277 # Supported since Solaris 2.6 (maybe 2.5.1?)
11278 if test "$GCC" = yes; then
11279 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11280 else
11281 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11284 esac
11285 link_all_deplibs=yes
11288 sunos4*)
11289 if test "x$host_vendor" = xsequent; then
11290 # Use $CC to link under sequent, because it throws in some extra .o
11291 # files that make .init and .fini sections work.
11292 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11293 else
11294 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11296 hardcode_libdir_flag_spec='-L$libdir'
11297 hardcode_direct=yes
11298 hardcode_minus_L=yes
11299 hardcode_shlibpath_var=no
11302 sysv4)
11303 case $host_vendor in
11304 sni)
11305 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11306 hardcode_direct=yes # is this really true???
11308 siemens)
11309 ## LD is ld it makes a PLAMLIB
11310 ## CC just makes a GrossModule.
11311 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11312 reload_cmds='$CC -r -o $output$reload_objs'
11313 hardcode_direct=no
11315 motorola)
11316 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11317 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11319 esac
11320 runpath_var='LD_RUN_PATH'
11321 hardcode_shlibpath_var=no
11324 sysv4.3*)
11325 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11326 hardcode_shlibpath_var=no
11327 export_dynamic_flag_spec='-Bexport'
11330 sysv4*MP*)
11331 if test -d /usr/nec; then
11332 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11333 hardcode_shlibpath_var=no
11334 runpath_var=LD_RUN_PATH
11335 hardcode_runpath_var=yes
11336 ld_shlibs=yes
11340 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11341 no_undefined_flag='${wl}-z,text'
11342 archive_cmds_need_lc=no
11343 hardcode_shlibpath_var=no
11344 runpath_var='LD_RUN_PATH'
11346 if test "$GCC" = yes; then
11347 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11348 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11349 else
11350 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11351 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11355 sysv5* | sco3.2v5* | sco5v6*)
11356 # Note: We can NOT use -z defs as we might desire, because we do not
11357 # link with -lc, and that would cause any symbols used from libc to
11358 # always be unresolved, which means just about no library would
11359 # ever link correctly. If we're not using GNU ld we use -z text
11360 # though, which does catch some bad symbols but isn't as heavy-handed
11361 # as -z defs.
11362 no_undefined_flag='${wl}-z,text'
11363 allow_undefined_flag='${wl}-z,nodefs'
11364 archive_cmds_need_lc=no
11365 hardcode_shlibpath_var=no
11366 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11367 hardcode_libdir_separator=':'
11368 link_all_deplibs=yes
11369 export_dynamic_flag_spec='${wl}-Bexport'
11370 runpath_var='LD_RUN_PATH'
11372 if test "$GCC" = yes; then
11373 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11374 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11375 else
11376 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11377 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11381 uts4*)
11382 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11383 hardcode_libdir_flag_spec='-L$libdir'
11384 hardcode_shlibpath_var=no
11388 ld_shlibs=no
11390 esac
11392 if test x$host_vendor = xsni; then
11393 case $host in
11394 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11395 export_dynamic_flag_spec='${wl}-Blargedynsym'
11397 esac
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11402 $as_echo "$ld_shlibs" >&6; }
11403 test "$ld_shlibs" = no && can_build_shared=no
11405 with_gnu_ld=$with_gnu_ld
11422 # Do we need to explicitly link libc?
11424 case "x$archive_cmds_need_lc" in
11425 x|xyes)
11426 # Assume -lc should be added
11427 archive_cmds_need_lc=yes
11429 if test "$enable_shared" = yes && test "$GCC" = yes; then
11430 case $archive_cmds in
11431 *'~'*)
11432 # FIXME: we may have to deal with multi-command sequences.
11434 '$CC '*)
11435 # Test whether the compiler implicitly links with -lc since on some
11436 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11437 # to ld, don't add -lc before -lgcc.
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11439 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11440 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 $RM conftest*
11444 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11447 (eval $ac_compile) 2>&5
11448 ac_status=$?
11449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11450 test $ac_status = 0; } 2>conftest.err; then
11451 soname=conftest
11452 lib=conftest
11453 libobjs=conftest.$ac_objext
11454 deplibs=
11455 wl=$lt_prog_compiler_wl
11456 pic_flag=$lt_prog_compiler_pic
11457 compiler_flags=-v
11458 linker_flags=-v
11459 verstring=
11460 output_objdir=.
11461 libname=conftest
11462 lt_save_allow_undefined_flag=$allow_undefined_flag
11463 allow_undefined_flag=
11464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11465 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11466 ac_status=$?
11467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11468 test $ac_status = 0; }
11469 then
11470 lt_cv_archive_cmds_need_lc=no
11471 else
11472 lt_cv_archive_cmds_need_lc=yes
11474 allow_undefined_flag=$lt_save_allow_undefined_flag
11475 else
11476 cat conftest.err 1>&5
11478 $RM conftest*
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11482 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11483 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11485 esac
11488 esac
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11647 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11649 if test "$GCC" = yes; then
11650 case $host_os in
11651 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11652 *) lt_awk_arg="/^libraries:/" ;;
11653 esac
11654 case $host_os in
11655 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11656 *) lt_sed_strip_eq="s,=/,/,g" ;;
11657 esac
11658 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11659 case $lt_search_path_spec in
11660 *\;*)
11661 # if the path contains ";" then we assume it to be the separator
11662 # otherwise default to the standard path separator (i.e. ":") - it is
11663 # assumed that no part of a normal pathname contains ";" but that should
11664 # okay in the real world where ";" in dirpaths is itself problematic.
11665 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11668 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11670 esac
11671 # Ok, now we have the path, separated by spaces, we can step through it
11672 # and add multilib dir if necessary.
11673 lt_tmp_lt_search_path_spec=
11674 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11675 for lt_sys_path in $lt_search_path_spec; do
11676 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11677 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11678 else
11679 test -d "$lt_sys_path" && \
11680 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11682 done
11683 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11684 BEGIN {RS=" "; FS="/|\n";} {
11685 lt_foo="";
11686 lt_count=0;
11687 for (lt_i = NF; lt_i > 0; lt_i--) {
11688 if ($lt_i != "" && $lt_i != ".") {
11689 if ($lt_i == "..") {
11690 lt_count++;
11691 } else {
11692 if (lt_count == 0) {
11693 lt_foo="/" $lt_i lt_foo;
11694 } else {
11695 lt_count--;
11700 if (lt_foo != "") { lt_freq[lt_foo]++; }
11701 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11703 # AWK program above erroneously prepends '/' to C:/dos/paths
11704 # for these hosts.
11705 case $host_os in
11706 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11707 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11708 esac
11709 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11710 else
11711 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11713 library_names_spec=
11714 libname_spec='lib$name'
11715 soname_spec=
11716 shrext_cmds=".so"
11717 postinstall_cmds=
11718 postuninstall_cmds=
11719 finish_cmds=
11720 finish_eval=
11721 shlibpath_var=
11722 shlibpath_overrides_runpath=unknown
11723 version_type=none
11724 dynamic_linker="$host_os ld.so"
11725 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11726 need_lib_prefix=unknown
11727 hardcode_into_libs=no
11729 # when you set need_version to no, make sure it does not cause -set_version
11730 # flags to be left without arguments
11731 need_version=unknown
11733 case $host_os in
11734 aix3*)
11735 version_type=linux
11736 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11737 shlibpath_var=LIBPATH
11739 # AIX 3 has no versioning support, so we append a major version to the name.
11740 soname_spec='${libname}${release}${shared_ext}$major'
11743 aix[4-9]*)
11744 version_type=linux
11745 need_lib_prefix=no
11746 need_version=no
11747 hardcode_into_libs=yes
11748 if test "$host_cpu" = ia64; then
11749 # AIX 5 supports IA64
11750 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11751 shlibpath_var=LD_LIBRARY_PATH
11752 else
11753 # With GCC up to 2.95.x, collect2 would create an import file
11754 # for dependence libraries. The import file would start with
11755 # the line `#! .'. This would cause the generated library to
11756 # depend on `.', always an invalid library. This was fixed in
11757 # development snapshots of GCC prior to 3.0.
11758 case $host_os in
11759 aix4 | aix4.[01] | aix4.[01].*)
11760 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11761 echo ' yes '
11762 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11764 else
11765 can_build_shared=no
11768 esac
11769 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11770 # soname into executable. Probably we can add versioning support to
11771 # collect2, so additional links can be useful in future.
11772 if test "$aix_use_runtimelinking" = yes; then
11773 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11774 # instead of lib<name>.a to let people know that these are not
11775 # typical AIX shared libraries.
11776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11777 else
11778 # We preserve .a as extension for shared libraries through AIX4.2
11779 # and later when we are not doing run time linking.
11780 library_names_spec='${libname}${release}.a $libname.a'
11781 soname_spec='${libname}${release}${shared_ext}$major'
11783 shlibpath_var=LIBPATH
11787 amigaos*)
11788 case $host_cpu in
11789 powerpc)
11790 # Since July 2007 AmigaOS4 officially supports .so libraries.
11791 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11794 m68k)
11795 library_names_spec='$libname.ixlibrary $libname.a'
11796 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11797 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'
11799 esac
11802 beos*)
11803 library_names_spec='${libname}${shared_ext}'
11804 dynamic_linker="$host_os ld.so"
11805 shlibpath_var=LIBRARY_PATH
11808 bsdi[45]*)
11809 version_type=linux
11810 need_version=no
11811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11812 soname_spec='${libname}${release}${shared_ext}$major'
11813 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11814 shlibpath_var=LD_LIBRARY_PATH
11815 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11816 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11817 # the default ld.so.conf also contains /usr/contrib/lib and
11818 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11819 # libtool to hard-code these into programs
11822 cygwin* | mingw* | pw32* | cegcc*)
11823 version_type=windows
11824 shrext_cmds=".dll"
11825 need_version=no
11826 need_lib_prefix=no
11828 case $GCC,$host_os in
11829 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11830 library_names_spec='$libname.dll.a'
11831 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11832 postinstall_cmds='base_file=`basename \${file}`~
11833 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11834 dldir=$destdir/`dirname \$dlpath`~
11835 test -d \$dldir || mkdir -p \$dldir~
11836 $install_prog $dir/$dlname \$dldir/$dlname~
11837 chmod a+x \$dldir/$dlname~
11838 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11839 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11841 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11842 dlpath=$dir/\$dldll~
11843 $RM \$dlpath'
11844 shlibpath_overrides_runpath=yes
11846 case $host_os in
11847 cygwin*)
11848 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11849 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11851 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11853 mingw* | cegcc*)
11854 # MinGW DLLs use traditional 'lib' prefix
11855 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11857 pw32*)
11858 # pw32 DLLs use 'pw' prefix rather than 'lib'
11859 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11861 esac
11865 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11867 esac
11868 dynamic_linker='Win32 ld.exe'
11869 # FIXME: first we should search . and the directory the executable is in
11870 shlibpath_var=PATH
11873 darwin* | rhapsody*)
11874 dynamic_linker="$host_os dyld"
11875 version_type=darwin
11876 need_lib_prefix=no
11877 need_version=no
11878 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11879 soname_spec='${libname}${release}${major}$shared_ext'
11880 shlibpath_overrides_runpath=yes
11881 shlibpath_var=DYLD_LIBRARY_PATH
11882 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11884 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11885 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11888 dgux*)
11889 version_type=linux
11890 need_lib_prefix=no
11891 need_version=no
11892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11893 soname_spec='${libname}${release}${shared_ext}$major'
11894 shlibpath_var=LD_LIBRARY_PATH
11897 freebsd* | dragonfly*)
11898 # DragonFly does not have aout. When/if they implement a new
11899 # versioning mechanism, adjust this.
11900 if test -x /usr/bin/objformat; then
11901 objformat=`/usr/bin/objformat`
11902 else
11903 case $host_os in
11904 freebsd[23].*) objformat=aout ;;
11905 *) objformat=elf ;;
11906 esac
11908 version_type=freebsd-$objformat
11909 case $version_type in
11910 freebsd-elf*)
11911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11912 need_version=no
11913 need_lib_prefix=no
11915 freebsd-*)
11916 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11917 need_version=yes
11919 esac
11920 shlibpath_var=LD_LIBRARY_PATH
11921 case $host_os in
11922 freebsd2.*)
11923 shlibpath_overrides_runpath=yes
11925 freebsd3.[01]* | freebsdelf3.[01]*)
11926 shlibpath_overrides_runpath=yes
11927 hardcode_into_libs=yes
11929 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11930 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11931 shlibpath_overrides_runpath=no
11932 hardcode_into_libs=yes
11934 *) # from 4.6 on, and DragonFly
11935 shlibpath_overrides_runpath=yes
11936 hardcode_into_libs=yes
11938 esac
11941 haiku*)
11942 version_type=linux
11943 need_lib_prefix=no
11944 need_version=no
11945 dynamic_linker="$host_os runtime_loader"
11946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11947 soname_spec='${libname}${release}${shared_ext}$major'
11948 shlibpath_var=LIBRARY_PATH
11949 shlibpath_overrides_runpath=yes
11950 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11951 hardcode_into_libs=yes
11954 hpux9* | hpux10* | hpux11*)
11955 # Give a soname corresponding to the major version so that dld.sl refuses to
11956 # link against other versions.
11957 version_type=sunos
11958 need_lib_prefix=no
11959 need_version=no
11960 case $host_cpu in
11961 ia64*)
11962 shrext_cmds='.so'
11963 hardcode_into_libs=yes
11964 dynamic_linker="$host_os dld.so"
11965 shlibpath_var=LD_LIBRARY_PATH
11966 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11968 soname_spec='${libname}${release}${shared_ext}$major'
11969 if test "X$HPUX_IA64_MODE" = X32; then
11970 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11971 else
11972 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11974 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11976 hppa*64*)
11977 shrext_cmds='.sl'
11978 hardcode_into_libs=yes
11979 dynamic_linker="$host_os dld.sl"
11980 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11981 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11983 soname_spec='${libname}${release}${shared_ext}$major'
11984 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11985 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11988 shrext_cmds='.sl'
11989 dynamic_linker="$host_os dld.sl"
11990 shlibpath_var=SHLIB_PATH
11991 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11993 soname_spec='${libname}${release}${shared_ext}$major'
11995 esac
11996 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11997 postinstall_cmds='chmod 555 $lib'
11998 # or fails outright, so override atomically:
11999 install_override_mode=555
12002 interix[3-9]*)
12003 version_type=linux
12004 need_lib_prefix=no
12005 need_version=no
12006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12007 soname_spec='${libname}${release}${shared_ext}$major'
12008 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12009 shlibpath_var=LD_LIBRARY_PATH
12010 shlibpath_overrides_runpath=no
12011 hardcode_into_libs=yes
12014 irix5* | irix6* | nonstopux*)
12015 case $host_os in
12016 nonstopux*) version_type=nonstopux ;;
12018 if test "$lt_cv_prog_gnu_ld" = yes; then
12019 version_type=linux
12020 else
12021 version_type=irix
12022 fi ;;
12023 esac
12024 need_lib_prefix=no
12025 need_version=no
12026 soname_spec='${libname}${release}${shared_ext}$major'
12027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12028 case $host_os in
12029 irix5* | nonstopux*)
12030 libsuff= shlibsuff=
12033 case $LD in # libtool.m4 will add one of these switches to LD
12034 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12035 libsuff= shlibsuff= libmagic=32-bit;;
12036 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12037 libsuff=32 shlibsuff=N32 libmagic=N32;;
12038 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12039 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12040 *) libsuff= shlibsuff= libmagic=never-match;;
12041 esac
12043 esac
12044 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12045 shlibpath_overrides_runpath=no
12046 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12047 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12048 hardcode_into_libs=yes
12051 # No shared lib support for Linux oldld, aout, or coff.
12052 linux*oldld* | linux*aout* | linux*coff*)
12053 dynamic_linker=no
12056 # This must be Linux ELF.
12058 # uclinux* changes (here and below) have been submitted to the libtool
12059 # project, but have not yet been accepted: they are GCC-local changes
12060 # for the time being. (See
12061 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12062 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12063 version_type=linux
12064 need_lib_prefix=no
12065 need_version=no
12066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12067 soname_spec='${libname}${release}${shared_ext}$major'
12068 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12069 shlibpath_var=LD_LIBRARY_PATH
12070 shlibpath_overrides_runpath=no
12072 # Some binutils ld are patched to set DT_RUNPATH
12073 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 lt_cv_shlibpath_overrides_runpath=no
12077 save_LDFLAGS=$LDFLAGS
12078 save_libdir=$libdir
12079 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12080 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12081 if test x$gcc_no_link = xyes; then
12082 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12088 main ()
12092 return 0;
12094 _ACEOF
12095 if ac_fn_c_try_link "$LINENO"; then :
12096 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12097 lt_cv_shlibpath_overrides_runpath=yes
12100 rm -f core conftest.err conftest.$ac_objext \
12101 conftest$ac_exeext conftest.$ac_ext
12102 LDFLAGS=$save_LDFLAGS
12103 libdir=$save_libdir
12107 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12109 # This implies no fast_install, which is unacceptable.
12110 # Some rework will be needed to allow for fast_install
12111 # before this can be enabled.
12112 hardcode_into_libs=yes
12114 # Append ld.so.conf contents to the search path
12115 if test -f /etc/ld.so.conf; then
12116 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' ' '`
12117 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12120 # We used to test for /lib/ld.so.1 and disable shared libraries on
12121 # powerpc, because MkLinux only supported shared libraries with the
12122 # GNU dynamic linker. Since this was broken with cross compilers,
12123 # most powerpc-linux boxes support dynamic linking these days and
12124 # people can always --disable-shared, the test was removed, and we
12125 # assume the GNU/Linux dynamic linker is in use.
12126 dynamic_linker='GNU/Linux ld.so'
12129 netbsd*)
12130 version_type=sunos
12131 need_lib_prefix=no
12132 need_version=no
12133 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12135 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12136 dynamic_linker='NetBSD (a.out) ld.so'
12137 else
12138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12139 soname_spec='${libname}${release}${shared_ext}$major'
12140 dynamic_linker='NetBSD ld.elf_so'
12142 shlibpath_var=LD_LIBRARY_PATH
12143 shlibpath_overrides_runpath=yes
12144 hardcode_into_libs=yes
12147 newsos6)
12148 version_type=linux
12149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12150 shlibpath_var=LD_LIBRARY_PATH
12151 shlibpath_overrides_runpath=yes
12154 *nto* | *qnx*)
12155 version_type=qnx
12156 need_lib_prefix=no
12157 need_version=no
12158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12159 soname_spec='${libname}${release}${shared_ext}$major'
12160 shlibpath_var=LD_LIBRARY_PATH
12161 shlibpath_overrides_runpath=no
12162 hardcode_into_libs=yes
12163 dynamic_linker='ldqnx.so'
12166 openbsd*)
12167 version_type=sunos
12168 sys_lib_dlsearch_path_spec="/usr/lib"
12169 need_lib_prefix=no
12170 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12171 case $host_os in
12172 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12173 *) need_version=no ;;
12174 esac
12175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12176 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12177 shlibpath_var=LD_LIBRARY_PATH
12178 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12179 case $host_os in
12180 openbsd2.[89] | openbsd2.[89].*)
12181 shlibpath_overrides_runpath=no
12184 shlibpath_overrides_runpath=yes
12186 esac
12187 else
12188 shlibpath_overrides_runpath=yes
12192 os2*)
12193 libname_spec='$name'
12194 shrext_cmds=".dll"
12195 need_lib_prefix=no
12196 library_names_spec='$libname${shared_ext} $libname.a'
12197 dynamic_linker='OS/2 ld.exe'
12198 shlibpath_var=LIBPATH
12201 osf3* | osf4* | osf5*)
12202 version_type=osf
12203 need_lib_prefix=no
12204 need_version=no
12205 soname_spec='${libname}${release}${shared_ext}$major'
12206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12207 shlibpath_var=LD_LIBRARY_PATH
12208 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12209 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12212 rdos*)
12213 dynamic_linker=no
12216 solaris*)
12217 version_type=linux
12218 need_lib_prefix=no
12219 need_version=no
12220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12221 soname_spec='${libname}${release}${shared_ext}$major'
12222 shlibpath_var=LD_LIBRARY_PATH
12223 shlibpath_overrides_runpath=yes
12224 hardcode_into_libs=yes
12225 # ldd complains unless libraries are executable
12226 postinstall_cmds='chmod +x $lib'
12229 sunos4*)
12230 version_type=sunos
12231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12232 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12233 shlibpath_var=LD_LIBRARY_PATH
12234 shlibpath_overrides_runpath=yes
12235 if test "$with_gnu_ld" = yes; then
12236 need_lib_prefix=no
12238 need_version=yes
12241 sysv4 | sysv4.3*)
12242 version_type=linux
12243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12244 soname_spec='${libname}${release}${shared_ext}$major'
12245 shlibpath_var=LD_LIBRARY_PATH
12246 case $host_vendor in
12247 sni)
12248 shlibpath_overrides_runpath=no
12249 need_lib_prefix=no
12250 runpath_var=LD_RUN_PATH
12252 siemens)
12253 need_lib_prefix=no
12255 motorola)
12256 need_lib_prefix=no
12257 need_version=no
12258 shlibpath_overrides_runpath=no
12259 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12261 esac
12264 sysv4*MP*)
12265 if test -d /usr/nec ;then
12266 version_type=linux
12267 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12268 soname_spec='$libname${shared_ext}.$major'
12269 shlibpath_var=LD_LIBRARY_PATH
12273 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12274 version_type=freebsd-elf
12275 need_lib_prefix=no
12276 need_version=no
12277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12278 soname_spec='${libname}${release}${shared_ext}$major'
12279 shlibpath_var=LD_LIBRARY_PATH
12280 shlibpath_overrides_runpath=yes
12281 hardcode_into_libs=yes
12282 if test "$with_gnu_ld" = yes; then
12283 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12284 else
12285 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12286 case $host_os in
12287 sco3.2v5*)
12288 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12290 esac
12292 sys_lib_dlsearch_path_spec='/usr/lib'
12295 tpf*)
12296 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12297 version_type=linux
12298 need_lib_prefix=no
12299 need_version=no
12300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12301 shlibpath_var=LD_LIBRARY_PATH
12302 shlibpath_overrides_runpath=no
12303 hardcode_into_libs=yes
12306 uts4*)
12307 version_type=linux
12308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12309 soname_spec='${libname}${release}${shared_ext}$major'
12310 shlibpath_var=LD_LIBRARY_PATH
12314 dynamic_linker=no
12316 esac
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12318 $as_echo "$dynamic_linker" >&6; }
12319 test "$dynamic_linker" = no && can_build_shared=no
12321 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12322 if test "$GCC" = yes; then
12323 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12326 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12327 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12329 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12330 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12425 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12426 hardcode_action=
12427 if test -n "$hardcode_libdir_flag_spec" ||
12428 test -n "$runpath_var" ||
12429 test "X$hardcode_automatic" = "Xyes" ; then
12431 # We can hardcode non-existent directories.
12432 if test "$hardcode_direct" != no &&
12433 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12434 # have to relink, otherwise we might link with an installed library
12435 # when we should be linking with a yet-to-be-installed one
12436 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12437 test "$hardcode_minus_L" != no; then
12438 # Linking always hardcodes the temporary library directory.
12439 hardcode_action=relink
12440 else
12441 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12442 hardcode_action=immediate
12444 else
12445 # We cannot hardcode anything, or else we can only hardcode existing
12446 # directories.
12447 hardcode_action=unsupported
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12450 $as_echo "$hardcode_action" >&6; }
12452 if test "$hardcode_action" = relink ||
12453 test "$inherit_rpath" = yes; then
12454 # Fast installation is not supported
12455 enable_fast_install=no
12456 elif test "$shlibpath_overrides_runpath" = yes ||
12457 test "$enable_shared" = no; then
12458 # Fast installation is not necessary
12459 enable_fast_install=needless
12467 if test "x$enable_dlopen" != xyes; then
12468 enable_dlopen=unknown
12469 enable_dlopen_self=unknown
12470 enable_dlopen_self_static=unknown
12471 else
12472 lt_cv_dlopen=no
12473 lt_cv_dlopen_libs=
12475 case $host_os in
12476 beos*)
12477 lt_cv_dlopen="load_add_on"
12478 lt_cv_dlopen_libs=
12479 lt_cv_dlopen_self=yes
12482 mingw* | pw32* | cegcc*)
12483 lt_cv_dlopen="LoadLibrary"
12484 lt_cv_dlopen_libs=
12487 cygwin*)
12488 lt_cv_dlopen="dlopen"
12489 lt_cv_dlopen_libs=
12492 darwin*)
12493 # if libdl is installed we need to link against it
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12495 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12496 if ${ac_cv_lib_dl_dlopen+:} false; then :
12497 $as_echo_n "(cached) " >&6
12498 else
12499 ac_check_lib_save_LIBS=$LIBS
12500 LIBS="-ldl $LIBS"
12501 if test x$gcc_no_link = xyes; then
12502 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12507 /* Override any GCC internal prototype to avoid an error.
12508 Use char because int might match the return type of a GCC
12509 builtin and then its argument prototype would still apply. */
12510 #ifdef __cplusplus
12511 extern "C"
12512 #endif
12513 char dlopen ();
12515 main ()
12517 return dlopen ();
12519 return 0;
12521 _ACEOF
12522 if ac_fn_c_try_link "$LINENO"; then :
12523 ac_cv_lib_dl_dlopen=yes
12524 else
12525 ac_cv_lib_dl_dlopen=no
12527 rm -f core conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529 LIBS=$ac_check_lib_save_LIBS
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12532 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12533 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12534 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12535 else
12537 lt_cv_dlopen="dyld"
12538 lt_cv_dlopen_libs=
12539 lt_cv_dlopen_self=yes
12546 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12547 if test "x$ac_cv_func_shl_load" = xyes; then :
12548 lt_cv_dlopen="shl_load"
12549 else
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12551 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12552 if ${ac_cv_lib_dld_shl_load+:} false; then :
12553 $as_echo_n "(cached) " >&6
12554 else
12555 ac_check_lib_save_LIBS=$LIBS
12556 LIBS="-ldld $LIBS"
12557 if test x$gcc_no_link = xyes; then
12558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12563 /* Override any GCC internal prototype to avoid an error.
12564 Use char because int might match the return type of a GCC
12565 builtin and then its argument prototype would still apply. */
12566 #ifdef __cplusplus
12567 extern "C"
12568 #endif
12569 char shl_load ();
12571 main ()
12573 return shl_load ();
12575 return 0;
12577 _ACEOF
12578 if ac_fn_c_try_link "$LINENO"; then :
12579 ac_cv_lib_dld_shl_load=yes
12580 else
12581 ac_cv_lib_dld_shl_load=no
12583 rm -f core conftest.err conftest.$ac_objext \
12584 conftest$ac_exeext conftest.$ac_ext
12585 LIBS=$ac_check_lib_save_LIBS
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12588 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12589 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12590 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12591 else
12592 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12593 if test "x$ac_cv_func_dlopen" = xyes; then :
12594 lt_cv_dlopen="dlopen"
12595 else
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12597 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12598 if ${ac_cv_lib_dl_dlopen+:} false; then :
12599 $as_echo_n "(cached) " >&6
12600 else
12601 ac_check_lib_save_LIBS=$LIBS
12602 LIBS="-ldl $LIBS"
12603 if test x$gcc_no_link = xyes; then
12604 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12609 /* Override any GCC internal prototype to avoid an error.
12610 Use char because int might match the return type of a GCC
12611 builtin and then its argument prototype would still apply. */
12612 #ifdef __cplusplus
12613 extern "C"
12614 #endif
12615 char dlopen ();
12617 main ()
12619 return dlopen ();
12621 return 0;
12623 _ACEOF
12624 if ac_fn_c_try_link "$LINENO"; then :
12625 ac_cv_lib_dl_dlopen=yes
12626 else
12627 ac_cv_lib_dl_dlopen=no
12629 rm -f core conftest.err conftest.$ac_objext \
12630 conftest$ac_exeext conftest.$ac_ext
12631 LIBS=$ac_check_lib_save_LIBS
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12635 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12636 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12637 else
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12639 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12640 if ${ac_cv_lib_svld_dlopen+:} false; then :
12641 $as_echo_n "(cached) " >&6
12642 else
12643 ac_check_lib_save_LIBS=$LIBS
12644 LIBS="-lsvld $LIBS"
12645 if test x$gcc_no_link = xyes; then
12646 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12654 #ifdef __cplusplus
12655 extern "C"
12656 #endif
12657 char dlopen ();
12659 main ()
12661 return dlopen ();
12663 return 0;
12665 _ACEOF
12666 if ac_fn_c_try_link "$LINENO"; then :
12667 ac_cv_lib_svld_dlopen=yes
12668 else
12669 ac_cv_lib_svld_dlopen=no
12671 rm -f core conftest.err conftest.$ac_objext \
12672 conftest$ac_exeext conftest.$ac_ext
12673 LIBS=$ac_check_lib_save_LIBS
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12676 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12677 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12678 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12679 else
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12681 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12682 if ${ac_cv_lib_dld_dld_link+:} false; then :
12683 $as_echo_n "(cached) " >&6
12684 else
12685 ac_check_lib_save_LIBS=$LIBS
12686 LIBS="-ldld $LIBS"
12687 if test x$gcc_no_link = xyes; then
12688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12696 #ifdef __cplusplus
12697 extern "C"
12698 #endif
12699 char dld_link ();
12701 main ()
12703 return dld_link ();
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_link "$LINENO"; then :
12709 ac_cv_lib_dld_dld_link=yes
12710 else
12711 ac_cv_lib_dld_dld_link=no
12713 rm -f core conftest.err conftest.$ac_objext \
12714 conftest$ac_exeext conftest.$ac_ext
12715 LIBS=$ac_check_lib_save_LIBS
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12718 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12719 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12720 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12739 esac
12741 if test "x$lt_cv_dlopen" != xno; then
12742 enable_dlopen=yes
12743 else
12744 enable_dlopen=no
12747 case $lt_cv_dlopen in
12748 dlopen)
12749 save_CPPFLAGS="$CPPFLAGS"
12750 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12752 save_LDFLAGS="$LDFLAGS"
12753 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12755 save_LIBS="$LIBS"
12756 LIBS="$lt_cv_dlopen_libs $LIBS"
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12759 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12760 if ${lt_cv_dlopen_self+:} false; then :
12761 $as_echo_n "(cached) " >&6
12762 else
12763 if test "$cross_compiling" = yes; then :
12764 lt_cv_dlopen_self=cross
12765 else
12766 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12767 lt_status=$lt_dlunknown
12768 cat > conftest.$ac_ext <<_LT_EOF
12769 #line 12769 "configure"
12770 #include "confdefs.h"
12772 #if HAVE_DLFCN_H
12773 #include <dlfcn.h>
12774 #endif
12776 #include <stdio.h>
12778 #ifdef RTLD_GLOBAL
12779 # define LT_DLGLOBAL RTLD_GLOBAL
12780 #else
12781 # ifdef DL_GLOBAL
12782 # define LT_DLGLOBAL DL_GLOBAL
12783 # else
12784 # define LT_DLGLOBAL 0
12785 # endif
12786 #endif
12788 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12789 find out it does not work in some platform. */
12790 #ifndef LT_DLLAZY_OR_NOW
12791 # ifdef RTLD_LAZY
12792 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12793 # else
12794 # ifdef DL_LAZY
12795 # define LT_DLLAZY_OR_NOW DL_LAZY
12796 # else
12797 # ifdef RTLD_NOW
12798 # define LT_DLLAZY_OR_NOW RTLD_NOW
12799 # else
12800 # ifdef DL_NOW
12801 # define LT_DLLAZY_OR_NOW DL_NOW
12802 # else
12803 # define LT_DLLAZY_OR_NOW 0
12804 # endif
12805 # endif
12806 # endif
12807 # endif
12808 #endif
12810 /* When -fvisbility=hidden is used, assume the code has been annotated
12811 correspondingly for the symbols needed. */
12812 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12813 void fnord () __attribute__((visibility("default")));
12814 #endif
12816 void fnord () { int i=42; }
12817 int main ()
12819 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12820 int status = $lt_dlunknown;
12822 if (self)
12824 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12825 else
12827 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12828 else puts (dlerror ());
12830 /* dlclose (self); */
12832 else
12833 puts (dlerror ());
12835 return status;
12837 _LT_EOF
12838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12839 (eval $ac_link) 2>&5
12840 ac_status=$?
12841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12842 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12843 (./conftest; exit; ) >&5 2>/dev/null
12844 lt_status=$?
12845 case x$lt_status in
12846 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12847 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12848 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12849 esac
12850 else :
12851 # compilation failed
12852 lt_cv_dlopen_self=no
12855 rm -fr conftest*
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12860 $as_echo "$lt_cv_dlopen_self" >&6; }
12862 if test "x$lt_cv_dlopen_self" = xyes; then
12863 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12865 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12866 if ${lt_cv_dlopen_self_static+:} false; then :
12867 $as_echo_n "(cached) " >&6
12868 else
12869 if test "$cross_compiling" = yes; then :
12870 lt_cv_dlopen_self_static=cross
12871 else
12872 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12873 lt_status=$lt_dlunknown
12874 cat > conftest.$ac_ext <<_LT_EOF
12875 #line 12875 "configure"
12876 #include "confdefs.h"
12878 #if HAVE_DLFCN_H
12879 #include <dlfcn.h>
12880 #endif
12882 #include <stdio.h>
12884 #ifdef RTLD_GLOBAL
12885 # define LT_DLGLOBAL RTLD_GLOBAL
12886 #else
12887 # ifdef DL_GLOBAL
12888 # define LT_DLGLOBAL DL_GLOBAL
12889 # else
12890 # define LT_DLGLOBAL 0
12891 # endif
12892 #endif
12894 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12895 find out it does not work in some platform. */
12896 #ifndef LT_DLLAZY_OR_NOW
12897 # ifdef RTLD_LAZY
12898 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12899 # else
12900 # ifdef DL_LAZY
12901 # define LT_DLLAZY_OR_NOW DL_LAZY
12902 # else
12903 # ifdef RTLD_NOW
12904 # define LT_DLLAZY_OR_NOW RTLD_NOW
12905 # else
12906 # ifdef DL_NOW
12907 # define LT_DLLAZY_OR_NOW DL_NOW
12908 # else
12909 # define LT_DLLAZY_OR_NOW 0
12910 # endif
12911 # endif
12912 # endif
12913 # endif
12914 #endif
12916 /* When -fvisbility=hidden is used, assume the code has been annotated
12917 correspondingly for the symbols needed. */
12918 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12919 void fnord () __attribute__((visibility("default")));
12920 #endif
12922 void fnord () { int i=42; }
12923 int main ()
12925 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12926 int status = $lt_dlunknown;
12928 if (self)
12930 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12931 else
12933 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12934 else puts (dlerror ());
12936 /* dlclose (self); */
12938 else
12939 puts (dlerror ());
12941 return status;
12943 _LT_EOF
12944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12945 (eval $ac_link) 2>&5
12946 ac_status=$?
12947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12948 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12949 (./conftest; exit; ) >&5 2>/dev/null
12950 lt_status=$?
12951 case x$lt_status in
12952 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12953 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12954 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12955 esac
12956 else :
12957 # compilation failed
12958 lt_cv_dlopen_self_static=no
12961 rm -fr conftest*
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12966 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12969 CPPFLAGS="$save_CPPFLAGS"
12970 LDFLAGS="$save_LDFLAGS"
12971 LIBS="$save_LIBS"
12973 esac
12975 case $lt_cv_dlopen_self in
12976 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12977 *) enable_dlopen_self=unknown ;;
12978 esac
12980 case $lt_cv_dlopen_self_static in
12981 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12982 *) enable_dlopen_self_static=unknown ;;
12983 esac
13002 striplib=
13003 old_striplib=
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13005 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13006 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13007 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13008 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13010 $as_echo "yes" >&6; }
13011 else
13012 # FIXME - insert some real tests, host_os isn't really good enough
13013 case $host_os in
13014 darwin*)
13015 if test -n "$STRIP" ; then
13016 striplib="$STRIP -x"
13017 old_striplib="$STRIP -S"
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13019 $as_echo "yes" >&6; }
13020 else
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13022 $as_echo "no" >&6; }
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13027 $as_echo "no" >&6; }
13029 esac
13043 # Report which library types will actually be built
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13045 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13047 $as_echo "$can_build_shared" >&6; }
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13050 $as_echo_n "checking whether to build shared libraries... " >&6; }
13051 test "$can_build_shared" = "no" && enable_shared=no
13053 # On AIX, shared libraries and static libraries use the same namespace, and
13054 # are all built from PIC.
13055 case $host_os in
13056 aix3*)
13057 test "$enable_shared" = yes && enable_static=no
13058 if test -n "$RANLIB"; then
13059 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13060 postinstall_cmds='$RANLIB $lib'
13064 aix[4-9]*)
13065 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13066 test "$enable_shared" = yes && enable_static=no
13069 esac
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13071 $as_echo "$enable_shared" >&6; }
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13074 $as_echo_n "checking whether to build static libraries... " >&6; }
13075 # Make sure either enable_shared or enable_static is yes.
13076 test "$enable_shared" = yes || enable_static=yes
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13078 $as_echo "$enable_static" >&6; }
13084 ac_ext=c
13085 ac_cpp='$CPP $CPPFLAGS'
13086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13090 CC="$lt_save_CC"
13104 ac_config_commands="$ac_config_commands libtool"
13109 # Only expand once:
13112 LIBM=
13113 case $host in
13114 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13115 # These system don't have libm, or don't need it
13117 *-ncr-sysv4.3*)
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13119 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13120 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13121 $as_echo_n "(cached) " >&6
13122 else
13123 ac_check_lib_save_LIBS=$LIBS
13124 LIBS="-lmw $LIBS"
13125 if test x$gcc_no_link = xyes; then
13126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13134 #ifdef __cplusplus
13135 extern "C"
13136 #endif
13137 char _mwvalidcheckl ();
13139 main ()
13141 return _mwvalidcheckl ();
13143 return 0;
13145 _ACEOF
13146 if ac_fn_c_try_link "$LINENO"; then :
13147 ac_cv_lib_mw__mwvalidcheckl=yes
13148 else
13149 ac_cv_lib_mw__mwvalidcheckl=no
13151 rm -f core conftest.err conftest.$ac_objext \
13152 conftest$ac_exeext conftest.$ac_ext
13153 LIBS=$ac_check_lib_save_LIBS
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13156 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13157 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13158 LIBM="-lmw"
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13162 $as_echo_n "checking for cos in -lm... " >&6; }
13163 if ${ac_cv_lib_m_cos+:} false; then :
13164 $as_echo_n "(cached) " >&6
13165 else
13166 ac_check_lib_save_LIBS=$LIBS
13167 LIBS="-lm $LIBS"
13168 if test x$gcc_no_link = xyes; then
13169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13177 #ifdef __cplusplus
13178 extern "C"
13179 #endif
13180 char cos ();
13182 main ()
13184 return cos ();
13186 return 0;
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"; then :
13190 ac_cv_lib_m_cos=yes
13191 else
13192 ac_cv_lib_m_cos=no
13194 rm -f core conftest.err conftest.$ac_objext \
13195 conftest$ac_exeext conftest.$ac_ext
13196 LIBS=$ac_check_lib_save_LIBS
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13199 $as_echo "$ac_cv_lib_m_cos" >&6; }
13200 if test "x$ac_cv_lib_m_cos" = xyes; then :
13201 LIBM="$LIBM -lm"
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13207 $as_echo_n "checking for cos in -lm... " >&6; }
13208 if ${ac_cv_lib_m_cos+:} false; then :
13209 $as_echo_n "(cached) " >&6
13210 else
13211 ac_check_lib_save_LIBS=$LIBS
13212 LIBS="-lm $LIBS"
13213 if test x$gcc_no_link = xyes; then
13214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13217 /* end confdefs.h. */
13219 /* Override any GCC internal prototype to avoid an error.
13220 Use char because int might match the return type of a GCC
13221 builtin and then its argument prototype would still apply. */
13222 #ifdef __cplusplus
13223 extern "C"
13224 #endif
13225 char cos ();
13227 main ()
13229 return cos ();
13231 return 0;
13233 _ACEOF
13234 if ac_fn_c_try_link "$LINENO"; then :
13235 ac_cv_lib_m_cos=yes
13236 else
13237 ac_cv_lib_m_cos=no
13239 rm -f core conftest.err conftest.$ac_objext \
13240 conftest$ac_exeext conftest.$ac_ext
13241 LIBS=$ac_check_lib_save_LIBS
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13244 $as_echo "$ac_cv_lib_m_cos" >&6; }
13245 if test "x$ac_cv_lib_m_cos" = xyes; then :
13246 LIBM="-lm"
13250 esac
13256 case $host in
13257 *-cygwin* | *-mingw*)
13258 # 'host' will be top-level target in the case of a target lib,
13259 # we must compare to with_cross_host to decide if this is a native
13260 # or cross-compiler and select where to install dlls appropriately.
13261 if test -n "$with_cross_host" &&
13262 test x"$with_cross_host" != x"no"; then
13263 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13264 else
13265 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13269 lt_host_flags=
13271 esac
13277 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13279 # We need gfortran to compile parts of the library
13280 #AC_PROG_FC(gfortran)
13281 FC="$GFORTRAN"
13282 ac_ext=${ac_fc_srcext-f}
13283 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13284 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13285 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13286 if test -n "$ac_tool_prefix"; then
13287 for ac_prog in gfortran
13289 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13290 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13292 $as_echo_n "checking for $ac_word... " >&6; }
13293 if ${ac_cv_prog_FC+:} false; then :
13294 $as_echo_n "(cached) " >&6
13295 else
13296 if test -n "$FC"; then
13297 ac_cv_prog_FC="$FC" # Let the user override the test.
13298 else
13299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13300 for as_dir in $PATH
13302 IFS=$as_save_IFS
13303 test -z "$as_dir" && as_dir=.
13304 for ac_exec_ext in '' $ac_executable_extensions; do
13305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13306 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13308 break 2
13310 done
13311 done
13312 IFS=$as_save_IFS
13316 FC=$ac_cv_prog_FC
13317 if test -n "$FC"; then
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13319 $as_echo "$FC" >&6; }
13320 else
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13322 $as_echo "no" >&6; }
13326 test -n "$FC" && break
13327 done
13329 if test -z "$FC"; then
13330 ac_ct_FC=$FC
13331 for ac_prog in gfortran
13333 # Extract the first word of "$ac_prog", so it can be a program name with args.
13334 set dummy $ac_prog; ac_word=$2
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13336 $as_echo_n "checking for $ac_word... " >&6; }
13337 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13338 $as_echo_n "(cached) " >&6
13339 else
13340 if test -n "$ac_ct_FC"; then
13341 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13342 else
13343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13344 for as_dir in $PATH
13346 IFS=$as_save_IFS
13347 test -z "$as_dir" && as_dir=.
13348 for ac_exec_ext in '' $ac_executable_extensions; do
13349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13350 ac_cv_prog_ac_ct_FC="$ac_prog"
13351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13352 break 2
13354 done
13355 done
13356 IFS=$as_save_IFS
13360 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13361 if test -n "$ac_ct_FC"; then
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13363 $as_echo "$ac_ct_FC" >&6; }
13364 else
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13366 $as_echo "no" >&6; }
13370 test -n "$ac_ct_FC" && break
13371 done
13373 if test "x$ac_ct_FC" = x; then
13374 FC=""
13375 else
13376 case $cross_compiling:$ac_tool_warned in
13377 yes:)
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13380 ac_tool_warned=yes ;;
13381 esac
13382 FC=$ac_ct_FC
13387 # Provide some information about the compiler.
13388 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13389 set X $ac_compile
13390 ac_compiler=$2
13391 for ac_option in --version -v -V -qversion; do
13392 { { ac_try="$ac_compiler $ac_option >&5"
13393 case "(($ac_try" in
13394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13395 *) ac_try_echo=$ac_try;;
13396 esac
13397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13398 $as_echo "$ac_try_echo"; } >&5
13399 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13400 ac_status=$?
13401 if test -s conftest.err; then
13402 sed '10a\
13403 ... rest of stderr output deleted ...
13404 10q' conftest.err >conftest.er1
13405 cat conftest.er1 >&5
13407 rm -f conftest.er1 conftest.err
13408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13409 test $ac_status = 0; }
13410 done
13411 rm -f a.out
13413 # If we don't use `.F' as extension, the preprocessor is not run on the
13414 # input file. (Note that this only needs to work for GNU compilers.)
13415 ac_save_ext=$ac_ext
13416 ac_ext=F
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13418 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13419 if ${ac_cv_fc_compiler_gnu+:} false; then :
13420 $as_echo_n "(cached) " >&6
13421 else
13422 cat > conftest.$ac_ext <<_ACEOF
13423 program main
13424 #ifndef __GNUC__
13425 choke me
13426 #endif
13429 _ACEOF
13430 if ac_fn_fc_try_compile "$LINENO"; then :
13431 ac_compiler_gnu=yes
13432 else
13433 ac_compiler_gnu=no
13435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13436 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13440 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13441 ac_ext=$ac_save_ext
13442 ac_test_FCFLAGS=${FCFLAGS+set}
13443 ac_save_FCFLAGS=$FCFLAGS
13444 FCFLAGS=
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13446 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13447 if ${ac_cv_prog_fc_g+:} false; then :
13448 $as_echo_n "(cached) " >&6
13449 else
13450 FCFLAGS=-g
13451 cat > conftest.$ac_ext <<_ACEOF
13452 program main
13455 _ACEOF
13456 if ac_fn_fc_try_compile "$LINENO"; then :
13457 ac_cv_prog_fc_g=yes
13458 else
13459 ac_cv_prog_fc_g=no
13461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13465 $as_echo "$ac_cv_prog_fc_g" >&6; }
13466 if test "$ac_test_FCFLAGS" = set; then
13467 FCFLAGS=$ac_save_FCFLAGS
13468 elif test $ac_cv_prog_fc_g = yes; then
13469 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13470 FCFLAGS="-g -O2"
13471 else
13472 FCFLAGS="-g"
13474 else
13475 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13476 FCFLAGS="-O2"
13477 else
13478 FCFLAGS=
13482 if test $ac_compiler_gnu = yes; then
13483 GFC=yes
13484 else
13485 GFC=
13487 ac_ext=c
13488 ac_cpp='$CPP $CPPFLAGS'
13489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13493 ac_ext=${ac_fc_srcext-f}
13494 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13495 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13496 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13499 if test -z "$FC" || test "X$FC" = "Xno"; then
13500 _lt_disable_FC=yes
13503 archive_cmds_need_lc_FC=no
13504 allow_undefined_flag_FC=
13505 always_export_symbols_FC=no
13506 archive_expsym_cmds_FC=
13507 export_dynamic_flag_spec_FC=
13508 hardcode_direct_FC=no
13509 hardcode_direct_absolute_FC=no
13510 hardcode_libdir_flag_spec_FC=
13511 hardcode_libdir_flag_spec_ld_FC=
13512 hardcode_libdir_separator_FC=
13513 hardcode_minus_L_FC=no
13514 hardcode_automatic_FC=no
13515 inherit_rpath_FC=no
13516 module_cmds_FC=
13517 module_expsym_cmds_FC=
13518 link_all_deplibs_FC=unknown
13519 old_archive_cmds_FC=$old_archive_cmds
13520 reload_flag_FC=$reload_flag
13521 reload_cmds_FC=$reload_cmds
13522 no_undefined_flag_FC=
13523 whole_archive_flag_spec_FC=
13524 enable_shared_with_static_runtimes_FC=no
13526 # Source file extension for fc test sources.
13527 ac_ext=${ac_fc_srcext-f}
13529 # Object file extension for compiled fc test sources.
13530 objext=o
13531 objext_FC=$objext
13533 # No sense in running all these tests if we already determined that
13534 # the FC compiler isn't working. Some variables (like enable_shared)
13535 # are currently assumed to apply to all compilers on this platform,
13536 # and will be corrupted by setting them based on a non-working compiler.
13537 if test "$_lt_disable_FC" != yes; then
13538 # Code to be used in simple compile tests
13539 lt_simple_compile_test_code="\
13540 subroutine t
13541 return
13545 # Code to be used in simple link tests
13546 lt_simple_link_test_code="\
13547 program t
13551 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13558 # If no C compiler was specified, use CC.
13559 LTCC=${LTCC-"$CC"}
13561 # If no C compiler flags were specified, use CFLAGS.
13562 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13564 # Allow CC to be a program name with arguments.
13565 compiler=$CC
13568 # save warnings/boilerplate of simple test code
13569 ac_outfile=conftest.$ac_objext
13570 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13571 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13572 _lt_compiler_boilerplate=`cat conftest.err`
13573 $RM conftest*
13575 ac_outfile=conftest.$ac_objext
13576 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13577 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13578 _lt_linker_boilerplate=`cat conftest.err`
13579 $RM -r conftest*
13582 # Allow CC to be a program name with arguments.
13583 lt_save_CC="$CC"
13584 lt_save_GCC=$GCC
13585 CC=${FC-"f95"}
13586 compiler=$CC
13587 GCC=$ac_cv_fc_compiler_gnu
13589 compiler_FC=$CC
13590 for cc_temp in $compiler""; do
13591 case $cc_temp in
13592 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13593 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13594 \-*) ;;
13595 *) break;;
13596 esac
13597 done
13598 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13601 if test -n "$compiler"; then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13603 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13605 $as_echo "$can_build_shared" >&6; }
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13608 $as_echo_n "checking whether to build shared libraries... " >&6; }
13609 test "$can_build_shared" = "no" && enable_shared=no
13611 # On AIX, shared libraries and static libraries use the same namespace, and
13612 # are all built from PIC.
13613 case $host_os in
13614 aix3*)
13615 test "$enable_shared" = yes && enable_static=no
13616 if test -n "$RANLIB"; then
13617 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13618 postinstall_cmds='$RANLIB $lib'
13621 aix[4-9]*)
13622 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13623 test "$enable_shared" = yes && enable_static=no
13626 esac
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13628 $as_echo "$enable_shared" >&6; }
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13631 $as_echo_n "checking whether to build static libraries... " >&6; }
13632 # Make sure either enable_shared or enable_static is yes.
13633 test "$enable_shared" = yes || enable_static=yes
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13635 $as_echo "$enable_static" >&6; }
13637 GCC_FC="$ac_cv_fc_compiler_gnu"
13638 LD_FC="$LD"
13640 ## CAVEAT EMPTOR:
13641 ## There is no encapsulation within the following macros, do not change
13642 ## the running order or otherwise move them around unless you know exactly
13643 ## what you are doing...
13644 # Dependencies to place before and after the object being linked:
13645 predep_objects_FC=
13646 postdep_objects_FC=
13647 predeps_FC=
13648 postdeps_FC=
13649 compiler_lib_search_path_FC=
13651 cat > conftest.$ac_ext <<_LT_EOF
13652 subroutine foo
13653 implicit none
13654 integer a
13656 return
13658 _LT_EOF
13660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13661 (eval $ac_compile) 2>&5
13662 ac_status=$?
13663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13664 test $ac_status = 0; }; then
13665 # Parse the compiler output and extract the necessary
13666 # objects, libraries and library flags.
13668 # Sentinel used to keep track of whether or not we are before
13669 # the conftest object file.
13670 pre_test_object_deps_done=no
13672 for p in `eval "$output_verbose_link_cmd"`; do
13673 case $p in
13675 -L* | -R* | -l*)
13676 # Some compilers place space between "-{L,R}" and the path.
13677 # Remove the space.
13678 if test $p = "-L" ||
13679 test $p = "-R"; then
13680 prev=$p
13681 continue
13682 else
13683 prev=
13686 if test "$pre_test_object_deps_done" = no; then
13687 case $p in
13688 -L* | -R*)
13689 # Internal compiler library paths should come after those
13690 # provided the user. The postdeps already come after the
13691 # user supplied libs so there is no need to process them.
13692 if test -z "$compiler_lib_search_path_FC"; then
13693 compiler_lib_search_path_FC="${prev}${p}"
13694 else
13695 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13698 # The "-l" case would never come before the object being
13699 # linked, so don't bother handling this case.
13700 esac
13701 else
13702 if test -z "$postdeps_FC"; then
13703 postdeps_FC="${prev}${p}"
13704 else
13705 postdeps_FC="${postdeps_FC} ${prev}${p}"
13710 *.$objext)
13711 # This assumes that the test object file only shows up
13712 # once in the compiler output.
13713 if test "$p" = "conftest.$objext"; then
13714 pre_test_object_deps_done=yes
13715 continue
13718 if test "$pre_test_object_deps_done" = no; then
13719 if test -z "$predep_objects_FC"; then
13720 predep_objects_FC="$p"
13721 else
13722 predep_objects_FC="$predep_objects_FC $p"
13724 else
13725 if test -z "$postdep_objects_FC"; then
13726 postdep_objects_FC="$p"
13727 else
13728 postdep_objects_FC="$postdep_objects_FC $p"
13733 *) ;; # Ignore the rest.
13735 esac
13736 done
13738 # Clean up.
13739 rm -f a.out a.exe
13740 else
13741 echo "libtool.m4: error: problem compiling FC test program"
13744 $RM -f confest.$objext
13746 # PORTME: override above test on systems where it is broken
13749 case " $postdeps_FC " in
13750 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13751 esac
13752 compiler_lib_search_dirs_FC=
13753 if test -n "${compiler_lib_search_path_FC}"; then
13754 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13787 lt_prog_compiler_wl_FC=
13788 lt_prog_compiler_pic_FC=
13789 lt_prog_compiler_static_FC=
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13792 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13794 if test "$GCC" = yes; then
13795 lt_prog_compiler_wl_FC='-Wl,'
13796 lt_prog_compiler_static_FC='-static'
13798 case $host_os in
13799 aix*)
13800 # All AIX code is PIC.
13801 if test "$host_cpu" = ia64; then
13802 # AIX 5 now supports IA64 processor
13803 lt_prog_compiler_static_FC='-Bstatic'
13805 lt_prog_compiler_pic_FC='-fPIC'
13808 amigaos*)
13809 case $host_cpu in
13810 powerpc)
13811 # see comment about AmigaOS4 .so support
13812 lt_prog_compiler_pic_FC='-fPIC'
13814 m68k)
13815 # FIXME: we need at least 68020 code to build shared libraries, but
13816 # adding the `-m68020' flag to GCC prevents building anything better,
13817 # like `-m68040'.
13818 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13820 esac
13823 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13824 # PIC is the default for these OSes.
13827 mingw* | cygwin* | pw32* | os2* | cegcc*)
13828 # This hack is so that the source file can tell whether it is being
13829 # built for inclusion in a dll (and should export symbols for example).
13830 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13831 # (--disable-auto-import) libraries
13832 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13835 darwin* | rhapsody*)
13836 # PIC is the default on this platform
13837 # Common symbols not allowed in MH_DYLIB files
13838 lt_prog_compiler_pic_FC='-fno-common'
13841 haiku*)
13842 # PIC is the default for Haiku.
13843 # The "-static" flag exists, but is broken.
13844 lt_prog_compiler_static_FC=
13847 hpux*)
13848 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13849 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13850 # sets the default TLS model and affects inlining.
13851 case $host_cpu in
13852 hppa*64*)
13853 # +Z the default
13856 lt_prog_compiler_pic_FC='-fPIC'
13858 esac
13861 interix[3-9]*)
13862 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13863 # Instead, we relocate shared libraries at runtime.
13866 msdosdjgpp*)
13867 # Just because we use GCC doesn't mean we suddenly get shared libraries
13868 # on systems that don't support them.
13869 lt_prog_compiler_can_build_shared_FC=no
13870 enable_shared=no
13873 *nto* | *qnx*)
13874 # QNX uses GNU C++, but need to define -shared option too, otherwise
13875 # it will coredump.
13876 lt_prog_compiler_pic_FC='-fPIC -shared'
13879 sysv4*MP*)
13880 if test -d /usr/nec; then
13881 lt_prog_compiler_pic_FC=-Kconform_pic
13886 lt_prog_compiler_pic_FC='-fPIC'
13888 esac
13890 case $cc_basename in
13891 nvcc*) # Cuda Compiler Driver 2.2
13892 lt_prog_compiler_wl_FC='-Xlinker '
13893 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13895 esac
13896 else
13897 # PORTME Check for flag to pass linker flags through the system compiler.
13898 case $host_os in
13899 aix*)
13900 lt_prog_compiler_wl_FC='-Wl,'
13901 if test "$host_cpu" = ia64; then
13902 # AIX 5 now supports IA64 processor
13903 lt_prog_compiler_static_FC='-Bstatic'
13904 else
13905 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13909 mingw* | cygwin* | pw32* | os2* | cegcc*)
13910 # This hack is so that the source file can tell whether it is being
13911 # built for inclusion in a dll (and should export symbols for example).
13912 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13915 hpux9* | hpux10* | hpux11*)
13916 lt_prog_compiler_wl_FC='-Wl,'
13917 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13918 # not for PA HP-UX.
13919 case $host_cpu in
13920 hppa*64*|ia64*)
13921 # +Z the default
13924 lt_prog_compiler_pic_FC='+Z'
13926 esac
13927 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13928 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13931 irix5* | irix6* | nonstopux*)
13932 lt_prog_compiler_wl_FC='-Wl,'
13933 # PIC (with -KPIC) is the default.
13934 lt_prog_compiler_static_FC='-non_shared'
13937 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13938 case $cc_basename in
13939 # old Intel for x86_64 which still supported -KPIC.
13940 ecc*)
13941 lt_prog_compiler_wl_FC='-Wl,'
13942 lt_prog_compiler_pic_FC='-KPIC'
13943 lt_prog_compiler_static_FC='-static'
13945 # icc used to be incompatible with GCC.
13946 # ICC 10 doesn't accept -KPIC any more.
13947 icc* | ifort*)
13948 lt_prog_compiler_wl_FC='-Wl,'
13949 lt_prog_compiler_pic_FC='-fPIC'
13950 lt_prog_compiler_static_FC='-static'
13952 # Lahey Fortran 8.1.
13953 lf95*)
13954 lt_prog_compiler_wl_FC='-Wl,'
13955 lt_prog_compiler_pic_FC='--shared'
13956 lt_prog_compiler_static_FC='--static'
13958 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13959 # Portland Group compilers (*not* the Pentium gcc compiler,
13960 # which looks to be a dead project)
13961 lt_prog_compiler_wl_FC='-Wl,'
13962 lt_prog_compiler_pic_FC='-fpic'
13963 lt_prog_compiler_static_FC='-Bstatic'
13965 ccc*)
13966 lt_prog_compiler_wl_FC='-Wl,'
13967 # All Alpha code is PIC.
13968 lt_prog_compiler_static_FC='-non_shared'
13970 xl* | bgxl* | bgf* | mpixl*)
13971 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13972 lt_prog_compiler_wl_FC='-Wl,'
13973 lt_prog_compiler_pic_FC='-qpic'
13974 lt_prog_compiler_static_FC='-qstaticlink'
13977 case `$CC -V 2>&1 | sed 5q` in
13978 *Sun\ F* | *Sun*Fortran*)
13979 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13980 lt_prog_compiler_pic_FC='-KPIC'
13981 lt_prog_compiler_static_FC='-Bstatic'
13982 lt_prog_compiler_wl_FC=''
13984 *Sun\ C*)
13985 # Sun C 5.9
13986 lt_prog_compiler_pic_FC='-KPIC'
13987 lt_prog_compiler_static_FC='-Bstatic'
13988 lt_prog_compiler_wl_FC='-Wl,'
13990 esac
13992 esac
13995 newsos6)
13996 lt_prog_compiler_pic_FC='-KPIC'
13997 lt_prog_compiler_static_FC='-Bstatic'
14000 *nto* | *qnx*)
14001 # QNX uses GNU C++, but need to define -shared option too, otherwise
14002 # it will coredump.
14003 lt_prog_compiler_pic_FC='-fPIC -shared'
14006 osf3* | osf4* | osf5*)
14007 lt_prog_compiler_wl_FC='-Wl,'
14008 # All OSF/1 code is PIC.
14009 lt_prog_compiler_static_FC='-non_shared'
14012 rdos*)
14013 lt_prog_compiler_static_FC='-non_shared'
14016 solaris*)
14017 lt_prog_compiler_pic_FC='-KPIC'
14018 lt_prog_compiler_static_FC='-Bstatic'
14019 case $cc_basename in
14020 f77* | f90* | f95*)
14021 lt_prog_compiler_wl_FC='-Qoption ld ';;
14023 lt_prog_compiler_wl_FC='-Wl,';;
14024 esac
14027 sunos4*)
14028 lt_prog_compiler_wl_FC='-Qoption ld '
14029 lt_prog_compiler_pic_FC='-PIC'
14030 lt_prog_compiler_static_FC='-Bstatic'
14033 sysv4 | sysv4.2uw2* | sysv4.3*)
14034 lt_prog_compiler_wl_FC='-Wl,'
14035 lt_prog_compiler_pic_FC='-KPIC'
14036 lt_prog_compiler_static_FC='-Bstatic'
14039 sysv4*MP*)
14040 if test -d /usr/nec ;then
14041 lt_prog_compiler_pic_FC='-Kconform_pic'
14042 lt_prog_compiler_static_FC='-Bstatic'
14046 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14047 lt_prog_compiler_wl_FC='-Wl,'
14048 lt_prog_compiler_pic_FC='-KPIC'
14049 lt_prog_compiler_static_FC='-Bstatic'
14052 unicos*)
14053 lt_prog_compiler_wl_FC='-Wl,'
14054 lt_prog_compiler_can_build_shared_FC=no
14057 uts4*)
14058 lt_prog_compiler_pic_FC='-pic'
14059 lt_prog_compiler_static_FC='-Bstatic'
14063 lt_prog_compiler_can_build_shared_FC=no
14065 esac
14068 case $host_os in
14069 # For platforms which do not support PIC, -DPIC is meaningless:
14070 *djgpp*)
14071 lt_prog_compiler_pic_FC=
14074 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14076 esac
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14078 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14083 # Check to make sure the PIC flag actually works.
14085 if test -n "$lt_prog_compiler_pic_FC"; then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14087 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14088 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14089 $as_echo_n "(cached) " >&6
14090 else
14091 lt_cv_prog_compiler_pic_works_FC=no
14092 ac_outfile=conftest.$ac_objext
14093 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14094 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14095 # Insert the option either (1) after the last *FLAGS variable, or
14096 # (2) before a word containing "conftest.", or (3) at the end.
14097 # Note that $ac_compile itself does not contain backslashes and begins
14098 # with a dollar sign (not a hyphen), so the echo should work correctly.
14099 # The option is referenced via a variable to avoid confusing sed.
14100 lt_compile=`echo "$ac_compile" | $SED \
14101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14103 -e 's:$: $lt_compiler_flag:'`
14104 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14105 (eval "$lt_compile" 2>conftest.err)
14106 ac_status=$?
14107 cat conftest.err >&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 if (exit $ac_status) && test -s "$ac_outfile"; then
14110 # The compiler can only warn and ignore the option if not recognized
14111 # So say no if there are warnings other than the usual output.
14112 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14113 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14114 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14115 lt_cv_prog_compiler_pic_works_FC=yes
14118 $RM conftest*
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14122 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14124 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14125 case $lt_prog_compiler_pic_FC in
14126 "" | " "*) ;;
14127 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14128 esac
14129 else
14130 lt_prog_compiler_pic_FC=
14131 lt_prog_compiler_can_build_shared_FC=no
14139 # Check to make sure the static flag actually works.
14141 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14143 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14144 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14145 $as_echo_n "(cached) " >&6
14146 else
14147 lt_cv_prog_compiler_static_works_FC=no
14148 save_LDFLAGS="$LDFLAGS"
14149 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14150 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14151 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14152 # The linker can only warn and ignore the option if not recognized
14153 # So say no if there are warnings
14154 if test -s conftest.err; then
14155 # Append any errors to the config.log.
14156 cat conftest.err 1>&5
14157 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14158 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14159 if diff conftest.exp conftest.er2 >/dev/null; then
14160 lt_cv_prog_compiler_static_works_FC=yes
14162 else
14163 lt_cv_prog_compiler_static_works_FC=yes
14166 $RM -r conftest*
14167 LDFLAGS="$save_LDFLAGS"
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14171 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14173 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14175 else
14176 lt_prog_compiler_static_FC=
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14183 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14184 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14185 $as_echo_n "(cached) " >&6
14186 else
14187 lt_cv_prog_compiler_c_o_FC=no
14188 $RM -r conftest 2>/dev/null
14189 mkdir conftest
14190 cd conftest
14191 mkdir out
14192 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14194 lt_compiler_flag="-o out/conftest2.$ac_objext"
14195 # Insert the option either (1) after the last *FLAGS variable, or
14196 # (2) before a word containing "conftest.", or (3) at the end.
14197 # Note that $ac_compile itself does not contain backslashes and begins
14198 # with a dollar sign (not a hyphen), so the echo should work correctly.
14199 lt_compile=`echo "$ac_compile" | $SED \
14200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14202 -e 's:$: $lt_compiler_flag:'`
14203 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14204 (eval "$lt_compile" 2>out/conftest.err)
14205 ac_status=$?
14206 cat out/conftest.err >&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14209 then
14210 # The compiler can only warn and ignore the option if not recognized
14211 # So say no if there are warnings
14212 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14213 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14214 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14215 lt_cv_prog_compiler_c_o_FC=yes
14218 chmod u+w . 2>&5
14219 $RM conftest*
14220 # SGI C++ compiler will create directory out/ii_files/ for
14221 # template instantiation
14222 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14223 $RM out/* && rmdir out
14224 cd ..
14225 $RM -r conftest
14226 $RM conftest*
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14230 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14235 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14236 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 lt_cv_prog_compiler_c_o_FC=no
14240 $RM -r conftest 2>/dev/null
14241 mkdir conftest
14242 cd conftest
14243 mkdir out
14244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14246 lt_compiler_flag="-o out/conftest2.$ac_objext"
14247 # Insert the option either (1) after the last *FLAGS variable, or
14248 # (2) before a word containing "conftest.", or (3) at the end.
14249 # Note that $ac_compile itself does not contain backslashes and begins
14250 # with a dollar sign (not a hyphen), so the echo should work correctly.
14251 lt_compile=`echo "$ac_compile" | $SED \
14252 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14254 -e 's:$: $lt_compiler_flag:'`
14255 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14256 (eval "$lt_compile" 2>out/conftest.err)
14257 ac_status=$?
14258 cat out/conftest.err >&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14261 then
14262 # The compiler can only warn and ignore the option if not recognized
14263 # So say no if there are warnings
14264 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14265 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14266 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14267 lt_cv_prog_compiler_c_o_FC=yes
14270 chmod u+w . 2>&5
14271 $RM conftest*
14272 # SGI C++ compiler will create directory out/ii_files/ for
14273 # template instantiation
14274 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14275 $RM out/* && rmdir out
14276 cd ..
14277 $RM -r conftest
14278 $RM conftest*
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14282 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14287 hard_links="nottested"
14288 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14289 # do not overwrite the value of need_locks provided by the user
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14291 $as_echo_n "checking if we can lock with hard links... " >&6; }
14292 hard_links=yes
14293 $RM conftest*
14294 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14295 touch conftest.a
14296 ln conftest.a conftest.b 2>&5 || hard_links=no
14297 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14299 $as_echo "$hard_links" >&6; }
14300 if test "$hard_links" = no; then
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14302 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14303 need_locks=warn
14305 else
14306 need_locks=no
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14312 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14314 runpath_var=
14315 allow_undefined_flag_FC=
14316 always_export_symbols_FC=no
14317 archive_cmds_FC=
14318 archive_expsym_cmds_FC=
14319 compiler_needs_object_FC=no
14320 enable_shared_with_static_runtimes_FC=no
14321 export_dynamic_flag_spec_FC=
14322 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14323 hardcode_automatic_FC=no
14324 hardcode_direct_FC=no
14325 hardcode_direct_absolute_FC=no
14326 hardcode_libdir_flag_spec_FC=
14327 hardcode_libdir_flag_spec_ld_FC=
14328 hardcode_libdir_separator_FC=
14329 hardcode_minus_L_FC=no
14330 hardcode_shlibpath_var_FC=unsupported
14331 inherit_rpath_FC=no
14332 link_all_deplibs_FC=unknown
14333 module_cmds_FC=
14334 module_expsym_cmds_FC=
14335 old_archive_from_new_cmds_FC=
14336 old_archive_from_expsyms_cmds_FC=
14337 thread_safe_flag_spec_FC=
14338 whole_archive_flag_spec_FC=
14339 # include_expsyms should be a list of space-separated symbols to be *always*
14340 # included in the symbol list
14341 include_expsyms_FC=
14342 # exclude_expsyms can be an extended regexp of symbols to exclude
14343 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14344 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14345 # as well as any symbol that contains `d'.
14346 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14347 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14348 # platforms (ab)use it in PIC code, but their linkers get confused if
14349 # the symbol is explicitly referenced. Since portable code cannot
14350 # rely on this symbol name, it's probably fine to never include it in
14351 # preloaded symbol tables.
14352 # Exclude shared library initialization/finalization symbols.
14353 extract_expsyms_cmds=
14355 case $host_os in
14356 cygwin* | mingw* | pw32* | cegcc*)
14357 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14358 # When not using gcc, we currently assume that we are using
14359 # Microsoft Visual C++.
14360 if test "$GCC" != yes; then
14361 with_gnu_ld=no
14364 interix*)
14365 # we just hope/assume this is gcc and not c89 (= MSVC++)
14366 with_gnu_ld=yes
14368 openbsd*)
14369 with_gnu_ld=no
14371 esac
14373 ld_shlibs_FC=yes
14375 # On some targets, GNU ld is compatible enough with the native linker
14376 # that we're better off using the native interface for both.
14377 lt_use_gnu_ld_interface=no
14378 if test "$with_gnu_ld" = yes; then
14379 case $host_os in
14380 aix*)
14381 # The AIX port of GNU ld has always aspired to compatibility
14382 # with the native linker. However, as the warning in the GNU ld
14383 # block says, versions before 2.19.5* couldn't really create working
14384 # shared libraries, regardless of the interface used.
14385 case `$LD -v 2>&1` in
14386 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14387 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14388 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14390 lt_use_gnu_ld_interface=yes
14392 esac
14395 lt_use_gnu_ld_interface=yes
14397 esac
14400 if test "$lt_use_gnu_ld_interface" = yes; then
14401 # If archive_cmds runs LD, not CC, wlarc should be empty
14402 wlarc='${wl}'
14404 # Set some defaults for GNU ld with shared library support. These
14405 # are reset later if shared libraries are not supported. Putting them
14406 # here allows them to be overridden if necessary.
14407 runpath_var=LD_RUN_PATH
14408 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14409 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14410 # ancient GNU ld didn't support --whole-archive et. al.
14411 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14412 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14413 else
14414 whole_archive_flag_spec_FC=
14416 supports_anon_versioning=no
14417 case `$LD -v 2>&1` in
14418 *GNU\ gold*) supports_anon_versioning=yes ;;
14419 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14420 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14421 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14422 *\ 2.11.*) ;; # other 2.11 versions
14423 *) supports_anon_versioning=yes ;;
14424 esac
14426 # See if GNU ld supports shared libraries.
14427 case $host_os in
14428 aix[3-9]*)
14429 # On AIX/PPC, the GNU linker is very broken
14430 if test "$host_cpu" != ia64; then
14431 ld_shlibs_FC=no
14432 cat <<_LT_EOF 1>&2
14434 *** Warning: the GNU linker, at least up to release 2.19, is reported
14435 *** to be unable to reliably create shared libraries on AIX.
14436 *** Therefore, libtool is disabling shared libraries support. If you
14437 *** really care for shared libraries, you may want to install binutils
14438 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14439 *** You will then need to restart the configuration process.
14441 _LT_EOF
14445 amigaos*)
14446 case $host_cpu in
14447 powerpc)
14448 # see comment about AmigaOS4 .so support
14449 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14450 archive_expsym_cmds_FC=''
14452 m68k)
14453 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)'
14454 hardcode_libdir_flag_spec_FC='-L$libdir'
14455 hardcode_minus_L_FC=yes
14457 esac
14460 beos*)
14461 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14462 allow_undefined_flag_FC=unsupported
14463 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14464 # support --undefined. This deserves some investigation. FIXME
14465 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14466 else
14467 ld_shlibs_FC=no
14471 cygwin* | mingw* | pw32* | cegcc*)
14472 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14473 # as there is no search path for DLLs.
14474 hardcode_libdir_flag_spec_FC='-L$libdir'
14475 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14476 allow_undefined_flag_FC=unsupported
14477 always_export_symbols_FC=no
14478 enable_shared_with_static_runtimes_FC=yes
14479 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14481 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14482 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14483 # If the export-symbols file already is a .def file (1st line
14484 # is EXPORTS), use it as is; otherwise, prepend...
14485 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14486 cp $export_symbols $output_objdir/$soname.def;
14487 else
14488 echo EXPORTS > $output_objdir/$soname.def;
14489 cat $export_symbols >> $output_objdir/$soname.def;
14491 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14492 else
14493 ld_shlibs_FC=no
14497 haiku*)
14498 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14499 link_all_deplibs_FC=yes
14502 interix[3-9]*)
14503 hardcode_direct_FC=no
14504 hardcode_shlibpath_var_FC=no
14505 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14506 export_dynamic_flag_spec_FC='${wl}-E'
14507 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14508 # Instead, shared libraries are loaded at an image base (0x10000000 by
14509 # default) and relocated if they conflict, which is a slow very memory
14510 # consuming and fragmenting process. To avoid this, we pick a random,
14511 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14512 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14513 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'
14514 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'
14517 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14518 tmp_diet=no
14519 if test "$host_os" = linux-dietlibc; then
14520 case $cc_basename in
14521 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14522 esac
14524 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14525 && test "$tmp_diet" = no
14526 then
14527 tmp_addflag=' $pic_flag'
14528 tmp_sharedflag='-shared'
14529 case $cc_basename,$host_cpu in
14530 pgcc*) # Portland Group C compiler
14531 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14532 tmp_addflag=' $pic_flag'
14534 pgf77* | pgf90* | pgf95* | pgfortran*)
14535 # Portland Group f77 and f90 compilers
14536 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'
14537 tmp_addflag=' $pic_flag -Mnomain' ;;
14538 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14539 tmp_addflag=' -i_dynamic' ;;
14540 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14541 tmp_addflag=' -i_dynamic -nofor_main' ;;
14542 ifc* | ifort*) # Intel Fortran compiler
14543 tmp_addflag=' -nofor_main' ;;
14544 lf95*) # Lahey Fortran 8.1
14545 whole_archive_flag_spec_FC=
14546 tmp_sharedflag='--shared' ;;
14547 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14548 tmp_sharedflag='-qmkshrobj'
14549 tmp_addflag= ;;
14550 nvcc*) # Cuda Compiler Driver 2.2
14551 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'
14552 compiler_needs_object_FC=yes
14554 esac
14555 case `$CC -V 2>&1 | sed 5q` in
14556 *Sun\ C*) # Sun C 5.9
14557 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'
14558 compiler_needs_object_FC=yes
14559 tmp_sharedflag='-G' ;;
14560 *Sun\ F*) # Sun Fortran 8.3
14561 tmp_sharedflag='-G' ;;
14562 esac
14563 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14565 if test "x$supports_anon_versioning" = xyes; then
14566 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14567 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14568 echo "local: *; };" >> $output_objdir/$libname.ver~
14569 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14572 case $cc_basename in
14573 xlf* | bgf* | bgxlf* | mpixlf*)
14574 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14575 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14576 hardcode_libdir_flag_spec_FC=
14577 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14578 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14579 if test "x$supports_anon_versioning" = xyes; then
14580 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14581 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14582 echo "local: *; };" >> $output_objdir/$libname.ver~
14583 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14586 esac
14587 else
14588 ld_shlibs_FC=no
14592 netbsd*)
14593 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14594 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14595 wlarc=
14596 else
14597 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14598 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14602 solaris*)
14603 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14604 ld_shlibs_FC=no
14605 cat <<_LT_EOF 1>&2
14607 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14608 *** create shared libraries on Solaris systems. Therefore, libtool
14609 *** is disabling shared libraries support. We urge you to upgrade GNU
14610 *** binutils to release 2.9.1 or newer. Another option is to modify
14611 *** your PATH or compiler configuration so that the native linker is
14612 *** used, and then restart.
14614 _LT_EOF
14615 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14616 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14617 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14618 else
14619 ld_shlibs_FC=no
14623 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14624 case `$LD -v 2>&1` in
14625 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14626 ld_shlibs_FC=no
14627 cat <<_LT_EOF 1>&2
14629 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14630 *** reliably create shared libraries on SCO systems. Therefore, libtool
14631 *** is disabling shared libraries support. We urge you to upgrade GNU
14632 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14633 *** your PATH or compiler configuration so that the native linker is
14634 *** used, and then restart.
14636 _LT_EOF
14639 # For security reasons, it is highly recommended that you always
14640 # use absolute paths for naming shared libraries, and exclude the
14641 # DT_RUNPATH tag from executables and libraries. But doing so
14642 # requires that you compile everything twice, which is a pain.
14643 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14644 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14645 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14646 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14647 else
14648 ld_shlibs_FC=no
14651 esac
14654 sunos4*)
14655 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14656 wlarc=
14657 hardcode_direct_FC=yes
14658 hardcode_shlibpath_var_FC=no
14662 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14663 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14664 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14665 else
14666 ld_shlibs_FC=no
14669 esac
14671 if test "$ld_shlibs_FC" = no; then
14672 runpath_var=
14673 hardcode_libdir_flag_spec_FC=
14674 export_dynamic_flag_spec_FC=
14675 whole_archive_flag_spec_FC=
14677 else
14678 # PORTME fill in a description of your system's linker (not GNU ld)
14679 case $host_os in
14680 aix3*)
14681 allow_undefined_flag_FC=unsupported
14682 always_export_symbols_FC=yes
14683 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'
14684 # Note: this linker hardcodes the directories in LIBPATH if there
14685 # are no directories specified by -L.
14686 hardcode_minus_L_FC=yes
14687 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14688 # Neither direct hardcoding nor static linking is supported with a
14689 # broken collect2.
14690 hardcode_direct_FC=unsupported
14694 aix[4-9]*)
14695 if test "$host_cpu" = ia64; then
14696 # On IA64, the linker does run time linking by default, so we don't
14697 # have to do anything special.
14698 aix_use_runtimelinking=no
14699 exp_sym_flag='-Bexport'
14700 no_entry_flag=""
14701 else
14702 # If we're using GNU nm, then we don't want the "-C" option.
14703 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14704 # Also, AIX nm treats weak defined symbols like other global
14705 # defined symbols, whereas GNU nm marks them as "W".
14706 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14707 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'
14708 else
14709 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'
14711 aix_use_runtimelinking=no
14713 # Test if we are trying to use run time linking or normal
14714 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14715 # need to do runtime linking.
14716 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14717 for ld_flag in $LDFLAGS; do
14718 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14719 aix_use_runtimelinking=yes
14720 break
14722 done
14724 esac
14726 exp_sym_flag='-bexport'
14727 no_entry_flag='-bnoentry'
14730 # When large executables or shared objects are built, AIX ld can
14731 # have problems creating the table of contents. If linking a library
14732 # or program results in "error TOC overflow" add -mminimal-toc to
14733 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14734 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14736 archive_cmds_FC=''
14737 hardcode_direct_FC=yes
14738 hardcode_direct_absolute_FC=yes
14739 hardcode_libdir_separator_FC=':'
14740 link_all_deplibs_FC=yes
14741 file_list_spec_FC='${wl}-f,'
14743 if test "$GCC" = yes; then
14744 case $host_os in aix4.[012]|aix4.[012].*)
14745 # We only want to do this on AIX 4.2 and lower, the check
14746 # below for broken collect2 doesn't work under 4.3+
14747 collect2name=`${CC} -print-prog-name=collect2`
14748 if test -f "$collect2name" &&
14749 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14750 then
14751 # We have reworked collect2
14753 else
14754 # We have old collect2
14755 hardcode_direct_FC=unsupported
14756 # It fails to find uninstalled libraries when the uninstalled
14757 # path is not listed in the libpath. Setting hardcode_minus_L
14758 # to unsupported forces relinking
14759 hardcode_minus_L_FC=yes
14760 hardcode_libdir_flag_spec_FC='-L$libdir'
14761 hardcode_libdir_separator_FC=
14764 esac
14765 shared_flag='-shared'
14766 if test "$aix_use_runtimelinking" = yes; then
14767 shared_flag="$shared_flag "'${wl}-G'
14769 else
14770 # not using gcc
14771 if test "$host_cpu" = ia64; then
14772 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14773 # chokes on -Wl,-G. The following line is correct:
14774 shared_flag='-G'
14775 else
14776 if test "$aix_use_runtimelinking" = yes; then
14777 shared_flag='${wl}-G'
14778 else
14779 shared_flag='${wl}-bM:SRE'
14784 export_dynamic_flag_spec_FC='${wl}-bexpall'
14785 # It seems that -bexpall does not export symbols beginning with
14786 # underscore (_), so it is better to generate a list of symbols to export.
14787 always_export_symbols_FC=yes
14788 if test "$aix_use_runtimelinking" = yes; then
14789 # Warning - without using the other runtime loading flags (-brtl),
14790 # -berok will link without error, but may produce a broken library.
14791 allow_undefined_flag_FC='-berok'
14792 # Determine the default libpath from the value encoded in an
14793 # empty executable.
14794 if test x$gcc_no_link = xyes; then
14795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14797 cat > conftest.$ac_ext <<_ACEOF
14798 program main
14801 _ACEOF
14802 if ac_fn_fc_try_link "$LINENO"; then :
14804 lt_aix_libpath_sed='
14805 /Import File Strings/,/^$/ {
14806 /^0/ {
14807 s/^0 *\(.*\)$/\1/
14811 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14812 # Check for a 64-bit object if we didn't find anything.
14813 if test -z "$aix_libpath"; then
14814 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14817 rm -f core conftest.err conftest.$ac_objext \
14818 conftest$ac_exeext conftest.$ac_ext
14819 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14821 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14822 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"
14823 else
14824 if test "$host_cpu" = ia64; then
14825 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14826 allow_undefined_flag_FC="-z nodefs"
14827 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"
14828 else
14829 # Determine the default libpath from the value encoded in an
14830 # empty executable.
14831 if test x$gcc_no_link = xyes; then
14832 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14834 cat > conftest.$ac_ext <<_ACEOF
14835 program main
14838 _ACEOF
14839 if ac_fn_fc_try_link "$LINENO"; then :
14841 lt_aix_libpath_sed='
14842 /Import File Strings/,/^$/ {
14843 /^0/ {
14844 s/^0 *\(.*\)$/\1/
14848 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14849 # Check for a 64-bit object if we didn't find anything.
14850 if test -z "$aix_libpath"; then
14851 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14854 rm -f core conftest.err conftest.$ac_objext \
14855 conftest$ac_exeext conftest.$ac_ext
14856 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14858 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14859 # Warning - without using the other run time loading flags,
14860 # -berok will link without error, but may produce a broken library.
14861 no_undefined_flag_FC=' ${wl}-bernotok'
14862 allow_undefined_flag_FC=' ${wl}-berok'
14863 if test "$with_gnu_ld" = yes; then
14864 # We only use this code for GNU lds that support --whole-archive.
14865 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14866 else
14867 # Exported symbols can be pulled into shared objects from archives
14868 whole_archive_flag_spec_FC='$convenience'
14870 archive_cmds_need_lc_FC=yes
14871 # This is similar to how AIX traditionally builds its shared libraries.
14872 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'
14877 amigaos*)
14878 case $host_cpu in
14879 powerpc)
14880 # see comment about AmigaOS4 .so support
14881 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14882 archive_expsym_cmds_FC=''
14884 m68k)
14885 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)'
14886 hardcode_libdir_flag_spec_FC='-L$libdir'
14887 hardcode_minus_L_FC=yes
14889 esac
14892 bsdi[45]*)
14893 export_dynamic_flag_spec_FC=-rdynamic
14896 cygwin* | mingw* | pw32* | cegcc*)
14897 # When not using gcc, we currently assume that we are using
14898 # Microsoft Visual C++.
14899 # hardcode_libdir_flag_spec is actually meaningless, as there is
14900 # no search path for DLLs.
14901 hardcode_libdir_flag_spec_FC=' '
14902 allow_undefined_flag_FC=unsupported
14903 # Tell ltmain to make .lib files, not .a files.
14904 libext=lib
14905 # Tell ltmain to make .dll files, not .so files.
14906 shrext_cmds=".dll"
14907 # FIXME: Setting linknames here is a bad hack.
14908 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14909 # The linker will automatically build a .lib file if we build a DLL.
14910 old_archive_from_new_cmds_FC='true'
14911 # FIXME: Should let the user specify the lib program.
14912 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14913 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14914 enable_shared_with_static_runtimes_FC=yes
14917 darwin* | rhapsody*)
14920 archive_cmds_need_lc_FC=no
14921 hardcode_direct_FC=no
14922 hardcode_automatic_FC=yes
14923 hardcode_shlibpath_var_FC=unsupported
14924 if test "$lt_cv_ld_force_load" = "yes"; then
14925 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\"`'
14926 else
14927 whole_archive_flag_spec_FC=''
14929 link_all_deplibs_FC=yes
14930 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14931 case $cc_basename in
14932 ifort*) _lt_dar_can_shared=yes ;;
14933 *) _lt_dar_can_shared=$GCC ;;
14934 esac
14935 if test "$_lt_dar_can_shared" = "yes"; then
14936 output_verbose_link_cmd=func_echo_all
14937 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}"
14938 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14939 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}"
14940 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}"
14942 else
14943 ld_shlibs_FC=no
14948 dgux*)
14949 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14950 hardcode_libdir_flag_spec_FC='-L$libdir'
14951 hardcode_shlibpath_var_FC=no
14954 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14955 # support. Future versions do this automatically, but an explicit c++rt0.o
14956 # does not break anything, and helps significantly (at the cost of a little
14957 # extra space).
14958 freebsd2.2*)
14959 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14960 hardcode_libdir_flag_spec_FC='-R$libdir'
14961 hardcode_direct_FC=yes
14962 hardcode_shlibpath_var_FC=no
14965 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14966 freebsd2.*)
14967 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14968 hardcode_direct_FC=yes
14969 hardcode_minus_L_FC=yes
14970 hardcode_shlibpath_var_FC=no
14973 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14974 freebsd* | dragonfly*)
14975 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14976 hardcode_libdir_flag_spec_FC='-R$libdir'
14977 hardcode_direct_FC=yes
14978 hardcode_shlibpath_var_FC=no
14981 hpux9*)
14982 if test "$GCC" = yes; then
14983 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'
14984 else
14985 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'
14987 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14988 hardcode_libdir_separator_FC=:
14989 hardcode_direct_FC=yes
14991 # hardcode_minus_L: Not really in the search PATH,
14992 # but as the default location of the library.
14993 hardcode_minus_L_FC=yes
14994 export_dynamic_flag_spec_FC='${wl}-E'
14997 hpux10*)
14998 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14999 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15000 else
15001 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15003 if test "$with_gnu_ld" = no; then
15004 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15005 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15006 hardcode_libdir_separator_FC=:
15007 hardcode_direct_FC=yes
15008 hardcode_direct_absolute_FC=yes
15009 export_dynamic_flag_spec_FC='${wl}-E'
15010 # hardcode_minus_L: Not really in the search PATH,
15011 # but as the default location of the library.
15012 hardcode_minus_L_FC=yes
15016 hpux11*)
15017 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15018 case $host_cpu in
15019 hppa*64*)
15020 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15022 ia64*)
15023 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15026 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15028 esac
15029 else
15030 case $host_cpu in
15031 hppa*64*)
15032 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15034 ia64*)
15035 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15038 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15040 esac
15042 if test "$with_gnu_ld" = no; then
15043 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15044 hardcode_libdir_separator_FC=:
15046 case $host_cpu in
15047 hppa*64*|ia64*)
15048 hardcode_direct_FC=no
15049 hardcode_shlibpath_var_FC=no
15052 hardcode_direct_FC=yes
15053 hardcode_direct_absolute_FC=yes
15054 export_dynamic_flag_spec_FC='${wl}-E'
15056 # hardcode_minus_L: Not really in the search PATH,
15057 # but as the default location of the library.
15058 hardcode_minus_L_FC=yes
15060 esac
15064 irix5* | irix6* | nonstopux*)
15065 if test "$GCC" = yes; then
15066 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'
15067 # Try to use the -exported_symbol ld option, if it does not
15068 # work, assume that -exports_file does not work either and
15069 # implicitly export all symbols.
15070 save_LDFLAGS="$LDFLAGS"
15071 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15072 if test x$gcc_no_link = xyes; then
15073 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15075 cat > conftest.$ac_ext <<_ACEOF
15076 int foo(void) {}
15077 _ACEOF
15078 if ac_fn_fc_try_link "$LINENO"; then :
15079 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'
15082 rm -f core conftest.err conftest.$ac_objext \
15083 conftest$ac_exeext conftest.$ac_ext
15084 LDFLAGS="$save_LDFLAGS"
15085 else
15086 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'
15087 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'
15089 archive_cmds_need_lc_FC='no'
15090 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15091 hardcode_libdir_separator_FC=:
15092 inherit_rpath_FC=yes
15093 link_all_deplibs_FC=yes
15096 netbsd*)
15097 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15098 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15099 else
15100 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15102 hardcode_libdir_flag_spec_FC='-R$libdir'
15103 hardcode_direct_FC=yes
15104 hardcode_shlibpath_var_FC=no
15107 newsos6)
15108 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15109 hardcode_direct_FC=yes
15110 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15111 hardcode_libdir_separator_FC=:
15112 hardcode_shlibpath_var_FC=no
15115 *nto* | *qnx*)
15118 openbsd*)
15119 if test -f /usr/libexec/ld.so; then
15120 hardcode_direct_FC=yes
15121 hardcode_shlibpath_var_FC=no
15122 hardcode_direct_absolute_FC=yes
15123 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15124 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15125 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15126 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15127 export_dynamic_flag_spec_FC='${wl}-E'
15128 else
15129 case $host_os in
15130 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15131 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15132 hardcode_libdir_flag_spec_FC='-R$libdir'
15135 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15136 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15138 esac
15140 else
15141 ld_shlibs_FC=no
15145 os2*)
15146 hardcode_libdir_flag_spec_FC='-L$libdir'
15147 hardcode_minus_L_FC=yes
15148 allow_undefined_flag_FC=unsupported
15149 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'
15150 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15153 osf3*)
15154 if test "$GCC" = yes; then
15155 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15156 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'
15157 else
15158 allow_undefined_flag_FC=' -expect_unresolved \*'
15159 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'
15161 archive_cmds_need_lc_FC='no'
15162 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15163 hardcode_libdir_separator_FC=:
15166 osf4* | osf5*) # as osf3* with the addition of -msym flag
15167 if test "$GCC" = yes; then
15168 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15169 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'
15170 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15171 else
15172 allow_undefined_flag_FC=' -expect_unresolved \*'
15173 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'
15174 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~
15175 $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'
15177 # Both c and cxx compiler support -rpath directly
15178 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15180 archive_cmds_need_lc_FC='no'
15181 hardcode_libdir_separator_FC=:
15184 solaris*)
15185 no_undefined_flag_FC=' -z defs'
15186 if test "$GCC" = yes; then
15187 wlarc='${wl}'
15188 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15189 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15190 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15191 else
15192 case `$CC -V 2>&1` in
15193 *"Compilers 5.0"*)
15194 wlarc=''
15195 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15196 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15197 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15200 wlarc='${wl}'
15201 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15202 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15203 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15205 esac
15207 hardcode_libdir_flag_spec_FC='-R$libdir'
15208 hardcode_shlibpath_var_FC=no
15209 case $host_os in
15210 solaris2.[0-5] | solaris2.[0-5].*) ;;
15212 # The compiler driver will combine and reorder linker options,
15213 # but understands `-z linker_flag'. GCC discards it without `$wl',
15214 # but is careful enough not to reorder.
15215 # Supported since Solaris 2.6 (maybe 2.5.1?)
15216 if test "$GCC" = yes; then
15217 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15218 else
15219 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15222 esac
15223 link_all_deplibs_FC=yes
15226 sunos4*)
15227 if test "x$host_vendor" = xsequent; then
15228 # Use $CC to link under sequent, because it throws in some extra .o
15229 # files that make .init and .fini sections work.
15230 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15231 else
15232 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15234 hardcode_libdir_flag_spec_FC='-L$libdir'
15235 hardcode_direct_FC=yes
15236 hardcode_minus_L_FC=yes
15237 hardcode_shlibpath_var_FC=no
15240 sysv4)
15241 case $host_vendor in
15242 sni)
15243 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15244 hardcode_direct_FC=yes # is this really true???
15246 siemens)
15247 ## LD is ld it makes a PLAMLIB
15248 ## CC just makes a GrossModule.
15249 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15250 reload_cmds_FC='$CC -r -o $output$reload_objs'
15251 hardcode_direct_FC=no
15253 motorola)
15254 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15255 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15257 esac
15258 runpath_var='LD_RUN_PATH'
15259 hardcode_shlibpath_var_FC=no
15262 sysv4.3*)
15263 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15264 hardcode_shlibpath_var_FC=no
15265 export_dynamic_flag_spec_FC='-Bexport'
15268 sysv4*MP*)
15269 if test -d /usr/nec; then
15270 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15271 hardcode_shlibpath_var_FC=no
15272 runpath_var=LD_RUN_PATH
15273 hardcode_runpath_var=yes
15274 ld_shlibs_FC=yes
15278 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15279 no_undefined_flag_FC='${wl}-z,text'
15280 archive_cmds_need_lc_FC=no
15281 hardcode_shlibpath_var_FC=no
15282 runpath_var='LD_RUN_PATH'
15284 if test "$GCC" = yes; then
15285 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15286 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15287 else
15288 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15289 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15293 sysv5* | sco3.2v5* | sco5v6*)
15294 # Note: We can NOT use -z defs as we might desire, because we do not
15295 # link with -lc, and that would cause any symbols used from libc to
15296 # always be unresolved, which means just about no library would
15297 # ever link correctly. If we're not using GNU ld we use -z text
15298 # though, which does catch some bad symbols but isn't as heavy-handed
15299 # as -z defs.
15300 no_undefined_flag_FC='${wl}-z,text'
15301 allow_undefined_flag_FC='${wl}-z,nodefs'
15302 archive_cmds_need_lc_FC=no
15303 hardcode_shlibpath_var_FC=no
15304 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15305 hardcode_libdir_separator_FC=':'
15306 link_all_deplibs_FC=yes
15307 export_dynamic_flag_spec_FC='${wl}-Bexport'
15308 runpath_var='LD_RUN_PATH'
15310 if test "$GCC" = yes; then
15311 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15312 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15313 else
15314 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15315 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15319 uts4*)
15320 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15321 hardcode_libdir_flag_spec_FC='-L$libdir'
15322 hardcode_shlibpath_var_FC=no
15326 ld_shlibs_FC=no
15328 esac
15330 if test x$host_vendor = xsni; then
15331 case $host in
15332 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15333 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15335 esac
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15340 $as_echo "$ld_shlibs_FC" >&6; }
15341 test "$ld_shlibs_FC" = no && can_build_shared=no
15343 with_gnu_ld_FC=$with_gnu_ld
15351 # Do we need to explicitly link libc?
15353 case "x$archive_cmds_need_lc_FC" in
15354 x|xyes)
15355 # Assume -lc should be added
15356 archive_cmds_need_lc_FC=yes
15358 if test "$enable_shared" = yes && test "$GCC" = yes; then
15359 case $archive_cmds_FC in
15360 *'~'*)
15361 # FIXME: we may have to deal with multi-command sequences.
15363 '$CC '*)
15364 # Test whether the compiler implicitly links with -lc since on some
15365 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15366 # to ld, don't add -lc before -lgcc.
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15368 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15369 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 $RM conftest*
15373 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15376 (eval $ac_compile) 2>&5
15377 ac_status=$?
15378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15379 test $ac_status = 0; } 2>conftest.err; then
15380 soname=conftest
15381 lib=conftest
15382 libobjs=conftest.$ac_objext
15383 deplibs=
15384 wl=$lt_prog_compiler_wl_FC
15385 pic_flag=$lt_prog_compiler_pic_FC
15386 compiler_flags=-v
15387 linker_flags=-v
15388 verstring=
15389 output_objdir=.
15390 libname=conftest
15391 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15392 allow_undefined_flag_FC=
15393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15394 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15395 ac_status=$?
15396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15397 test $ac_status = 0; }
15398 then
15399 lt_cv_archive_cmds_need_lc_FC=no
15400 else
15401 lt_cv_archive_cmds_need_lc_FC=yes
15403 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15404 else
15405 cat conftest.err 1>&5
15407 $RM conftest*
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15411 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15412 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15414 esac
15417 esac
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15483 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15485 library_names_spec=
15486 libname_spec='lib$name'
15487 soname_spec=
15488 shrext_cmds=".so"
15489 postinstall_cmds=
15490 postuninstall_cmds=
15491 finish_cmds=
15492 finish_eval=
15493 shlibpath_var=
15494 shlibpath_overrides_runpath=unknown
15495 version_type=none
15496 dynamic_linker="$host_os ld.so"
15497 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15498 need_lib_prefix=unknown
15499 hardcode_into_libs=no
15501 # when you set need_version to no, make sure it does not cause -set_version
15502 # flags to be left without arguments
15503 need_version=unknown
15505 case $host_os in
15506 aix3*)
15507 version_type=linux
15508 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15509 shlibpath_var=LIBPATH
15511 # AIX 3 has no versioning support, so we append a major version to the name.
15512 soname_spec='${libname}${release}${shared_ext}$major'
15515 aix[4-9]*)
15516 version_type=linux
15517 need_lib_prefix=no
15518 need_version=no
15519 hardcode_into_libs=yes
15520 if test "$host_cpu" = ia64; then
15521 # AIX 5 supports IA64
15522 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15523 shlibpath_var=LD_LIBRARY_PATH
15524 else
15525 # With GCC up to 2.95.x, collect2 would create an import file
15526 # for dependence libraries. The import file would start with
15527 # the line `#! .'. This would cause the generated library to
15528 # depend on `.', always an invalid library. This was fixed in
15529 # development snapshots of GCC prior to 3.0.
15530 case $host_os in
15531 aix4 | aix4.[01] | aix4.[01].*)
15532 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15533 echo ' yes '
15534 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15536 else
15537 can_build_shared=no
15540 esac
15541 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15542 # soname into executable. Probably we can add versioning support to
15543 # collect2, so additional links can be useful in future.
15544 if test "$aix_use_runtimelinking" = yes; then
15545 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15546 # instead of lib<name>.a to let people know that these are not
15547 # typical AIX shared libraries.
15548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15549 else
15550 # We preserve .a as extension for shared libraries through AIX4.2
15551 # and later when we are not doing run time linking.
15552 library_names_spec='${libname}${release}.a $libname.a'
15553 soname_spec='${libname}${release}${shared_ext}$major'
15555 shlibpath_var=LIBPATH
15559 amigaos*)
15560 case $host_cpu in
15561 powerpc)
15562 # Since July 2007 AmigaOS4 officially supports .so libraries.
15563 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15566 m68k)
15567 library_names_spec='$libname.ixlibrary $libname.a'
15568 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15569 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'
15571 esac
15574 beos*)
15575 library_names_spec='${libname}${shared_ext}'
15576 dynamic_linker="$host_os ld.so"
15577 shlibpath_var=LIBRARY_PATH
15580 bsdi[45]*)
15581 version_type=linux
15582 need_version=no
15583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15584 soname_spec='${libname}${release}${shared_ext}$major'
15585 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15586 shlibpath_var=LD_LIBRARY_PATH
15587 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15588 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15589 # the default ld.so.conf also contains /usr/contrib/lib and
15590 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15591 # libtool to hard-code these into programs
15594 cygwin* | mingw* | pw32* | cegcc*)
15595 version_type=windows
15596 shrext_cmds=".dll"
15597 need_version=no
15598 need_lib_prefix=no
15600 case $GCC,$host_os in
15601 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15602 library_names_spec='$libname.dll.a'
15603 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15604 postinstall_cmds='base_file=`basename \${file}`~
15605 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15606 dldir=$destdir/`dirname \$dlpath`~
15607 test -d \$dldir || mkdir -p \$dldir~
15608 $install_prog $dir/$dlname \$dldir/$dlname~
15609 chmod a+x \$dldir/$dlname~
15610 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15611 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15613 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15614 dlpath=$dir/\$dldll~
15615 $RM \$dlpath'
15616 shlibpath_overrides_runpath=yes
15618 case $host_os in
15619 cygwin*)
15620 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15621 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15624 mingw* | cegcc*)
15625 # MinGW DLLs use traditional 'lib' prefix
15626 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15628 pw32*)
15629 # pw32 DLLs use 'pw' prefix rather than 'lib'
15630 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15632 esac
15636 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15638 esac
15639 dynamic_linker='Win32 ld.exe'
15640 # FIXME: first we should search . and the directory the executable is in
15641 shlibpath_var=PATH
15644 darwin* | rhapsody*)
15645 dynamic_linker="$host_os dyld"
15646 version_type=darwin
15647 need_lib_prefix=no
15648 need_version=no
15649 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15650 soname_spec='${libname}${release}${major}$shared_ext'
15651 shlibpath_overrides_runpath=yes
15652 shlibpath_var=DYLD_LIBRARY_PATH
15653 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15655 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15658 dgux*)
15659 version_type=linux
15660 need_lib_prefix=no
15661 need_version=no
15662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15663 soname_spec='${libname}${release}${shared_ext}$major'
15664 shlibpath_var=LD_LIBRARY_PATH
15667 freebsd* | dragonfly*)
15668 # DragonFly does not have aout. When/if they implement a new
15669 # versioning mechanism, adjust this.
15670 if test -x /usr/bin/objformat; then
15671 objformat=`/usr/bin/objformat`
15672 else
15673 case $host_os in
15674 freebsd[23].*) objformat=aout ;;
15675 *) objformat=elf ;;
15676 esac
15678 version_type=freebsd-$objformat
15679 case $version_type in
15680 freebsd-elf*)
15681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15682 need_version=no
15683 need_lib_prefix=no
15685 freebsd-*)
15686 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15687 need_version=yes
15689 esac
15690 shlibpath_var=LD_LIBRARY_PATH
15691 case $host_os in
15692 freebsd2.*)
15693 shlibpath_overrides_runpath=yes
15695 freebsd3.[01]* | freebsdelf3.[01]*)
15696 shlibpath_overrides_runpath=yes
15697 hardcode_into_libs=yes
15699 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15700 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15701 shlibpath_overrides_runpath=no
15702 hardcode_into_libs=yes
15704 *) # from 4.6 on, and DragonFly
15705 shlibpath_overrides_runpath=yes
15706 hardcode_into_libs=yes
15708 esac
15711 haiku*)
15712 version_type=linux
15713 need_lib_prefix=no
15714 need_version=no
15715 dynamic_linker="$host_os runtime_loader"
15716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15717 soname_spec='${libname}${release}${shared_ext}$major'
15718 shlibpath_var=LIBRARY_PATH
15719 shlibpath_overrides_runpath=yes
15720 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15721 hardcode_into_libs=yes
15724 hpux9* | hpux10* | hpux11*)
15725 # Give a soname corresponding to the major version so that dld.sl refuses to
15726 # link against other versions.
15727 version_type=sunos
15728 need_lib_prefix=no
15729 need_version=no
15730 case $host_cpu in
15731 ia64*)
15732 shrext_cmds='.so'
15733 hardcode_into_libs=yes
15734 dynamic_linker="$host_os dld.so"
15735 shlibpath_var=LD_LIBRARY_PATH
15736 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15738 soname_spec='${libname}${release}${shared_ext}$major'
15739 if test "X$HPUX_IA64_MODE" = X32; then
15740 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15741 else
15742 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15744 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15746 hppa*64*)
15747 shrext_cmds='.sl'
15748 hardcode_into_libs=yes
15749 dynamic_linker="$host_os dld.sl"
15750 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15751 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15753 soname_spec='${libname}${release}${shared_ext}$major'
15754 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15758 shrext_cmds='.sl'
15759 dynamic_linker="$host_os dld.sl"
15760 shlibpath_var=SHLIB_PATH
15761 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15763 soname_spec='${libname}${release}${shared_ext}$major'
15765 esac
15766 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15767 postinstall_cmds='chmod 555 $lib'
15768 # or fails outright, so override atomically:
15769 install_override_mode=555
15772 interix[3-9]*)
15773 version_type=linux
15774 need_lib_prefix=no
15775 need_version=no
15776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15777 soname_spec='${libname}${release}${shared_ext}$major'
15778 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15779 shlibpath_var=LD_LIBRARY_PATH
15780 shlibpath_overrides_runpath=no
15781 hardcode_into_libs=yes
15784 irix5* | irix6* | nonstopux*)
15785 case $host_os in
15786 nonstopux*) version_type=nonstopux ;;
15788 if test "$lt_cv_prog_gnu_ld" = yes; then
15789 version_type=linux
15790 else
15791 version_type=irix
15792 fi ;;
15793 esac
15794 need_lib_prefix=no
15795 need_version=no
15796 soname_spec='${libname}${release}${shared_ext}$major'
15797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15798 case $host_os in
15799 irix5* | nonstopux*)
15800 libsuff= shlibsuff=
15803 case $LD in # libtool.m4 will add one of these switches to LD
15804 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15805 libsuff= shlibsuff= libmagic=32-bit;;
15806 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15807 libsuff=32 shlibsuff=N32 libmagic=N32;;
15808 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15809 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15810 *) libsuff= shlibsuff= libmagic=never-match;;
15811 esac
15813 esac
15814 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15815 shlibpath_overrides_runpath=no
15816 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15817 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15818 hardcode_into_libs=yes
15821 # No shared lib support for Linux oldld, aout, or coff.
15822 linux*oldld* | linux*aout* | linux*coff*)
15823 dynamic_linker=no
15826 # This must be Linux ELF.
15828 # uclinux* changes (here and below) have been submitted to the libtool
15829 # project, but have not yet been accepted: they are GCC-local changes
15830 # for the time being. (See
15831 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15832 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15833 version_type=linux
15834 need_lib_prefix=no
15835 need_version=no
15836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15837 soname_spec='${libname}${release}${shared_ext}$major'
15838 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15839 shlibpath_var=LD_LIBRARY_PATH
15840 shlibpath_overrides_runpath=no
15842 # Some binutils ld are patched to set DT_RUNPATH
15843 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15844 $as_echo_n "(cached) " >&6
15845 else
15846 lt_cv_shlibpath_overrides_runpath=no
15847 save_LDFLAGS=$LDFLAGS
15848 save_libdir=$libdir
15849 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15850 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15851 if test x$gcc_no_link = xyes; then
15852 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15854 cat > conftest.$ac_ext <<_ACEOF
15855 program main
15858 _ACEOF
15859 if ac_fn_fc_try_link "$LINENO"; then :
15860 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15861 lt_cv_shlibpath_overrides_runpath=yes
15864 rm -f core conftest.err conftest.$ac_objext \
15865 conftest$ac_exeext conftest.$ac_ext
15866 LDFLAGS=$save_LDFLAGS
15867 libdir=$save_libdir
15871 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15873 # This implies no fast_install, which is unacceptable.
15874 # Some rework will be needed to allow for fast_install
15875 # before this can be enabled.
15876 hardcode_into_libs=yes
15878 # Append ld.so.conf contents to the search path
15879 if test -f /etc/ld.so.conf; then
15880 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' ' '`
15881 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15884 # We used to test for /lib/ld.so.1 and disable shared libraries on
15885 # powerpc, because MkLinux only supported shared libraries with the
15886 # GNU dynamic linker. Since this was broken with cross compilers,
15887 # most powerpc-linux boxes support dynamic linking these days and
15888 # people can always --disable-shared, the test was removed, and we
15889 # assume the GNU/Linux dynamic linker is in use.
15890 dynamic_linker='GNU/Linux ld.so'
15893 netbsd*)
15894 version_type=sunos
15895 need_lib_prefix=no
15896 need_version=no
15897 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15900 dynamic_linker='NetBSD (a.out) ld.so'
15901 else
15902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15903 soname_spec='${libname}${release}${shared_ext}$major'
15904 dynamic_linker='NetBSD ld.elf_so'
15906 shlibpath_var=LD_LIBRARY_PATH
15907 shlibpath_overrides_runpath=yes
15908 hardcode_into_libs=yes
15911 newsos6)
15912 version_type=linux
15913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15914 shlibpath_var=LD_LIBRARY_PATH
15915 shlibpath_overrides_runpath=yes
15918 *nto* | *qnx*)
15919 version_type=qnx
15920 need_lib_prefix=no
15921 need_version=no
15922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15923 soname_spec='${libname}${release}${shared_ext}$major'
15924 shlibpath_var=LD_LIBRARY_PATH
15925 shlibpath_overrides_runpath=no
15926 hardcode_into_libs=yes
15927 dynamic_linker='ldqnx.so'
15930 openbsd*)
15931 version_type=sunos
15932 sys_lib_dlsearch_path_spec="/usr/lib"
15933 need_lib_prefix=no
15934 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15935 case $host_os in
15936 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15937 *) need_version=no ;;
15938 esac
15939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15940 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15941 shlibpath_var=LD_LIBRARY_PATH
15942 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15943 case $host_os in
15944 openbsd2.[89] | openbsd2.[89].*)
15945 shlibpath_overrides_runpath=no
15948 shlibpath_overrides_runpath=yes
15950 esac
15951 else
15952 shlibpath_overrides_runpath=yes
15956 os2*)
15957 libname_spec='$name'
15958 shrext_cmds=".dll"
15959 need_lib_prefix=no
15960 library_names_spec='$libname${shared_ext} $libname.a'
15961 dynamic_linker='OS/2 ld.exe'
15962 shlibpath_var=LIBPATH
15965 osf3* | osf4* | osf5*)
15966 version_type=osf
15967 need_lib_prefix=no
15968 need_version=no
15969 soname_spec='${libname}${release}${shared_ext}$major'
15970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15971 shlibpath_var=LD_LIBRARY_PATH
15972 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15973 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15976 rdos*)
15977 dynamic_linker=no
15980 solaris*)
15981 version_type=linux
15982 need_lib_prefix=no
15983 need_version=no
15984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15985 soname_spec='${libname}${release}${shared_ext}$major'
15986 shlibpath_var=LD_LIBRARY_PATH
15987 shlibpath_overrides_runpath=yes
15988 hardcode_into_libs=yes
15989 # ldd complains unless libraries are executable
15990 postinstall_cmds='chmod +x $lib'
15993 sunos4*)
15994 version_type=sunos
15995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15996 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15997 shlibpath_var=LD_LIBRARY_PATH
15998 shlibpath_overrides_runpath=yes
15999 if test "$with_gnu_ld" = yes; then
16000 need_lib_prefix=no
16002 need_version=yes
16005 sysv4 | sysv4.3*)
16006 version_type=linux
16007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16008 soname_spec='${libname}${release}${shared_ext}$major'
16009 shlibpath_var=LD_LIBRARY_PATH
16010 case $host_vendor in
16011 sni)
16012 shlibpath_overrides_runpath=no
16013 need_lib_prefix=no
16014 runpath_var=LD_RUN_PATH
16016 siemens)
16017 need_lib_prefix=no
16019 motorola)
16020 need_lib_prefix=no
16021 need_version=no
16022 shlibpath_overrides_runpath=no
16023 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16025 esac
16028 sysv4*MP*)
16029 if test -d /usr/nec ;then
16030 version_type=linux
16031 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16032 soname_spec='$libname${shared_ext}.$major'
16033 shlibpath_var=LD_LIBRARY_PATH
16037 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16038 version_type=freebsd-elf
16039 need_lib_prefix=no
16040 need_version=no
16041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16042 soname_spec='${libname}${release}${shared_ext}$major'
16043 shlibpath_var=LD_LIBRARY_PATH
16044 shlibpath_overrides_runpath=yes
16045 hardcode_into_libs=yes
16046 if test "$with_gnu_ld" = yes; then
16047 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16048 else
16049 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16050 case $host_os in
16051 sco3.2v5*)
16052 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16054 esac
16056 sys_lib_dlsearch_path_spec='/usr/lib'
16059 tpf*)
16060 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16061 version_type=linux
16062 need_lib_prefix=no
16063 need_version=no
16064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16065 shlibpath_var=LD_LIBRARY_PATH
16066 shlibpath_overrides_runpath=no
16067 hardcode_into_libs=yes
16070 uts4*)
16071 version_type=linux
16072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16073 soname_spec='${libname}${release}${shared_ext}$major'
16074 shlibpath_var=LD_LIBRARY_PATH
16078 dynamic_linker=no
16080 esac
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16082 $as_echo "$dynamic_linker" >&6; }
16083 test "$dynamic_linker" = no && can_build_shared=no
16085 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16086 if test "$GCC" = yes; then
16087 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16090 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16091 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16093 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16094 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16135 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16136 hardcode_action_FC=
16137 if test -n "$hardcode_libdir_flag_spec_FC" ||
16138 test -n "$runpath_var_FC" ||
16139 test "X$hardcode_automatic_FC" = "Xyes" ; then
16141 # We can hardcode non-existent directories.
16142 if test "$hardcode_direct_FC" != no &&
16143 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16144 # have to relink, otherwise we might link with an installed library
16145 # when we should be linking with a yet-to-be-installed one
16146 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16147 test "$hardcode_minus_L_FC" != no; then
16148 # Linking always hardcodes the temporary library directory.
16149 hardcode_action_FC=relink
16150 else
16151 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16152 hardcode_action_FC=immediate
16154 else
16155 # We cannot hardcode anything, or else we can only hardcode existing
16156 # directories.
16157 hardcode_action_FC=unsupported
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16160 $as_echo "$hardcode_action_FC" >&6; }
16162 if test "$hardcode_action_FC" = relink ||
16163 test "$inherit_rpath_FC" = yes; then
16164 # Fast installation is not supported
16165 enable_fast_install=no
16166 elif test "$shlibpath_overrides_runpath" = yes ||
16167 test "$enable_shared" = no; then
16168 # Fast installation is not necessary
16169 enable_fast_install=needless
16178 fi # test -n "$compiler"
16180 GCC=$lt_save_GCC
16181 CC="$lt_save_CC"
16182 fi # test "$_lt_disable_FC" != yes
16184 ac_ext=c
16185 ac_cpp='$CPP $CPPFLAGS'
16186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16192 # extra LD Flags which are required for targets
16193 case "${host}" in
16194 *-darwin*)
16195 # Darwin needs -single_module when linking libgfortran
16196 extra_ldflags_libgfortran=-Wl,-single_module
16198 esac
16201 # We need a working compiler at that point, otherwise give a clear
16202 # error message and bail out.
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16205 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16206 ac_ext=${ac_fc_srcext-f}
16207 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16208 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16209 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16211 cat > conftest.$ac_ext <<_ACEOF
16213 program foo
16214 real, parameter :: bar = sin (12.34 / 2.5)
16215 end program foo
16216 _ACEOF
16217 if ac_fn_fc_try_compile "$LINENO"; then :
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16219 $as_echo "yes" >&6; }
16220 else
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16222 $as_echo "no" >&6; }
16223 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16227 ac_ext=c
16228 ac_cpp='$CPP $CPPFLAGS'
16229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16235 # Check whether --enable-largefile was given.
16236 if test "${enable_largefile+set}" = set; then :
16237 enableval=$enable_largefile;
16240 if test "$enable_largefile" != no; then
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16243 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16244 if ${ac_cv_sys_largefile_CC+:} false; then :
16245 $as_echo_n "(cached) " >&6
16246 else
16247 ac_cv_sys_largefile_CC=no
16248 if test "$GCC" != yes; then
16249 ac_save_CC=$CC
16250 while :; do
16251 # IRIX 6.2 and later do not support large files by default,
16252 # so use the C compiler's -n32 option if that helps.
16253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16254 /* end confdefs.h. */
16255 #include <sys/types.h>
16256 /* Check that off_t can represent 2**63 - 1 correctly.
16257 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16258 since some C++ compilers masquerading as C compilers
16259 incorrectly reject 9223372036854775807. */
16260 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16261 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16262 && LARGE_OFF_T % 2147483647 == 1)
16263 ? 1 : -1];
16265 main ()
16269 return 0;
16271 _ACEOF
16272 if ac_fn_c_try_compile "$LINENO"; then :
16273 break
16275 rm -f core conftest.err conftest.$ac_objext
16276 CC="$CC -n32"
16277 if ac_fn_c_try_compile "$LINENO"; then :
16278 ac_cv_sys_largefile_CC=' -n32'; break
16280 rm -f core conftest.err conftest.$ac_objext
16281 break
16282 done
16283 CC=$ac_save_CC
16284 rm -f conftest.$ac_ext
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16288 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16289 if test "$ac_cv_sys_largefile_CC" != no; then
16290 CC=$CC$ac_cv_sys_largefile_CC
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16294 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16295 if ${ac_cv_sys_file_offset_bits+:} false; then :
16296 $as_echo_n "(cached) " >&6
16297 else
16298 while :; do
16299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h. */
16301 #include <sys/types.h>
16302 /* Check that off_t can represent 2**63 - 1 correctly.
16303 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16304 since some C++ compilers masquerading as C compilers
16305 incorrectly reject 9223372036854775807. */
16306 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16307 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16308 && LARGE_OFF_T % 2147483647 == 1)
16309 ? 1 : -1];
16311 main ()
16315 return 0;
16317 _ACEOF
16318 if ac_fn_c_try_compile "$LINENO"; then :
16319 ac_cv_sys_file_offset_bits=no; break
16321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16323 /* end confdefs.h. */
16324 #define _FILE_OFFSET_BITS 64
16325 #include <sys/types.h>
16326 /* Check that off_t can represent 2**63 - 1 correctly.
16327 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16328 since some C++ compilers masquerading as C compilers
16329 incorrectly reject 9223372036854775807. */
16330 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16331 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16332 && LARGE_OFF_T % 2147483647 == 1)
16333 ? 1 : -1];
16335 main ()
16339 return 0;
16341 _ACEOF
16342 if ac_fn_c_try_compile "$LINENO"; then :
16343 ac_cv_sys_file_offset_bits=64; break
16345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16346 ac_cv_sys_file_offset_bits=unknown
16347 break
16348 done
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16351 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16352 case $ac_cv_sys_file_offset_bits in #(
16353 no | unknown) ;;
16355 cat >>confdefs.h <<_ACEOF
16356 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16357 _ACEOF
16359 esac
16360 rm -rf conftest*
16361 if test $ac_cv_sys_file_offset_bits = unknown; then
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16363 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16364 if ${ac_cv_sys_large_files+:} false; then :
16365 $as_echo_n "(cached) " >&6
16366 else
16367 while :; do
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16370 #include <sys/types.h>
16371 /* Check that off_t can represent 2**63 - 1 correctly.
16372 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16373 since some C++ compilers masquerading as C compilers
16374 incorrectly reject 9223372036854775807. */
16375 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16376 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16377 && LARGE_OFF_T % 2147483647 == 1)
16378 ? 1 : -1];
16380 main ()
16384 return 0;
16386 _ACEOF
16387 if ac_fn_c_try_compile "$LINENO"; then :
16388 ac_cv_sys_large_files=no; break
16390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16393 #define _LARGE_FILES 1
16394 #include <sys/types.h>
16395 /* Check that off_t can represent 2**63 - 1 correctly.
16396 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16397 since some C++ compilers masquerading as C compilers
16398 incorrectly reject 9223372036854775807. */
16399 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16400 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16401 && LARGE_OFF_T % 2147483647 == 1)
16402 ? 1 : -1];
16404 main ()
16408 return 0;
16410 _ACEOF
16411 if ac_fn_c_try_compile "$LINENO"; then :
16412 ac_cv_sys_large_files=1; break
16414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16415 ac_cv_sys_large_files=unknown
16416 break
16417 done
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16420 $as_echo "$ac_cv_sys_large_files" >&6; }
16421 case $ac_cv_sys_large_files in #(
16422 no | unknown) ;;
16424 cat >>confdefs.h <<_ACEOF
16425 #define _LARGE_FILES $ac_cv_sys_large_files
16426 _ACEOF
16428 esac
16429 rm -rf conftest*
16436 # Types
16437 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16438 if test "x$ac_cv_type_off_t" = xyes; then :
16440 else
16442 cat >>confdefs.h <<_ACEOF
16443 #define off_t long int
16444 _ACEOF
16449 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16450 if test "x$ac_cv_type_intptr_t" = xyes; then :
16452 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16454 else
16455 for ac_type in 'int' 'long int' 'long long int'; do
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16458 $ac_includes_default
16460 main ()
16462 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16463 test_array [0] = 0;
16464 return test_array [0];
16467 return 0;
16469 _ACEOF
16470 if ac_fn_c_try_compile "$LINENO"; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define intptr_t $ac_type
16474 _ACEOF
16476 ac_type=
16478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16479 test -z "$ac_type" && break
16480 done
16485 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16486 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16488 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16490 else
16491 for ac_type in 'unsigned int' 'unsigned long int' \
16492 'unsigned long long int'; do
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 $ac_includes_default
16497 main ()
16499 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16500 test_array [0] = 0;
16501 return test_array [0];
16504 return 0;
16506 _ACEOF
16507 if ac_fn_c_try_compile "$LINENO"; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define uintptr_t $ac_type
16511 _ACEOF
16513 ac_type=
16515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16516 test -z "$ac_type" && break
16517 done
16521 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16522 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_PTRDIFF_T 1
16526 _ACEOF
16532 # check header files (we assume C89 is available, so don't check for that)
16536 for ac_header in $ac_header_list
16537 do :
16538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16539 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16541 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16544 _ACEOF
16548 done
16588 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16590 acx_cv_header_stdint=stddef.h
16591 acx_cv_header_stdint_kind="(already complete)"
16592 for i in stdint.h $inttype_headers; do
16593 unset ac_cv_type_uintptr_t
16594 unset ac_cv_type_uintmax_t
16595 unset ac_cv_type_int_least32_t
16596 unset ac_cv_type_int_fast32_t
16597 unset ac_cv_type_uint64_t
16598 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16599 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16600 #include <$i>
16602 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16603 acx_cv_header_stdint=$i
16604 else
16605 continue
16608 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16609 #include <$i>
16611 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16613 else
16614 acx_cv_header_stdint_kind="(mostly complete)"
16617 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16618 #include <$i>
16620 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16622 else
16623 acx_cv_header_stdint_kind="(mostly complete)"
16626 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16627 #include <$i>
16629 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16631 else
16632 acx_cv_header_stdint_kind="(mostly complete)"
16635 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16636 #include <$i>
16638 if test "x$ac_cv_type_uint64_t" = xyes; then :
16640 else
16641 acx_cv_header_stdint_kind="(lacks uint64_t)"
16644 break
16645 done
16646 if test "$acx_cv_header_stdint" = stddef.h; then
16647 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16648 for i in stdint.h $inttype_headers; do
16649 unset ac_cv_type_uintptr_t
16650 unset ac_cv_type_uint32_t
16651 unset ac_cv_type_uint64_t
16652 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16653 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16654 #include <$i>
16656 if test "x$ac_cv_type_uint32_t" = xyes; then :
16657 acx_cv_header_stdint=$i
16658 else
16659 continue
16662 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16663 #include <$i>
16665 if test "x$ac_cv_type_uint64_t" = xyes; then :
16669 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16670 #include <$i>
16672 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16676 break
16677 done
16679 if test "$acx_cv_header_stdint" = stddef.h; then
16680 acx_cv_header_stdint_kind="(u_intXX_t style)"
16681 for i in sys/types.h $inttype_headers; do
16682 unset ac_cv_type_u_int32_t
16683 unset ac_cv_type_u_int64_t
16684 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16685 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16686 #include <$i>
16688 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16689 acx_cv_header_stdint=$i
16690 else
16691 continue
16694 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16695 #include <$i>
16697 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16701 break
16702 done
16704 if test "$acx_cv_header_stdint" = stddef.h; then
16705 acx_cv_header_stdint_kind="(using manual detection)"
16708 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16709 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16710 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16711 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16712 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16714 # ----------------- Summarize what we found so far
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16717 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16719 case `$as_basename -- gstdint.h ||
16720 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16721 Xgstdint.h : 'X\(//\)$' \| \
16722 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16723 $as_echo X/gstdint.h |
16724 sed '/^.*\/\([^/][^/]*\)\/*$/{
16725 s//\1/
16728 /^X\/\(\/\/\)$/{
16729 s//\1/
16732 /^X\/\(\/\).*/{
16733 s//\1/
16736 s/.*/./; q'` in
16737 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16738 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16739 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16740 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16741 *) ;;
16742 esac
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16745 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16747 # ----------------- done included file, check C basic types --------
16749 # Lacking an uintptr_t? Test size of void *
16750 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16751 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16754 # This bug is HP SR number 8606223364.
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16756 $as_echo_n "checking size of void *... " >&6; }
16757 if ${ac_cv_sizeof_void_p+:} false; then :
16758 $as_echo_n "(cached) " >&6
16759 else
16760 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16762 else
16763 if test "$ac_cv_type_void_p" = yes; then
16764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16766 as_fn_error 77 "cannot compute sizeof (void *)
16767 See \`config.log' for more details" "$LINENO" 5; }
16768 else
16769 ac_cv_sizeof_void_p=0
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16775 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16779 cat >>confdefs.h <<_ACEOF
16780 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16781 _ACEOF
16784 esac
16786 # Lacking an uint64_t? Test size of long
16787 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16788 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16791 # This bug is HP SR number 8606223364.
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16793 $as_echo_n "checking size of long... " >&6; }
16794 if ${ac_cv_sizeof_long+:} false; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16799 else
16800 if test "$ac_cv_type_long" = yes; then
16801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16803 as_fn_error 77 "cannot compute sizeof (long)
16804 See \`config.log' for more details" "$LINENO" 5; }
16805 else
16806 ac_cv_sizeof_long=0
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16812 $as_echo "$ac_cv_sizeof_long" >&6; }
16816 cat >>confdefs.h <<_ACEOF
16817 #define SIZEOF_LONG $ac_cv_sizeof_long
16818 _ACEOF
16821 esac
16823 if test $acx_cv_header_stdint = stddef.h; then
16824 # Lacking a good header? Test size of everything and deduce all types.
16825 # The cast to long int works around a bug in the HP C Compiler
16826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16828 # This bug is HP SR number 8606223364.
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16830 $as_echo_n "checking size of int... " >&6; }
16831 if ${ac_cv_sizeof_int+:} false; then :
16832 $as_echo_n "(cached) " >&6
16833 else
16834 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16836 else
16837 if test "$ac_cv_type_int" = yes; then
16838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16840 as_fn_error 77 "cannot compute sizeof (int)
16841 See \`config.log' for more details" "$LINENO" 5; }
16842 else
16843 ac_cv_sizeof_int=0
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16849 $as_echo "$ac_cv_sizeof_int" >&6; }
16853 cat >>confdefs.h <<_ACEOF
16854 #define SIZEOF_INT $ac_cv_sizeof_int
16855 _ACEOF
16858 # The cast to long int works around a bug in the HP C Compiler
16859 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16860 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16861 # This bug is HP SR number 8606223364.
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16863 $as_echo_n "checking size of short... " >&6; }
16864 if ${ac_cv_sizeof_short+:} false; then :
16865 $as_echo_n "(cached) " >&6
16866 else
16867 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16869 else
16870 if test "$ac_cv_type_short" = yes; then
16871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16873 as_fn_error 77 "cannot compute sizeof (short)
16874 See \`config.log' for more details" "$LINENO" 5; }
16875 else
16876 ac_cv_sizeof_short=0
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16882 $as_echo "$ac_cv_sizeof_short" >&6; }
16886 cat >>confdefs.h <<_ACEOF
16887 #define SIZEOF_SHORT $ac_cv_sizeof_short
16888 _ACEOF
16891 # The cast to long int works around a bug in the HP C Compiler
16892 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16893 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16894 # This bug is HP SR number 8606223364.
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16896 $as_echo_n "checking size of char... " >&6; }
16897 if ${ac_cv_sizeof_char+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16902 else
16903 if test "$ac_cv_type_char" = yes; then
16904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16906 as_fn_error 77 "cannot compute sizeof (char)
16907 See \`config.log' for more details" "$LINENO" 5; }
16908 else
16909 ac_cv_sizeof_char=0
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16915 $as_echo "$ac_cv_sizeof_char" >&6; }
16919 cat >>confdefs.h <<_ACEOF
16920 #define SIZEOF_CHAR $ac_cv_sizeof_char
16921 _ACEOF
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16926 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16927 case "$ac_cv_sizeof_char" in
16928 1) acx_cv_type_int8_t=char ;;
16929 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
16930 esac
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16932 $as_echo "$acx_cv_type_int8_t" >&6; }
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16935 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16936 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16937 2:*) acx_cv_type_int16_t=int ;;
16938 *:2) acx_cv_type_int16_t=short ;;
16939 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
16940 esac
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16942 $as_echo "$acx_cv_type_int16_t" >&6; }
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16945 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16946 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16947 4:*) acx_cv_type_int32_t=int ;;
16948 *:4) acx_cv_type_int32_t=long ;;
16949 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
16950 esac
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16952 $as_echo "$acx_cv_type_int32_t" >&6; }
16955 # These tests are here to make the output prettier
16957 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16958 case "$ac_cv_sizeof_long" in
16959 8) acx_cv_type_int64_t=long ;;
16960 esac
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16962 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16964 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16967 # Now we can use the above types
16969 if test "$ac_cv_type_uintptr_t" != yes; then
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16971 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16972 case $ac_cv_sizeof_void_p in
16973 2) acx_cv_type_intptr_t=int16_t ;;
16974 4) acx_cv_type_intptr_t=int32_t ;;
16975 8) acx_cv_type_intptr_t=int64_t ;;
16976 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16977 esac
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16979 $as_echo "$acx_cv_type_intptr_t" >&6; }
16982 # ----------------- done all checks, emit header -------------
16983 ac_config_commands="$ac_config_commands gstdint.h"
16988 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16989 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
16991 cat >>confdefs.h <<_ACEOF
16992 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16993 _ACEOF
16997 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16998 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17000 cat >>confdefs.h <<_ACEOF
17001 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17002 _ACEOF
17006 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17007 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17009 cat >>confdefs.h <<_ACEOF
17010 #define HAVE_STRUCT_STAT_ST_RDEV 1
17011 _ACEOF
17017 case "${host}--x${with_newlib}" in
17018 mips*--xyes)
17019 hardwire_newlib=1;;
17020 nvptx*--xyes)
17021 hardwire_newlib=1;;
17022 esac
17024 # Check for library functions.
17025 if test "${hardwire_newlib:-0}" -eq 1; then
17026 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17027 # may not work correctly, because the compiler may not be able to
17028 # link executables.
17030 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17033 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17036 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17039 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17042 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17045 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17048 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17051 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17054 # At some point, we should differentiate between architectures
17055 # like x86, which have long double versions, and alpha/powerpc/etc.,
17056 # which don't. For the time being, punt.
17057 if test x"long_double_math_on_this_cpu" = x"yes"; then
17059 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17062 else
17066 for ac_func in $ac_func_list
17067 do :
17068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17070 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17071 cat >>confdefs.h <<_ACEOF
17072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17073 _ACEOF
17076 done
17189 # Check strerror_r, cannot be above as versions with two and three arguments exist
17191 ac_save_CFLAGS="$CFLAGS"
17192 CFLAGS="-Wimplicit-function-declaration -Werror"
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17195 #define _GNU_SOURCE 1
17196 #include <string.h>
17197 #include <locale.h>
17199 main ()
17201 char s[128]; strerror_r(5, s, 128);
17203 return 0;
17205 _ACEOF
17206 if ac_fn_c_try_compile "$LINENO"; then :
17208 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17212 CFLAGS="$ac_save_CFLAGS"
17214 ac_save_CFLAGS="$CFLAGS"
17215 CFLAGS="-Wimplicit-function-declaration -Werror"
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17218 #define _GNU_SOURCE 1
17219 #include <string.h>
17220 #include <locale.h>
17222 main ()
17224 char s[128]; strerror_r(5, s);
17226 return 0;
17228 _ACEOF
17229 if ac_fn_c_try_compile "$LINENO"; then :
17231 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17235 CFLAGS="$ac_save_CFLAGS"
17238 # Check for C99 (and other IEEE) math functions
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17240 $as_echo_n "checking for sin in -lm... " >&6; }
17241 if ${ac_cv_lib_m_sin+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 ac_check_lib_save_LIBS=$LIBS
17245 LIBS="-lm $LIBS"
17246 if test x$gcc_no_link = xyes; then
17247 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17252 /* Override any GCC internal prototype to avoid an error.
17253 Use char because int might match the return type of a GCC
17254 builtin and then its argument prototype would still apply. */
17255 #ifdef __cplusplus
17256 extern "C"
17257 #endif
17258 char sin ();
17260 main ()
17262 return sin ();
17264 return 0;
17266 _ACEOF
17267 if ac_fn_c_try_link "$LINENO"; then :
17268 ac_cv_lib_m_sin=yes
17269 else
17270 ac_cv_lib_m_sin=no
17272 rm -f core conftest.err conftest.$ac_objext \
17273 conftest$ac_exeext conftest.$ac_ext
17274 LIBS=$ac_check_lib_save_LIBS
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17277 $as_echo "$ac_cv_lib_m_sin" >&6; }
17278 if test "x$ac_cv_lib_m_sin" = xyes; then :
17279 cat >>confdefs.h <<_ACEOF
17280 #define HAVE_LIBM 1
17281 _ACEOF
17283 LIBS="-lm $LIBS"
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17294 $as_echo_n "checking for acosf... " >&6; }
17295 if ${gcc_cv_math_func_acosf+:} false; then :
17296 $as_echo_n "(cached) " >&6
17297 else
17298 if test x$gcc_no_link = xyes; then
17299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17304 #ifdef HAVE_COMPLEX_H
17305 #include <complex.h>
17306 #endif
17307 #ifdef HAVE_MATH_H
17308 #include <math.h>
17309 #endif
17311 int (*ptr)() = (int (*)())acosf;
17314 main ()
17316 return 0;
17319 _ACEOF
17320 if ac_fn_c_try_link "$LINENO"; then :
17321 gcc_cv_math_func_acosf=yes
17322 else
17323 gcc_cv_math_func_acosf=no
17325 rm -f core conftest.err conftest.$ac_objext \
17326 conftest$ac_exeext conftest.$ac_ext
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17329 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17330 if test $gcc_cv_math_func_acosf = yes; then
17332 cat >>confdefs.h <<_ACEOF
17333 #define HAVE_ACOSF 1
17334 _ACEOF
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17342 $as_echo_n "checking for acos... " >&6; }
17343 if ${gcc_cv_math_func_acos+:} false; then :
17344 $as_echo_n "(cached) " >&6
17345 else
17346 if test x$gcc_no_link = xyes; then
17347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17352 #ifdef HAVE_COMPLEX_H
17353 #include <complex.h>
17354 #endif
17355 #ifdef HAVE_MATH_H
17356 #include <math.h>
17357 #endif
17359 int (*ptr)() = (int (*)())acos;
17362 main ()
17364 return 0;
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"; then :
17369 gcc_cv_math_func_acos=yes
17370 else
17371 gcc_cv_math_func_acos=no
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17377 $as_echo "$gcc_cv_math_func_acos" >&6; }
17378 if test $gcc_cv_math_func_acos = yes; then
17380 cat >>confdefs.h <<_ACEOF
17381 #define HAVE_ACOS 1
17382 _ACEOF
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17390 $as_echo_n "checking for acosl... " >&6; }
17391 if ${gcc_cv_math_func_acosl+:} false; then :
17392 $as_echo_n "(cached) " >&6
17393 else
17394 if test x$gcc_no_link = xyes; then
17395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17400 #ifdef HAVE_COMPLEX_H
17401 #include <complex.h>
17402 #endif
17403 #ifdef HAVE_MATH_H
17404 #include <math.h>
17405 #endif
17407 int (*ptr)() = (int (*)())acosl;
17410 main ()
17412 return 0;
17415 _ACEOF
17416 if ac_fn_c_try_link "$LINENO"; then :
17417 gcc_cv_math_func_acosl=yes
17418 else
17419 gcc_cv_math_func_acosl=no
17421 rm -f core conftest.err conftest.$ac_objext \
17422 conftest$ac_exeext conftest.$ac_ext
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17425 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17426 if test $gcc_cv_math_func_acosl = yes; then
17428 cat >>confdefs.h <<_ACEOF
17429 #define HAVE_ACOSL 1
17430 _ACEOF
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17438 $as_echo_n "checking for acoshf... " >&6; }
17439 if ${gcc_cv_math_func_acoshf+:} false; then :
17440 $as_echo_n "(cached) " >&6
17441 else
17442 if test x$gcc_no_link = xyes; then
17443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17448 #ifdef HAVE_COMPLEX_H
17449 #include <complex.h>
17450 #endif
17451 #ifdef HAVE_MATH_H
17452 #include <math.h>
17453 #endif
17455 int (*ptr)() = (int (*)())acoshf;
17458 main ()
17460 return 0;
17463 _ACEOF
17464 if ac_fn_c_try_link "$LINENO"; then :
17465 gcc_cv_math_func_acoshf=yes
17466 else
17467 gcc_cv_math_func_acoshf=no
17469 rm -f core conftest.err conftest.$ac_objext \
17470 conftest$ac_exeext conftest.$ac_ext
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17473 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17474 if test $gcc_cv_math_func_acoshf = yes; then
17476 cat >>confdefs.h <<_ACEOF
17477 #define HAVE_ACOSHF 1
17478 _ACEOF
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17486 $as_echo_n "checking for acosh... " >&6; }
17487 if ${gcc_cv_math_func_acosh+:} false; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17490 if test x$gcc_no_link = xyes; then
17491 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17496 #ifdef HAVE_COMPLEX_H
17497 #include <complex.h>
17498 #endif
17499 #ifdef HAVE_MATH_H
17500 #include <math.h>
17501 #endif
17503 int (*ptr)() = (int (*)())acosh;
17506 main ()
17508 return 0;
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"; then :
17513 gcc_cv_math_func_acosh=yes
17514 else
17515 gcc_cv_math_func_acosh=no
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17521 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17522 if test $gcc_cv_math_func_acosh = yes; then
17524 cat >>confdefs.h <<_ACEOF
17525 #define HAVE_ACOSH 1
17526 _ACEOF
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17534 $as_echo_n "checking for acoshl... " >&6; }
17535 if ${gcc_cv_math_func_acoshl+:} false; then :
17536 $as_echo_n "(cached) " >&6
17537 else
17538 if test x$gcc_no_link = xyes; then
17539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17544 #ifdef HAVE_COMPLEX_H
17545 #include <complex.h>
17546 #endif
17547 #ifdef HAVE_MATH_H
17548 #include <math.h>
17549 #endif
17551 int (*ptr)() = (int (*)())acoshl;
17554 main ()
17556 return 0;
17559 _ACEOF
17560 if ac_fn_c_try_link "$LINENO"; then :
17561 gcc_cv_math_func_acoshl=yes
17562 else
17563 gcc_cv_math_func_acoshl=no
17565 rm -f core conftest.err conftest.$ac_objext \
17566 conftest$ac_exeext conftest.$ac_ext
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17569 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17570 if test $gcc_cv_math_func_acoshl = yes; then
17572 cat >>confdefs.h <<_ACEOF
17573 #define HAVE_ACOSHL 1
17574 _ACEOF
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17582 $as_echo_n "checking for asinf... " >&6; }
17583 if ${gcc_cv_math_func_asinf+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 if test x$gcc_no_link = xyes; then
17587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17592 #ifdef HAVE_COMPLEX_H
17593 #include <complex.h>
17594 #endif
17595 #ifdef HAVE_MATH_H
17596 #include <math.h>
17597 #endif
17599 int (*ptr)() = (int (*)())asinf;
17602 main ()
17604 return 0;
17607 _ACEOF
17608 if ac_fn_c_try_link "$LINENO"; then :
17609 gcc_cv_math_func_asinf=yes
17610 else
17611 gcc_cv_math_func_asinf=no
17613 rm -f core conftest.err conftest.$ac_objext \
17614 conftest$ac_exeext conftest.$ac_ext
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17617 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17618 if test $gcc_cv_math_func_asinf = yes; then
17620 cat >>confdefs.h <<_ACEOF
17621 #define HAVE_ASINF 1
17622 _ACEOF
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17630 $as_echo_n "checking for asin... " >&6; }
17631 if ${gcc_cv_math_func_asin+:} false; then :
17632 $as_echo_n "(cached) " >&6
17633 else
17634 if test x$gcc_no_link = xyes; then
17635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 #ifdef HAVE_COMPLEX_H
17641 #include <complex.h>
17642 #endif
17643 #ifdef HAVE_MATH_H
17644 #include <math.h>
17645 #endif
17647 int (*ptr)() = (int (*)())asin;
17650 main ()
17652 return 0;
17655 _ACEOF
17656 if ac_fn_c_try_link "$LINENO"; then :
17657 gcc_cv_math_func_asin=yes
17658 else
17659 gcc_cv_math_func_asin=no
17661 rm -f core conftest.err conftest.$ac_objext \
17662 conftest$ac_exeext conftest.$ac_ext
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17665 $as_echo "$gcc_cv_math_func_asin" >&6; }
17666 if test $gcc_cv_math_func_asin = yes; then
17668 cat >>confdefs.h <<_ACEOF
17669 #define HAVE_ASIN 1
17670 _ACEOF
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17678 $as_echo_n "checking for asinl... " >&6; }
17679 if ${gcc_cv_math_func_asinl+:} false; then :
17680 $as_echo_n "(cached) " >&6
17681 else
17682 if test x$gcc_no_link = xyes; then
17683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17688 #ifdef HAVE_COMPLEX_H
17689 #include <complex.h>
17690 #endif
17691 #ifdef HAVE_MATH_H
17692 #include <math.h>
17693 #endif
17695 int (*ptr)() = (int (*)())asinl;
17698 main ()
17700 return 0;
17703 _ACEOF
17704 if ac_fn_c_try_link "$LINENO"; then :
17705 gcc_cv_math_func_asinl=yes
17706 else
17707 gcc_cv_math_func_asinl=no
17709 rm -f core conftest.err conftest.$ac_objext \
17710 conftest$ac_exeext conftest.$ac_ext
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17713 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17714 if test $gcc_cv_math_func_asinl = yes; then
17716 cat >>confdefs.h <<_ACEOF
17717 #define HAVE_ASINL 1
17718 _ACEOF
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17726 $as_echo_n "checking for asinhf... " >&6; }
17727 if ${gcc_cv_math_func_asinhf+:} false; then :
17728 $as_echo_n "(cached) " >&6
17729 else
17730 if test x$gcc_no_link = xyes; then
17731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17736 #ifdef HAVE_COMPLEX_H
17737 #include <complex.h>
17738 #endif
17739 #ifdef HAVE_MATH_H
17740 #include <math.h>
17741 #endif
17743 int (*ptr)() = (int (*)())asinhf;
17746 main ()
17748 return 0;
17751 _ACEOF
17752 if ac_fn_c_try_link "$LINENO"; then :
17753 gcc_cv_math_func_asinhf=yes
17754 else
17755 gcc_cv_math_func_asinhf=no
17757 rm -f core conftest.err conftest.$ac_objext \
17758 conftest$ac_exeext conftest.$ac_ext
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17761 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17762 if test $gcc_cv_math_func_asinhf = yes; then
17764 cat >>confdefs.h <<_ACEOF
17765 #define HAVE_ASINHF 1
17766 _ACEOF
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17774 $as_echo_n "checking for asinh... " >&6; }
17775 if ${gcc_cv_math_func_asinh+:} false; then :
17776 $as_echo_n "(cached) " >&6
17777 else
17778 if test x$gcc_no_link = xyes; then
17779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17784 #ifdef HAVE_COMPLEX_H
17785 #include <complex.h>
17786 #endif
17787 #ifdef HAVE_MATH_H
17788 #include <math.h>
17789 #endif
17791 int (*ptr)() = (int (*)())asinh;
17794 main ()
17796 return 0;
17799 _ACEOF
17800 if ac_fn_c_try_link "$LINENO"; then :
17801 gcc_cv_math_func_asinh=yes
17802 else
17803 gcc_cv_math_func_asinh=no
17805 rm -f core conftest.err conftest.$ac_objext \
17806 conftest$ac_exeext conftest.$ac_ext
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17809 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17810 if test $gcc_cv_math_func_asinh = yes; then
17812 cat >>confdefs.h <<_ACEOF
17813 #define HAVE_ASINH 1
17814 _ACEOF
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17822 $as_echo_n "checking for asinhl... " >&6; }
17823 if ${gcc_cv_math_func_asinhl+:} false; then :
17824 $as_echo_n "(cached) " >&6
17825 else
17826 if test x$gcc_no_link = xyes; then
17827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17832 #ifdef HAVE_COMPLEX_H
17833 #include <complex.h>
17834 #endif
17835 #ifdef HAVE_MATH_H
17836 #include <math.h>
17837 #endif
17839 int (*ptr)() = (int (*)())asinhl;
17842 main ()
17844 return 0;
17847 _ACEOF
17848 if ac_fn_c_try_link "$LINENO"; then :
17849 gcc_cv_math_func_asinhl=yes
17850 else
17851 gcc_cv_math_func_asinhl=no
17853 rm -f core conftest.err conftest.$ac_objext \
17854 conftest$ac_exeext conftest.$ac_ext
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17857 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17858 if test $gcc_cv_math_func_asinhl = yes; then
17860 cat >>confdefs.h <<_ACEOF
17861 #define HAVE_ASINHL 1
17862 _ACEOF
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17870 $as_echo_n "checking for atan2f... " >&6; }
17871 if ${gcc_cv_math_func_atan2f+:} false; then :
17872 $as_echo_n "(cached) " >&6
17873 else
17874 if test x$gcc_no_link = xyes; then
17875 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17880 #ifdef HAVE_COMPLEX_H
17881 #include <complex.h>
17882 #endif
17883 #ifdef HAVE_MATH_H
17884 #include <math.h>
17885 #endif
17887 int (*ptr)() = (int (*)())atan2f;
17890 main ()
17892 return 0;
17895 _ACEOF
17896 if ac_fn_c_try_link "$LINENO"; then :
17897 gcc_cv_math_func_atan2f=yes
17898 else
17899 gcc_cv_math_func_atan2f=no
17901 rm -f core conftest.err conftest.$ac_objext \
17902 conftest$ac_exeext conftest.$ac_ext
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17905 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17906 if test $gcc_cv_math_func_atan2f = yes; then
17908 cat >>confdefs.h <<_ACEOF
17909 #define HAVE_ATAN2F 1
17910 _ACEOF
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17918 $as_echo_n "checking for atan2... " >&6; }
17919 if ${gcc_cv_math_func_atan2+:} false; then :
17920 $as_echo_n "(cached) " >&6
17921 else
17922 if test x$gcc_no_link = xyes; then
17923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17928 #ifdef HAVE_COMPLEX_H
17929 #include <complex.h>
17930 #endif
17931 #ifdef HAVE_MATH_H
17932 #include <math.h>
17933 #endif
17935 int (*ptr)() = (int (*)())atan2;
17938 main ()
17940 return 0;
17943 _ACEOF
17944 if ac_fn_c_try_link "$LINENO"; then :
17945 gcc_cv_math_func_atan2=yes
17946 else
17947 gcc_cv_math_func_atan2=no
17949 rm -f core conftest.err conftest.$ac_objext \
17950 conftest$ac_exeext conftest.$ac_ext
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17953 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17954 if test $gcc_cv_math_func_atan2 = yes; then
17956 cat >>confdefs.h <<_ACEOF
17957 #define HAVE_ATAN2 1
17958 _ACEOF
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17966 $as_echo_n "checking for atan2l... " >&6; }
17967 if ${gcc_cv_math_func_atan2l+:} false; then :
17968 $as_echo_n "(cached) " >&6
17969 else
17970 if test x$gcc_no_link = xyes; then
17971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17976 #ifdef HAVE_COMPLEX_H
17977 #include <complex.h>
17978 #endif
17979 #ifdef HAVE_MATH_H
17980 #include <math.h>
17981 #endif
17983 int (*ptr)() = (int (*)())atan2l;
17986 main ()
17988 return 0;
17991 _ACEOF
17992 if ac_fn_c_try_link "$LINENO"; then :
17993 gcc_cv_math_func_atan2l=yes
17994 else
17995 gcc_cv_math_func_atan2l=no
17997 rm -f core conftest.err conftest.$ac_objext \
17998 conftest$ac_exeext conftest.$ac_ext
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18001 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18002 if test $gcc_cv_math_func_atan2l = yes; then
18004 cat >>confdefs.h <<_ACEOF
18005 #define HAVE_ATAN2L 1
18006 _ACEOF
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18014 $as_echo_n "checking for atanf... " >&6; }
18015 if ${gcc_cv_math_func_atanf+:} false; then :
18016 $as_echo_n "(cached) " >&6
18017 else
18018 if test x$gcc_no_link = xyes; then
18019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18024 #ifdef HAVE_COMPLEX_H
18025 #include <complex.h>
18026 #endif
18027 #ifdef HAVE_MATH_H
18028 #include <math.h>
18029 #endif
18031 int (*ptr)() = (int (*)())atanf;
18034 main ()
18036 return 0;
18039 _ACEOF
18040 if ac_fn_c_try_link "$LINENO"; then :
18041 gcc_cv_math_func_atanf=yes
18042 else
18043 gcc_cv_math_func_atanf=no
18045 rm -f core conftest.err conftest.$ac_objext \
18046 conftest$ac_exeext conftest.$ac_ext
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18049 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18050 if test $gcc_cv_math_func_atanf = yes; then
18052 cat >>confdefs.h <<_ACEOF
18053 #define HAVE_ATANF 1
18054 _ACEOF
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18062 $as_echo_n "checking for atan... " >&6; }
18063 if ${gcc_cv_math_func_atan+:} false; then :
18064 $as_echo_n "(cached) " >&6
18065 else
18066 if test x$gcc_no_link = xyes; then
18067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18070 /* end confdefs.h. */
18072 #ifdef HAVE_COMPLEX_H
18073 #include <complex.h>
18074 #endif
18075 #ifdef HAVE_MATH_H
18076 #include <math.h>
18077 #endif
18079 int (*ptr)() = (int (*)())atan;
18082 main ()
18084 return 0;
18087 _ACEOF
18088 if ac_fn_c_try_link "$LINENO"; then :
18089 gcc_cv_math_func_atan=yes
18090 else
18091 gcc_cv_math_func_atan=no
18093 rm -f core conftest.err conftest.$ac_objext \
18094 conftest$ac_exeext conftest.$ac_ext
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18097 $as_echo "$gcc_cv_math_func_atan" >&6; }
18098 if test $gcc_cv_math_func_atan = yes; then
18100 cat >>confdefs.h <<_ACEOF
18101 #define HAVE_ATAN 1
18102 _ACEOF
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18110 $as_echo_n "checking for atanl... " >&6; }
18111 if ${gcc_cv_math_func_atanl+:} false; then :
18112 $as_echo_n "(cached) " >&6
18113 else
18114 if test x$gcc_no_link = xyes; then
18115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 #ifdef HAVE_COMPLEX_H
18121 #include <complex.h>
18122 #endif
18123 #ifdef HAVE_MATH_H
18124 #include <math.h>
18125 #endif
18127 int (*ptr)() = (int (*)())atanl;
18130 main ()
18132 return 0;
18135 _ACEOF
18136 if ac_fn_c_try_link "$LINENO"; then :
18137 gcc_cv_math_func_atanl=yes
18138 else
18139 gcc_cv_math_func_atanl=no
18141 rm -f core conftest.err conftest.$ac_objext \
18142 conftest$ac_exeext conftest.$ac_ext
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18145 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18146 if test $gcc_cv_math_func_atanl = yes; then
18148 cat >>confdefs.h <<_ACEOF
18149 #define HAVE_ATANL 1
18150 _ACEOF
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18158 $as_echo_n "checking for atanhf... " >&6; }
18159 if ${gcc_cv_math_func_atanhf+:} false; then :
18160 $as_echo_n "(cached) " >&6
18161 else
18162 if test x$gcc_no_link = xyes; then
18163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18168 #ifdef HAVE_COMPLEX_H
18169 #include <complex.h>
18170 #endif
18171 #ifdef HAVE_MATH_H
18172 #include <math.h>
18173 #endif
18175 int (*ptr)() = (int (*)())atanhf;
18178 main ()
18180 return 0;
18183 _ACEOF
18184 if ac_fn_c_try_link "$LINENO"; then :
18185 gcc_cv_math_func_atanhf=yes
18186 else
18187 gcc_cv_math_func_atanhf=no
18189 rm -f core conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext conftest.$ac_ext
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18193 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18194 if test $gcc_cv_math_func_atanhf = yes; then
18196 cat >>confdefs.h <<_ACEOF
18197 #define HAVE_ATANHF 1
18198 _ACEOF
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18206 $as_echo_n "checking for atanh... " >&6; }
18207 if ${gcc_cv_math_func_atanh+:} false; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18210 if test x$gcc_no_link = xyes; then
18211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18216 #ifdef HAVE_COMPLEX_H
18217 #include <complex.h>
18218 #endif
18219 #ifdef HAVE_MATH_H
18220 #include <math.h>
18221 #endif
18223 int (*ptr)() = (int (*)())atanh;
18226 main ()
18228 return 0;
18231 _ACEOF
18232 if ac_fn_c_try_link "$LINENO"; then :
18233 gcc_cv_math_func_atanh=yes
18234 else
18235 gcc_cv_math_func_atanh=no
18237 rm -f core conftest.err conftest.$ac_objext \
18238 conftest$ac_exeext conftest.$ac_ext
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18241 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18242 if test $gcc_cv_math_func_atanh = yes; then
18244 cat >>confdefs.h <<_ACEOF
18245 #define HAVE_ATANH 1
18246 _ACEOF
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18254 $as_echo_n "checking for atanhl... " >&6; }
18255 if ${gcc_cv_math_func_atanhl+:} false; then :
18256 $as_echo_n "(cached) " >&6
18257 else
18258 if test x$gcc_no_link = xyes; then
18259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18264 #ifdef HAVE_COMPLEX_H
18265 #include <complex.h>
18266 #endif
18267 #ifdef HAVE_MATH_H
18268 #include <math.h>
18269 #endif
18271 int (*ptr)() = (int (*)())atanhl;
18274 main ()
18276 return 0;
18279 _ACEOF
18280 if ac_fn_c_try_link "$LINENO"; then :
18281 gcc_cv_math_func_atanhl=yes
18282 else
18283 gcc_cv_math_func_atanhl=no
18285 rm -f core conftest.err conftest.$ac_objext \
18286 conftest$ac_exeext conftest.$ac_ext
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18289 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18290 if test $gcc_cv_math_func_atanhl = yes; then
18292 cat >>confdefs.h <<_ACEOF
18293 #define HAVE_ATANHL 1
18294 _ACEOF
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18302 $as_echo_n "checking for cargf... " >&6; }
18303 if ${gcc_cv_math_func_cargf+:} false; then :
18304 $as_echo_n "(cached) " >&6
18305 else
18306 if test x$gcc_no_link = xyes; then
18307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18312 #ifdef HAVE_COMPLEX_H
18313 #include <complex.h>
18314 #endif
18315 #ifdef HAVE_MATH_H
18316 #include <math.h>
18317 #endif
18319 int (*ptr)() = (int (*)())cargf;
18322 main ()
18324 return 0;
18327 _ACEOF
18328 if ac_fn_c_try_link "$LINENO"; then :
18329 gcc_cv_math_func_cargf=yes
18330 else
18331 gcc_cv_math_func_cargf=no
18333 rm -f core conftest.err conftest.$ac_objext \
18334 conftest$ac_exeext conftest.$ac_ext
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18337 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18338 if test $gcc_cv_math_func_cargf = yes; then
18340 cat >>confdefs.h <<_ACEOF
18341 #define HAVE_CARGF 1
18342 _ACEOF
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18350 $as_echo_n "checking for carg... " >&6; }
18351 if ${gcc_cv_math_func_carg+:} false; then :
18352 $as_echo_n "(cached) " >&6
18353 else
18354 if test x$gcc_no_link = xyes; then
18355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18360 #ifdef HAVE_COMPLEX_H
18361 #include <complex.h>
18362 #endif
18363 #ifdef HAVE_MATH_H
18364 #include <math.h>
18365 #endif
18367 int (*ptr)() = (int (*)())carg;
18370 main ()
18372 return 0;
18375 _ACEOF
18376 if ac_fn_c_try_link "$LINENO"; then :
18377 gcc_cv_math_func_carg=yes
18378 else
18379 gcc_cv_math_func_carg=no
18381 rm -f core conftest.err conftest.$ac_objext \
18382 conftest$ac_exeext conftest.$ac_ext
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18385 $as_echo "$gcc_cv_math_func_carg" >&6; }
18386 if test $gcc_cv_math_func_carg = yes; then
18388 cat >>confdefs.h <<_ACEOF
18389 #define HAVE_CARG 1
18390 _ACEOF
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18398 $as_echo_n "checking for cargl... " >&6; }
18399 if ${gcc_cv_math_func_cargl+:} false; then :
18400 $as_echo_n "(cached) " >&6
18401 else
18402 if test x$gcc_no_link = xyes; then
18403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18408 #ifdef HAVE_COMPLEX_H
18409 #include <complex.h>
18410 #endif
18411 #ifdef HAVE_MATH_H
18412 #include <math.h>
18413 #endif
18415 int (*ptr)() = (int (*)())cargl;
18418 main ()
18420 return 0;
18423 _ACEOF
18424 if ac_fn_c_try_link "$LINENO"; then :
18425 gcc_cv_math_func_cargl=yes
18426 else
18427 gcc_cv_math_func_cargl=no
18429 rm -f core conftest.err conftest.$ac_objext \
18430 conftest$ac_exeext conftest.$ac_ext
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18433 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18434 if test $gcc_cv_math_func_cargl = yes; then
18436 cat >>confdefs.h <<_ACEOF
18437 #define HAVE_CARGL 1
18438 _ACEOF
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18446 $as_echo_n "checking for ceilf... " >&6; }
18447 if ${gcc_cv_math_func_ceilf+:} false; then :
18448 $as_echo_n "(cached) " >&6
18449 else
18450 if test x$gcc_no_link = xyes; then
18451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18454 /* end confdefs.h. */
18456 #ifdef HAVE_COMPLEX_H
18457 #include <complex.h>
18458 #endif
18459 #ifdef HAVE_MATH_H
18460 #include <math.h>
18461 #endif
18463 int (*ptr)() = (int (*)())ceilf;
18466 main ()
18468 return 0;
18471 _ACEOF
18472 if ac_fn_c_try_link "$LINENO"; then :
18473 gcc_cv_math_func_ceilf=yes
18474 else
18475 gcc_cv_math_func_ceilf=no
18477 rm -f core conftest.err conftest.$ac_objext \
18478 conftest$ac_exeext conftest.$ac_ext
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18481 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18482 if test $gcc_cv_math_func_ceilf = yes; then
18484 cat >>confdefs.h <<_ACEOF
18485 #define HAVE_CEILF 1
18486 _ACEOF
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18494 $as_echo_n "checking for ceil... " >&6; }
18495 if ${gcc_cv_math_func_ceil+:} false; then :
18496 $as_echo_n "(cached) " >&6
18497 else
18498 if test x$gcc_no_link = xyes; then
18499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18504 #ifdef HAVE_COMPLEX_H
18505 #include <complex.h>
18506 #endif
18507 #ifdef HAVE_MATH_H
18508 #include <math.h>
18509 #endif
18511 int (*ptr)() = (int (*)())ceil;
18514 main ()
18516 return 0;
18519 _ACEOF
18520 if ac_fn_c_try_link "$LINENO"; then :
18521 gcc_cv_math_func_ceil=yes
18522 else
18523 gcc_cv_math_func_ceil=no
18525 rm -f core conftest.err conftest.$ac_objext \
18526 conftest$ac_exeext conftest.$ac_ext
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18529 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18530 if test $gcc_cv_math_func_ceil = yes; then
18532 cat >>confdefs.h <<_ACEOF
18533 #define HAVE_CEIL 1
18534 _ACEOF
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18542 $as_echo_n "checking for ceill... " >&6; }
18543 if ${gcc_cv_math_func_ceill+:} false; then :
18544 $as_echo_n "(cached) " >&6
18545 else
18546 if test x$gcc_no_link = xyes; then
18547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18552 #ifdef HAVE_COMPLEX_H
18553 #include <complex.h>
18554 #endif
18555 #ifdef HAVE_MATH_H
18556 #include <math.h>
18557 #endif
18559 int (*ptr)() = (int (*)())ceill;
18562 main ()
18564 return 0;
18567 _ACEOF
18568 if ac_fn_c_try_link "$LINENO"; then :
18569 gcc_cv_math_func_ceill=yes
18570 else
18571 gcc_cv_math_func_ceill=no
18573 rm -f core conftest.err conftest.$ac_objext \
18574 conftest$ac_exeext conftest.$ac_ext
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18577 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18578 if test $gcc_cv_math_func_ceill = yes; then
18580 cat >>confdefs.h <<_ACEOF
18581 #define HAVE_CEILL 1
18582 _ACEOF
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18590 $as_echo_n "checking for copysignf... " >&6; }
18591 if ${gcc_cv_math_func_copysignf+:} false; then :
18592 $as_echo_n "(cached) " >&6
18593 else
18594 if test x$gcc_no_link = xyes; then
18595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18600 #ifdef HAVE_COMPLEX_H
18601 #include <complex.h>
18602 #endif
18603 #ifdef HAVE_MATH_H
18604 #include <math.h>
18605 #endif
18607 int (*ptr)() = (int (*)())copysignf;
18610 main ()
18612 return 0;
18615 _ACEOF
18616 if ac_fn_c_try_link "$LINENO"; then :
18617 gcc_cv_math_func_copysignf=yes
18618 else
18619 gcc_cv_math_func_copysignf=no
18621 rm -f core conftest.err conftest.$ac_objext \
18622 conftest$ac_exeext conftest.$ac_ext
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18625 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18626 if test $gcc_cv_math_func_copysignf = yes; then
18628 cat >>confdefs.h <<_ACEOF
18629 #define HAVE_COPYSIGNF 1
18630 _ACEOF
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18638 $as_echo_n "checking for copysign... " >&6; }
18639 if ${gcc_cv_math_func_copysign+:} false; then :
18640 $as_echo_n "(cached) " >&6
18641 else
18642 if test x$gcc_no_link = xyes; then
18643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18648 #ifdef HAVE_COMPLEX_H
18649 #include <complex.h>
18650 #endif
18651 #ifdef HAVE_MATH_H
18652 #include <math.h>
18653 #endif
18655 int (*ptr)() = (int (*)())copysign;
18658 main ()
18660 return 0;
18663 _ACEOF
18664 if ac_fn_c_try_link "$LINENO"; then :
18665 gcc_cv_math_func_copysign=yes
18666 else
18667 gcc_cv_math_func_copysign=no
18669 rm -f core conftest.err conftest.$ac_objext \
18670 conftest$ac_exeext conftest.$ac_ext
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18673 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18674 if test $gcc_cv_math_func_copysign = yes; then
18676 cat >>confdefs.h <<_ACEOF
18677 #define HAVE_COPYSIGN 1
18678 _ACEOF
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18686 $as_echo_n "checking for copysignl... " >&6; }
18687 if ${gcc_cv_math_func_copysignl+:} false; then :
18688 $as_echo_n "(cached) " >&6
18689 else
18690 if test x$gcc_no_link = xyes; then
18691 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18696 #ifdef HAVE_COMPLEX_H
18697 #include <complex.h>
18698 #endif
18699 #ifdef HAVE_MATH_H
18700 #include <math.h>
18701 #endif
18703 int (*ptr)() = (int (*)())copysignl;
18706 main ()
18708 return 0;
18711 _ACEOF
18712 if ac_fn_c_try_link "$LINENO"; then :
18713 gcc_cv_math_func_copysignl=yes
18714 else
18715 gcc_cv_math_func_copysignl=no
18717 rm -f core conftest.err conftest.$ac_objext \
18718 conftest$ac_exeext conftest.$ac_ext
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18721 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18722 if test $gcc_cv_math_func_copysignl = yes; then
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_COPYSIGNL 1
18726 _ACEOF
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18734 $as_echo_n "checking for cosf... " >&6; }
18735 if ${gcc_cv_math_func_cosf+:} false; then :
18736 $as_echo_n "(cached) " >&6
18737 else
18738 if test x$gcc_no_link = xyes; then
18739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18744 #ifdef HAVE_COMPLEX_H
18745 #include <complex.h>
18746 #endif
18747 #ifdef HAVE_MATH_H
18748 #include <math.h>
18749 #endif
18751 int (*ptr)() = (int (*)())cosf;
18754 main ()
18756 return 0;
18759 _ACEOF
18760 if ac_fn_c_try_link "$LINENO"; then :
18761 gcc_cv_math_func_cosf=yes
18762 else
18763 gcc_cv_math_func_cosf=no
18765 rm -f core conftest.err conftest.$ac_objext \
18766 conftest$ac_exeext conftest.$ac_ext
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18769 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18770 if test $gcc_cv_math_func_cosf = yes; then
18772 cat >>confdefs.h <<_ACEOF
18773 #define HAVE_COSF 1
18774 _ACEOF
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18782 $as_echo_n "checking for cos... " >&6; }
18783 if ${gcc_cv_math_func_cos+:} false; then :
18784 $as_echo_n "(cached) " >&6
18785 else
18786 if test x$gcc_no_link = xyes; then
18787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18792 #ifdef HAVE_COMPLEX_H
18793 #include <complex.h>
18794 #endif
18795 #ifdef HAVE_MATH_H
18796 #include <math.h>
18797 #endif
18799 int (*ptr)() = (int (*)())cos;
18802 main ()
18804 return 0;
18807 _ACEOF
18808 if ac_fn_c_try_link "$LINENO"; then :
18809 gcc_cv_math_func_cos=yes
18810 else
18811 gcc_cv_math_func_cos=no
18813 rm -f core conftest.err conftest.$ac_objext \
18814 conftest$ac_exeext conftest.$ac_ext
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18817 $as_echo "$gcc_cv_math_func_cos" >&6; }
18818 if test $gcc_cv_math_func_cos = yes; then
18820 cat >>confdefs.h <<_ACEOF
18821 #define HAVE_COS 1
18822 _ACEOF
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18830 $as_echo_n "checking for cosl... " >&6; }
18831 if ${gcc_cv_math_func_cosl+:} false; then :
18832 $as_echo_n "(cached) " >&6
18833 else
18834 if test x$gcc_no_link = xyes; then
18835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18840 #ifdef HAVE_COMPLEX_H
18841 #include <complex.h>
18842 #endif
18843 #ifdef HAVE_MATH_H
18844 #include <math.h>
18845 #endif
18847 int (*ptr)() = (int (*)())cosl;
18850 main ()
18852 return 0;
18855 _ACEOF
18856 if ac_fn_c_try_link "$LINENO"; then :
18857 gcc_cv_math_func_cosl=yes
18858 else
18859 gcc_cv_math_func_cosl=no
18861 rm -f core conftest.err conftest.$ac_objext \
18862 conftest$ac_exeext conftest.$ac_ext
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18865 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18866 if test $gcc_cv_math_func_cosl = yes; then
18868 cat >>confdefs.h <<_ACEOF
18869 #define HAVE_COSL 1
18870 _ACEOF
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18878 $as_echo_n "checking for ccosf... " >&6; }
18879 if ${gcc_cv_math_func_ccosf+:} false; then :
18880 $as_echo_n "(cached) " >&6
18881 else
18882 if test x$gcc_no_link = xyes; then
18883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18888 #ifdef HAVE_COMPLEX_H
18889 #include <complex.h>
18890 #endif
18891 #ifdef HAVE_MATH_H
18892 #include <math.h>
18893 #endif
18895 int (*ptr)() = (int (*)())ccosf;
18898 main ()
18900 return 0;
18903 _ACEOF
18904 if ac_fn_c_try_link "$LINENO"; then :
18905 gcc_cv_math_func_ccosf=yes
18906 else
18907 gcc_cv_math_func_ccosf=no
18909 rm -f core conftest.err conftest.$ac_objext \
18910 conftest$ac_exeext conftest.$ac_ext
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18913 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18914 if test $gcc_cv_math_func_ccosf = yes; then
18916 cat >>confdefs.h <<_ACEOF
18917 #define HAVE_CCOSF 1
18918 _ACEOF
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18926 $as_echo_n "checking for ccos... " >&6; }
18927 if ${gcc_cv_math_func_ccos+:} false; then :
18928 $as_echo_n "(cached) " >&6
18929 else
18930 if test x$gcc_no_link = xyes; then
18931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18936 #ifdef HAVE_COMPLEX_H
18937 #include <complex.h>
18938 #endif
18939 #ifdef HAVE_MATH_H
18940 #include <math.h>
18941 #endif
18943 int (*ptr)() = (int (*)())ccos;
18946 main ()
18948 return 0;
18951 _ACEOF
18952 if ac_fn_c_try_link "$LINENO"; then :
18953 gcc_cv_math_func_ccos=yes
18954 else
18955 gcc_cv_math_func_ccos=no
18957 rm -f core conftest.err conftest.$ac_objext \
18958 conftest$ac_exeext conftest.$ac_ext
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18961 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18962 if test $gcc_cv_math_func_ccos = yes; then
18964 cat >>confdefs.h <<_ACEOF
18965 #define HAVE_CCOS 1
18966 _ACEOF
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18974 $as_echo_n "checking for ccosl... " >&6; }
18975 if ${gcc_cv_math_func_ccosl+:} false; then :
18976 $as_echo_n "(cached) " >&6
18977 else
18978 if test x$gcc_no_link = xyes; then
18979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18984 #ifdef HAVE_COMPLEX_H
18985 #include <complex.h>
18986 #endif
18987 #ifdef HAVE_MATH_H
18988 #include <math.h>
18989 #endif
18991 int (*ptr)() = (int (*)())ccosl;
18994 main ()
18996 return 0;
18999 _ACEOF
19000 if ac_fn_c_try_link "$LINENO"; then :
19001 gcc_cv_math_func_ccosl=yes
19002 else
19003 gcc_cv_math_func_ccosl=no
19005 rm -f core conftest.err conftest.$ac_objext \
19006 conftest$ac_exeext conftest.$ac_ext
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19009 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19010 if test $gcc_cv_math_func_ccosl = yes; then
19012 cat >>confdefs.h <<_ACEOF
19013 #define HAVE_CCOSL 1
19014 _ACEOF
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19022 $as_echo_n "checking for coshf... " >&6; }
19023 if ${gcc_cv_math_func_coshf+:} false; then :
19024 $as_echo_n "(cached) " >&6
19025 else
19026 if test x$gcc_no_link = xyes; then
19027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19032 #ifdef HAVE_COMPLEX_H
19033 #include <complex.h>
19034 #endif
19035 #ifdef HAVE_MATH_H
19036 #include <math.h>
19037 #endif
19039 int (*ptr)() = (int (*)())coshf;
19042 main ()
19044 return 0;
19047 _ACEOF
19048 if ac_fn_c_try_link "$LINENO"; then :
19049 gcc_cv_math_func_coshf=yes
19050 else
19051 gcc_cv_math_func_coshf=no
19053 rm -f core conftest.err conftest.$ac_objext \
19054 conftest$ac_exeext conftest.$ac_ext
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19057 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19058 if test $gcc_cv_math_func_coshf = yes; then
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_COSHF 1
19062 _ACEOF
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19070 $as_echo_n "checking for cosh... " >&6; }
19071 if ${gcc_cv_math_func_cosh+:} false; then :
19072 $as_echo_n "(cached) " >&6
19073 else
19074 if test x$gcc_no_link = xyes; then
19075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19080 #ifdef HAVE_COMPLEX_H
19081 #include <complex.h>
19082 #endif
19083 #ifdef HAVE_MATH_H
19084 #include <math.h>
19085 #endif
19087 int (*ptr)() = (int (*)())cosh;
19090 main ()
19092 return 0;
19095 _ACEOF
19096 if ac_fn_c_try_link "$LINENO"; then :
19097 gcc_cv_math_func_cosh=yes
19098 else
19099 gcc_cv_math_func_cosh=no
19101 rm -f core conftest.err conftest.$ac_objext \
19102 conftest$ac_exeext conftest.$ac_ext
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19105 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19106 if test $gcc_cv_math_func_cosh = yes; then
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_COSH 1
19110 _ACEOF
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19118 $as_echo_n "checking for coshl... " >&6; }
19119 if ${gcc_cv_math_func_coshl+:} false; then :
19120 $as_echo_n "(cached) " >&6
19121 else
19122 if test x$gcc_no_link = xyes; then
19123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19126 /* end confdefs.h. */
19128 #ifdef HAVE_COMPLEX_H
19129 #include <complex.h>
19130 #endif
19131 #ifdef HAVE_MATH_H
19132 #include <math.h>
19133 #endif
19135 int (*ptr)() = (int (*)())coshl;
19138 main ()
19140 return 0;
19143 _ACEOF
19144 if ac_fn_c_try_link "$LINENO"; then :
19145 gcc_cv_math_func_coshl=yes
19146 else
19147 gcc_cv_math_func_coshl=no
19149 rm -f core conftest.err conftest.$ac_objext \
19150 conftest$ac_exeext conftest.$ac_ext
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19153 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19154 if test $gcc_cv_math_func_coshl = yes; then
19156 cat >>confdefs.h <<_ACEOF
19157 #define HAVE_COSHL 1
19158 _ACEOF
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19166 $as_echo_n "checking for ccoshf... " >&6; }
19167 if ${gcc_cv_math_func_ccoshf+:} false; then :
19168 $as_echo_n "(cached) " >&6
19169 else
19170 if test x$gcc_no_link = xyes; then
19171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19176 #ifdef HAVE_COMPLEX_H
19177 #include <complex.h>
19178 #endif
19179 #ifdef HAVE_MATH_H
19180 #include <math.h>
19181 #endif
19183 int (*ptr)() = (int (*)())ccoshf;
19186 main ()
19188 return 0;
19191 _ACEOF
19192 if ac_fn_c_try_link "$LINENO"; then :
19193 gcc_cv_math_func_ccoshf=yes
19194 else
19195 gcc_cv_math_func_ccoshf=no
19197 rm -f core conftest.err conftest.$ac_objext \
19198 conftest$ac_exeext conftest.$ac_ext
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19201 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19202 if test $gcc_cv_math_func_ccoshf = yes; then
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_CCOSHF 1
19206 _ACEOF
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19214 $as_echo_n "checking for ccosh... " >&6; }
19215 if ${gcc_cv_math_func_ccosh+:} false; then :
19216 $as_echo_n "(cached) " >&6
19217 else
19218 if test x$gcc_no_link = xyes; then
19219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19224 #ifdef HAVE_COMPLEX_H
19225 #include <complex.h>
19226 #endif
19227 #ifdef HAVE_MATH_H
19228 #include <math.h>
19229 #endif
19231 int (*ptr)() = (int (*)())ccosh;
19234 main ()
19236 return 0;
19239 _ACEOF
19240 if ac_fn_c_try_link "$LINENO"; then :
19241 gcc_cv_math_func_ccosh=yes
19242 else
19243 gcc_cv_math_func_ccosh=no
19245 rm -f core conftest.err conftest.$ac_objext \
19246 conftest$ac_exeext conftest.$ac_ext
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19249 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19250 if test $gcc_cv_math_func_ccosh = yes; then
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_CCOSH 1
19254 _ACEOF
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19262 $as_echo_n "checking for ccoshl... " >&6; }
19263 if ${gcc_cv_math_func_ccoshl+:} false; then :
19264 $as_echo_n "(cached) " >&6
19265 else
19266 if test x$gcc_no_link = xyes; then
19267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19272 #ifdef HAVE_COMPLEX_H
19273 #include <complex.h>
19274 #endif
19275 #ifdef HAVE_MATH_H
19276 #include <math.h>
19277 #endif
19279 int (*ptr)() = (int (*)())ccoshl;
19282 main ()
19284 return 0;
19287 _ACEOF
19288 if ac_fn_c_try_link "$LINENO"; then :
19289 gcc_cv_math_func_ccoshl=yes
19290 else
19291 gcc_cv_math_func_ccoshl=no
19293 rm -f core conftest.err conftest.$ac_objext \
19294 conftest$ac_exeext conftest.$ac_ext
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19297 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19298 if test $gcc_cv_math_func_ccoshl = yes; then
19300 cat >>confdefs.h <<_ACEOF
19301 #define HAVE_CCOSHL 1
19302 _ACEOF
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19310 $as_echo_n "checking for expf... " >&6; }
19311 if ${gcc_cv_math_func_expf+:} false; then :
19312 $as_echo_n "(cached) " >&6
19313 else
19314 if test x$gcc_no_link = xyes; then
19315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19318 /* end confdefs.h. */
19320 #ifdef HAVE_COMPLEX_H
19321 #include <complex.h>
19322 #endif
19323 #ifdef HAVE_MATH_H
19324 #include <math.h>
19325 #endif
19327 int (*ptr)() = (int (*)())expf;
19330 main ()
19332 return 0;
19335 _ACEOF
19336 if ac_fn_c_try_link "$LINENO"; then :
19337 gcc_cv_math_func_expf=yes
19338 else
19339 gcc_cv_math_func_expf=no
19341 rm -f core conftest.err conftest.$ac_objext \
19342 conftest$ac_exeext conftest.$ac_ext
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19345 $as_echo "$gcc_cv_math_func_expf" >&6; }
19346 if test $gcc_cv_math_func_expf = yes; then
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_EXPF 1
19350 _ACEOF
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19358 $as_echo_n "checking for exp... " >&6; }
19359 if ${gcc_cv_math_func_exp+:} false; then :
19360 $as_echo_n "(cached) " >&6
19361 else
19362 if test x$gcc_no_link = xyes; then
19363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19368 #ifdef HAVE_COMPLEX_H
19369 #include <complex.h>
19370 #endif
19371 #ifdef HAVE_MATH_H
19372 #include <math.h>
19373 #endif
19375 int (*ptr)() = (int (*)())exp;
19378 main ()
19380 return 0;
19383 _ACEOF
19384 if ac_fn_c_try_link "$LINENO"; then :
19385 gcc_cv_math_func_exp=yes
19386 else
19387 gcc_cv_math_func_exp=no
19389 rm -f core conftest.err conftest.$ac_objext \
19390 conftest$ac_exeext conftest.$ac_ext
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19393 $as_echo "$gcc_cv_math_func_exp" >&6; }
19394 if test $gcc_cv_math_func_exp = yes; then
19396 cat >>confdefs.h <<_ACEOF
19397 #define HAVE_EXP 1
19398 _ACEOF
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19406 $as_echo_n "checking for expl... " >&6; }
19407 if ${gcc_cv_math_func_expl+:} false; then :
19408 $as_echo_n "(cached) " >&6
19409 else
19410 if test x$gcc_no_link = xyes; then
19411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19416 #ifdef HAVE_COMPLEX_H
19417 #include <complex.h>
19418 #endif
19419 #ifdef HAVE_MATH_H
19420 #include <math.h>
19421 #endif
19423 int (*ptr)() = (int (*)())expl;
19426 main ()
19428 return 0;
19431 _ACEOF
19432 if ac_fn_c_try_link "$LINENO"; then :
19433 gcc_cv_math_func_expl=yes
19434 else
19435 gcc_cv_math_func_expl=no
19437 rm -f core conftest.err conftest.$ac_objext \
19438 conftest$ac_exeext conftest.$ac_ext
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19441 $as_echo "$gcc_cv_math_func_expl" >&6; }
19442 if test $gcc_cv_math_func_expl = yes; then
19444 cat >>confdefs.h <<_ACEOF
19445 #define HAVE_EXPL 1
19446 _ACEOF
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19454 $as_echo_n "checking for cexpf... " >&6; }
19455 if ${gcc_cv_math_func_cexpf+:} false; then :
19456 $as_echo_n "(cached) " >&6
19457 else
19458 if test x$gcc_no_link = xyes; then
19459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19464 #ifdef HAVE_COMPLEX_H
19465 #include <complex.h>
19466 #endif
19467 #ifdef HAVE_MATH_H
19468 #include <math.h>
19469 #endif
19471 int (*ptr)() = (int (*)())cexpf;
19474 main ()
19476 return 0;
19479 _ACEOF
19480 if ac_fn_c_try_link "$LINENO"; then :
19481 gcc_cv_math_func_cexpf=yes
19482 else
19483 gcc_cv_math_func_cexpf=no
19485 rm -f core conftest.err conftest.$ac_objext \
19486 conftest$ac_exeext conftest.$ac_ext
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19489 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19490 if test $gcc_cv_math_func_cexpf = yes; then
19492 cat >>confdefs.h <<_ACEOF
19493 #define HAVE_CEXPF 1
19494 _ACEOF
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19502 $as_echo_n "checking for cexp... " >&6; }
19503 if ${gcc_cv_math_func_cexp+:} false; then :
19504 $as_echo_n "(cached) " >&6
19505 else
19506 if test x$gcc_no_link = xyes; then
19507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19512 #ifdef HAVE_COMPLEX_H
19513 #include <complex.h>
19514 #endif
19515 #ifdef HAVE_MATH_H
19516 #include <math.h>
19517 #endif
19519 int (*ptr)() = (int (*)())cexp;
19522 main ()
19524 return 0;
19527 _ACEOF
19528 if ac_fn_c_try_link "$LINENO"; then :
19529 gcc_cv_math_func_cexp=yes
19530 else
19531 gcc_cv_math_func_cexp=no
19533 rm -f core conftest.err conftest.$ac_objext \
19534 conftest$ac_exeext conftest.$ac_ext
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19537 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19538 if test $gcc_cv_math_func_cexp = yes; then
19540 cat >>confdefs.h <<_ACEOF
19541 #define HAVE_CEXP 1
19542 _ACEOF
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19550 $as_echo_n "checking for cexpl... " >&6; }
19551 if ${gcc_cv_math_func_cexpl+:} false; then :
19552 $as_echo_n "(cached) " >&6
19553 else
19554 if test x$gcc_no_link = xyes; then
19555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19560 #ifdef HAVE_COMPLEX_H
19561 #include <complex.h>
19562 #endif
19563 #ifdef HAVE_MATH_H
19564 #include <math.h>
19565 #endif
19567 int (*ptr)() = (int (*)())cexpl;
19570 main ()
19572 return 0;
19575 _ACEOF
19576 if ac_fn_c_try_link "$LINENO"; then :
19577 gcc_cv_math_func_cexpl=yes
19578 else
19579 gcc_cv_math_func_cexpl=no
19581 rm -f core conftest.err conftest.$ac_objext \
19582 conftest$ac_exeext conftest.$ac_ext
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19585 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19586 if test $gcc_cv_math_func_cexpl = yes; then
19588 cat >>confdefs.h <<_ACEOF
19589 #define HAVE_CEXPL 1
19590 _ACEOF
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19598 $as_echo_n "checking for fabsf... " >&6; }
19599 if ${gcc_cv_math_func_fabsf+:} false; then :
19600 $as_echo_n "(cached) " >&6
19601 else
19602 if test x$gcc_no_link = xyes; then
19603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h. */
19608 #ifdef HAVE_COMPLEX_H
19609 #include <complex.h>
19610 #endif
19611 #ifdef HAVE_MATH_H
19612 #include <math.h>
19613 #endif
19615 int (*ptr)() = (int (*)())fabsf;
19618 main ()
19620 return 0;
19623 _ACEOF
19624 if ac_fn_c_try_link "$LINENO"; then :
19625 gcc_cv_math_func_fabsf=yes
19626 else
19627 gcc_cv_math_func_fabsf=no
19629 rm -f core conftest.err conftest.$ac_objext \
19630 conftest$ac_exeext conftest.$ac_ext
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19633 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19634 if test $gcc_cv_math_func_fabsf = yes; then
19636 cat >>confdefs.h <<_ACEOF
19637 #define HAVE_FABSF 1
19638 _ACEOF
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19646 $as_echo_n "checking for fabs... " >&6; }
19647 if ${gcc_cv_math_func_fabs+:} false; then :
19648 $as_echo_n "(cached) " >&6
19649 else
19650 if test x$gcc_no_link = xyes; then
19651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19656 #ifdef HAVE_COMPLEX_H
19657 #include <complex.h>
19658 #endif
19659 #ifdef HAVE_MATH_H
19660 #include <math.h>
19661 #endif
19663 int (*ptr)() = (int (*)())fabs;
19666 main ()
19668 return 0;
19671 _ACEOF
19672 if ac_fn_c_try_link "$LINENO"; then :
19673 gcc_cv_math_func_fabs=yes
19674 else
19675 gcc_cv_math_func_fabs=no
19677 rm -f core conftest.err conftest.$ac_objext \
19678 conftest$ac_exeext conftest.$ac_ext
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19681 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19682 if test $gcc_cv_math_func_fabs = yes; then
19684 cat >>confdefs.h <<_ACEOF
19685 #define HAVE_FABS 1
19686 _ACEOF
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19694 $as_echo_n "checking for fabsl... " >&6; }
19695 if ${gcc_cv_math_func_fabsl+:} false; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 if test x$gcc_no_link = xyes; then
19699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19704 #ifdef HAVE_COMPLEX_H
19705 #include <complex.h>
19706 #endif
19707 #ifdef HAVE_MATH_H
19708 #include <math.h>
19709 #endif
19711 int (*ptr)() = (int (*)())fabsl;
19714 main ()
19716 return 0;
19719 _ACEOF
19720 if ac_fn_c_try_link "$LINENO"; then :
19721 gcc_cv_math_func_fabsl=yes
19722 else
19723 gcc_cv_math_func_fabsl=no
19725 rm -f core conftest.err conftest.$ac_objext \
19726 conftest$ac_exeext conftest.$ac_ext
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19729 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19730 if test $gcc_cv_math_func_fabsl = yes; then
19732 cat >>confdefs.h <<_ACEOF
19733 #define HAVE_FABSL 1
19734 _ACEOF
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19742 $as_echo_n "checking for cabsf... " >&6; }
19743 if ${gcc_cv_math_func_cabsf+:} false; then :
19744 $as_echo_n "(cached) " >&6
19745 else
19746 if test x$gcc_no_link = xyes; then
19747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19752 #ifdef HAVE_COMPLEX_H
19753 #include <complex.h>
19754 #endif
19755 #ifdef HAVE_MATH_H
19756 #include <math.h>
19757 #endif
19759 int (*ptr)() = (int (*)())cabsf;
19762 main ()
19764 return 0;
19767 _ACEOF
19768 if ac_fn_c_try_link "$LINENO"; then :
19769 gcc_cv_math_func_cabsf=yes
19770 else
19771 gcc_cv_math_func_cabsf=no
19773 rm -f core conftest.err conftest.$ac_objext \
19774 conftest$ac_exeext conftest.$ac_ext
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19777 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19778 if test $gcc_cv_math_func_cabsf = yes; then
19780 cat >>confdefs.h <<_ACEOF
19781 #define HAVE_CABSF 1
19782 _ACEOF
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19790 $as_echo_n "checking for cabs... " >&6; }
19791 if ${gcc_cv_math_func_cabs+:} false; then :
19792 $as_echo_n "(cached) " >&6
19793 else
19794 if test x$gcc_no_link = xyes; then
19795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19800 #ifdef HAVE_COMPLEX_H
19801 #include <complex.h>
19802 #endif
19803 #ifdef HAVE_MATH_H
19804 #include <math.h>
19805 #endif
19807 int (*ptr)() = (int (*)())cabs;
19810 main ()
19812 return 0;
19815 _ACEOF
19816 if ac_fn_c_try_link "$LINENO"; then :
19817 gcc_cv_math_func_cabs=yes
19818 else
19819 gcc_cv_math_func_cabs=no
19821 rm -f core conftest.err conftest.$ac_objext \
19822 conftest$ac_exeext conftest.$ac_ext
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19825 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19826 if test $gcc_cv_math_func_cabs = yes; then
19828 cat >>confdefs.h <<_ACEOF
19829 #define HAVE_CABS 1
19830 _ACEOF
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19838 $as_echo_n "checking for cabsl... " >&6; }
19839 if ${gcc_cv_math_func_cabsl+:} false; then :
19840 $as_echo_n "(cached) " >&6
19841 else
19842 if test x$gcc_no_link = xyes; then
19843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19848 #ifdef HAVE_COMPLEX_H
19849 #include <complex.h>
19850 #endif
19851 #ifdef HAVE_MATH_H
19852 #include <math.h>
19853 #endif
19855 int (*ptr)() = (int (*)())cabsl;
19858 main ()
19860 return 0;
19863 _ACEOF
19864 if ac_fn_c_try_link "$LINENO"; then :
19865 gcc_cv_math_func_cabsl=yes
19866 else
19867 gcc_cv_math_func_cabsl=no
19869 rm -f core conftest.err conftest.$ac_objext \
19870 conftest$ac_exeext conftest.$ac_ext
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19873 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19874 if test $gcc_cv_math_func_cabsl = yes; then
19876 cat >>confdefs.h <<_ACEOF
19877 #define HAVE_CABSL 1
19878 _ACEOF
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19886 $as_echo_n "checking for floorf... " >&6; }
19887 if ${gcc_cv_math_func_floorf+:} false; then :
19888 $as_echo_n "(cached) " >&6
19889 else
19890 if test x$gcc_no_link = xyes; then
19891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h. */
19896 #ifdef HAVE_COMPLEX_H
19897 #include <complex.h>
19898 #endif
19899 #ifdef HAVE_MATH_H
19900 #include <math.h>
19901 #endif
19903 int (*ptr)() = (int (*)())floorf;
19906 main ()
19908 return 0;
19911 _ACEOF
19912 if ac_fn_c_try_link "$LINENO"; then :
19913 gcc_cv_math_func_floorf=yes
19914 else
19915 gcc_cv_math_func_floorf=no
19917 rm -f core conftest.err conftest.$ac_objext \
19918 conftest$ac_exeext conftest.$ac_ext
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19921 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19922 if test $gcc_cv_math_func_floorf = yes; then
19924 cat >>confdefs.h <<_ACEOF
19925 #define HAVE_FLOORF 1
19926 _ACEOF
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19934 $as_echo_n "checking for floor... " >&6; }
19935 if ${gcc_cv_math_func_floor+:} false; then :
19936 $as_echo_n "(cached) " >&6
19937 else
19938 if test x$gcc_no_link = xyes; then
19939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h. */
19944 #ifdef HAVE_COMPLEX_H
19945 #include <complex.h>
19946 #endif
19947 #ifdef HAVE_MATH_H
19948 #include <math.h>
19949 #endif
19951 int (*ptr)() = (int (*)())floor;
19954 main ()
19956 return 0;
19959 _ACEOF
19960 if ac_fn_c_try_link "$LINENO"; then :
19961 gcc_cv_math_func_floor=yes
19962 else
19963 gcc_cv_math_func_floor=no
19965 rm -f core conftest.err conftest.$ac_objext \
19966 conftest$ac_exeext conftest.$ac_ext
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19969 $as_echo "$gcc_cv_math_func_floor" >&6; }
19970 if test $gcc_cv_math_func_floor = yes; then
19972 cat >>confdefs.h <<_ACEOF
19973 #define HAVE_FLOOR 1
19974 _ACEOF
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19982 $as_echo_n "checking for floorl... " >&6; }
19983 if ${gcc_cv_math_func_floorl+:} false; then :
19984 $as_echo_n "(cached) " >&6
19985 else
19986 if test x$gcc_no_link = xyes; then
19987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19992 #ifdef HAVE_COMPLEX_H
19993 #include <complex.h>
19994 #endif
19995 #ifdef HAVE_MATH_H
19996 #include <math.h>
19997 #endif
19999 int (*ptr)() = (int (*)())floorl;
20002 main ()
20004 return 0;
20007 _ACEOF
20008 if ac_fn_c_try_link "$LINENO"; then :
20009 gcc_cv_math_func_floorl=yes
20010 else
20011 gcc_cv_math_func_floorl=no
20013 rm -f core conftest.err conftest.$ac_objext \
20014 conftest$ac_exeext conftest.$ac_ext
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20017 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20018 if test $gcc_cv_math_func_floorl = yes; then
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_FLOORL 1
20022 _ACEOF
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20030 $as_echo_n "checking for fmaf... " >&6; }
20031 if ${gcc_cv_math_func_fmaf+:} false; then :
20032 $as_echo_n "(cached) " >&6
20033 else
20034 if test x$gcc_no_link = xyes; then
20035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20040 #ifdef HAVE_COMPLEX_H
20041 #include <complex.h>
20042 #endif
20043 #ifdef HAVE_MATH_H
20044 #include <math.h>
20045 #endif
20047 int (*ptr)() = (int (*)())fmaf;
20050 main ()
20052 return 0;
20055 _ACEOF
20056 if ac_fn_c_try_link "$LINENO"; then :
20057 gcc_cv_math_func_fmaf=yes
20058 else
20059 gcc_cv_math_func_fmaf=no
20061 rm -f core conftest.err conftest.$ac_objext \
20062 conftest$ac_exeext conftest.$ac_ext
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20065 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20066 if test $gcc_cv_math_func_fmaf = yes; then
20068 cat >>confdefs.h <<_ACEOF
20069 #define HAVE_FMAF 1
20070 _ACEOF
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20078 $as_echo_n "checking for fma... " >&6; }
20079 if ${gcc_cv_math_func_fma+:} false; then :
20080 $as_echo_n "(cached) " >&6
20081 else
20082 if test x$gcc_no_link = xyes; then
20083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20088 #ifdef HAVE_COMPLEX_H
20089 #include <complex.h>
20090 #endif
20091 #ifdef HAVE_MATH_H
20092 #include <math.h>
20093 #endif
20095 int (*ptr)() = (int (*)())fma;
20098 main ()
20100 return 0;
20103 _ACEOF
20104 if ac_fn_c_try_link "$LINENO"; then :
20105 gcc_cv_math_func_fma=yes
20106 else
20107 gcc_cv_math_func_fma=no
20109 rm -f core conftest.err conftest.$ac_objext \
20110 conftest$ac_exeext conftest.$ac_ext
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20113 $as_echo "$gcc_cv_math_func_fma" >&6; }
20114 if test $gcc_cv_math_func_fma = yes; then
20116 cat >>confdefs.h <<_ACEOF
20117 #define HAVE_FMA 1
20118 _ACEOF
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20126 $as_echo_n "checking for fmal... " >&6; }
20127 if ${gcc_cv_math_func_fmal+:} false; then :
20128 $as_echo_n "(cached) " >&6
20129 else
20130 if test x$gcc_no_link = xyes; then
20131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20134 /* end confdefs.h. */
20136 #ifdef HAVE_COMPLEX_H
20137 #include <complex.h>
20138 #endif
20139 #ifdef HAVE_MATH_H
20140 #include <math.h>
20141 #endif
20143 int (*ptr)() = (int (*)())fmal;
20146 main ()
20148 return 0;
20151 _ACEOF
20152 if ac_fn_c_try_link "$LINENO"; then :
20153 gcc_cv_math_func_fmal=yes
20154 else
20155 gcc_cv_math_func_fmal=no
20157 rm -f core conftest.err conftest.$ac_objext \
20158 conftest$ac_exeext conftest.$ac_ext
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20161 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20162 if test $gcc_cv_math_func_fmal = yes; then
20164 cat >>confdefs.h <<_ACEOF
20165 #define HAVE_FMAL 1
20166 _ACEOF
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20174 $as_echo_n "checking for fmodf... " >&6; }
20175 if ${gcc_cv_math_func_fmodf+:} false; then :
20176 $as_echo_n "(cached) " >&6
20177 else
20178 if test x$gcc_no_link = xyes; then
20179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20184 #ifdef HAVE_COMPLEX_H
20185 #include <complex.h>
20186 #endif
20187 #ifdef HAVE_MATH_H
20188 #include <math.h>
20189 #endif
20191 int (*ptr)() = (int (*)())fmodf;
20194 main ()
20196 return 0;
20199 _ACEOF
20200 if ac_fn_c_try_link "$LINENO"; then :
20201 gcc_cv_math_func_fmodf=yes
20202 else
20203 gcc_cv_math_func_fmodf=no
20205 rm -f core conftest.err conftest.$ac_objext \
20206 conftest$ac_exeext conftest.$ac_ext
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20209 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20210 if test $gcc_cv_math_func_fmodf = yes; then
20212 cat >>confdefs.h <<_ACEOF
20213 #define HAVE_FMODF 1
20214 _ACEOF
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20222 $as_echo_n "checking for fmod... " >&6; }
20223 if ${gcc_cv_math_func_fmod+:} false; then :
20224 $as_echo_n "(cached) " >&6
20225 else
20226 if test x$gcc_no_link = xyes; then
20227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20230 /* end confdefs.h. */
20232 #ifdef HAVE_COMPLEX_H
20233 #include <complex.h>
20234 #endif
20235 #ifdef HAVE_MATH_H
20236 #include <math.h>
20237 #endif
20239 int (*ptr)() = (int (*)())fmod;
20242 main ()
20244 return 0;
20247 _ACEOF
20248 if ac_fn_c_try_link "$LINENO"; then :
20249 gcc_cv_math_func_fmod=yes
20250 else
20251 gcc_cv_math_func_fmod=no
20253 rm -f core conftest.err conftest.$ac_objext \
20254 conftest$ac_exeext conftest.$ac_ext
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20257 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20258 if test $gcc_cv_math_func_fmod = yes; then
20260 cat >>confdefs.h <<_ACEOF
20261 #define HAVE_FMOD 1
20262 _ACEOF
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20270 $as_echo_n "checking for fmodl... " >&6; }
20271 if ${gcc_cv_math_func_fmodl+:} false; then :
20272 $as_echo_n "(cached) " >&6
20273 else
20274 if test x$gcc_no_link = xyes; then
20275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20278 /* end confdefs.h. */
20280 #ifdef HAVE_COMPLEX_H
20281 #include <complex.h>
20282 #endif
20283 #ifdef HAVE_MATH_H
20284 #include <math.h>
20285 #endif
20287 int (*ptr)() = (int (*)())fmodl;
20290 main ()
20292 return 0;
20295 _ACEOF
20296 if ac_fn_c_try_link "$LINENO"; then :
20297 gcc_cv_math_func_fmodl=yes
20298 else
20299 gcc_cv_math_func_fmodl=no
20301 rm -f core conftest.err conftest.$ac_objext \
20302 conftest$ac_exeext conftest.$ac_ext
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20305 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20306 if test $gcc_cv_math_func_fmodl = yes; then
20308 cat >>confdefs.h <<_ACEOF
20309 #define HAVE_FMODL 1
20310 _ACEOF
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20318 $as_echo_n "checking for frexpf... " >&6; }
20319 if ${gcc_cv_math_func_frexpf+:} false; then :
20320 $as_echo_n "(cached) " >&6
20321 else
20322 if test x$gcc_no_link = xyes; then
20323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20326 /* end confdefs.h. */
20328 #ifdef HAVE_COMPLEX_H
20329 #include <complex.h>
20330 #endif
20331 #ifdef HAVE_MATH_H
20332 #include <math.h>
20333 #endif
20335 int (*ptr)() = (int (*)())frexpf;
20338 main ()
20340 return 0;
20343 _ACEOF
20344 if ac_fn_c_try_link "$LINENO"; then :
20345 gcc_cv_math_func_frexpf=yes
20346 else
20347 gcc_cv_math_func_frexpf=no
20349 rm -f core conftest.err conftest.$ac_objext \
20350 conftest$ac_exeext conftest.$ac_ext
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20353 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20354 if test $gcc_cv_math_func_frexpf = yes; then
20356 cat >>confdefs.h <<_ACEOF
20357 #define HAVE_FREXPF 1
20358 _ACEOF
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20366 $as_echo_n "checking for frexp... " >&6; }
20367 if ${gcc_cv_math_func_frexp+:} false; then :
20368 $as_echo_n "(cached) " >&6
20369 else
20370 if test x$gcc_no_link = xyes; then
20371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20374 /* end confdefs.h. */
20376 #ifdef HAVE_COMPLEX_H
20377 #include <complex.h>
20378 #endif
20379 #ifdef HAVE_MATH_H
20380 #include <math.h>
20381 #endif
20383 int (*ptr)() = (int (*)())frexp;
20386 main ()
20388 return 0;
20391 _ACEOF
20392 if ac_fn_c_try_link "$LINENO"; then :
20393 gcc_cv_math_func_frexp=yes
20394 else
20395 gcc_cv_math_func_frexp=no
20397 rm -f core conftest.err conftest.$ac_objext \
20398 conftest$ac_exeext conftest.$ac_ext
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20401 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20402 if test $gcc_cv_math_func_frexp = yes; then
20404 cat >>confdefs.h <<_ACEOF
20405 #define HAVE_FREXP 1
20406 _ACEOF
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20414 $as_echo_n "checking for frexpl... " >&6; }
20415 if ${gcc_cv_math_func_frexpl+:} false; then :
20416 $as_echo_n "(cached) " >&6
20417 else
20418 if test x$gcc_no_link = xyes; then
20419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20422 /* end confdefs.h. */
20424 #ifdef HAVE_COMPLEX_H
20425 #include <complex.h>
20426 #endif
20427 #ifdef HAVE_MATH_H
20428 #include <math.h>
20429 #endif
20431 int (*ptr)() = (int (*)())frexpl;
20434 main ()
20436 return 0;
20439 _ACEOF
20440 if ac_fn_c_try_link "$LINENO"; then :
20441 gcc_cv_math_func_frexpl=yes
20442 else
20443 gcc_cv_math_func_frexpl=no
20445 rm -f core conftest.err conftest.$ac_objext \
20446 conftest$ac_exeext conftest.$ac_ext
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20449 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20450 if test $gcc_cv_math_func_frexpl = yes; then
20452 cat >>confdefs.h <<_ACEOF
20453 #define HAVE_FREXPL 1
20454 _ACEOF
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20462 $as_echo_n "checking for hypotf... " >&6; }
20463 if ${gcc_cv_math_func_hypotf+:} false; then :
20464 $as_echo_n "(cached) " >&6
20465 else
20466 if test x$gcc_no_link = xyes; then
20467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20470 /* end confdefs.h. */
20472 #ifdef HAVE_COMPLEX_H
20473 #include <complex.h>
20474 #endif
20475 #ifdef HAVE_MATH_H
20476 #include <math.h>
20477 #endif
20479 int (*ptr)() = (int (*)())hypotf;
20482 main ()
20484 return 0;
20487 _ACEOF
20488 if ac_fn_c_try_link "$LINENO"; then :
20489 gcc_cv_math_func_hypotf=yes
20490 else
20491 gcc_cv_math_func_hypotf=no
20493 rm -f core conftest.err conftest.$ac_objext \
20494 conftest$ac_exeext conftest.$ac_ext
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20497 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20498 if test $gcc_cv_math_func_hypotf = yes; then
20500 cat >>confdefs.h <<_ACEOF
20501 #define HAVE_HYPOTF 1
20502 _ACEOF
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20510 $as_echo_n "checking for hypot... " >&6; }
20511 if ${gcc_cv_math_func_hypot+:} false; then :
20512 $as_echo_n "(cached) " >&6
20513 else
20514 if test x$gcc_no_link = xyes; then
20515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20518 /* end confdefs.h. */
20520 #ifdef HAVE_COMPLEX_H
20521 #include <complex.h>
20522 #endif
20523 #ifdef HAVE_MATH_H
20524 #include <math.h>
20525 #endif
20527 int (*ptr)() = (int (*)())hypot;
20530 main ()
20532 return 0;
20535 _ACEOF
20536 if ac_fn_c_try_link "$LINENO"; then :
20537 gcc_cv_math_func_hypot=yes
20538 else
20539 gcc_cv_math_func_hypot=no
20541 rm -f core conftest.err conftest.$ac_objext \
20542 conftest$ac_exeext conftest.$ac_ext
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20545 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20546 if test $gcc_cv_math_func_hypot = yes; then
20548 cat >>confdefs.h <<_ACEOF
20549 #define HAVE_HYPOT 1
20550 _ACEOF
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20558 $as_echo_n "checking for hypotl... " >&6; }
20559 if ${gcc_cv_math_func_hypotl+:} false; then :
20560 $as_echo_n "(cached) " >&6
20561 else
20562 if test x$gcc_no_link = xyes; then
20563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20568 #ifdef HAVE_COMPLEX_H
20569 #include <complex.h>
20570 #endif
20571 #ifdef HAVE_MATH_H
20572 #include <math.h>
20573 #endif
20575 int (*ptr)() = (int (*)())hypotl;
20578 main ()
20580 return 0;
20583 _ACEOF
20584 if ac_fn_c_try_link "$LINENO"; then :
20585 gcc_cv_math_func_hypotl=yes
20586 else
20587 gcc_cv_math_func_hypotl=no
20589 rm -f core conftest.err conftest.$ac_objext \
20590 conftest$ac_exeext conftest.$ac_ext
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20593 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20594 if test $gcc_cv_math_func_hypotl = yes; then
20596 cat >>confdefs.h <<_ACEOF
20597 #define HAVE_HYPOTL 1
20598 _ACEOF
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20606 $as_echo_n "checking for ldexpf... " >&6; }
20607 if ${gcc_cv_math_func_ldexpf+:} false; then :
20608 $as_echo_n "(cached) " >&6
20609 else
20610 if test x$gcc_no_link = xyes; then
20611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20614 /* end confdefs.h. */
20616 #ifdef HAVE_COMPLEX_H
20617 #include <complex.h>
20618 #endif
20619 #ifdef HAVE_MATH_H
20620 #include <math.h>
20621 #endif
20623 int (*ptr)() = (int (*)())ldexpf;
20626 main ()
20628 return 0;
20631 _ACEOF
20632 if ac_fn_c_try_link "$LINENO"; then :
20633 gcc_cv_math_func_ldexpf=yes
20634 else
20635 gcc_cv_math_func_ldexpf=no
20637 rm -f core conftest.err conftest.$ac_objext \
20638 conftest$ac_exeext conftest.$ac_ext
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20641 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20642 if test $gcc_cv_math_func_ldexpf = yes; then
20644 cat >>confdefs.h <<_ACEOF
20645 #define HAVE_LDEXPF 1
20646 _ACEOF
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20654 $as_echo_n "checking for ldexp... " >&6; }
20655 if ${gcc_cv_math_func_ldexp+:} false; then :
20656 $as_echo_n "(cached) " >&6
20657 else
20658 if test x$gcc_no_link = xyes; then
20659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20664 #ifdef HAVE_COMPLEX_H
20665 #include <complex.h>
20666 #endif
20667 #ifdef HAVE_MATH_H
20668 #include <math.h>
20669 #endif
20671 int (*ptr)() = (int (*)())ldexp;
20674 main ()
20676 return 0;
20679 _ACEOF
20680 if ac_fn_c_try_link "$LINENO"; then :
20681 gcc_cv_math_func_ldexp=yes
20682 else
20683 gcc_cv_math_func_ldexp=no
20685 rm -f core conftest.err conftest.$ac_objext \
20686 conftest$ac_exeext conftest.$ac_ext
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20689 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20690 if test $gcc_cv_math_func_ldexp = yes; then
20692 cat >>confdefs.h <<_ACEOF
20693 #define HAVE_LDEXP 1
20694 _ACEOF
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20702 $as_echo_n "checking for ldexpl... " >&6; }
20703 if ${gcc_cv_math_func_ldexpl+:} false; then :
20704 $as_echo_n "(cached) " >&6
20705 else
20706 if test x$gcc_no_link = xyes; then
20707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20710 /* end confdefs.h. */
20712 #ifdef HAVE_COMPLEX_H
20713 #include <complex.h>
20714 #endif
20715 #ifdef HAVE_MATH_H
20716 #include <math.h>
20717 #endif
20719 int (*ptr)() = (int (*)())ldexpl;
20722 main ()
20724 return 0;
20727 _ACEOF
20728 if ac_fn_c_try_link "$LINENO"; then :
20729 gcc_cv_math_func_ldexpl=yes
20730 else
20731 gcc_cv_math_func_ldexpl=no
20733 rm -f core conftest.err conftest.$ac_objext \
20734 conftest$ac_exeext conftest.$ac_ext
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20737 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20738 if test $gcc_cv_math_func_ldexpl = yes; then
20740 cat >>confdefs.h <<_ACEOF
20741 #define HAVE_LDEXPL 1
20742 _ACEOF
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20750 $as_echo_n "checking for logf... " >&6; }
20751 if ${gcc_cv_math_func_logf+:} false; then :
20752 $as_echo_n "(cached) " >&6
20753 else
20754 if test x$gcc_no_link = xyes; then
20755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20758 /* end confdefs.h. */
20760 #ifdef HAVE_COMPLEX_H
20761 #include <complex.h>
20762 #endif
20763 #ifdef HAVE_MATH_H
20764 #include <math.h>
20765 #endif
20767 int (*ptr)() = (int (*)())logf;
20770 main ()
20772 return 0;
20775 _ACEOF
20776 if ac_fn_c_try_link "$LINENO"; then :
20777 gcc_cv_math_func_logf=yes
20778 else
20779 gcc_cv_math_func_logf=no
20781 rm -f core conftest.err conftest.$ac_objext \
20782 conftest$ac_exeext conftest.$ac_ext
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20785 $as_echo "$gcc_cv_math_func_logf" >&6; }
20786 if test $gcc_cv_math_func_logf = yes; then
20788 cat >>confdefs.h <<_ACEOF
20789 #define HAVE_LOGF 1
20790 _ACEOF
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20798 $as_echo_n "checking for log... " >&6; }
20799 if ${gcc_cv_math_func_log+:} false; then :
20800 $as_echo_n "(cached) " >&6
20801 else
20802 if test x$gcc_no_link = xyes; then
20803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h. */
20808 #ifdef HAVE_COMPLEX_H
20809 #include <complex.h>
20810 #endif
20811 #ifdef HAVE_MATH_H
20812 #include <math.h>
20813 #endif
20815 int (*ptr)() = (int (*)())log;
20818 main ()
20820 return 0;
20823 _ACEOF
20824 if ac_fn_c_try_link "$LINENO"; then :
20825 gcc_cv_math_func_log=yes
20826 else
20827 gcc_cv_math_func_log=no
20829 rm -f core conftest.err conftest.$ac_objext \
20830 conftest$ac_exeext conftest.$ac_ext
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20833 $as_echo "$gcc_cv_math_func_log" >&6; }
20834 if test $gcc_cv_math_func_log = yes; then
20836 cat >>confdefs.h <<_ACEOF
20837 #define HAVE_LOG 1
20838 _ACEOF
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20846 $as_echo_n "checking for logl... " >&6; }
20847 if ${gcc_cv_math_func_logl+:} false; then :
20848 $as_echo_n "(cached) " >&6
20849 else
20850 if test x$gcc_no_link = xyes; then
20851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20856 #ifdef HAVE_COMPLEX_H
20857 #include <complex.h>
20858 #endif
20859 #ifdef HAVE_MATH_H
20860 #include <math.h>
20861 #endif
20863 int (*ptr)() = (int (*)())logl;
20866 main ()
20868 return 0;
20871 _ACEOF
20872 if ac_fn_c_try_link "$LINENO"; then :
20873 gcc_cv_math_func_logl=yes
20874 else
20875 gcc_cv_math_func_logl=no
20877 rm -f core conftest.err conftest.$ac_objext \
20878 conftest$ac_exeext conftest.$ac_ext
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20881 $as_echo "$gcc_cv_math_func_logl" >&6; }
20882 if test $gcc_cv_math_func_logl = yes; then
20884 cat >>confdefs.h <<_ACEOF
20885 #define HAVE_LOGL 1
20886 _ACEOF
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20894 $as_echo_n "checking for clogf... " >&6; }
20895 if ${gcc_cv_math_func_clogf+:} false; then :
20896 $as_echo_n "(cached) " >&6
20897 else
20898 if test x$gcc_no_link = xyes; then
20899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h. */
20904 #ifdef HAVE_COMPLEX_H
20905 #include <complex.h>
20906 #endif
20907 #ifdef HAVE_MATH_H
20908 #include <math.h>
20909 #endif
20911 int (*ptr)() = (int (*)())clogf;
20914 main ()
20916 return 0;
20919 _ACEOF
20920 if ac_fn_c_try_link "$LINENO"; then :
20921 gcc_cv_math_func_clogf=yes
20922 else
20923 gcc_cv_math_func_clogf=no
20925 rm -f core conftest.err conftest.$ac_objext \
20926 conftest$ac_exeext conftest.$ac_ext
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20929 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20930 if test $gcc_cv_math_func_clogf = yes; then
20932 cat >>confdefs.h <<_ACEOF
20933 #define HAVE_CLOGF 1
20934 _ACEOF
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20942 $as_echo_n "checking for clog... " >&6; }
20943 if ${gcc_cv_math_func_clog+:} false; then :
20944 $as_echo_n "(cached) " >&6
20945 else
20946 if test x$gcc_no_link = xyes; then
20947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h. */
20952 #ifdef HAVE_COMPLEX_H
20953 #include <complex.h>
20954 #endif
20955 #ifdef HAVE_MATH_H
20956 #include <math.h>
20957 #endif
20959 int (*ptr)() = (int (*)())clog;
20962 main ()
20964 return 0;
20967 _ACEOF
20968 if ac_fn_c_try_link "$LINENO"; then :
20969 gcc_cv_math_func_clog=yes
20970 else
20971 gcc_cv_math_func_clog=no
20973 rm -f core conftest.err conftest.$ac_objext \
20974 conftest$ac_exeext conftest.$ac_ext
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20977 $as_echo "$gcc_cv_math_func_clog" >&6; }
20978 if test $gcc_cv_math_func_clog = yes; then
20980 cat >>confdefs.h <<_ACEOF
20981 #define HAVE_CLOG 1
20982 _ACEOF
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20990 $as_echo_n "checking for clogl... " >&6; }
20991 if ${gcc_cv_math_func_clogl+:} false; then :
20992 $as_echo_n "(cached) " >&6
20993 else
20994 if test x$gcc_no_link = xyes; then
20995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
21000 #ifdef HAVE_COMPLEX_H
21001 #include <complex.h>
21002 #endif
21003 #ifdef HAVE_MATH_H
21004 #include <math.h>
21005 #endif
21007 int (*ptr)() = (int (*)())clogl;
21010 main ()
21012 return 0;
21015 _ACEOF
21016 if ac_fn_c_try_link "$LINENO"; then :
21017 gcc_cv_math_func_clogl=yes
21018 else
21019 gcc_cv_math_func_clogl=no
21021 rm -f core conftest.err conftest.$ac_objext \
21022 conftest$ac_exeext conftest.$ac_ext
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21025 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21026 if test $gcc_cv_math_func_clogl = yes; then
21028 cat >>confdefs.h <<_ACEOF
21029 #define HAVE_CLOGL 1
21030 _ACEOF
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21038 $as_echo_n "checking for log10f... " >&6; }
21039 if ${gcc_cv_math_func_log10f+:} false; then :
21040 $as_echo_n "(cached) " >&6
21041 else
21042 if test x$gcc_no_link = xyes; then
21043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21048 #ifdef HAVE_COMPLEX_H
21049 #include <complex.h>
21050 #endif
21051 #ifdef HAVE_MATH_H
21052 #include <math.h>
21053 #endif
21055 int (*ptr)() = (int (*)())log10f;
21058 main ()
21060 return 0;
21063 _ACEOF
21064 if ac_fn_c_try_link "$LINENO"; then :
21065 gcc_cv_math_func_log10f=yes
21066 else
21067 gcc_cv_math_func_log10f=no
21069 rm -f core conftest.err conftest.$ac_objext \
21070 conftest$ac_exeext conftest.$ac_ext
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21073 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21074 if test $gcc_cv_math_func_log10f = yes; then
21076 cat >>confdefs.h <<_ACEOF
21077 #define HAVE_LOG10F 1
21078 _ACEOF
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21086 $as_echo_n "checking for log10... " >&6; }
21087 if ${gcc_cv_math_func_log10+:} false; then :
21088 $as_echo_n "(cached) " >&6
21089 else
21090 if test x$gcc_no_link = xyes; then
21091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h. */
21096 #ifdef HAVE_COMPLEX_H
21097 #include <complex.h>
21098 #endif
21099 #ifdef HAVE_MATH_H
21100 #include <math.h>
21101 #endif
21103 int (*ptr)() = (int (*)())log10;
21106 main ()
21108 return 0;
21111 _ACEOF
21112 if ac_fn_c_try_link "$LINENO"; then :
21113 gcc_cv_math_func_log10=yes
21114 else
21115 gcc_cv_math_func_log10=no
21117 rm -f core conftest.err conftest.$ac_objext \
21118 conftest$ac_exeext conftest.$ac_ext
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21121 $as_echo "$gcc_cv_math_func_log10" >&6; }
21122 if test $gcc_cv_math_func_log10 = yes; then
21124 cat >>confdefs.h <<_ACEOF
21125 #define HAVE_LOG10 1
21126 _ACEOF
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21134 $as_echo_n "checking for log10l... " >&6; }
21135 if ${gcc_cv_math_func_log10l+:} false; then :
21136 $as_echo_n "(cached) " >&6
21137 else
21138 if test x$gcc_no_link = xyes; then
21139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21142 /* end confdefs.h. */
21144 #ifdef HAVE_COMPLEX_H
21145 #include <complex.h>
21146 #endif
21147 #ifdef HAVE_MATH_H
21148 #include <math.h>
21149 #endif
21151 int (*ptr)() = (int (*)())log10l;
21154 main ()
21156 return 0;
21159 _ACEOF
21160 if ac_fn_c_try_link "$LINENO"; then :
21161 gcc_cv_math_func_log10l=yes
21162 else
21163 gcc_cv_math_func_log10l=no
21165 rm -f core conftest.err conftest.$ac_objext \
21166 conftest$ac_exeext conftest.$ac_ext
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21169 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21170 if test $gcc_cv_math_func_log10l = yes; then
21172 cat >>confdefs.h <<_ACEOF
21173 #define HAVE_LOG10L 1
21174 _ACEOF
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21182 $as_echo_n "checking for clog10f... " >&6; }
21183 if ${gcc_cv_math_func_clog10f+:} false; then :
21184 $as_echo_n "(cached) " >&6
21185 else
21186 if test x$gcc_no_link = xyes; then
21187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21192 #ifdef HAVE_COMPLEX_H
21193 #include <complex.h>
21194 #endif
21195 #ifdef HAVE_MATH_H
21196 #include <math.h>
21197 #endif
21199 int (*ptr)() = (int (*)())clog10f;
21202 main ()
21204 return 0;
21207 _ACEOF
21208 if ac_fn_c_try_link "$LINENO"; then :
21209 gcc_cv_math_func_clog10f=yes
21210 else
21211 gcc_cv_math_func_clog10f=no
21213 rm -f core conftest.err conftest.$ac_objext \
21214 conftest$ac_exeext conftest.$ac_ext
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21217 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21218 if test $gcc_cv_math_func_clog10f = yes; then
21220 cat >>confdefs.h <<_ACEOF
21221 #define HAVE_CLOG10F 1
21222 _ACEOF
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21230 $as_echo_n "checking for clog10... " >&6; }
21231 if ${gcc_cv_math_func_clog10+:} false; then :
21232 $as_echo_n "(cached) " >&6
21233 else
21234 if test x$gcc_no_link = xyes; then
21235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21238 /* end confdefs.h. */
21240 #ifdef HAVE_COMPLEX_H
21241 #include <complex.h>
21242 #endif
21243 #ifdef HAVE_MATH_H
21244 #include <math.h>
21245 #endif
21247 int (*ptr)() = (int (*)())clog10;
21250 main ()
21252 return 0;
21255 _ACEOF
21256 if ac_fn_c_try_link "$LINENO"; then :
21257 gcc_cv_math_func_clog10=yes
21258 else
21259 gcc_cv_math_func_clog10=no
21261 rm -f core conftest.err conftest.$ac_objext \
21262 conftest$ac_exeext conftest.$ac_ext
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21265 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21266 if test $gcc_cv_math_func_clog10 = yes; then
21268 cat >>confdefs.h <<_ACEOF
21269 #define HAVE_CLOG10 1
21270 _ACEOF
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21278 $as_echo_n "checking for clog10l... " >&6; }
21279 if ${gcc_cv_math_func_clog10l+:} false; then :
21280 $as_echo_n "(cached) " >&6
21281 else
21282 if test x$gcc_no_link = xyes; then
21283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21288 #ifdef HAVE_COMPLEX_H
21289 #include <complex.h>
21290 #endif
21291 #ifdef HAVE_MATH_H
21292 #include <math.h>
21293 #endif
21295 int (*ptr)() = (int (*)())clog10l;
21298 main ()
21300 return 0;
21303 _ACEOF
21304 if ac_fn_c_try_link "$LINENO"; then :
21305 gcc_cv_math_func_clog10l=yes
21306 else
21307 gcc_cv_math_func_clog10l=no
21309 rm -f core conftest.err conftest.$ac_objext \
21310 conftest$ac_exeext conftest.$ac_ext
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21313 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21314 if test $gcc_cv_math_func_clog10l = yes; then
21316 cat >>confdefs.h <<_ACEOF
21317 #define HAVE_CLOG10L 1
21318 _ACEOF
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21326 $as_echo_n "checking for nextafterf... " >&6; }
21327 if ${gcc_cv_math_func_nextafterf+:} false; then :
21328 $as_echo_n "(cached) " >&6
21329 else
21330 if test x$gcc_no_link = xyes; then
21331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21334 /* end confdefs.h. */
21336 #ifdef HAVE_COMPLEX_H
21337 #include <complex.h>
21338 #endif
21339 #ifdef HAVE_MATH_H
21340 #include <math.h>
21341 #endif
21343 int (*ptr)() = (int (*)())nextafterf;
21346 main ()
21348 return 0;
21351 _ACEOF
21352 if ac_fn_c_try_link "$LINENO"; then :
21353 gcc_cv_math_func_nextafterf=yes
21354 else
21355 gcc_cv_math_func_nextafterf=no
21357 rm -f core conftest.err conftest.$ac_objext \
21358 conftest$ac_exeext conftest.$ac_ext
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21361 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21362 if test $gcc_cv_math_func_nextafterf = yes; then
21364 cat >>confdefs.h <<_ACEOF
21365 #define HAVE_NEXTAFTERF 1
21366 _ACEOF
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21374 $as_echo_n "checking for nextafter... " >&6; }
21375 if ${gcc_cv_math_func_nextafter+:} false; then :
21376 $as_echo_n "(cached) " >&6
21377 else
21378 if test x$gcc_no_link = xyes; then
21379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h. */
21384 #ifdef HAVE_COMPLEX_H
21385 #include <complex.h>
21386 #endif
21387 #ifdef HAVE_MATH_H
21388 #include <math.h>
21389 #endif
21391 int (*ptr)() = (int (*)())nextafter;
21394 main ()
21396 return 0;
21399 _ACEOF
21400 if ac_fn_c_try_link "$LINENO"; then :
21401 gcc_cv_math_func_nextafter=yes
21402 else
21403 gcc_cv_math_func_nextafter=no
21405 rm -f core conftest.err conftest.$ac_objext \
21406 conftest$ac_exeext conftest.$ac_ext
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21409 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21410 if test $gcc_cv_math_func_nextafter = yes; then
21412 cat >>confdefs.h <<_ACEOF
21413 #define HAVE_NEXTAFTER 1
21414 _ACEOF
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21422 $as_echo_n "checking for nextafterl... " >&6; }
21423 if ${gcc_cv_math_func_nextafterl+:} false; then :
21424 $as_echo_n "(cached) " >&6
21425 else
21426 if test x$gcc_no_link = xyes; then
21427 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21430 /* end confdefs.h. */
21432 #ifdef HAVE_COMPLEX_H
21433 #include <complex.h>
21434 #endif
21435 #ifdef HAVE_MATH_H
21436 #include <math.h>
21437 #endif
21439 int (*ptr)() = (int (*)())nextafterl;
21442 main ()
21444 return 0;
21447 _ACEOF
21448 if ac_fn_c_try_link "$LINENO"; then :
21449 gcc_cv_math_func_nextafterl=yes
21450 else
21451 gcc_cv_math_func_nextafterl=no
21453 rm -f core conftest.err conftest.$ac_objext \
21454 conftest$ac_exeext conftest.$ac_ext
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21457 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21458 if test $gcc_cv_math_func_nextafterl = yes; then
21460 cat >>confdefs.h <<_ACEOF
21461 #define HAVE_NEXTAFTERL 1
21462 _ACEOF
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21470 $as_echo_n "checking for powf... " >&6; }
21471 if ${gcc_cv_math_func_powf+:} false; then :
21472 $as_echo_n "(cached) " >&6
21473 else
21474 if test x$gcc_no_link = xyes; then
21475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21480 #ifdef HAVE_COMPLEX_H
21481 #include <complex.h>
21482 #endif
21483 #ifdef HAVE_MATH_H
21484 #include <math.h>
21485 #endif
21487 int (*ptr)() = (int (*)())powf;
21490 main ()
21492 return 0;
21495 _ACEOF
21496 if ac_fn_c_try_link "$LINENO"; then :
21497 gcc_cv_math_func_powf=yes
21498 else
21499 gcc_cv_math_func_powf=no
21501 rm -f core conftest.err conftest.$ac_objext \
21502 conftest$ac_exeext conftest.$ac_ext
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21505 $as_echo "$gcc_cv_math_func_powf" >&6; }
21506 if test $gcc_cv_math_func_powf = yes; then
21508 cat >>confdefs.h <<_ACEOF
21509 #define HAVE_POWF 1
21510 _ACEOF
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21518 $as_echo_n "checking for pow... " >&6; }
21519 if ${gcc_cv_math_func_pow+:} false; then :
21520 $as_echo_n "(cached) " >&6
21521 else
21522 if test x$gcc_no_link = xyes; then
21523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21526 /* end confdefs.h. */
21528 #ifdef HAVE_COMPLEX_H
21529 #include <complex.h>
21530 #endif
21531 #ifdef HAVE_MATH_H
21532 #include <math.h>
21533 #endif
21535 int (*ptr)() = (int (*)())pow;
21538 main ()
21540 return 0;
21543 _ACEOF
21544 if ac_fn_c_try_link "$LINENO"; then :
21545 gcc_cv_math_func_pow=yes
21546 else
21547 gcc_cv_math_func_pow=no
21549 rm -f core conftest.err conftest.$ac_objext \
21550 conftest$ac_exeext conftest.$ac_ext
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21553 $as_echo "$gcc_cv_math_func_pow" >&6; }
21554 if test $gcc_cv_math_func_pow = yes; then
21556 cat >>confdefs.h <<_ACEOF
21557 #define HAVE_POW 1
21558 _ACEOF
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21566 $as_echo_n "checking for cpowf... " >&6; }
21567 if ${gcc_cv_math_func_cpowf+:} false; then :
21568 $as_echo_n "(cached) " >&6
21569 else
21570 if test x$gcc_no_link = xyes; then
21571 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21574 /* end confdefs.h. */
21576 #ifdef HAVE_COMPLEX_H
21577 #include <complex.h>
21578 #endif
21579 #ifdef HAVE_MATH_H
21580 #include <math.h>
21581 #endif
21583 int (*ptr)() = (int (*)())cpowf;
21586 main ()
21588 return 0;
21591 _ACEOF
21592 if ac_fn_c_try_link "$LINENO"; then :
21593 gcc_cv_math_func_cpowf=yes
21594 else
21595 gcc_cv_math_func_cpowf=no
21597 rm -f core conftest.err conftest.$ac_objext \
21598 conftest$ac_exeext conftest.$ac_ext
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21601 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21602 if test $gcc_cv_math_func_cpowf = yes; then
21604 cat >>confdefs.h <<_ACEOF
21605 #define HAVE_CPOWF 1
21606 _ACEOF
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21614 $as_echo_n "checking for cpow... " >&6; }
21615 if ${gcc_cv_math_func_cpow+:} false; then :
21616 $as_echo_n "(cached) " >&6
21617 else
21618 if test x$gcc_no_link = xyes; then
21619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21622 /* end confdefs.h. */
21624 #ifdef HAVE_COMPLEX_H
21625 #include <complex.h>
21626 #endif
21627 #ifdef HAVE_MATH_H
21628 #include <math.h>
21629 #endif
21631 int (*ptr)() = (int (*)())cpow;
21634 main ()
21636 return 0;
21639 _ACEOF
21640 if ac_fn_c_try_link "$LINENO"; then :
21641 gcc_cv_math_func_cpow=yes
21642 else
21643 gcc_cv_math_func_cpow=no
21645 rm -f core conftest.err conftest.$ac_objext \
21646 conftest$ac_exeext conftest.$ac_ext
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21649 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21650 if test $gcc_cv_math_func_cpow = yes; then
21652 cat >>confdefs.h <<_ACEOF
21653 #define HAVE_CPOW 1
21654 _ACEOF
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21662 $as_echo_n "checking for cpowl... " >&6; }
21663 if ${gcc_cv_math_func_cpowl+:} false; then :
21664 $as_echo_n "(cached) " >&6
21665 else
21666 if test x$gcc_no_link = xyes; then
21667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h. */
21672 #ifdef HAVE_COMPLEX_H
21673 #include <complex.h>
21674 #endif
21675 #ifdef HAVE_MATH_H
21676 #include <math.h>
21677 #endif
21679 int (*ptr)() = (int (*)())cpowl;
21682 main ()
21684 return 0;
21687 _ACEOF
21688 if ac_fn_c_try_link "$LINENO"; then :
21689 gcc_cv_math_func_cpowl=yes
21690 else
21691 gcc_cv_math_func_cpowl=no
21693 rm -f core conftest.err conftest.$ac_objext \
21694 conftest$ac_exeext conftest.$ac_ext
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21697 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21698 if test $gcc_cv_math_func_cpowl = yes; then
21700 cat >>confdefs.h <<_ACEOF
21701 #define HAVE_CPOWL 1
21702 _ACEOF
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21710 $as_echo_n "checking for roundf... " >&6; }
21711 if ${gcc_cv_math_func_roundf+:} false; then :
21712 $as_echo_n "(cached) " >&6
21713 else
21714 if test x$gcc_no_link = xyes; then
21715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h. */
21720 #ifdef HAVE_COMPLEX_H
21721 #include <complex.h>
21722 #endif
21723 #ifdef HAVE_MATH_H
21724 #include <math.h>
21725 #endif
21727 int (*ptr)() = (int (*)())roundf;
21730 main ()
21732 return 0;
21735 _ACEOF
21736 if ac_fn_c_try_link "$LINENO"; then :
21737 gcc_cv_math_func_roundf=yes
21738 else
21739 gcc_cv_math_func_roundf=no
21741 rm -f core conftest.err conftest.$ac_objext \
21742 conftest$ac_exeext conftest.$ac_ext
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21745 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21746 if test $gcc_cv_math_func_roundf = yes; then
21748 cat >>confdefs.h <<_ACEOF
21749 #define HAVE_ROUNDF 1
21750 _ACEOF
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21758 $as_echo_n "checking for round... " >&6; }
21759 if ${gcc_cv_math_func_round+:} false; then :
21760 $as_echo_n "(cached) " >&6
21761 else
21762 if test x$gcc_no_link = xyes; then
21763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21768 #ifdef HAVE_COMPLEX_H
21769 #include <complex.h>
21770 #endif
21771 #ifdef HAVE_MATH_H
21772 #include <math.h>
21773 #endif
21775 int (*ptr)() = (int (*)())round;
21778 main ()
21780 return 0;
21783 _ACEOF
21784 if ac_fn_c_try_link "$LINENO"; then :
21785 gcc_cv_math_func_round=yes
21786 else
21787 gcc_cv_math_func_round=no
21789 rm -f core conftest.err conftest.$ac_objext \
21790 conftest$ac_exeext conftest.$ac_ext
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21793 $as_echo "$gcc_cv_math_func_round" >&6; }
21794 if test $gcc_cv_math_func_round = yes; then
21796 cat >>confdefs.h <<_ACEOF
21797 #define HAVE_ROUND 1
21798 _ACEOF
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21806 $as_echo_n "checking for roundl... " >&6; }
21807 if ${gcc_cv_math_func_roundl+:} false; then :
21808 $as_echo_n "(cached) " >&6
21809 else
21810 if test x$gcc_no_link = xyes; then
21811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21814 /* end confdefs.h. */
21816 #ifdef HAVE_COMPLEX_H
21817 #include <complex.h>
21818 #endif
21819 #ifdef HAVE_MATH_H
21820 #include <math.h>
21821 #endif
21823 int (*ptr)() = (int (*)())roundl;
21826 main ()
21828 return 0;
21831 _ACEOF
21832 if ac_fn_c_try_link "$LINENO"; then :
21833 gcc_cv_math_func_roundl=yes
21834 else
21835 gcc_cv_math_func_roundl=no
21837 rm -f core conftest.err conftest.$ac_objext \
21838 conftest$ac_exeext conftest.$ac_ext
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21841 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21842 if test $gcc_cv_math_func_roundl = yes; then
21844 cat >>confdefs.h <<_ACEOF
21845 #define HAVE_ROUNDL 1
21846 _ACEOF
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21854 $as_echo_n "checking for lroundf... " >&6; }
21855 if ${gcc_cv_math_func_lroundf+:} false; then :
21856 $as_echo_n "(cached) " >&6
21857 else
21858 if test x$gcc_no_link = xyes; then
21859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21862 /* end confdefs.h. */
21864 #ifdef HAVE_COMPLEX_H
21865 #include <complex.h>
21866 #endif
21867 #ifdef HAVE_MATH_H
21868 #include <math.h>
21869 #endif
21871 int (*ptr)() = (int (*)())lroundf;
21874 main ()
21876 return 0;
21879 _ACEOF
21880 if ac_fn_c_try_link "$LINENO"; then :
21881 gcc_cv_math_func_lroundf=yes
21882 else
21883 gcc_cv_math_func_lroundf=no
21885 rm -f core conftest.err conftest.$ac_objext \
21886 conftest$ac_exeext conftest.$ac_ext
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21889 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21890 if test $gcc_cv_math_func_lroundf = yes; then
21892 cat >>confdefs.h <<_ACEOF
21893 #define HAVE_LROUNDF 1
21894 _ACEOF
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21902 $as_echo_n "checking for lround... " >&6; }
21903 if ${gcc_cv_math_func_lround+:} false; then :
21904 $as_echo_n "(cached) " >&6
21905 else
21906 if test x$gcc_no_link = xyes; then
21907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21912 #ifdef HAVE_COMPLEX_H
21913 #include <complex.h>
21914 #endif
21915 #ifdef HAVE_MATH_H
21916 #include <math.h>
21917 #endif
21919 int (*ptr)() = (int (*)())lround;
21922 main ()
21924 return 0;
21927 _ACEOF
21928 if ac_fn_c_try_link "$LINENO"; then :
21929 gcc_cv_math_func_lround=yes
21930 else
21931 gcc_cv_math_func_lround=no
21933 rm -f core conftest.err conftest.$ac_objext \
21934 conftest$ac_exeext conftest.$ac_ext
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21937 $as_echo "$gcc_cv_math_func_lround" >&6; }
21938 if test $gcc_cv_math_func_lround = yes; then
21940 cat >>confdefs.h <<_ACEOF
21941 #define HAVE_LROUND 1
21942 _ACEOF
21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21950 $as_echo_n "checking for lroundl... " >&6; }
21951 if ${gcc_cv_math_func_lroundl+:} false; then :
21952 $as_echo_n "(cached) " >&6
21953 else
21954 if test x$gcc_no_link = xyes; then
21955 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21958 /* end confdefs.h. */
21960 #ifdef HAVE_COMPLEX_H
21961 #include <complex.h>
21962 #endif
21963 #ifdef HAVE_MATH_H
21964 #include <math.h>
21965 #endif
21967 int (*ptr)() = (int (*)())lroundl;
21970 main ()
21972 return 0;
21975 _ACEOF
21976 if ac_fn_c_try_link "$LINENO"; then :
21977 gcc_cv_math_func_lroundl=yes
21978 else
21979 gcc_cv_math_func_lroundl=no
21981 rm -f core conftest.err conftest.$ac_objext \
21982 conftest$ac_exeext conftest.$ac_ext
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21985 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21986 if test $gcc_cv_math_func_lroundl = yes; then
21988 cat >>confdefs.h <<_ACEOF
21989 #define HAVE_LROUNDL 1
21990 _ACEOF
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21998 $as_echo_n "checking for llroundf... " >&6; }
21999 if ${gcc_cv_math_func_llroundf+:} false; then :
22000 $as_echo_n "(cached) " >&6
22001 else
22002 if test x$gcc_no_link = xyes; then
22003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22006 /* end confdefs.h. */
22008 #ifdef HAVE_COMPLEX_H
22009 #include <complex.h>
22010 #endif
22011 #ifdef HAVE_MATH_H
22012 #include <math.h>
22013 #endif
22015 int (*ptr)() = (int (*)())llroundf;
22018 main ()
22020 return 0;
22023 _ACEOF
22024 if ac_fn_c_try_link "$LINENO"; then :
22025 gcc_cv_math_func_llroundf=yes
22026 else
22027 gcc_cv_math_func_llroundf=no
22029 rm -f core conftest.err conftest.$ac_objext \
22030 conftest$ac_exeext conftest.$ac_ext
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22033 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22034 if test $gcc_cv_math_func_llroundf = yes; then
22036 cat >>confdefs.h <<_ACEOF
22037 #define HAVE_LLROUNDF 1
22038 _ACEOF
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22046 $as_echo_n "checking for llround... " >&6; }
22047 if ${gcc_cv_math_func_llround+:} false; then :
22048 $as_echo_n "(cached) " >&6
22049 else
22050 if test x$gcc_no_link = xyes; then
22051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22054 /* end confdefs.h. */
22056 #ifdef HAVE_COMPLEX_H
22057 #include <complex.h>
22058 #endif
22059 #ifdef HAVE_MATH_H
22060 #include <math.h>
22061 #endif
22063 int (*ptr)() = (int (*)())llround;
22066 main ()
22068 return 0;
22071 _ACEOF
22072 if ac_fn_c_try_link "$LINENO"; then :
22073 gcc_cv_math_func_llround=yes
22074 else
22075 gcc_cv_math_func_llround=no
22077 rm -f core conftest.err conftest.$ac_objext \
22078 conftest$ac_exeext conftest.$ac_ext
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22081 $as_echo "$gcc_cv_math_func_llround" >&6; }
22082 if test $gcc_cv_math_func_llround = yes; then
22084 cat >>confdefs.h <<_ACEOF
22085 #define HAVE_LLROUND 1
22086 _ACEOF
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22094 $as_echo_n "checking for llroundl... " >&6; }
22095 if ${gcc_cv_math_func_llroundl+:} false; then :
22096 $as_echo_n "(cached) " >&6
22097 else
22098 if test x$gcc_no_link = xyes; then
22099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22102 /* end confdefs.h. */
22104 #ifdef HAVE_COMPLEX_H
22105 #include <complex.h>
22106 #endif
22107 #ifdef HAVE_MATH_H
22108 #include <math.h>
22109 #endif
22111 int (*ptr)() = (int (*)())llroundl;
22114 main ()
22116 return 0;
22119 _ACEOF
22120 if ac_fn_c_try_link "$LINENO"; then :
22121 gcc_cv_math_func_llroundl=yes
22122 else
22123 gcc_cv_math_func_llroundl=no
22125 rm -f core conftest.err conftest.$ac_objext \
22126 conftest$ac_exeext conftest.$ac_ext
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22129 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22130 if test $gcc_cv_math_func_llroundl = yes; then
22132 cat >>confdefs.h <<_ACEOF
22133 #define HAVE_LLROUNDL 1
22134 _ACEOF
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22142 $as_echo_n "checking for scalbnf... " >&6; }
22143 if ${gcc_cv_math_func_scalbnf+:} false; then :
22144 $as_echo_n "(cached) " >&6
22145 else
22146 if test x$gcc_no_link = xyes; then
22147 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22150 /* end confdefs.h. */
22152 #ifdef HAVE_COMPLEX_H
22153 #include <complex.h>
22154 #endif
22155 #ifdef HAVE_MATH_H
22156 #include <math.h>
22157 #endif
22159 int (*ptr)() = (int (*)())scalbnf;
22162 main ()
22164 return 0;
22167 _ACEOF
22168 if ac_fn_c_try_link "$LINENO"; then :
22169 gcc_cv_math_func_scalbnf=yes
22170 else
22171 gcc_cv_math_func_scalbnf=no
22173 rm -f core conftest.err conftest.$ac_objext \
22174 conftest$ac_exeext conftest.$ac_ext
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22177 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22178 if test $gcc_cv_math_func_scalbnf = yes; then
22180 cat >>confdefs.h <<_ACEOF
22181 #define HAVE_SCALBNF 1
22182 _ACEOF
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22190 $as_echo_n "checking for scalbn... " >&6; }
22191 if ${gcc_cv_math_func_scalbn+:} false; then :
22192 $as_echo_n "(cached) " >&6
22193 else
22194 if test x$gcc_no_link = xyes; then
22195 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22198 /* end confdefs.h. */
22200 #ifdef HAVE_COMPLEX_H
22201 #include <complex.h>
22202 #endif
22203 #ifdef HAVE_MATH_H
22204 #include <math.h>
22205 #endif
22207 int (*ptr)() = (int (*)())scalbn;
22210 main ()
22212 return 0;
22215 _ACEOF
22216 if ac_fn_c_try_link "$LINENO"; then :
22217 gcc_cv_math_func_scalbn=yes
22218 else
22219 gcc_cv_math_func_scalbn=no
22221 rm -f core conftest.err conftest.$ac_objext \
22222 conftest$ac_exeext conftest.$ac_ext
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22225 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22226 if test $gcc_cv_math_func_scalbn = yes; then
22228 cat >>confdefs.h <<_ACEOF
22229 #define HAVE_SCALBN 1
22230 _ACEOF
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22238 $as_echo_n "checking for scalbnl... " >&6; }
22239 if ${gcc_cv_math_func_scalbnl+:} false; then :
22240 $as_echo_n "(cached) " >&6
22241 else
22242 if test x$gcc_no_link = xyes; then
22243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22246 /* end confdefs.h. */
22248 #ifdef HAVE_COMPLEX_H
22249 #include <complex.h>
22250 #endif
22251 #ifdef HAVE_MATH_H
22252 #include <math.h>
22253 #endif
22255 int (*ptr)() = (int (*)())scalbnl;
22258 main ()
22260 return 0;
22263 _ACEOF
22264 if ac_fn_c_try_link "$LINENO"; then :
22265 gcc_cv_math_func_scalbnl=yes
22266 else
22267 gcc_cv_math_func_scalbnl=no
22269 rm -f core conftest.err conftest.$ac_objext \
22270 conftest$ac_exeext conftest.$ac_ext
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22273 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22274 if test $gcc_cv_math_func_scalbnl = yes; then
22276 cat >>confdefs.h <<_ACEOF
22277 #define HAVE_SCALBNL 1
22278 _ACEOF
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22286 $as_echo_n "checking for sinf... " >&6; }
22287 if ${gcc_cv_math_func_sinf+:} false; then :
22288 $as_echo_n "(cached) " >&6
22289 else
22290 if test x$gcc_no_link = xyes; then
22291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22294 /* end confdefs.h. */
22296 #ifdef HAVE_COMPLEX_H
22297 #include <complex.h>
22298 #endif
22299 #ifdef HAVE_MATH_H
22300 #include <math.h>
22301 #endif
22303 int (*ptr)() = (int (*)())sinf;
22306 main ()
22308 return 0;
22311 _ACEOF
22312 if ac_fn_c_try_link "$LINENO"; then :
22313 gcc_cv_math_func_sinf=yes
22314 else
22315 gcc_cv_math_func_sinf=no
22317 rm -f core conftest.err conftest.$ac_objext \
22318 conftest$ac_exeext conftest.$ac_ext
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22321 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22322 if test $gcc_cv_math_func_sinf = yes; then
22324 cat >>confdefs.h <<_ACEOF
22325 #define HAVE_SINF 1
22326 _ACEOF
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22334 $as_echo_n "checking for sin... " >&6; }
22335 if ${gcc_cv_math_func_sin+:} false; then :
22336 $as_echo_n "(cached) " >&6
22337 else
22338 if test x$gcc_no_link = xyes; then
22339 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22342 /* end confdefs.h. */
22344 #ifdef HAVE_COMPLEX_H
22345 #include <complex.h>
22346 #endif
22347 #ifdef HAVE_MATH_H
22348 #include <math.h>
22349 #endif
22351 int (*ptr)() = (int (*)())sin;
22354 main ()
22356 return 0;
22359 _ACEOF
22360 if ac_fn_c_try_link "$LINENO"; then :
22361 gcc_cv_math_func_sin=yes
22362 else
22363 gcc_cv_math_func_sin=no
22365 rm -f core conftest.err conftest.$ac_objext \
22366 conftest$ac_exeext conftest.$ac_ext
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22369 $as_echo "$gcc_cv_math_func_sin" >&6; }
22370 if test $gcc_cv_math_func_sin = yes; then
22372 cat >>confdefs.h <<_ACEOF
22373 #define HAVE_SIN 1
22374 _ACEOF
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22382 $as_echo_n "checking for sinl... " >&6; }
22383 if ${gcc_cv_math_func_sinl+:} false; then :
22384 $as_echo_n "(cached) " >&6
22385 else
22386 if test x$gcc_no_link = xyes; then
22387 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22390 /* end confdefs.h. */
22392 #ifdef HAVE_COMPLEX_H
22393 #include <complex.h>
22394 #endif
22395 #ifdef HAVE_MATH_H
22396 #include <math.h>
22397 #endif
22399 int (*ptr)() = (int (*)())sinl;
22402 main ()
22404 return 0;
22407 _ACEOF
22408 if ac_fn_c_try_link "$LINENO"; then :
22409 gcc_cv_math_func_sinl=yes
22410 else
22411 gcc_cv_math_func_sinl=no
22413 rm -f core conftest.err conftest.$ac_objext \
22414 conftest$ac_exeext conftest.$ac_ext
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22417 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22418 if test $gcc_cv_math_func_sinl = yes; then
22420 cat >>confdefs.h <<_ACEOF
22421 #define HAVE_SINL 1
22422 _ACEOF
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22430 $as_echo_n "checking for csinf... " >&6; }
22431 if ${gcc_cv_math_func_csinf+:} false; then :
22432 $as_echo_n "(cached) " >&6
22433 else
22434 if test x$gcc_no_link = xyes; then
22435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22438 /* end confdefs.h. */
22440 #ifdef HAVE_COMPLEX_H
22441 #include <complex.h>
22442 #endif
22443 #ifdef HAVE_MATH_H
22444 #include <math.h>
22445 #endif
22447 int (*ptr)() = (int (*)())csinf;
22450 main ()
22452 return 0;
22455 _ACEOF
22456 if ac_fn_c_try_link "$LINENO"; then :
22457 gcc_cv_math_func_csinf=yes
22458 else
22459 gcc_cv_math_func_csinf=no
22461 rm -f core conftest.err conftest.$ac_objext \
22462 conftest$ac_exeext conftest.$ac_ext
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22465 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22466 if test $gcc_cv_math_func_csinf = yes; then
22468 cat >>confdefs.h <<_ACEOF
22469 #define HAVE_CSINF 1
22470 _ACEOF
22477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22478 $as_echo_n "checking for csin... " >&6; }
22479 if ${gcc_cv_math_func_csin+:} false; then :
22480 $as_echo_n "(cached) " >&6
22481 else
22482 if test x$gcc_no_link = xyes; then
22483 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22486 /* end confdefs.h. */
22488 #ifdef HAVE_COMPLEX_H
22489 #include <complex.h>
22490 #endif
22491 #ifdef HAVE_MATH_H
22492 #include <math.h>
22493 #endif
22495 int (*ptr)() = (int (*)())csin;
22498 main ()
22500 return 0;
22503 _ACEOF
22504 if ac_fn_c_try_link "$LINENO"; then :
22505 gcc_cv_math_func_csin=yes
22506 else
22507 gcc_cv_math_func_csin=no
22509 rm -f core conftest.err conftest.$ac_objext \
22510 conftest$ac_exeext conftest.$ac_ext
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22513 $as_echo "$gcc_cv_math_func_csin" >&6; }
22514 if test $gcc_cv_math_func_csin = yes; then
22516 cat >>confdefs.h <<_ACEOF
22517 #define HAVE_CSIN 1
22518 _ACEOF
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22526 $as_echo_n "checking for csinl... " >&6; }
22527 if ${gcc_cv_math_func_csinl+:} false; then :
22528 $as_echo_n "(cached) " >&6
22529 else
22530 if test x$gcc_no_link = xyes; then
22531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22534 /* end confdefs.h. */
22536 #ifdef HAVE_COMPLEX_H
22537 #include <complex.h>
22538 #endif
22539 #ifdef HAVE_MATH_H
22540 #include <math.h>
22541 #endif
22543 int (*ptr)() = (int (*)())csinl;
22546 main ()
22548 return 0;
22551 _ACEOF
22552 if ac_fn_c_try_link "$LINENO"; then :
22553 gcc_cv_math_func_csinl=yes
22554 else
22555 gcc_cv_math_func_csinl=no
22557 rm -f core conftest.err conftest.$ac_objext \
22558 conftest$ac_exeext conftest.$ac_ext
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22561 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22562 if test $gcc_cv_math_func_csinl = yes; then
22564 cat >>confdefs.h <<_ACEOF
22565 #define HAVE_CSINL 1
22566 _ACEOF
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22574 $as_echo_n "checking for sinhf... " >&6; }
22575 if ${gcc_cv_math_func_sinhf+:} false; then :
22576 $as_echo_n "(cached) " >&6
22577 else
22578 if test x$gcc_no_link = xyes; then
22579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22582 /* end confdefs.h. */
22584 #ifdef HAVE_COMPLEX_H
22585 #include <complex.h>
22586 #endif
22587 #ifdef HAVE_MATH_H
22588 #include <math.h>
22589 #endif
22591 int (*ptr)() = (int (*)())sinhf;
22594 main ()
22596 return 0;
22599 _ACEOF
22600 if ac_fn_c_try_link "$LINENO"; then :
22601 gcc_cv_math_func_sinhf=yes
22602 else
22603 gcc_cv_math_func_sinhf=no
22605 rm -f core conftest.err conftest.$ac_objext \
22606 conftest$ac_exeext conftest.$ac_ext
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22609 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22610 if test $gcc_cv_math_func_sinhf = yes; then
22612 cat >>confdefs.h <<_ACEOF
22613 #define HAVE_SINHF 1
22614 _ACEOF
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22622 $as_echo_n "checking for sinh... " >&6; }
22623 if ${gcc_cv_math_func_sinh+:} false; then :
22624 $as_echo_n "(cached) " >&6
22625 else
22626 if test x$gcc_no_link = xyes; then
22627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h. */
22632 #ifdef HAVE_COMPLEX_H
22633 #include <complex.h>
22634 #endif
22635 #ifdef HAVE_MATH_H
22636 #include <math.h>
22637 #endif
22639 int (*ptr)() = (int (*)())sinh;
22642 main ()
22644 return 0;
22647 _ACEOF
22648 if ac_fn_c_try_link "$LINENO"; then :
22649 gcc_cv_math_func_sinh=yes
22650 else
22651 gcc_cv_math_func_sinh=no
22653 rm -f core conftest.err conftest.$ac_objext \
22654 conftest$ac_exeext conftest.$ac_ext
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22657 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22658 if test $gcc_cv_math_func_sinh = yes; then
22660 cat >>confdefs.h <<_ACEOF
22661 #define HAVE_SINH 1
22662 _ACEOF
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22670 $as_echo_n "checking for sinhl... " >&6; }
22671 if ${gcc_cv_math_func_sinhl+:} false; then :
22672 $as_echo_n "(cached) " >&6
22673 else
22674 if test x$gcc_no_link = xyes; then
22675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22678 /* end confdefs.h. */
22680 #ifdef HAVE_COMPLEX_H
22681 #include <complex.h>
22682 #endif
22683 #ifdef HAVE_MATH_H
22684 #include <math.h>
22685 #endif
22687 int (*ptr)() = (int (*)())sinhl;
22690 main ()
22692 return 0;
22695 _ACEOF
22696 if ac_fn_c_try_link "$LINENO"; then :
22697 gcc_cv_math_func_sinhl=yes
22698 else
22699 gcc_cv_math_func_sinhl=no
22701 rm -f core conftest.err conftest.$ac_objext \
22702 conftest$ac_exeext conftest.$ac_ext
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22705 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22706 if test $gcc_cv_math_func_sinhl = yes; then
22708 cat >>confdefs.h <<_ACEOF
22709 #define HAVE_SINHL 1
22710 _ACEOF
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22718 $as_echo_n "checking for csinhf... " >&6; }
22719 if ${gcc_cv_math_func_csinhf+:} false; then :
22720 $as_echo_n "(cached) " >&6
22721 else
22722 if test x$gcc_no_link = xyes; then
22723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22726 /* end confdefs.h. */
22728 #ifdef HAVE_COMPLEX_H
22729 #include <complex.h>
22730 #endif
22731 #ifdef HAVE_MATH_H
22732 #include <math.h>
22733 #endif
22735 int (*ptr)() = (int (*)())csinhf;
22738 main ()
22740 return 0;
22743 _ACEOF
22744 if ac_fn_c_try_link "$LINENO"; then :
22745 gcc_cv_math_func_csinhf=yes
22746 else
22747 gcc_cv_math_func_csinhf=no
22749 rm -f core conftest.err conftest.$ac_objext \
22750 conftest$ac_exeext conftest.$ac_ext
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22753 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22754 if test $gcc_cv_math_func_csinhf = yes; then
22756 cat >>confdefs.h <<_ACEOF
22757 #define HAVE_CSINHF 1
22758 _ACEOF
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22766 $as_echo_n "checking for csinh... " >&6; }
22767 if ${gcc_cv_math_func_csinh+:} false; then :
22768 $as_echo_n "(cached) " >&6
22769 else
22770 if test x$gcc_no_link = xyes; then
22771 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22774 /* end confdefs.h. */
22776 #ifdef HAVE_COMPLEX_H
22777 #include <complex.h>
22778 #endif
22779 #ifdef HAVE_MATH_H
22780 #include <math.h>
22781 #endif
22783 int (*ptr)() = (int (*)())csinh;
22786 main ()
22788 return 0;
22791 _ACEOF
22792 if ac_fn_c_try_link "$LINENO"; then :
22793 gcc_cv_math_func_csinh=yes
22794 else
22795 gcc_cv_math_func_csinh=no
22797 rm -f core conftest.err conftest.$ac_objext \
22798 conftest$ac_exeext conftest.$ac_ext
22800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22801 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22802 if test $gcc_cv_math_func_csinh = yes; then
22804 cat >>confdefs.h <<_ACEOF
22805 #define HAVE_CSINH 1
22806 _ACEOF
22813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22814 $as_echo_n "checking for csinhl... " >&6; }
22815 if ${gcc_cv_math_func_csinhl+:} false; then :
22816 $as_echo_n "(cached) " >&6
22817 else
22818 if test x$gcc_no_link = xyes; then
22819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22822 /* end confdefs.h. */
22824 #ifdef HAVE_COMPLEX_H
22825 #include <complex.h>
22826 #endif
22827 #ifdef HAVE_MATH_H
22828 #include <math.h>
22829 #endif
22831 int (*ptr)() = (int (*)())csinhl;
22834 main ()
22836 return 0;
22839 _ACEOF
22840 if ac_fn_c_try_link "$LINENO"; then :
22841 gcc_cv_math_func_csinhl=yes
22842 else
22843 gcc_cv_math_func_csinhl=no
22845 rm -f core conftest.err conftest.$ac_objext \
22846 conftest$ac_exeext conftest.$ac_ext
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22849 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22850 if test $gcc_cv_math_func_csinhl = yes; then
22852 cat >>confdefs.h <<_ACEOF
22853 #define HAVE_CSINHL 1
22854 _ACEOF
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22862 $as_echo_n "checking for sqrtf... " >&6; }
22863 if ${gcc_cv_math_func_sqrtf+:} false; then :
22864 $as_echo_n "(cached) " >&6
22865 else
22866 if test x$gcc_no_link = xyes; then
22867 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22870 /* end confdefs.h. */
22872 #ifdef HAVE_COMPLEX_H
22873 #include <complex.h>
22874 #endif
22875 #ifdef HAVE_MATH_H
22876 #include <math.h>
22877 #endif
22879 int (*ptr)() = (int (*)())sqrtf;
22882 main ()
22884 return 0;
22887 _ACEOF
22888 if ac_fn_c_try_link "$LINENO"; then :
22889 gcc_cv_math_func_sqrtf=yes
22890 else
22891 gcc_cv_math_func_sqrtf=no
22893 rm -f core conftest.err conftest.$ac_objext \
22894 conftest$ac_exeext conftest.$ac_ext
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22897 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22898 if test $gcc_cv_math_func_sqrtf = yes; then
22900 cat >>confdefs.h <<_ACEOF
22901 #define HAVE_SQRTF 1
22902 _ACEOF
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22910 $as_echo_n "checking for sqrt... " >&6; }
22911 if ${gcc_cv_math_func_sqrt+:} false; then :
22912 $as_echo_n "(cached) " >&6
22913 else
22914 if test x$gcc_no_link = xyes; then
22915 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22918 /* end confdefs.h. */
22920 #ifdef HAVE_COMPLEX_H
22921 #include <complex.h>
22922 #endif
22923 #ifdef HAVE_MATH_H
22924 #include <math.h>
22925 #endif
22927 int (*ptr)() = (int (*)())sqrt;
22930 main ()
22932 return 0;
22935 _ACEOF
22936 if ac_fn_c_try_link "$LINENO"; then :
22937 gcc_cv_math_func_sqrt=yes
22938 else
22939 gcc_cv_math_func_sqrt=no
22941 rm -f core conftest.err conftest.$ac_objext \
22942 conftest$ac_exeext conftest.$ac_ext
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22945 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22946 if test $gcc_cv_math_func_sqrt = yes; then
22948 cat >>confdefs.h <<_ACEOF
22949 #define HAVE_SQRT 1
22950 _ACEOF
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22958 $as_echo_n "checking for sqrtl... " >&6; }
22959 if ${gcc_cv_math_func_sqrtl+:} false; then :
22960 $as_echo_n "(cached) " >&6
22961 else
22962 if test x$gcc_no_link = xyes; then
22963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22966 /* end confdefs.h. */
22968 #ifdef HAVE_COMPLEX_H
22969 #include <complex.h>
22970 #endif
22971 #ifdef HAVE_MATH_H
22972 #include <math.h>
22973 #endif
22975 int (*ptr)() = (int (*)())sqrtl;
22978 main ()
22980 return 0;
22983 _ACEOF
22984 if ac_fn_c_try_link "$LINENO"; then :
22985 gcc_cv_math_func_sqrtl=yes
22986 else
22987 gcc_cv_math_func_sqrtl=no
22989 rm -f core conftest.err conftest.$ac_objext \
22990 conftest$ac_exeext conftest.$ac_ext
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22993 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22994 if test $gcc_cv_math_func_sqrtl = yes; then
22996 cat >>confdefs.h <<_ACEOF
22997 #define HAVE_SQRTL 1
22998 _ACEOF
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23006 $as_echo_n "checking for csqrtf... " >&6; }
23007 if ${gcc_cv_math_func_csqrtf+:} false; then :
23008 $as_echo_n "(cached) " >&6
23009 else
23010 if test x$gcc_no_link = xyes; then
23011 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23014 /* end confdefs.h. */
23016 #ifdef HAVE_COMPLEX_H
23017 #include <complex.h>
23018 #endif
23019 #ifdef HAVE_MATH_H
23020 #include <math.h>
23021 #endif
23023 int (*ptr)() = (int (*)())csqrtf;
23026 main ()
23028 return 0;
23031 _ACEOF
23032 if ac_fn_c_try_link "$LINENO"; then :
23033 gcc_cv_math_func_csqrtf=yes
23034 else
23035 gcc_cv_math_func_csqrtf=no
23037 rm -f core conftest.err conftest.$ac_objext \
23038 conftest$ac_exeext conftest.$ac_ext
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23041 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23042 if test $gcc_cv_math_func_csqrtf = yes; then
23044 cat >>confdefs.h <<_ACEOF
23045 #define HAVE_CSQRTF 1
23046 _ACEOF
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23054 $as_echo_n "checking for csqrt... " >&6; }
23055 if ${gcc_cv_math_func_csqrt+:} false; then :
23056 $as_echo_n "(cached) " >&6
23057 else
23058 if test x$gcc_no_link = xyes; then
23059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23062 /* end confdefs.h. */
23064 #ifdef HAVE_COMPLEX_H
23065 #include <complex.h>
23066 #endif
23067 #ifdef HAVE_MATH_H
23068 #include <math.h>
23069 #endif
23071 int (*ptr)() = (int (*)())csqrt;
23074 main ()
23076 return 0;
23079 _ACEOF
23080 if ac_fn_c_try_link "$LINENO"; then :
23081 gcc_cv_math_func_csqrt=yes
23082 else
23083 gcc_cv_math_func_csqrt=no
23085 rm -f core conftest.err conftest.$ac_objext \
23086 conftest$ac_exeext conftest.$ac_ext
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23089 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23090 if test $gcc_cv_math_func_csqrt = yes; then
23092 cat >>confdefs.h <<_ACEOF
23093 #define HAVE_CSQRT 1
23094 _ACEOF
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23102 $as_echo_n "checking for csqrtl... " >&6; }
23103 if ${gcc_cv_math_func_csqrtl+:} false; then :
23104 $as_echo_n "(cached) " >&6
23105 else
23106 if test x$gcc_no_link = xyes; then
23107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23110 /* end confdefs.h. */
23112 #ifdef HAVE_COMPLEX_H
23113 #include <complex.h>
23114 #endif
23115 #ifdef HAVE_MATH_H
23116 #include <math.h>
23117 #endif
23119 int (*ptr)() = (int (*)())csqrtl;
23122 main ()
23124 return 0;
23127 _ACEOF
23128 if ac_fn_c_try_link "$LINENO"; then :
23129 gcc_cv_math_func_csqrtl=yes
23130 else
23131 gcc_cv_math_func_csqrtl=no
23133 rm -f core conftest.err conftest.$ac_objext \
23134 conftest$ac_exeext conftest.$ac_ext
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23137 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23138 if test $gcc_cv_math_func_csqrtl = yes; then
23140 cat >>confdefs.h <<_ACEOF
23141 #define HAVE_CSQRTL 1
23142 _ACEOF
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23150 $as_echo_n "checking for tanf... " >&6; }
23151 if ${gcc_cv_math_func_tanf+:} false; then :
23152 $as_echo_n "(cached) " >&6
23153 else
23154 if test x$gcc_no_link = xyes; then
23155 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23158 /* end confdefs.h. */
23160 #ifdef HAVE_COMPLEX_H
23161 #include <complex.h>
23162 #endif
23163 #ifdef HAVE_MATH_H
23164 #include <math.h>
23165 #endif
23167 int (*ptr)() = (int (*)())tanf;
23170 main ()
23172 return 0;
23175 _ACEOF
23176 if ac_fn_c_try_link "$LINENO"; then :
23177 gcc_cv_math_func_tanf=yes
23178 else
23179 gcc_cv_math_func_tanf=no
23181 rm -f core conftest.err conftest.$ac_objext \
23182 conftest$ac_exeext conftest.$ac_ext
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23185 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23186 if test $gcc_cv_math_func_tanf = yes; then
23188 cat >>confdefs.h <<_ACEOF
23189 #define HAVE_TANF 1
23190 _ACEOF
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23198 $as_echo_n "checking for tan... " >&6; }
23199 if ${gcc_cv_math_func_tan+:} false; then :
23200 $as_echo_n "(cached) " >&6
23201 else
23202 if test x$gcc_no_link = xyes; then
23203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23208 #ifdef HAVE_COMPLEX_H
23209 #include <complex.h>
23210 #endif
23211 #ifdef HAVE_MATH_H
23212 #include <math.h>
23213 #endif
23215 int (*ptr)() = (int (*)())tan;
23218 main ()
23220 return 0;
23223 _ACEOF
23224 if ac_fn_c_try_link "$LINENO"; then :
23225 gcc_cv_math_func_tan=yes
23226 else
23227 gcc_cv_math_func_tan=no
23229 rm -f core conftest.err conftest.$ac_objext \
23230 conftest$ac_exeext conftest.$ac_ext
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23233 $as_echo "$gcc_cv_math_func_tan" >&6; }
23234 if test $gcc_cv_math_func_tan = yes; then
23236 cat >>confdefs.h <<_ACEOF
23237 #define HAVE_TAN 1
23238 _ACEOF
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23246 $as_echo_n "checking for tanl... " >&6; }
23247 if ${gcc_cv_math_func_tanl+:} false; then :
23248 $as_echo_n "(cached) " >&6
23249 else
23250 if test x$gcc_no_link = xyes; then
23251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23254 /* end confdefs.h. */
23256 #ifdef HAVE_COMPLEX_H
23257 #include <complex.h>
23258 #endif
23259 #ifdef HAVE_MATH_H
23260 #include <math.h>
23261 #endif
23263 int (*ptr)() = (int (*)())tanl;
23266 main ()
23268 return 0;
23271 _ACEOF
23272 if ac_fn_c_try_link "$LINENO"; then :
23273 gcc_cv_math_func_tanl=yes
23274 else
23275 gcc_cv_math_func_tanl=no
23277 rm -f core conftest.err conftest.$ac_objext \
23278 conftest$ac_exeext conftest.$ac_ext
23280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23281 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23282 if test $gcc_cv_math_func_tanl = yes; then
23284 cat >>confdefs.h <<_ACEOF
23285 #define HAVE_TANL 1
23286 _ACEOF
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23294 $as_echo_n "checking for ctanf... " >&6; }
23295 if ${gcc_cv_math_func_ctanf+:} false; then :
23296 $as_echo_n "(cached) " >&6
23297 else
23298 if test x$gcc_no_link = xyes; then
23299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23302 /* end confdefs.h. */
23304 #ifdef HAVE_COMPLEX_H
23305 #include <complex.h>
23306 #endif
23307 #ifdef HAVE_MATH_H
23308 #include <math.h>
23309 #endif
23311 int (*ptr)() = (int (*)())ctanf;
23314 main ()
23316 return 0;
23319 _ACEOF
23320 if ac_fn_c_try_link "$LINENO"; then :
23321 gcc_cv_math_func_ctanf=yes
23322 else
23323 gcc_cv_math_func_ctanf=no
23325 rm -f core conftest.err conftest.$ac_objext \
23326 conftest$ac_exeext conftest.$ac_ext
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23329 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23330 if test $gcc_cv_math_func_ctanf = yes; then
23332 cat >>confdefs.h <<_ACEOF
23333 #define HAVE_CTANF 1
23334 _ACEOF
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23342 $as_echo_n "checking for ctan... " >&6; }
23343 if ${gcc_cv_math_func_ctan+:} false; then :
23344 $as_echo_n "(cached) " >&6
23345 else
23346 if test x$gcc_no_link = xyes; then
23347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23350 /* end confdefs.h. */
23352 #ifdef HAVE_COMPLEX_H
23353 #include <complex.h>
23354 #endif
23355 #ifdef HAVE_MATH_H
23356 #include <math.h>
23357 #endif
23359 int (*ptr)() = (int (*)())ctan;
23362 main ()
23364 return 0;
23367 _ACEOF
23368 if ac_fn_c_try_link "$LINENO"; then :
23369 gcc_cv_math_func_ctan=yes
23370 else
23371 gcc_cv_math_func_ctan=no
23373 rm -f core conftest.err conftest.$ac_objext \
23374 conftest$ac_exeext conftest.$ac_ext
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23377 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23378 if test $gcc_cv_math_func_ctan = yes; then
23380 cat >>confdefs.h <<_ACEOF
23381 #define HAVE_CTAN 1
23382 _ACEOF
23389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23390 $as_echo_n "checking for ctanl... " >&6; }
23391 if ${gcc_cv_math_func_ctanl+:} false; then :
23392 $as_echo_n "(cached) " >&6
23393 else
23394 if test x$gcc_no_link = xyes; then
23395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23400 #ifdef HAVE_COMPLEX_H
23401 #include <complex.h>
23402 #endif
23403 #ifdef HAVE_MATH_H
23404 #include <math.h>
23405 #endif
23407 int (*ptr)() = (int (*)())ctanl;
23410 main ()
23412 return 0;
23415 _ACEOF
23416 if ac_fn_c_try_link "$LINENO"; then :
23417 gcc_cv_math_func_ctanl=yes
23418 else
23419 gcc_cv_math_func_ctanl=no
23421 rm -f core conftest.err conftest.$ac_objext \
23422 conftest$ac_exeext conftest.$ac_ext
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23425 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23426 if test $gcc_cv_math_func_ctanl = yes; then
23428 cat >>confdefs.h <<_ACEOF
23429 #define HAVE_CTANL 1
23430 _ACEOF
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23438 $as_echo_n "checking for tanhf... " >&6; }
23439 if ${gcc_cv_math_func_tanhf+:} false; then :
23440 $as_echo_n "(cached) " >&6
23441 else
23442 if test x$gcc_no_link = xyes; then
23443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23446 /* end confdefs.h. */
23448 #ifdef HAVE_COMPLEX_H
23449 #include <complex.h>
23450 #endif
23451 #ifdef HAVE_MATH_H
23452 #include <math.h>
23453 #endif
23455 int (*ptr)() = (int (*)())tanhf;
23458 main ()
23460 return 0;
23463 _ACEOF
23464 if ac_fn_c_try_link "$LINENO"; then :
23465 gcc_cv_math_func_tanhf=yes
23466 else
23467 gcc_cv_math_func_tanhf=no
23469 rm -f core conftest.err conftest.$ac_objext \
23470 conftest$ac_exeext conftest.$ac_ext
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23473 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23474 if test $gcc_cv_math_func_tanhf = yes; then
23476 cat >>confdefs.h <<_ACEOF
23477 #define HAVE_TANHF 1
23478 _ACEOF
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23486 $as_echo_n "checking for tanh... " >&6; }
23487 if ${gcc_cv_math_func_tanh+:} false; then :
23488 $as_echo_n "(cached) " >&6
23489 else
23490 if test x$gcc_no_link = xyes; then
23491 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23496 #ifdef HAVE_COMPLEX_H
23497 #include <complex.h>
23498 #endif
23499 #ifdef HAVE_MATH_H
23500 #include <math.h>
23501 #endif
23503 int (*ptr)() = (int (*)())tanh;
23506 main ()
23508 return 0;
23511 _ACEOF
23512 if ac_fn_c_try_link "$LINENO"; then :
23513 gcc_cv_math_func_tanh=yes
23514 else
23515 gcc_cv_math_func_tanh=no
23517 rm -f core conftest.err conftest.$ac_objext \
23518 conftest$ac_exeext conftest.$ac_ext
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23521 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23522 if test $gcc_cv_math_func_tanh = yes; then
23524 cat >>confdefs.h <<_ACEOF
23525 #define HAVE_TANH 1
23526 _ACEOF
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23534 $as_echo_n "checking for tanhl... " >&6; }
23535 if ${gcc_cv_math_func_tanhl+:} false; then :
23536 $as_echo_n "(cached) " >&6
23537 else
23538 if test x$gcc_no_link = xyes; then
23539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23542 /* end confdefs.h. */
23544 #ifdef HAVE_COMPLEX_H
23545 #include <complex.h>
23546 #endif
23547 #ifdef HAVE_MATH_H
23548 #include <math.h>
23549 #endif
23551 int (*ptr)() = (int (*)())tanhl;
23554 main ()
23556 return 0;
23559 _ACEOF
23560 if ac_fn_c_try_link "$LINENO"; then :
23561 gcc_cv_math_func_tanhl=yes
23562 else
23563 gcc_cv_math_func_tanhl=no
23565 rm -f core conftest.err conftest.$ac_objext \
23566 conftest$ac_exeext conftest.$ac_ext
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23569 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23570 if test $gcc_cv_math_func_tanhl = yes; then
23572 cat >>confdefs.h <<_ACEOF
23573 #define HAVE_TANHL 1
23574 _ACEOF
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23582 $as_echo_n "checking for ctanhf... " >&6; }
23583 if ${gcc_cv_math_func_ctanhf+:} false; then :
23584 $as_echo_n "(cached) " >&6
23585 else
23586 if test x$gcc_no_link = xyes; then
23587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23590 /* end confdefs.h. */
23592 #ifdef HAVE_COMPLEX_H
23593 #include <complex.h>
23594 #endif
23595 #ifdef HAVE_MATH_H
23596 #include <math.h>
23597 #endif
23599 int (*ptr)() = (int (*)())ctanhf;
23602 main ()
23604 return 0;
23607 _ACEOF
23608 if ac_fn_c_try_link "$LINENO"; then :
23609 gcc_cv_math_func_ctanhf=yes
23610 else
23611 gcc_cv_math_func_ctanhf=no
23613 rm -f core conftest.err conftest.$ac_objext \
23614 conftest$ac_exeext conftest.$ac_ext
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23617 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23618 if test $gcc_cv_math_func_ctanhf = yes; then
23620 cat >>confdefs.h <<_ACEOF
23621 #define HAVE_CTANHF 1
23622 _ACEOF
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23630 $as_echo_n "checking for ctanh... " >&6; }
23631 if ${gcc_cv_math_func_ctanh+:} false; then :
23632 $as_echo_n "(cached) " >&6
23633 else
23634 if test x$gcc_no_link = xyes; then
23635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23638 /* end confdefs.h. */
23640 #ifdef HAVE_COMPLEX_H
23641 #include <complex.h>
23642 #endif
23643 #ifdef HAVE_MATH_H
23644 #include <math.h>
23645 #endif
23647 int (*ptr)() = (int (*)())ctanh;
23650 main ()
23652 return 0;
23655 _ACEOF
23656 if ac_fn_c_try_link "$LINENO"; then :
23657 gcc_cv_math_func_ctanh=yes
23658 else
23659 gcc_cv_math_func_ctanh=no
23661 rm -f core conftest.err conftest.$ac_objext \
23662 conftest$ac_exeext conftest.$ac_ext
23664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23665 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23666 if test $gcc_cv_math_func_ctanh = yes; then
23668 cat >>confdefs.h <<_ACEOF
23669 #define HAVE_CTANH 1
23670 _ACEOF
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23678 $as_echo_n "checking for ctanhl... " >&6; }
23679 if ${gcc_cv_math_func_ctanhl+:} false; then :
23680 $as_echo_n "(cached) " >&6
23681 else
23682 if test x$gcc_no_link = xyes; then
23683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h. */
23688 #ifdef HAVE_COMPLEX_H
23689 #include <complex.h>
23690 #endif
23691 #ifdef HAVE_MATH_H
23692 #include <math.h>
23693 #endif
23695 int (*ptr)() = (int (*)())ctanhl;
23698 main ()
23700 return 0;
23703 _ACEOF
23704 if ac_fn_c_try_link "$LINENO"; then :
23705 gcc_cv_math_func_ctanhl=yes
23706 else
23707 gcc_cv_math_func_ctanhl=no
23709 rm -f core conftest.err conftest.$ac_objext \
23710 conftest$ac_exeext conftest.$ac_ext
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23713 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23714 if test $gcc_cv_math_func_ctanhl = yes; then
23716 cat >>confdefs.h <<_ACEOF
23717 #define HAVE_CTANHL 1
23718 _ACEOF
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23726 $as_echo_n "checking for truncf... " >&6; }
23727 if ${gcc_cv_math_func_truncf+:} false; then :
23728 $as_echo_n "(cached) " >&6
23729 else
23730 if test x$gcc_no_link = xyes; then
23731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23734 /* end confdefs.h. */
23736 #ifdef HAVE_COMPLEX_H
23737 #include <complex.h>
23738 #endif
23739 #ifdef HAVE_MATH_H
23740 #include <math.h>
23741 #endif
23743 int (*ptr)() = (int (*)())truncf;
23746 main ()
23748 return 0;
23751 _ACEOF
23752 if ac_fn_c_try_link "$LINENO"; then :
23753 gcc_cv_math_func_truncf=yes
23754 else
23755 gcc_cv_math_func_truncf=no
23757 rm -f core conftest.err conftest.$ac_objext \
23758 conftest$ac_exeext conftest.$ac_ext
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23761 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23762 if test $gcc_cv_math_func_truncf = yes; then
23764 cat >>confdefs.h <<_ACEOF
23765 #define HAVE_TRUNCF 1
23766 _ACEOF
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23774 $as_echo_n "checking for trunc... " >&6; }
23775 if ${gcc_cv_math_func_trunc+:} false; then :
23776 $as_echo_n "(cached) " >&6
23777 else
23778 if test x$gcc_no_link = xyes; then
23779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h. */
23784 #ifdef HAVE_COMPLEX_H
23785 #include <complex.h>
23786 #endif
23787 #ifdef HAVE_MATH_H
23788 #include <math.h>
23789 #endif
23791 int (*ptr)() = (int (*)())trunc;
23794 main ()
23796 return 0;
23799 _ACEOF
23800 if ac_fn_c_try_link "$LINENO"; then :
23801 gcc_cv_math_func_trunc=yes
23802 else
23803 gcc_cv_math_func_trunc=no
23805 rm -f core conftest.err conftest.$ac_objext \
23806 conftest$ac_exeext conftest.$ac_ext
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23809 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23810 if test $gcc_cv_math_func_trunc = yes; then
23812 cat >>confdefs.h <<_ACEOF
23813 #define HAVE_TRUNC 1
23814 _ACEOF
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23822 $as_echo_n "checking for truncl... " >&6; }
23823 if ${gcc_cv_math_func_truncl+:} false; then :
23824 $as_echo_n "(cached) " >&6
23825 else
23826 if test x$gcc_no_link = xyes; then
23827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23830 /* end confdefs.h. */
23832 #ifdef HAVE_COMPLEX_H
23833 #include <complex.h>
23834 #endif
23835 #ifdef HAVE_MATH_H
23836 #include <math.h>
23837 #endif
23839 int (*ptr)() = (int (*)())truncl;
23842 main ()
23844 return 0;
23847 _ACEOF
23848 if ac_fn_c_try_link "$LINENO"; then :
23849 gcc_cv_math_func_truncl=yes
23850 else
23851 gcc_cv_math_func_truncl=no
23853 rm -f core conftest.err conftest.$ac_objext \
23854 conftest$ac_exeext conftest.$ac_ext
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23857 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23858 if test $gcc_cv_math_func_truncl = yes; then
23860 cat >>confdefs.h <<_ACEOF
23861 #define HAVE_TRUNCL 1
23862 _ACEOF
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23870 $as_echo_n "checking for erff... " >&6; }
23871 if ${gcc_cv_math_func_erff+:} false; then :
23872 $as_echo_n "(cached) " >&6
23873 else
23874 if test x$gcc_no_link = xyes; then
23875 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23878 /* end confdefs.h. */
23880 #ifdef HAVE_COMPLEX_H
23881 #include <complex.h>
23882 #endif
23883 #ifdef HAVE_MATH_H
23884 #include <math.h>
23885 #endif
23887 int (*ptr)() = (int (*)())erff;
23890 main ()
23892 return 0;
23895 _ACEOF
23896 if ac_fn_c_try_link "$LINENO"; then :
23897 gcc_cv_math_func_erff=yes
23898 else
23899 gcc_cv_math_func_erff=no
23901 rm -f core conftest.err conftest.$ac_objext \
23902 conftest$ac_exeext conftest.$ac_ext
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23905 $as_echo "$gcc_cv_math_func_erff" >&6; }
23906 if test $gcc_cv_math_func_erff = yes; then
23908 cat >>confdefs.h <<_ACEOF
23909 #define HAVE_ERFF 1
23910 _ACEOF
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23918 $as_echo_n "checking for erf... " >&6; }
23919 if ${gcc_cv_math_func_erf+:} false; then :
23920 $as_echo_n "(cached) " >&6
23921 else
23922 if test x$gcc_no_link = xyes; then
23923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h. */
23928 #ifdef HAVE_COMPLEX_H
23929 #include <complex.h>
23930 #endif
23931 #ifdef HAVE_MATH_H
23932 #include <math.h>
23933 #endif
23935 int (*ptr)() = (int (*)())erf;
23938 main ()
23940 return 0;
23943 _ACEOF
23944 if ac_fn_c_try_link "$LINENO"; then :
23945 gcc_cv_math_func_erf=yes
23946 else
23947 gcc_cv_math_func_erf=no
23949 rm -f core conftest.err conftest.$ac_objext \
23950 conftest$ac_exeext conftest.$ac_ext
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23953 $as_echo "$gcc_cv_math_func_erf" >&6; }
23954 if test $gcc_cv_math_func_erf = yes; then
23956 cat >>confdefs.h <<_ACEOF
23957 #define HAVE_ERF 1
23958 _ACEOF
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23966 $as_echo_n "checking for erfcf... " >&6; }
23967 if ${gcc_cv_math_func_erfcf+:} false; then :
23968 $as_echo_n "(cached) " >&6
23969 else
23970 if test x$gcc_no_link = xyes; then
23971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h. */
23976 #ifdef HAVE_COMPLEX_H
23977 #include <complex.h>
23978 #endif
23979 #ifdef HAVE_MATH_H
23980 #include <math.h>
23981 #endif
23983 int (*ptr)() = (int (*)())erfcf;
23986 main ()
23988 return 0;
23991 _ACEOF
23992 if ac_fn_c_try_link "$LINENO"; then :
23993 gcc_cv_math_func_erfcf=yes
23994 else
23995 gcc_cv_math_func_erfcf=no
23997 rm -f core conftest.err conftest.$ac_objext \
23998 conftest$ac_exeext conftest.$ac_ext
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24001 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24002 if test $gcc_cv_math_func_erfcf = yes; then
24004 cat >>confdefs.h <<_ACEOF
24005 #define HAVE_ERFCF 1
24006 _ACEOF
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24014 $as_echo_n "checking for erfc... " >&6; }
24015 if ${gcc_cv_math_func_erfc+:} false; then :
24016 $as_echo_n "(cached) " >&6
24017 else
24018 if test x$gcc_no_link = xyes; then
24019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h. */
24024 #ifdef HAVE_COMPLEX_H
24025 #include <complex.h>
24026 #endif
24027 #ifdef HAVE_MATH_H
24028 #include <math.h>
24029 #endif
24031 int (*ptr)() = (int (*)())erfc;
24034 main ()
24036 return 0;
24039 _ACEOF
24040 if ac_fn_c_try_link "$LINENO"; then :
24041 gcc_cv_math_func_erfc=yes
24042 else
24043 gcc_cv_math_func_erfc=no
24045 rm -f core conftest.err conftest.$ac_objext \
24046 conftest$ac_exeext conftest.$ac_ext
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24049 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24050 if test $gcc_cv_math_func_erfc = yes; then
24052 cat >>confdefs.h <<_ACEOF
24053 #define HAVE_ERFC 1
24054 _ACEOF
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24062 $as_echo_n "checking for erfcl... " >&6; }
24063 if ${gcc_cv_math_func_erfcl+:} false; then :
24064 $as_echo_n "(cached) " >&6
24065 else
24066 if test x$gcc_no_link = xyes; then
24067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24070 /* end confdefs.h. */
24072 #ifdef HAVE_COMPLEX_H
24073 #include <complex.h>
24074 #endif
24075 #ifdef HAVE_MATH_H
24076 #include <math.h>
24077 #endif
24079 int (*ptr)() = (int (*)())erfcl;
24082 main ()
24084 return 0;
24087 _ACEOF
24088 if ac_fn_c_try_link "$LINENO"; then :
24089 gcc_cv_math_func_erfcl=yes
24090 else
24091 gcc_cv_math_func_erfcl=no
24093 rm -f core conftest.err conftest.$ac_objext \
24094 conftest$ac_exeext conftest.$ac_ext
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24097 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24098 if test $gcc_cv_math_func_erfcl = yes; then
24100 cat >>confdefs.h <<_ACEOF
24101 #define HAVE_ERFCL 1
24102 _ACEOF
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24110 $as_echo_n "checking for j0f... " >&6; }
24111 if ${gcc_cv_math_func_j0f+:} false; then :
24112 $as_echo_n "(cached) " >&6
24113 else
24114 if test x$gcc_no_link = xyes; then
24115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24118 /* end confdefs.h. */
24120 #ifdef HAVE_COMPLEX_H
24121 #include <complex.h>
24122 #endif
24123 #ifdef HAVE_MATH_H
24124 #include <math.h>
24125 #endif
24127 int (*ptr)() = (int (*)())j0f;
24130 main ()
24132 return 0;
24135 _ACEOF
24136 if ac_fn_c_try_link "$LINENO"; then :
24137 gcc_cv_math_func_j0f=yes
24138 else
24139 gcc_cv_math_func_j0f=no
24141 rm -f core conftest.err conftest.$ac_objext \
24142 conftest$ac_exeext conftest.$ac_ext
24144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24145 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24146 if test $gcc_cv_math_func_j0f = yes; then
24148 cat >>confdefs.h <<_ACEOF
24149 #define HAVE_J0F 1
24150 _ACEOF
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24158 $as_echo_n "checking for j0... " >&6; }
24159 if ${gcc_cv_math_func_j0+:} false; then :
24160 $as_echo_n "(cached) " >&6
24161 else
24162 if test x$gcc_no_link = xyes; then
24163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24166 /* end confdefs.h. */
24168 #ifdef HAVE_COMPLEX_H
24169 #include <complex.h>
24170 #endif
24171 #ifdef HAVE_MATH_H
24172 #include <math.h>
24173 #endif
24175 int (*ptr)() = (int (*)())j0;
24178 main ()
24180 return 0;
24183 _ACEOF
24184 if ac_fn_c_try_link "$LINENO"; then :
24185 gcc_cv_math_func_j0=yes
24186 else
24187 gcc_cv_math_func_j0=no
24189 rm -f core conftest.err conftest.$ac_objext \
24190 conftest$ac_exeext conftest.$ac_ext
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24193 $as_echo "$gcc_cv_math_func_j0" >&6; }
24194 if test $gcc_cv_math_func_j0 = yes; then
24196 cat >>confdefs.h <<_ACEOF
24197 #define HAVE_J0 1
24198 _ACEOF
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24206 $as_echo_n "checking for j1f... " >&6; }
24207 if ${gcc_cv_math_func_j1f+:} false; then :
24208 $as_echo_n "(cached) " >&6
24209 else
24210 if test x$gcc_no_link = xyes; then
24211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24214 /* end confdefs.h. */
24216 #ifdef HAVE_COMPLEX_H
24217 #include <complex.h>
24218 #endif
24219 #ifdef HAVE_MATH_H
24220 #include <math.h>
24221 #endif
24223 int (*ptr)() = (int (*)())j1f;
24226 main ()
24228 return 0;
24231 _ACEOF
24232 if ac_fn_c_try_link "$LINENO"; then :
24233 gcc_cv_math_func_j1f=yes
24234 else
24235 gcc_cv_math_func_j1f=no
24237 rm -f core conftest.err conftest.$ac_objext \
24238 conftest$ac_exeext conftest.$ac_ext
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24241 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24242 if test $gcc_cv_math_func_j1f = yes; then
24244 cat >>confdefs.h <<_ACEOF
24245 #define HAVE_J1F 1
24246 _ACEOF
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24254 $as_echo_n "checking for j1... " >&6; }
24255 if ${gcc_cv_math_func_j1+:} false; then :
24256 $as_echo_n "(cached) " >&6
24257 else
24258 if test x$gcc_no_link = xyes; then
24259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24262 /* end confdefs.h. */
24264 #ifdef HAVE_COMPLEX_H
24265 #include <complex.h>
24266 #endif
24267 #ifdef HAVE_MATH_H
24268 #include <math.h>
24269 #endif
24271 int (*ptr)() = (int (*)())j1;
24274 main ()
24276 return 0;
24279 _ACEOF
24280 if ac_fn_c_try_link "$LINENO"; then :
24281 gcc_cv_math_func_j1=yes
24282 else
24283 gcc_cv_math_func_j1=no
24285 rm -f core conftest.err conftest.$ac_objext \
24286 conftest$ac_exeext conftest.$ac_ext
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24289 $as_echo "$gcc_cv_math_func_j1" >&6; }
24290 if test $gcc_cv_math_func_j1 = yes; then
24292 cat >>confdefs.h <<_ACEOF
24293 #define HAVE_J1 1
24294 _ACEOF
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24302 $as_echo_n "checking for jnf... " >&6; }
24303 if ${gcc_cv_math_func_jnf+:} false; then :
24304 $as_echo_n "(cached) " >&6
24305 else
24306 if test x$gcc_no_link = xyes; then
24307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24310 /* end confdefs.h. */
24312 #ifdef HAVE_COMPLEX_H
24313 #include <complex.h>
24314 #endif
24315 #ifdef HAVE_MATH_H
24316 #include <math.h>
24317 #endif
24319 int (*ptr)() = (int (*)())jnf;
24322 main ()
24324 return 0;
24327 _ACEOF
24328 if ac_fn_c_try_link "$LINENO"; then :
24329 gcc_cv_math_func_jnf=yes
24330 else
24331 gcc_cv_math_func_jnf=no
24333 rm -f core conftest.err conftest.$ac_objext \
24334 conftest$ac_exeext conftest.$ac_ext
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24337 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24338 if test $gcc_cv_math_func_jnf = yes; then
24340 cat >>confdefs.h <<_ACEOF
24341 #define HAVE_JNF 1
24342 _ACEOF
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24350 $as_echo_n "checking for jn... " >&6; }
24351 if ${gcc_cv_math_func_jn+:} false; then :
24352 $as_echo_n "(cached) " >&6
24353 else
24354 if test x$gcc_no_link = xyes; then
24355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24358 /* end confdefs.h. */
24360 #ifdef HAVE_COMPLEX_H
24361 #include <complex.h>
24362 #endif
24363 #ifdef HAVE_MATH_H
24364 #include <math.h>
24365 #endif
24367 int (*ptr)() = (int (*)())jn;
24370 main ()
24372 return 0;
24375 _ACEOF
24376 if ac_fn_c_try_link "$LINENO"; then :
24377 gcc_cv_math_func_jn=yes
24378 else
24379 gcc_cv_math_func_jn=no
24381 rm -f core conftest.err conftest.$ac_objext \
24382 conftest$ac_exeext conftest.$ac_ext
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24385 $as_echo "$gcc_cv_math_func_jn" >&6; }
24386 if test $gcc_cv_math_func_jn = yes; then
24388 cat >>confdefs.h <<_ACEOF
24389 #define HAVE_JN 1
24390 _ACEOF
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24398 $as_echo_n "checking for jnl... " >&6; }
24399 if ${gcc_cv_math_func_jnl+:} false; then :
24400 $as_echo_n "(cached) " >&6
24401 else
24402 if test x$gcc_no_link = xyes; then
24403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24406 /* end confdefs.h. */
24408 #ifdef HAVE_COMPLEX_H
24409 #include <complex.h>
24410 #endif
24411 #ifdef HAVE_MATH_H
24412 #include <math.h>
24413 #endif
24415 int (*ptr)() = (int (*)())jnl;
24418 main ()
24420 return 0;
24423 _ACEOF
24424 if ac_fn_c_try_link "$LINENO"; then :
24425 gcc_cv_math_func_jnl=yes
24426 else
24427 gcc_cv_math_func_jnl=no
24429 rm -f core conftest.err conftest.$ac_objext \
24430 conftest$ac_exeext conftest.$ac_ext
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24433 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24434 if test $gcc_cv_math_func_jnl = yes; then
24436 cat >>confdefs.h <<_ACEOF
24437 #define HAVE_JNL 1
24438 _ACEOF
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24446 $as_echo_n "checking for y0f... " >&6; }
24447 if ${gcc_cv_math_func_y0f+:} false; then :
24448 $as_echo_n "(cached) " >&6
24449 else
24450 if test x$gcc_no_link = xyes; then
24451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24454 /* end confdefs.h. */
24456 #ifdef HAVE_COMPLEX_H
24457 #include <complex.h>
24458 #endif
24459 #ifdef HAVE_MATH_H
24460 #include <math.h>
24461 #endif
24463 int (*ptr)() = (int (*)())y0f;
24466 main ()
24468 return 0;
24471 _ACEOF
24472 if ac_fn_c_try_link "$LINENO"; then :
24473 gcc_cv_math_func_y0f=yes
24474 else
24475 gcc_cv_math_func_y0f=no
24477 rm -f core conftest.err conftest.$ac_objext \
24478 conftest$ac_exeext conftest.$ac_ext
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24481 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24482 if test $gcc_cv_math_func_y0f = yes; then
24484 cat >>confdefs.h <<_ACEOF
24485 #define HAVE_Y0F 1
24486 _ACEOF
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24494 $as_echo_n "checking for y0... " >&6; }
24495 if ${gcc_cv_math_func_y0+:} false; then :
24496 $as_echo_n "(cached) " >&6
24497 else
24498 if test x$gcc_no_link = xyes; then
24499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24502 /* end confdefs.h. */
24504 #ifdef HAVE_COMPLEX_H
24505 #include <complex.h>
24506 #endif
24507 #ifdef HAVE_MATH_H
24508 #include <math.h>
24509 #endif
24511 int (*ptr)() = (int (*)())y0;
24514 main ()
24516 return 0;
24519 _ACEOF
24520 if ac_fn_c_try_link "$LINENO"; then :
24521 gcc_cv_math_func_y0=yes
24522 else
24523 gcc_cv_math_func_y0=no
24525 rm -f core conftest.err conftest.$ac_objext \
24526 conftest$ac_exeext conftest.$ac_ext
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24529 $as_echo "$gcc_cv_math_func_y0" >&6; }
24530 if test $gcc_cv_math_func_y0 = yes; then
24532 cat >>confdefs.h <<_ACEOF
24533 #define HAVE_Y0 1
24534 _ACEOF
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24542 $as_echo_n "checking for y1f... " >&6; }
24543 if ${gcc_cv_math_func_y1f+:} false; then :
24544 $as_echo_n "(cached) " >&6
24545 else
24546 if test x$gcc_no_link = xyes; then
24547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24550 /* end confdefs.h. */
24552 #ifdef HAVE_COMPLEX_H
24553 #include <complex.h>
24554 #endif
24555 #ifdef HAVE_MATH_H
24556 #include <math.h>
24557 #endif
24559 int (*ptr)() = (int (*)())y1f;
24562 main ()
24564 return 0;
24567 _ACEOF
24568 if ac_fn_c_try_link "$LINENO"; then :
24569 gcc_cv_math_func_y1f=yes
24570 else
24571 gcc_cv_math_func_y1f=no
24573 rm -f core conftest.err conftest.$ac_objext \
24574 conftest$ac_exeext conftest.$ac_ext
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24577 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24578 if test $gcc_cv_math_func_y1f = yes; then
24580 cat >>confdefs.h <<_ACEOF
24581 #define HAVE_Y1F 1
24582 _ACEOF
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24590 $as_echo_n "checking for y1... " >&6; }
24591 if ${gcc_cv_math_func_y1+:} false; then :
24592 $as_echo_n "(cached) " >&6
24593 else
24594 if test x$gcc_no_link = xyes; then
24595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24598 /* end confdefs.h. */
24600 #ifdef HAVE_COMPLEX_H
24601 #include <complex.h>
24602 #endif
24603 #ifdef HAVE_MATH_H
24604 #include <math.h>
24605 #endif
24607 int (*ptr)() = (int (*)())y1;
24610 main ()
24612 return 0;
24615 _ACEOF
24616 if ac_fn_c_try_link "$LINENO"; then :
24617 gcc_cv_math_func_y1=yes
24618 else
24619 gcc_cv_math_func_y1=no
24621 rm -f core conftest.err conftest.$ac_objext \
24622 conftest$ac_exeext conftest.$ac_ext
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24625 $as_echo "$gcc_cv_math_func_y1" >&6; }
24626 if test $gcc_cv_math_func_y1 = yes; then
24628 cat >>confdefs.h <<_ACEOF
24629 #define HAVE_Y1 1
24630 _ACEOF
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24638 $as_echo_n "checking for ynf... " >&6; }
24639 if ${gcc_cv_math_func_ynf+:} false; then :
24640 $as_echo_n "(cached) " >&6
24641 else
24642 if test x$gcc_no_link = xyes; then
24643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24646 /* end confdefs.h. */
24648 #ifdef HAVE_COMPLEX_H
24649 #include <complex.h>
24650 #endif
24651 #ifdef HAVE_MATH_H
24652 #include <math.h>
24653 #endif
24655 int (*ptr)() = (int (*)())ynf;
24658 main ()
24660 return 0;
24663 _ACEOF
24664 if ac_fn_c_try_link "$LINENO"; then :
24665 gcc_cv_math_func_ynf=yes
24666 else
24667 gcc_cv_math_func_ynf=no
24669 rm -f core conftest.err conftest.$ac_objext \
24670 conftest$ac_exeext conftest.$ac_ext
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24673 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24674 if test $gcc_cv_math_func_ynf = yes; then
24676 cat >>confdefs.h <<_ACEOF
24677 #define HAVE_YNF 1
24678 _ACEOF
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24686 $as_echo_n "checking for yn... " >&6; }
24687 if ${gcc_cv_math_func_yn+:} false; then :
24688 $as_echo_n "(cached) " >&6
24689 else
24690 if test x$gcc_no_link = xyes; then
24691 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24694 /* end confdefs.h. */
24696 #ifdef HAVE_COMPLEX_H
24697 #include <complex.h>
24698 #endif
24699 #ifdef HAVE_MATH_H
24700 #include <math.h>
24701 #endif
24703 int (*ptr)() = (int (*)())yn;
24706 main ()
24708 return 0;
24711 _ACEOF
24712 if ac_fn_c_try_link "$LINENO"; then :
24713 gcc_cv_math_func_yn=yes
24714 else
24715 gcc_cv_math_func_yn=no
24717 rm -f core conftest.err conftest.$ac_objext \
24718 conftest$ac_exeext conftest.$ac_ext
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24721 $as_echo "$gcc_cv_math_func_yn" >&6; }
24722 if test $gcc_cv_math_func_yn = yes; then
24724 cat >>confdefs.h <<_ACEOF
24725 #define HAVE_YN 1
24726 _ACEOF
24733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24734 $as_echo_n "checking for ynl... " >&6; }
24735 if ${gcc_cv_math_func_ynl+:} false; then :
24736 $as_echo_n "(cached) " >&6
24737 else
24738 if test x$gcc_no_link = xyes; then
24739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24742 /* end confdefs.h. */
24744 #ifdef HAVE_COMPLEX_H
24745 #include <complex.h>
24746 #endif
24747 #ifdef HAVE_MATH_H
24748 #include <math.h>
24749 #endif
24751 int (*ptr)() = (int (*)())ynl;
24754 main ()
24756 return 0;
24759 _ACEOF
24760 if ac_fn_c_try_link "$LINENO"; then :
24761 gcc_cv_math_func_ynl=yes
24762 else
24763 gcc_cv_math_func_ynl=no
24765 rm -f core conftest.err conftest.$ac_objext \
24766 conftest$ac_exeext conftest.$ac_ext
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24769 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24770 if test $gcc_cv_math_func_ynl = yes; then
24772 cat >>confdefs.h <<_ACEOF
24773 #define HAVE_YNL 1
24774 _ACEOF
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24782 $as_echo_n "checking for tgamma... " >&6; }
24783 if ${gcc_cv_math_func_tgamma+:} false; then :
24784 $as_echo_n "(cached) " >&6
24785 else
24786 if test x$gcc_no_link = xyes; then
24787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24790 /* end confdefs.h. */
24792 #ifdef HAVE_COMPLEX_H
24793 #include <complex.h>
24794 #endif
24795 #ifdef HAVE_MATH_H
24796 #include <math.h>
24797 #endif
24799 int (*ptr)() = (int (*)())tgamma;
24802 main ()
24804 return 0;
24807 _ACEOF
24808 if ac_fn_c_try_link "$LINENO"; then :
24809 gcc_cv_math_func_tgamma=yes
24810 else
24811 gcc_cv_math_func_tgamma=no
24813 rm -f core conftest.err conftest.$ac_objext \
24814 conftest$ac_exeext conftest.$ac_ext
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24817 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24818 if test $gcc_cv_math_func_tgamma = yes; then
24820 cat >>confdefs.h <<_ACEOF
24821 #define HAVE_TGAMMA 1
24822 _ACEOF
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24830 $as_echo_n "checking for tgammaf... " >&6; }
24831 if ${gcc_cv_math_func_tgammaf+:} false; then :
24832 $as_echo_n "(cached) " >&6
24833 else
24834 if test x$gcc_no_link = xyes; then
24835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24838 /* end confdefs.h. */
24840 #ifdef HAVE_COMPLEX_H
24841 #include <complex.h>
24842 #endif
24843 #ifdef HAVE_MATH_H
24844 #include <math.h>
24845 #endif
24847 int (*ptr)() = (int (*)())tgammaf;
24850 main ()
24852 return 0;
24855 _ACEOF
24856 if ac_fn_c_try_link "$LINENO"; then :
24857 gcc_cv_math_func_tgammaf=yes
24858 else
24859 gcc_cv_math_func_tgammaf=no
24861 rm -f core conftest.err conftest.$ac_objext \
24862 conftest$ac_exeext conftest.$ac_ext
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24865 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24866 if test $gcc_cv_math_func_tgammaf = yes; then
24868 cat >>confdefs.h <<_ACEOF
24869 #define HAVE_TGAMMAF 1
24870 _ACEOF
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24878 $as_echo_n "checking for lgamma... " >&6; }
24879 if ${gcc_cv_math_func_lgamma+:} false; then :
24880 $as_echo_n "(cached) " >&6
24881 else
24882 if test x$gcc_no_link = xyes; then
24883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24886 /* end confdefs.h. */
24888 #ifdef HAVE_COMPLEX_H
24889 #include <complex.h>
24890 #endif
24891 #ifdef HAVE_MATH_H
24892 #include <math.h>
24893 #endif
24895 int (*ptr)() = (int (*)())lgamma;
24898 main ()
24900 return 0;
24903 _ACEOF
24904 if ac_fn_c_try_link "$LINENO"; then :
24905 gcc_cv_math_func_lgamma=yes
24906 else
24907 gcc_cv_math_func_lgamma=no
24909 rm -f core conftest.err conftest.$ac_objext \
24910 conftest$ac_exeext conftest.$ac_ext
24912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24913 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24914 if test $gcc_cv_math_func_lgamma = yes; then
24916 cat >>confdefs.h <<_ACEOF
24917 #define HAVE_LGAMMA 1
24918 _ACEOF
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24926 $as_echo_n "checking for lgammaf... " >&6; }
24927 if ${gcc_cv_math_func_lgammaf+:} false; then :
24928 $as_echo_n "(cached) " >&6
24929 else
24930 if test x$gcc_no_link = xyes; then
24931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24934 /* end confdefs.h. */
24936 #ifdef HAVE_COMPLEX_H
24937 #include <complex.h>
24938 #endif
24939 #ifdef HAVE_MATH_H
24940 #include <math.h>
24941 #endif
24943 int (*ptr)() = (int (*)())lgammaf;
24946 main ()
24948 return 0;
24951 _ACEOF
24952 if ac_fn_c_try_link "$LINENO"; then :
24953 gcc_cv_math_func_lgammaf=yes
24954 else
24955 gcc_cv_math_func_lgammaf=no
24957 rm -f core conftest.err conftest.$ac_objext \
24958 conftest$ac_exeext conftest.$ac_ext
24960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24961 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24962 if test $gcc_cv_math_func_lgammaf = yes; then
24964 cat >>confdefs.h <<_ACEOF
24965 #define HAVE_LGAMMAF 1
24966 _ACEOF
24971 # Check for GFORTRAN_C99_1.1 funcs
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24976 $as_echo_n "checking for cacos... " >&6; }
24977 if ${gcc_cv_math_func_cacos+:} false; then :
24978 $as_echo_n "(cached) " >&6
24979 else
24980 if test x$gcc_no_link = xyes; then
24981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24984 /* end confdefs.h. */
24986 #ifdef HAVE_COMPLEX_H
24987 #include <complex.h>
24988 #endif
24989 #ifdef HAVE_MATH_H
24990 #include <math.h>
24991 #endif
24993 int (*ptr)() = (int (*)())cacos;
24996 main ()
24998 return 0;
25001 _ACEOF
25002 if ac_fn_c_try_link "$LINENO"; then :
25003 gcc_cv_math_func_cacos=yes
25004 else
25005 gcc_cv_math_func_cacos=no
25007 rm -f core conftest.err conftest.$ac_objext \
25008 conftest$ac_exeext conftest.$ac_ext
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25011 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25012 if test $gcc_cv_math_func_cacos = yes; then
25014 cat >>confdefs.h <<_ACEOF
25015 #define HAVE_CACOS 1
25016 _ACEOF
25023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25024 $as_echo_n "checking for cacosf... " >&6; }
25025 if ${gcc_cv_math_func_cacosf+:} false; then :
25026 $as_echo_n "(cached) " >&6
25027 else
25028 if test x$gcc_no_link = xyes; then
25029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25032 /* end confdefs.h. */
25034 #ifdef HAVE_COMPLEX_H
25035 #include <complex.h>
25036 #endif
25037 #ifdef HAVE_MATH_H
25038 #include <math.h>
25039 #endif
25041 int (*ptr)() = (int (*)())cacosf;
25044 main ()
25046 return 0;
25049 _ACEOF
25050 if ac_fn_c_try_link "$LINENO"; then :
25051 gcc_cv_math_func_cacosf=yes
25052 else
25053 gcc_cv_math_func_cacosf=no
25055 rm -f core conftest.err conftest.$ac_objext \
25056 conftest$ac_exeext conftest.$ac_ext
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25059 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25060 if test $gcc_cv_math_func_cacosf = yes; then
25062 cat >>confdefs.h <<_ACEOF
25063 #define HAVE_CACOSF 1
25064 _ACEOF
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25072 $as_echo_n "checking for cacosh... " >&6; }
25073 if ${gcc_cv_math_func_cacosh+:} false; then :
25074 $as_echo_n "(cached) " >&6
25075 else
25076 if test x$gcc_no_link = xyes; then
25077 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25080 /* end confdefs.h. */
25082 #ifdef HAVE_COMPLEX_H
25083 #include <complex.h>
25084 #endif
25085 #ifdef HAVE_MATH_H
25086 #include <math.h>
25087 #endif
25089 int (*ptr)() = (int (*)())cacosh;
25092 main ()
25094 return 0;
25097 _ACEOF
25098 if ac_fn_c_try_link "$LINENO"; then :
25099 gcc_cv_math_func_cacosh=yes
25100 else
25101 gcc_cv_math_func_cacosh=no
25103 rm -f core conftest.err conftest.$ac_objext \
25104 conftest$ac_exeext conftest.$ac_ext
25106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25107 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25108 if test $gcc_cv_math_func_cacosh = yes; then
25110 cat >>confdefs.h <<_ACEOF
25111 #define HAVE_CACOSH 1
25112 _ACEOF
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25120 $as_echo_n "checking for cacoshf... " >&6; }
25121 if ${gcc_cv_math_func_cacoshf+:} false; then :
25122 $as_echo_n "(cached) " >&6
25123 else
25124 if test x$gcc_no_link = xyes; then
25125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25128 /* end confdefs.h. */
25130 #ifdef HAVE_COMPLEX_H
25131 #include <complex.h>
25132 #endif
25133 #ifdef HAVE_MATH_H
25134 #include <math.h>
25135 #endif
25137 int (*ptr)() = (int (*)())cacoshf;
25140 main ()
25142 return 0;
25145 _ACEOF
25146 if ac_fn_c_try_link "$LINENO"; then :
25147 gcc_cv_math_func_cacoshf=yes
25148 else
25149 gcc_cv_math_func_cacoshf=no
25151 rm -f core conftest.err conftest.$ac_objext \
25152 conftest$ac_exeext conftest.$ac_ext
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25155 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25156 if test $gcc_cv_math_func_cacoshf = yes; then
25158 cat >>confdefs.h <<_ACEOF
25159 #define HAVE_CACOSHF 1
25160 _ACEOF
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25168 $as_echo_n "checking for cacoshl... " >&6; }
25169 if ${gcc_cv_math_func_cacoshl+:} false; then :
25170 $as_echo_n "(cached) " >&6
25171 else
25172 if test x$gcc_no_link = xyes; then
25173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25176 /* end confdefs.h. */
25178 #ifdef HAVE_COMPLEX_H
25179 #include <complex.h>
25180 #endif
25181 #ifdef HAVE_MATH_H
25182 #include <math.h>
25183 #endif
25185 int (*ptr)() = (int (*)())cacoshl;
25188 main ()
25190 return 0;
25193 _ACEOF
25194 if ac_fn_c_try_link "$LINENO"; then :
25195 gcc_cv_math_func_cacoshl=yes
25196 else
25197 gcc_cv_math_func_cacoshl=no
25199 rm -f core conftest.err conftest.$ac_objext \
25200 conftest$ac_exeext conftest.$ac_ext
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25203 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25204 if test $gcc_cv_math_func_cacoshl = yes; then
25206 cat >>confdefs.h <<_ACEOF
25207 #define HAVE_CACOSHL 1
25208 _ACEOF
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25216 $as_echo_n "checking for cacosl... " >&6; }
25217 if ${gcc_cv_math_func_cacosl+:} false; then :
25218 $as_echo_n "(cached) " >&6
25219 else
25220 if test x$gcc_no_link = xyes; then
25221 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h. */
25226 #ifdef HAVE_COMPLEX_H
25227 #include <complex.h>
25228 #endif
25229 #ifdef HAVE_MATH_H
25230 #include <math.h>
25231 #endif
25233 int (*ptr)() = (int (*)())cacosl;
25236 main ()
25238 return 0;
25241 _ACEOF
25242 if ac_fn_c_try_link "$LINENO"; then :
25243 gcc_cv_math_func_cacosl=yes
25244 else
25245 gcc_cv_math_func_cacosl=no
25247 rm -f core conftest.err conftest.$ac_objext \
25248 conftest$ac_exeext conftest.$ac_ext
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25251 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25252 if test $gcc_cv_math_func_cacosl = yes; then
25254 cat >>confdefs.h <<_ACEOF
25255 #define HAVE_CACOSL 1
25256 _ACEOF
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25264 $as_echo_n "checking for casin... " >&6; }
25265 if ${gcc_cv_math_func_casin+:} false; then :
25266 $as_echo_n "(cached) " >&6
25267 else
25268 if test x$gcc_no_link = xyes; then
25269 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25272 /* end confdefs.h. */
25274 #ifdef HAVE_COMPLEX_H
25275 #include <complex.h>
25276 #endif
25277 #ifdef HAVE_MATH_H
25278 #include <math.h>
25279 #endif
25281 int (*ptr)() = (int (*)())casin;
25284 main ()
25286 return 0;
25289 _ACEOF
25290 if ac_fn_c_try_link "$LINENO"; then :
25291 gcc_cv_math_func_casin=yes
25292 else
25293 gcc_cv_math_func_casin=no
25295 rm -f core conftest.err conftest.$ac_objext \
25296 conftest$ac_exeext conftest.$ac_ext
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25299 $as_echo "$gcc_cv_math_func_casin" >&6; }
25300 if test $gcc_cv_math_func_casin = yes; then
25302 cat >>confdefs.h <<_ACEOF
25303 #define HAVE_CASIN 1
25304 _ACEOF
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25312 $as_echo_n "checking for casinf... " >&6; }
25313 if ${gcc_cv_math_func_casinf+:} false; then :
25314 $as_echo_n "(cached) " >&6
25315 else
25316 if test x$gcc_no_link = xyes; then
25317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25320 /* end confdefs.h. */
25322 #ifdef HAVE_COMPLEX_H
25323 #include <complex.h>
25324 #endif
25325 #ifdef HAVE_MATH_H
25326 #include <math.h>
25327 #endif
25329 int (*ptr)() = (int (*)())casinf;
25332 main ()
25334 return 0;
25337 _ACEOF
25338 if ac_fn_c_try_link "$LINENO"; then :
25339 gcc_cv_math_func_casinf=yes
25340 else
25341 gcc_cv_math_func_casinf=no
25343 rm -f core conftest.err conftest.$ac_objext \
25344 conftest$ac_exeext conftest.$ac_ext
25346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25347 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25348 if test $gcc_cv_math_func_casinf = yes; then
25350 cat >>confdefs.h <<_ACEOF
25351 #define HAVE_CASINF 1
25352 _ACEOF
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25360 $as_echo_n "checking for casinh... " >&6; }
25361 if ${gcc_cv_math_func_casinh+:} false; then :
25362 $as_echo_n "(cached) " >&6
25363 else
25364 if test x$gcc_no_link = xyes; then
25365 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25368 /* end confdefs.h. */
25370 #ifdef HAVE_COMPLEX_H
25371 #include <complex.h>
25372 #endif
25373 #ifdef HAVE_MATH_H
25374 #include <math.h>
25375 #endif
25377 int (*ptr)() = (int (*)())casinh;
25380 main ()
25382 return 0;
25385 _ACEOF
25386 if ac_fn_c_try_link "$LINENO"; then :
25387 gcc_cv_math_func_casinh=yes
25388 else
25389 gcc_cv_math_func_casinh=no
25391 rm -f core conftest.err conftest.$ac_objext \
25392 conftest$ac_exeext conftest.$ac_ext
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25395 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25396 if test $gcc_cv_math_func_casinh = yes; then
25398 cat >>confdefs.h <<_ACEOF
25399 #define HAVE_CASINH 1
25400 _ACEOF
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25408 $as_echo_n "checking for casinhf... " >&6; }
25409 if ${gcc_cv_math_func_casinhf+:} false; then :
25410 $as_echo_n "(cached) " >&6
25411 else
25412 if test x$gcc_no_link = xyes; then
25413 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25416 /* end confdefs.h. */
25418 #ifdef HAVE_COMPLEX_H
25419 #include <complex.h>
25420 #endif
25421 #ifdef HAVE_MATH_H
25422 #include <math.h>
25423 #endif
25425 int (*ptr)() = (int (*)())casinhf;
25428 main ()
25430 return 0;
25433 _ACEOF
25434 if ac_fn_c_try_link "$LINENO"; then :
25435 gcc_cv_math_func_casinhf=yes
25436 else
25437 gcc_cv_math_func_casinhf=no
25439 rm -f core conftest.err conftest.$ac_objext \
25440 conftest$ac_exeext conftest.$ac_ext
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25443 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25444 if test $gcc_cv_math_func_casinhf = yes; then
25446 cat >>confdefs.h <<_ACEOF
25447 #define HAVE_CASINHF 1
25448 _ACEOF
25455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25456 $as_echo_n "checking for casinhl... " >&6; }
25457 if ${gcc_cv_math_func_casinhl+:} false; then :
25458 $as_echo_n "(cached) " >&6
25459 else
25460 if test x$gcc_no_link = xyes; then
25461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25464 /* end confdefs.h. */
25466 #ifdef HAVE_COMPLEX_H
25467 #include <complex.h>
25468 #endif
25469 #ifdef HAVE_MATH_H
25470 #include <math.h>
25471 #endif
25473 int (*ptr)() = (int (*)())casinhl;
25476 main ()
25478 return 0;
25481 _ACEOF
25482 if ac_fn_c_try_link "$LINENO"; then :
25483 gcc_cv_math_func_casinhl=yes
25484 else
25485 gcc_cv_math_func_casinhl=no
25487 rm -f core conftest.err conftest.$ac_objext \
25488 conftest$ac_exeext conftest.$ac_ext
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25491 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25492 if test $gcc_cv_math_func_casinhl = yes; then
25494 cat >>confdefs.h <<_ACEOF
25495 #define HAVE_CASINHL 1
25496 _ACEOF
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25504 $as_echo_n "checking for casinl... " >&6; }
25505 if ${gcc_cv_math_func_casinl+:} false; then :
25506 $as_echo_n "(cached) " >&6
25507 else
25508 if test x$gcc_no_link = xyes; then
25509 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25514 #ifdef HAVE_COMPLEX_H
25515 #include <complex.h>
25516 #endif
25517 #ifdef HAVE_MATH_H
25518 #include <math.h>
25519 #endif
25521 int (*ptr)() = (int (*)())casinl;
25524 main ()
25526 return 0;
25529 _ACEOF
25530 if ac_fn_c_try_link "$LINENO"; then :
25531 gcc_cv_math_func_casinl=yes
25532 else
25533 gcc_cv_math_func_casinl=no
25535 rm -f core conftest.err conftest.$ac_objext \
25536 conftest$ac_exeext conftest.$ac_ext
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25539 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25540 if test $gcc_cv_math_func_casinl = yes; then
25542 cat >>confdefs.h <<_ACEOF
25543 #define HAVE_CASINL 1
25544 _ACEOF
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25552 $as_echo_n "checking for catan... " >&6; }
25553 if ${gcc_cv_math_func_catan+:} false; then :
25554 $as_echo_n "(cached) " >&6
25555 else
25556 if test x$gcc_no_link = xyes; then
25557 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25562 #ifdef HAVE_COMPLEX_H
25563 #include <complex.h>
25564 #endif
25565 #ifdef HAVE_MATH_H
25566 #include <math.h>
25567 #endif
25569 int (*ptr)() = (int (*)())catan;
25572 main ()
25574 return 0;
25577 _ACEOF
25578 if ac_fn_c_try_link "$LINENO"; then :
25579 gcc_cv_math_func_catan=yes
25580 else
25581 gcc_cv_math_func_catan=no
25583 rm -f core conftest.err conftest.$ac_objext \
25584 conftest$ac_exeext conftest.$ac_ext
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25587 $as_echo "$gcc_cv_math_func_catan" >&6; }
25588 if test $gcc_cv_math_func_catan = yes; then
25590 cat >>confdefs.h <<_ACEOF
25591 #define HAVE_CATAN 1
25592 _ACEOF
25599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25600 $as_echo_n "checking for catanf... " >&6; }
25601 if ${gcc_cv_math_func_catanf+:} false; then :
25602 $as_echo_n "(cached) " >&6
25603 else
25604 if test x$gcc_no_link = xyes; then
25605 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25608 /* end confdefs.h. */
25610 #ifdef HAVE_COMPLEX_H
25611 #include <complex.h>
25612 #endif
25613 #ifdef HAVE_MATH_H
25614 #include <math.h>
25615 #endif
25617 int (*ptr)() = (int (*)())catanf;
25620 main ()
25622 return 0;
25625 _ACEOF
25626 if ac_fn_c_try_link "$LINENO"; then :
25627 gcc_cv_math_func_catanf=yes
25628 else
25629 gcc_cv_math_func_catanf=no
25631 rm -f core conftest.err conftest.$ac_objext \
25632 conftest$ac_exeext conftest.$ac_ext
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25635 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25636 if test $gcc_cv_math_func_catanf = yes; then
25638 cat >>confdefs.h <<_ACEOF
25639 #define HAVE_CATANF 1
25640 _ACEOF
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25648 $as_echo_n "checking for catanh... " >&6; }
25649 if ${gcc_cv_math_func_catanh+:} false; then :
25650 $as_echo_n "(cached) " >&6
25651 else
25652 if test x$gcc_no_link = xyes; then
25653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25656 /* end confdefs.h. */
25658 #ifdef HAVE_COMPLEX_H
25659 #include <complex.h>
25660 #endif
25661 #ifdef HAVE_MATH_H
25662 #include <math.h>
25663 #endif
25665 int (*ptr)() = (int (*)())catanh;
25668 main ()
25670 return 0;
25673 _ACEOF
25674 if ac_fn_c_try_link "$LINENO"; then :
25675 gcc_cv_math_func_catanh=yes
25676 else
25677 gcc_cv_math_func_catanh=no
25679 rm -f core conftest.err conftest.$ac_objext \
25680 conftest$ac_exeext conftest.$ac_ext
25682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25683 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25684 if test $gcc_cv_math_func_catanh = yes; then
25686 cat >>confdefs.h <<_ACEOF
25687 #define HAVE_CATANH 1
25688 _ACEOF
25695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25696 $as_echo_n "checking for catanhf... " >&6; }
25697 if ${gcc_cv_math_func_catanhf+:} false; then :
25698 $as_echo_n "(cached) " >&6
25699 else
25700 if test x$gcc_no_link = xyes; then
25701 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25704 /* end confdefs.h. */
25706 #ifdef HAVE_COMPLEX_H
25707 #include <complex.h>
25708 #endif
25709 #ifdef HAVE_MATH_H
25710 #include <math.h>
25711 #endif
25713 int (*ptr)() = (int (*)())catanhf;
25716 main ()
25718 return 0;
25721 _ACEOF
25722 if ac_fn_c_try_link "$LINENO"; then :
25723 gcc_cv_math_func_catanhf=yes
25724 else
25725 gcc_cv_math_func_catanhf=no
25727 rm -f core conftest.err conftest.$ac_objext \
25728 conftest$ac_exeext conftest.$ac_ext
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25731 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25732 if test $gcc_cv_math_func_catanhf = yes; then
25734 cat >>confdefs.h <<_ACEOF
25735 #define HAVE_CATANHF 1
25736 _ACEOF
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25744 $as_echo_n "checking for catanhl... " >&6; }
25745 if ${gcc_cv_math_func_catanhl+:} false; then :
25746 $as_echo_n "(cached) " >&6
25747 else
25748 if test x$gcc_no_link = xyes; then
25749 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25754 #ifdef HAVE_COMPLEX_H
25755 #include <complex.h>
25756 #endif
25757 #ifdef HAVE_MATH_H
25758 #include <math.h>
25759 #endif
25761 int (*ptr)() = (int (*)())catanhl;
25764 main ()
25766 return 0;
25769 _ACEOF
25770 if ac_fn_c_try_link "$LINENO"; then :
25771 gcc_cv_math_func_catanhl=yes
25772 else
25773 gcc_cv_math_func_catanhl=no
25775 rm -f core conftest.err conftest.$ac_objext \
25776 conftest$ac_exeext conftest.$ac_ext
25778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25779 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25780 if test $gcc_cv_math_func_catanhl = yes; then
25782 cat >>confdefs.h <<_ACEOF
25783 #define HAVE_CATANHL 1
25784 _ACEOF
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25792 $as_echo_n "checking for catanl... " >&6; }
25793 if ${gcc_cv_math_func_catanl+:} false; then :
25794 $as_echo_n "(cached) " >&6
25795 else
25796 if test x$gcc_no_link = xyes; then
25797 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25800 /* end confdefs.h. */
25802 #ifdef HAVE_COMPLEX_H
25803 #include <complex.h>
25804 #endif
25805 #ifdef HAVE_MATH_H
25806 #include <math.h>
25807 #endif
25809 int (*ptr)() = (int (*)())catanl;
25812 main ()
25814 return 0;
25817 _ACEOF
25818 if ac_fn_c_try_link "$LINENO"; then :
25819 gcc_cv_math_func_catanl=yes
25820 else
25821 gcc_cv_math_func_catanl=no
25823 rm -f core conftest.err conftest.$ac_objext \
25824 conftest$ac_exeext conftest.$ac_ext
25826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25827 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25828 if test $gcc_cv_math_func_catanl = yes; then
25830 cat >>confdefs.h <<_ACEOF
25831 #define HAVE_CATANL 1
25832 _ACEOF
25837 # For POWER, check the ieee128 math functions
25839 if test "x$have_real_17" = "xyes"; then
25841 cat >>confdefs.h <<_ACEOF
25842 #define HAVE_REAL_17 1
25843 _ACEOF
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25850 $as_echo_n "checking for __acoshieee128... " >&6; }
25851 if ${gcc_cv_math_func___acoshieee128+:} false; then :
25852 $as_echo_n "(cached) " >&6
25853 else
25854 if test x$gcc_no_link = xyes; then
25855 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25858 /* end confdefs.h. */
25860 __float128 __acoshieee128 (__float128);
25861 __float128 (*ptr)(__float128) = __acoshieee128;
25864 main ()
25866 return 0;
25869 _ACEOF
25870 if ac_fn_c_try_link "$LINENO"; then :
25871 gcc_cv_math_func___acoshieee128=yes
25872 else
25873 gcc_cv_math_func___acoshieee128=no
25875 rm -f core conftest.err conftest.$ac_objext \
25876 conftest$ac_exeext conftest.$ac_ext
25878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25879 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25880 if test $gcc_cv_math_func___acoshieee128 = yes; then
25882 cat >>confdefs.h <<_ACEOF
25883 #define HAVE___ACOSHIEEE128 1
25884 _ACEOF
25891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25892 $as_echo_n "checking for __acosieee128... " >&6; }
25893 if ${gcc_cv_math_func___acosieee128+:} false; then :
25894 $as_echo_n "(cached) " >&6
25895 else
25896 if test x$gcc_no_link = xyes; then
25897 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25900 /* end confdefs.h. */
25902 __float128 __acosieee128 (__float128);
25903 __float128 (*ptr)(__float128) = __acosieee128;
25906 main ()
25908 return 0;
25911 _ACEOF
25912 if ac_fn_c_try_link "$LINENO"; then :
25913 gcc_cv_math_func___acosieee128=yes
25914 else
25915 gcc_cv_math_func___acosieee128=no
25917 rm -f core conftest.err conftest.$ac_objext \
25918 conftest$ac_exeext conftest.$ac_ext
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25921 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25922 if test $gcc_cv_math_func___acosieee128 = yes; then
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE___ACOSIEEE128 1
25926 _ACEOF
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25934 $as_echo_n "checking for __asinhieee128... " >&6; }
25935 if ${gcc_cv_math_func___asinhieee128+:} false; then :
25936 $as_echo_n "(cached) " >&6
25937 else
25938 if test x$gcc_no_link = xyes; then
25939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25942 /* end confdefs.h. */
25944 __float128 __asinhieee128 (__float128);
25945 __float128 (*ptr)(__float128) = __asinhieee128;
25948 main ()
25950 return 0;
25953 _ACEOF
25954 if ac_fn_c_try_link "$LINENO"; then :
25955 gcc_cv_math_func___asinhieee128=yes
25956 else
25957 gcc_cv_math_func___asinhieee128=no
25959 rm -f core conftest.err conftest.$ac_objext \
25960 conftest$ac_exeext conftest.$ac_ext
25962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
25963 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
25964 if test $gcc_cv_math_func___asinhieee128 = yes; then
25966 cat >>confdefs.h <<_ACEOF
25967 #define HAVE___ASINHIEEE128 1
25968 _ACEOF
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
25976 $as_echo_n "checking for __asinieee128... " >&6; }
25977 if ${gcc_cv_math_func___asinieee128+:} false; then :
25978 $as_echo_n "(cached) " >&6
25979 else
25980 if test x$gcc_no_link = xyes; then
25981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25984 /* end confdefs.h. */
25986 __float128 __asinieee128 (__float128);
25987 __float128 (*ptr)(__float128) = __asinieee128;
25990 main ()
25992 return 0;
25995 _ACEOF
25996 if ac_fn_c_try_link "$LINENO"; then :
25997 gcc_cv_math_func___asinieee128=yes
25998 else
25999 gcc_cv_math_func___asinieee128=no
26001 rm -f core conftest.err conftest.$ac_objext \
26002 conftest$ac_exeext conftest.$ac_ext
26004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26005 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26006 if test $gcc_cv_math_func___asinieee128 = yes; then
26008 cat >>confdefs.h <<_ACEOF
26009 #define HAVE___ASINIEEE128 1
26010 _ACEOF
26017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26018 $as_echo_n "checking for __atan2ieee128... " >&6; }
26019 if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26020 $as_echo_n "(cached) " >&6
26021 else
26022 if test x$gcc_no_link = xyes; then
26023 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26026 /* end confdefs.h. */
26028 __float128 __atan2ieee128 (__float128);
26029 __float128 (*ptr)(__float128) = __atan2ieee128;
26032 main ()
26034 return 0;
26037 _ACEOF
26038 if ac_fn_c_try_link "$LINENO"; then :
26039 gcc_cv_math_func___atan2ieee128=yes
26040 else
26041 gcc_cv_math_func___atan2ieee128=no
26043 rm -f core conftest.err conftest.$ac_objext \
26044 conftest$ac_exeext conftest.$ac_ext
26046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26047 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26048 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26050 cat >>confdefs.h <<_ACEOF
26051 #define HAVE___ATAN2IEEE128 1
26052 _ACEOF
26059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26060 $as_echo_n "checking for __atanhieee128... " >&6; }
26061 if ${gcc_cv_math_func___atanhieee128+:} false; then :
26062 $as_echo_n "(cached) " >&6
26063 else
26064 if test x$gcc_no_link = xyes; then
26065 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26068 /* end confdefs.h. */
26070 __float128 __atanhieee128 (__float128);
26071 __float128 (*ptr)(__float128) = __atanhieee128;
26074 main ()
26076 return 0;
26079 _ACEOF
26080 if ac_fn_c_try_link "$LINENO"; then :
26081 gcc_cv_math_func___atanhieee128=yes
26082 else
26083 gcc_cv_math_func___atanhieee128=no
26085 rm -f core conftest.err conftest.$ac_objext \
26086 conftest$ac_exeext conftest.$ac_ext
26088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26089 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26090 if test $gcc_cv_math_func___atanhieee128 = yes; then
26092 cat >>confdefs.h <<_ACEOF
26093 #define HAVE___ATANHIEEE128 1
26094 _ACEOF
26101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26102 $as_echo_n "checking for __atanieee128... " >&6; }
26103 if ${gcc_cv_math_func___atanieee128+:} false; then :
26104 $as_echo_n "(cached) " >&6
26105 else
26106 if test x$gcc_no_link = xyes; then
26107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26110 /* end confdefs.h. */
26112 __float128 __atanieee128 (__float128);
26113 __float128 (*ptr)(__float128) = __atanieee128;
26116 main ()
26118 return 0;
26121 _ACEOF
26122 if ac_fn_c_try_link "$LINENO"; then :
26123 gcc_cv_math_func___atanieee128=yes
26124 else
26125 gcc_cv_math_func___atanieee128=no
26127 rm -f core conftest.err conftest.$ac_objext \
26128 conftest$ac_exeext conftest.$ac_ext
26130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26131 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26132 if test $gcc_cv_math_func___atanieee128 = yes; then
26134 cat >>confdefs.h <<_ACEOF
26135 #define HAVE___ATANIEEE128 1
26136 _ACEOF
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26144 $as_echo_n "checking for __coshieee128... " >&6; }
26145 if ${gcc_cv_math_func___coshieee128+:} false; then :
26146 $as_echo_n "(cached) " >&6
26147 else
26148 if test x$gcc_no_link = xyes; then
26149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26152 /* end confdefs.h. */
26154 __float128 __coshieee128 (__float128);
26155 __float128 (*ptr)(__float128) = __coshieee128;
26158 main ()
26160 return 0;
26163 _ACEOF
26164 if ac_fn_c_try_link "$LINENO"; then :
26165 gcc_cv_math_func___coshieee128=yes
26166 else
26167 gcc_cv_math_func___coshieee128=no
26169 rm -f core conftest.err conftest.$ac_objext \
26170 conftest$ac_exeext conftest.$ac_ext
26172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26173 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26174 if test $gcc_cv_math_func___coshieee128 = yes; then
26176 cat >>confdefs.h <<_ACEOF
26177 #define HAVE___COSHIEEE128 1
26178 _ACEOF
26185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26186 $as_echo_n "checking for __cosieee128... " >&6; }
26187 if ${gcc_cv_math_func___cosieee128+:} false; then :
26188 $as_echo_n "(cached) " >&6
26189 else
26190 if test x$gcc_no_link = xyes; then
26191 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26194 /* end confdefs.h. */
26196 __float128 __cosieee128 (__float128);
26197 __float128 (*ptr)(__float128) = __cosieee128;
26200 main ()
26202 return 0;
26205 _ACEOF
26206 if ac_fn_c_try_link "$LINENO"; then :
26207 gcc_cv_math_func___cosieee128=yes
26208 else
26209 gcc_cv_math_func___cosieee128=no
26211 rm -f core conftest.err conftest.$ac_objext \
26212 conftest$ac_exeext conftest.$ac_ext
26214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26215 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26216 if test $gcc_cv_math_func___cosieee128 = yes; then
26218 cat >>confdefs.h <<_ACEOF
26219 #define HAVE___COSIEEE128 1
26220 _ACEOF
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26228 $as_echo_n "checking for __erfieee128... " >&6; }
26229 if ${gcc_cv_math_func___erfieee128+:} false; then :
26230 $as_echo_n "(cached) " >&6
26231 else
26232 if test x$gcc_no_link = xyes; then
26233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26236 /* end confdefs.h. */
26238 __float128 __erfieee128 (__float128);
26239 __float128 (*ptr)(__float128) = __erfieee128;
26242 main ()
26244 return 0;
26247 _ACEOF
26248 if ac_fn_c_try_link "$LINENO"; then :
26249 gcc_cv_math_func___erfieee128=yes
26250 else
26251 gcc_cv_math_func___erfieee128=no
26253 rm -f core conftest.err conftest.$ac_objext \
26254 conftest$ac_exeext conftest.$ac_ext
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26257 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26258 if test $gcc_cv_math_func___erfieee128 = yes; then
26260 cat >>confdefs.h <<_ACEOF
26261 #define HAVE___ERFIEEE128 1
26262 _ACEOF
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26270 $as_echo_n "checking for __expieee128... " >&6; }
26271 if ${gcc_cv_math_func___expieee128+:} false; then :
26272 $as_echo_n "(cached) " >&6
26273 else
26274 if test x$gcc_no_link = xyes; then
26275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26278 /* end confdefs.h. */
26280 __float128 __expieee128 (__float128);
26281 __float128 (*ptr)(__float128) = __expieee128;
26284 main ()
26286 return 0;
26289 _ACEOF
26290 if ac_fn_c_try_link "$LINENO"; then :
26291 gcc_cv_math_func___expieee128=yes
26292 else
26293 gcc_cv_math_func___expieee128=no
26295 rm -f core conftest.err conftest.$ac_objext \
26296 conftest$ac_exeext conftest.$ac_ext
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26299 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26300 if test $gcc_cv_math_func___expieee128 = yes; then
26302 cat >>confdefs.h <<_ACEOF
26303 #define HAVE___EXPIEEE128 1
26304 _ACEOF
26311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26312 $as_echo_n "checking for __fabsieee128... " >&6; }
26313 if ${gcc_cv_math_func___fabsieee128+:} false; then :
26314 $as_echo_n "(cached) " >&6
26315 else
26316 if test x$gcc_no_link = xyes; then
26317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26320 /* end confdefs.h. */
26322 __float128 __fabsieee128 (__float128);
26323 __float128 (*ptr)(__float128) = __fabsieee128;
26326 main ()
26328 return 0;
26331 _ACEOF
26332 if ac_fn_c_try_link "$LINENO"; then :
26333 gcc_cv_math_func___fabsieee128=yes
26334 else
26335 gcc_cv_math_func___fabsieee128=no
26337 rm -f core conftest.err conftest.$ac_objext \
26338 conftest$ac_exeext conftest.$ac_ext
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26341 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26342 if test $gcc_cv_math_func___fabsieee128 = yes; then
26344 cat >>confdefs.h <<_ACEOF
26345 #define HAVE___FABSIEEE128 1
26346 _ACEOF
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26354 $as_echo_n "checking for __jnieee128... " >&6; }
26355 if ${gcc_cv_math_func___jnieee128+:} false; then :
26356 $as_echo_n "(cached) " >&6
26357 else
26358 if test x$gcc_no_link = xyes; then
26359 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26362 /* end confdefs.h. */
26364 __float128 __jnieee128 (__float128);
26365 __float128 (*ptr)(__float128) = __jnieee128;
26368 main ()
26370 return 0;
26373 _ACEOF
26374 if ac_fn_c_try_link "$LINENO"; then :
26375 gcc_cv_math_func___jnieee128=yes
26376 else
26377 gcc_cv_math_func___jnieee128=no
26379 rm -f core conftest.err conftest.$ac_objext \
26380 conftest$ac_exeext conftest.$ac_ext
26382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26383 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26384 if test $gcc_cv_math_func___jnieee128 = yes; then
26386 cat >>confdefs.h <<_ACEOF
26387 #define HAVE___JNIEEE128 1
26388 _ACEOF
26395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26396 $as_echo_n "checking for __log10ieee128... " >&6; }
26397 if ${gcc_cv_math_func___log10ieee128+:} false; then :
26398 $as_echo_n "(cached) " >&6
26399 else
26400 if test x$gcc_no_link = xyes; then
26401 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26404 /* end confdefs.h. */
26406 __float128 __log10ieee128 (__float128);
26407 __float128 (*ptr)(__float128) = __log10ieee128;
26410 main ()
26412 return 0;
26415 _ACEOF
26416 if ac_fn_c_try_link "$LINENO"; then :
26417 gcc_cv_math_func___log10ieee128=yes
26418 else
26419 gcc_cv_math_func___log10ieee128=no
26421 rm -f core conftest.err conftest.$ac_objext \
26422 conftest$ac_exeext conftest.$ac_ext
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26425 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26426 if test $gcc_cv_math_func___log10ieee128 = yes; then
26428 cat >>confdefs.h <<_ACEOF
26429 #define HAVE___LOG10IEEE128 1
26430 _ACEOF
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26438 $as_echo_n "checking for __logieee128... " >&6; }
26439 if ${gcc_cv_math_func___logieee128+:} false; then :
26440 $as_echo_n "(cached) " >&6
26441 else
26442 if test x$gcc_no_link = xyes; then
26443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26446 /* end confdefs.h. */
26448 __float128 __logieee128 (__float128);
26449 __float128 (*ptr)(__float128) = __logieee128;
26452 main ()
26454 return 0;
26457 _ACEOF
26458 if ac_fn_c_try_link "$LINENO"; then :
26459 gcc_cv_math_func___logieee128=yes
26460 else
26461 gcc_cv_math_func___logieee128=no
26463 rm -f core conftest.err conftest.$ac_objext \
26464 conftest$ac_exeext conftest.$ac_ext
26466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26467 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26468 if test $gcc_cv_math_func___logieee128 = yes; then
26470 cat >>confdefs.h <<_ACEOF
26471 #define HAVE___LOGIEEE128 1
26472 _ACEOF
26479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26480 $as_echo_n "checking for __powieee128... " >&6; }
26481 if ${gcc_cv_math_func___powieee128+:} false; then :
26482 $as_echo_n "(cached) " >&6
26483 else
26484 if test x$gcc_no_link = xyes; then
26485 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26488 /* end confdefs.h. */
26490 __float128 __powieee128 (__float128);
26491 __float128 (*ptr)(__float128) = __powieee128;
26494 main ()
26496 return 0;
26499 _ACEOF
26500 if ac_fn_c_try_link "$LINENO"; then :
26501 gcc_cv_math_func___powieee128=yes
26502 else
26503 gcc_cv_math_func___powieee128=no
26505 rm -f core conftest.err conftest.$ac_objext \
26506 conftest$ac_exeext conftest.$ac_ext
26508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26509 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26510 if test $gcc_cv_math_func___powieee128 = yes; then
26512 cat >>confdefs.h <<_ACEOF
26513 #define HAVE___POWIEEE128 1
26514 _ACEOF
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26522 $as_echo_n "checking for __sinhieee128... " >&6; }
26523 if ${gcc_cv_math_func___sinhieee128+:} false; then :
26524 $as_echo_n "(cached) " >&6
26525 else
26526 if test x$gcc_no_link = xyes; then
26527 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26530 /* end confdefs.h. */
26532 __float128 __sinhieee128 (__float128);
26533 __float128 (*ptr)(__float128) = __sinhieee128;
26536 main ()
26538 return 0;
26541 _ACEOF
26542 if ac_fn_c_try_link "$LINENO"; then :
26543 gcc_cv_math_func___sinhieee128=yes
26544 else
26545 gcc_cv_math_func___sinhieee128=no
26547 rm -f core conftest.err conftest.$ac_objext \
26548 conftest$ac_exeext conftest.$ac_ext
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26551 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26552 if test $gcc_cv_math_func___sinhieee128 = yes; then
26554 cat >>confdefs.h <<_ACEOF
26555 #define HAVE___SINHIEEE128 1
26556 _ACEOF
26563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26564 $as_echo_n "checking for __sinieee128... " >&6; }
26565 if ${gcc_cv_math_func___sinieee128+:} false; then :
26566 $as_echo_n "(cached) " >&6
26567 else
26568 if test x$gcc_no_link = xyes; then
26569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26572 /* end confdefs.h. */
26574 __float128 __sinieee128 (__float128);
26575 __float128 (*ptr)(__float128) = __sinieee128;
26578 main ()
26580 return 0;
26583 _ACEOF
26584 if ac_fn_c_try_link "$LINENO"; then :
26585 gcc_cv_math_func___sinieee128=yes
26586 else
26587 gcc_cv_math_func___sinieee128=no
26589 rm -f core conftest.err conftest.$ac_objext \
26590 conftest$ac_exeext conftest.$ac_ext
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26593 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26594 if test $gcc_cv_math_func___sinieee128 = yes; then
26596 cat >>confdefs.h <<_ACEOF
26597 #define HAVE___SINIEEE128 1
26598 _ACEOF
26605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26606 $as_echo_n "checking for __sqrtieee128... " >&6; }
26607 if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26608 $as_echo_n "(cached) " >&6
26609 else
26610 if test x$gcc_no_link = xyes; then
26611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26614 /* end confdefs.h. */
26616 __float128 __sqrtieee128 (__float128);
26617 __float128 (*ptr)(__float128) = __sqrtieee128;
26620 main ()
26622 return 0;
26625 _ACEOF
26626 if ac_fn_c_try_link "$LINENO"; then :
26627 gcc_cv_math_func___sqrtieee128=yes
26628 else
26629 gcc_cv_math_func___sqrtieee128=no
26631 rm -f core conftest.err conftest.$ac_objext \
26632 conftest$ac_exeext conftest.$ac_ext
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26635 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26636 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26638 cat >>confdefs.h <<_ACEOF
26639 #define HAVE___SQRTIEEE128 1
26640 _ACEOF
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26648 $as_echo_n "checking for __tanhieee128... " >&6; }
26649 if ${gcc_cv_math_func___tanhieee128+:} false; then :
26650 $as_echo_n "(cached) " >&6
26651 else
26652 if test x$gcc_no_link = xyes; then
26653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26656 /* end confdefs.h. */
26658 __float128 __tanhieee128 (__float128);
26659 __float128 (*ptr)(__float128) = __tanhieee128;
26662 main ()
26664 return 0;
26667 _ACEOF
26668 if ac_fn_c_try_link "$LINENO"; then :
26669 gcc_cv_math_func___tanhieee128=yes
26670 else
26671 gcc_cv_math_func___tanhieee128=no
26673 rm -f core conftest.err conftest.$ac_objext \
26674 conftest$ac_exeext conftest.$ac_ext
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26677 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26678 if test $gcc_cv_math_func___tanhieee128 = yes; then
26680 cat >>confdefs.h <<_ACEOF
26681 #define HAVE___TANHIEEE128 1
26682 _ACEOF
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26690 $as_echo_n "checking for __tanieee128... " >&6; }
26691 if ${gcc_cv_math_func___tanieee128+:} false; then :
26692 $as_echo_n "(cached) " >&6
26693 else
26694 if test x$gcc_no_link = xyes; then
26695 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26698 /* end confdefs.h. */
26700 __float128 __tanieee128 (__float128);
26701 __float128 (*ptr)(__float128) = __tanieee128;
26704 main ()
26706 return 0;
26709 _ACEOF
26710 if ac_fn_c_try_link "$LINENO"; then :
26711 gcc_cv_math_func___tanieee128=yes
26712 else
26713 gcc_cv_math_func___tanieee128=no
26715 rm -f core conftest.err conftest.$ac_objext \
26716 conftest$ac_exeext conftest.$ac_ext
26718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26719 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26720 if test $gcc_cv_math_func___tanieee128 = yes; then
26722 cat >>confdefs.h <<_ACEOF
26723 #define HAVE___TANIEEE128 1
26724 _ACEOF
26731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26732 $as_echo_n "checking for __ynieee128... " >&6; }
26733 if ${gcc_cv_math_func___ynieee128+:} false; then :
26734 $as_echo_n "(cached) " >&6
26735 else
26736 if test x$gcc_no_link = xyes; then
26737 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26740 /* end confdefs.h. */
26742 __float128 __ynieee128 (__float128);
26743 __float128 (*ptr)(__float128) = __ynieee128;
26746 main ()
26748 return 0;
26751 _ACEOF
26752 if ac_fn_c_try_link "$LINENO"; then :
26753 gcc_cv_math_func___ynieee128=yes
26754 else
26755 gcc_cv_math_func___ynieee128=no
26757 rm -f core conftest.err conftest.$ac_objext \
26758 conftest$ac_exeext conftest.$ac_ext
26760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26761 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26762 if test $gcc_cv_math_func___ynieee128 = yes; then
26764 cat >>confdefs.h <<_ACEOF
26765 #define HAVE___YNIEEE128 1
26766 _ACEOF
26772 # On AIX, clog is present in libm as __clog
26773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26774 $as_echo_n "checking for __clog in -lm... " >&6; }
26775 if ${ac_cv_lib_m___clog+:} false; then :
26776 $as_echo_n "(cached) " >&6
26777 else
26778 ac_check_lib_save_LIBS=$LIBS
26779 LIBS="-lm $LIBS"
26780 if test x$gcc_no_link = xyes; then
26781 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26784 /* end confdefs.h. */
26786 /* Override any GCC internal prototype to avoid an error.
26787 Use char because int might match the return type of a GCC
26788 builtin and then its argument prototype would still apply. */
26789 #ifdef __cplusplus
26790 extern "C"
26791 #endif
26792 char __clog ();
26794 main ()
26796 return __clog ();
26798 return 0;
26800 _ACEOF
26801 if ac_fn_c_try_link "$LINENO"; then :
26802 ac_cv_lib_m___clog=yes
26803 else
26804 ac_cv_lib_m___clog=no
26806 rm -f core conftest.err conftest.$ac_objext \
26807 conftest$ac_exeext conftest.$ac_ext
26808 LIBS=$ac_check_lib_save_LIBS
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26811 $as_echo "$ac_cv_lib_m___clog" >&6; }
26812 if test "x$ac_cv_lib_m___clog" = xyes; then :
26814 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26821 if test $gcc_cv_math_func_copysign = no; then
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26823 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26824 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26825 $as_echo_n "(cached) " >&6
26826 else
26827 if test x$gcc_no_link = xyes; then
26828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26831 /* end confdefs.h. */
26833 double
26834 copysign_fallback (double x, double y)
26836 return __builtin_copysign (x, y);
26840 main ()
26842 return 0;
26845 _ACEOF
26846 if ac_fn_c_try_link "$LINENO"; then :
26847 gcc_cv_math_inline_builtin_copysign=yes
26848 else
26849 gcc_cv_math_inline_builtin_copysign=no
26851 rm -f core conftest.err conftest.$ac_objext \
26852 conftest$ac_exeext conftest.$ac_ext
26854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26855 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26856 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26858 cat >>confdefs.h <<_ACEOF
26859 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26860 _ACEOF
26866 if test $gcc_cv_math_func_copysignl = no; then
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26868 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26869 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
26870 $as_echo_n "(cached) " >&6
26871 else
26872 if test x$gcc_no_link = xyes; then
26873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26876 /* end confdefs.h. */
26878 long double
26879 copysignl_fallback (long double x, long double y)
26881 return __builtin_copysignl (x, y);
26885 main ()
26887 return 0;
26890 _ACEOF
26891 if ac_fn_c_try_link "$LINENO"; then :
26892 gcc_cv_math_inline_builtin_copysignl=yes
26893 else
26894 gcc_cv_math_inline_builtin_copysignl=no
26896 rm -f core conftest.err conftest.$ac_objext \
26897 conftest$ac_exeext conftest.$ac_ext
26899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26900 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26901 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26903 cat >>confdefs.h <<_ACEOF
26904 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26905 _ACEOF
26911 if test $gcc_cv_math_func_fabs = no; then
26912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26913 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26914 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
26915 $as_echo_n "(cached) " >&6
26916 else
26917 if test x$gcc_no_link = xyes; then
26918 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26921 /* end confdefs.h. */
26923 double
26924 fabs_fallback (double x)
26926 return __builtin_fabs (x);
26930 main ()
26932 return 0;
26935 _ACEOF
26936 if ac_fn_c_try_link "$LINENO"; then :
26937 gcc_cv_math_inline_builtin_fabs=yes
26938 else
26939 gcc_cv_math_inline_builtin_fabs=no
26941 rm -f core conftest.err conftest.$ac_objext \
26942 conftest$ac_exeext conftest.$ac_ext
26944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26945 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26946 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26948 cat >>confdefs.h <<_ACEOF
26949 #define HAVE_INLINE_BUILTIN_FABS 1
26950 _ACEOF
26956 if test $gcc_cv_math_func_fabsl = no; then
26957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
26958 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
26959 if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
26960 $as_echo_n "(cached) " >&6
26961 else
26962 if test x$gcc_no_link = xyes; then
26963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26966 /* end confdefs.h. */
26968 long double
26969 fabsl_fallback (long double x)
26971 return __builtin_fabsl (x);
26975 main ()
26977 return 0;
26980 _ACEOF
26981 if ac_fn_c_try_link "$LINENO"; then :
26982 gcc_cv_math_inline_builtin_fabsl=yes
26983 else
26984 gcc_cv_math_inline_builtin_fabsl=no
26986 rm -f core conftest.err conftest.$ac_objext \
26987 conftest$ac_exeext conftest.$ac_ext
26989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
26990 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
26991 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
26993 cat >>confdefs.h <<_ACEOF
26994 #define HAVE_INLINE_BUILTIN_FABSL 1
26995 _ACEOF
27000 # Check whether the system has a working stat()
27002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
27003 $as_echo_n "checking whether the target stat is reliable... " >&6; }
27004 if ${libgfor_cv_have_working_stat+:} false; then :
27005 $as_echo_n "(cached) " >&6
27006 else
27008 if test "$cross_compiling" = yes; then :
27010 case "${target}" in
27011 *mingw*) libgfor_cv_have_working_stat=no ;;
27012 *) libgfor_cv_have_working_stat=yes;;
27013 esac
27014 else
27015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27016 /* end confdefs.h. */
27018 #include <stdio.h>
27019 #include <sys/types.h>
27020 #include <sys/stat.h>
27021 #include <unistd.h>
27023 int main ()
27025 FILE *f, *g;
27026 struct stat st1, st2;
27028 f = fopen ("foo", "w");
27029 g = fopen ("bar", "w");
27030 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
27031 return 1;
27032 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
27033 return 1;
27034 fclose(f);
27035 fclose(g);
27036 return 0;
27038 _ACEOF
27039 if ac_fn_c_try_run "$LINENO"; then :
27040 libgfor_cv_have_working_stat=yes
27041 else
27042 libgfor_cv_have_working_stat=no
27044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27045 conftest.$ac_objext conftest.beam conftest.$ac_ext
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
27050 $as_echo "$libgfor_cv_have_working_stat" >&6; }
27051 if test x"$libgfor_cv_have_working_stat" = xyes; then
27053 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
27057 # Check whether __mingw_snprintf() is present
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
27060 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
27061 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
27062 $as_echo_n "(cached) " >&6
27063 else
27065 if test x$gcc_no_link = xyes; then
27066 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27069 /* end confdefs.h. */
27071 #include <stdio.h>
27072 extern int __mingw_snprintf (char *, size_t, const char *, ...);
27075 main ()
27078 __mingw_snprintf (NULL, 0, "%d\n", 1);
27081 return 0;
27083 _ACEOF
27084 if ac_fn_c_try_link "$LINENO"; then :
27085 eval "libgfor_cv_have_mingw_snprintf=yes"
27086 else
27087 eval "libgfor_cv_have_mingw_snprintf=no"
27089 rm -f core conftest.err conftest.$ac_objext \
27090 conftest$ac_exeext conftest.$ac_ext
27093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
27094 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
27095 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
27097 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
27102 # Check whether libquadmath should be used
27103 # Check whether --enable-libquadmath-support was given.
27104 if test "${enable_libquadmath_support+set}" = set; then :
27105 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
27106 else
27107 ENABLE_LIBQUADMATH_SUPPORT=yes
27110 enable_libquadmath_support=
27111 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
27112 enable_libquadmath_support=no
27115 # Check whether we have a __float128 type, depends on enable_libquadmath_support
27117 LIBQUADSPEC=
27119 if test "x$enable_libquadmath_support" != xno; then
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
27122 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
27123 if ${libgfor_cv_have_float128+:} false; then :
27124 $as_echo_n "(cached) " >&6
27125 else
27127 if test x$gcc_no_link = xyes; then
27128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27129 /* end confdefs.h. */
27131 typedef _Complex float __attribute__((mode(TC))) __complex128;
27133 __float128 foo (__float128 x)
27136 __complex128 z1, z2;
27138 z1 = x;
27139 z2 = x / 7.Q;
27140 z2 /= z1;
27142 return (__float128) z2;
27145 __float128 bar (__float128 x)
27147 return x * __builtin_huge_valq ();
27151 main ()
27154 foo (1.2Q);
27155 bar (1.2Q);
27158 return 0;
27160 _ACEOF
27161 if ac_fn_c_try_compile "$LINENO"; then :
27163 libgfor_cv_have_float128=yes
27165 else
27167 libgfor_cv_have_float128=no
27170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27171 else
27172 if test x$gcc_no_link = xyes; then
27173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27176 /* end confdefs.h. */
27178 typedef _Complex float __attribute__((mode(TC))) __complex128;
27180 __float128 foo (__float128 x)
27183 __complex128 z1, z2;
27185 z1 = x;
27186 z2 = x / 7.Q;
27187 z2 /= z1;
27189 return (__float128) z2;
27192 __float128 bar (__float128 x)
27194 return x * __builtin_huge_valq ();
27198 main ()
27201 foo (1.2Q);
27202 bar (1.2Q);
27205 return 0;
27207 _ACEOF
27208 if ac_fn_c_try_link "$LINENO"; then :
27210 libgfor_cv_have_float128=yes
27212 else
27214 libgfor_cv_have_float128=no
27217 rm -f core conftest.err conftest.$ac_objext \
27218 conftest$ac_exeext conftest.$ac_ext
27221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
27222 $as_echo "$libgfor_cv_have_float128" >&6; }
27224 if test "x$libgfor_cv_have_float128" = xyes; then
27226 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
27229 ac_xsave_c_werror_flag=$ac_c_werror_flag
27230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
27231 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
27232 if ${libgfor_cv_have_as_needed+:} false; then :
27233 $as_echo_n "(cached) " >&6
27234 else
27236 # Test for native Solaris options first.
27237 # No whitespace after -z to pass it through -Wl.
27238 libgfor_cv_as_needed_option="-zignore"
27239 libgfor_cv_no_as_needed_option="-zrecord"
27240 save_LDFLAGS="$LDFLAGS"
27241 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
27242 libgfor_cv_have_as_needed=no
27244 ac_c_werror_flag=yes
27245 if test x$gcc_no_link = xyes; then
27246 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27249 /* end confdefs.h. */
27252 main ()
27256 return 0;
27258 _ACEOF
27259 if ac_fn_c_try_link "$LINENO"; then :
27260 libgfor_cv_have_as_needed=yes
27261 else
27262 libgfor_cv_have_as_needed=no
27264 rm -f core conftest.err conftest.$ac_objext \
27265 conftest$ac_exeext conftest.$ac_ext
27266 LDFLAGS="$save_LDFLAGS"
27267 if test "x$libgfor_cv_have_as_needed" = xno; then
27268 libgfor_cv_as_needed_option="--as-needed"
27269 libgfor_cv_no_as_needed_option="--no-as-needed"
27270 save_LDFLAGS="$LDFLAGS"
27271 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
27272 libgfor_cv_have_as_needed=no
27274 ac_c_werror_flag=yes
27275 if test x$gcc_no_link = xyes; then
27276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27279 /* end confdefs.h. */
27282 main ()
27286 return 0;
27288 _ACEOF
27289 if ac_fn_c_try_link "$LINENO"; then :
27290 libgfor_cv_have_as_needed=yes
27291 else
27292 libgfor_cv_have_as_needed=no
27294 rm -f core conftest.err conftest.$ac_objext \
27295 conftest$ac_exeext conftest.$ac_ext
27296 LDFLAGS="$save_LDFLAGS"
27298 ac_c_werror_flag=$ac_xsave_c_werror_flag
27301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
27302 $as_echo "$libgfor_cv_have_as_needed" >&6; }
27304 if test "x$libgfor_cv_have_as_needed" = xyes; then
27305 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
27306 else
27307 LIBQUADSPEC="-lquadmath"
27309 if test -f ../libquadmath/libquadmath.la; then
27310 LIBQUADLIB=../libquadmath/libquadmath.la
27311 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
27312 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
27313 else
27314 LIBQUADLIB="-lquadmath"
27315 LIBQUADLIB_DEP=
27316 LIBQUADINCLUDE=
27319 else
27320 # for --disable-quadmath
27321 LIBQUADLIB=
27322 LIBQUADLIB_DEP=
27323 LIBQUADINCLUDE=
27331 if test "x$libgfor_cv_have_float128" = xyes; then
27332 LIBGFOR_BUILD_QUAD_TRUE=
27333 LIBGFOR_BUILD_QUAD_FALSE='#'
27334 else
27335 LIBGFOR_BUILD_QUAD_TRUE='#'
27336 LIBGFOR_BUILD_QUAD_FALSE=
27341 # Check for GNU libc feenableexcept
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
27343 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
27344 if ${ac_cv_lib_m_feenableexcept+:} false; then :
27345 $as_echo_n "(cached) " >&6
27346 else
27347 ac_check_lib_save_LIBS=$LIBS
27348 LIBS="-lm $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
27356 Use char because int might match the return type of a GCC
27357 builtin and then its argument prototype would still apply. */
27358 #ifdef __cplusplus
27359 extern "C"
27360 #endif
27361 char feenableexcept ();
27363 main ()
27365 return feenableexcept ();
27367 return 0;
27369 _ACEOF
27370 if ac_fn_c_try_link "$LINENO"; then :
27371 ac_cv_lib_m_feenableexcept=yes
27372 else
27373 ac_cv_lib_m_feenableexcept=no
27375 rm -f core conftest.err conftest.$ac_objext \
27376 conftest$ac_exeext conftest.$ac_ext
27377 LIBS=$ac_check_lib_save_LIBS
27379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
27380 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
27381 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
27382 have_feenableexcept=yes
27383 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
27388 # At least for glibc, clock_gettime is in librt. But don't
27389 # pull that in if it still doesn't give us the function we want. This
27390 # test is copied from libgomp, and modified to not link in -lrt as
27391 # libgfortran calls clock_gettime via a weak reference if it's found
27392 # in librt.
27393 if test "$ac_cv_func_clock_gettime" = no; then
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
27395 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
27396 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
27397 $as_echo_n "(cached) " >&6
27398 else
27399 ac_check_lib_save_LIBS=$LIBS
27400 LIBS="-lrt $LIBS"
27401 if test x$gcc_no_link = xyes; then
27402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27405 /* end confdefs.h. */
27407 /* Override any GCC internal prototype to avoid an error.
27408 Use char because int might match the return type of a GCC
27409 builtin and then its argument prototype would still apply. */
27410 #ifdef __cplusplus
27411 extern "C"
27412 #endif
27413 char clock_gettime ();
27415 main ()
27417 return clock_gettime ();
27419 return 0;
27421 _ACEOF
27422 if ac_fn_c_try_link "$LINENO"; then :
27423 ac_cv_lib_rt_clock_gettime=yes
27424 else
27425 ac_cv_lib_rt_clock_gettime=no
27427 rm -f core conftest.err conftest.$ac_objext \
27428 conftest$ac_exeext conftest.$ac_ext
27429 LIBS=$ac_check_lib_save_LIBS
27431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
27432 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
27433 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
27435 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
27441 # Check for SysV fpsetmask
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
27444 $as_echo_n "checking whether fpsetmask is present... " >&6; }
27445 if ${libgfor_cv_have_fpsetmask+:} false; then :
27446 $as_echo_n "(cached) " >&6
27447 else
27449 if test x$gcc_no_link = xyes; then
27450 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27453 /* end confdefs.h. */
27455 #if HAVE_FLOATINGPOINT_H
27456 # include <floatingpoint.h>
27457 #endif /* HAVE_FLOATINGPOINT_H */
27458 #if HAVE_IEEEFP_H
27459 # include <ieeefp.h>
27460 #endif /* HAVE_IEEEFP_H */
27462 main ()
27464 fpsetmask(0);
27466 return 0;
27468 _ACEOF
27469 if ac_fn_c_try_link "$LINENO"; then :
27470 eval "libgfor_cv_have_fpsetmask=yes"
27471 else
27472 eval "libgfor_cv_have_fpsetmask=no"
27474 rm -f core conftest.err conftest.$ac_objext \
27475 conftest$ac_exeext conftest.$ac_ext
27478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
27479 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
27480 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
27481 have_fpsetmask=yes
27483 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
27487 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
27488 #ifdef HAVE_IEEEFP_H
27489 #include <ieeefp.h>
27490 #endif
27491 #include <math.h>
27494 if test "x$ac_cv_type_fp_except" = xyes; then :
27496 cat >>confdefs.h <<_ACEOF
27497 #define HAVE_FP_EXCEPT 1
27498 _ACEOF
27502 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
27503 #ifdef HAVE_IEEEFP_H
27504 #include <ieeefp.h>
27505 #endif
27506 #include <math.h>
27509 if test "x$ac_cv_type_fp_except_t" = xyes; then :
27511 cat >>confdefs.h <<_ACEOF
27512 #define HAVE_FP_EXCEPT_T 1
27513 _ACEOF
27518 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
27519 #ifdef HAVE_IEEEFP_H
27520 #include <ieeefp.h>
27521 #endif
27522 #include <math.h>
27525 if test "x$ac_cv_type_fp_rnd" = xyes; then :
27527 cat >>confdefs.h <<_ACEOF
27528 #define HAVE_FP_RND 1
27529 _ACEOF
27533 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
27534 #ifdef HAVE_IEEEFP_H
27535 #include <ieeefp.h>
27536 #endif
27537 #include <math.h>
27540 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
27542 cat >>confdefs.h <<_ACEOF
27543 #define HAVE_FP_RND_T 1
27544 _ACEOF
27550 # Check whether we have fpsetsticky or fpresetsticky
27551 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
27552 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
27553 have_fpsetsticky=yes
27554 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
27558 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
27559 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
27560 have_fpresetsticky=yes
27561 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
27566 # Check for AIX fp_trap and fp_enable
27567 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
27568 if test "x$ac_cv_func_fp_trap" = xyes; then :
27569 have_fp_trap=yes
27570 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
27574 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
27575 if test "x$ac_cv_func_fp_enable" = xyes; then :
27576 have_fp_enable=yes
27577 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
27582 # Check if _SOFT_FLOAT is defined
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
27585 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
27586 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
27587 $as_echo_n "(cached) " >&6
27588 else
27589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27590 /* end confdefs.h. */
27593 main ()
27596 #ifdef _SOFT_FLOAT
27597 int ok;
27598 #else
27599 choke me
27600 #endif
27603 return 0;
27605 _ACEOF
27606 if ac_fn_c_try_compile "$LINENO"; then :
27607 ac_cv_defined__SOFT_FLOAT=yes
27608 else
27609 ac_cv_defined__SOFT_FLOAT=no
27611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
27614 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
27615 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
27616 have_soft_float=yes
27619 # Runs configure.host to set up necessary host-dependent shell variables.
27620 # We then display a message about it, and propagate them through the
27621 # build chain.
27622 . ${srcdir}/configure.host
27623 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
27624 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
27626 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
27627 FPU_HOST_HEADER=config/${fpu_host}.h
27630 # Whether we will build the IEEE modules
27631 if test x${ieee_support} = xyes; then
27632 IEEE_SUPPORT_TRUE=
27633 IEEE_SUPPORT_FALSE='#'
27634 else
27635 IEEE_SUPPORT_TRUE='#'
27636 IEEE_SUPPORT_FALSE=
27641 # Some targets require additional compiler options for IEEE compatibility.
27642 IEEE_FLAGS="${ieee_flags}"
27645 # Conditionalize the makefile for this target machine.
27646 tmake_file_=
27647 for f in ${tmake_file}
27649 if test -f ${srcdir}/config/$f
27650 then
27651 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
27653 done
27654 tmake_file="${tmake_file_}"
27658 # Check for POSIX getpwuid_r
27660 # There are two versions of getpwuid_r, the POSIX one with 5
27661 # arguments, and another one with 4 arguments used by at least HP-UX
27662 # 10.2.
27663 if test "$ac_cv_func_getpwuid_r" = "yes"; then
27664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
27665 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
27666 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
27667 $as_echo_n "(cached) " >&6
27668 else
27670 if test x$gcc_no_link = xyes; then
27671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27674 /* end confdefs.h. */
27676 #include <stdio.h>
27677 #include <sys/types.h>
27678 #include <pwd.h>
27680 main ()
27683 getpwuid_r(0, NULL, NULL, 0, NULL);
27686 return 0;
27688 _ACEOF
27689 if ac_fn_c_try_link "$LINENO"; then :
27690 libgfor_cv_posix_getpwuid_r="yes"
27691 else
27692 libgfor_cv_posix_getpwuid_r="no"
27694 rm -f core conftest.err conftest.$ac_objext \
27695 conftest$ac_exeext conftest.$ac_ext
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
27698 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
27700 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
27702 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
27707 # Check out attribute support.
27709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
27710 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
27711 if ${libgfor_cv_have_attribute_visibility+:} false; then :
27712 $as_echo_n "(cached) " >&6
27713 else
27715 save_CFLAGS="$CFLAGS"
27716 CFLAGS="$CFLAGS -Werror"
27717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27718 /* end confdefs.h. */
27719 void __attribute__((visibility("hidden"))) foo(void) { }
27721 main ()
27725 return 0;
27727 _ACEOF
27728 if ac_fn_c_try_compile "$LINENO"; then :
27729 libgfor_cv_have_attribute_visibility=yes
27730 else
27731 libgfor_cv_have_attribute_visibility=no
27733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27734 CFLAGS="$save_CFLAGS"
27736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
27737 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
27738 if test $libgfor_cv_have_attribute_visibility = yes; then
27740 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
27745 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
27746 if ${libgfor_cv_have_attribute_alias+:} false; then :
27747 $as_echo_n "(cached) " >&6
27748 else
27750 if test x$gcc_no_link = xyes; then
27751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27754 /* end confdefs.h. */
27756 void foo(void) { }
27757 extern void bar(void) __attribute__((alias("foo")));
27759 main ()
27761 bar();
27763 return 0;
27765 _ACEOF
27766 if ac_fn_c_try_link "$LINENO"; then :
27767 libgfor_cv_have_attribute_alias=yes
27768 else
27769 libgfor_cv_have_attribute_alias=no
27771 rm -f core conftest.err conftest.$ac_objext \
27772 conftest$ac_exeext conftest.$ac_ext
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
27775 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
27776 if test $libgfor_cv_have_attribute_alias = yes; then
27778 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
27782 # Check out atomic builtins support.
27784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
27785 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
27786 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
27787 $as_echo_n "(cached) " >&6
27788 else
27790 if test x$gcc_no_link = xyes; then
27791 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27794 /* end confdefs.h. */
27795 int foovar = 0;
27797 main ()
27800 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
27801 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
27803 return 0;
27805 _ACEOF
27806 if ac_fn_c_try_link "$LINENO"; then :
27807 libgfor_cv_have_atomic_fetch_add=yes
27808 else
27809 libgfor_cv_have_atomic_fetch_add=no
27811 rm -f core conftest.err conftest.$ac_objext \
27812 conftest$ac_exeext conftest.$ac_ext
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
27815 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
27816 if test $libgfor_cv_have_atomic_fetch_add = yes; then
27818 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
27822 # Check out #pragma weak.
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
27825 $as_echo_n "checking whether pragma weak works... " >&6; }
27826 if ${libgfor_cv_have_pragma_weak+:} false; then :
27827 $as_echo_n "(cached) " >&6
27828 else
27830 gfor_save_CFLAGS="$CFLAGS"
27831 CFLAGS="$CFLAGS -Wunknown-pragmas"
27832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h. */
27835 void foo (void);
27836 #pragma weak foo
27839 main ()
27841 if (foo) foo ();
27843 return 0;
27845 _ACEOF
27846 if ac_fn_c_try_compile "$LINENO"; then :
27847 libgfor_cv_have_pragma_weak=yes
27848 else
27849 libgfor_cv_have_pragma_weak=no
27851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
27854 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
27855 if test $libgfor_cv_have_pragma_weak = yes; then
27857 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
27860 case "$host" in
27861 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
27863 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
27866 esac
27868 # Check out weakref support.
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
27871 $as_echo_n "checking whether the target supports weakref... " >&6; }
27872 if ${libgfor_cv_have_weakref+:} false; then :
27873 $as_echo_n "(cached) " >&6
27874 else
27876 save_CFLAGS="$CFLAGS"
27877 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
27878 if test x$gcc_no_link = xyes; then
27879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27882 /* end confdefs.h. */
27884 static int mytoto (int) __attribute__((__weakref__("toto")));
27887 main ()
27889 return (mytoto != 0);
27891 return 0;
27893 _ACEOF
27894 if ac_fn_c_try_link "$LINENO"; then :
27895 libgfor_cv_have_weakref=yes
27896 else
27897 libgfor_cv_have_weakref=no
27899 rm -f core conftest.err conftest.$ac_objext \
27900 conftest$ac_exeext conftest.$ac_ext
27901 CFLAGS="$save_CFLAGS"
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
27904 $as_echo "$libgfor_cv_have_weakref" >&6; }
27905 if test $libgfor_cv_have_weakref = yes; then
27907 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
27911 # Various other checks on target
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
27914 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
27915 if ${libgfor_cv_have_unlink_open_file+:} false; then :
27916 $as_echo_n "(cached) " >&6
27917 else
27919 if test "$cross_compiling" = yes; then :
27921 case "${target}" in
27922 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
27923 *) libgfor_cv_have_unlink_open_file=yes;;
27924 esac
27925 else
27926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27927 /* end confdefs.h. */
27929 #include <errno.h>
27930 #include <fcntl.h>
27931 #include <unistd.h>
27932 #include <sys/stat.h>
27934 int main ()
27936 int fd;
27938 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
27939 if (fd <= 0)
27940 return 0;
27941 if (unlink ("testfile") == -1)
27942 return 1;
27943 write (fd, "This is a test\n", 15);
27944 close (fd);
27946 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
27947 return 0;
27948 else
27949 return 1;
27951 _ACEOF
27952 if ac_fn_c_try_run "$LINENO"; then :
27953 libgfor_cv_have_unlink_open_file=yes
27954 else
27955 libgfor_cv_have_unlink_open_file=no
27957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27958 conftest.$ac_objext conftest.beam conftest.$ac_ext
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
27963 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
27964 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
27966 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
27970 # Check whether line terminator is LF or CRLF
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
27973 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
27974 if ${libgfor_cv_have_crlf+:} false; then :
27975 $as_echo_n "(cached) " >&6
27976 else
27978 if test "$cross_compiling" = yes; then :
27980 case "${target}" in
27981 *mingw*) libgfor_cv_have_crlf=yes ;;
27982 *) libgfor_cv_have_crlf=no;;
27983 esac
27984 else
27985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27986 /* end confdefs.h. */
27988 /* This test program should exit with status 0 if system uses a CRLF as
27989 line terminator, and status 1 otherwise.
27990 Since it is used to check for mingw systems, and should return 0 in any
27991 other case, in case of a failure we will not use CRLF. */
27992 #include <sys/stat.h>
27993 #include <stdlib.h>
27994 #include <fcntl.h>
27995 #include <stdio.h>
27997 int main ()
27999 #ifndef O_BINARY
28000 exit(1);
28001 #else
28002 int fd, bytes;
28003 char buff[5];
28005 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
28006 if (fd < 0)
28007 exit(1);
28008 if (write (fd, "\n", 1) < 0)
28009 perror ("write");
28011 close (fd);
28013 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
28014 exit(1);
28015 bytes = read (fd, buff, 5);
28016 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
28017 exit(0);
28018 else
28019 exit(1);
28020 #endif
28022 _ACEOF
28023 if ac_fn_c_try_run "$LINENO"; then :
28024 libgfor_cv_have_crlf=yes
28025 else
28026 libgfor_cv_have_crlf=no
28028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28029 conftest.$ac_objext conftest.beam conftest.$ac_ext
28033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
28034 $as_echo "$libgfor_cv_have_crlf" >&6; }
28035 if test x"$libgfor_cv_have_crlf" = xyes; then
28037 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
28041 # Check whether we support AVX extensions
28043 ac_save_CFLAGS="$CFLAGS"
28044 CFLAGS="-O2 -mavx"
28045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28046 /* end confdefs.h. */
28048 void _mm256_zeroall (void)
28050 __builtin_ia32_vzeroall ();
28053 main ()
28057 return 0;
28059 _ACEOF
28060 if ac_fn_c_try_compile "$LINENO"; then :
28062 $as_echo "#define HAVE_AVX 1" >>confdefs.h
28065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28066 CFLAGS="$ac_save_CFLAGS"
28069 # Check whether we support AVX2 extensions
28071 ac_save_CFLAGS="$CFLAGS"
28072 CFLAGS="-O2 -mavx2"
28073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28074 /* end confdefs.h. */
28076 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
28077 __v4di
28078 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
28080 return __builtin_ia32_andnotsi256 (__X, __Y);
28083 main ()
28087 return 0;
28089 _ACEOF
28090 if ac_fn_c_try_compile "$LINENO"; then :
28092 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
28095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28096 CFLAGS="$ac_save_CFLAGS"
28099 # Check whether we support AVX512f extensions
28101 ac_save_CFLAGS="$CFLAGS"
28102 CFLAGS="-O2 -mavx512f"
28103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28104 /* end confdefs.h. */
28106 typedef double __m512d __attribute__ ((__vector_size__ (64)));
28107 __m512d _mm512_add (__m512d a)
28109 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
28110 /* For -m64/-mx32 also verify that code will work even if
28111 the target uses call saved zmm16+ and needs to emit
28112 unwind info for them (e.g. on mingw). See PR79127. */
28113 #ifdef __x86_64__
28114 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
28115 #endif
28116 return b;
28119 main ()
28123 return 0;
28125 _ACEOF
28126 if ac_fn_c_try_compile "$LINENO"; then :
28128 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
28131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28132 CFLAGS="$ac_save_CFLAGS"
28135 # Check for FMA3 extensions
28137 ac_save_CFLAGS="$CFLAGS"
28138 CFLAGS="-O2 -mfma -mno-fma4"
28139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28140 /* end confdefs.h. */
28142 typedef float __m128 __attribute__ ((__vector_size__ (16)));
28143 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
28144 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
28146 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
28147 (__v4sf)__B,
28148 (__v4sf)__C);
28151 main ()
28155 return 0;
28157 _ACEOF
28158 if ac_fn_c_try_compile "$LINENO"; then :
28160 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
28163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28164 CFLAGS="$ac_save_CFLAGS"
28167 # Check for FMA4 extensions
28169 ac_save_CFLAGS="$CFLAGS"
28170 CFLAGS="-O2 -mfma4 -mno-fma"
28171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h. */
28174 typedef float __m128 __attribute__ ((__vector_size__ (16)));
28175 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
28176 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
28178 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
28179 (__v4sf)__B,
28180 (__v4sf)__C);
28183 main ()
28187 return 0;
28189 _ACEOF
28190 if ac_fn_c_try_compile "$LINENO"; then :
28192 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
28195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28196 CFLAGS="$ac_save_CFLAGS"
28199 # Check if AVX128 works
28201 ac_save_CFLAGS="$CFLAGS"
28202 CFLAGS="-O2 -mavx -mprefer-avx128"
28203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28204 /* end confdefs.h. */
28206 void foo()
28210 main ()
28214 return 0;
28216 _ACEOF
28217 if ac_fn_c_try_compile "$LINENO"; then :
28219 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
28221 if true; then
28222 HAVE_AVX128_TRUE=
28223 HAVE_AVX128_FALSE='#'
28224 else
28225 HAVE_AVX128_TRUE='#'
28226 HAVE_AVX128_FALSE=
28229 else
28230 if false; then
28231 HAVE_AVX128_TRUE=
28232 HAVE_AVX128_FALSE='#'
28233 else
28234 HAVE_AVX128_TRUE='#'
28235 HAVE_AVX128_FALSE=
28239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28240 CFLAGS="$ac_save_CFLAGS"
28243 # Determine what GCC version number to use in filesystem paths.
28245 get_gcc_base_ver="cat"
28247 # Check whether --with-gcc-major-version-only was given.
28248 if test "${with_gcc_major_version_only+set}" = set; then :
28249 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
28250 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
28258 cat >confcache <<\_ACEOF
28259 # This file is a shell script that caches the results of configure
28260 # tests run on this system so they can be shared between configure
28261 # scripts and configure runs, see configure's option --config-cache.
28262 # It is not useful on other systems. If it contains results you don't
28263 # want to keep, you may remove or edit it.
28265 # config.status only pays attention to the cache file if you give it
28266 # the --recheck option to rerun configure.
28268 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28269 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28270 # following values.
28272 _ACEOF
28274 # The following way of writing the cache mishandles newlines in values,
28275 # but we know of no workaround that is simple, portable, and efficient.
28276 # So, we kill variables containing newlines.
28277 # Ultrix sh set writes to stderr and can't be redirected directly,
28278 # and sets the high bit in the cache file unless we assign to the vars.
28280 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28281 eval ac_val=\$$ac_var
28282 case $ac_val in #(
28283 *${as_nl}*)
28284 case $ac_var in #(
28285 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
28286 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
28287 esac
28288 case $ac_var in #(
28289 _ | IFS | as_nl) ;; #(
28290 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
28291 *) { eval $ac_var=; unset $ac_var;} ;;
28292 esac ;;
28293 esac
28294 done
28296 (set) 2>&1 |
28297 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28298 *${as_nl}ac_space=\ *)
28299 # `set' does not quote correctly, so add quotes: double-quote
28300 # substitution turns \\\\ into \\, and sed turns \\ into \.
28301 sed -n \
28302 "s/'/'\\\\''/g;
28303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28304 ;; #(
28306 # `set' quotes correctly as required by POSIX, so do not add quotes.
28307 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28309 esac |
28310 sort
28312 sed '
28313 /^ac_cv_env_/b end
28314 t clear
28315 :clear
28316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28317 t end
28318 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28319 :end' >>confcache
28320 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28321 if test -w "$cache_file"; then
28322 if test "x$cache_file" != "x/dev/null"; then
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
28324 $as_echo "$as_me: updating cache $cache_file" >&6;}
28325 if test ! -f "$cache_file" || test -h "$cache_file"; then
28326 cat confcache >"$cache_file"
28327 else
28328 case $cache_file in #(
28329 */* | ?:*)
28330 mv -f confcache "$cache_file"$$ &&
28331 mv -f "$cache_file"$$ "$cache_file" ;; #(
28333 mv -f confcache "$cache_file" ;;
28334 esac
28337 else
28338 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
28339 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28342 rm -f confcache
28344 if test ${multilib} = yes; then
28345 multilib_arg="--enable-multilib"
28346 else
28347 multilib_arg=
28350 # Write our Makefile and spec file.
28351 ac_config_files="$ac_config_files Makefile libgfortran.spec"
28353 cat >confcache <<\_ACEOF
28354 # This file is a shell script that caches the results of configure
28355 # tests run on this system so they can be shared between configure
28356 # scripts and configure runs, see configure's option --config-cache.
28357 # It is not useful on other systems. If it contains results you don't
28358 # want to keep, you may remove or edit it.
28360 # config.status only pays attention to the cache file if you give it
28361 # the --recheck option to rerun configure.
28363 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28364 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28365 # following values.
28367 _ACEOF
28369 # The following way of writing the cache mishandles newlines in values,
28370 # but we know of no workaround that is simple, portable, and efficient.
28371 # So, we kill variables containing newlines.
28372 # Ultrix sh set writes to stderr and can't be redirected directly,
28373 # and sets the high bit in the cache file unless we assign to the vars.
28375 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28376 eval ac_val=\$$ac_var
28377 case $ac_val in #(
28378 *${as_nl}*)
28379 case $ac_var in #(
28380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
28381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
28382 esac
28383 case $ac_var in #(
28384 _ | IFS | as_nl) ;; #(
28385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
28386 *) { eval $ac_var=; unset $ac_var;} ;;
28387 esac ;;
28388 esac
28389 done
28391 (set) 2>&1 |
28392 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28393 *${as_nl}ac_space=\ *)
28394 # `set' does not quote correctly, so add quotes: double-quote
28395 # substitution turns \\\\ into \\, and sed turns \\ into \.
28396 sed -n \
28397 "s/'/'\\\\''/g;
28398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28399 ;; #(
28401 # `set' quotes correctly as required by POSIX, so do not add quotes.
28402 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28404 esac |
28405 sort
28407 sed '
28408 /^ac_cv_env_/b end
28409 t clear
28410 :clear
28411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28412 t end
28413 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28414 :end' >>confcache
28415 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28416 if test -w "$cache_file"; then
28417 if test "x$cache_file" != "x/dev/null"; then
28418 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
28419 $as_echo "$as_me: updating cache $cache_file" >&6;}
28420 if test ! -f "$cache_file" || test -h "$cache_file"; then
28421 cat confcache >"$cache_file"
28422 else
28423 case $cache_file in #(
28424 */* | ?:*)
28425 mv -f confcache "$cache_file"$$ &&
28426 mv -f "$cache_file"$$ "$cache_file" ;; #(
28428 mv -f confcache "$cache_file" ;;
28429 esac
28432 else
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
28434 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28437 rm -f confcache
28439 test "x$prefix" = xNONE && prefix=$ac_default_prefix
28440 # Let make expand exec_prefix.
28441 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28443 DEFS=-DHAVE_CONFIG_H
28445 ac_libobjs=
28446 ac_ltlibobjs=
28448 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
28449 # 1. Remove the extension, and $U if already installed.
28450 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
28451 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
28452 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
28453 # will be set to the directory where LIBOBJS objects are built.
28454 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
28455 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
28456 done
28457 LIBOBJS=$ac_libobjs
28459 LTLIBOBJS=$ac_ltlibobjs
28462 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
28463 as_fn_error $? "conditional \"onestep\" was never defined.
28464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
28467 $as_echo_n "checking that generated files are newer than configure... " >&6; }
28468 if test -n "$am_sleep_pid"; then
28469 # Hide warnings about reused PIDs.
28470 wait $am_sleep_pid 2>/dev/null
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
28473 $as_echo "done" >&6; }
28474 if test -n "$EXEEXT"; then
28475 am__EXEEXT_TRUE=
28476 am__EXEEXT_FALSE='#'
28477 else
28478 am__EXEEXT_TRUE='#'
28479 am__EXEEXT_FALSE=
28482 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28483 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
28484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28486 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28487 as_fn_error $? "conditional \"AMDEP\" was never defined.
28488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28490 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28491 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
28492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28494 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28495 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
28496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28498 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
28499 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
28500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28502 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
28503 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
28504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28506 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
28507 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
28508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28510 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
28511 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
28512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28514 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
28515 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
28516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28518 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
28519 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
28520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28522 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
28523 as_fn_error $? "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
28524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28526 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
28527 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
28528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28530 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
28531 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
28532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28534 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
28535 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
28536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28539 : "${CONFIG_STATUS=./config.status}"
28540 ac_write_fail=0
28541 ac_clean_files_save=$ac_clean_files
28542 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
28544 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
28545 as_write_fail=0
28546 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
28547 #! $SHELL
28548 # Generated by $as_me.
28549 # Run this file to recreate the current configuration.
28550 # Compiler output produced by configure, useful for debugging
28551 # configure, is in config.log if it exists.
28553 debug=false
28554 ac_cs_recheck=false
28555 ac_cs_silent=false
28557 SHELL=\${CONFIG_SHELL-$SHELL}
28558 export SHELL
28559 _ASEOF
28560 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
28561 ## -------------------- ##
28562 ## M4sh Initialization. ##
28563 ## -------------------- ##
28565 # Be more Bourne compatible
28566 DUALCASE=1; export DUALCASE # for MKS sh
28567 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
28568 emulate sh
28569 NULLCMD=:
28570 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28571 # is contrary to our usage. Disable this feature.
28572 alias -g '${1+"$@"}'='"$@"'
28573 setopt NO_GLOB_SUBST
28574 else
28575 case `(set -o) 2>/dev/null` in #(
28576 *posix*) :
28577 set -o posix ;; #(
28578 *) :
28580 esac
28584 as_nl='
28586 export as_nl
28587 # Printing a long string crashes Solaris 7 /usr/bin/printf.
28588 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
28589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
28590 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
28591 # Prefer a ksh shell builtin over an external printf program on Solaris,
28592 # but without wasting forks for bash or zsh.
28593 if test -z "$BASH_VERSION$ZSH_VERSION" \
28594 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
28595 as_echo='print -r --'
28596 as_echo_n='print -rn --'
28597 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
28598 as_echo='printf %s\n'
28599 as_echo_n='printf %s'
28600 else
28601 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
28602 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
28603 as_echo_n='/usr/ucb/echo -n'
28604 else
28605 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
28606 as_echo_n_body='eval
28607 arg=$1;
28608 case $arg in #(
28609 *"$as_nl"*)
28610 expr "X$arg" : "X\\(.*\\)$as_nl";
28611 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
28612 esac;
28613 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
28615 export as_echo_n_body
28616 as_echo_n='sh -c $as_echo_n_body as_echo'
28618 export as_echo_body
28619 as_echo='sh -c $as_echo_body as_echo'
28622 # The user is always right.
28623 if test "${PATH_SEPARATOR+set}" != set; then
28624 PATH_SEPARATOR=:
28625 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
28626 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
28627 PATH_SEPARATOR=';'
28632 # IFS
28633 # We need space, tab and new line, in precisely that order. Quoting is
28634 # there to prevent editors from complaining about space-tab.
28635 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
28636 # splitting by setting IFS to empty value.)
28637 IFS=" "" $as_nl"
28639 # Find who we are. Look in the path if we contain no directory separator.
28640 as_myself=
28641 case $0 in #((
28642 *[\\/]* ) as_myself=$0 ;;
28643 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28644 for as_dir in $PATH
28646 IFS=$as_save_IFS
28647 test -z "$as_dir" && as_dir=.
28648 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28649 done
28650 IFS=$as_save_IFS
28653 esac
28654 # We did not find ourselves, most probably we were run as `sh COMMAND'
28655 # in which case we are not to be found in the path.
28656 if test "x$as_myself" = x; then
28657 as_myself=$0
28659 if test ! -f "$as_myself"; then
28660 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
28661 exit 1
28664 # Unset variables that we do not need and which cause bugs (e.g. in
28665 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
28666 # suppresses any "Segmentation fault" message there. '((' could
28667 # trigger a bug in pdksh 5.2.14.
28668 for as_var in BASH_ENV ENV MAIL MAILPATH
28669 do eval test x\${$as_var+set} = xset \
28670 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
28671 done
28672 PS1='$ '
28673 PS2='> '
28674 PS4='+ '
28676 # NLS nuisances.
28677 LC_ALL=C
28678 export LC_ALL
28679 LANGUAGE=C
28680 export LANGUAGE
28682 # CDPATH.
28683 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28686 # as_fn_error STATUS ERROR [LINENO LOG_FD]
28687 # ----------------------------------------
28688 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
28689 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
28690 # script with STATUS, using 1 if that was 0.
28691 as_fn_error ()
28693 as_status=$1; test $as_status -eq 0 && as_status=1
28694 if test "$4"; then
28695 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
28696 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
28698 $as_echo "$as_me: error: $2" >&2
28699 as_fn_exit $as_status
28700 } # as_fn_error
28703 # as_fn_set_status STATUS
28704 # -----------------------
28705 # Set $? to STATUS, without forking.
28706 as_fn_set_status ()
28708 return $1
28709 } # as_fn_set_status
28711 # as_fn_exit STATUS
28712 # -----------------
28713 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
28714 as_fn_exit ()
28716 set +e
28717 as_fn_set_status $1
28718 exit $1
28719 } # as_fn_exit
28721 # as_fn_unset VAR
28722 # ---------------
28723 # Portably unset VAR.
28724 as_fn_unset ()
28726 { eval $1=; unset $1;}
28728 as_unset=as_fn_unset
28729 # as_fn_append VAR VALUE
28730 # ----------------------
28731 # Append the text in VALUE to the end of the definition contained in VAR. Take
28732 # advantage of any shell optimizations that allow amortized linear growth over
28733 # repeated appends, instead of the typical quadratic growth present in naive
28734 # implementations.
28735 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
28736 eval 'as_fn_append ()
28738 eval $1+=\$2
28740 else
28741 as_fn_append ()
28743 eval $1=\$$1\$2
28745 fi # as_fn_append
28747 # as_fn_arith ARG...
28748 # ------------------
28749 # Perform arithmetic evaluation on the ARGs, and store the result in the
28750 # global $as_val. Take advantage of shells that can avoid forks. The arguments
28751 # must be portable across $(()) and expr.
28752 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
28753 eval 'as_fn_arith ()
28755 as_val=$(( $* ))
28757 else
28758 as_fn_arith ()
28760 as_val=`expr "$@" || test $? -eq 1`
28762 fi # as_fn_arith
28765 if expr a : '\(a\)' >/dev/null 2>&1 &&
28766 test "X`expr 00001 : '.*\(...\)'`" = X001; then
28767 as_expr=expr
28768 else
28769 as_expr=false
28772 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28773 as_basename=basename
28774 else
28775 as_basename=false
28778 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
28779 as_dirname=dirname
28780 else
28781 as_dirname=false
28784 as_me=`$as_basename -- "$0" ||
28785 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28786 X"$0" : 'X\(//\)$' \| \
28787 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28788 $as_echo X/"$0" |
28789 sed '/^.*\/\([^/][^/]*\)\/*$/{
28790 s//\1/
28793 /^X\/\(\/\/\)$/{
28794 s//\1/
28797 /^X\/\(\/\).*/{
28798 s//\1/
28801 s/.*/./; q'`
28803 # Avoid depending upon Character Ranges.
28804 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28805 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28806 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28807 as_cr_digits='0123456789'
28808 as_cr_alnum=$as_cr_Letters$as_cr_digits
28810 ECHO_C= ECHO_N= ECHO_T=
28811 case `echo -n x` in #(((((
28812 -n*)
28813 case `echo 'xy\c'` in
28814 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
28815 xy) ECHO_C='\c';;
28816 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
28817 ECHO_T=' ';;
28818 esac;;
28820 ECHO_N='-n';;
28821 esac
28823 rm -f conf$$ conf$$.exe conf$$.file
28824 if test -d conf$$.dir; then
28825 rm -f conf$$.dir/conf$$.file
28826 else
28827 rm -f conf$$.dir
28828 mkdir conf$$.dir 2>/dev/null
28830 if (echo >conf$$.file) 2>/dev/null; then
28831 if ln -s conf$$.file conf$$ 2>/dev/null; then
28832 as_ln_s='ln -s'
28833 # ... but there are two gotchas:
28834 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28835 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28836 # In both cases, we have to default to `cp -pR'.
28837 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
28838 as_ln_s='cp -pR'
28839 elif ln conf$$.file conf$$ 2>/dev/null; then
28840 as_ln_s=ln
28841 else
28842 as_ln_s='cp -pR'
28844 else
28845 as_ln_s='cp -pR'
28847 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28848 rmdir conf$$.dir 2>/dev/null
28851 # as_fn_mkdir_p
28852 # -------------
28853 # Create "$as_dir" as a directory, including parents if necessary.
28854 as_fn_mkdir_p ()
28857 case $as_dir in #(
28858 -*) as_dir=./$as_dir;;
28859 esac
28860 test -d "$as_dir" || eval $as_mkdir_p || {
28861 as_dirs=
28862 while :; do
28863 case $as_dir in #(
28864 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28865 *) as_qdir=$as_dir;;
28866 esac
28867 as_dirs="'$as_qdir' $as_dirs"
28868 as_dir=`$as_dirname -- "$as_dir" ||
28869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28870 X"$as_dir" : 'X\(//\)[^/]' \| \
28871 X"$as_dir" : 'X\(//\)$' \| \
28872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28873 $as_echo X"$as_dir" |
28874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28875 s//\1/
28878 /^X\(\/\/\)[^/].*/{
28879 s//\1/
28882 /^X\(\/\/\)$/{
28883 s//\1/
28886 /^X\(\/\).*/{
28887 s//\1/
28890 s/.*/./; q'`
28891 test -d "$as_dir" && break
28892 done
28893 test -z "$as_dirs" || eval "mkdir $as_dirs"
28894 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
28897 } # as_fn_mkdir_p
28898 if mkdir -p . 2>/dev/null; then
28899 as_mkdir_p='mkdir -p "$as_dir"'
28900 else
28901 test -d ./-p && rmdir ./-p
28902 as_mkdir_p=false
28906 # as_fn_executable_p FILE
28907 # -----------------------
28908 # Test if FILE is an executable regular file.
28909 as_fn_executable_p ()
28911 test -f "$1" && test -x "$1"
28912 } # as_fn_executable_p
28913 as_test_x='test -x'
28914 as_executable_p=as_fn_executable_p
28916 # Sed expression to map a string onto a valid CPP name.
28917 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28919 # Sed expression to map a string onto a valid variable name.
28920 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28923 exec 6>&1
28924 ## ----------------------------------- ##
28925 ## Main body of $CONFIG_STATUS script. ##
28926 ## ----------------------------------- ##
28927 _ASEOF
28928 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
28930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28931 # Save the log message, to keep $0 and so on meaningful, and to
28932 # report actual input values of CONFIG_FILES etc. instead of their
28933 # values after options handling.
28934 ac_log="
28935 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
28936 generated by GNU Autoconf 2.69. Invocation command line was
28938 CONFIG_FILES = $CONFIG_FILES
28939 CONFIG_HEADERS = $CONFIG_HEADERS
28940 CONFIG_LINKS = $CONFIG_LINKS
28941 CONFIG_COMMANDS = $CONFIG_COMMANDS
28942 $ $0 $@
28944 on `(hostname || uname -n) 2>/dev/null | sed 1q`
28947 _ACEOF
28949 case $ac_config_files in *"
28950 "*) set x $ac_config_files; shift; ac_config_files=$*;;
28951 esac
28953 case $ac_config_headers in *"
28954 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
28955 esac
28958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28959 # Files that config.status was made for.
28960 config_files="$ac_config_files"
28961 config_headers="$ac_config_headers"
28962 config_commands="$ac_config_commands"
28964 _ACEOF
28966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28967 ac_cs_usage="\
28968 \`$as_me' instantiates files and other configuration actions
28969 from templates according to the current configuration. Unless the files
28970 and actions are specified as TAGs, all are instantiated by default.
28972 Usage: $0 [OPTION]... [TAG]...
28974 -h, --help print this help, then exit
28975 -V, --version print version number and configuration settings, then exit
28976 --config print configuration, then exit
28977 -q, --quiet, --silent
28978 do not print progress messages
28979 -d, --debug don't remove temporary files
28980 --recheck update $as_me by reconfiguring in the same conditions
28981 --file=FILE[:TEMPLATE]
28982 instantiate the configuration file FILE
28983 --header=FILE[:TEMPLATE]
28984 instantiate the configuration header FILE
28986 Configuration files:
28987 $config_files
28989 Configuration headers:
28990 $config_headers
28992 Configuration commands:
28993 $config_commands
28995 Report bugs to the package provider.
28996 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
28997 General help using GNU software: <http://www.gnu.org/gethelp/>."
28999 _ACEOF
29000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29001 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
29002 ac_cs_version="\\
29003 GNU Fortran Runtime Library config.status 0.3
29004 configured by $0, generated by GNU Autoconf 2.69,
29005 with options \\"\$ac_cs_config\\"
29007 Copyright (C) 2012 Free Software Foundation, Inc.
29008 This config.status script is free software; the Free Software Foundation
29009 gives unlimited permission to copy, distribute and modify it."
29011 ac_pwd='$ac_pwd'
29012 srcdir='$srcdir'
29013 INSTALL='$INSTALL'
29014 MKDIR_P='$MKDIR_P'
29015 AWK='$AWK'
29016 test -n "\$AWK" || AWK=awk
29017 _ACEOF
29019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29020 # The default lists apply if the user does not specify any file.
29021 ac_need_defaults=:
29022 while test $# != 0
29024 case $1 in
29025 --*=?*)
29026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29027 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29028 ac_shift=:
29030 --*=)
29031 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29032 ac_optarg=
29033 ac_shift=:
29036 ac_option=$1
29037 ac_optarg=$2
29038 ac_shift=shift
29040 esac
29042 case $ac_option in
29043 # Handling of the options.
29044 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29045 ac_cs_recheck=: ;;
29046 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29047 $as_echo "$ac_cs_version"; exit ;;
29048 --config | --confi | --conf | --con | --co | --c )
29049 $as_echo "$ac_cs_config"; exit ;;
29050 --debug | --debu | --deb | --de | --d | -d )
29051 debug=: ;;
29052 --file | --fil | --fi | --f )
29053 $ac_shift
29054 case $ac_optarg in
29055 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29056 '') as_fn_error $? "missing file argument" ;;
29057 esac
29058 as_fn_append CONFIG_FILES " '$ac_optarg'"
29059 ac_need_defaults=false;;
29060 --header | --heade | --head | --hea )
29061 $ac_shift
29062 case $ac_optarg in
29063 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29064 esac
29065 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
29066 ac_need_defaults=false;;
29067 --he | --h)
29068 # Conflict between --help and --header
29069 as_fn_error $? "ambiguous option: \`$1'
29070 Try \`$0 --help' for more information.";;
29071 --help | --hel | -h )
29072 $as_echo "$ac_cs_usage"; exit ;;
29073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29074 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29075 ac_cs_silent=: ;;
29077 # This is an error.
29078 -*) as_fn_error $? "unrecognized option: \`$1'
29079 Try \`$0 --help' for more information." ;;
29081 *) as_fn_append ac_config_targets " $1"
29082 ac_need_defaults=false ;;
29084 esac
29085 shift
29086 done
29088 ac_configure_extra_args=
29090 if $ac_cs_silent; then
29091 exec 6>/dev/null
29092 ac_configure_extra_args="$ac_configure_extra_args --silent"
29095 _ACEOF
29096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29097 if \$ac_cs_recheck; then
29098 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29099 shift
29100 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
29101 CONFIG_SHELL='$SHELL'
29102 export CONFIG_SHELL
29103 exec "\$@"
29106 _ACEOF
29107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29108 exec 5>>config.log
29110 echo
29111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29112 ## Running $as_me. ##
29113 _ASBOX
29114 $as_echo "$ac_log"
29115 } >&5
29117 _ACEOF
29118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29120 # INIT-COMMANDS
29123 srcdir="$srcdir"
29124 host="$host"
29125 target="$target"
29126 with_multisubdir="$with_multisubdir"
29127 with_multisrctop="$with_multisrctop"
29128 with_target_subdir="$with_target_subdir"
29129 ac_configure_args="${multilib_arg} ${ac_configure_args}"
29130 multi_basedir="$multi_basedir"
29131 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
29132 CC="$CC"
29133 CXX="$CXX"
29134 GFORTRAN="$GFORTRAN"
29135 GDC="$GDC"
29136 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29139 # The HP-UX ksh and POSIX shell print the target directory to stdout
29140 # if CDPATH is set.
29141 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29143 sed_quote_subst='$sed_quote_subst'
29144 double_quote_subst='$double_quote_subst'
29145 delay_variable_subst='$delay_variable_subst'
29146 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
29147 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
29148 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
29149 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
29150 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
29151 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
29152 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
29153 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
29154 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
29155 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
29156 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
29157 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
29158 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
29159 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
29160 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
29161 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
29162 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
29163 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
29164 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
29165 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
29166 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
29167 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
29168 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
29169 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
29170 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
29171 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
29172 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
29173 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
29174 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
29175 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
29176 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
29177 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
29178 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
29179 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
29180 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
29181 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
29182 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
29183 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
29184 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
29185 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
29186 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
29187 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
29188 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
29189 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
29190 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
29191 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
29192 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
29193 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
29194 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"`'
29195 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
29196 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
29197 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
29198 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
29199 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
29200 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
29201 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
29202 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
29203 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
29204 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
29205 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
29206 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
29207 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
29208 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
29209 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
29210 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
29211 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
29212 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
29213 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
29214 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
29215 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
29216 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
29217 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
29218 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
29219 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
29220 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
29221 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
29222 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
29223 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
29224 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
29225 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
29226 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
29227 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
29228 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
29229 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
29230 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
29231 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
29232 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
29233 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
29234 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
29235 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
29236 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
29237 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
29238 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
29239 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
29240 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
29241 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
29242 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
29243 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
29244 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
29245 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
29246 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
29247 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
29248 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
29249 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
29250 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
29251 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
29252 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
29253 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
29254 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
29255 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
29256 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
29257 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
29258 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
29259 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
29260 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
29261 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
29262 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
29263 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
29264 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
29265 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
29266 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
29267 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
29268 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
29269 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
29270 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
29271 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
29272 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
29273 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
29274 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
29275 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
29276 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
29277 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
29278 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
29279 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
29280 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
29281 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
29282 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
29283 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
29284 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
29285 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
29286 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
29287 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
29288 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
29289 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
29290 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
29291 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
29292 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
29293 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
29294 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
29295 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
29296 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
29297 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
29298 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
29299 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
29300 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
29301 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
29302 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
29303 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
29304 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
29305 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
29306 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
29307 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
29308 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
29309 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
29310 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
29311 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
29312 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
29313 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
29314 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
29315 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
29316 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
29317 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
29318 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
29319 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
29320 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
29322 LTCC='$LTCC'
29323 LTCFLAGS='$LTCFLAGS'
29324 compiler='$compiler_DEFAULT'
29326 # A function that is used when there is no print builtin or printf.
29327 func_fallback_echo ()
29329 eval 'cat <<_LTECHO_EOF
29331 _LTECHO_EOF'
29334 # Quote evaled strings.
29335 for var in SED \
29336 GREP \
29337 EGREP \
29338 FGREP \
29339 SHELL \
29340 ECHO \
29341 LD \
29342 NM \
29343 LN_S \
29344 lt_SP2NL \
29345 lt_NL2SP \
29346 reload_flag \
29347 OBJDUMP \
29348 deplibs_check_method \
29349 file_magic_cmd \
29350 AR \
29351 AR_FLAGS \
29352 STRIP \
29353 RANLIB \
29354 CC \
29355 CFLAGS \
29356 compiler \
29357 lt_cv_sys_global_symbol_pipe \
29358 lt_cv_sys_global_symbol_to_cdecl \
29359 lt_cv_sys_global_symbol_to_c_name_address \
29360 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
29361 lt_prog_compiler_no_builtin_flag \
29362 lt_prog_compiler_wl \
29363 lt_prog_compiler_pic \
29364 lt_prog_compiler_static \
29365 lt_cv_prog_compiler_c_o \
29366 need_locks \
29367 DSYMUTIL \
29368 NMEDIT \
29369 LIPO \
29370 OTOOL \
29371 OTOOL64 \
29372 shrext_cmds \
29373 export_dynamic_flag_spec \
29374 whole_archive_flag_spec \
29375 compiler_needs_object \
29376 with_gnu_ld \
29377 allow_undefined_flag \
29378 no_undefined_flag \
29379 hardcode_libdir_flag_spec \
29380 hardcode_libdir_flag_spec_ld \
29381 hardcode_libdir_separator \
29382 fix_srcfile_path \
29383 exclude_expsyms \
29384 include_expsyms \
29385 file_list_spec \
29386 variables_saved_for_relink \
29387 libname_spec \
29388 library_names_spec \
29389 soname_spec \
29390 install_override_mode \
29391 finish_eval \
29392 old_striplib \
29393 striplib \
29394 compiler_lib_search_dirs \
29395 predep_objects \
29396 postdep_objects \
29397 predeps \
29398 postdeps \
29399 compiler_lib_search_path \
29400 LD_FC \
29401 reload_flag_FC \
29402 compiler_FC \
29403 lt_prog_compiler_no_builtin_flag_FC \
29404 lt_prog_compiler_wl_FC \
29405 lt_prog_compiler_pic_FC \
29406 lt_prog_compiler_static_FC \
29407 lt_cv_prog_compiler_c_o_FC \
29408 export_dynamic_flag_spec_FC \
29409 whole_archive_flag_spec_FC \
29410 compiler_needs_object_FC \
29411 with_gnu_ld_FC \
29412 allow_undefined_flag_FC \
29413 no_undefined_flag_FC \
29414 hardcode_libdir_flag_spec_FC \
29415 hardcode_libdir_flag_spec_ld_FC \
29416 hardcode_libdir_separator_FC \
29417 fix_srcfile_path_FC \
29418 exclude_expsyms_FC \
29419 include_expsyms_FC \
29420 file_list_spec_FC \
29421 compiler_lib_search_dirs_FC \
29422 predep_objects_FC \
29423 postdep_objects_FC \
29424 predeps_FC \
29425 postdeps_FC \
29426 compiler_lib_search_path_FC; do
29427 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
29428 *[\\\\\\\`\\"\\\$]*)
29429 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
29432 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29434 esac
29435 done
29437 # Double-quote double-evaled strings.
29438 for var in reload_cmds \
29439 old_postinstall_cmds \
29440 old_postuninstall_cmds \
29441 old_archive_cmds \
29442 extract_expsyms_cmds \
29443 old_archive_from_new_cmds \
29444 old_archive_from_expsyms_cmds \
29445 archive_cmds \
29446 archive_expsym_cmds \
29447 module_cmds \
29448 module_expsym_cmds \
29449 export_symbols_cmds \
29450 prelink_cmds \
29451 postinstall_cmds \
29452 postuninstall_cmds \
29453 finish_cmds \
29454 sys_lib_search_path_spec \
29455 sys_lib_dlsearch_path_spec \
29456 reload_cmds_FC \
29457 old_archive_cmds_FC \
29458 old_archive_from_new_cmds_FC \
29459 old_archive_from_expsyms_cmds_FC \
29460 archive_cmds_FC \
29461 archive_expsym_cmds_FC \
29462 module_cmds_FC \
29463 module_expsym_cmds_FC \
29464 export_symbols_cmds_FC \
29465 prelink_cmds_FC; do
29466 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
29467 *[\\\\\\\`\\"\\\$]*)
29468 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
29471 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29473 esac
29474 done
29476 ac_aux_dir='$ac_aux_dir'
29477 xsi_shell='$xsi_shell'
29478 lt_shell_append='$lt_shell_append'
29480 # See if we are running on zsh, and set the options which allow our
29481 # commands through without removal of \ escapes INIT.
29482 if test -n "\${ZSH_VERSION+set}" ; then
29483 setopt NO_GLOB_SUBST
29487 PACKAGE='$PACKAGE'
29488 VERSION='$VERSION'
29489 TIMESTAMP='$TIMESTAMP'
29490 RM='$RM'
29491 ofile='$ofile'
29498 GCC="$GCC"
29499 CC="$CC"
29500 acx_cv_header_stdint="$acx_cv_header_stdint"
29501 acx_cv_type_int8_t="$acx_cv_type_int8_t"
29502 acx_cv_type_int16_t="$acx_cv_type_int16_t"
29503 acx_cv_type_int32_t="$acx_cv_type_int32_t"
29504 acx_cv_type_int64_t="$acx_cv_type_int64_t"
29505 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
29506 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
29507 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
29508 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
29509 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
29510 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
29511 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
29512 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
29513 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
29516 _ACEOF
29518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29520 # Handling of arguments.
29521 for ac_config_target in $ac_config_targets
29523 case $ac_config_target in
29524 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29525 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
29526 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29527 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
29528 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
29529 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29530 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
29532 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
29533 esac
29534 done
29537 # If the user did not use the arguments to specify the items to instantiate,
29538 # then the envvar interface is used. Set only those that are not.
29539 # We use the long form for the default assignment because of an extremely
29540 # bizarre bug on SunOS 4.1.3.
29541 if $ac_need_defaults; then
29542 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
29543 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
29544 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
29547 # Have a temporary directory for convenience. Make it in the build tree
29548 # simply because there is no reason against having it here, and in addition,
29549 # creating and moving files from /tmp can sometimes cause problems.
29550 # Hook for its removal unless debugging.
29551 # Note that there is a small window in which the directory will not be cleaned:
29552 # after its creation but before its name has been assigned to `$tmp'.
29553 $debug ||
29555 tmp= ac_tmp=
29556 trap 'exit_status=$?
29557 : "${ac_tmp:=$tmp}"
29558 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
29560 trap 'as_fn_exit 1' 1 2 13 15
29562 # Create a (secure) tmp directory for tmp files.
29565 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29566 test -d "$tmp"
29567 } ||
29569 tmp=./conf$$-$RANDOM
29570 (umask 077 && mkdir "$tmp")
29571 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
29572 ac_tmp=$tmp
29574 # Set up the scripts for CONFIG_FILES section.
29575 # No need to generate them if there are no CONFIG_FILES.
29576 # This happens for instance with `./config.status config.h'.
29577 if test -n "$CONFIG_FILES"; then
29580 ac_cr=`echo X | tr X '\015'`
29581 # On cygwin, bash can eat \r inside `` if the user requested igncr.
29582 # But we know of no other shell where ac_cr would be empty at this
29583 # point, so we can use a bashism as a fallback.
29584 if test "x$ac_cr" = x; then
29585 eval ac_cr=\$\'\\r\'
29587 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
29588 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
29589 ac_cs_awk_cr='\\r'
29590 else
29591 ac_cs_awk_cr=$ac_cr
29594 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
29595 _ACEOF
29599 echo "cat >conf$$subs.awk <<_ACEOF" &&
29600 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
29601 echo "_ACEOF"
29602 } >conf$$subs.sh ||
29603 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
29604 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
29605 ac_delim='%!_!# '
29606 for ac_last_try in false false false false false :; do
29607 . ./conf$$subs.sh ||
29608 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
29610 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
29611 if test $ac_delim_n = $ac_delim_num; then
29612 break
29613 elif $ac_last_try; then
29614 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
29615 else
29616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29618 done
29619 rm -f conf$$subs.sh
29621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29622 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
29623 _ACEOF
29624 sed -n '
29626 s/^/S["/; s/!.*/"]=/
29629 s/^[^!]*!//
29630 :repl
29631 t repl
29632 s/'"$ac_delim"'$//
29633 t delim
29636 s/\(.\{148\}\)..*/\1/
29637 t more1
29638 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
29641 b repl
29642 :more1
29643 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
29646 s/.\{148\}//
29647 t nl
29648 :delim
29650 s/\(.\{148\}\)..*/\1/
29651 t more2
29652 s/["\\]/\\&/g; s/^/"/; s/$/"/
29655 :more2
29656 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
29659 s/.\{148\}//
29660 t delim
29661 ' <conf$$subs.awk | sed '
29662 /^[^""]/{
29664 s/\n//
29666 ' >>$CONFIG_STATUS || ac_write_fail=1
29667 rm -f conf$$subs.awk
29668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29669 _ACAWK
29670 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
29671 for (key in S) S_is_set[key] = 1
29672 FS = "\a"
29676 line = $ 0
29677 nfields = split(line, field, "@")
29678 substed = 0
29679 len = length(field[1])
29680 for (i = 2; i < nfields; i++) {
29681 key = field[i]
29682 keylen = length(key)
29683 if (S_is_set[key]) {
29684 value = S[key]
29685 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
29686 len += length(value) + length(field[++i])
29687 substed = 1
29688 } else
29689 len += 1 + keylen
29692 print line
29695 _ACAWK
29696 _ACEOF
29697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29698 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
29699 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
29700 else
29702 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
29703 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
29704 _ACEOF
29706 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
29707 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
29708 # trailing colons and then remove the whole line if VPATH becomes empty
29709 # (actually we leave an empty line to preserve line numbers).
29710 if test "x$srcdir" = x.; then
29711 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
29713 s///
29714 s/^/:/
29715 s/[ ]*$/:/
29716 s/:\$(srcdir):/:/g
29717 s/:\${srcdir}:/:/g
29718 s/:@srcdir@:/:/g
29719 s/^:*//
29720 s/:*$//
29722 s/\(=[ ]*\).*/\1/
29724 s/\n//
29725 s/^[^=]*=[ ]*$//
29729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29730 fi # test -n "$CONFIG_FILES"
29732 # Set up the scripts for CONFIG_HEADERS section.
29733 # No need to generate them if there are no CONFIG_HEADERS.
29734 # This happens for instance with `./config.status Makefile'.
29735 if test -n "$CONFIG_HEADERS"; then
29736 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
29737 BEGIN {
29738 _ACEOF
29740 # Transform confdefs.h into an awk script `defines.awk', embedded as
29741 # here-document in config.status, that substitutes the proper values into
29742 # config.h.in to produce config.h.
29744 # Create a delimiter string that does not exist in confdefs.h, to ease
29745 # handling of long lines.
29746 ac_delim='%!_!# '
29747 for ac_last_try in false false :; do
29748 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
29749 if test -z "$ac_tt"; then
29750 break
29751 elif $ac_last_try; then
29752 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
29753 else
29754 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29756 done
29758 # For the awk script, D is an array of macro values keyed by name,
29759 # likewise P contains macro parameters if any. Preserve backslash
29760 # newline sequences.
29762 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29763 sed -n '
29764 s/.\{148\}/&'"$ac_delim"'/g
29765 t rset
29766 :rset
29767 s/^[ ]*#[ ]*define[ ][ ]*/ /
29768 t def
29770 :def
29771 s/\\$//
29772 t bsnl
29773 s/["\\]/\\&/g
29774 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29775 D["\1"]=" \3"/p
29776 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
29778 :bsnl
29779 s/["\\]/\\&/g
29780 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29781 D["\1"]=" \3\\\\\\n"\\/p
29782 t cont
29783 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
29784 t cont
29786 :cont
29788 s/.\{148\}/&'"$ac_delim"'/g
29789 t clear
29790 :clear
29791 s/\\$//
29792 t bsnlc
29793 s/["\\]/\\&/g; s/^/"/; s/$/"/p
29795 :bsnlc
29796 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
29797 b cont
29798 ' <confdefs.h | sed '
29799 s/'"$ac_delim"'/"\\\
29800 "/g' >>$CONFIG_STATUS || ac_write_fail=1
29802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29803 for (key in D) D_is_set[key] = 1
29804 FS = "\a"
29806 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
29807 line = \$ 0
29808 split(line, arg, " ")
29809 if (arg[1] == "#") {
29810 defundef = arg[2]
29811 mac1 = arg[3]
29812 } else {
29813 defundef = substr(arg[1], 2)
29814 mac1 = arg[2]
29816 split(mac1, mac2, "(") #)
29817 macro = mac2[1]
29818 prefix = substr(line, 1, index(line, defundef) - 1)
29819 if (D_is_set[macro]) {
29820 # Preserve the white space surrounding the "#".
29821 print prefix "define", macro P[macro] D[macro]
29822 next
29823 } else {
29824 # Replace #undef with comments. This is necessary, for example,
29825 # in the case of _POSIX_SOURCE, which is predefined and required
29826 # on some systems where configure will not decide to define it.
29827 if (defundef == "undef") {
29828 print "/*", prefix defundef, macro, "*/"
29829 next
29833 { print }
29834 _ACAWK
29835 _ACEOF
29836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29837 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
29838 fi # test -n "$CONFIG_HEADERS"
29841 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
29842 shift
29843 for ac_tag
29845 case $ac_tag in
29846 :[FHLC]) ac_mode=$ac_tag; continue;;
29847 esac
29848 case $ac_mode$ac_tag in
29849 :[FHL]*:*);;
29850 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
29851 :[FH]-) ac_tag=-:-;;
29852 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29853 esac
29854 ac_save_IFS=$IFS
29855 IFS=:
29856 set x $ac_tag
29857 IFS=$ac_save_IFS
29858 shift
29859 ac_file=$1
29860 shift
29862 case $ac_mode in
29863 :L) ac_source=$1;;
29864 :[FH])
29865 ac_file_inputs=
29866 for ac_f
29868 case $ac_f in
29869 -) ac_f="$ac_tmp/stdin";;
29870 *) # Look for the file first in the build tree, then in the source tree
29871 # (if the path is not absolute). The absolute path cannot be DOS-style,
29872 # because $ac_f cannot contain `:'.
29873 test -f "$ac_f" ||
29874 case $ac_f in
29875 [\\/$]*) false;;
29876 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29877 esac ||
29878 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
29879 esac
29880 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29881 as_fn_append ac_file_inputs " '$ac_f'"
29882 done
29884 # Let's still pretend it is `configure' which instantiates (i.e., don't
29885 # use $as_me), people would be surprised to read:
29886 # /* config.h. Generated by config.status. */
29887 configure_input='Generated from '`
29888 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29889 `' by configure.'
29890 if test x"$ac_file" != x-; then
29891 configure_input="$ac_file. $configure_input"
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29893 $as_echo "$as_me: creating $ac_file" >&6;}
29895 # Neutralize special characters interpreted by sed in replacement strings.
29896 case $configure_input in #(
29897 *\&* | *\|* | *\\* )
29898 ac_sed_conf_input=`$as_echo "$configure_input" |
29899 sed 's/[\\\\&|]/\\\\&/g'`;; #(
29900 *) ac_sed_conf_input=$configure_input;;
29901 esac
29903 case $ac_tag in
29904 *:-:* | *:-) cat >"$ac_tmp/stdin" \
29905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
29906 esac
29908 esac
29910 ac_dir=`$as_dirname -- "$ac_file" ||
29911 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29912 X"$ac_file" : 'X\(//\)[^/]' \| \
29913 X"$ac_file" : 'X\(//\)$' \| \
29914 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29915 $as_echo X"$ac_file" |
29916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29917 s//\1/
29920 /^X\(\/\/\)[^/].*/{
29921 s//\1/
29924 /^X\(\/\/\)$/{
29925 s//\1/
29928 /^X\(\/\).*/{
29929 s//\1/
29932 s/.*/./; q'`
29933 as_dir="$ac_dir"; as_fn_mkdir_p
29934 ac_builddir=.
29936 case "$ac_dir" in
29937 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29939 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
29940 # A ".." for each directory in $ac_dir_suffix.
29941 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29942 case $ac_top_builddir_sub in
29943 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29944 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29945 esac ;;
29946 esac
29947 ac_abs_top_builddir=$ac_pwd
29948 ac_abs_builddir=$ac_pwd$ac_dir_suffix
29949 # for backward compatibility:
29950 ac_top_builddir=$ac_top_build_prefix
29952 case $srcdir in
29953 .) # We are building in place.
29954 ac_srcdir=.
29955 ac_top_srcdir=$ac_top_builddir_sub
29956 ac_abs_top_srcdir=$ac_pwd ;;
29957 [\\/]* | ?:[\\/]* ) # Absolute name.
29958 ac_srcdir=$srcdir$ac_dir_suffix;
29959 ac_top_srcdir=$srcdir
29960 ac_abs_top_srcdir=$srcdir ;;
29961 *) # Relative name.
29962 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29963 ac_top_srcdir=$ac_top_build_prefix$srcdir
29964 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29965 esac
29966 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29969 case $ac_mode in
29972 # CONFIG_FILE
29975 case $INSTALL in
29976 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29977 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29978 esac
29979 ac_MKDIR_P=$MKDIR_P
29980 case $MKDIR_P in
29981 [\\/$]* | ?:[\\/]* ) ;;
29982 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29983 esac
29984 _ACEOF
29986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29987 # If the template does not know about datarootdir, expand it.
29988 # FIXME: This hack should be removed a few years after 2.60.
29989 ac_datarootdir_hack=; ac_datarootdir_seen=
29990 ac_sed_dataroot='
29991 /datarootdir/ {
29995 /@datadir@/p
29996 /@docdir@/p
29997 /@infodir@/p
29998 /@localedir@/p
29999 /@mandir@/p'
30000 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
30001 *datarootdir*) ac_datarootdir_seen=yes;;
30002 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30004 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30005 _ACEOF
30006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30007 ac_datarootdir_hack='
30008 s&@datadir@&$datadir&g
30009 s&@docdir@&$docdir&g
30010 s&@infodir@&$infodir&g
30011 s&@localedir@&$localedir&g
30012 s&@mandir@&$mandir&g
30013 s&\\\${datarootdir}&$datarootdir&g' ;;
30014 esac
30015 _ACEOF
30017 # Neutralize VPATH when `$srcdir' = `.'.
30018 # Shell code in configure.ac might set extrasub.
30019 # FIXME: do we really want to maintain this feature?
30020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30021 ac_sed_extra="$ac_vpsub
30022 $extrasub
30023 _ACEOF
30024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30026 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30027 s|@configure_input@|$ac_sed_conf_input|;t t
30028 s&@top_builddir@&$ac_top_builddir_sub&;t t
30029 s&@top_build_prefix@&$ac_top_build_prefix&;t t
30030 s&@srcdir@&$ac_srcdir&;t t
30031 s&@abs_srcdir@&$ac_abs_srcdir&;t t
30032 s&@top_srcdir@&$ac_top_srcdir&;t t
30033 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
30034 s&@builddir@&$ac_builddir&;t t
30035 s&@abs_builddir@&$ac_abs_builddir&;t t
30036 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30037 s&@INSTALL@&$ac_INSTALL&;t t
30038 s&@MKDIR_P@&$ac_MKDIR_P&;t t
30039 $ac_datarootdir_hack
30041 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
30042 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30044 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30045 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
30046 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
30047 "$ac_tmp/out"`; test -z "$ac_out"; } &&
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30049 which seems to be undefined. Please make sure it is defined" >&5
30050 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30051 which seems to be undefined. Please make sure it is defined" >&2;}
30053 rm -f "$ac_tmp/stdin"
30054 case $ac_file in
30055 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
30056 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
30057 esac \
30058 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30062 # CONFIG_HEADER
30064 if test x"$ac_file" != x-; then
30066 $as_echo "/* $configure_input */" \
30067 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
30068 } >"$ac_tmp/config.h" \
30069 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30070 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
30071 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
30072 $as_echo "$as_me: $ac_file is unchanged" >&6;}
30073 else
30074 rm -f "$ac_file"
30075 mv "$ac_tmp/config.h" "$ac_file" \
30076 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30078 else
30079 $as_echo "/* $configure_input */" \
30080 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
30081 || as_fn_error $? "could not create -" "$LINENO" 5
30083 # Compute "$ac_file"'s index in $config_headers.
30084 _am_arg="$ac_file"
30085 _am_stamp_count=1
30086 for _am_header in $config_headers :; do
30087 case $_am_header in
30088 $_am_arg | $_am_arg:* )
30089 break ;;
30091 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30092 esac
30093 done
30094 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
30095 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30096 X"$_am_arg" : 'X\(//\)[^/]' \| \
30097 X"$_am_arg" : 'X\(//\)$' \| \
30098 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
30099 $as_echo X"$_am_arg" |
30100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30101 s//\1/
30104 /^X\(\/\/\)[^/].*/{
30105 s//\1/
30108 /^X\(\/\/\)$/{
30109 s//\1/
30112 /^X\(\/\).*/{
30113 s//\1/
30116 s/.*/./; q'`/stamp-h$_am_stamp_count
30119 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
30120 $as_echo "$as_me: executing $ac_file commands" >&6;}
30122 esac
30125 case $ac_file$ac_mode in
30126 "default-1":C)
30127 # Only add multilib support code if we just rebuilt the top-level
30128 # Makefile.
30129 case " $CONFIG_FILES " in
30130 *" Makefile "*)
30131 ac_file=Makefile . ${multi_basedir}/config-ml.in
30133 esac ;;
30134 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
30135 # Older Autoconf quotes --file arguments for eval, but not when files
30136 # are listed without --file. Let's play safe and only enable the eval
30137 # if we detect the quoting.
30138 case $CONFIG_FILES in
30139 *\'*) eval set x "$CONFIG_FILES" ;;
30140 *) set x $CONFIG_FILES ;;
30141 esac
30142 shift
30143 for mf
30145 # Strip MF so we end up with the name of the file.
30146 mf=`echo "$mf" | sed -e 's/:.*$//'`
30147 # Check whether this is an Automake generated Makefile or not.
30148 # We used to match only the files named 'Makefile.in', but
30149 # some people rename them; so instead we look at the file content.
30150 # Grep'ing the first line is not enough: some people post-process
30151 # each Makefile.in and add a new line on top of each file to say so.
30152 # Grep'ing the whole file is not good either: AIX grep has a line
30153 # limit of 2048, but all sed's we know have understand at least 4000.
30154 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
30155 dirpart=`$as_dirname -- "$mf" ||
30156 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30157 X"$mf" : 'X\(//\)[^/]' \| \
30158 X"$mf" : 'X\(//\)$' \| \
30159 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30160 $as_echo X"$mf" |
30161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30162 s//\1/
30165 /^X\(\/\/\)[^/].*/{
30166 s//\1/
30169 /^X\(\/\/\)$/{
30170 s//\1/
30173 /^X\(\/\).*/{
30174 s//\1/
30177 s/.*/./; q'`
30178 else
30179 continue
30181 # Extract the definition of DEPDIR, am__include, and am__quote
30182 # from the Makefile without running 'make'.
30183 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
30184 test -z "$DEPDIR" && continue
30185 am__include=`sed -n 's/^am__include = //p' < "$mf"`
30186 test -z "$am__include" && continue
30187 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
30188 # Find all dependency output files, they are included files with
30189 # $(DEPDIR) in their names. We invoke sed twice because it is the
30190 # simplest approach to changing $(DEPDIR) to its actual value in the
30191 # expansion.
30192 for file in `sed -n "
30193 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30194 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
30195 # Make sure the directory exists.
30196 test -f "$dirpart/$file" && continue
30197 fdir=`$as_dirname -- "$file" ||
30198 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30199 X"$file" : 'X\(//\)[^/]' \| \
30200 X"$file" : 'X\(//\)$' \| \
30201 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30202 $as_echo X"$file" |
30203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30204 s//\1/
30207 /^X\(\/\/\)[^/].*/{
30208 s//\1/
30211 /^X\(\/\/\)$/{
30212 s//\1/
30215 /^X\(\/\).*/{
30216 s//\1/
30219 s/.*/./; q'`
30220 as_dir=$dirpart/$fdir; as_fn_mkdir_p
30221 # echo "creating $dirpart/$file"
30222 echo '# dummy' > "$dirpart/$file"
30223 done
30224 done
30227 "libtool":C)
30229 # See if we are running on zsh, and set the options which allow our
30230 # commands through without removal of \ escapes.
30231 if test -n "${ZSH_VERSION+set}" ; then
30232 setopt NO_GLOB_SUBST
30235 cfgfile="${ofile}T"
30236 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30237 $RM "$cfgfile"
30239 cat <<_LT_EOF >> "$cfgfile"
30240 #! $SHELL
30242 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30243 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
30244 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30245 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30247 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30248 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
30249 # Written by Gordon Matzigkeit, 1996
30251 # This file is part of GNU Libtool.
30253 # GNU Libtool is free software; you can redistribute it and/or
30254 # modify it under the terms of the GNU General Public License as
30255 # published by the Free Software Foundation; either version 2 of
30256 # the License, or (at your option) any later version.
30258 # As a special exception to the GNU General Public License,
30259 # if you distribute this file as part of a program or library that
30260 # is built using GNU Libtool, you may include this file under the
30261 # same distribution terms that you use for the rest of that program.
30263 # GNU Libtool is distributed in the hope that it will be useful,
30264 # but WITHOUT ANY WARRANTY; without even the implied warranty of
30265 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30266 # GNU General Public License for more details.
30268 # You should have received a copy of the GNU General Public License
30269 # along with GNU Libtool; see the file COPYING. If not, a copy
30270 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
30271 # obtained by writing to the Free Software Foundation, Inc.,
30272 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
30275 # The names of the tagged configurations supported by this script.
30276 available_tags="FC "
30278 # ### BEGIN LIBTOOL CONFIG
30280 # A sed program that does not truncate output.
30281 SED=$lt_SED
30283 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30284 Xsed="\$SED -e 1s/^X//"
30286 # A grep program that handles long lines.
30287 GREP=$lt_GREP
30289 # An ERE matcher.
30290 EGREP=$lt_EGREP
30292 # A literal string matcher.
30293 FGREP=$lt_FGREP
30295 # Shell to use when invoking shell scripts.
30296 SHELL=$lt_SHELL
30298 # An echo program that protects backslashes.
30299 ECHO=$lt_ECHO
30301 # Which release of libtool.m4 was used?
30302 macro_version=$macro_version
30303 macro_revision=$macro_revision
30305 # Whether or not to build shared libraries.
30306 build_libtool_libs=$enable_shared
30308 # Whether or not to build static libraries.
30309 build_old_libs=$enable_static
30311 # What type of objects to build.
30312 pic_mode=$pic_mode
30314 # Whether or not to optimize for fast installation.
30315 fast_install=$enable_fast_install
30317 # The host system.
30318 host_alias=$host_alias
30319 host=$host
30320 host_os=$host_os
30322 # The build system.
30323 build_alias=$build_alias
30324 build=$build
30325 build_os=$build_os
30327 # A BSD- or MS-compatible name lister.
30328 NM=$lt_NM
30330 # Whether we need soft or hard links.
30331 LN_S=$lt_LN_S
30333 # What is the maximum length of a command?
30334 max_cmd_len=$max_cmd_len
30336 # Object file suffix (normally "o").
30337 objext=$ac_objext
30339 # Executable file suffix (normally "").
30340 exeext=$exeext
30342 # whether the shell understands "unset".
30343 lt_unset=$lt_unset
30345 # turn spaces into newlines.
30346 SP2NL=$lt_lt_SP2NL
30348 # turn newlines into spaces.
30349 NL2SP=$lt_lt_NL2SP
30351 # An object symbol dumper.
30352 OBJDUMP=$lt_OBJDUMP
30354 # Method to check whether dependent libraries are shared objects.
30355 deplibs_check_method=$lt_deplibs_check_method
30357 # Command to use when deplibs_check_method == "file_magic".
30358 file_magic_cmd=$lt_file_magic_cmd
30360 # The archiver.
30361 AR=$lt_AR
30362 AR_FLAGS=$lt_AR_FLAGS
30364 # A symbol stripping program.
30365 STRIP=$lt_STRIP
30367 # Commands used to install an old-style archive.
30368 RANLIB=$lt_RANLIB
30369 old_postinstall_cmds=$lt_old_postinstall_cmds
30370 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30372 # Whether to use a lock for old archive extraction.
30373 lock_old_archive_extraction=$lock_old_archive_extraction
30375 # A C compiler.
30376 LTCC=$lt_CC
30378 # LTCC compiler flags.
30379 LTCFLAGS=$lt_CFLAGS
30381 # Take the output of nm and produce a listing of raw symbols and C names.
30382 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30384 # Transform the output of nm in a proper C declaration.
30385 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30387 # Transform the output of nm in a C name address pair.
30388 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30390 # Transform the output of nm in a C name address pair when lib prefix is needed.
30391 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
30393 # The name of the directory that contains temporary libtool files.
30394 objdir=$objdir
30396 # Used to examine libraries when file_magic_cmd begins with "file".
30397 MAGIC_CMD=$MAGIC_CMD
30399 # Must we lock files when doing compilation?
30400 need_locks=$lt_need_locks
30402 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
30403 DSYMUTIL=$lt_DSYMUTIL
30405 # Tool to change global to local symbols on Mac OS X.
30406 NMEDIT=$lt_NMEDIT
30408 # Tool to manipulate fat objects and archives on Mac OS X.
30409 LIPO=$lt_LIPO
30411 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
30412 OTOOL=$lt_OTOOL
30414 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
30415 OTOOL64=$lt_OTOOL64
30417 # Old archive suffix (normally "a").
30418 libext=$libext
30420 # Shared library suffix (normally ".so").
30421 shrext_cmds=$lt_shrext_cmds
30423 # The commands to extract the exported symbol list from a shared archive.
30424 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30426 # Variables whose values should be saved in libtool wrapper scripts and
30427 # restored at link time.
30428 variables_saved_for_relink=$lt_variables_saved_for_relink
30430 # Do we need the "lib" prefix for modules?
30431 need_lib_prefix=$need_lib_prefix
30433 # Do we need a version for libraries?
30434 need_version=$need_version
30436 # Library versioning type.
30437 version_type=$version_type
30439 # Shared library runtime path variable.
30440 runpath_var=$runpath_var
30442 # Shared library path variable.
30443 shlibpath_var=$shlibpath_var
30445 # Is shlibpath searched before the hard-coded library search path?
30446 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30448 # Format of library name prefix.
30449 libname_spec=$lt_libname_spec
30451 # List of archive names. First name is the real one, the rest are links.
30452 # The last name is the one that the linker finds with -lNAME
30453 library_names_spec=$lt_library_names_spec
30455 # The coded name of the library, if different from the real name.
30456 soname_spec=$lt_soname_spec
30458 # Permission mode override for installation of shared libraries.
30459 install_override_mode=$lt_install_override_mode
30461 # Command to use after installation of a shared archive.
30462 postinstall_cmds=$lt_postinstall_cmds
30464 # Command to use after uninstallation of a shared archive.
30465 postuninstall_cmds=$lt_postuninstall_cmds
30467 # Commands used to finish a libtool library installation in a directory.
30468 finish_cmds=$lt_finish_cmds
30470 # As "finish_cmds", except a single script fragment to be evaled but
30471 # not shown.
30472 finish_eval=$lt_finish_eval
30474 # Whether we should hardcode library paths into libraries.
30475 hardcode_into_libs=$hardcode_into_libs
30477 # Compile-time system search path for libraries.
30478 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30480 # Run-time system search path for libraries.
30481 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30483 # Whether dlopen is supported.
30484 dlopen_support=$enable_dlopen
30486 # Whether dlopen of programs is supported.
30487 dlopen_self=$enable_dlopen_self
30489 # Whether dlopen of statically linked programs is supported.
30490 dlopen_self_static=$enable_dlopen_self_static
30492 # Commands to strip libraries.
30493 old_striplib=$lt_old_striplib
30494 striplib=$lt_striplib
30497 # The linker used to build libraries.
30498 LD=$lt_LD
30500 # How to create reloadable object files.
30501 reload_flag=$lt_reload_flag
30502 reload_cmds=$lt_reload_cmds
30504 # Commands used to build an old-style archive.
30505 old_archive_cmds=$lt_old_archive_cmds
30507 # A language specific compiler.
30508 CC=$lt_compiler
30510 # Is the compiler the GNU compiler?
30511 with_gcc=$GCC
30513 # Compiler flag to turn off builtin functions.
30514 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30516 # How to pass a linker flag through the compiler.
30517 wl=$lt_lt_prog_compiler_wl
30519 # Additional compiler flags for building library objects.
30520 pic_flag=$lt_lt_prog_compiler_pic
30522 # Compiler flag to prevent dynamic linking.
30523 link_static_flag=$lt_lt_prog_compiler_static
30525 # Does compiler simultaneously support -c and -o options?
30526 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30528 # Whether or not to add -lc for building shared libraries.
30529 build_libtool_need_lc=$archive_cmds_need_lc
30531 # Whether or not to disallow shared libs when runtime libs are static.
30532 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30534 # Compiler flag to allow reflexive dlopens.
30535 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30537 # Compiler flag to generate shared objects directly from archives.
30538 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30540 # Whether the compiler copes with passing no objects directly.
30541 compiler_needs_object=$lt_compiler_needs_object
30543 # Create an old-style archive from a shared archive.
30544 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30546 # Create a temporary old-style archive to link instead of a shared archive.
30547 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30549 # Commands used to build a shared archive.
30550 archive_cmds=$lt_archive_cmds
30551 archive_expsym_cmds=$lt_archive_expsym_cmds
30553 # Commands used to build a loadable module if different from building
30554 # a shared archive.
30555 module_cmds=$lt_module_cmds
30556 module_expsym_cmds=$lt_module_expsym_cmds
30558 # Whether we are building with GNU ld or not.
30559 with_gnu_ld=$lt_with_gnu_ld
30561 # Flag that allows shared libraries with undefined symbols to be built.
30562 allow_undefined_flag=$lt_allow_undefined_flag
30564 # Flag that enforces no undefined symbols.
30565 no_undefined_flag=$lt_no_undefined_flag
30567 # Flag to hardcode \$libdir into a binary during linking.
30568 # This must work even if \$libdir does not exist
30569 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30571 # If ld is used when linking, flag to hardcode \$libdir into a binary
30572 # during linking. This must work even if \$libdir does not exist.
30573 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30575 # Whether we need a single "-rpath" flag with a separated argument.
30576 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30578 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30579 # DIR into the resulting binary.
30580 hardcode_direct=$hardcode_direct
30582 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30583 # DIR into the resulting binary and the resulting library dependency is
30584 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30585 # library is relocated.
30586 hardcode_direct_absolute=$hardcode_direct_absolute
30588 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30589 # into the resulting binary.
30590 hardcode_minus_L=$hardcode_minus_L
30592 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30593 # into the resulting binary.
30594 hardcode_shlibpath_var=$hardcode_shlibpath_var
30596 # Set to "yes" if building a shared library automatically hardcodes DIR
30597 # into the library and all subsequent libraries and executables linked
30598 # against it.
30599 hardcode_automatic=$hardcode_automatic
30601 # Set to yes if linker adds runtime paths of dependent libraries
30602 # to runtime path list.
30603 inherit_rpath=$inherit_rpath
30605 # Whether libtool must link a program against all its dependency libraries.
30606 link_all_deplibs=$link_all_deplibs
30608 # Fix the shell variable \$srcfile for the compiler.
30609 fix_srcfile_path=$lt_fix_srcfile_path
30611 # Set to "yes" if exported symbols are required.
30612 always_export_symbols=$always_export_symbols
30614 # The commands to list exported symbols.
30615 export_symbols_cmds=$lt_export_symbols_cmds
30617 # Symbols that should not be listed in the preloaded symbols.
30618 exclude_expsyms=$lt_exclude_expsyms
30620 # Symbols that must always be exported.
30621 include_expsyms=$lt_include_expsyms
30623 # Commands necessary for linking programs (against libraries) with templates.
30624 prelink_cmds=$lt_prelink_cmds
30626 # Specify filename containing input files.
30627 file_list_spec=$lt_file_list_spec
30629 # How to hardcode a shared library path into an executable.
30630 hardcode_action=$hardcode_action
30632 # The directories searched by this compiler when creating a shared library.
30633 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
30635 # Dependencies to place before and after the objects being linked to
30636 # create a shared library.
30637 predep_objects=$lt_predep_objects
30638 postdep_objects=$lt_postdep_objects
30639 predeps=$lt_predeps
30640 postdeps=$lt_postdeps
30642 # The library search path used internally by the compiler when linking
30643 # a shared library.
30644 compiler_lib_search_path=$lt_compiler_lib_search_path
30646 # ### END LIBTOOL CONFIG
30648 _LT_EOF
30650 case $host_os in
30651 aix3*)
30652 cat <<\_LT_EOF >> "$cfgfile"
30653 # AIX sometimes has problems with the GCC collect2 program. For some
30654 # reason, if we set the COLLECT_NAMES environment variable, the problems
30655 # vanish in a puff of smoke.
30656 if test "X${COLLECT_NAMES+set}" != Xset; then
30657 COLLECT_NAMES=
30658 export COLLECT_NAMES
30660 _LT_EOF
30662 esac
30665 ltmain="$ac_aux_dir/ltmain.sh"
30668 # We use sed instead of cat because bash on DJGPP gets confused if
30669 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30670 # text mode, it properly converts lines to CR/LF. This bash problem
30671 # is reportedly fixed, but why not run on old versions too?
30672 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
30673 || (rm -f "$cfgfile"; exit 1)
30675 case $xsi_shell in
30676 yes)
30677 cat << \_LT_EOF >> "$cfgfile"
30679 # func_dirname file append nondir_replacement
30680 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30681 # otherwise set result to NONDIR_REPLACEMENT.
30682 func_dirname ()
30684 case ${1} in
30685 */*) func_dirname_result="${1%/*}${2}" ;;
30686 * ) func_dirname_result="${3}" ;;
30687 esac
30690 # func_basename file
30691 func_basename ()
30693 func_basename_result="${1##*/}"
30696 # func_dirname_and_basename file append nondir_replacement
30697 # perform func_basename and func_dirname in a single function
30698 # call:
30699 # dirname: Compute the dirname of FILE. If nonempty,
30700 # add APPEND to the result, otherwise set result
30701 # to NONDIR_REPLACEMENT.
30702 # value returned in "$func_dirname_result"
30703 # basename: Compute filename of FILE.
30704 # value retuned in "$func_basename_result"
30705 # Implementation must be kept synchronized with func_dirname
30706 # and func_basename. For efficiency, we do not delegate to
30707 # those functions but instead duplicate the functionality here.
30708 func_dirname_and_basename ()
30710 case ${1} in
30711 */*) func_dirname_result="${1%/*}${2}" ;;
30712 * ) func_dirname_result="${3}" ;;
30713 esac
30714 func_basename_result="${1##*/}"
30717 # func_stripname prefix suffix name
30718 # strip PREFIX and SUFFIX off of NAME.
30719 # PREFIX and SUFFIX must not contain globbing or regex special
30720 # characters, hashes, percent signs, but SUFFIX may contain a leading
30721 # dot (in which case that matches only a dot).
30722 func_stripname ()
30724 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
30725 # positional parameters, so assign one to ordinary parameter first.
30726 func_stripname_result=${3}
30727 func_stripname_result=${func_stripname_result#"${1}"}
30728 func_stripname_result=${func_stripname_result%"${2}"}
30731 # func_opt_split
30732 func_opt_split ()
30734 func_opt_split_opt=${1%%=*}
30735 func_opt_split_arg=${1#*=}
30738 # func_lo2o object
30739 func_lo2o ()
30741 case ${1} in
30742 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
30743 *) func_lo2o_result=${1} ;;
30744 esac
30747 # func_xform libobj-or-source
30748 func_xform ()
30750 func_xform_result=${1%.*}.lo
30753 # func_arith arithmetic-term...
30754 func_arith ()
30756 func_arith_result=$(( $* ))
30759 # func_len string
30760 # STRING may not start with a hyphen.
30761 func_len ()
30763 func_len_result=${#1}
30766 _LT_EOF
30768 *) # Bourne compatible functions.
30769 cat << \_LT_EOF >> "$cfgfile"
30771 # func_dirname file append nondir_replacement
30772 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30773 # otherwise set result to NONDIR_REPLACEMENT.
30774 func_dirname ()
30776 # Extract subdirectory from the argument.
30777 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
30778 if test "X$func_dirname_result" = "X${1}"; then
30779 func_dirname_result="${3}"
30780 else
30781 func_dirname_result="$func_dirname_result${2}"
30785 # func_basename file
30786 func_basename ()
30788 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
30792 # func_stripname prefix suffix name
30793 # strip PREFIX and SUFFIX off of NAME.
30794 # PREFIX and SUFFIX must not contain globbing or regex special
30795 # characters, hashes, percent signs, but SUFFIX may contain a leading
30796 # dot (in which case that matches only a dot).
30797 # func_strip_suffix prefix name
30798 func_stripname ()
30800 case ${2} in
30801 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
30802 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
30803 esac
30806 # sed scripts:
30807 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
30808 my_sed_long_arg='1s/^-[^=]*=//'
30810 # func_opt_split
30811 func_opt_split ()
30813 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
30814 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
30817 # func_lo2o object
30818 func_lo2o ()
30820 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
30823 # func_xform libobj-or-source
30824 func_xform ()
30826 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
30829 # func_arith arithmetic-term...
30830 func_arith ()
30832 func_arith_result=`expr "$@"`
30835 # func_len string
30836 # STRING may not start with a hyphen.
30837 func_len ()
30839 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
30842 _LT_EOF
30843 esac
30845 case $lt_shell_append in
30846 yes)
30847 cat << \_LT_EOF >> "$cfgfile"
30849 # func_append var value
30850 # Append VALUE to the end of shell variable VAR.
30851 func_append ()
30853 eval "$1+=\$2"
30855 _LT_EOF
30858 cat << \_LT_EOF >> "$cfgfile"
30860 # func_append var value
30861 # Append VALUE to the end of shell variable VAR.
30862 func_append ()
30864 eval "$1=\$$1\$2"
30867 _LT_EOF
30869 esac
30872 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
30873 || (rm -f "$cfgfile"; exit 1)
30875 mv -f "$cfgfile" "$ofile" ||
30876 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30877 chmod +x "$ofile"
30880 cat <<_LT_EOF >> "$ofile"
30882 # ### BEGIN LIBTOOL TAG CONFIG: FC
30884 # The linker used to build libraries.
30885 LD=$lt_LD_FC
30887 # How to create reloadable object files.
30888 reload_flag=$lt_reload_flag_FC
30889 reload_cmds=$lt_reload_cmds_FC
30891 # Commands used to build an old-style archive.
30892 old_archive_cmds=$lt_old_archive_cmds_FC
30894 # A language specific compiler.
30895 CC=$lt_compiler_FC
30897 # Is the compiler the GNU compiler?
30898 with_gcc=$GCC_FC
30900 # Compiler flag to turn off builtin functions.
30901 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
30903 # How to pass a linker flag through the compiler.
30904 wl=$lt_lt_prog_compiler_wl_FC
30906 # Additional compiler flags for building library objects.
30907 pic_flag=$lt_lt_prog_compiler_pic_FC
30909 # Compiler flag to prevent dynamic linking.
30910 link_static_flag=$lt_lt_prog_compiler_static_FC
30912 # Does compiler simultaneously support -c and -o options?
30913 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
30915 # Whether or not to add -lc for building shared libraries.
30916 build_libtool_need_lc=$archive_cmds_need_lc_FC
30918 # Whether or not to disallow shared libs when runtime libs are static.
30919 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
30921 # Compiler flag to allow reflexive dlopens.
30922 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
30924 # Compiler flag to generate shared objects directly from archives.
30925 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
30927 # Whether the compiler copes with passing no objects directly.
30928 compiler_needs_object=$lt_compiler_needs_object_FC
30930 # Create an old-style archive from a shared archive.
30931 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
30933 # Create a temporary old-style archive to link instead of a shared archive.
30934 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
30936 # Commands used to build a shared archive.
30937 archive_cmds=$lt_archive_cmds_FC
30938 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
30940 # Commands used to build a loadable module if different from building
30941 # a shared archive.
30942 module_cmds=$lt_module_cmds_FC
30943 module_expsym_cmds=$lt_module_expsym_cmds_FC
30945 # Whether we are building with GNU ld or not.
30946 with_gnu_ld=$lt_with_gnu_ld_FC
30948 # Flag that allows shared libraries with undefined symbols to be built.
30949 allow_undefined_flag=$lt_allow_undefined_flag_FC
30951 # Flag that enforces no undefined symbols.
30952 no_undefined_flag=$lt_no_undefined_flag_FC
30954 # Flag to hardcode \$libdir into a binary during linking.
30955 # This must work even if \$libdir does not exist
30956 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
30958 # If ld is used when linking, flag to hardcode \$libdir into a binary
30959 # during linking. This must work even if \$libdir does not exist.
30960 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
30962 # Whether we need a single "-rpath" flag with a separated argument.
30963 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
30965 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30966 # DIR into the resulting binary.
30967 hardcode_direct=$hardcode_direct_FC
30969 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30970 # DIR into the resulting binary and the resulting library dependency is
30971 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30972 # library is relocated.
30973 hardcode_direct_absolute=$hardcode_direct_absolute_FC
30975 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30976 # into the resulting binary.
30977 hardcode_minus_L=$hardcode_minus_L_FC
30979 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30980 # into the resulting binary.
30981 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
30983 # Set to "yes" if building a shared library automatically hardcodes DIR
30984 # into the library and all subsequent libraries and executables linked
30985 # against it.
30986 hardcode_automatic=$hardcode_automatic_FC
30988 # Set to yes if linker adds runtime paths of dependent libraries
30989 # to runtime path list.
30990 inherit_rpath=$inherit_rpath_FC
30992 # Whether libtool must link a program against all its dependency libraries.
30993 link_all_deplibs=$link_all_deplibs_FC
30995 # Fix the shell variable \$srcfile for the compiler.
30996 fix_srcfile_path=$lt_fix_srcfile_path_FC
30998 # Set to "yes" if exported symbols are required.
30999 always_export_symbols=$always_export_symbols_FC
31001 # The commands to list exported symbols.
31002 export_symbols_cmds=$lt_export_symbols_cmds_FC
31004 # Symbols that should not be listed in the preloaded symbols.
31005 exclude_expsyms=$lt_exclude_expsyms_FC
31007 # Symbols that must always be exported.
31008 include_expsyms=$lt_include_expsyms_FC
31010 # Commands necessary for linking programs (against libraries) with templates.
31011 prelink_cmds=$lt_prelink_cmds_FC
31013 # Specify filename containing input files.
31014 file_list_spec=$lt_file_list_spec_FC
31016 # How to hardcode a shared library path into an executable.
31017 hardcode_action=$hardcode_action_FC
31019 # The directories searched by this compiler when creating a shared library.
31020 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
31022 # Dependencies to place before and after the objects being linked to
31023 # create a shared library.
31024 predep_objects=$lt_predep_objects_FC
31025 postdep_objects=$lt_postdep_objects_FC
31026 predeps=$lt_predeps_FC
31027 postdeps=$lt_postdeps_FC
31029 # The library search path used internally by the compiler when linking
31030 # a shared library.
31031 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
31033 # ### END LIBTOOL TAG CONFIG: FC
31034 _LT_EOF
31037 "gstdint.h":C)
31038 if test "$GCC" = yes; then
31039 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
31040 else
31041 echo "/* generated for $CC */" > tmp-stdint.h
31044 sed 's/^ *//' >> tmp-stdint.h <<EOF
31046 #ifndef GCC_GENERATED_STDINT_H
31047 #define GCC_GENERATED_STDINT_H 1
31049 #include <sys/types.h>
31052 if test "$acx_cv_header_stdint" != stdint.h; then
31053 echo "#include <stddef.h>" >> tmp-stdint.h
31055 if test "$acx_cv_header_stdint" != stddef.h; then
31056 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
31059 sed 's/^ *//' >> tmp-stdint.h <<EOF
31060 /* glibc uses these symbols as guards to prevent redefinitions. */
31061 #ifdef __int8_t_defined
31062 #define _INT8_T
31063 #define _INT16_T
31064 #define _INT32_T
31065 #endif
31066 #ifdef __uint32_t_defined
31067 #define _UINT32_T
31068 #endif
31072 # ----------------- done header, emit basic int types -------------
31073 if test "$acx_cv_header_stdint" = stddef.h; then
31074 sed 's/^ *//' >> tmp-stdint.h <<EOF
31076 #ifndef _UINT8_T
31077 #define _UINT8_T
31078 #ifndef __uint8_t_defined
31079 #define __uint8_t_defined
31080 #ifndef uint8_t
31081 typedef unsigned $acx_cv_type_int8_t uint8_t;
31082 #endif
31083 #endif
31084 #endif
31086 #ifndef _UINT16_T
31087 #define _UINT16_T
31088 #ifndef __uint16_t_defined
31089 #define __uint16_t_defined
31090 #ifndef uint16_t
31091 typedef unsigned $acx_cv_type_int16_t uint16_t;
31092 #endif
31093 #endif
31094 #endif
31096 #ifndef _UINT32_T
31097 #define _UINT32_T
31098 #ifndef __uint32_t_defined
31099 #define __uint32_t_defined
31100 #ifndef uint32_t
31101 typedef unsigned $acx_cv_type_int32_t uint32_t;
31102 #endif
31103 #endif
31104 #endif
31106 #ifndef _INT8_T
31107 #define _INT8_T
31108 #ifndef __int8_t_defined
31109 #define __int8_t_defined
31110 #ifndef int8_t
31111 typedef $acx_cv_type_int8_t int8_t;
31112 #endif
31113 #endif
31114 #endif
31116 #ifndef _INT16_T
31117 #define _INT16_T
31118 #ifndef __int16_t_defined
31119 #define __int16_t_defined
31120 #ifndef int16_t
31121 typedef $acx_cv_type_int16_t int16_t;
31122 #endif
31123 #endif
31124 #endif
31126 #ifndef _INT32_T
31127 #define _INT32_T
31128 #ifndef __int32_t_defined
31129 #define __int32_t_defined
31130 #ifndef int32_t
31131 typedef $acx_cv_type_int32_t int32_t;
31132 #endif
31133 #endif
31134 #endif
31136 elif test "$ac_cv_type_u_int32_t" = yes; then
31137 sed 's/^ *//' >> tmp-stdint.h <<EOF
31139 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
31140 #ifndef _INT8_T
31141 #define _INT8_T
31142 #endif
31143 #ifndef _INT16_T
31144 #define _INT16_T
31145 #endif
31146 #ifndef _INT32_T
31147 #define _INT32_T
31148 #endif
31150 #ifndef _UINT8_T
31151 #define _UINT8_T
31152 #ifndef __uint8_t_defined
31153 #define __uint8_t_defined
31154 #ifndef uint8_t
31155 typedef u_int8_t uint8_t;
31156 #endif
31157 #endif
31158 #endif
31160 #ifndef _UINT16_T
31161 #define _UINT16_T
31162 #ifndef __uint16_t_defined
31163 #define __uint16_t_defined
31164 #ifndef uint16_t
31165 typedef u_int16_t uint16_t;
31166 #endif
31167 #endif
31168 #endif
31170 #ifndef _UINT32_T
31171 #define _UINT32_T
31172 #ifndef __uint32_t_defined
31173 #define __uint32_t_defined
31174 #ifndef uint32_t
31175 typedef u_int32_t uint32_t;
31176 #endif
31177 #endif
31178 #endif
31180 else
31181 sed 's/^ *//' >> tmp-stdint.h <<EOF
31183 /* Some systems have guard macros to prevent redefinitions, define them. */
31184 #ifndef _INT8_T
31185 #define _INT8_T
31186 #endif
31187 #ifndef _INT16_T
31188 #define _INT16_T
31189 #endif
31190 #ifndef _INT32_T
31191 #define _INT32_T
31192 #endif
31193 #ifndef _UINT8_T
31194 #define _UINT8_T
31195 #endif
31196 #ifndef _UINT16_T
31197 #define _UINT16_T
31198 #endif
31199 #ifndef _UINT32_T
31200 #define _UINT32_T
31201 #endif
31205 # ------------- done basic int types, emit int64_t types ------------
31206 if test "$ac_cv_type_uint64_t" = yes; then
31207 sed 's/^ *//' >> tmp-stdint.h <<EOF
31209 /* system headers have good uint64_t and int64_t */
31210 #ifndef _INT64_T
31211 #define _INT64_T
31212 #endif
31213 #ifndef _UINT64_T
31214 #define _UINT64_T
31215 #endif
31217 elif test "$ac_cv_type_u_int64_t" = yes; then
31218 sed 's/^ *//' >> tmp-stdint.h <<EOF
31220 /* system headers have an u_int64_t (and int64_t) */
31221 #ifndef _INT64_T
31222 #define _INT64_T
31223 #endif
31224 #ifndef _UINT64_T
31225 #define _UINT64_T
31226 #ifndef __uint64_t_defined
31227 #define __uint64_t_defined
31228 #ifndef uint64_t
31229 typedef u_int64_t uint64_t;
31230 #endif
31231 #endif
31232 #endif
31234 elif test -n "$acx_cv_type_int64_t"; then
31235 sed 's/^ *//' >> tmp-stdint.h <<EOF
31237 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
31238 #ifndef _INT64_T
31239 #define _INT64_T
31240 #ifndef int64_t
31241 typedef $acx_cv_type_int64_t int64_t;
31242 #endif
31243 #endif
31244 #ifndef _UINT64_T
31245 #define _UINT64_T
31246 #ifndef __uint64_t_defined
31247 #define __uint64_t_defined
31248 #ifndef uint64_t
31249 typedef unsigned $acx_cv_type_int64_t uint64_t;
31250 #endif
31251 #endif
31252 #endif
31254 else
31255 sed 's/^ *//' >> tmp-stdint.h <<EOF
31257 /* some common heuristics for int64_t, using compiler-specific tests */
31258 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
31259 #ifndef _INT64_T
31260 #define _INT64_T
31261 #ifndef __int64_t_defined
31262 #ifndef int64_t
31263 typedef long long int64_t;
31264 #endif
31265 #endif
31266 #endif
31267 #ifndef _UINT64_T
31268 #define _UINT64_T
31269 #ifndef uint64_t
31270 typedef unsigned long long uint64_t;
31271 #endif
31272 #endif
31274 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
31275 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
31276 does not implement __extension__. But that compiler doesn't define
31277 __GNUC_MINOR__. */
31278 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
31279 # define __extension__
31280 # endif
31282 # ifndef _INT64_T
31283 # define _INT64_T
31284 # ifndef int64_t
31285 __extension__ typedef long long int64_t;
31286 # endif
31287 # endif
31288 # ifndef _UINT64_T
31289 # define _UINT64_T
31290 # ifndef uint64_t
31291 __extension__ typedef unsigned long long uint64_t;
31292 # endif
31293 # endif
31295 #elif !defined __STRICT_ANSI__
31296 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
31298 # ifndef _INT64_T
31299 # define _INT64_T
31300 # ifndef int64_t
31301 typedef __int64 int64_t;
31302 # endif
31303 # endif
31304 # ifndef _UINT64_T
31305 # define _UINT64_T
31306 # ifndef uint64_t
31307 typedef unsigned __int64 uint64_t;
31308 # endif
31309 # endif
31310 # endif /* compiler */
31312 #endif /* ANSI version */
31316 # ------------- done int64_t types, emit intptr types ------------
31317 if test "$ac_cv_type_uintptr_t" != yes; then
31318 sed 's/^ *//' >> tmp-stdint.h <<EOF
31320 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
31321 #ifndef __uintptr_t_defined
31322 #ifndef uintptr_t
31323 typedef u$acx_cv_type_intptr_t uintptr_t;
31324 #endif
31325 #endif
31326 #ifndef __intptr_t_defined
31327 #ifndef intptr_t
31328 typedef $acx_cv_type_intptr_t intptr_t;
31329 #endif
31330 #endif
31334 # ------------- done intptr types, emit int_least types ------------
31335 if test "$ac_cv_type_int_least32_t" != yes; then
31336 sed 's/^ *//' >> tmp-stdint.h <<EOF
31338 /* Define int_least types */
31339 typedef int8_t int_least8_t;
31340 typedef int16_t int_least16_t;
31341 typedef int32_t int_least32_t;
31342 #ifdef _INT64_T
31343 typedef int64_t int_least64_t;
31344 #endif
31346 typedef uint8_t uint_least8_t;
31347 typedef uint16_t uint_least16_t;
31348 typedef uint32_t uint_least32_t;
31349 #ifdef _UINT64_T
31350 typedef uint64_t uint_least64_t;
31351 #endif
31355 # ------------- done intptr types, emit int_fast types ------------
31356 if test "$ac_cv_type_int_fast32_t" != yes; then
31357 sed 's/^ *//' >> tmp-stdint.h <<EOF
31359 /* Define int_fast types. short is often slow */
31360 typedef int8_t int_fast8_t;
31361 typedef int int_fast16_t;
31362 typedef int32_t int_fast32_t;
31363 #ifdef _INT64_T
31364 typedef int64_t int_fast64_t;
31365 #endif
31367 typedef uint8_t uint_fast8_t;
31368 typedef unsigned int uint_fast16_t;
31369 typedef uint32_t uint_fast32_t;
31370 #ifdef _UINT64_T
31371 typedef uint64_t uint_fast64_t;
31372 #endif
31376 if test "$ac_cv_type_uintmax_t" != yes; then
31377 sed 's/^ *//' >> tmp-stdint.h <<EOF
31379 /* Define intmax based on what we found */
31380 #ifndef intmax_t
31381 #ifdef _INT64_T
31382 typedef int64_t intmax_t;
31383 #else
31384 typedef long intmax_t;
31385 #endif
31386 #endif
31387 #ifndef uintmax_t
31388 #ifdef _UINT64_T
31389 typedef uint64_t uintmax_t;
31390 #else
31391 typedef unsigned long uintmax_t;
31392 #endif
31393 #endif
31397 sed 's/^ *//' >> tmp-stdint.h <<EOF
31399 #endif /* GCC_GENERATED_STDINT_H */
31402 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
31403 rm -f tmp-stdint.h
31404 else
31405 mv -f tmp-stdint.h gstdint.h
31410 esac
31411 done # for ac_tag
31414 as_fn_exit 0
31415 _ACEOF
31416 ac_clean_files=$ac_clean_files_save
31418 test $ac_write_fail = 0 ||
31419 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
31422 # configure is writing to config.log, and then calls config.status.
31423 # config.status does its own redirection, appending to config.log.
31424 # Unfortunately, on DOS this fails, as config.log is still kept open
31425 # by configure, so config.status won't be able to write to it; its
31426 # output is simply discarded. So we exec the FD to /dev/null,
31427 # effectively closing config.log, so it can be properly (re)opened and
31428 # appended to by config.status. When coming back to configure, we
31429 # need to make the FD available again.
31430 if test "$no_create" != yes; then
31431 ac_cs_success=:
31432 ac_config_status_args=
31433 test "$silent" = yes &&
31434 ac_config_status_args="$ac_config_status_args --quiet"
31435 exec 5>/dev/null
31436 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
31437 exec 5>>config.log
31438 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31439 # would make configure fail if this is the last instruction.
31440 $ac_cs_success || as_fn_exit 1
31442 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
31444 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}