]> git.ipfire.org Git - thirdparty/gcc.git/blame_incremental - libgfortran/configure
Fix some auto-profile issues
[thirdparty/gcc.git] / libgfortran / configure
... / ...
CommitLineData
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.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
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## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if 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
24else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_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.
43if 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 --'
47elif (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'
50else
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"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if 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=';'
78 }
79fi
80
81
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.)
87IFS=" "" $as_nl"
88
89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
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
100IFS=$as_save_IFS
101
102 ;;
103esac
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.
106if test "x$as_myself" = x; then
107 as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112fi
113
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.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
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.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $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
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160if 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
168else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174esac
175fi
176"
177 as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191 exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -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
199test \$(( 1 + 1 )) = 2 || exit 1
200
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
210else
211 as_have_required=no
212fi
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
224 /*)
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
233fi
234fi
235 done;;
236 esac
237 as_found=false
238done
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
242fi; }
243IFS=$as_save_IFS
244
245
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.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260esac
261exec $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
265exit 255
266fi
267
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."
279 fi
280 exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298 { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307 return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315 set +e
316 as_fn_set_status $1
317 exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
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/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
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"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
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.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386else
387 as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 }
391fi # as_fn_append
392
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.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
400 {
401 as_val=$(( $* ))
402 }'
403else
404 as_fn_arith ()
405 {
406 as_val=`expr "$@" || test $? -eq 1`
407 }
408fi # as_fn_arith
409
410
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.
416as_fn_error ()
417{
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
422 fi
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430else
431 as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436else
437 as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442else
443 as_dirname=false
444fi
445
446as_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/
453 q
454 }
455 /^X\/\(\/\/\)$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\).*/{
460 s//\1/
461 q
462 }
463 s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
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 '
479 p
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
485 b
486 :lineno
487 N
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; }
495
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
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `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;;
517*)
518 ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
527fi
528if (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'
541 fi
542else
543 as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
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.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='GNU Fortran Runtime Library'
589PACKAGE_TARNAME='libgfortran'
590PACKAGE_VERSION='0.3'
591PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
594
595# Factoring default headers for most tests.
596ac_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"
630
631ac_header_list=
632ac_func_list=
633ac_c_werror_flag=
634ac_c_werror_flag=
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639get_gcc_base_ver
640HAVE_AVX128_FALSE
641HAVE_AVX128_TRUE
642tmake_file
643IEEE_FLAGS
644IEEE_SUPPORT
645IEEE_SUPPORT_FALSE
646IEEE_SUPPORT_TRUE
647FPU_HOST_HEADER
648USE_IEC_60559
649LIBQUADINCLUDE
650LIBQUADLIB_DEP
651LIBQUADLIB
652LIBQUADSPEC
653extra_ldflags_libgfortran
654ac_ct_FC
655FCFLAGS
656FC
657ENABLE_DARWIN_AT_RPATH_FALSE
658ENABLE_DARWIN_AT_RPATH_TRUE
659enable_static
660enable_shared
661lt_host_flags
662LIBM
663OTOOL64
664OTOOL
665LIPO
666NMEDIT
667DSYMUTIL
668OBJDUMP
669LN_S
670NM
671ac_ct_DUMPBIN
672DUMPBIN
673LIBTOOL
674RANLIB
675AR
676AS
677HAVE_HWCAP_FALSE
678HAVE_HWCAP_TRUE
679HWCAP_LDFLAGS
680LD
681FGREP
682SED
683SECTION_FLAGS
684LIBGOMP_CHECKED_REAL_KINDS
685LIBGOMP_CHECKED_INT_KINDS
686LIBGFOR_MINIMAL_FALSE
687LIBGFOR_MINIMAL_TRUE
688LIBGFOR_USE_SYMVER_SUN_FALSE
689LIBGFOR_USE_SYMVER_SUN_TRUE
690LIBGFOR_USE_SYMVER_GNU_FALSE
691LIBGFOR_USE_SYMVER_GNU_TRUE
692LIBGFOR_USE_SYMVER_FALSE
693LIBGFOR_USE_SYMVER_TRUE
694AM_CFLAGS
695AM_FCFLAGS
696HAVE_REAL_17_FALSE
697HAVE_REAL_17_TRUE
698toolexeclibdir
699toolexecdir
700EGREP
701GREP
702CPP
703am__fastdepCC_FALSE
704am__fastdepCC_TRUE
705CCDEPMODE
706am__nodep
707AMDEPBACKSLASH
708AMDEP_FALSE
709AMDEP_TRUE
710am__quote
711am__include
712DEPDIR
713OBJEXT
714EXEEXT
715ac_ct_CC
716CPPFLAGS
717LDFLAGS
718CFLAGS
719CC
720multi_basedir
721MAINT
722MAINTAINER_MODE_FALSE
723MAINTAINER_MODE_TRUE
724AM_BACKSLASH
725AM_DEFAULT_VERBOSITY
726AM_DEFAULT_V
727AM_V
728am__untar
729am__tar
730AMTAR
731am__leading_dot
732SET_MAKE
733AWK
734mkdir_p
735MKDIR_P
736INSTALL_STRIP_PROGRAM
737STRIP
738install_sh
739MAKEINFO
740AUTOHEADER
741AUTOMAKE
742AUTOCONF
743ACLOCAL
744VERSION
745PACKAGE
746CYGPATH_W
747am__isrc
748INSTALL_DATA
749INSTALL_SCRIPT
750INSTALL_PROGRAM
751target_noncanonical
752target_os
753target_vendor
754target_cpu
755target
756host_os
757host_vendor
758host_cpu
759host
760target_subdir
761host_subdir
762build_subdir
763build_libsubdir
764build_os
765build_vendor
766build_cpu
767build
768target_alias
769host_alias
770build_alias
771LIBS
772ECHO_T
773ECHO_N
774ECHO_C
775DEFS
776mandir
777localedir
778libdir
779psdir
780pdfdir
781dvidir
782htmldir
783infodir
784docdir
785oldincludedir
786includedir
787localstatedir
788sharedstatedir
789sysconfdir
790datadir
791datarootdir
792libexecdir
793sbindir
794bindir
795program_transform_name
796prefix
797exec_prefix
798PACKAGE_URL
799PACKAGE_BUGREPORT
800PACKAGE_STRING
801PACKAGE_VERSION
802PACKAGE_TARNAME
803PACKAGE_NAME
804PATH_SEPARATOR
805SHELL'
806ac_subst_files=''
807ac_user_opts='
808enable_option_checking
809with_build_libsubdir
810enable_version_specific_runtime_libs
811enable_silent_rules
812enable_maintainer_mode
813enable_multilib
814enable_dependency_tracking
815with_toolexeclibdir
816enable_cet
817enable_symvers
818with_gnu_ld
819enable_shared
820enable_static
821with_pic
822enable_fast_install
823enable_libtool_lock
824enable_darwin_at_rpath
825enable_largefile
826enable_libquadmath_support
827with_gcc_major_version_only
828'
829 ac_precious_vars='build_alias
830host_alias
831target_alias
832CC
833CFLAGS
834LDFLAGS
835LIBS
836CPPFLAGS
837CPP
838FC
839FCFLAGS'
840
841
842# Initialize some variables set by options.
843ac_init_help=
844ac_init_version=false
845ac_unrecognized_opts=
846ac_unrecognized_sep=
847# The variables have the same names as the options, with
848# dashes changed to underlines.
849cache_file=/dev/null
850exec_prefix=NONE
851no_create=
852no_recursion=
853prefix=NONE
854program_prefix=NONE
855program_suffix=NONE
856program_transform_name=s,x,x,
857silent=
858site=
859srcdir=
860verbose=
861x_includes=NONE
862x_libraries=NONE
863
864# Installation directory options.
865# These are left unexpanded so users can "make install exec_prefix=/foo"
866# and all the variables that are supposed to be based on exec_prefix
867# by default will actually change.
868# Use braces instead of parens because sh, perl, etc. also accept them.
869# (The list follows the same order as the GNU Coding Standards.)
870bindir='${exec_prefix}/bin'
871sbindir='${exec_prefix}/sbin'
872libexecdir='${exec_prefix}/libexec'
873datarootdir='${prefix}/share'
874datadir='${datarootdir}'
875sysconfdir='${prefix}/etc'
876sharedstatedir='${prefix}/com'
877localstatedir='${prefix}/var'
878includedir='${prefix}/include'
879oldincludedir='/usr/include'
880docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
881infodir='${datarootdir}/info'
882htmldir='${docdir}'
883dvidir='${docdir}'
884pdfdir='${docdir}'
885psdir='${docdir}'
886libdir='${exec_prefix}/lib'
887localedir='${datarootdir}/locale'
888mandir='${datarootdir}/man'
889
890ac_prev=
891ac_dashdash=
892for ac_option
893do
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\$ac_option
897 ac_prev=
898 continue
899 fi
900
901 case $ac_option in
902 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903 *=) ac_optarg= ;;
904 *) ac_optarg=yes ;;
905 esac
906
907 # Accept the important Cygnus configure options, so we can diagnose typos.
908
909 case $ac_dashdash$ac_option in
910 --)
911 ac_dashdash=yes ;;
912
913 -bindir | --bindir | --bindi | --bind | --bin | --bi)
914 ac_prev=bindir ;;
915 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
916 bindir=$ac_optarg ;;
917
918 -build | --build | --buil | --bui | --bu)
919 ac_prev=build_alias ;;
920 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
921 build_alias=$ac_optarg ;;
922
923 -cache-file | --cache-file | --cache-fil | --cache-fi \
924 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
925 ac_prev=cache_file ;;
926 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
927 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
928 cache_file=$ac_optarg ;;
929
930 --config-cache | -C)
931 cache_file=config.cache ;;
932
933 -datadir | --datadir | --datadi | --datad)
934 ac_prev=datadir ;;
935 -datadir=* | --datadir=* | --datadi=* | --datad=*)
936 datadir=$ac_optarg ;;
937
938 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
939 | --dataroo | --dataro | --datar)
940 ac_prev=datarootdir ;;
941 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
942 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
943 datarootdir=$ac_optarg ;;
944
945 -disable-* | --disable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error $? "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
953 *"
954"enable_$ac_useropt"
955"*) ;;
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
958 esac
959 eval enable_$ac_useropt=no ;;
960
961 -docdir | --docdir | --docdi | --doc | --do)
962 ac_prev=docdir ;;
963 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
964 docdir=$ac_optarg ;;
965
966 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 ac_prev=dvidir ;;
968 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
969 dvidir=$ac_optarg ;;
970
971 -enable-* | --enable-*)
972 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 as_fn_error $? "invalid feature name: $ac_useropt"
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
979 *"
980"enable_$ac_useropt"
981"*) ;;
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
984 esac
985 eval enable_$ac_useropt=\$ac_optarg ;;
986
987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989 | --exec | --exe | --ex)
990 ac_prev=exec_prefix ;;
991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993 | --exec=* | --exe=* | --ex=*)
994 exec_prefix=$ac_optarg ;;
995
996 -gas | --gas | --ga | --g)
997 # Obsolete; use --with-gas.
998 with_gas=yes ;;
999
1000 -help | --help | --hel | --he | -h)
1001 ac_init_help=long ;;
1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003 ac_init_help=recursive ;;
1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005 ac_init_help=short ;;
1006
1007 -host | --host | --hos | --ho)
1008 ac_prev=host_alias ;;
1009 -host=* | --host=* | --hos=* | --ho=*)
1010 host_alias=$ac_optarg ;;
1011
1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 ac_prev=htmldir ;;
1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 | --ht=*)
1016 htmldir=$ac_optarg ;;
1017
1018 -includedir | --includedir | --includedi | --included | --include \
1019 | --includ | --inclu | --incl | --inc)
1020 ac_prev=includedir ;;
1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022 | --includ=* | --inclu=* | --incl=* | --inc=*)
1023 includedir=$ac_optarg ;;
1024
1025 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 ac_prev=infodir ;;
1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028 infodir=$ac_optarg ;;
1029
1030 -libdir | --libdir | --libdi | --libd)
1031 ac_prev=libdir ;;
1032 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033 libdir=$ac_optarg ;;
1034
1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036 | --libexe | --libex | --libe)
1037 ac_prev=libexecdir ;;
1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039 | --libexe=* | --libex=* | --libe=*)
1040 libexecdir=$ac_optarg ;;
1041
1042 -localedir | --localedir | --localedi | --localed | --locale)
1043 ac_prev=localedir ;;
1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045 localedir=$ac_optarg ;;
1046
1047 -localstatedir | --localstatedir | --localstatedi | --localstated \
1048 | --localstate | --localstat | --localsta | --localst | --locals)
1049 ac_prev=localstatedir ;;
1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 localstatedir=$ac_optarg ;;
1053
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 ac_prev=mandir ;;
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 mandir=$ac_optarg ;;
1058
1059 -nfp | --nfp | --nf)
1060 # Obsolete; use --without-fp.
1061 with_fp=no ;;
1062
1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064 | --no-cr | --no-c | -n)
1065 no_create=yes ;;
1066
1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1069 no_recursion=yes ;;
1070
1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073 | --oldin | --oldi | --old | --ol | --o)
1074 ac_prev=oldincludedir ;;
1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078 oldincludedir=$ac_optarg ;;
1079
1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 ac_prev=prefix ;;
1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083 prefix=$ac_optarg ;;
1084
1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086 | --program-pre | --program-pr | --program-p)
1087 ac_prev=program_prefix ;;
1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090 program_prefix=$ac_optarg ;;
1091
1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093 | --program-suf | --program-su | --program-s)
1094 ac_prev=program_suffix ;;
1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097 program_suffix=$ac_optarg ;;
1098
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 | --program-transform-n | --program-transform- \
1102 | --program-transform | --program-transfor \
1103 | --program-transfo | --program-transf \
1104 | --program-trans | --program-tran \
1105 | --progr-tra | --program-tr | --program-t)
1106 ac_prev=program_transform_name ;;
1107 -program-transform-name=* | --program-transform-name=* \
1108 | --program-transform-nam=* | --program-transform-na=* \
1109 | --program-transform-n=* | --program-transform-=* \
1110 | --program-transform=* | --program-transfor=* \
1111 | --program-transfo=* | --program-transf=* \
1112 | --program-trans=* | --program-tran=* \
1113 | --progr-tra=* | --program-tr=* | --program-t=*)
1114 program_transform_name=$ac_optarg ;;
1115
1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 ac_prev=pdfdir ;;
1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119 pdfdir=$ac_optarg ;;
1120
1121 -psdir | --psdir | --psdi | --psd | --ps)
1122 ac_prev=psdir ;;
1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1124 psdir=$ac_optarg ;;
1125
1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127 | -silent | --silent | --silen | --sile | --sil)
1128 silent=yes ;;
1129
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 ac_prev=sbindir ;;
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 | --sbi=* | --sb=*)
1134 sbindir=$ac_optarg ;;
1135
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1139 | --sha | --sh)
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 | --sha=* | --sh=*)
1145 sharedstatedir=$ac_optarg ;;
1146
1147 -site | --site | --sit)
1148 ac_prev=site ;;
1149 -site=* | --site=* | --sit=*)
1150 site=$ac_optarg ;;
1151
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 ac_prev=srcdir ;;
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1156
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1163
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1168
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170 verbose=yes ;;
1171
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1174
1175 -with-* | --with-*)
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: $ac_useropt"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1183 *"
1184"with_$ac_useropt"
1185"*) ;;
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1188 esac
1189 eval with_$ac_useropt=\$ac_optarg ;;
1190
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: $ac_useropt"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1199 *"
1200"with_$ac_useropt"
1201"*) ;;
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1204 esac
1205 eval with_$ac_useropt=no ;;
1206
1207 --x)
1208 # Obsolete; use --with-x.
1209 with_x=yes ;;
1210
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1213 ac_prev=x_includes ;;
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216 x_includes=$ac_optarg ;;
1217
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220 ac_prev=x_libraries ;;
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223 x_libraries=$ac_optarg ;;
1224
1225 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226Try \`$0 --help' for more information"
1227 ;;
1228
1229 *=*)
1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1234 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235 esac
1236 eval $ac_envvar=\$ac_optarg
1237 export $ac_envvar ;;
1238
1239 *)
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 ;;
1246
1247 esac
1248done
1249
1250if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $? "missing argument to $ac_option"
1253fi
1254
1255if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1257 no) ;;
1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 esac
1261fi
1262
1263# Check all directory arguments for consistency.
1264for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1268do
1269 eval ac_val=\$$ac_var
1270 # Remove trailing slashes.
1271 case $ac_val in
1272 */ )
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\$ac_val;;
1275 esac
1276 # Be sure to have absolute directory names.
1277 case $ac_val in
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 esac
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282done
1283
1284# There might be people who depend on the old broken behavior: `$host'
1285# used to hold the argument of --host etc.
1286# FIXME: To remove some day.
1287build=$build_alias
1288host=$host_alias
1289target=$target_alias
1290
1291# FIXME: To remove some day.
1292if test "x$host_alias" != x; then
1293 if test "x$build_alias" = x; then
1294 cross_compiling=maybe
1295 elif test "x$build_alias" != "x$host_alias"; then
1296 cross_compiling=yes
1297 fi
1298fi
1299
1300ac_tool_prefix=
1301test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302
1303test "$silent" = yes && exec 6>/dev/null
1304
1305
1306ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307ac_ls_di=`ls -di .` &&
1308ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $? "working directory cannot be determined"
1310test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $? "pwd does not report name of working directory"
1312
1313
1314# Find the source files, if location was not specified.
1315if test -z "$srcdir"; then
1316 ac_srcdir_defaulted=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1319$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323$as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325 s//\1/
1326 q
1327 }
1328 /^X\(\/\/\)[^/].*/{
1329 s//\1/
1330 q
1331 }
1332 /^X\(\/\/\)$/{
1333 s//\1/
1334 q
1335 }
1336 /^X\(\/\).*/{
1337 s//\1/
1338 q
1339 }
1340 s/.*/./; q'`
1341 srcdir=$ac_confdir
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 srcdir=..
1344 fi
1345else
1346 ac_srcdir_defaulted=no
1347fi
1348if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351fi
1352ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353ac_abs_confdir=`(
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 pwd)`
1356# When building in place, set srcdir=.
1357if test "$ac_abs_confdir" = "$ac_pwd"; then
1358 srcdir=.
1359fi
1360# Remove unnecessary trailing slashes from srcdir.
1361# Double slashes in file names in object file debugging info
1362# mess up M-x gdb in Emacs.
1363case $srcdir in
1364*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365esac
1366for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371done
1372
1373#
1374# Report the --help message.
1375#
1376if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1379 cat <<_ACEOF
1380\`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1381
1382Usage: $0 [OPTION]... [VAR=VALUE]...
1383
1384To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385VAR=VALUE. See below for descriptions of some of the useful variables.
1386
1387Defaults for the options are specified in brackets.
1388
1389Configuration:
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399
1400Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 [PREFIX]
1405
1406By default, \`make install' will install all the files in
1407\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409for instance \`--prefix=\$HOME'.
1410
1411For better control, use the options below.
1412
1413Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1433_ACEOF
1434
1435 cat <<\_ACEOF
1436
1437Program names:
1438 --program-prefix=PREFIX prepend PREFIX to installed program names
1439 --program-suffix=SUFFIX append SUFFIX to installed program names
1440 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1441
1442System types:
1443 --build=BUILD configure for building on BUILD [guessed]
1444 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1445 --target=TARGET configure for building compilers for TARGET [HOST]
1446_ACEOF
1447fi
1448
1449if test -n "$ac_init_help"; then
1450 case $ac_init_help in
1451 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1452 esac
1453 cat <<\_ACEOF
1454
1455Optional Features:
1456 --disable-option-checking ignore unrecognized --enable/--with options
1457 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1458 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1459 --enable-version-specific-runtime-libs
1460 specify that runtime libraries should be installed
1461 in a compiler-specific directory
1462 --enable-silent-rules less verbose build output (undo: "make V=1")
1463 --disable-silent-rules verbose build output (undo: "make V=0")
1464 --enable-maintainer-mode
1465 enable make rules and dependencies not useful (and
1466 sometimes confusing) to the casual installer
1467 --enable-multilib build many library versions (default)
1468 --enable-dependency-tracking
1469 do not reject slow dependency extractors
1470 --disable-dependency-tracking
1471 speeds up one-time build
1472 --enable-cet enable Intel CET in target libraries [default=auto]
1473 --disable-symvers disable symbol versioning for libgfortran
1474 --enable-shared[=PKGS] build shared libraries [default=yes]
1475 --enable-static[=PKGS] build static libraries [default=yes]
1476 --enable-fast-install[=PKGS]
1477 optimize for fast installation [default=yes]
1478 --disable-libtool-lock avoid locking (might break parallel builds)
1479 --enable-darwin-at-rpath
1480 install libraries with @rpath/library-name, requires
1481 rpaths to be added to executables
1482 --disable-largefile omit support for large files
1483 --disable-libquadmath-support
1484 disable libquadmath support for Fortran
1485
1486Optional 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
1492 DIR
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
1498
1499Some 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
1510
1511Use these variables to override the choices made by `configure' or to help
1512it to find libraries and programs with nonstandard names/locations.
1513
1514Report bugs to the package provider.
1515GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1516General help using GNU software: <http://www.gnu.org/gethelp/>.
1517_ACEOF
1518ac_status=$?
1519fi
1520
1521if 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=.
1528
1529case "$ac_dir" in
1530.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531*)
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 ;;
1539esac
1540ac_abs_top_builddir=$ac_pwd
1541ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542# for backward compatibility:
1543ac_top_builddir=$ac_top_build_prefix
1544
1545case $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 ;;
1558esac
1559ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560
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
1574fi
1575
1576test -n "$ac_init_help" && exit $ac_status
1577if $ac_init_version; then
1578 cat <<\_ACEOF
1579GNU Fortran Runtime Library configure 0.3
1580generated by GNU Autoconf 2.69
1581
1582Copyright (C) 2012 Free Software Foundation, Inc.
1583This configure script is free software; the Free Software Foundation
1584gives unlimited permission to copy, distribute and modify it.
1585_ACEOF
1586 exit
1587fi
1588
1589## ------------------------ ##
1590## Autoconf initialization. ##
1591## ------------------------ ##
1592
1593# ac_fn_c_try_compile LINENO
1594# --------------------------
1595# Try to compile conftest.$ac_ext, and return whether this succeeded.
1596ac_fn_c_try_compile ()
1597{
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"
1601case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604esac
1605eval 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
1613 fi
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
1620else
1621 $as_echo "$as_me: failed program was:" >&5
1622sed 's/^/| /' conftest.$ac_ext >&5
1623
1624 ac_retval=1
1625fi
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1628
1629} # ac_fn_c_try_compile
1630
1631# ac_fn_c_try_cpp LINENO
1632# ----------------------
1633# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634ac_fn_c_try_cpp ()
1635{
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if { { ac_try="$ac_cpp conftest.$ac_ext"
1638case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641esac
1642eval 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
1650 fi
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
1657else
1658 $as_echo "$as_me: failed program was:" >&5
1659sed 's/^/| /' conftest.$ac_ext >&5
1660
1661 ac_retval=1
1662fi
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1665
1666} # ac_fn_c_try_cpp
1667
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.
1673ac_fn_c_check_header_mongrel ()
1674{
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; }
1679if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1681fi
1682eval ac_res=\$$3
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684$as_echo "$ac_res" >&6; }
1685else
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; }
1689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690/* end confdefs.h. */
1691$4
1692#include <$2>
1693_ACEOF
1694if ac_fn_c_try_compile "$LINENO"; then :
1695 ac_header_compiler=yes
1696else
1697 ac_header_compiler=no
1698fi
1699rm -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; }
1702
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; }
1706cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707/* end confdefs.h. */
1708#include <$2>
1709_ACEOF
1710if ac_fn_c_try_cpp "$LINENO"; then :
1711 ac_header_preproc=yes
1712else
1713 ac_header_preproc=no
1714fi
1715rm -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; }
1718
1719# So? What about this header?
1720case $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;}
1726 ;;
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;}
1738 ;;
1739esac
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741$as_echo_n "checking for $2... " >&6; }
1742if eval \${$3+:} false; then :
1743 $as_echo_n "(cached) " >&6
1744else
1745 eval "$3=\$ac_header_compiler"
1746fi
1747eval ac_res=\$$3
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749$as_echo "$ac_res" >&6; }
1750fi
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752
1753} # ac_fn_c_check_header_mongrel
1754
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.
1759ac_fn_c_try_run ()
1760{
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_link"
1763case "(($ac_try" in
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1766esac
1767eval 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;;
1776esac
1777eval 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
1784else
1785 $as_echo "$as_me: program exited with status $ac_status" >&5
1786 $as_echo "$as_me: failed program was:" >&5
1787sed 's/^/| /' conftest.$ac_ext >&5
1788
1789 ac_retval=$ac_status
1790fi
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
1794
1795} # ac_fn_c_try_run
1796
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.
1801ac_fn_c_check_header_compile ()
1802{
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; }
1806if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1808else
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810/* end confdefs.h. */
1811$4
1812#include <$2>
1813_ACEOF
1814if ac_fn_c_try_compile "$LINENO"; then :
1815 eval "$3=yes"
1816else
1817 eval "$3=no"
1818fi
1819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820fi
1821eval 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
1825
1826} # ac_fn_c_check_header_compile
1827
1828# ac_fn_c_try_link LINENO
1829# -----------------------
1830# Try to link conftest.$ac_ext, and return whether this succeeded.
1831ac_fn_c_try_link ()
1832{
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"
1836case "(($ac_try" in
1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1839esac
1840eval 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
1848 fi
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
1858else
1859 $as_echo "$as_me: failed program was:" >&5
1860sed 's/^/| /' conftest.$ac_ext >&5
1861
1862 ac_retval=1
1863fi
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
1871
1872} # ac_fn_c_try_link
1873
1874# ac_fn_c_check_func LINENO FUNC VAR
1875# ----------------------------------
1876# Tests whether FUNC exists, setting the cache variable VAR accordingly
1877ac_fn_c_check_func ()
1878{
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; }
1882if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1884else
1885 if test x$gcc_no_link = xyes; then
1886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1887fi
1888cat 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
1893
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. */
1898
1899#ifdef __STDC__
1900# include <limits.h>
1901#else
1902# include <assert.h>
1903#endif
1904
1905#undef $2
1906
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
1911extern "C"
1912#endif
1913char $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
1918choke me
1919#endif
1920
1921int
1922main ()
1923{
1924return $2 ();
1925 ;
1926 return 0;
1927}
1928_ACEOF
1929if ac_fn_c_try_link "$LINENO"; then :
1930 eval "$3=yes"
1931else
1932 eval "$3=no"
1933fi
1934rm -f core conftest.err conftest.$ac_objext \
1935 conftest$ac_exeext conftest.$ac_ext
1936fi
1937eval 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
1941
1942} # ac_fn_c_check_func
1943
1944# ac_fn_fc_try_compile LINENO
1945# ---------------------------
1946# Try to compile conftest.$ac_ext, and return whether this succeeded.
1947ac_fn_fc_try_compile ()
1948{
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"
1952case "(($ac_try" in
1953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1955esac
1956eval 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
1964 fi
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
1971else
1972 $as_echo "$as_me: failed program was:" >&5
1973sed 's/^/| /' conftest.$ac_ext >&5
1974
1975 ac_retval=1
1976fi
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 as_fn_set_status $ac_retval
1979
1980} # ac_fn_fc_try_compile
1981
1982# ac_fn_fc_try_link LINENO
1983# ------------------------
1984# Try to link conftest.$ac_ext, and return whether this succeeded.
1985ac_fn_fc_try_link ()
1986{
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"
1990case "(($ac_try" in
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1993esac
1994eval 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
2002 fi
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
2012else
2013 $as_echo "$as_me: failed program was:" >&5
2014sed 's/^/| /' conftest.$ac_ext >&5
2015
2016 ac_retval=1
2017fi
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
2025
2026} # ac_fn_fc_try_link
2027
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.
2032ac_fn_c_check_type ()
2033{
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; }
2037if eval \${$3+:} false; then :
2038 $as_echo_n "(cached) " >&6
2039else
2040 eval "$3=no"
2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042/* end confdefs.h. */
2043$4
2044int
2045main ()
2046{
2047if (sizeof ($2))
2048 return 0;
2049 ;
2050 return 0;
2051}
2052_ACEOF
2053if ac_fn_c_try_compile "$LINENO"; then :
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055/* end confdefs.h. */
2056$4
2057int
2058main ()
2059{
2060if (sizeof (($2)))
2061 return 0;
2062 ;
2063 return 0;
2064}
2065_ACEOF
2066if ac_fn_c_try_compile "$LINENO"; then :
2067
2068else
2069 eval "$3=yes"
2070fi
2071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2072fi
2073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074fi
2075eval 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
2079
2080} # ac_fn_c_check_type
2081
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
2087ac_fn_c_compute_int ()
2088{
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.
2092cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093/* end confdefs.h. */
2094$4
2095int
2096main ()
2097{
2098static int test_array [1 - 2 * !(($2) >= 0)];
2099test_array [0] = 0;
2100return test_array [0];
2101
2102 ;
2103 return 0;
2104}
2105_ACEOF
2106if 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. */
2111$4
2112int
2113main ()
2114{
2115static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2116test_array [0] = 0;
2117return test_array [0];
2118
2119 ;
2120 return 0;
2121}
2122_ACEOF
2123if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_hi=$ac_mid; break
2125else
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
2130 fi
2131 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2132fi
2133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2134 done
2135else
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137/* end confdefs.h. */
2138$4
2139int
2140main ()
2141{
2142static int test_array [1 - 2 * !(($2) < 0)];
2143test_array [0] = 0;
2144return test_array [0];
2145
2146 ;
2147 return 0;
2148}
2149_ACEOF
2150if 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. */
2155$4
2156int
2157main ()
2158{
2159static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2160test_array [0] = 0;
2161return test_array [0];
2162
2163 ;
2164 return 0;
2165}
2166_ACEOF
2167if ac_fn_c_try_compile "$LINENO"; then :
2168 ac_lo=$ac_mid; break
2169else
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
2174 fi
2175 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2176fi
2177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 done
2179else
2180 ac_lo= ac_hi=
2181fi
2182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183fi
2184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185# Binary search between lo and hi bounds.
2186while 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. */
2190$4
2191int
2192main ()
2193{
2194static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2195test_array [0] = 0;
2196return test_array [0];
2197
2198 ;
2199 return 0;
2200}
2201_ACEOF
2202if ac_fn_c_try_compile "$LINENO"; then :
2203 ac_hi=$ac_mid
2204else
2205 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2206fi
2207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208done
2209case $ac_lo in #((
2210?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2211'') ac_retval=1 ;;
2212esac
2213 else
2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215/* end confdefs.h. */
2216$4
2217static long int longval () { return $2; }
2218static unsigned long int ulongval () { return $2; }
2219#include <stdio.h>
2220#include <stdlib.h>
2221int
2222main ()
2223{
2224
2225 FILE *f = fopen ("conftest.val", "w");
2226 if (! f)
2227 return 1;
2228 if (($2) < 0)
2229 {
2230 long int i = longval ();
2231 if (i != ($2))
2232 return 1;
2233 fprintf (f, "%ld", i);
2234 }
2235 else
2236 {
2237 unsigned long int i = ulongval ();
2238 if (i != ($2))
2239 return 1;
2240 fprintf (f, "%lu", i);
2241 }
2242 /* Do not output a trailing newline, as this causes \r\n confusion
2243 on some platforms. */
2244 return ferror (f) || fclose (f) != 0;
2245
2246 ;
2247 return 0;
2248}
2249_ACEOF
2250if ac_fn_c_try_run "$LINENO"; then :
2251 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2252else
2253 ac_retval=1
2254fi
2255rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2256 conftest.$ac_objext conftest.beam conftest.$ac_ext
2257rm -f conftest.val
2258
2259 fi
2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261 as_fn_set_status $ac_retval
2262
2263} # ac_fn_c_compute_int
2264
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.
2269ac_fn_c_check_member ()
2270{
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; }
2274if eval \${$4+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276else
2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2278/* end confdefs.h. */
2279$5
2280int
2281main ()
2282{
2283static $2 ac_aggr;
2284if (ac_aggr.$3)
2285return 0;
2286 ;
2287 return 0;
2288}
2289_ACEOF
2290if ac_fn_c_try_compile "$LINENO"; then :
2291 eval "$4=yes"
2292else
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294/* end confdefs.h. */
2295$5
2296int
2297main ()
2298{
2299static $2 ac_aggr;
2300if (sizeof ac_aggr.$3)
2301return 0;
2302 ;
2303 return 0;
2304}
2305_ACEOF
2306if ac_fn_c_try_compile "$LINENO"; then :
2307 eval "$4=yes"
2308else
2309 eval "$4=no"
2310fi
2311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2312fi
2313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2314fi
2315eval 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
2319
2320} # ac_fn_c_check_member
2321cat >config.log <<_ACEOF
2322This file contains any messages produced by compilers while
2323running configure, to aid debugging if configure makes a mistake.
2324
2325It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2326generated by GNU Autoconf 2.69. Invocation command line was
2327
2328 $ $0 $@
2329
2330_ACEOF
2331exec 5>>config.log
2332{
2333cat <<_ASUNAME
2334## --------- ##
2335## Platform. ##
2336## --------- ##
2337
2338hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2339uname -m = `(uname -m) 2>/dev/null || echo unknown`
2340uname -r = `(uname -r) 2>/dev/null || echo unknown`
2341uname -s = `(uname -s) 2>/dev/null || echo unknown`
2342uname -v = `(uname -v) 2>/dev/null || echo unknown`
2343
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`
2346
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`
2354
2355_ASUNAME
2356
2357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358for as_dir in $PATH
2359do
2360 IFS=$as_save_IFS
2361 test -z "$as_dir" && as_dir=.
2362 $as_echo "PATH: $as_dir"
2363 done
2364IFS=$as_save_IFS
2365
2366} >&5
2367
2368cat >&5 <<_ACEOF
2369
2370
2371## ----------- ##
2372## Core tests. ##
2373## ----------- ##
2374
2375_ACEOF
2376
2377
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.
2383ac_configure_args=
2384ac_configure_args0=
2385ac_configure_args1=
2386ac_must_keep_next=false
2387for ac_pass in 1 2
2388do
2389 for ac_arg
2390 do
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'" ;;
2401 2)
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
2414 ;;
2415 -* ) ac_must_keep_next=true ;;
2416 esac
2417 fi
2418 as_fn_append ac_configure_args " '$ac_arg'"
2419 ;;
2420 esac
2421 done
2422done
2423{ ac_configure_args0=; unset ac_configure_args0;}
2424{ ac_configure_args1=; unset ac_configure_args1;}
2425
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.
2431trap 'exit_status=$?
2432 # Save into config.log some information that might help in debugging.
2433 {
2434 echo
2435
2436 $as_echo "## ---------------- ##
2437## Cache variables. ##
2438## ---------------- ##"
2439 echo
2440 # The following way of writing the cache mishandles newlines in values,
2441(
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 ;; #(
2464 *)
2465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2466 ;;
2467 esac |
2468 sort
2469)
2470 echo
2471
2472 $as_echo "## ----------------- ##
2473## Output variables. ##
2474## ----------------- ##"
2475 echo
2476 for ac_var in $ac_subst_vars
2477 do
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
2485
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
2492 do
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
2500 fi
2501
2502 if test -s confdefs.h; then
2503 $as_echo "## ----------- ##
2504## confdefs.h. ##
2505## ----------- ##"
2506 echo
2507 cat confdefs.h
2508 echo
2509 fi
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
2517' 0
2518for ac_signal in 1 2 13 15; do
2519 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2520done
2521ac_signal=0
2522
2523# confdefs.h avoids OS command line length limits that DEFS can exceed.
2524rm -f -r conftest* confdefs.h
2525
2526$as_echo "/* confdefs.h */" > confdefs.h
2527
2528# Predefined preprocessor variables.
2529
2530cat >>confdefs.h <<_ACEOF
2531#define PACKAGE_NAME "$PACKAGE_NAME"
2532_ACEOF
2533
2534cat >>confdefs.h <<_ACEOF
2535#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2536_ACEOF
2537
2538cat >>confdefs.h <<_ACEOF
2539#define PACKAGE_VERSION "$PACKAGE_VERSION"
2540_ACEOF
2541
2542cat >>confdefs.h <<_ACEOF
2543#define PACKAGE_STRING "$PACKAGE_STRING"
2544_ACEOF
2545
2546cat >>confdefs.h <<_ACEOF
2547#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2548_ACEOF
2549
2550cat >>confdefs.h <<_ACEOF
2551#define PACKAGE_URL "$PACKAGE_URL"
2552_ACEOF
2553
2554
2555# Let the site file select an alternate cache file if it wants to.
2556# Prefer an explicitly selected file to automatically selected ones.
2557ac_site_file1=NONE
2558ac_site_file2=NONE
2559if 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
2566elif test "x$prefix" != xNONE; then
2567 ac_site_file1=$prefix/share/config.site
2568 ac_site_file2=$prefix/etc/config.site
2569else
2570 ac_site_file1=$ac_default_prefix/share/config.site
2571 ac_site_file2=$ac_default_prefix/etc/config.site
2572fi
2573for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2574do
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;}
2583as_fn_error $? "failed to load site script $ac_site_file
2584See \`config.log' for more details" "$LINENO" 5; }
2585 fi
2586done
2587
2588if 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
2598 fi
2599else
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
2603fi
2604
2605as_fn_append ac_header_list " unistd.h"
2606as_fn_append ac_header_list " sys/random.h"
2607as_fn_append ac_header_list " sys/time.h"
2608as_fn_append ac_header_list " sys/times.h"
2609as_fn_append ac_header_list " sys/resource.h"
2610as_fn_append ac_header_list " sys/types.h"
2611as_fn_append ac_header_list " sys/stat.h"
2612as_fn_append ac_header_list " sys/uio.h"
2613as_fn_append ac_header_list " sys/wait.h"
2614as_fn_append ac_header_list " floatingpoint.h"
2615as_fn_append ac_header_list " ieeefp.h"
2616as_fn_append ac_header_list " fenv.h"
2617as_fn_append ac_header_list " fptrap.h"
2618as_fn_append ac_header_list " fpxcp.h"
2619as_fn_append ac_header_list " pwd.h"
2620as_fn_append ac_header_list " complex.h"
2621as_fn_append ac_header_list " xlocale.h"
2622as_fn_append ac_func_list " getrusage"
2623as_fn_append ac_func_list " times"
2624as_fn_append ac_func_list " mkstemp"
2625as_fn_append ac_func_list " strtof"
2626as_fn_append ac_func_list " strtold"
2627as_fn_append ac_func_list " snprintf"
2628as_fn_append ac_func_list " ftruncate"
2629as_fn_append ac_func_list " chsize"
2630as_fn_append ac_func_list " chdir"
2631as_fn_append ac_func_list " getentropy"
2632as_fn_append ac_func_list " getlogin"
2633as_fn_append ac_func_list " gethostname"
2634as_fn_append ac_func_list " kill"
2635as_fn_append ac_func_list " link"
2636as_fn_append ac_func_list " symlink"
2637as_fn_append ac_func_list " sleep"
2638as_fn_append ac_func_list " ttyname"
2639as_fn_append ac_func_list " sigaction"
2640as_fn_append ac_func_list " waitpid"
2641as_fn_append ac_func_list " alarm"
2642as_fn_append ac_func_list " access"
2643as_fn_append ac_func_list " fork"
2644as_fn_append ac_func_list " posix_spawn"
2645as_fn_append ac_func_list " setmode"
2646as_fn_append ac_func_list " fcntl"
2647as_fn_append ac_func_list " writev"
2648as_fn_append ac_func_list " gettimeofday"
2649as_fn_append ac_func_list " stat"
2650as_fn_append ac_func_list " fstat"
2651as_fn_append ac_func_list " lstat"
2652as_fn_append ac_func_list " getpwuid"
2653as_fn_append ac_func_list " vsnprintf"
2654as_fn_append ac_func_list " dup"
2655as_fn_append ac_func_list " getcwd"
2656as_fn_append ac_func_list " localtime_r"
2657as_fn_append ac_func_list " gmtime_r"
2658as_fn_append ac_func_list " getpwuid_r"
2659as_fn_append ac_func_list " ttyname_r"
2660as_fn_append ac_func_list " clock_gettime"
2661as_fn_append ac_func_list " getgid"
2662as_fn_append ac_func_list " getpid"
2663as_fn_append ac_func_list " getuid"
2664as_fn_append ac_func_list " geteuid"
2665as_fn_append ac_func_list " umask"
2666as_fn_append ac_func_list " getegid"
2667as_fn_append ac_func_list " secure_getenv"
2668as_fn_append ac_func_list " __secure_getenv"
2669as_fn_append ac_func_list " mkostemp"
2670as_fn_append ac_func_list " strnlen"
2671as_fn_append ac_func_list " strndup"
2672as_fn_append ac_func_list " newlocale"
2673as_fn_append ac_func_list " freelocale"
2674as_fn_append ac_func_list " uselocale"
2675as_fn_append ac_func_list " strerror_l"
2676as_fn_append ac_func_list " strtof128"
2677as_fn_append ac_func_list " strfromf128"
2678as_fn_append ac_header_list " math.h"
2679# Check that the precious variables saved in the cache have kept the same
2680# value.
2681ac_cache_corrupted=false
2682for ac_var in $ac_precious_vars; do
2683 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2684 eval ac_new_set=\$ac_env_${ac_var}_set
2685 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2686 eval ac_new_val=\$ac_env_${ac_var}_value
2687 case $ac_old_set,$ac_new_set in
2688 set,)
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2690$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2691 ac_cache_corrupted=: ;;
2692 ,set)
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2694$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2695 ac_cache_corrupted=: ;;
2696 ,);;
2697 *)
2698 if test "x$ac_old_val" != "x$ac_new_val"; then
2699 # differences in whitespace do not lead to failure.
2700 ac_old_val_w=`echo x $ac_old_val`
2701 ac_new_val_w=`echo x $ac_new_val`
2702 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2704$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2705 ac_cache_corrupted=:
2706 else
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2708$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2709 eval $ac_var=\$ac_old_val
2710 fi
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2712$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2714$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2715 fi;;
2716 esac
2717 # Pass precious variables to config.status.
2718 if test "$ac_new_set" = set; then
2719 case $ac_new_val in
2720 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2721 *) ac_arg=$ac_var=$ac_new_val ;;
2722 esac
2723 case " $ac_configure_args " in
2724 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2725 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2726 esac
2727 fi
2728done
2729if $ac_cache_corrupted; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2733$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2734 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2735fi
2736## -------------------- ##
2737## Main body of script. ##
2738## -------------------- ##
2739
2740ac_ext=c
2741ac_cpp='$CPP $CPPFLAGS'
2742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2744ac_compiler_gnu=$ac_cv_c_compiler_gnu
2745
2746
2747
2748
2749
2750ac_config_headers="$ac_config_headers config.h"
2751
2752ac_aux_dir=
2753for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2754 if test -f "$ac_dir/install-sh"; then
2755 ac_aux_dir=$ac_dir
2756 ac_install_sh="$ac_aux_dir/install-sh -c"
2757 break
2758 elif test -f "$ac_dir/install.sh"; then
2759 ac_aux_dir=$ac_dir
2760 ac_install_sh="$ac_aux_dir/install.sh -c"
2761 break
2762 elif test -f "$ac_dir/shtool"; then
2763 ac_aux_dir=$ac_dir
2764 ac_install_sh="$ac_aux_dir/shtool install -c"
2765 break
2766 fi
2767done
2768if test -z "$ac_aux_dir"; then
2769 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2770fi
2771
2772# These three variables are undocumented and unsupported,
2773# and are intended to be withdrawn in a future Autoconf release.
2774# They can cause serious problems if a builder's source tree is in a directory
2775# whose full name contains unusual characters.
2776ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2777ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2778ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2779
2780
2781# Make sure we can run config.sub.
2782$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2783 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2784
2785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2786$as_echo_n "checking build system type... " >&6; }
2787if ${ac_cv_build+:} false; then :
2788 $as_echo_n "(cached) " >&6
2789else
2790 ac_build_alias=$build_alias
2791test "x$ac_build_alias" = x &&
2792 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2793test "x$ac_build_alias" = x &&
2794 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2795ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2796 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2797
2798fi
2799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2800$as_echo "$ac_cv_build" >&6; }
2801case $ac_cv_build in
2802*-*-*) ;;
2803*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2804esac
2805build=$ac_cv_build
2806ac_save_IFS=$IFS; IFS='-'
2807set x $ac_cv_build
2808shift
2809build_cpu=$1
2810build_vendor=$2
2811shift; shift
2812# Remember, the first character of IFS is used to create $*,
2813# except with old shells:
2814build_os=$*
2815IFS=$ac_save_IFS
2816case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2817
2818
2819 case ${build_alias} in
2820 "") build_noncanonical=${build} ;;
2821 *) build_noncanonical=${build_alias} ;;
2822esac
2823
2824 case ${host_alias} in
2825 "") host_noncanonical=${build_noncanonical} ;;
2826 *) host_noncanonical=${host_alias} ;;
2827esac
2828
2829 case ${target_alias} in
2830 "") target_noncanonical=${host_noncanonical} ;;
2831 *) target_noncanonical=${target_alias} ;;
2832esac
2833
2834
2835# post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2836# have matching libraries, they should use host libraries: Makefile.tpl
2837# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2838# However, they still use the build modules, because the corresponding
2839# host modules (e.g. bison) are only built for the host when bootstrap
2840# finishes. So:
2841# - build_subdir is where we find build modules, and never changes.
2842# - build_libsubdir is where we find build libraries, and can be overridden.
2843
2844# Prefix 'build-' so this never conflicts with target_subdir.
2845build_subdir="build-${build_noncanonical}"
2846
2847# Check whether --with-build-libsubdir was given.
2848if test "${with_build_libsubdir+set}" = set; then :
2849 withval=$with_build_libsubdir; build_libsubdir="$withval"
2850else
2851 build_libsubdir="$build_subdir"
2852fi
2853
2854# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2855if ( test $srcdir = . && test -d gcc ) \
2856 || test -d $srcdir/../host-${host_noncanonical}; then
2857 host_subdir="host-${host_noncanonical}"
2858else
2859 host_subdir=.
2860fi
2861# No prefix.
2862target_subdir=${target_noncanonical}
2863
2864
2865# -------
2866# Options
2867# -------
2868
2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2870$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2871# Check whether --enable-version-specific-runtime-libs was given.
2872if test "${enable_version_specific_runtime_libs+set}" = set; then :
2873 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2874 yes) version_specific_libs=yes ;;
2875 no) version_specific_libs=no ;;
2876 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2877 esac
2878else
2879 version_specific_libs=no
2880fi
2881
2882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2883$as_echo "$version_specific_libs" >&6; }
2884
2885# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2886#
2887# You will slowly go insane if you do not grok the following fact: when
2888# building this library, the top-level /target/ becomes the library's /host/.
2889#
2890# configure then causes --target to default to --host, exactly like any
2891# other package using autoconf. Therefore, 'target' and 'host' will
2892# always be the same. This makes sense both for native and cross compilers
2893# just think about it for a little while. :-)
2894#
2895# Also, if this library is being configured as part of a cross compiler, the
2896# top-level configure script will pass the "real" host as $with_cross_host.
2897#
2898# Do not delete or change the following two lines. For why, see
2899# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2901$as_echo_n "checking host system type... " >&6; }
2902if ${ac_cv_host+:} false; then :
2903 $as_echo_n "(cached) " >&6
2904else
2905 if test "x$host_alias" = x; then
2906 ac_cv_host=$ac_cv_build
2907else
2908 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2909 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2910fi
2911
2912fi
2913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2914$as_echo "$ac_cv_host" >&6; }
2915case $ac_cv_host in
2916*-*-*) ;;
2917*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2918esac
2919host=$ac_cv_host
2920ac_save_IFS=$IFS; IFS='-'
2921set x $ac_cv_host
2922shift
2923host_cpu=$1
2924host_vendor=$2
2925shift; shift
2926# Remember, the first character of IFS is used to create $*,
2927# except with old shells:
2928host_os=$*
2929IFS=$ac_save_IFS
2930case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2931
2932
2933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2934$as_echo_n "checking target system type... " >&6; }
2935if ${ac_cv_target+:} false; then :
2936 $as_echo_n "(cached) " >&6
2937else
2938 if test "x$target_alias" = x; then
2939 ac_cv_target=$ac_cv_host
2940else
2941 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2942 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2943fi
2944
2945fi
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2947$as_echo "$ac_cv_target" >&6; }
2948case $ac_cv_target in
2949*-*-*) ;;
2950*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2951esac
2952target=$ac_cv_target
2953ac_save_IFS=$IFS; IFS='-'
2954set x $ac_cv_target
2955shift
2956target_cpu=$1
2957target_vendor=$2
2958shift; shift
2959# Remember, the first character of IFS is used to create $*,
2960# except with old shells:
2961target_os=$*
2962IFS=$ac_save_IFS
2963case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2964
2965
2966# The aliases save the names the user supplied, while $host etc.
2967# will get canonicalized.
2968test -n "$target_alias" &&
2969 test "$program_prefix$program_suffix$program_transform_name" = \
2970 NONENONEs,x,x, &&
2971 program_prefix=${target_alias}-
2972
2973
2974
2975
2976target_alias=${target_alias-$host_alias}
2977
2978
2979# Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2980# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2981# 1.9.6: minimum required version
2982# no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2983# of other PACKAGE_* variables will, however, and there's nothing
2984# we can do about that; they come from AC_INIT).
2985# foreign: we don't follow the normal rules for GNU packages (no COPYING
2986# file in the top srcdir, etc, etc), so stop complaining.
2987# no-dist: we don't want 'dist' and related rules.
2988# -Wall: turns on all automake warnings...
2989# -Wno-portability: ...except this one, since GNU make is required.
2990am__api_version='1.15'
2991
2992# Find a good install program. We prefer a C program (faster),
2993# so one script is as good as another. But avoid the broken or
2994# incompatible versions:
2995# SysV /etc/install, /usr/sbin/install
2996# SunOS /usr/etc/install
2997# IRIX /sbin/install
2998# AIX /bin/install
2999# AmigaOS /C/install, which installs bootblocks on floppy discs
3000# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3001# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3002# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3003# OS/2's system install, which has a completely different semantic
3004# ./install, which can be erroneously created by make from ./install.sh.
3005# Reject install programs that cannot install multiple files.
3006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3007$as_echo_n "checking for a BSD-compatible install... " >&6; }
3008if test -z "$INSTALL"; then
3009if ${ac_cv_path_install+:} false; then :
3010 $as_echo_n "(cached) " >&6
3011else
3012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013for as_dir in $PATH
3014do
3015 IFS=$as_save_IFS
3016 test -z "$as_dir" && as_dir=.
3017 # Account for people who put trailing slashes in PATH elements.
3018case $as_dir/ in #((
3019 ./ | .// | /[cC]/* | \
3020 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3021 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3022 /usr/ucb/* ) ;;
3023 *)
3024 # OSF1 and SCO ODT 3.0 have their own names for install.
3025 # Don't use installbsd from OSF since it installs stuff as root
3026 # by default.
3027 for ac_prog in ginstall scoinst install; do
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3030 if test $ac_prog = install &&
3031 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3032 # AIX install. It has an incompatible calling convention.
3033 :
3034 elif test $ac_prog = install &&
3035 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3036 # program-specific install script used by HP pwplus--don't use.
3037 :
3038 else
3039 rm -rf conftest.one conftest.two conftest.dir
3040 echo one > conftest.one
3041 echo two > conftest.two
3042 mkdir conftest.dir
3043 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3044 test -s conftest.one && test -s conftest.two &&
3045 test -s conftest.dir/conftest.one &&
3046 test -s conftest.dir/conftest.two
3047 then
3048 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3049 break 3
3050 fi
3051 fi
3052 fi
3053 done
3054 done
3055 ;;
3056esac
3057
3058 done
3059IFS=$as_save_IFS
3060
3061rm -rf conftest.one conftest.two conftest.dir
3062
3063fi
3064 if test "${ac_cv_path_install+set}" = set; then
3065 INSTALL=$ac_cv_path_install
3066 else
3067 # As a last resort, use the slow shell script. Don't cache a
3068 # value for INSTALL within a source directory, because that will
3069 # break other packages using the cache if that directory is
3070 # removed, or if the value is a relative name.
3071 INSTALL=$ac_install_sh
3072 fi
3073fi
3074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3075$as_echo "$INSTALL" >&6; }
3076
3077# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3078# It thinks the first close brace ends the variable substitution.
3079test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3080
3081test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3082
3083test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3084
3085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3086$as_echo_n "checking whether build environment is sane... " >&6; }
3087# Reject unsafe characters in $srcdir or the absolute working directory
3088# name. Accept space and tab only in the latter.
3089am_lf='
3090'
3091case `pwd` in
3092 *[\\\"\#\$\&\'\`$am_lf]*)
3093 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3094esac
3095case $srcdir in
3096 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3097 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3098esac
3099
3100# Do 'set' in a subshell so we don't clobber the current shell's
3101# arguments. Must try -L first in case configure is actually a
3102# symlink; some systems play weird games with the mod time of symlinks
3103# (eg FreeBSD returns the mod time of the symlink's containing
3104# directory).
3105if (
3106 am_has_slept=no
3107 for am_try in 1 2; do
3108 echo "timestamp, slept: $am_has_slept" > conftest.file
3109 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3110 if test "$*" = "X"; then
3111 # -L didn't work.
3112 set X `ls -t "$srcdir/configure" conftest.file`
3113 fi
3114 if test "$*" != "X $srcdir/configure conftest.file" \
3115 && test "$*" != "X conftest.file $srcdir/configure"; then
3116
3117 # If neither matched, then we have a broken ls. This can happen
3118 # if, for instance, CONFIG_SHELL is bash and it inherits a
3119 # broken ls alias from the environment. This has actually
3120 # happened. Such a system could not be considered "sane".
3121 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3122 alias in your environment" "$LINENO" 5
3123 fi
3124 if test "$2" = conftest.file || test $am_try -eq 2; then
3125 break
3126 fi
3127 # Just in case.
3128 sleep 1
3129 am_has_slept=yes
3130 done
3131 test "$2" = conftest.file
3132 )
3133then
3134 # Ok.
3135 :
3136else
3137 as_fn_error $? "newly created file is older than distributed files!
3138Check your system clock" "$LINENO" 5
3139fi
3140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3141$as_echo "yes" >&6; }
3142# If we didn't sleep, we still need to ensure time stamps of config.status and
3143# generated files are strictly newer.
3144am_sleep_pid=
3145if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3146 ( sleep 1 ) &
3147 am_sleep_pid=$!
3148fi
3149
3150rm -f conftest.file
3151
3152test "$program_prefix" != NONE &&
3153 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3154# Use a double $ so make ignores it.
3155test "$program_suffix" != NONE &&
3156 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3157# Double any \ or $.
3158# By default was `s,x,x', remove it if useless.
3159ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3160program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3161
3162# Expand $ac_aux_dir to an absolute path.
3163am_aux_dir=`cd "$ac_aux_dir" && pwd`
3164
3165if test x"${MISSING+set}" != xset; then
3166 case $am_aux_dir in
3167 *\ * | *\ *)
3168 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3169 *)
3170 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3171 esac
3172fi
3173# Use eval to expand $SHELL
3174if eval "$MISSING --is-lightweight"; then
3175 am_missing_run="$MISSING "
3176else
3177 am_missing_run=
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3179$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3180fi
3181
3182if test x"${install_sh+set}" != xset; then
3183 case $am_aux_dir in
3184 *\ * | *\ *)
3185 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3186 *)
3187 install_sh="\${SHELL} $am_aux_dir/install-sh"
3188 esac
3189fi
3190
3191# Installed binaries are usually stripped using 'strip' when the user
3192# run "make install-strip". However 'strip' might not be the right
3193# tool to use in cross-compilation environments, therefore Automake
3194# will honor the 'STRIP' environment variable to overrule this program.
3195if test "$cross_compiling" != no; then
3196 if test -n "$ac_tool_prefix"; then
3197 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3198set dummy ${ac_tool_prefix}strip; ac_word=$2
3199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200$as_echo_n "checking for $ac_word... " >&6; }
3201if ${ac_cv_prog_STRIP+:} false; then :
3202 $as_echo_n "(cached) " >&6
3203else
3204 if test -n "$STRIP"; then
3205 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3206else
3207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208for as_dir in $PATH
3209do
3210 IFS=$as_save_IFS
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 break 2
3217 fi
3218done
3219 done
3220IFS=$as_save_IFS
3221
3222fi
3223fi
3224STRIP=$ac_cv_prog_STRIP
3225if test -n "$STRIP"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3227$as_echo "$STRIP" >&6; }
3228else
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230$as_echo "no" >&6; }
3231fi
3232
3233
3234fi
3235if test -z "$ac_cv_prog_STRIP"; then
3236 ac_ct_STRIP=$STRIP
3237 # Extract the first word of "strip", so it can be a program name with args.
3238set dummy strip; ac_word=$2
3239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240$as_echo_n "checking for $ac_word... " >&6; }
3241if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3242 $as_echo_n "(cached) " >&6
3243else
3244 if test -n "$ac_ct_STRIP"; then
3245 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3246else
3247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248for as_dir in $PATH
3249do
3250 IFS=$as_save_IFS
3251 test -z "$as_dir" && as_dir=.
3252 for ac_exec_ext in '' $ac_executable_extensions; do
3253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_prog_ac_ct_STRIP="strip"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 break 2
3257 fi
3258done
3259 done
3260IFS=$as_save_IFS
3261
3262fi
3263fi
3264ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3265if test -n "$ac_ct_STRIP"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3267$as_echo "$ac_ct_STRIP" >&6; }
3268else
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270$as_echo "no" >&6; }
3271fi
3272
3273 if test "x$ac_ct_STRIP" = x; then
3274 STRIP=":"
3275 else
3276 case $cross_compiling:$ac_tool_warned in
3277yes:)
3278{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3279$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3280ac_tool_warned=yes ;;
3281esac
3282 STRIP=$ac_ct_STRIP
3283 fi
3284else
3285 STRIP="$ac_cv_prog_STRIP"
3286fi
3287
3288fi
3289INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3290
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3292$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3293if test -z "$MKDIR_P"; then
3294 if ${ac_cv_path_mkdir+:} false; then :
3295 $as_echo_n "(cached) " >&6
3296else
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3299do
3300 IFS=$as_save_IFS
3301 test -z "$as_dir" && as_dir=.
3302 for ac_prog in mkdir gmkdir; do
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3305 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3306 'mkdir (GNU coreutils) '* | \
3307 'mkdir (coreutils) '* | \
3308 'mkdir (fileutils) '4.1*)
3309 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3310 break 3;;
3311 esac
3312 done
3313 done
3314 done
3315IFS=$as_save_IFS
3316
3317fi
3318
3319 test -d ./--version && rmdir ./--version
3320 if test "${ac_cv_path_mkdir+set}" = set; then
3321 MKDIR_P="$ac_cv_path_mkdir -p"
3322 else
3323 # As a last resort, use the slow shell script. Don't cache a
3324 # value for MKDIR_P within a source directory, because that will
3325 # break other packages using the cache if that directory is
3326 # removed, or if the value is a relative name.
3327 MKDIR_P="$ac_install_sh -d"
3328 fi
3329fi
3330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3331$as_echo "$MKDIR_P" >&6; }
3332
3333for ac_prog in gawk mawk nawk awk
3334do
3335 # Extract the first word of "$ac_prog", so it can be a program name with args.
3336set dummy $ac_prog; ac_word=$2
3337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338$as_echo_n "checking for $ac_word... " >&6; }
3339if ${ac_cv_prog_AWK+:} false; then :
3340 $as_echo_n "(cached) " >&6
3341else
3342 if test -n "$AWK"; then
3343 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3344else
3345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346for as_dir in $PATH
3347do
3348 IFS=$as_save_IFS
3349 test -z "$as_dir" && as_dir=.
3350 for ac_exec_ext in '' $ac_executable_extensions; do
3351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3352 ac_cv_prog_AWK="$ac_prog"
3353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 break 2
3355 fi
3356done
3357 done
3358IFS=$as_save_IFS
3359
3360fi
3361fi
3362AWK=$ac_cv_prog_AWK
3363if test -n "$AWK"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3365$as_echo "$AWK" >&6; }
3366else
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368$as_echo "no" >&6; }
3369fi
3370
3371
3372 test -n "$AWK" && break
3373done
3374
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3376$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3377set x ${MAKE-make}
3378ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3379if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3380 $as_echo_n "(cached) " >&6
3381else
3382 cat >conftest.make <<\_ACEOF
3383SHELL = /bin/sh
3384all:
3385 @echo '@@@%%%=$(MAKE)=@@@%%%'
3386_ACEOF
3387# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3388case `${MAKE-make} -f conftest.make 2>/dev/null` in
3389 *@@@%%%=?*=@@@%%%*)
3390 eval ac_cv_prog_make_${ac_make}_set=yes;;
3391 *)
3392 eval ac_cv_prog_make_${ac_make}_set=no;;
3393esac
3394rm -f conftest.make
3395fi
3396if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3398$as_echo "yes" >&6; }
3399 SET_MAKE=
3400else
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402$as_echo "no" >&6; }
3403 SET_MAKE="MAKE=${MAKE-make}"
3404fi
3405
3406rm -rf .tst 2>/dev/null
3407mkdir .tst 2>/dev/null
3408if test -d .tst; then
3409 am__leading_dot=.
3410else
3411 am__leading_dot=_
3412fi
3413rmdir .tst 2>/dev/null
3414
3415# Check whether --enable-silent-rules was given.
3416if test "${enable_silent_rules+set}" = set; then :
3417 enableval=$enable_silent_rules;
3418fi
3419
3420case $enable_silent_rules in # (((
3421 yes) AM_DEFAULT_VERBOSITY=0;;
3422 no) AM_DEFAULT_VERBOSITY=1;;
3423 *) AM_DEFAULT_VERBOSITY=1;;
3424esac
3425am_make=${MAKE-make}
3426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3427$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3428if ${am_cv_make_support_nested_variables+:} false; then :
3429 $as_echo_n "(cached) " >&6
3430else
3431 if $as_echo 'TRUE=$(BAR$(V))
3432BAR0=false
3433BAR1=true
3434V=1
3435am__doit:
3436 @$(TRUE)
3437.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3438 am_cv_make_support_nested_variables=yes
3439else
3440 am_cv_make_support_nested_variables=no
3441fi
3442fi
3443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3444$as_echo "$am_cv_make_support_nested_variables" >&6; }
3445if test $am_cv_make_support_nested_variables = yes; then
3446 AM_V='$(V)'
3447 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3448else
3449 AM_V=$AM_DEFAULT_VERBOSITY
3450 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3451fi
3452AM_BACKSLASH='\'
3453
3454if test "`cd $srcdir && pwd`" != "`pwd`"; then
3455 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3456 # is not polluted with repeated "-I."
3457 am__isrc=' -I$(srcdir)'
3458 # test to see if srcdir already configured
3459 if test -f $srcdir/config.status; then
3460 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3461 fi
3462fi
3463
3464# test whether we have cygpath
3465if test -z "$CYGPATH_W"; then
3466 if (cygpath --version) >/dev/null 2>/dev/null; then
3467 CYGPATH_W='cygpath -w'
3468 else
3469 CYGPATH_W=echo
3470 fi
3471fi
3472
3473
3474# Define the identity of the package.
3475 PACKAGE='libgfortran'
3476 VERSION='0.3'
3477
3478
3479# Some tools Automake needs.
3480
3481ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3482
3483
3484AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3485
3486
3487AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3488
3489
3490AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3491
3492
3493MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3494
3495# For better backward compatibility. To be removed once Automake 1.9.x
3496# dies out for good. For more background, see:
3497# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3498# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3499mkdir_p='$(MKDIR_P)'
3500
3501# We need awk for the "check" target (and possibly the TAP driver). The
3502# system "awk" is bad on some platforms.
3503# Always define AMTAR for backward compatibility. Yes, it's still used
3504# in the wild :-( We should find a proper way to deprecate it ...
3505AMTAR='$${TAR-tar}'
3506
3507
3508# We'll loop over all known methods to create a tar archive until one works.
3509_am_tools='gnutar pax cpio none'
3510
3511am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3512
3513
3514
3515
3516
3517
3518# POSIX will say in a future version that running "rm -f" with no argument
3519# is OK; and we want to be able to make that assumption in our Makefile
3520# recipes. So use an aggressive probe to check that the usage we want is
3521# actually supported "in the wild" to an acceptable degree.
3522# See automake bug#10828.
3523# To make any issue more visible, cause the running configure to be aborted
3524# by default if the 'rm' program in use doesn't match our expectations; the
3525# user can still override this though.
3526if rm -f && rm -fr && rm -rf; then : OK; else
3527 cat >&2 <<'END'
3528Oops!
3529
3530Your 'rm' program seems unable to run without file operands specified
3531on the command line, even when the '-f' option is present. This is contrary
3532to the behaviour of most rm programs out there, and not conforming with
3533the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3534
3535Please tell bug-automake@gnu.org about your system, including the value
3536of your $PATH and any error possibly output before this message. This
3537can help us improve future automake versions.
3538
3539END
3540 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3541 echo 'Configuration will proceed anyway, since you have set the' >&2
3542 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3543 echo >&2
3544 else
3545 cat >&2 <<'END'
3546Aborting the configuration process, to ensure you take notice of the issue.
3547
3548You can download and install GNU coreutils to get an 'rm' implementation
3549that behaves properly: <http://www.gnu.org/software/coreutils/>.
3550
3551If you want to complete the configuration process using your problematic
3552'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3553to "yes", and re-run configure.
3554
3555END
3556 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3557 fi
3558fi
3559
3560
3561
3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3563$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3564 # Check whether --enable-maintainer-mode was given.
3565if test "${enable_maintainer_mode+set}" = set; then :
3566 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3567else
3568 USE_MAINTAINER_MODE=no
3569fi
3570
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3572$as_echo "$USE_MAINTAINER_MODE" >&6; }
3573 if test $USE_MAINTAINER_MODE = yes; then
3574 MAINTAINER_MODE_TRUE=
3575 MAINTAINER_MODE_FALSE='#'
3576else
3577 MAINTAINER_MODE_TRUE='#'
3578 MAINTAINER_MODE_FALSE=
3579fi
3580
3581 MAINT=$MAINTAINER_MODE_TRUE
3582
3583
3584# Default to --enable-multilib
3585# Check whether --enable-multilib was given.
3586if test "${enable_multilib+set}" = set; then :
3587 enableval=$enable_multilib; case "$enableval" in
3588 yes) multilib=yes ;;
3589 no) multilib=no ;;
3590 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3591 esac
3592else
3593 multilib=yes
3594fi
3595
3596
3597# We may get other options which we leave undocumented:
3598# --with-target-subdir, --with-multisrctop, --with-multisubdir
3599# See config-ml.in if you want the gory details.
3600
3601if test "$srcdir" = "."; then
3602 if test "$with_target_subdir" != "."; then
3603 multi_basedir="$srcdir/$with_multisrctop../.."
3604 else
3605 multi_basedir="$srcdir/$with_multisrctop.."
3606 fi
3607else
3608 multi_basedir="$srcdir/.."
3609fi
3610
3611
3612# Even if the default multilib is not a cross compilation,
3613# it may be that some of the other multilibs are.
3614if test $cross_compiling = no && test $multilib = yes \
3615 && test "x${with_multisubdir}" != x ; then
3616 cross_compiling=maybe
3617fi
3618
3619ac_config_commands="$ac_config_commands default-1"
3620
3621
3622# Handy for debugging:
3623#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3624
3625# Are we being configured with some form of cross compiler?
3626# NB: We don't actually need to know this just now, but when, say, a test
3627# suite is included, we'll have to know.
3628if test "$build" != "$host"; then
3629 LIBGFOR_IS_NATIVE=false
3630
3631else
3632 LIBGFOR_IS_NATIVE=true
3633fi
3634
3635DEPDIR="${am__leading_dot}deps"
3636
3637ac_config_commands="$ac_config_commands depfiles"
3638
3639
3640am_make=${MAKE-make}
3641cat > confinc << 'END'
3642am__doit:
3643 @echo this is the am__doit target
3644.PHONY: am__doit
3645END
3646# If we don't find an include directive, just comment out the code.
3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3648$as_echo_n "checking for style of include used by $am_make... " >&6; }
3649am__include="#"
3650am__quote=
3651_am_result=none
3652# First try GNU make style include.
3653echo "include confinc" > confmf
3654# Ignore all kinds of additional output from 'make'.
3655case `$am_make -s -f confmf 2> /dev/null` in #(
3656*the\ am__doit\ target*)
3657 am__include=include
3658 am__quote=
3659 _am_result=GNU
3660 ;;
3661esac
3662# Now try BSD make style include.
3663if test "$am__include" = "#"; then
3664 echo '.include "confinc"' > confmf
3665 case `$am_make -s -f confmf 2> /dev/null` in #(
3666 *the\ am__doit\ target*)
3667 am__include=.include
3668 am__quote="\""
3669 _am_result=BSD
3670 ;;
3671 esac
3672fi
3673
3674
3675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3676$as_echo "$_am_result" >&6; }
3677rm -f confinc confmf
3678
3679# Check whether --enable-dependency-tracking was given.
3680if test "${enable_dependency_tracking+set}" = set; then :
3681 enableval=$enable_dependency_tracking;
3682fi
3683
3684if test "x$enable_dependency_tracking" != xno; then
3685 am_depcomp="$ac_aux_dir/depcomp"
3686 AMDEPBACKSLASH='\'
3687 am__nodep='_no'
3688fi
3689 if test "x$enable_dependency_tracking" != xno; then
3690 AMDEP_TRUE=
3691 AMDEP_FALSE='#'
3692else
3693 AMDEP_TRUE='#'
3694 AMDEP_FALSE=
3695fi
3696
3697
3698ac_ext=c
3699ac_cpp='$CPP $CPPFLAGS'
3700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702ac_compiler_gnu=$ac_cv_c_compiler_gnu
3703if test -n "$ac_tool_prefix"; then
3704 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3705set dummy ${ac_tool_prefix}gcc; ac_word=$2
3706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707$as_echo_n "checking for $ac_word... " >&6; }
3708if ${ac_cv_prog_CC+:} false; then :
3709 $as_echo_n "(cached) " >&6
3710else
3711 if test -n "$CC"; then
3712 ac_cv_prog_CC="$CC" # Let the user override the test.
3713else
3714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715for as_dir in $PATH
3716do
3717 IFS=$as_save_IFS
3718 test -z "$as_dir" && as_dir=.
3719 for ac_exec_ext in '' $ac_executable_extensions; do
3720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3721 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 break 2
3724 fi
3725done
3726 done
3727IFS=$as_save_IFS
3728
3729fi
3730fi
3731CC=$ac_cv_prog_CC
3732if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734$as_echo "$CC" >&6; }
3735else
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737$as_echo "no" >&6; }
3738fi
3739
3740
3741fi
3742if test -z "$ac_cv_prog_CC"; then
3743 ac_ct_CC=$CC
3744 # Extract the first word of "gcc", so it can be a program name with args.
3745set dummy gcc; ac_word=$2
3746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747$as_echo_n "checking for $ac_word... " >&6; }
3748if ${ac_cv_prog_ac_ct_CC+:} false; then :
3749 $as_echo_n "(cached) " >&6
3750else
3751 if test -n "$ac_ct_CC"; then
3752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3753else
3754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755for as_dir in $PATH
3756do
3757 IFS=$as_save_IFS
3758 test -z "$as_dir" && as_dir=.
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_ac_ct_CC="gcc"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 break 2
3764 fi
3765done
3766 done
3767IFS=$as_save_IFS
3768
3769fi
3770fi
3771ac_ct_CC=$ac_cv_prog_ac_ct_CC
3772if test -n "$ac_ct_CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3774$as_echo "$ac_ct_CC" >&6; }
3775else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777$as_echo "no" >&6; }
3778fi
3779
3780 if test "x$ac_ct_CC" = x; then
3781 CC=""
3782 else
3783 case $cross_compiling:$ac_tool_warned in
3784yes:)
3785{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3786$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3787ac_tool_warned=yes ;;
3788esac
3789 CC=$ac_ct_CC
3790 fi
3791else
3792 CC="$ac_cv_prog_CC"
3793fi
3794
3795if test -z "$CC"; then
3796 if test -n "$ac_tool_prefix"; then
3797 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3798set dummy ${ac_tool_prefix}cc; ac_word=$2
3799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800$as_echo_n "checking for $ac_word... " >&6; }
3801if ${ac_cv_prog_CC+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803else
3804 if test -n "$CC"; then
3805 ac_cv_prog_CC="$CC" # Let the user override the test.
3806else
3807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808for as_dir in $PATH
3809do
3810 IFS=$as_save_IFS
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_CC="${ac_tool_prefix}cc"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 break 2
3817 fi
3818done
3819 done
3820IFS=$as_save_IFS
3821
3822fi
3823fi
3824CC=$ac_cv_prog_CC
3825if test -n "$CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3827$as_echo "$CC" >&6; }
3828else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830$as_echo "no" >&6; }
3831fi
3832
3833
3834 fi
3835fi
3836if test -z "$CC"; then
3837 # Extract the first word of "cc", so it can be a program name with args.
3838set dummy cc; ac_word=$2
3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840$as_echo_n "checking for $ac_word... " >&6; }
3841if ${ac_cv_prog_CC+:} false; then :
3842 $as_echo_n "(cached) " >&6
3843else
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC="$CC" # Let the user override the test.
3846else
3847 ac_prog_rejected=no
3848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849for as_dir in $PATH
3850do
3851 IFS=$as_save_IFS
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3856 ac_prog_rejected=yes
3857 continue
3858 fi
3859 ac_cv_prog_CC="cc"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 break 2
3862 fi
3863done
3864 done
3865IFS=$as_save_IFS
3866
3867if test $ac_prog_rejected = yes; then
3868 # We found a bogon in the path, so make sure we never use it.
3869 set dummy $ac_cv_prog_CC
3870 shift
3871 if test $# != 0; then
3872 # We chose a different compiler from the bogus one.
3873 # However, it has the same basename, so the bogon will be chosen
3874 # first if we set CC to just the basename; use the full file name.
3875 shift
3876 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3877 fi
3878fi
3879fi
3880fi
3881CC=$ac_cv_prog_CC
3882if test -n "$CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3884$as_echo "$CC" >&6; }
3885else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887$as_echo "no" >&6; }
3888fi
3889
3890
3891fi
3892if test -z "$CC"; then
3893 if test -n "$ac_tool_prefix"; then
3894 for ac_prog in cl.exe
3895 do
3896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3897set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899$as_echo_n "checking for $ac_word... " >&6; }
3900if ${ac_cv_prog_CC+:} false; then :
3901 $as_echo_n "(cached) " >&6
3902else
3903 if test -n "$CC"; then
3904 ac_cv_prog_CC="$CC" # Let the user override the test.
3905else
3906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907for as_dir in $PATH
3908do
3909 IFS=$as_save_IFS
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 break 2
3916 fi
3917done
3918 done
3919IFS=$as_save_IFS
3920
3921fi
3922fi
3923CC=$ac_cv_prog_CC
3924if test -n "$CC"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926$as_echo "$CC" >&6; }
3927else
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929$as_echo "no" >&6; }
3930fi
3931
3932
3933 test -n "$CC" && break
3934 done
3935fi
3936if test -z "$CC"; then
3937 ac_ct_CC=$CC
3938 for ac_prog in cl.exe
3939do
3940 # Extract the first word of "$ac_prog", so it can be a program name with args.
3941set dummy $ac_prog; ac_word=$2
3942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943$as_echo_n "checking for $ac_word... " >&6; }
3944if ${ac_cv_prog_ac_ct_CC+:} false; then :
3945 $as_echo_n "(cached) " >&6
3946else
3947 if test -n "$ac_ct_CC"; then
3948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3949else
3950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951for as_dir in $PATH
3952do
3953 IFS=$as_save_IFS
3954 test -z "$as_dir" && as_dir=.
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957 ac_cv_prog_ac_ct_CC="$ac_prog"
3958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 break 2
3960 fi
3961done
3962 done
3963IFS=$as_save_IFS
3964
3965fi
3966fi
3967ac_ct_CC=$ac_cv_prog_ac_ct_CC
3968if test -n "$ac_ct_CC"; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3970$as_echo "$ac_ct_CC" >&6; }
3971else
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3973$as_echo "no" >&6; }
3974fi
3975
3976
3977 test -n "$ac_ct_CC" && break
3978done
3979
3980 if test "x$ac_ct_CC" = x; then
3981 CC=""
3982 else
3983 case $cross_compiling:$ac_tool_warned in
3984yes:)
3985{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3986$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3987ac_tool_warned=yes ;;
3988esac
3989 CC=$ac_ct_CC
3990 fi
3991fi
3992
3993fi
3994
3995
3996test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3997$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3998as_fn_error $? "no acceptable C compiler found in \$PATH
3999See \`config.log' for more details" "$LINENO" 5; }
4000
4001# Provide some information about the compiler.
4002$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4003set X $ac_compile
4004ac_compiler=$2
4005for ac_option in --version -v -V -qversion; do
4006 { { ac_try="$ac_compiler $ac_option >&5"
4007case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010esac
4011eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012$as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4014 ac_status=$?
4015 if test -s conftest.err; then
4016 sed '10a\
4017... rest of stderr output deleted ...
4018 10q' conftest.err >conftest.er1
4019 cat conftest.er1 >&5
4020 fi
4021 rm -f conftest.er1 conftest.err
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }
4024done
4025
4026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027/* end confdefs.h. */
4028#include <stdio.h>
4029int
4030main ()
4031{
4032printf ("hello world\n");
4033 ;
4034 return 0;
4035}
4036_ACEOF
4037# FIXME: Cleanup?
4038if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4039 (eval $ac_link) 2>&5
4040 ac_status=$?
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4043 gcc_no_link=no
4044else
4045 gcc_no_link=yes
4046fi
4047if test x$gcc_no_link = xyes; then
4048 # Setting cross_compile will disable run tests; it will
4049 # also disable AC_CHECK_FILE but that's generally
4050 # correct if we can't link.
4051 cross_compiling=yes
4052 EXEEXT=
4053else
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055/* end confdefs.h. */
4056
4057int
4058main ()
4059{
4060
4061 ;
4062 return 0;
4063}
4064_ACEOF
4065ac_clean_files_save=$ac_clean_files
4066ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4067# Try to create an executable without -o first, disregard a.out.
4068# It will help us diagnose broken compilers, and finding out an intuition
4069# of exeext.
4070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4071$as_echo_n "checking whether the C compiler works... " >&6; }
4072ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4073
4074# The possible output files:
4075ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4076
4077ac_rmfiles=
4078for ac_file in $ac_files
4079do
4080 case $ac_file in
4081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4082 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4083 esac
4084done
4085rm -f $ac_rmfiles
4086
4087if { { ac_try="$ac_link_default"
4088case "(($ac_try" in
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4091esac
4092eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093$as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_link_default") 2>&5
4095 ac_status=$?
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }; then :
4098 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4099# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4100# in a Makefile. We should not override ac_cv_exeext if it was cached,
4101# so that the user can short-circuit this test for compilers unknown to
4102# Autoconf.
4103for ac_file in $ac_files ''
4104do
4105 test -f "$ac_file" || continue
4106 case $ac_file in
4107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4108 ;;
4109 [ab].out )
4110 # We found the default executable, but exeext='' is most
4111 # certainly right.
4112 break;;
4113 *.* )
4114 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4115 then :; else
4116 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4117 fi
4118 # We set ac_cv_exeext here because the later test for it is not
4119 # safe: cross compilers may not add the suffix if given an `-o'
4120 # argument, so we may need to know it at that point already.
4121 # Even if this section looks crufty: it has the advantage of
4122 # actually working.
4123 break;;
4124 * )
4125 break;;
4126 esac
4127done
4128test "$ac_cv_exeext" = no && ac_cv_exeext=
4129
4130else
4131 ac_file=''
4132fi
4133if test -z "$ac_file"; then :
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135$as_echo "no" >&6; }
4136$as_echo "$as_me: failed program was:" >&5
4137sed 's/^/| /' conftest.$ac_ext >&5
4138
4139{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141as_fn_error 77 "C compiler cannot create executables
4142See \`config.log' for more details" "$LINENO" 5; }
4143else
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4145$as_echo "yes" >&6; }
4146fi
4147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4148$as_echo_n "checking for C compiler default output file name... " >&6; }
4149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4150$as_echo "$ac_file" >&6; }
4151ac_exeext=$ac_cv_exeext
4152
4153rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4154ac_clean_files=$ac_clean_files_save
4155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4156$as_echo_n "checking for suffix of executables... " >&6; }
4157if { { ac_try="$ac_link"
4158case "(($ac_try" in
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4161esac
4162eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163$as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_link") 2>&5
4165 ac_status=$?
4166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167 test $ac_status = 0; }; then :
4168 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4169# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4170# work properly (i.e., refer to `conftest.exe'), while it won't with
4171# `rm'.
4172for ac_file in conftest.exe conftest conftest.*; do
4173 test -f "$ac_file" || continue
4174 case $ac_file in
4175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4176 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4177 break;;
4178 * ) break;;
4179 esac
4180done
4181else
4182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4183$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4184as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4185See \`config.log' for more details" "$LINENO" 5; }
4186fi
4187rm -f conftest conftest$ac_cv_exeext
4188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4189$as_echo "$ac_cv_exeext" >&6; }
4190
4191rm -f conftest.$ac_ext
4192EXEEXT=$ac_cv_exeext
4193ac_exeext=$EXEEXT
4194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195/* end confdefs.h. */
4196#include <stdio.h>
4197int
4198main ()
4199{
4200FILE *f = fopen ("conftest.out", "w");
4201 return ferror (f) || fclose (f) != 0;
4202
4203 ;
4204 return 0;
4205}
4206_ACEOF
4207ac_clean_files="$ac_clean_files conftest.out"
4208# Check that the compiler produces executables we can run. If not, either
4209# the compiler is broken, or we cross compile.
4210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4211$as_echo_n "checking whether we are cross compiling... " >&6; }
4212if test "$cross_compiling" != yes; then
4213 { { ac_try="$ac_link"
4214case "(($ac_try" in
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4217esac
4218eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219$as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_link") 2>&5
4221 ac_status=$?
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }
4224 if { ac_try='./conftest$ac_cv_exeext'
4225 { { case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228esac
4229eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230$as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_try") 2>&5
4232 ac_status=$?
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }; }; then
4235 cross_compiling=no
4236 else
4237 if test "$cross_compiling" = maybe; then
4238 cross_compiling=yes
4239 else
4240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4241$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4242as_fn_error $? "cannot run C compiled programs.
4243If you meant to cross compile, use \`--host'.
4244See \`config.log' for more details" "$LINENO" 5; }
4245 fi
4246 fi
4247fi
4248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4249$as_echo "$cross_compiling" >&6; }
4250
4251rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4252ac_clean_files=$ac_clean_files_save
4253fi
4254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4255$as_echo_n "checking for suffix of object files... " >&6; }
4256if ${ac_cv_objext+:} false; then :
4257 $as_echo_n "(cached) " >&6
4258else
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260/* end confdefs.h. */
4261
4262int
4263main ()
4264{
4265
4266 ;
4267 return 0;
4268}
4269_ACEOF
4270rm -f conftest.o conftest.obj
4271if { { ac_try="$ac_compile"
4272case "(($ac_try" in
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4275esac
4276eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4277$as_echo "$ac_try_echo"; } >&5
4278 (eval "$ac_compile") 2>&5
4279 ac_status=$?
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }; then :
4282 for ac_file in conftest.o conftest.obj conftest.*; do
4283 test -f "$ac_file" || continue;
4284 case $ac_file in
4285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4287 break;;
4288 esac
4289done
4290else
4291 $as_echo "$as_me: failed program was:" >&5
4292sed 's/^/| /' conftest.$ac_ext >&5
4293
4294{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4295$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296as_fn_error $? "cannot compute suffix of object files: cannot compile
4297See \`config.log' for more details" "$LINENO" 5; }
4298fi
4299rm -f conftest.$ac_cv_objext conftest.$ac_ext
4300fi
4301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4302$as_echo "$ac_cv_objext" >&6; }
4303OBJEXT=$ac_cv_objext
4304ac_objext=$OBJEXT
4305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4306$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4307if ${ac_cv_c_compiler_gnu+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309else
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311/* end confdefs.h. */
4312
4313int
4314main ()
4315{
4316#ifndef __GNUC__
4317 choke me
4318#endif
4319
4320 ;
4321 return 0;
4322}
4323_ACEOF
4324if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_compiler_gnu=yes
4326else
4327 ac_compiler_gnu=no
4328fi
4329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330ac_cv_c_compiler_gnu=$ac_compiler_gnu
4331
4332fi
4333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4334$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4335if test $ac_compiler_gnu = yes; then
4336 GCC=yes
4337else
4338 GCC=
4339fi
4340ac_test_CFLAGS=${CFLAGS+set}
4341ac_save_CFLAGS=$CFLAGS
4342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4343$as_echo_n "checking whether $CC accepts -g... " >&6; }
4344if ${ac_cv_prog_cc_g+:} false; then :
4345 $as_echo_n "(cached) " >&6
4346else
4347 ac_save_c_werror_flag=$ac_c_werror_flag
4348 ac_c_werror_flag=yes
4349 ac_cv_prog_cc_g=no
4350 CFLAGS="-g"
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352/* end confdefs.h. */
4353
4354int
4355main ()
4356{
4357
4358 ;
4359 return 0;
4360}
4361_ACEOF
4362if ac_fn_c_try_compile "$LINENO"; then :
4363 ac_cv_prog_cc_g=yes
4364else
4365 CFLAGS=""
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367/* end confdefs.h. */
4368
4369int
4370main ()
4371{
4372
4373 ;
4374 return 0;
4375}
4376_ACEOF
4377if ac_fn_c_try_compile "$LINENO"; then :
4378
4379else
4380 ac_c_werror_flag=$ac_save_c_werror_flag
4381 CFLAGS="-g"
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383/* end confdefs.h. */
4384
4385int
4386main ()
4387{
4388
4389 ;
4390 return 0;
4391}
4392_ACEOF
4393if ac_fn_c_try_compile "$LINENO"; then :
4394 ac_cv_prog_cc_g=yes
4395fi
4396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4397fi
4398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399fi
4400rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 ac_c_werror_flag=$ac_save_c_werror_flag
4402fi
4403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4404$as_echo "$ac_cv_prog_cc_g" >&6; }
4405if test "$ac_test_CFLAGS" = set; then
4406 CFLAGS=$ac_save_CFLAGS
4407elif test $ac_cv_prog_cc_g = yes; then
4408 if test "$GCC" = yes; then
4409 CFLAGS="-g -O2"
4410 else
4411 CFLAGS="-g"
4412 fi
4413else
4414 if test "$GCC" = yes; then
4415 CFLAGS="-O2"
4416 else
4417 CFLAGS=
4418 fi
4419fi
4420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4421$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4422if ${ac_cv_prog_cc_c89+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424else
4425 ac_cv_prog_cc_c89=no
4426ac_save_CC=$CC
4427cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428/* end confdefs.h. */
4429#include <stdarg.h>
4430#include <stdio.h>
4431struct stat;
4432/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4433struct buf { int x; };
4434FILE * (*rcsopen) (struct buf *, struct stat *, int);
4435static char *e (p, i)
4436 char **p;
4437 int i;
4438{
4439 return p[i];
4440}
4441static char *f (char * (*g) (char **, int), char **p, ...)
4442{
4443 char *s;
4444 va_list v;
4445 va_start (v,p);
4446 s = g (p, va_arg (v,int));
4447 va_end (v);
4448 return s;
4449}
4450
4451/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4452 function prototypes and stuff, but not '\xHH' hex character constants.
4453 These don't provoke an error unfortunately, instead are silently treated
4454 as 'x'. The following induces an error, until -std is added to get
4455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4456 array size at least. It's necessary to write '\x00'==0 to get something
4457 that's true only with -std. */
4458int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4459
4460/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4461 inside strings and character constants. */
4462#define FOO(x) 'x'
4463int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4464
4465int test (int i, double x);
4466struct s1 {int (*f) (int a);};
4467struct s2 {int (*f) (double a);};
4468int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4469int argc;
4470char **argv;
4471int
4472main ()
4473{
4474return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4475 ;
4476 return 0;
4477}
4478_ACEOF
4479for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4480 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4481do
4482 CC="$ac_save_CC $ac_arg"
4483 if ac_fn_c_try_compile "$LINENO"; then :
4484 ac_cv_prog_cc_c89=$ac_arg
4485fi
4486rm -f core conftest.err conftest.$ac_objext
4487 test "x$ac_cv_prog_cc_c89" != "xno" && break
4488done
4489rm -f conftest.$ac_ext
4490CC=$ac_save_CC
4491
4492fi
4493# AC_CACHE_VAL
4494case "x$ac_cv_prog_cc_c89" in
4495 x)
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4497$as_echo "none needed" >&6; } ;;
4498 xno)
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4500$as_echo "unsupported" >&6; } ;;
4501 *)
4502 CC="$CC $ac_cv_prog_cc_c89"
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4504$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4505esac
4506if test "x$ac_cv_prog_cc_c89" != xno; then :
4507
4508fi
4509
4510ac_ext=c
4511ac_cpp='$CPP $CPPFLAGS'
4512ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515
4516ac_ext=c
4517ac_cpp='$CPP $CPPFLAGS'
4518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4520ac_compiler_gnu=$ac_cv_c_compiler_gnu
4521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4522$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4523if ${am_cv_prog_cc_c_o+:} false; then :
4524 $as_echo_n "(cached) " >&6
4525else
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527/* end confdefs.h. */
4528
4529int
4530main ()
4531{
4532
4533 ;
4534 return 0;
4535}
4536_ACEOF
4537 # Make sure it works both with $CC and with simple cc.
4538 # Following AC_PROG_CC_C_O, we do the test twice because some
4539 # compilers refuse to overwrite an existing .o file with -o,
4540 # though they will create one.
4541 am_cv_prog_cc_c_o=yes
4542 for am_i in 1 2; do
4543 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4544 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4545 ac_status=$?
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } \
4548 && test -f conftest2.$ac_objext; then
4549 : OK
4550 else
4551 am_cv_prog_cc_c_o=no
4552 break
4553 fi
4554 done
4555 rm -f core conftest*
4556 unset am_i
4557fi
4558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4559$as_echo "$am_cv_prog_cc_c_o" >&6; }
4560if test "$am_cv_prog_cc_c_o" != yes; then
4561 # Losing compiler, so override with the script.
4562 # FIXME: It is wrong to rewrite CC.
4563 # But if we don't then we get into trouble of one sort or another.
4564 # A longer-term fix would be to have automake use am__CC in this case,
4565 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4566 CC="$am_aux_dir/compile $CC"
4567fi
4568ac_ext=c
4569ac_cpp='$CPP $CPPFLAGS'
4570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4572ac_compiler_gnu=$ac_cv_c_compiler_gnu
4573
4574
4575depcc="$CC" am_compiler_list=
4576
4577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4578$as_echo_n "checking dependency style of $depcc... " >&6; }
4579if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581else
4582 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4583 # We make a subdir and do the tests there. Otherwise we can end up
4584 # making bogus files that we don't know about and never remove. For
4585 # instance it was reported that on HP-UX the gcc test will end up
4586 # making a dummy file named 'D' -- because '-MD' means "put the output
4587 # in D".
4588 rm -rf conftest.dir
4589 mkdir conftest.dir
4590 # Copy depcomp to subdir because otherwise we won't find it if we're
4591 # using a relative directory.
4592 cp "$am_depcomp" conftest.dir
4593 cd conftest.dir
4594 # We will build objects and dependencies in a subdirectory because
4595 # it helps to detect inapplicable dependency modes. For instance
4596 # both Tru64's cc and ICC support -MD to output dependencies as a
4597 # side effect of compilation, but ICC will put the dependencies in
4598 # the current directory while Tru64 will put them in the object
4599 # directory.
4600 mkdir sub
4601
4602 am_cv_CC_dependencies_compiler_type=none
4603 if test "$am_compiler_list" = ""; then
4604 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4605 fi
4606 am__universal=false
4607 case " $depcc " in #(
4608 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4609 esac
4610
4611 for depmode in $am_compiler_list; do
4612 # Setup a source with many dependencies, because some compilers
4613 # like to wrap large dependency lists on column 80 (with \), and
4614 # we should not choose a depcomp mode which is confused by this.
4615 #
4616 # We need to recreate these files for each test, as the compiler may
4617 # overwrite some of them when testing with obscure command lines.
4618 # This happens at least with the AIX C compiler.
4619 : > sub/conftest.c
4620 for i in 1 2 3 4 5 6; do
4621 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4622 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4623 # Solaris 10 /bin/sh.
4624 echo '/* dummy */' > sub/conftst$i.h
4625 done
4626 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4627
4628 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4629 # mode. It turns out that the SunPro C++ compiler does not properly
4630 # handle '-M -o', and we need to detect this. Also, some Intel
4631 # versions had trouble with output in subdirs.
4632 am__obj=sub/conftest.${OBJEXT-o}
4633 am__minus_obj="-o $am__obj"
4634 case $depmode in
4635 gcc)
4636 # This depmode causes a compiler race in universal mode.
4637 test "$am__universal" = false || continue
4638 ;;
4639 nosideeffect)
4640 # After this tag, mechanisms are not by side-effect, so they'll
4641 # only be used when explicitly requested.
4642 if test "x$enable_dependency_tracking" = xyes; then
4643 continue
4644 else
4645 break
4646 fi
4647 ;;
4648 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4649 # This compiler won't grok '-c -o', but also, the minuso test has
4650 # not run yet. These depmodes are late enough in the game, and
4651 # so weak that their functioning should not be impacted.
4652 am__obj=conftest.${OBJEXT-o}
4653 am__minus_obj=
4654 ;;
4655 none) break ;;
4656 esac
4657 if depmode=$depmode \
4658 source=sub/conftest.c object=$am__obj \
4659 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4660 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4661 >/dev/null 2>conftest.err &&
4662 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4663 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4664 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4665 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4666 # icc doesn't choke on unknown options, it will just issue warnings
4667 # or remarks (even with -Werror). So we grep stderr for any message
4668 # that says an option was ignored or not supported.
4669 # When given -MP, icc 7.0 and 7.1 complain thusly:
4670 # icc: Command line warning: ignoring option '-M'; no argument required
4671 # The diagnosis changed in icc 8.0:
4672 # icc: Command line remark: option '-MP' not supported
4673 if (grep 'ignoring option' conftest.err ||
4674 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4675 am_cv_CC_dependencies_compiler_type=$depmode
4676 break
4677 fi
4678 fi
4679 done
4680
4681 cd ..
4682 rm -rf conftest.dir
4683else
4684 am_cv_CC_dependencies_compiler_type=none
4685fi
4686
4687fi
4688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4689$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4690CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4691
4692 if
4693 test "x$enable_dependency_tracking" != xno \
4694 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4695 am__fastdepCC_TRUE=
4696 am__fastdepCC_FALSE='#'
4697else
4698 am__fastdepCC_TRUE='#'
4699 am__fastdepCC_FALSE=
4700fi
4701
4702
4703
4704ac_ext=c
4705ac_cpp='$CPP $CPPFLAGS'
4706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708ac_compiler_gnu=$ac_cv_c_compiler_gnu
4709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4710$as_echo_n "checking how to run the C preprocessor... " >&6; }
4711# On Suns, sometimes $CPP names a directory.
4712if test -n "$CPP" && test -d "$CPP"; then
4713 CPP=
4714fi
4715if test -z "$CPP"; then
4716 if ${ac_cv_prog_CPP+:} false; then :
4717 $as_echo_n "(cached) " >&6
4718else
4719 # Double quotes because CPP needs to be expanded
4720 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4721 do
4722 ac_preproc_ok=false
4723for ac_c_preproc_warn_flag in '' yes
4724do
4725 # Use a header file that comes with gcc, so configuring glibc
4726 # with a fresh cross-compiler works.
4727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 # <limits.h> exists even on freestanding compilers.
4729 # On the NeXT, cc -E runs the code through the compiler's parser,
4730 # not just through cpp. "Syntax error" is here to catch this case.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732/* end confdefs.h. */
4733#ifdef __STDC__
4734# include <limits.h>
4735#else
4736# include <assert.h>
4737#endif
4738 Syntax error
4739_ACEOF
4740if ac_fn_c_try_cpp "$LINENO"; then :
4741
4742else
4743 # Broken: fails on valid input.
4744continue
4745fi
4746rm -f conftest.err conftest.i conftest.$ac_ext
4747
4748 # OK, works on sane cases. Now check whether nonexistent headers
4749 # can be detected and how.
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751/* end confdefs.h. */
4752#include <ac_nonexistent.h>
4753_ACEOF
4754if ac_fn_c_try_cpp "$LINENO"; then :
4755 # Broken: success on invalid input.
4756continue
4757else
4758 # Passes both tests.
4759ac_preproc_ok=:
4760break
4761fi
4762rm -f conftest.err conftest.i conftest.$ac_ext
4763
4764done
4765# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4766rm -f conftest.i conftest.err conftest.$ac_ext
4767if $ac_preproc_ok; then :
4768 break
4769fi
4770
4771 done
4772 ac_cv_prog_CPP=$CPP
4773
4774fi
4775 CPP=$ac_cv_prog_CPP
4776else
4777 ac_cv_prog_CPP=$CPP
4778fi
4779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4780$as_echo "$CPP" >&6; }
4781ac_preproc_ok=false
4782for ac_c_preproc_warn_flag in '' yes
4783do
4784 # Use a header file that comes with gcc, so configuring glibc
4785 # with a fresh cross-compiler works.
4786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4787 # <limits.h> exists even on freestanding compilers.
4788 # On the NeXT, cc -E runs the code through the compiler's parser,
4789 # not just through cpp. "Syntax error" is here to catch this case.
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791/* end confdefs.h. */
4792#ifdef __STDC__
4793# include <limits.h>
4794#else
4795# include <assert.h>
4796#endif
4797 Syntax error
4798_ACEOF
4799if ac_fn_c_try_cpp "$LINENO"; then :
4800
4801else
4802 # Broken: fails on valid input.
4803continue
4804fi
4805rm -f conftest.err conftest.i conftest.$ac_ext
4806
4807 # OK, works on sane cases. Now check whether nonexistent headers
4808 # can be detected and how.
4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810/* end confdefs.h. */
4811#include <ac_nonexistent.h>
4812_ACEOF
4813if ac_fn_c_try_cpp "$LINENO"; then :
4814 # Broken: success on invalid input.
4815continue
4816else
4817 # Passes both tests.
4818ac_preproc_ok=:
4819break
4820fi
4821rm -f conftest.err conftest.i conftest.$ac_ext
4822
4823done
4824# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4825rm -f conftest.i conftest.err conftest.$ac_ext
4826if $ac_preproc_ok; then :
4827
4828else
4829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4831as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4832See \`config.log' for more details" "$LINENO" 5; }
4833fi
4834
4835ac_ext=c
4836ac_cpp='$CPP $CPPFLAGS'
4837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839ac_compiler_gnu=$ac_cv_c_compiler_gnu
4840
4841
4842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4843$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4844if ${ac_cv_path_GREP+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846else
4847 if test -z "$GREP"; then
4848 ac_path_GREP_found=false
4849 # Loop through the user's path and test for each of PROGNAME-LIST
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4852do
4853 IFS=$as_save_IFS
4854 test -z "$as_dir" && as_dir=.
4855 for ac_prog in grep ggrep; do
4856 for ac_exec_ext in '' $ac_executable_extensions; do
4857 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4858 as_fn_executable_p "$ac_path_GREP" || continue
4859# Check for GNU ac_path_GREP and select it if it is found.
4860 # Check for GNU $ac_path_GREP
4861case `"$ac_path_GREP" --version 2>&1` in
4862*GNU*)
4863 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4864*)
4865 ac_count=0
4866 $as_echo_n 0123456789 >"conftest.in"
4867 while :
4868 do
4869 cat "conftest.in" "conftest.in" >"conftest.tmp"
4870 mv "conftest.tmp" "conftest.in"
4871 cp "conftest.in" "conftest.nl"
4872 $as_echo 'GREP' >> "conftest.nl"
4873 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4874 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4875 as_fn_arith $ac_count + 1 && ac_count=$as_val
4876 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4877 # Best one so far, save it but keep looking for a better one
4878 ac_cv_path_GREP="$ac_path_GREP"
4879 ac_path_GREP_max=$ac_count
4880 fi
4881 # 10*(2^10) chars as input seems more than enough
4882 test $ac_count -gt 10 && break
4883 done
4884 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4885esac
4886
4887 $ac_path_GREP_found && break 3
4888 done
4889 done
4890 done
4891IFS=$as_save_IFS
4892 if test -z "$ac_cv_path_GREP"; then
4893 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4894 fi
4895else
4896 ac_cv_path_GREP=$GREP
4897fi
4898
4899fi
4900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4901$as_echo "$ac_cv_path_GREP" >&6; }
4902 GREP="$ac_cv_path_GREP"
4903
4904
4905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4906$as_echo_n "checking for egrep... " >&6; }
4907if ${ac_cv_path_EGREP+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909else
4910 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4911 then ac_cv_path_EGREP="$GREP -E"
4912 else
4913 if test -z "$EGREP"; then
4914 ac_path_EGREP_found=false
4915 # Loop through the user's path and test for each of PROGNAME-LIST
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4918do
4919 IFS=$as_save_IFS
4920 test -z "$as_dir" && as_dir=.
4921 for ac_prog in egrep; do
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4924 as_fn_executable_p "$ac_path_EGREP" || continue
4925# Check for GNU ac_path_EGREP and select it if it is found.
4926 # Check for GNU $ac_path_EGREP
4927case `"$ac_path_EGREP" --version 2>&1` in
4928*GNU*)
4929 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4930*)
4931 ac_count=0
4932 $as_echo_n 0123456789 >"conftest.in"
4933 while :
4934 do
4935 cat "conftest.in" "conftest.in" >"conftest.tmp"
4936 mv "conftest.tmp" "conftest.in"
4937 cp "conftest.in" "conftest.nl"
4938 $as_echo 'EGREP' >> "conftest.nl"
4939 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4940 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4941 as_fn_arith $ac_count + 1 && ac_count=$as_val
4942 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4943 # Best one so far, save it but keep looking for a better one
4944 ac_cv_path_EGREP="$ac_path_EGREP"
4945 ac_path_EGREP_max=$ac_count
4946 fi
4947 # 10*(2^10) chars as input seems more than enough
4948 test $ac_count -gt 10 && break
4949 done
4950 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4951esac
4952
4953 $ac_path_EGREP_found && break 3
4954 done
4955 done
4956 done
4957IFS=$as_save_IFS
4958 if test -z "$ac_cv_path_EGREP"; then
4959 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4960 fi
4961else
4962 ac_cv_path_EGREP=$EGREP
4963fi
4964
4965 fi
4966fi
4967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4968$as_echo "$ac_cv_path_EGREP" >&6; }
4969 EGREP="$ac_cv_path_EGREP"
4970
4971
4972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4973$as_echo_n "checking for ANSI C header files... " >&6; }
4974if ${ac_cv_header_stdc+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976else
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978/* end confdefs.h. */
4979#include <stdlib.h>
4980#include <stdarg.h>
4981#include <string.h>
4982#include <float.h>
4983
4984int
4985main ()
4986{
4987
4988 ;
4989 return 0;
4990}
4991_ACEOF
4992if ac_fn_c_try_compile "$LINENO"; then :
4993 ac_cv_header_stdc=yes
4994else
4995 ac_cv_header_stdc=no
4996fi
4997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998
4999if test $ac_cv_header_stdc = yes; then
5000 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002/* end confdefs.h. */
5003#include <string.h>
5004
5005_ACEOF
5006if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5007 $EGREP "memchr" >/dev/null 2>&1; then :
5008
5009else
5010 ac_cv_header_stdc=no
5011fi
5012rm -f conftest*
5013
5014fi
5015
5016if test $ac_cv_header_stdc = yes; then
5017 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019/* end confdefs.h. */
5020#include <stdlib.h>
5021
5022_ACEOF
5023if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5024 $EGREP "free" >/dev/null 2>&1; then :
5025
5026else
5027 ac_cv_header_stdc=no
5028fi
5029rm -f conftest*
5030
5031fi
5032
5033if test $ac_cv_header_stdc = yes; then
5034 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5035 if test "$cross_compiling" = yes; then :
5036 :
5037else
5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039/* end confdefs.h. */
5040#include <ctype.h>
5041#include <stdlib.h>
5042#if ((' ' & 0x0FF) == 0x020)
5043# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5044# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5045#else
5046# define ISLOWER(c) \
5047 (('a' <= (c) && (c) <= 'i') \
5048 || ('j' <= (c) && (c) <= 'r') \
5049 || ('s' <= (c) && (c) <= 'z'))
5050# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5051#endif
5052
5053#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5054int
5055main ()
5056{
5057 int i;
5058 for (i = 0; i < 256; i++)
5059 if (XOR (islower (i), ISLOWER (i))
5060 || toupper (i) != TOUPPER (i))
5061 return 2;
5062 return 0;
5063}
5064_ACEOF
5065if ac_fn_c_try_run "$LINENO"; then :
5066
5067else
5068 ac_cv_header_stdc=no
5069fi
5070rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5071 conftest.$ac_objext conftest.beam conftest.$ac_ext
5072fi
5073
5074fi
5075fi
5076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5077$as_echo "$ac_cv_header_stdc" >&6; }
5078if test $ac_cv_header_stdc = yes; then
5079
5080$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5081
5082fi
5083
5084# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5085for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5086 inttypes.h stdint.h unistd.h
5087do :
5088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5089ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5090"
5091if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5092 cat >>confdefs.h <<_ACEOF
5093#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5094_ACEOF
5095
5096fi
5097
5098done
5099
5100
5101
5102 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5103if test "x$ac_cv_header_minix_config_h" = xyes; then :
5104 MINIX=yes
5105else
5106 MINIX=
5107fi
5108
5109
5110 if test "$MINIX" = yes; then
5111
5112$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5113
5114
5115$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5116
5117
5118$as_echo "#define _MINIX 1" >>confdefs.h
5119
5120 fi
5121
5122
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5124$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5125if ${ac_cv_safe_to_define___extensions__+:} false; then :
5126 $as_echo_n "(cached) " >&6
5127else
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129/* end confdefs.h. */
5130
5131# define __EXTENSIONS__ 1
5132 $ac_includes_default
5133int
5134main ()
5135{
5136
5137 ;
5138 return 0;
5139}
5140_ACEOF
5141if ac_fn_c_try_compile "$LINENO"; then :
5142 ac_cv_safe_to_define___extensions__=yes
5143else
5144 ac_cv_safe_to_define___extensions__=no
5145fi
5146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5147fi
5148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5149$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5150 test $ac_cv_safe_to_define___extensions__ = yes &&
5151 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5152
5153 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5154
5155 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5156
5157 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5158
5159 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5160
5161
5162
5163
5164# Check whether --with-toolexeclibdir was given.
5165if test "${with_toolexeclibdir+set}" = set; then :
5166 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5167 /)
5168 ;;
5169 */)
5170 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5171 ;;
5172esac
5173else
5174 with_toolexeclibdir=no
5175fi
5176
5177
5178
5179# Calculate toolexeclibdir
5180# Also toolexecdir, though it's only used in toolexeclibdir
5181case ${version_specific_libs} in
5182 yes)
5183 # Need the gcc compiler version to know where to install libraries
5184 # and header files if --enable-version-specific-runtime-libs option
5185 # is selected.
5186 toolexecdir='$(libdir)/gcc/$(target_alias)'
5187 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5188 ;;
5189 no)
5190 if test -n "$with_cross_host" &&
5191 test x"$with_cross_host" != x"no"; then
5192 # Install a library built with a cross compiler in tooldir, not libdir.
5193 toolexecdir='$(exec_prefix)/$(target_alias)'
5194 case ${with_toolexeclibdir} in
5195 no)
5196 toolexeclibdir='$(toolexecdir)/lib'
5197 ;;
5198 *)
5199 toolexeclibdir=${with_toolexeclibdir}
5200 ;;
5201 esac
5202 else
5203 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5204 toolexeclibdir='$(libdir)'
5205 fi
5206 multi_os_directory=`$CC -print-multi-os-directory`
5207 case $multi_os_directory in
5208 .) ;; # Avoid trailing /.
5209 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5210 esac
5211 ;;
5212esac
5213
5214
5215
5216# Create a spec file, so that compile/link tests don't fail
5217test -f libgfortran.spec || touch libgfortran.spec
5218
5219ac_ext=c
5220ac_cpp='$CPP $CPPFLAGS'
5221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223ac_compiler_gnu=$ac_cv_c_compiler_gnu
5224
5225# Check the compiler.
5226# The same as in boehm-gc and libstdc++. Have to borrow it from there.
5227# We must force CC to /not/ be precious variables; otherwise
5228# the wrong, non-multilib-adjusted value will be used in multilibs.
5229# As a side effect, we have to subst CFLAGS ourselves.
5230
5231
5232
5233ac_ext=c
5234ac_cpp='$CPP $CPPFLAGS'
5235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5237ac_compiler_gnu=$ac_cv_c_compiler_gnu
5238if test -n "$ac_tool_prefix"; then
5239 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5240set dummy ${ac_tool_prefix}gcc; ac_word=$2
5241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242$as_echo_n "checking for $ac_word... " >&6; }
5243if ${ac_cv_prog_CC+:} false; then :
5244 $as_echo_n "(cached) " >&6
5245else
5246 if test -n "$CC"; then
5247 ac_cv_prog_CC="$CC" # Let the user override the test.
5248else
5249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250for as_dir in $PATH
5251do
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5259 fi
5260done
5261 done
5262IFS=$as_save_IFS
5263
5264fi
5265fi
5266CC=$ac_cv_prog_CC
5267if test -n "$CC"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5269$as_echo "$CC" >&6; }
5270else
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272$as_echo "no" >&6; }
5273fi
5274
5275
5276fi
5277if test -z "$ac_cv_prog_CC"; then
5278 ac_ct_CC=$CC
5279 # Extract the first word of "gcc", so it can be a program name with args.
5280set dummy gcc; ac_word=$2
5281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282$as_echo_n "checking for $ac_word... " >&6; }
5283if ${ac_cv_prog_ac_ct_CC+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285else
5286 if test -n "$ac_ct_CC"; then
5287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5288else
5289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290for as_dir in $PATH
5291do
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_ac_ct_CC="gcc"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2
5299 fi
5300done
5301 done
5302IFS=$as_save_IFS
5303
5304fi
5305fi
5306ac_ct_CC=$ac_cv_prog_ac_ct_CC
5307if test -n "$ac_ct_CC"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5309$as_echo "$ac_ct_CC" >&6; }
5310else
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312$as_echo "no" >&6; }
5313fi
5314
5315 if test "x$ac_ct_CC" = x; then
5316 CC=""
5317 else
5318 case $cross_compiling:$ac_tool_warned in
5319yes:)
5320{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5321$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5322ac_tool_warned=yes ;;
5323esac
5324 CC=$ac_ct_CC
5325 fi
5326else
5327 CC="$ac_cv_prog_CC"
5328fi
5329
5330if test -z "$CC"; then
5331 if test -n "$ac_tool_prefix"; then
5332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5333set dummy ${ac_tool_prefix}cc; ac_word=$2
5334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335$as_echo_n "checking for $ac_word... " >&6; }
5336if ${ac_cv_prog_CC+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338else
5339 if test -n "$CC"; then
5340 ac_cv_prog_CC="$CC" # Let the user override the test.
5341else
5342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343for as_dir in $PATH
5344do
5345 IFS=$as_save_IFS
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_prog_CC="${ac_tool_prefix}cc"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 break 2
5352 fi
5353done
5354 done
5355IFS=$as_save_IFS
5356
5357fi
5358fi
5359CC=$ac_cv_prog_CC
5360if test -n "$CC"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5362$as_echo "$CC" >&6; }
5363else
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365$as_echo "no" >&6; }
5366fi
5367
5368
5369 fi
5370fi
5371if test -z "$CC"; then
5372 # Extract the first word of "cc", so it can be a program name with args.
5373set dummy cc; ac_word=$2
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375$as_echo_n "checking for $ac_word... " >&6; }
5376if ${ac_cv_prog_CC+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378else
5379 if test -n "$CC"; then
5380 ac_cv_prog_CC="$CC" # Let the user override the test.
5381else
5382 ac_prog_rejected=no
5383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384for as_dir in $PATH
5385do
5386 IFS=$as_save_IFS
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5390 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5391 ac_prog_rejected=yes
5392 continue
5393 fi
5394 ac_cv_prog_CC="cc"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5397 fi
5398done
5399 done
5400IFS=$as_save_IFS
5401
5402if test $ac_prog_rejected = yes; then
5403 # We found a bogon in the path, so make sure we never use it.
5404 set dummy $ac_cv_prog_CC
5405 shift
5406 if test $# != 0; then
5407 # We chose a different compiler from the bogus one.
5408 # However, it has the same basename, so the bogon will be chosen
5409 # first if we set CC to just the basename; use the full file name.
5410 shift
5411 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5412 fi
5413fi
5414fi
5415fi
5416CC=$ac_cv_prog_CC
5417if test -n "$CC"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5419$as_echo "$CC" >&6; }
5420else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422$as_echo "no" >&6; }
5423fi
5424
5425
5426fi
5427if test -z "$CC"; then
5428 if test -n "$ac_tool_prefix"; then
5429 for ac_prog in cl.exe
5430 do
5431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5432set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434$as_echo_n "checking for $ac_word... " >&6; }
5435if ${ac_cv_prog_CC+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437else
5438 if test -n "$CC"; then
5439 ac_cv_prog_CC="$CC" # Let the user override the test.
5440else
5441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442for as_dir in $PATH
5443do
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5451 fi
5452done
5453 done
5454IFS=$as_save_IFS
5455
5456fi
5457fi
5458CC=$ac_cv_prog_CC
5459if test -n "$CC"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5461$as_echo "$CC" >&6; }
5462else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464$as_echo "no" >&6; }
5465fi
5466
5467
5468 test -n "$CC" && break
5469 done
5470fi
5471if test -z "$CC"; then
5472 ac_ct_CC=$CC
5473 for ac_prog in cl.exe
5474do
5475 # Extract the first word of "$ac_prog", so it can be a program name with args.
5476set dummy $ac_prog; ac_word=$2
5477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478$as_echo_n "checking for $ac_word... " >&6; }
5479if ${ac_cv_prog_ac_ct_CC+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481else
5482 if test -n "$ac_ct_CC"; then
5483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5484else
5485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486for as_dir in $PATH
5487do
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_ac_ct_CC="$ac_prog"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5495 fi
5496done
5497 done
5498IFS=$as_save_IFS
5499
5500fi
5501fi
5502ac_ct_CC=$ac_cv_prog_ac_ct_CC
5503if test -n "$ac_ct_CC"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5505$as_echo "$ac_ct_CC" >&6; }
5506else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508$as_echo "no" >&6; }
5509fi
5510
5511
5512 test -n "$ac_ct_CC" && break
5513done
5514
5515 if test "x$ac_ct_CC" = x; then
5516 CC=""
5517 else
5518 case $cross_compiling:$ac_tool_warned in
5519yes:)
5520{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5521$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5522ac_tool_warned=yes ;;
5523esac
5524 CC=$ac_ct_CC
5525 fi
5526fi
5527
5528fi
5529
5530
5531test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5532$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5533as_fn_error $? "no acceptable C compiler found in \$PATH
5534See \`config.log' for more details" "$LINENO" 5; }
5535
5536# Provide some information about the compiler.
5537$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5538set X $ac_compile
5539ac_compiler=$2
5540for ac_option in --version -v -V -qversion; do
5541 { { ac_try="$ac_compiler $ac_option >&5"
5542case "(($ac_try" in
5543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5544 *) ac_try_echo=$ac_try;;
5545esac
5546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5547$as_echo "$ac_try_echo"; } >&5
5548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5549 ac_status=$?
5550 if test -s conftest.err; then
5551 sed '10a\
5552... rest of stderr output deleted ...
5553 10q' conftest.err >conftest.er1
5554 cat conftest.er1 >&5
5555 fi
5556 rm -f conftest.er1 conftest.err
5557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5558 test $ac_status = 0; }
5559done
5560
5561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5562$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5563if ${ac_cv_c_compiler_gnu+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565else
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567/* end confdefs.h. */
5568
5569int
5570main ()
5571{
5572#ifndef __GNUC__
5573 choke me
5574#endif
5575
5576 ;
5577 return 0;
5578}
5579_ACEOF
5580if ac_fn_c_try_compile "$LINENO"; then :
5581 ac_compiler_gnu=yes
5582else
5583 ac_compiler_gnu=no
5584fi
5585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5586ac_cv_c_compiler_gnu=$ac_compiler_gnu
5587
5588fi
5589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5590$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5591if test $ac_compiler_gnu = yes; then
5592 GCC=yes
5593else
5594 GCC=
5595fi
5596ac_test_CFLAGS=${CFLAGS+set}
5597ac_save_CFLAGS=$CFLAGS
5598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5599$as_echo_n "checking whether $CC accepts -g... " >&6; }
5600if ${ac_cv_prog_cc_g+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602else
5603 ac_save_c_werror_flag=$ac_c_werror_flag
5604 ac_c_werror_flag=yes
5605 ac_cv_prog_cc_g=no
5606 CFLAGS="-g"
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608/* end confdefs.h. */
5609
5610int
5611main ()
5612{
5613
5614 ;
5615 return 0;
5616}
5617_ACEOF
5618if ac_fn_c_try_compile "$LINENO"; then :
5619 ac_cv_prog_cc_g=yes
5620else
5621 CFLAGS=""
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623/* end confdefs.h. */
5624
5625int
5626main ()
5627{
5628
5629 ;
5630 return 0;
5631}
5632_ACEOF
5633if ac_fn_c_try_compile "$LINENO"; then :
5634
5635else
5636 ac_c_werror_flag=$ac_save_c_werror_flag
5637 CFLAGS="-g"
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639/* end confdefs.h. */
5640
5641int
5642main ()
5643{
5644
5645 ;
5646 return 0;
5647}
5648_ACEOF
5649if ac_fn_c_try_compile "$LINENO"; then :
5650 ac_cv_prog_cc_g=yes
5651fi
5652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5653fi
5654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5655fi
5656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5657 ac_c_werror_flag=$ac_save_c_werror_flag
5658fi
5659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5660$as_echo "$ac_cv_prog_cc_g" >&6; }
5661if test "$ac_test_CFLAGS" = set; then
5662 CFLAGS=$ac_save_CFLAGS
5663elif test $ac_cv_prog_cc_g = yes; then
5664 if test "$GCC" = yes; then
5665 CFLAGS="-g -O2"
5666 else
5667 CFLAGS="-g"
5668 fi
5669else
5670 if test "$GCC" = yes; then
5671 CFLAGS="-O2"
5672 else
5673 CFLAGS=
5674 fi
5675fi
5676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5677$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5678if ${ac_cv_prog_cc_c89+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680else
5681 ac_cv_prog_cc_c89=no
5682ac_save_CC=$CC
5683cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684/* end confdefs.h. */
5685#include <stdarg.h>
5686#include <stdio.h>
5687struct stat;
5688/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5689struct buf { int x; };
5690FILE * (*rcsopen) (struct buf *, struct stat *, int);
5691static char *e (p, i)
5692 char **p;
5693 int i;
5694{
5695 return p[i];
5696}
5697static char *f (char * (*g) (char **, int), char **p, ...)
5698{
5699 char *s;
5700 va_list v;
5701 va_start (v,p);
5702 s = g (p, va_arg (v,int));
5703 va_end (v);
5704 return s;
5705}
5706
5707/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5708 function prototypes and stuff, but not '\xHH' hex character constants.
5709 These don't provoke an error unfortunately, instead are silently treated
5710 as 'x'. The following induces an error, until -std is added to get
5711 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5712 array size at least. It's necessary to write '\x00'==0 to get something
5713 that's true only with -std. */
5714int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5715
5716/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5717 inside strings and character constants. */
5718#define FOO(x) 'x'
5719int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5720
5721int test (int i, double x);
5722struct s1 {int (*f) (int a);};
5723struct s2 {int (*f) (double a);};
5724int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5725int argc;
5726char **argv;
5727int
5728main ()
5729{
5730return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5731 ;
5732 return 0;
5733}
5734_ACEOF
5735for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5736 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5737do
5738 CC="$ac_save_CC $ac_arg"
5739 if ac_fn_c_try_compile "$LINENO"; then :
5740 ac_cv_prog_cc_c89=$ac_arg
5741fi
5742rm -f core conftest.err conftest.$ac_objext
5743 test "x$ac_cv_prog_cc_c89" != "xno" && break
5744done
5745rm -f conftest.$ac_ext
5746CC=$ac_save_CC
5747
5748fi
5749# AC_CACHE_VAL
5750case "x$ac_cv_prog_cc_c89" in
5751 x)
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5753$as_echo "none needed" >&6; } ;;
5754 xno)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5756$as_echo "unsupported" >&6; } ;;
5757 *)
5758 CC="$CC $ac_cv_prog_cc_c89"
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5760$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5761esac
5762if test "x$ac_cv_prog_cc_c89" != xno; then :
5763
5764fi
5765
5766ac_ext=c
5767ac_cpp='$CPP $CPPFLAGS'
5768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5770ac_compiler_gnu=$ac_cv_c_compiler_gnu
5771
5772ac_ext=c
5773ac_cpp='$CPP $CPPFLAGS'
5774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5776ac_compiler_gnu=$ac_cv_c_compiler_gnu
5777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5778$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5779if ${am_cv_prog_cc_c_o+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781else
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783/* end confdefs.h. */
5784
5785int
5786main ()
5787{
5788
5789 ;
5790 return 0;
5791}
5792_ACEOF
5793 # Make sure it works both with $CC and with simple cc.
5794 # Following AC_PROG_CC_C_O, we do the test twice because some
5795 # compilers refuse to overwrite an existing .o file with -o,
5796 # though they will create one.
5797 am_cv_prog_cc_c_o=yes
5798 for am_i in 1 2; do
5799 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5800 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5801 ac_status=$?
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } \
5804 && test -f conftest2.$ac_objext; then
5805 : OK
5806 else
5807 am_cv_prog_cc_c_o=no
5808 break
5809 fi
5810 done
5811 rm -f core conftest*
5812 unset am_i
5813fi
5814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5815$as_echo "$am_cv_prog_cc_c_o" >&6; }
5816if test "$am_cv_prog_cc_c_o" != yes; then
5817 # Losing compiler, so override with the script.
5818 # FIXME: It is wrong to rewrite CC.
5819 # But if we don't then we get into trouble of one sort or another.
5820 # A longer-term fix would be to have automake use am__CC in this case,
5821 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5822 CC="$am_aux_dir/compile $CC"
5823fi
5824ac_ext=c
5825ac_cpp='$CPP $CPPFLAGS'
5826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5828ac_compiler_gnu=$ac_cv_c_compiler_gnu
5829
5830
5831depcc="$CC" am_compiler_list=
5832
5833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5834$as_echo_n "checking dependency style of $depcc... " >&6; }
5835if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5836 $as_echo_n "(cached) " >&6
5837else
5838 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5839 # We make a subdir and do the tests there. Otherwise we can end up
5840 # making bogus files that we don't know about and never remove. For
5841 # instance it was reported that on HP-UX the gcc test will end up
5842 # making a dummy file named 'D' -- because '-MD' means "put the output
5843 # in D".
5844 rm -rf conftest.dir
5845 mkdir conftest.dir
5846 # Copy depcomp to subdir because otherwise we won't find it if we're
5847 # using a relative directory.
5848 cp "$am_depcomp" conftest.dir
5849 cd conftest.dir
5850 # We will build objects and dependencies in a subdirectory because
5851 # it helps to detect inapplicable dependency modes. For instance
5852 # both Tru64's cc and ICC support -MD to output dependencies as a
5853 # side effect of compilation, but ICC will put the dependencies in
5854 # the current directory while Tru64 will put them in the object
5855 # directory.
5856 mkdir sub
5857
5858 am_cv_CC_dependencies_compiler_type=none
5859 if test "$am_compiler_list" = ""; then
5860 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5861 fi
5862 am__universal=false
5863 case " $depcc " in #(
5864 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5865 esac
5866
5867 for depmode in $am_compiler_list; do
5868 # Setup a source with many dependencies, because some compilers
5869 # like to wrap large dependency lists on column 80 (with \), and
5870 # we should not choose a depcomp mode which is confused by this.
5871 #
5872 # We need to recreate these files for each test, as the compiler may
5873 # overwrite some of them when testing with obscure command lines.
5874 # This happens at least with the AIX C compiler.
5875 : > sub/conftest.c
5876 for i in 1 2 3 4 5 6; do
5877 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5878 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5879 # Solaris 10 /bin/sh.
5880 echo '/* dummy */' > sub/conftst$i.h
5881 done
5882 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5883
5884 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5885 # mode. It turns out that the SunPro C++ compiler does not properly
5886 # handle '-M -o', and we need to detect this. Also, some Intel
5887 # versions had trouble with output in subdirs.
5888 am__obj=sub/conftest.${OBJEXT-o}
5889 am__minus_obj="-o $am__obj"
5890 case $depmode in
5891 gcc)
5892 # This depmode causes a compiler race in universal mode.
5893 test "$am__universal" = false || continue
5894 ;;
5895 nosideeffect)
5896 # After this tag, mechanisms are not by side-effect, so they'll
5897 # only be used when explicitly requested.
5898 if test "x$enable_dependency_tracking" = xyes; then
5899 continue
5900 else
5901 break
5902 fi
5903 ;;
5904 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5905 # This compiler won't grok '-c -o', but also, the minuso test has
5906 # not run yet. These depmodes are late enough in the game, and
5907 # so weak that their functioning should not be impacted.
5908 am__obj=conftest.${OBJEXT-o}
5909 am__minus_obj=
5910 ;;
5911 none) break ;;
5912 esac
5913 if depmode=$depmode \
5914 source=sub/conftest.c object=$am__obj \
5915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5916 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5917 >/dev/null 2>conftest.err &&
5918 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5919 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5920 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5921 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5922 # icc doesn't choke on unknown options, it will just issue warnings
5923 # or remarks (even with -Werror). So we grep stderr for any message
5924 # that says an option was ignored or not supported.
5925 # When given -MP, icc 7.0 and 7.1 complain thusly:
5926 # icc: Command line warning: ignoring option '-M'; no argument required
5927 # The diagnosis changed in icc 8.0:
5928 # icc: Command line remark: option '-MP' not supported
5929 if (grep 'ignoring option' conftest.err ||
5930 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5931 am_cv_CC_dependencies_compiler_type=$depmode
5932 break
5933 fi
5934 fi
5935 done
5936
5937 cd ..
5938 rm -rf conftest.dir
5939else
5940 am_cv_CC_dependencies_compiler_type=none
5941fi
5942
5943fi
5944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5945$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5946CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5947
5948 if
5949 test "x$enable_dependency_tracking" != xno \
5950 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5951 am__fastdepCC_TRUE=
5952 am__fastdepCC_FALSE='#'
5953else
5954 am__fastdepCC_TRUE='#'
5955 am__fastdepCC_FALSE=
5956fi
5957
5958
5959
5960
5961
5962
5963
5964
5965# Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5966have_real_17=no
5967if test "x$GCC" = "xyes"; then
5968 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5969 ## We like to use C11 and C99 routines when available. This makes
5970 ## sure that
5971 ## __STDC_VERSION__ is set such that libc includes make them available.
5972 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5973 ## Compile the following tests with the same system header contents
5974 ## that we'll encounter when compiling our own source files.
5975 CFLAGS="-std=gnu11 $CFLAGS"
5976
5977 case x$target in
5978 xpowerpc64le*-linux*)
5979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5980/* end confdefs.h. */
5981#if __SIZEOF_LONG_DOUBLE__ != 16
5982 #error long double is double
5983 #endif
5984int
5985main ()
5986{
5987(void) 0;
5988 ;
5989 return 0;
5990}
5991_ACEOF
5992if ac_fn_c_try_cpp "$LINENO"; then :
5993 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5994 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5995 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5996 have_real_17=yes
5997fi
5998rm -f conftest.err conftest.i conftest.$ac_ext
5999 ;;
6000 *)
6001 ;;
6002 esac
6003fi
6004 if test "x$have_real_17" != xno; then
6005 HAVE_REAL_17_TRUE=
6006 HAVE_REAL_17_FALSE='#'
6007else
6008 HAVE_REAL_17_TRUE='#'
6009 HAVE_REAL_17_FALSE=
6010fi
6011
6012
6013# Add CET specific flags if CET is enabled
6014 # Check whether --enable-cet was given.
6015if test "${enable_cet+set}" = set; then :
6016 enableval=$enable_cet;
6017 case "$enableval" in
6018 yes|no|auto) ;;
6019 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6020 esac
6021
6022else
6023 enable_cet=auto
6024fi
6025
6026
6027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6028$as_echo_n "checking for CET support... " >&6; }
6029
6030# NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6031case "$host" in
6032 i[34567]86-*-linux* | x86_64-*-linux*)
6033 case "$enable_cet" in
6034 auto)
6035 # Check if target supports multi-byte NOPs
6036 # and if compiler and assembler support CET insn.
6037 cet_save_CFLAGS="$CFLAGS"
6038 CFLAGS="$CFLAGS -fcf-protection"
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040/* end confdefs.h. */
6041
6042int
6043main ()
6044{
6045
6046#if !defined(__SSE2__)
6047#error target does not support multi-byte NOPs
6048#else
6049asm ("setssbsy");
6050#endif
6051
6052 ;
6053 return 0;
6054}
6055_ACEOF
6056if ac_fn_c_try_compile "$LINENO"; then :
6057 enable_cet=yes
6058else
6059 enable_cet=no
6060fi
6061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062 CFLAGS="$cet_save_CFLAGS"
6063 ;;
6064 yes)
6065 # Check if assembler supports CET.
6066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067/* end confdefs.h. */
6068
6069int
6070main ()
6071{
6072asm ("setssbsy");
6073 ;
6074 return 0;
6075}
6076_ACEOF
6077if ac_fn_c_try_compile "$LINENO"; then :
6078
6079else
6080 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6081fi
6082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6083 ;;
6084 esac
6085 ;;
6086 *)
6087 enable_cet=no
6088 ;;
6089esac
6090if test x$enable_cet = xyes; then
6091 CET_FLAGS="-fcf-protection -mshstk"
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6093$as_echo "yes" >&6; }
6094else
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096$as_echo "no" >&6; }
6097fi
6098
6099AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6100AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6101CFLAGS="$CFLAGS $CET_FLAGS"
6102
6103
6104
6105
6106
6107# Check for symbol versioning (copied from libssp).
6108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6109$as_echo_n "checking whether symbol versioning is supported... " >&6; }
6110# Check whether --enable-symvers was given.
6111if test "${enable_symvers+set}" = set; then :
6112 enableval=$enable_symvers; gfortran_use_symver=$enableval
6113else
6114 gfortran_use_symver=yes
6115fi
6116
6117if test "x$gfortran_use_symver" != xno; then
6118 save_LDFLAGS="$LDFLAGS"
6119 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6120 cat > conftest.map <<EOF
6121FOO_1.0 {
6122 global: *foo*; bar; local: *;
6123};
6124EOF
6125 if test x$gcc_no_link = xyes; then
6126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6127fi
6128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129/* end confdefs.h. */
6130int foo;
6131int
6132main ()
6133{
6134
6135 ;
6136 return 0;
6137}
6138_ACEOF
6139if ac_fn_c_try_link "$LINENO"; then :
6140 gfortran_use_symver=gnu
6141else
6142 gfortran_use_symver=no
6143fi
6144rm -f core conftest.err conftest.$ac_objext \
6145 conftest$ac_exeext conftest.$ac_ext
6146 if test x$gfortran_use_symver = xno; then
6147 case "$target_os" in
6148 solaris2*)
6149 LDFLAGS="$save_LDFLAGS"
6150 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6151 # Sun ld cannot handle wildcards and treats all entries as undefined.
6152 cat > conftest.map <<EOF
6153FOO_1.0 {
6154 global: foo; local: *;
6155};
6156EOF
6157 if test x$gcc_no_link = xyes; then
6158 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6159fi
6160cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6161/* end confdefs.h. */
6162int foo;
6163int
6164main ()
6165{
6166
6167 ;
6168 return 0;
6169}
6170_ACEOF
6171if ac_fn_c_try_link "$LINENO"; then :
6172 gfortran_use_symver=sun
6173else
6174 gfortran_use_symver=no
6175fi
6176rm -f core conftest.err conftest.$ac_objext \
6177 conftest$ac_exeext conftest.$ac_ext
6178 ;;
6179 esac
6180 fi
6181 LDFLAGS="$save_LDFLAGS"
6182fi
6183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6184$as_echo "$gfortran_use_symver" >&6; }
6185 if test "x$gfortran_use_symver" != xno; then
6186 LIBGFOR_USE_SYMVER_TRUE=
6187 LIBGFOR_USE_SYMVER_FALSE='#'
6188else
6189 LIBGFOR_USE_SYMVER_TRUE='#'
6190 LIBGFOR_USE_SYMVER_FALSE=
6191fi
6192
6193 if test "x$gfortran_use_symver" = xgnu; then
6194 LIBGFOR_USE_SYMVER_GNU_TRUE=
6195 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6196else
6197 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6198 LIBGFOR_USE_SYMVER_GNU_FALSE=
6199fi
6200
6201 if test "x$gfortran_use_symver" = xsun; then
6202 LIBGFOR_USE_SYMVER_SUN_TRUE=
6203 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6204else
6205 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6206 LIBGFOR_USE_SYMVER_SUN_FALSE=
6207fi
6208
6209
6210# "Minimal" mode is for targets that cannot (yet) support all features of
6211# libgfortran. It avoids the need for working constructors, alloca, and C
6212# library support for I/O, signals, environment variables, time functions, etc.
6213# At present there are no targets that require this mode.
6214
6215 if false; then
6216 LIBGFOR_MINIMAL_TRUE=
6217 LIBGFOR_MINIMAL_FALSE='#'
6218else
6219 LIBGFOR_MINIMAL_TRUE='#'
6220 LIBGFOR_MINIMAL_FALSE=
6221fi
6222
6223
6224# Some compiler target support may have limited support for integer
6225# or floating point numbers – or may want to reduce the libgfortran size
6226# although they do have the support.
6227LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6228LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6229
6230
6231
6232
6233# Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6234# similarly to how libstdc++ does it
6235ac_test_CFLAGS="${CFLAGS+set}"
6236ac_save_CFLAGS="$CFLAGS"
6237
6238# Check for -ffunction-sections -fdata-sections
6239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6240$as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6241CFLAGS='-Werror -ffunction-sections -fdata-sections'
6242cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243/* end confdefs.h. */
6244
6245int
6246main ()
6247{
6248int foo;
6249 ;
6250 return 0;
6251}
6252_ACEOF
6253if ac_fn_c_try_compile "$LINENO"; then :
6254 ac_fdsections=yes
6255else
6256 ac_fdsections=no
6257fi
6258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6259if test "$ac_test_CFLAGS" = set; then
6260 CFLAGS="$ac_save_CFLAGS"
6261else
6262 # this is the suspicious part
6263 CFLAGS=""
6264fi
6265if test x"$ac_fdsections" = x"yes"; then
6266 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6267fi
6268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6269$as_echo "$ac_fdsections" >&6; }
6270
6271
6272# Check linker hardware capability support.
6273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6274$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6275if ${ac_cv_path_SED+:} false; then :
6276 $as_echo_n "(cached) " >&6
6277else
6278 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6279 for ac_i in 1 2 3 4 5 6 7; do
6280 ac_script="$ac_script$as_nl$ac_script"
6281 done
6282 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6283 { ac_script=; unset ac_script;}
6284 if test -z "$SED"; then
6285 ac_path_SED_found=false
6286 # Loop through the user's path and test for each of PROGNAME-LIST
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288for as_dir in $PATH
6289do
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_prog in sed gsed; do
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6295 as_fn_executable_p "$ac_path_SED" || continue
6296# Check for GNU ac_path_SED and select it if it is found.
6297 # Check for GNU $ac_path_SED
6298case `"$ac_path_SED" --version 2>&1` in
6299*GNU*)
6300 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6301*)
6302 ac_count=0
6303 $as_echo_n 0123456789 >"conftest.in"
6304 while :
6305 do
6306 cat "conftest.in" "conftest.in" >"conftest.tmp"
6307 mv "conftest.tmp" "conftest.in"
6308 cp "conftest.in" "conftest.nl"
6309 $as_echo '' >> "conftest.nl"
6310 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6312 as_fn_arith $ac_count + 1 && ac_count=$as_val
6313 if test $ac_count -gt ${ac_path_SED_max-0}; then
6314 # Best one so far, save it but keep looking for a better one
6315 ac_cv_path_SED="$ac_path_SED"
6316 ac_path_SED_max=$ac_count
6317 fi
6318 # 10*(2^10) chars as input seems more than enough
6319 test $ac_count -gt 10 && break
6320 done
6321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6322esac
6323
6324 $ac_path_SED_found && break 3
6325 done
6326 done
6327 done
6328IFS=$as_save_IFS
6329 if test -z "$ac_cv_path_SED"; then
6330 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6331 fi
6332else
6333 ac_cv_path_SED=$SED
6334fi
6335
6336fi
6337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6338$as_echo "$ac_cv_path_SED" >&6; }
6339 SED="$ac_cv_path_SED"
6340 rm -f conftest.sed
6341
6342test -z "$SED" && SED=sed
6343Xsed="$SED -e 1s/^X//"
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6356$as_echo_n "checking for fgrep... " >&6; }
6357if ${ac_cv_path_FGREP+:} false; then :
6358 $as_echo_n "(cached) " >&6
6359else
6360 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6361 then ac_cv_path_FGREP="$GREP -F"
6362 else
6363 if test -z "$FGREP"; then
6364 ac_path_FGREP_found=false
6365 # Loop through the user's path and test for each of PROGNAME-LIST
6366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6368do
6369 IFS=$as_save_IFS
6370 test -z "$as_dir" && as_dir=.
6371 for ac_prog in fgrep; do
6372 for ac_exec_ext in '' $ac_executable_extensions; do
6373 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6374 as_fn_executable_p "$ac_path_FGREP" || continue
6375# Check for GNU ac_path_FGREP and select it if it is found.
6376 # Check for GNU $ac_path_FGREP
6377case `"$ac_path_FGREP" --version 2>&1` in
6378*GNU*)
6379 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6380*)
6381 ac_count=0
6382 $as_echo_n 0123456789 >"conftest.in"
6383 while :
6384 do
6385 cat "conftest.in" "conftest.in" >"conftest.tmp"
6386 mv "conftest.tmp" "conftest.in"
6387 cp "conftest.in" "conftest.nl"
6388 $as_echo 'FGREP' >> "conftest.nl"
6389 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6391 as_fn_arith $ac_count + 1 && ac_count=$as_val
6392 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6393 # Best one so far, save it but keep looking for a better one
6394 ac_cv_path_FGREP="$ac_path_FGREP"
6395 ac_path_FGREP_max=$ac_count
6396 fi
6397 # 10*(2^10) chars as input seems more than enough
6398 test $ac_count -gt 10 && break
6399 done
6400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6401esac
6402
6403 $ac_path_FGREP_found && break 3
6404 done
6405 done
6406 done
6407IFS=$as_save_IFS
6408 if test -z "$ac_cv_path_FGREP"; then
6409 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6410 fi
6411else
6412 ac_cv_path_FGREP=$FGREP
6413fi
6414
6415 fi
6416fi
6417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6418$as_echo "$ac_cv_path_FGREP" >&6; }
6419 FGREP="$ac_cv_path_FGREP"
6420
6421
6422test -z "$GREP" && GREP=grep
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6441ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6442ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6443
6444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6445$as_echo_n "checking how to print strings... " >&6; }
6446# Test print first, because it will be a builtin if present.
6447if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6448 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6449 ECHO='print -r --'
6450elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6451 ECHO='printf %s\n'
6452else
6453 # Use this function as a fallback that always works.
6454 func_fallback_echo ()
6455 {
6456 eval 'cat <<_LTECHO_EOF
6457$1
6458_LTECHO_EOF'
6459 }
6460 ECHO='func_fallback_echo'
6461fi
6462
6463# func_echo_all arg...
6464# Invoke $ECHO with all args, space-separated.
6465func_echo_all ()
6466{
6467 $ECHO ""
6468}
6469
6470case "$ECHO" in
6471 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6472$as_echo "printf" >&6; } ;;
6473 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6474$as_echo "print -r" >&6; } ;;
6475 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6476$as_echo "cat" >&6; } ;;
6477esac
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494# Check whether --with-gnu-ld was given.
6495if test "${with_gnu_ld+set}" = set; then :
6496 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6497else
6498 with_gnu_ld=no
6499fi
6500
6501ac_prog=ld
6502if test "$GCC" = yes; then
6503 # Check if gcc -print-prog-name=ld gives a path.
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6505$as_echo_n "checking for ld used by $CC... " >&6; }
6506 case $host in
6507 *-*-mingw*)
6508 # gcc leaves a trailing carriage return which upsets mingw
6509 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6510 *)
6511 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6512 esac
6513 case $ac_prog in
6514 # Accept absolute paths.
6515 [\\/]* | ?:[\\/]*)
6516 re_direlt='/[^/][^/]*/\.\./'
6517 # Canonicalize the pathname of ld
6518 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6519 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6520 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6521 done
6522 test -z "$LD" && LD="$ac_prog"
6523 ;;
6524 "")
6525 # If it fails, then pretend we aren't using GCC.
6526 ac_prog=ld
6527 ;;
6528 *)
6529 # If it is relative, then search for the first ld in PATH.
6530 with_gnu_ld=unknown
6531 ;;
6532 esac
6533elif test "$with_gnu_ld" = yes; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6535$as_echo_n "checking for GNU ld... " >&6; }
6536else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6538$as_echo_n "checking for non-GNU ld... " >&6; }
6539fi
6540if ${lt_cv_path_LD+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542else
6543 if test -z "$LD"; then
6544 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6545 for ac_dir in $PATH; do
6546 IFS="$lt_save_ifs"
6547 test -z "$ac_dir" && ac_dir=.
6548 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6549 lt_cv_path_LD="$ac_dir/$ac_prog"
6550 # Check to see if the program is GNU ld. I'd rather use --version,
6551 # but apparently some variants of GNU ld only accept -v.
6552 # Break only if it was the GNU/non-GNU ld that we prefer.
6553 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6554 *GNU* | *'with BFD'*)
6555 test "$with_gnu_ld" != no && break
6556 ;;
6557 *)
6558 test "$with_gnu_ld" != yes && break
6559 ;;
6560 esac
6561 fi
6562 done
6563 IFS="$lt_save_ifs"
6564else
6565 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6566fi
6567fi
6568
6569LD="$lt_cv_path_LD"
6570if test -n "$LD"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6572$as_echo "$LD" >&6; }
6573else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575$as_echo "no" >&6; }
6576fi
6577test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6579$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6580if ${lt_cv_prog_gnu_ld+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582else
6583 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6584case `$LD -v 2>&1 </dev/null` in
6585*GNU* | *'with BFD'*)
6586 lt_cv_prog_gnu_ld=yes
6587 ;;
6588*)
6589 lt_cv_prog_gnu_ld=no
6590 ;;
6591esac
6592fi
6593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6594$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6595with_gnu_ld=$lt_cv_prog_gnu_ld
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6607
6608
6609 ac_save_LDFLAGS="$LDFLAGS"
6610 LDFLAGS="$LFLAGS -mclear-hwcap"
6611
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6613$as_echo_n "checking for -mclear-hwcap... " >&6; }
6614 if test x$gcc_no_link = xyes; then
6615 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6616fi
6617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618/* end confdefs.h. */
6619
6620int
6621main ()
6622{
6623return 0;
6624 ;
6625 return 0;
6626}
6627_ACEOF
6628if ac_fn_c_try_link "$LINENO"; then :
6629 ac_hwcap_ldflags=yes
6630else
6631 ac_hwcap_ldflags=no
6632fi
6633rm -f core conftest.err conftest.$ac_objext \
6634 conftest$ac_exeext conftest.$ac_ext
6635 if test "$ac_hwcap_ldflags" = "yes"; then
6636 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6637 fi
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6639$as_echo "$ac_hwcap_ldflags" >&6; }
6640
6641 LDFLAGS="$ac_save_LDFLAGS"
6642
6643
6644
6645 if test $ac_hwcap_ldflags != no; then
6646 HAVE_HWCAP_TRUE=
6647 HAVE_HWCAP_FALSE='#'
6648else
6649 HAVE_HWCAP_TRUE='#'
6650 HAVE_HWCAP_FALSE=
6651fi
6652
6653
6654
6655# Find other programs we need.
6656if test -n "$ac_tool_prefix"; then
6657 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6658set dummy ${ac_tool_prefix}as; ac_word=$2
6659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660$as_echo_n "checking for $ac_word... " >&6; }
6661if ${ac_cv_prog_AS+:} false; then :
6662 $as_echo_n "(cached) " >&6
6663else
6664 if test -n "$AS"; then
6665 ac_cv_prog_AS="$AS" # Let the user override the test.
6666else
6667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668for as_dir in $PATH
6669do
6670 IFS=$as_save_IFS
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6674 ac_cv_prog_AS="${ac_tool_prefix}as"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676 break 2
6677 fi
6678done
6679 done
6680IFS=$as_save_IFS
6681
6682fi
6683fi
6684AS=$ac_cv_prog_AS
6685if test -n "$AS"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6687$as_echo "$AS" >&6; }
6688else
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690$as_echo "no" >&6; }
6691fi
6692
6693
6694fi
6695if test -z "$ac_cv_prog_AS"; then
6696 ac_ct_AS=$AS
6697 # Extract the first word of "as", so it can be a program name with args.
6698set dummy as; ac_word=$2
6699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700$as_echo_n "checking for $ac_word... " >&6; }
6701if ${ac_cv_prog_ac_ct_AS+:} false; then :
6702 $as_echo_n "(cached) " >&6
6703else
6704 if test -n "$ac_ct_AS"; then
6705 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6706else
6707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708for as_dir in $PATH
6709do
6710 IFS=$as_save_IFS
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714 ac_cv_prog_ac_ct_AS="as"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716 break 2
6717 fi
6718done
6719 done
6720IFS=$as_save_IFS
6721
6722fi
6723fi
6724ac_ct_AS=$ac_cv_prog_ac_ct_AS
6725if test -n "$ac_ct_AS"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6727$as_echo "$ac_ct_AS" >&6; }
6728else
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730$as_echo "no" >&6; }
6731fi
6732
6733 if test "x$ac_ct_AS" = x; then
6734 AS=""
6735 else
6736 case $cross_compiling:$ac_tool_warned in
6737yes:)
6738{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6739$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6740ac_tool_warned=yes ;;
6741esac
6742 AS=$ac_ct_AS
6743 fi
6744else
6745 AS="$ac_cv_prog_AS"
6746fi
6747
6748if test -n "$ac_tool_prefix"; then
6749 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6750set dummy ${ac_tool_prefix}ar; ac_word=$2
6751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752$as_echo_n "checking for $ac_word... " >&6; }
6753if ${ac_cv_prog_AR+:} false; then :
6754 $as_echo_n "(cached) " >&6
6755else
6756 if test -n "$AR"; then
6757 ac_cv_prog_AR="$AR" # Let the user override the test.
6758else
6759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760for as_dir in $PATH
6761do
6762 IFS=$as_save_IFS
6763 test -z "$as_dir" && as_dir=.
6764 for ac_exec_ext in '' $ac_executable_extensions; do
6765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6766 ac_cv_prog_AR="${ac_tool_prefix}ar"
6767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6768 break 2
6769 fi
6770done
6771 done
6772IFS=$as_save_IFS
6773
6774fi
6775fi
6776AR=$ac_cv_prog_AR
6777if test -n "$AR"; then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6779$as_echo "$AR" >&6; }
6780else
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782$as_echo "no" >&6; }
6783fi
6784
6785
6786fi
6787if test -z "$ac_cv_prog_AR"; then
6788 ac_ct_AR=$AR
6789 # Extract the first word of "ar", so it can be a program name with args.
6790set dummy ar; ac_word=$2
6791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792$as_echo_n "checking for $ac_word... " >&6; }
6793if ${ac_cv_prog_ac_ct_AR+:} false; then :
6794 $as_echo_n "(cached) " >&6
6795else
6796 if test -n "$ac_ct_AR"; then
6797 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6798else
6799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800for as_dir in $PATH
6801do
6802 IFS=$as_save_IFS
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_ac_ct_AR="ar"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6808 break 2
6809 fi
6810done
6811 done
6812IFS=$as_save_IFS
6813
6814fi
6815fi
6816ac_ct_AR=$ac_cv_prog_ac_ct_AR
6817if test -n "$ac_ct_AR"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6819$as_echo "$ac_ct_AR" >&6; }
6820else
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822$as_echo "no" >&6; }
6823fi
6824
6825 if test "x$ac_ct_AR" = x; then
6826 AR=""
6827 else
6828 case $cross_compiling:$ac_tool_warned in
6829yes:)
6830{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6831$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6832ac_tool_warned=yes ;;
6833esac
6834 AR=$ac_ct_AR
6835 fi
6836else
6837 AR="$ac_cv_prog_AR"
6838fi
6839
6840if test -n "$ac_tool_prefix"; then
6841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6842set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844$as_echo_n "checking for $ac_word... " >&6; }
6845if ${ac_cv_prog_RANLIB+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847else
6848 if test -n "$RANLIB"; then
6849 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6850else
6851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852for as_dir in $PATH
6853do
6854 IFS=$as_save_IFS
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6860 break 2
6861 fi
6862done
6863 done
6864IFS=$as_save_IFS
6865
6866fi
6867fi
6868RANLIB=$ac_cv_prog_RANLIB
6869if test -n "$RANLIB"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6871$as_echo "$RANLIB" >&6; }
6872else
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874$as_echo "no" >&6; }
6875fi
6876
6877
6878fi
6879if test -z "$ac_cv_prog_RANLIB"; then
6880 ac_ct_RANLIB=$RANLIB
6881 # Extract the first word of "ranlib", so it can be a program name with args.
6882set dummy ranlib; ac_word=$2
6883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884$as_echo_n "checking for $ac_word... " >&6; }
6885if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6886 $as_echo_n "(cached) " >&6
6887else
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890else
6891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892for as_dir in $PATH
6893do
6894 IFS=$as_save_IFS
6895 test -z "$as_dir" && as_dir=.
6896 for ac_exec_ext in '' $ac_executable_extensions; do
6897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6898 ac_cv_prog_ac_ct_RANLIB="ranlib"
6899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900 break 2
6901 fi
6902done
6903 done
6904IFS=$as_save_IFS
6905
6906fi
6907fi
6908ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6909if test -n "$ac_ct_RANLIB"; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6911$as_echo "$ac_ct_RANLIB" >&6; }
6912else
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914$as_echo "no" >&6; }
6915fi
6916
6917 if test "x$ac_ct_RANLIB" = x; then
6918 RANLIB="ranlib-not-found-in-path-error"
6919 else
6920 case $cross_compiling:$ac_tool_warned in
6921yes:)
6922{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924ac_tool_warned=yes ;;
6925esac
6926 RANLIB=$ac_ct_RANLIB
6927 fi
6928else
6929 RANLIB="$ac_cv_prog_RANLIB"
6930fi
6931
6932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6933$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6934set x ${MAKE-make}
6935ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6936if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938else
6939 cat >conftest.make <<\_ACEOF
6940SHELL = /bin/sh
6941all:
6942 @echo '@@@%%%=$(MAKE)=@@@%%%'
6943_ACEOF
6944# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6945case `${MAKE-make} -f conftest.make 2>/dev/null` in
6946 *@@@%%%=?*=@@@%%%*)
6947 eval ac_cv_prog_make_${ac_make}_set=yes;;
6948 *)
6949 eval ac_cv_prog_make_${ac_make}_set=no;;
6950esac
6951rm -f conftest.make
6952fi
6953if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6955$as_echo "yes" >&6; }
6956 SET_MAKE=
6957else
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6959$as_echo "no" >&6; }
6960 SET_MAKE="MAKE=${MAKE-make}"
6961fi
6962
6963
6964
6965# Configure libtool
6966#AC_MSG_NOTICE([====== Starting libtool configuration])
6967enable_dlopen=yes
6968
6969
6970
6971case `pwd` in
6972 *\ * | *\ *)
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6974$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6975esac
6976
6977
6978
6979macro_version='2.2.7a'
6980macro_revision='1.3134'
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994ltmain="$ac_aux_dir/ltmain.sh"
6995
6996# Backslashify metacharacters that are still active within
6997# double-quoted strings.
6998sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6999
7000# Same as above, but do not quote variable references.
7001double_quote_subst='s/\(["`\\]\)/\\\1/g'
7002
7003# Sed substitution to delay expansion of an escaped shell variable in a
7004# double_quote_subst'ed string.
7005delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7006
7007# Sed substitution to delay expansion of an escaped single quote.
7008delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7009
7010# Sed substitution to avoid accidental globbing in evaled expressions
7011no_glob_subst='s/\*/\\\*/g'
7012
7013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7014$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7015if ${lt_cv_path_NM+:} false; then :
7016 $as_echo_n "(cached) " >&6
7017else
7018 if test -n "$NM"; then
7019 # Let the user override the nm to test.
7020 lt_nm_to_check="$NM"
7021 else
7022 lt_nm_to_check="${ac_tool_prefix}nm"
7023 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7024 lt_nm_to_check="$lt_nm_to_check nm"
7025 fi
7026 fi
7027 for lt_tmp_nm in "$lt_nm_to_check"; do
7028 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7029 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7030 IFS="$lt_save_ifs"
7031 test -z "$ac_dir" && ac_dir=.
7032 # Strip out any user-provided options from the nm to test twice,
7033 # the first time to test to see if nm (rather than its options) has
7034 # an explicit path, the second time to yield a file which can be
7035 # nm'ed itself.
7036 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
7037 case "$tmp_nm_path" in
7038 */*|*\\*) tmp_nm="$lt_tmp_nm";;
7039 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
7040 esac
7041 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
7042 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
7043 # Check to see if the nm accepts a BSD-compat flag.
7044 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7045 # nm: unknown option "B" ignored
7046 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7047 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
7048 break
7049 ;;
7050 *)
7051 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7052 *$tmp_nm*)
7053 lt_cv_path_NM="$tmp_nm -p"
7054 break
7055 ;;
7056 *)
7057 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7058 continue # so that we can try to find one that supports BSD flags
7059 ;;
7060 esac
7061 ;;
7062 esac
7063 fi
7064 done
7065 IFS="$lt_save_ifs"
7066 done
7067 : ${lt_cv_path_NM=no}
7068fi
7069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7070$as_echo "$lt_cv_path_NM" >&6; }
7071if test "$lt_cv_path_NM" != "no"; then
7072 NM="$lt_cv_path_NM"
7073else
7074 # Didn't find any BSD compatible name lister, look for dumpbin.
7075 if test -n "$DUMPBIN"; then :
7076 # Let the user override the test.
7077 else
7078 if test -n "$ac_tool_prefix"; then
7079 for ac_prog in dumpbin "link -dump"
7080 do
7081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7082set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084$as_echo_n "checking for $ac_word... " >&6; }
7085if ${ac_cv_prog_DUMPBIN+:} false; then :
7086 $as_echo_n "(cached) " >&6
7087else
7088 if test -n "$DUMPBIN"; then
7089 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7090else
7091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092for as_dir in $PATH
7093do
7094 IFS=$as_save_IFS
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7098 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100 break 2
7101 fi
7102done
7103 done
7104IFS=$as_save_IFS
7105
7106fi
7107fi
7108DUMPBIN=$ac_cv_prog_DUMPBIN
7109if test -n "$DUMPBIN"; then
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7111$as_echo "$DUMPBIN" >&6; }
7112else
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7114$as_echo "no" >&6; }
7115fi
7116
7117
7118 test -n "$DUMPBIN" && break
7119 done
7120fi
7121if test -z "$DUMPBIN"; then
7122 ac_ct_DUMPBIN=$DUMPBIN
7123 for ac_prog in dumpbin "link -dump"
7124do
7125 # Extract the first word of "$ac_prog", so it can be a program name with args.
7126set dummy $ac_prog; ac_word=$2
7127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128$as_echo_n "checking for $ac_word... " >&6; }
7129if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131else
7132 if test -n "$ac_ct_DUMPBIN"; then
7133 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7134else
7135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136for as_dir in $PATH
7137do
7138 IFS=$as_save_IFS
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144 break 2
7145 fi
7146done
7147 done
7148IFS=$as_save_IFS
7149
7150fi
7151fi
7152ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7153if test -n "$ac_ct_DUMPBIN"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7155$as_echo "$ac_ct_DUMPBIN" >&6; }
7156else
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158$as_echo "no" >&6; }
7159fi
7160
7161
7162 test -n "$ac_ct_DUMPBIN" && break
7163done
7164
7165 if test "x$ac_ct_DUMPBIN" = x; then
7166 DUMPBIN=":"
7167 else
7168 case $cross_compiling:$ac_tool_warned in
7169yes:)
7170{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7171$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7172ac_tool_warned=yes ;;
7173esac
7174 DUMPBIN=$ac_ct_DUMPBIN
7175 fi
7176fi
7177
7178 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7179 *COFF*)
7180 DUMPBIN="$DUMPBIN -symbols"
7181 ;;
7182 *)
7183 DUMPBIN=:
7184 ;;
7185 esac
7186 fi
7187
7188 if test "$DUMPBIN" != ":"; then
7189 NM="$DUMPBIN"
7190 fi
7191fi
7192test -z "$NM" && NM=nm
7193
7194
7195
7196
7197
7198
7199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7200$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7201if ${lt_cv_nm_interface+:} false; then :
7202 $as_echo_n "(cached) " >&6
7203else
7204 lt_cv_nm_interface="BSD nm"
7205 echo "int some_variable = 0;" > conftest.$ac_ext
7206 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7207 (eval "$ac_compile" 2>conftest.err)
7208 cat conftest.err >&5
7209 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7210 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7211 cat conftest.err >&5
7212 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7213 cat conftest.out >&5
7214 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7215 lt_cv_nm_interface="MS dumpbin"
7216 fi
7217 rm -f conftest*
7218fi
7219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7220$as_echo "$lt_cv_nm_interface" >&6; }
7221
7222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7223$as_echo_n "checking whether ln -s works... " >&6; }
7224LN_S=$as_ln_s
7225if test "$LN_S" = "ln -s"; then
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7227$as_echo "yes" >&6; }
7228else
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7230$as_echo "no, using $LN_S" >&6; }
7231fi
7232
7233# find the maximum length of command line arguments
7234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7235$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7236if ${lt_cv_sys_max_cmd_len+:} false; then :
7237 $as_echo_n "(cached) " >&6
7238else
7239 i=0
7240 teststring="ABCD"
7241
7242 case $build_os in
7243 msdosdjgpp*)
7244 # On DJGPP, this test can blow up pretty badly due to problems in libc
7245 # (any single argument exceeding 2000 bytes causes a buffer overrun
7246 # during glob expansion). Even if it were fixed, the result of this
7247 # check would be larger than it should be.
7248 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7249 ;;
7250
7251 gnu*)
7252 # Under GNU Hurd, this test is not required because there is
7253 # no limit to the length of command line arguments.
7254 # Libtool will interpret -1 as no limit whatsoever
7255 lt_cv_sys_max_cmd_len=-1;
7256 ;;
7257
7258 cygwin* | mingw* | cegcc*)
7259 # On Win9x/ME, this test blows up -- it succeeds, but takes
7260 # about 5 minutes as the teststring grows exponentially.
7261 # Worse, since 9x/ME are not pre-emptively multitasking,
7262 # you end up with a "frozen" computer, even though with patience
7263 # the test eventually succeeds (with a max line length of 256k).
7264 # Instead, let's just punt: use the minimum linelength reported by
7265 # all of the supported platforms: 8192 (on NT/2K/XP).
7266 lt_cv_sys_max_cmd_len=8192;
7267 ;;
7268
7269 mint*)
7270 # On MiNT this can take a long time and run out of memory.
7271 lt_cv_sys_max_cmd_len=8192;
7272 ;;
7273
7274 amigaos*)
7275 # On AmigaOS with pdksh, this test takes hours, literally.
7276 # So we just punt and use a minimum line length of 8192.
7277 lt_cv_sys_max_cmd_len=8192;
7278 ;;
7279
7280 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7281 # This has been around since 386BSD, at least. Likely further.
7282 if test -x /sbin/sysctl; then
7283 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7284 elif test -x /usr/sbin/sysctl; then
7285 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7286 else
7287 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7288 fi
7289 # And add a safety zone
7290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7291 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7292 ;;
7293
7294 interix*)
7295 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7296 lt_cv_sys_max_cmd_len=196608
7297 ;;
7298
7299 osf*)
7300 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7301 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7302 # nice to cause kernel panics so lets avoid the loop below.
7303 # First set a reasonable default.
7304 lt_cv_sys_max_cmd_len=16384
7305 #
7306 if test -x /sbin/sysconfig; then
7307 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7308 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7309 esac
7310 fi
7311 ;;
7312 sco3.2v5*)
7313 lt_cv_sys_max_cmd_len=102400
7314 ;;
7315 sysv5* | sco5v6* | sysv4.2uw2*)
7316 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7317 if test -n "$kargmax"; then
7318 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7319 else
7320 lt_cv_sys_max_cmd_len=32768
7321 fi
7322 ;;
7323 *)
7324 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7325 if test -n "$lt_cv_sys_max_cmd_len"; then
7326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7327 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7328 else
7329 # Make teststring a little bigger before we do anything with it.
7330 # a 1K string should be a reasonable start.
7331 for i in 1 2 3 4 5 6 7 8 ; do
7332 teststring=$teststring$teststring
7333 done
7334 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7335 # If test is not a shell built-in, we'll probably end up computing a
7336 # maximum length that is only half of the actual maximum length, but
7337 # we can't tell.
7338 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7339 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7340 test $i != 17 # 1/2 MB should be enough
7341 do
7342 i=`expr $i + 1`
7343 teststring=$teststring$teststring
7344 done
7345 # Only check the string length outside the loop.
7346 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7347 teststring=
7348 # Add a significant safety factor because C++ compilers can tack on
7349 # massive amounts of additional arguments before passing them to the
7350 # linker. It appears as though 1/2 is a usable value.
7351 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7352 fi
7353 ;;
7354 esac
7355
7356fi
7357
7358if test -n $lt_cv_sys_max_cmd_len ; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7360$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7361else
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7363$as_echo "none" >&6; }
7364fi
7365max_cmd_len=$lt_cv_sys_max_cmd_len
7366
7367
7368
7369
7370
7371
7372: ${CP="cp -f"}
7373: ${MV="mv -f"}
7374: ${RM="rm -f"}
7375
7376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7377$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7378# Try some XSI features
7379xsi_shell=no
7380( _lt_dummy="a/b/c"
7381 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7382 = c,a/b,, \
7383 && eval 'test $(( 1 + 1 )) -eq 2 \
7384 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7385 && xsi_shell=yes
7386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7387$as_echo "$xsi_shell" >&6; }
7388
7389
7390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7391$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7392lt_shell_append=no
7393( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7394 >/dev/null 2>&1 \
7395 && lt_shell_append=yes
7396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7397$as_echo "$lt_shell_append" >&6; }
7398
7399
7400if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7401 lt_unset=unset
7402else
7403 lt_unset=false
7404fi
7405
7406
7407
7408
7409
7410# test EBCDIC or ASCII
7411case `echo X|tr X '\101'` in
7412 A) # ASCII based system
7413 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7414 lt_SP2NL='tr \040 \012'
7415 lt_NL2SP='tr \015\012 \040\040'
7416 ;;
7417 *) # EBCDIC based system
7418 lt_SP2NL='tr \100 \n'
7419 lt_NL2SP='tr \r\n \100\100'
7420 ;;
7421esac
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7432$as_echo_n "checking for $LD option to reload object files... " >&6; }
7433if ${lt_cv_ld_reload_flag+:} false; then :
7434 $as_echo_n "(cached) " >&6
7435else
7436 lt_cv_ld_reload_flag='-r'
7437fi
7438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7439$as_echo "$lt_cv_ld_reload_flag" >&6; }
7440reload_flag=$lt_cv_ld_reload_flag
7441case $reload_flag in
7442"" | " "*) ;;
7443*) reload_flag=" $reload_flag" ;;
7444esac
7445reload_cmds='$LD$reload_flag -o $output$reload_objs'
7446case $host_os in
7447 darwin*)
7448 if test "$GCC" = yes; then
7449 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7450 else
7451 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7452 fi
7453 ;;
7454esac
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7466set dummy ${ac_tool_prefix}objdump; ac_word=$2
7467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468$as_echo_n "checking for $ac_word... " >&6; }
7469if ${ac_cv_prog_OBJDUMP+:} false; then :
7470 $as_echo_n "(cached) " >&6
7471else
7472 if test -n "$OBJDUMP"; then
7473 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7474else
7475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476for as_dir in $PATH
7477do
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7485 fi
7486done
7487 done
7488IFS=$as_save_IFS
7489
7490fi
7491fi
7492OBJDUMP=$ac_cv_prog_OBJDUMP
7493if test -n "$OBJDUMP"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7495$as_echo "$OBJDUMP" >&6; }
7496else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498$as_echo "no" >&6; }
7499fi
7500
7501
7502fi
7503if test -z "$ac_cv_prog_OBJDUMP"; then
7504 ac_ct_OBJDUMP=$OBJDUMP
7505 # Extract the first word of "objdump", so it can be a program name with args.
7506set dummy objdump; ac_word=$2
7507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508$as_echo_n "checking for $ac_word... " >&6; }
7509if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7510 $as_echo_n "(cached) " >&6
7511else
7512 if test -n "$ac_ct_OBJDUMP"; then
7513 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7514else
7515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516for as_dir in $PATH
7517do
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7525 fi
7526done
7527 done
7528IFS=$as_save_IFS
7529
7530fi
7531fi
7532ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7533if test -n "$ac_ct_OBJDUMP"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7535$as_echo "$ac_ct_OBJDUMP" >&6; }
7536else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538$as_echo "no" >&6; }
7539fi
7540
7541 if test "x$ac_ct_OBJDUMP" = x; then
7542 OBJDUMP="false"
7543 else
7544 case $cross_compiling:$ac_tool_warned in
7545yes:)
7546{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548ac_tool_warned=yes ;;
7549esac
7550 OBJDUMP=$ac_ct_OBJDUMP
7551 fi
7552else
7553 OBJDUMP="$ac_cv_prog_OBJDUMP"
7554fi
7555
7556test -z "$OBJDUMP" && OBJDUMP=objdump
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7567$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7568if ${lt_cv_deplibs_check_method+:} false; then :
7569 $as_echo_n "(cached) " >&6
7570else
7571 lt_cv_file_magic_cmd='$MAGIC_CMD'
7572lt_cv_file_magic_test_file=
7573lt_cv_deplibs_check_method='unknown'
7574# Need to set the preceding variable on all platforms that support
7575# interlibrary dependencies.
7576# 'none' -- dependencies not supported.
7577# `unknown' -- same as none, but documents that we really don't know.
7578# 'pass_all' -- all dependencies passed with no checks.
7579# 'test_compile' -- check by making test program.
7580# 'file_magic [[regex]]' -- check by looking for files in library path
7581# which responds to the $file_magic_cmd with a given extended regex.
7582# If you have `file' or equivalent on your system and you're not sure
7583# whether `pass_all' will *always* work, you probably want this one.
7584
7585case $host_os in
7586aix[4-9]*)
7587 lt_cv_deplibs_check_method=pass_all
7588 ;;
7589
7590beos*)
7591 lt_cv_deplibs_check_method=pass_all
7592 ;;
7593
7594bsdi[45]*)
7595 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7596 lt_cv_file_magic_cmd='/usr/bin/file -L'
7597 lt_cv_file_magic_test_file=/shlib/libc.so
7598 ;;
7599
7600cygwin*)
7601 # func_win32_libid is a shell function defined in ltmain.sh
7602 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7603 lt_cv_file_magic_cmd='func_win32_libid'
7604 ;;
7605
7606mingw* | pw32*)
7607 # Base MSYS/MinGW do not provide the 'file' command needed by
7608 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7609 # unless we find 'file', for example because we are cross-compiling.
7610 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7611 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7612 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7613 lt_cv_file_magic_cmd='func_win32_libid'
7614 else
7615 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7616 lt_cv_file_magic_cmd='$OBJDUMP -f'
7617 fi
7618 ;;
7619
7620cegcc*)
7621 # use the weaker test based on 'objdump'. See mingw*.
7622 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7623 lt_cv_file_magic_cmd='$OBJDUMP -f'
7624 ;;
7625
7626darwin* | rhapsody*)
7627 lt_cv_deplibs_check_method=pass_all
7628 ;;
7629
7630freebsd* | dragonfly*)
7631 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7632 case $host_cpu in
7633 i*86 )
7634 # Not sure whether the presence of OpenBSD here was a mistake.
7635 # Let's accept both of them until this is cleared up.
7636 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7637 lt_cv_file_magic_cmd=/usr/bin/file
7638 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7639 ;;
7640 esac
7641 else
7642 lt_cv_deplibs_check_method=pass_all
7643 fi
7644 ;;
7645
7646gnu*)
7647 lt_cv_deplibs_check_method=pass_all
7648 ;;
7649
7650haiku*)
7651 lt_cv_deplibs_check_method=pass_all
7652 ;;
7653
7654hpux10.20* | hpux11*)
7655 lt_cv_file_magic_cmd=/usr/bin/file
7656 case $host_cpu in
7657 ia64*)
7658 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7659 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7660 ;;
7661 hppa*64*)
7662 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7663 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7664 ;;
7665 *)
7666 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7667 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7668 ;;
7669 esac
7670 ;;
7671
7672interix[3-9]*)
7673 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7674 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7675 ;;
7676
7677irix5* | irix6* | nonstopux*)
7678 case $LD in
7679 *-32|*"-32 ") libmagic=32-bit;;
7680 *-n32|*"-n32 ") libmagic=N32;;
7681 *-64|*"-64 ") libmagic=64-bit;;
7682 *) libmagic=never-match;;
7683 esac
7684 lt_cv_deplibs_check_method=pass_all
7685 ;;
7686
7687# This must be Linux ELF.
7688linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7689 lt_cv_deplibs_check_method=pass_all
7690 ;;
7691
7692netbsd*)
7693 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7694 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7695 else
7696 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7697 fi
7698 ;;
7699
7700newos6*)
7701 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7702 lt_cv_file_magic_cmd=/usr/bin/file
7703 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7704 ;;
7705
7706*nto* | *qnx*)
7707 lt_cv_deplibs_check_method=pass_all
7708 ;;
7709
7710openbsd*)
7711 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7712 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7713 else
7714 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7715 fi
7716 ;;
7717
7718osf3* | osf4* | osf5*)
7719 lt_cv_deplibs_check_method=pass_all
7720 ;;
7721
7722rdos*)
7723 lt_cv_deplibs_check_method=pass_all
7724 ;;
7725
7726solaris*)
7727 lt_cv_deplibs_check_method=pass_all
7728 ;;
7729
7730sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7731 lt_cv_deplibs_check_method=pass_all
7732 ;;
7733
7734sysv4 | sysv4.3*)
7735 case $host_vendor in
7736 motorola)
7737 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7738 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7739 ;;
7740 ncr)
7741 lt_cv_deplibs_check_method=pass_all
7742 ;;
7743 sequent)
7744 lt_cv_file_magic_cmd='/bin/file'
7745 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7746 ;;
7747 sni)
7748 lt_cv_file_magic_cmd='/bin/file'
7749 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7750 lt_cv_file_magic_test_file=/lib/libc.so
7751 ;;
7752 siemens)
7753 lt_cv_deplibs_check_method=pass_all
7754 ;;
7755 pc)
7756 lt_cv_deplibs_check_method=pass_all
7757 ;;
7758 esac
7759 ;;
7760
7761tpf*)
7762 lt_cv_deplibs_check_method=pass_all
7763 ;;
7764vxworks*)
7765 # Assume VxWorks cross toolchains are built on Linux, possibly
7766 # as canadian for Windows hosts.
7767 lt_cv_deplibs_check_method=pass_all
7768 ;;
7769esac
7770
7771fi
7772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7773$as_echo "$lt_cv_deplibs_check_method" >&6; }
7774file_magic_cmd=$lt_cv_file_magic_cmd
7775deplibs_check_method=$lt_cv_deplibs_check_method
7776test -z "$deplibs_check_method" && deplibs_check_method=unknown
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789plugin_option=
7790plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7791for plugin in $plugin_names; do
7792 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7793 if test x$plugin_so = x$plugin; then
7794 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7795 fi
7796 if test x$plugin_so != x$plugin; then
7797 plugin_option="--plugin $plugin_so"
7798 break
7799 fi
7800done
7801
7802if test -n "$ac_tool_prefix"; then
7803 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7804set dummy ${ac_tool_prefix}ar; ac_word=$2
7805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7806$as_echo_n "checking for $ac_word... " >&6; }
7807if ${ac_cv_prog_AR+:} false; then :
7808 $as_echo_n "(cached) " >&6
7809else
7810 if test -n "$AR"; then
7811 ac_cv_prog_AR="$AR" # Let the user override the test.
7812else
7813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7814for as_dir in $PATH
7815do
7816 IFS=$as_save_IFS
7817 test -z "$as_dir" && as_dir=.
7818 for ac_exec_ext in '' $ac_executable_extensions; do
7819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7820 ac_cv_prog_AR="${ac_tool_prefix}ar"
7821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7822 break 2
7823 fi
7824done
7825 done
7826IFS=$as_save_IFS
7827
7828fi
7829fi
7830AR=$ac_cv_prog_AR
7831if test -n "$AR"; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7833$as_echo "$AR" >&6; }
7834else
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7836$as_echo "no" >&6; }
7837fi
7838
7839
7840fi
7841if test -z "$ac_cv_prog_AR"; then
7842 ac_ct_AR=$AR
7843 # Extract the first word of "ar", so it can be a program name with args.
7844set dummy ar; ac_word=$2
7845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846$as_echo_n "checking for $ac_word... " >&6; }
7847if ${ac_cv_prog_ac_ct_AR+:} false; then :
7848 $as_echo_n "(cached) " >&6
7849else
7850 if test -n "$ac_ct_AR"; then
7851 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7852else
7853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854for as_dir in $PATH
7855do
7856 IFS=$as_save_IFS
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_prog_ac_ct_AR="ar"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 break 2
7863 fi
7864done
7865 done
7866IFS=$as_save_IFS
7867
7868fi
7869fi
7870ac_ct_AR=$ac_cv_prog_ac_ct_AR
7871if test -n "$ac_ct_AR"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7873$as_echo "$ac_ct_AR" >&6; }
7874else
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876$as_echo "no" >&6; }
7877fi
7878
7879 if test "x$ac_ct_AR" = x; then
7880 AR="false"
7881 else
7882 case $cross_compiling:$ac_tool_warned in
7883yes:)
7884{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7885$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7886ac_tool_warned=yes ;;
7887esac
7888 AR=$ac_ct_AR
7889 fi
7890else
7891 AR="$ac_cv_prog_AR"
7892fi
7893
7894test -z "$AR" && AR=ar
7895if test -n "$plugin_option"; then
7896 if $AR --help 2>&1 | grep -q "\--plugin"; then
7897 touch conftest.c
7898 $AR $plugin_option rc conftest.a conftest.c
7899 if test "$?" != 0; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7901$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7902 else
7903 AR="$AR $plugin_option"
7904 fi
7905 rm -f conftest.*
7906 fi
7907fi
7908test -z "$AR_FLAGS" && AR_FLAGS=cru
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7922set dummy ${ac_tool_prefix}strip; ac_word=$2
7923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924$as_echo_n "checking for $ac_word... " >&6; }
7925if ${ac_cv_prog_STRIP+:} false; then :
7926 $as_echo_n "(cached) " >&6
7927else
7928 if test -n "$STRIP"; then
7929 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7930else
7931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932for as_dir in $PATH
7933do
7934 IFS=$as_save_IFS
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 break 2
7941 fi
7942done
7943 done
7944IFS=$as_save_IFS
7945
7946fi
7947fi
7948STRIP=$ac_cv_prog_STRIP
7949if test -n "$STRIP"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7951$as_echo "$STRIP" >&6; }
7952else
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954$as_echo "no" >&6; }
7955fi
7956
7957
7958fi
7959if test -z "$ac_cv_prog_STRIP"; then
7960 ac_ct_STRIP=$STRIP
7961 # Extract the first word of "strip", so it can be a program name with args.
7962set dummy strip; ac_word=$2
7963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964$as_echo_n "checking for $ac_word... " >&6; }
7965if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967else
7968 if test -n "$ac_ct_STRIP"; then
7969 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7970else
7971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972for as_dir in $PATH
7973do
7974 IFS=$as_save_IFS
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_ac_ct_STRIP="strip"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 break 2
7981 fi
7982done
7983 done
7984IFS=$as_save_IFS
7985
7986fi
7987fi
7988ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7989if test -n "$ac_ct_STRIP"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7991$as_echo "$ac_ct_STRIP" >&6; }
7992else
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994$as_echo "no" >&6; }
7995fi
7996
7997 if test "x$ac_ct_STRIP" = x; then
7998 STRIP=":"
7999 else
8000 case $cross_compiling:$ac_tool_warned in
8001yes:)
8002{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004ac_tool_warned=yes ;;
8005esac
8006 STRIP=$ac_ct_STRIP
8007 fi
8008else
8009 STRIP="$ac_cv_prog_STRIP"
8010fi
8011
8012test -z "$STRIP" && STRIP=:
8013
8014
8015
8016
8017
8018
8019if test -n "$ac_tool_prefix"; then
8020 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8021set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8023$as_echo_n "checking for $ac_word... " >&6; }
8024if ${ac_cv_prog_RANLIB+:} false; then :
8025 $as_echo_n "(cached) " >&6
8026else
8027 if test -n "$RANLIB"; then
8028 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8029else
8030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031for as_dir in $PATH
8032do
8033 IFS=$as_save_IFS
8034 test -z "$as_dir" && as_dir=.
8035 for ac_exec_ext in '' $ac_executable_extensions; do
8036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8037 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 break 2
8040 fi
8041done
8042 done
8043IFS=$as_save_IFS
8044
8045fi
8046fi
8047RANLIB=$ac_cv_prog_RANLIB
8048if test -n "$RANLIB"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8050$as_echo "$RANLIB" >&6; }
8051else
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8053$as_echo "no" >&6; }
8054fi
8055
8056
8057fi
8058if test -z "$ac_cv_prog_RANLIB"; then
8059 ac_ct_RANLIB=$RANLIB
8060 # Extract the first word of "ranlib", so it can be a program name with args.
8061set dummy ranlib; ac_word=$2
8062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063$as_echo_n "checking for $ac_word... " >&6; }
8064if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066else
8067 if test -n "$ac_ct_RANLIB"; then
8068 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8069else
8070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071for as_dir in $PATH
8072do
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_ac_ct_RANLIB="ranlib"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8080 fi
8081done
8082 done
8083IFS=$as_save_IFS
8084
8085fi
8086fi
8087ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8088if test -n "$ac_ct_RANLIB"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8090$as_echo "$ac_ct_RANLIB" >&6; }
8091else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093$as_echo "no" >&6; }
8094fi
8095
8096 if test "x$ac_ct_RANLIB" = x; then
8097 RANLIB=":"
8098 else
8099 case $cross_compiling:$ac_tool_warned in
8100yes:)
8101{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8102$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8103ac_tool_warned=yes ;;
8104esac
8105 RANLIB=$ac_ct_RANLIB
8106 fi
8107else
8108 RANLIB="$ac_cv_prog_RANLIB"
8109fi
8110
8111test -z "$RANLIB" && RANLIB=:
8112if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8113 if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
8114 RANLIB="$RANLIB $plugin_option"
8115 fi
8116fi
8117
8118
8119
8120
8121
8122
8123# Determine commands to create old-style static archives.
8124old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8125old_postinstall_cmds='chmod 644 $oldlib'
8126old_postuninstall_cmds=
8127
8128if test -n "$RANLIB"; then
8129 case $host_os in
8130 openbsd*)
8131 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8132 ;;
8133 *)
8134 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8135 ;;
8136 esac
8137 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8138fi
8139
8140case $host_os in
8141 darwin*)
8142 lock_old_archive_extraction=yes ;;
8143 *)
8144 lock_old_archive_extraction=no ;;
8145esac
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185# If no C compiler was specified, use CC.
8186LTCC=${LTCC-"$CC"}
8187
8188# If no C compiler flags were specified, use CFLAGS.
8189LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8190
8191# Allow CC to be a program name with arguments.
8192compiler=$CC
8193
8194
8195# Check for command to grab the raw symbol name followed by C symbol from nm.
8196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8197$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8198if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8199 $as_echo_n "(cached) " >&6
8200else
8201
8202# These are sane defaults that work on at least a few old systems.
8203# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8204
8205# Character class describing NM global symbol codes.
8206symcode='[BCDEGRST]'
8207
8208# Regexp to match symbols that can be accessed directly from C.
8209sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8210
8211# Define system-specific variables.
8212case $host_os in
8213aix*)
8214 symcode='[BCDT]'
8215 ;;
8216cygwin* | mingw* | pw32* | cegcc*)
8217 symcode='[ABCDGISTW]'
8218 ;;
8219hpux*)
8220 if test "$host_cpu" = ia64; then
8221 symcode='[ABCDEGRST]'
8222 fi
8223 ;;
8224irix* | nonstopux*)
8225 symcode='[BCDEGRST]'
8226 ;;
8227osf*)
8228 symcode='[BCDEGQRST]'
8229 ;;
8230solaris*)
8231 symcode='[BCDRT]'
8232 ;;
8233sco3.2v5*)
8234 symcode='[DT]'
8235 ;;
8236sysv4.2uw2*)
8237 symcode='[DT]'
8238 ;;
8239sysv5* | sco5v6* | unixware* | OpenUNIX*)
8240 symcode='[ABDT]'
8241 ;;
8242sysv4)
8243 symcode='[DFNSTU]'
8244 ;;
8245esac
8246
8247# If we're using GNU nm, then use its standard symbol codes.
8248case `$NM -V 2>&1` in
8249*GNU* | *'with BFD'*)
8250 symcode='[ABCDGIRSTW]' ;;
8251esac
8252
8253# Transform an extracted symbol line into a proper C declaration.
8254# Some systems (esp. on ia64) link data and code symbols differently,
8255# so use this general approach.
8256lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8257
8258# Transform an extracted symbol line into symbol name and symbol address
8259lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8260lt_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'"
8261
8262# Handle CRLF in mingw tool chain
8263opt_cr=
8264case $build_os in
8265mingw*)
8266 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8267 ;;
8268esac
8269
8270# Try without a prefix underscore, then with it.
8271for ac_symprfx in "" "_"; do
8272
8273 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8274 symxfrm="\\1 $ac_symprfx\\2 \\2"
8275
8276 # Write the raw and C identifiers.
8277 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8278 # Fake it for dumpbin and say T for any non-static function
8279 # and D for any global variable.
8280 # Also find C++ and __fastcall symbols from MSVC++,
8281 # which start with @ or ?.
8282 lt_cv_sys_global_symbol_pipe="$AWK '"\
8283" {last_section=section; section=\$ 3};"\
8284" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8285" \$ 0!~/External *\|/{next};"\
8286" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8287" {if(hide[section]) next};"\
8288" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8289" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8290" s[1]~/^[@?]/{print s[1], s[1]; next};"\
8291" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8292" ' prfx=^$ac_symprfx"
8293 else
8294 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8295 fi
8296
8297 # Check to see that the pipe works correctly.
8298 pipe_works=no
8299
8300 rm -f conftest*
8301 cat > conftest.$ac_ext <<_LT_EOF
8302#ifdef __cplusplus
8303extern "C" {
8304#endif
8305char nm_test_var;
8306void nm_test_func(void);
8307void nm_test_func(void){}
8308#ifdef __cplusplus
8309}
8310#endif
8311int main(){nm_test_var='a';nm_test_func();return(0);}
8312_LT_EOF
8313
8314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8315 (eval $ac_compile) 2>&5
8316 ac_status=$?
8317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8318 test $ac_status = 0; }; then
8319 # Now try to grab the symbols.
8320 nlist=conftest.nm
8321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8322 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8323 ac_status=$?
8324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8325 test $ac_status = 0; } && test -s "$nlist"; then
8326 # Try sorting and uniquifying the output.
8327 if sort "$nlist" | uniq > "$nlist"T; then
8328 mv -f "$nlist"T "$nlist"
8329 else
8330 rm -f "$nlist"T
8331 fi
8332
8333 # Make sure that we snagged all the symbols we need.
8334 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8335 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8336 cat <<_LT_EOF > conftest.$ac_ext
8337#ifdef __cplusplus
8338extern "C" {
8339#endif
8340
8341_LT_EOF
8342 # Now generate the symbol file.
8343 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8344
8345 cat <<_LT_EOF >> conftest.$ac_ext
8346
8347/* The mapping between symbol names and symbols. */
8348const struct {
8349 const char *name;
8350 void *address;
8351}
8352lt__PROGRAM__LTX_preloaded_symbols[] =
8353{
8354 { "@PROGRAM@", (void *) 0 },
8355_LT_EOF
8356 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8357 cat <<\_LT_EOF >> conftest.$ac_ext
8358 {0, (void *) 0}
8359};
8360
8361/* This works around a problem in FreeBSD linker */
8362#ifdef FREEBSD_WORKAROUND
8363static const void *lt_preloaded_setup() {
8364 return lt__PROGRAM__LTX_preloaded_symbols;
8365}
8366#endif
8367
8368#ifdef __cplusplus
8369}
8370#endif
8371_LT_EOF
8372 # Now try linking the two files.
8373 mv conftest.$ac_objext conftstm.$ac_objext
8374 lt_save_LIBS="$LIBS"
8375 lt_save_CFLAGS="$CFLAGS"
8376 LIBS="conftstm.$ac_objext"
8377 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8379 (eval $ac_link) 2>&5
8380 ac_status=$?
8381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8382 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8383 pipe_works=yes
8384 fi
8385 LIBS="$lt_save_LIBS"
8386 CFLAGS="$lt_save_CFLAGS"
8387 else
8388 echo "cannot find nm_test_func in $nlist" >&5
8389 fi
8390 else
8391 echo "cannot find nm_test_var in $nlist" >&5
8392 fi
8393 else
8394 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8395 fi
8396 else
8397 echo "$progname: failed program was:" >&5
8398 cat conftest.$ac_ext >&5
8399 fi
8400 rm -rf conftest* conftst*
8401
8402 # Do not use the global_symbol_pipe unless it works.
8403 if test "$pipe_works" = yes; then
8404 break
8405 else
8406 lt_cv_sys_global_symbol_pipe=
8407 fi
8408done
8409
8410fi
8411
8412if test -z "$lt_cv_sys_global_symbol_pipe"; then
8413 lt_cv_sys_global_symbol_to_cdecl=
8414fi
8415if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8417$as_echo "failed" >&6; }
8418else
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8420$as_echo "ok" >&6; }
8421fi
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444# Check whether --enable-libtool-lock was given.
8445if test "${enable_libtool_lock+set}" = set; then :
8446 enableval=$enable_libtool_lock;
8447fi
8448
8449test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8450
8451# Some flags need to be propagated to the compiler or linker for good
8452# libtool support.
8453case $host in
8454ia64-*-hpux*)
8455 # Find out which ABI we are using.
8456 echo 'int i;' > conftest.$ac_ext
8457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8458 (eval $ac_compile) 2>&5
8459 ac_status=$?
8460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8461 test $ac_status = 0; }; then
8462 case `/usr/bin/file conftest.$ac_objext` in
8463 *ELF-32*)
8464 HPUX_IA64_MODE="32"
8465 ;;
8466 *ELF-64*)
8467 HPUX_IA64_MODE="64"
8468 ;;
8469 esac
8470 fi
8471 rm -rf conftest*
8472 ;;
8473*-*-irix6*)
8474 # Find out which ABI we are using.
8475 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8477 (eval $ac_compile) 2>&5
8478 ac_status=$?
8479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8480 test $ac_status = 0; }; then
8481 if test "$lt_cv_prog_gnu_ld" = yes; then
8482 case `/usr/bin/file conftest.$ac_objext` in
8483 *32-bit*)
8484 LD="${LD-ld} -melf32bsmip"
8485 ;;
8486 *N32*)
8487 LD="${LD-ld} -melf32bmipn32"
8488 ;;
8489 *64-bit*)
8490 LD="${LD-ld} -melf64bmip"
8491 ;;
8492 esac
8493 else
8494 case `/usr/bin/file conftest.$ac_objext` in
8495 *32-bit*)
8496 LD="${LD-ld} -32"
8497 ;;
8498 *N32*)
8499 LD="${LD-ld} -n32"
8500 ;;
8501 *64-bit*)
8502 LD="${LD-ld} -64"
8503 ;;
8504 esac
8505 fi
8506 fi
8507 rm -rf conftest*
8508 ;;
8509
8510x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8511s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8512 # Find out which ABI we are using.
8513 echo 'int i;' > conftest.$ac_ext
8514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8515 (eval $ac_compile) 2>&5
8516 ac_status=$?
8517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8518 test $ac_status = 0; }; then
8519 case `/usr/bin/file conftest.o` in
8520 *32-bit*)
8521 case $host in
8522 x86_64-*kfreebsd*-gnu)
8523 LD="${LD-ld} -m elf_i386_fbsd"
8524 ;;
8525 x86_64-*linux*)
8526 case `/usr/bin/file conftest.o` in
8527 *x86-64*)
8528 LD="${LD-ld} -m elf32_x86_64"
8529 ;;
8530 *)
8531 LD="${LD-ld} -m elf_i386"
8532 ;;
8533 esac
8534 ;;
8535 powerpc64le-*linux*)
8536 LD="${LD-ld} -m elf32lppclinux"
8537 ;;
8538 powerpc64-*linux*)
8539 LD="${LD-ld} -m elf32ppclinux"
8540 ;;
8541 s390x-*linux*)
8542 LD="${LD-ld} -m elf_s390"
8543 ;;
8544 sparc64-*linux*)
8545 LD="${LD-ld} -m elf32_sparc"
8546 ;;
8547 esac
8548 ;;
8549 *64-bit*)
8550 case $host in
8551 x86_64-*kfreebsd*-gnu)
8552 LD="${LD-ld} -m elf_x86_64_fbsd"
8553 ;;
8554 x86_64-*linux*)
8555 LD="${LD-ld} -m elf_x86_64"
8556 ;;
8557 powerpcle-*linux*)
8558 LD="${LD-ld} -m elf64lppc"
8559 ;;
8560 powerpc-*linux*)
8561 LD="${LD-ld} -m elf64ppc"
8562 ;;
8563 s390*-*linux*|s390*-*tpf*)
8564 LD="${LD-ld} -m elf64_s390"
8565 ;;
8566 sparc*-*linux*)
8567 LD="${LD-ld} -m elf64_sparc"
8568 ;;
8569 esac
8570 ;;
8571 esac
8572 fi
8573 rm -rf conftest*
8574 ;;
8575
8576*-*-sco3.2v5*)
8577 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8578 SAVE_CFLAGS="$CFLAGS"
8579 CFLAGS="$CFLAGS -belf"
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8581$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8582if ${lt_cv_cc_needs_belf+:} false; then :
8583 $as_echo_n "(cached) " >&6
8584else
8585 ac_ext=c
8586ac_cpp='$CPP $CPPFLAGS'
8587ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8588ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8589ac_compiler_gnu=$ac_cv_c_compiler_gnu
8590
8591 if test x$gcc_no_link = xyes; then
8592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8593fi
8594cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595/* end confdefs.h. */
8596
8597int
8598main ()
8599{
8600
8601 ;
8602 return 0;
8603}
8604_ACEOF
8605if ac_fn_c_try_link "$LINENO"; then :
8606 lt_cv_cc_needs_belf=yes
8607else
8608 lt_cv_cc_needs_belf=no
8609fi
8610rm -f core conftest.err conftest.$ac_objext \
8611 conftest$ac_exeext conftest.$ac_ext
8612 ac_ext=c
8613ac_cpp='$CPP $CPPFLAGS'
8614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8616ac_compiler_gnu=$ac_cv_c_compiler_gnu
8617
8618fi
8619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8620$as_echo "$lt_cv_cc_needs_belf" >&6; }
8621 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8622 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8623 CFLAGS="$SAVE_CFLAGS"
8624 fi
8625 ;;
8626sparc*-*solaris*)
8627 # Find out which ABI we are using.
8628 echo 'int i;' > conftest.$ac_ext
8629 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8630 (eval $ac_compile) 2>&5
8631 ac_status=$?
8632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8633 test $ac_status = 0; }; then
8634 case `/usr/bin/file conftest.o` in
8635 *64-bit*)
8636 case $lt_cv_prog_gnu_ld in
8637 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8638 *)
8639 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8640 LD="${LD-ld} -64"
8641 fi
8642 ;;
8643 esac
8644 ;;
8645 esac
8646 fi
8647 rm -rf conftest*
8648 ;;
8649esac
8650
8651need_locks="$enable_libtool_lock"
8652
8653
8654 case $host_os in
8655 rhapsody* | darwin*)
8656 if test -n "$ac_tool_prefix"; then
8657 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8658set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8660$as_echo_n "checking for $ac_word... " >&6; }
8661if ${ac_cv_prog_DSYMUTIL+:} false; then :
8662 $as_echo_n "(cached) " >&6
8663else
8664 if test -n "$DSYMUTIL"; then
8665 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8666else
8667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8668for as_dir in $PATH
8669do
8670 IFS=$as_save_IFS
8671 test -z "$as_dir" && as_dir=.
8672 for ac_exec_ext in '' $ac_executable_extensions; do
8673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8674 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8676 break 2
8677 fi
8678done
8679 done
8680IFS=$as_save_IFS
8681
8682fi
8683fi
8684DSYMUTIL=$ac_cv_prog_DSYMUTIL
8685if test -n "$DSYMUTIL"; then
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8687$as_echo "$DSYMUTIL" >&6; }
8688else
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8690$as_echo "no" >&6; }
8691fi
8692
8693
8694fi
8695if test -z "$ac_cv_prog_DSYMUTIL"; then
8696 ac_ct_DSYMUTIL=$DSYMUTIL
8697 # Extract the first word of "dsymutil", so it can be a program name with args.
8698set dummy dsymutil; ac_word=$2
8699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8700$as_echo_n "checking for $ac_word... " >&6; }
8701if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8702 $as_echo_n "(cached) " >&6
8703else
8704 if test -n "$ac_ct_DSYMUTIL"; then
8705 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8706else
8707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8708for as_dir in $PATH
8709do
8710 IFS=$as_save_IFS
8711 test -z "$as_dir" && as_dir=.
8712 for ac_exec_ext in '' $ac_executable_extensions; do
8713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8714 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8716 break 2
8717 fi
8718done
8719 done
8720IFS=$as_save_IFS
8721
8722fi
8723fi
8724ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8725if test -n "$ac_ct_DSYMUTIL"; then
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8727$as_echo "$ac_ct_DSYMUTIL" >&6; }
8728else
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8730$as_echo "no" >&6; }
8731fi
8732
8733 if test "x$ac_ct_DSYMUTIL" = x; then
8734 DSYMUTIL=":"
8735 else
8736 case $cross_compiling:$ac_tool_warned in
8737yes:)
8738{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8739$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8740ac_tool_warned=yes ;;
8741esac
8742 DSYMUTIL=$ac_ct_DSYMUTIL
8743 fi
8744else
8745 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8746fi
8747
8748 if test -n "$ac_tool_prefix"; then
8749 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8750set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8752$as_echo_n "checking for $ac_word... " >&6; }
8753if ${ac_cv_prog_NMEDIT+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755else
8756 if test -n "$NMEDIT"; then
8757 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8758else
8759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8760for as_dir in $PATH
8761do
8762 IFS=$as_save_IFS
8763 test -z "$as_dir" && as_dir=.
8764 for ac_exec_ext in '' $ac_executable_extensions; do
8765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8766 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8768 break 2
8769 fi
8770done
8771 done
8772IFS=$as_save_IFS
8773
8774fi
8775fi
8776NMEDIT=$ac_cv_prog_NMEDIT
8777if test -n "$NMEDIT"; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8779$as_echo "$NMEDIT" >&6; }
8780else
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8782$as_echo "no" >&6; }
8783fi
8784
8785
8786fi
8787if test -z "$ac_cv_prog_NMEDIT"; then
8788 ac_ct_NMEDIT=$NMEDIT
8789 # Extract the first word of "nmedit", so it can be a program name with args.
8790set dummy nmedit; ac_word=$2
8791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8792$as_echo_n "checking for $ac_word... " >&6; }
8793if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8794 $as_echo_n "(cached) " >&6
8795else
8796 if test -n "$ac_ct_NMEDIT"; then
8797 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8798else
8799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8800for as_dir in $PATH
8801do
8802 IFS=$as_save_IFS
8803 test -z "$as_dir" && as_dir=.
8804 for ac_exec_ext in '' $ac_executable_extensions; do
8805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8806 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8808 break 2
8809 fi
8810done
8811 done
8812IFS=$as_save_IFS
8813
8814fi
8815fi
8816ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8817if test -n "$ac_ct_NMEDIT"; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8819$as_echo "$ac_ct_NMEDIT" >&6; }
8820else
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8822$as_echo "no" >&6; }
8823fi
8824
8825 if test "x$ac_ct_NMEDIT" = x; then
8826 NMEDIT=":"
8827 else
8828 case $cross_compiling:$ac_tool_warned in
8829yes:)
8830{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8831$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8832ac_tool_warned=yes ;;
8833esac
8834 NMEDIT=$ac_ct_NMEDIT
8835 fi
8836else
8837 NMEDIT="$ac_cv_prog_NMEDIT"
8838fi
8839
8840 if test -n "$ac_tool_prefix"; then
8841 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8842set dummy ${ac_tool_prefix}lipo; ac_word=$2
8843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8844$as_echo_n "checking for $ac_word... " >&6; }
8845if ${ac_cv_prog_LIPO+:} false; then :
8846 $as_echo_n "(cached) " >&6
8847else
8848 if test -n "$LIPO"; then
8849 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8850else
8851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8852for as_dir in $PATH
8853do
8854 IFS=$as_save_IFS
8855 test -z "$as_dir" && as_dir=.
8856 for ac_exec_ext in '' $ac_executable_extensions; do
8857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8858 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8860 break 2
8861 fi
8862done
8863 done
8864IFS=$as_save_IFS
8865
8866fi
8867fi
8868LIPO=$ac_cv_prog_LIPO
8869if test -n "$LIPO"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8871$as_echo "$LIPO" >&6; }
8872else
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874$as_echo "no" >&6; }
8875fi
8876
8877
8878fi
8879if test -z "$ac_cv_prog_LIPO"; then
8880 ac_ct_LIPO=$LIPO
8881 # Extract the first word of "lipo", so it can be a program name with args.
8882set dummy lipo; ac_word=$2
8883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8884$as_echo_n "checking for $ac_word... " >&6; }
8885if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8886 $as_echo_n "(cached) " >&6
8887else
8888 if test -n "$ac_ct_LIPO"; then
8889 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8890else
8891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8892for as_dir in $PATH
8893do
8894 IFS=$as_save_IFS
8895 test -z "$as_dir" && as_dir=.
8896 for ac_exec_ext in '' $ac_executable_extensions; do
8897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8898 ac_cv_prog_ac_ct_LIPO="lipo"
8899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8900 break 2
8901 fi
8902done
8903 done
8904IFS=$as_save_IFS
8905
8906fi
8907fi
8908ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8909if test -n "$ac_ct_LIPO"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8911$as_echo "$ac_ct_LIPO" >&6; }
8912else
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8914$as_echo "no" >&6; }
8915fi
8916
8917 if test "x$ac_ct_LIPO" = x; then
8918 LIPO=":"
8919 else
8920 case $cross_compiling:$ac_tool_warned in
8921yes:)
8922{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8923$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8924ac_tool_warned=yes ;;
8925esac
8926 LIPO=$ac_ct_LIPO
8927 fi
8928else
8929 LIPO="$ac_cv_prog_LIPO"
8930fi
8931
8932 if test -n "$ac_tool_prefix"; then
8933 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8934set dummy ${ac_tool_prefix}otool; ac_word=$2
8935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8936$as_echo_n "checking for $ac_word... " >&6; }
8937if ${ac_cv_prog_OTOOL+:} false; then :
8938 $as_echo_n "(cached) " >&6
8939else
8940 if test -n "$OTOOL"; then
8941 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8942else
8943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8944for as_dir in $PATH
8945do
8946 IFS=$as_save_IFS
8947 test -z "$as_dir" && as_dir=.
8948 for ac_exec_ext in '' $ac_executable_extensions; do
8949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8950 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8952 break 2
8953 fi
8954done
8955 done
8956IFS=$as_save_IFS
8957
8958fi
8959fi
8960OTOOL=$ac_cv_prog_OTOOL
8961if test -n "$OTOOL"; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8963$as_echo "$OTOOL" >&6; }
8964else
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8966$as_echo "no" >&6; }
8967fi
8968
8969
8970fi
8971if test -z "$ac_cv_prog_OTOOL"; then
8972 ac_ct_OTOOL=$OTOOL
8973 # Extract the first word of "otool", so it can be a program name with args.
8974set dummy otool; ac_word=$2
8975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8976$as_echo_n "checking for $ac_word... " >&6; }
8977if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8978 $as_echo_n "(cached) " >&6
8979else
8980 if test -n "$ac_ct_OTOOL"; then
8981 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8982else
8983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8984for as_dir in $PATH
8985do
8986 IFS=$as_save_IFS
8987 test -z "$as_dir" && as_dir=.
8988 for ac_exec_ext in '' $ac_executable_extensions; do
8989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8990 ac_cv_prog_ac_ct_OTOOL="otool"
8991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8992 break 2
8993 fi
8994done
8995 done
8996IFS=$as_save_IFS
8997
8998fi
8999fi
9000ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9001if test -n "$ac_ct_OTOOL"; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9003$as_echo "$ac_ct_OTOOL" >&6; }
9004else
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9006$as_echo "no" >&6; }
9007fi
9008
9009 if test "x$ac_ct_OTOOL" = x; then
9010 OTOOL=":"
9011 else
9012 case $cross_compiling:$ac_tool_warned in
9013yes:)
9014{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9015$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9016ac_tool_warned=yes ;;
9017esac
9018 OTOOL=$ac_ct_OTOOL
9019 fi
9020else
9021 OTOOL="$ac_cv_prog_OTOOL"
9022fi
9023
9024 if test -n "$ac_tool_prefix"; then
9025 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9026set dummy ${ac_tool_prefix}otool64; ac_word=$2
9027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9028$as_echo_n "checking for $ac_word... " >&6; }
9029if ${ac_cv_prog_OTOOL64+:} false; then :
9030 $as_echo_n "(cached) " >&6
9031else
9032 if test -n "$OTOOL64"; then
9033 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9034else
9035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9036for as_dir in $PATH
9037do
9038 IFS=$as_save_IFS
9039 test -z "$as_dir" && as_dir=.
9040 for ac_exec_ext in '' $ac_executable_extensions; do
9041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9042 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9044 break 2
9045 fi
9046done
9047 done
9048IFS=$as_save_IFS
9049
9050fi
9051fi
9052OTOOL64=$ac_cv_prog_OTOOL64
9053if test -n "$OTOOL64"; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9055$as_echo "$OTOOL64" >&6; }
9056else
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9058$as_echo "no" >&6; }
9059fi
9060
9061
9062fi
9063if test -z "$ac_cv_prog_OTOOL64"; then
9064 ac_ct_OTOOL64=$OTOOL64
9065 # Extract the first word of "otool64", so it can be a program name with args.
9066set dummy otool64; ac_word=$2
9067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9068$as_echo_n "checking for $ac_word... " >&6; }
9069if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9070 $as_echo_n "(cached) " >&6
9071else
9072 if test -n "$ac_ct_OTOOL64"; then
9073 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9074else
9075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9076for as_dir in $PATH
9077do
9078 IFS=$as_save_IFS
9079 test -z "$as_dir" && as_dir=.
9080 for ac_exec_ext in '' $ac_executable_extensions; do
9081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9082 ac_cv_prog_ac_ct_OTOOL64="otool64"
9083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9084 break 2
9085 fi
9086done
9087 done
9088IFS=$as_save_IFS
9089
9090fi
9091fi
9092ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9093if test -n "$ac_ct_OTOOL64"; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9095$as_echo "$ac_ct_OTOOL64" >&6; }
9096else
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9098$as_echo "no" >&6; }
9099fi
9100
9101 if test "x$ac_ct_OTOOL64" = x; then
9102 OTOOL64=":"
9103 else
9104 case $cross_compiling:$ac_tool_warned in
9105yes:)
9106{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9107$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9108ac_tool_warned=yes ;;
9109esac
9110 OTOOL64=$ac_ct_OTOOL64
9111 fi
9112else
9113 OTOOL64="$ac_cv_prog_OTOOL64"
9114fi
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9143$as_echo_n "checking for -single_module linker flag... " >&6; }
9144if ${lt_cv_apple_cc_single_mod+:} false; then :
9145 $as_echo_n "(cached) " >&6
9146else
9147 lt_cv_apple_cc_single_mod=no
9148 if test -z "${LT_MULTI_MODULE}"; then
9149 # By default we will add the -single_module flag. You can override
9150 # by either setting the environment variable LT_MULTI_MODULE
9151 # non-empty at configure time, or by adding -multi_module to the
9152 # link flags.
9153 rm -rf libconftest.dylib*
9154 echo "int foo(void){return 1;}" > conftest.c
9155 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9156-dynamiclib -Wl,-single_module conftest.c" >&5
9157 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9158 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9159 _lt_result=$?
9160 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9161 lt_cv_apple_cc_single_mod=yes
9162 else
9163 cat conftest.err >&5
9164 fi
9165 rm -rf libconftest.dylib*
9166 rm -f conftest.*
9167 fi
9168fi
9169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9170$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9172$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9173if ${lt_cv_ld_exported_symbols_list+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175else
9176 lt_cv_ld_exported_symbols_list=no
9177 save_LDFLAGS=$LDFLAGS
9178 echo "_main" > conftest.sym
9179 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9180 if test x$gcc_no_link = xyes; then
9181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9182fi
9183cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9184/* end confdefs.h. */
9185
9186int
9187main ()
9188{
9189
9190 ;
9191 return 0;
9192}
9193_ACEOF
9194if ac_fn_c_try_link "$LINENO"; then :
9195 lt_cv_ld_exported_symbols_list=yes
9196else
9197 lt_cv_ld_exported_symbols_list=no
9198fi
9199rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LDFLAGS="$save_LDFLAGS"
9202
9203fi
9204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9205$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9207$as_echo_n "checking for -force_load linker flag... " >&6; }
9208if ${lt_cv_ld_force_load+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210else
9211 lt_cv_ld_force_load=no
9212 cat > conftest.c << _LT_EOF
9213int forced_loaded() { return 2;}
9214_LT_EOF
9215 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9216 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9217 echo "$AR cru libconftest.a conftest.o" >&5
9218 $AR cru libconftest.a conftest.o 2>&5
9219 cat > conftest.c << _LT_EOF
9220int main() { return 0;}
9221_LT_EOF
9222 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9223 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9224 _lt_result=$?
9225 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9226 lt_cv_ld_force_load=yes
9227 else
9228 cat conftest.err >&5
9229 fi
9230 rm -f conftest.err libconftest.a conftest conftest.c
9231 rm -rf conftest.dSYM
9232
9233fi
9234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9235$as_echo "$lt_cv_ld_force_load" >&6; }
9236 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9237 # build without first building modern cctools / linker.
9238 case $host_cpu-$host_os in
9239 *-rhapsody* | *-darwin1.[012])
9240 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9241 *-darwin1.*)
9242 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9243 *-darwin*)
9244 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9245 # deployment target is forced to an earlier version.
9246 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9247 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
9248 ;;
9249 10.[012][,.]*)
9250 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9251 ;;
9252 *)
9253 ;;
9254 esac
9255 ;;
9256 esac
9257 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9258 _lt_dar_single_mod='$single_module'
9259 fi
9260 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9261 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9262 else
9263 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9264 fi
9265 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9266 _lt_dsymutil='~$DSYMUTIL $lib || :'
9267 else
9268 _lt_dsymutil=
9269 fi
9270 ;;
9271 esac
9272
9273for ac_header in dlfcn.h
9274do :
9275 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9276"
9277if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9278 cat >>confdefs.h <<_ACEOF
9279#define HAVE_DLFCN_H 1
9280_ACEOF
9281
9282fi
9283
9284done
9285
9286
9287
9288
9289
9290# Set options
9291
9292
9293
9294
9295 enable_win32_dll=no
9296
9297
9298 # Check whether --enable-shared was given.
9299if test "${enable_shared+set}" = set; then :
9300 enableval=$enable_shared; p=${PACKAGE-default}
9301 case $enableval in
9302 yes) enable_shared=yes ;;
9303 no) enable_shared=no ;;
9304 *)
9305 enable_shared=no
9306 # Look at the argument we got. We use all the common list separators.
9307 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9308 for pkg in $enableval; do
9309 IFS="$lt_save_ifs"
9310 if test "X$pkg" = "X$p"; then
9311 enable_shared=yes
9312 fi
9313 done
9314 IFS="$lt_save_ifs"
9315 ;;
9316 esac
9317else
9318 enable_shared=yes
9319fi
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329 # Check whether --enable-static was given.
9330if test "${enable_static+set}" = set; then :
9331 enableval=$enable_static; p=${PACKAGE-default}
9332 case $enableval in
9333 yes) enable_static=yes ;;
9334 no) enable_static=no ;;
9335 *)
9336 enable_static=no
9337 # Look at the argument we got. We use all the common list separators.
9338 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9339 for pkg in $enableval; do
9340 IFS="$lt_save_ifs"
9341 if test "X$pkg" = "X$p"; then
9342 enable_static=yes
9343 fi
9344 done
9345 IFS="$lt_save_ifs"
9346 ;;
9347 esac
9348else
9349 enable_static=yes
9350fi
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361# Check whether --with-pic was given.
9362if test "${with_pic+set}" = set; then :
9363 withval=$with_pic; pic_mode="$withval"
9364else
9365 pic_mode=default
9366fi
9367
9368
9369test -z "$pic_mode" && pic_mode=default
9370
9371
9372
9373
9374
9375
9376
9377 # Check whether --enable-fast-install was given.
9378if test "${enable_fast_install+set}" = set; then :
9379 enableval=$enable_fast_install; p=${PACKAGE-default}
9380 case $enableval in
9381 yes) enable_fast_install=yes ;;
9382 no) enable_fast_install=no ;;
9383 *)
9384 enable_fast_install=no
9385 # Look at the argument we got. We use all the common list separators.
9386 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9387 for pkg in $enableval; do
9388 IFS="$lt_save_ifs"
9389 if test "X$pkg" = "X$p"; then
9390 enable_fast_install=yes
9391 fi
9392 done
9393 IFS="$lt_save_ifs"
9394 ;;
9395 esac
9396else
9397 enable_fast_install=yes
9398fi
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410# This can be used to rebuild libtool when needed
9411LIBTOOL_DEPS="$ltmain"
9412
9413# Always use our own libtool.
9414LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441test -z "$LN_S" && LN_S="ln -s"
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456if test -n "${ZSH_VERSION+set}" ; then
9457 setopt NO_GLOB_SUBST
9458fi
9459
9460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9461$as_echo_n "checking for objdir... " >&6; }
9462if ${lt_cv_objdir+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464else
9465 rm -f .libs 2>/dev/null
9466mkdir .libs 2>/dev/null
9467if test -d .libs; then
9468 lt_cv_objdir=.libs
9469else
9470 # MS-DOS does not allow filenames that begin with a dot.
9471 lt_cv_objdir=_libs
9472fi
9473rmdir .libs 2>/dev/null
9474fi
9475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9476$as_echo "$lt_cv_objdir" >&6; }
9477objdir=$lt_cv_objdir
9478
9479
9480
9481
9482
9483cat >>confdefs.h <<_ACEOF
9484#define LT_OBJDIR "$lt_cv_objdir/"
9485_ACEOF
9486
9487
9488
9489
9490case $host_os in
9491aix3*)
9492 # AIX sometimes has problems with the GCC collect2 program. For some
9493 # reason, if we set the COLLECT_NAMES environment variable, the problems
9494 # vanish in a puff of smoke.
9495 if test "X${COLLECT_NAMES+set}" != Xset; then
9496 COLLECT_NAMES=
9497 export COLLECT_NAMES
9498 fi
9499 ;;
9500esac
9501
9502# Global variables:
9503ofile=libtool
9504can_build_shared=yes
9505
9506# All known linkers require a `.a' archive for static linking (except MSVC,
9507# which needs '.lib').
9508libext=a
9509
9510with_gnu_ld="$lt_cv_prog_gnu_ld"
9511
9512old_CC="$CC"
9513old_CFLAGS="$CFLAGS"
9514
9515# Set sane defaults for various variables
9516test -z "$CC" && CC=cc
9517test -z "$LTCC" && LTCC=$CC
9518test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9519test -z "$LD" && LD=ld
9520test -z "$ac_objext" && ac_objext=o
9521
9522for cc_temp in $compiler""; do
9523 case $cc_temp in
9524 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9525 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9526 \-*) ;;
9527 *) break;;
9528 esac
9529done
9530cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9531
9532
9533# Only perform the check for file, if the check method requires it
9534test -z "$MAGIC_CMD" && MAGIC_CMD=file
9535case $deplibs_check_method in
9536file_magic*)
9537 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9539$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9540if ${lt_cv_path_MAGIC_CMD+:} false; then :
9541 $as_echo_n "(cached) " >&6
9542else
9543 case $MAGIC_CMD in
9544[\\/*] | ?:[\\/]*)
9545 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9546 ;;
9547*)
9548 lt_save_MAGIC_CMD="$MAGIC_CMD"
9549 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9550 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9551 for ac_dir in $ac_dummy; do
9552 IFS="$lt_save_ifs"
9553 test -z "$ac_dir" && ac_dir=.
9554 if test -f $ac_dir/${ac_tool_prefix}file; then
9555 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9556 if test -n "$file_magic_test_file"; then
9557 case $deplibs_check_method in
9558 "file_magic "*)
9559 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9560 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9561 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9562 $EGREP "$file_magic_regex" > /dev/null; then
9563 :
9564 else
9565 cat <<_LT_EOF 1>&2
9566
9567*** Warning: the command libtool uses to detect shared libraries,
9568*** $file_magic_cmd, produces output that libtool cannot recognize.
9569*** The result is that libtool may fail to recognize shared libraries
9570*** as such. This will affect the creation of libtool libraries that
9571*** depend on shared libraries, but programs linked with such libtool
9572*** libraries will work regardless of this problem. Nevertheless, you
9573*** may want to report the problem to your system manager and/or to
9574*** bug-libtool@gnu.org
9575
9576_LT_EOF
9577 fi ;;
9578 esac
9579 fi
9580 break
9581 fi
9582 done
9583 IFS="$lt_save_ifs"
9584 MAGIC_CMD="$lt_save_MAGIC_CMD"
9585 ;;
9586esac
9587fi
9588
9589MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9590if test -n "$MAGIC_CMD"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9592$as_echo "$MAGIC_CMD" >&6; }
9593else
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595$as_echo "no" >&6; }
9596fi
9597
9598
9599
9600
9601
9602if test -z "$lt_cv_path_MAGIC_CMD"; then
9603 if test -n "$ac_tool_prefix"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9605$as_echo_n "checking for file... " >&6; }
9606if ${lt_cv_path_MAGIC_CMD+:} false; then :
9607 $as_echo_n "(cached) " >&6
9608else
9609 case $MAGIC_CMD in
9610[\\/*] | ?:[\\/]*)
9611 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9612 ;;
9613*)
9614 lt_save_MAGIC_CMD="$MAGIC_CMD"
9615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9616 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9617 for ac_dir in $ac_dummy; do
9618 IFS="$lt_save_ifs"
9619 test -z "$ac_dir" && ac_dir=.
9620 if test -f $ac_dir/file; then
9621 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9622 if test -n "$file_magic_test_file"; then
9623 case $deplibs_check_method in
9624 "file_magic "*)
9625 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9626 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9627 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9628 $EGREP "$file_magic_regex" > /dev/null; then
9629 :
9630 else
9631 cat <<_LT_EOF 1>&2
9632
9633*** Warning: the command libtool uses to detect shared libraries,
9634*** $file_magic_cmd, produces output that libtool cannot recognize.
9635*** The result is that libtool may fail to recognize shared libraries
9636*** as such. This will affect the creation of libtool libraries that
9637*** depend on shared libraries, but programs linked with such libtool
9638*** libraries will work regardless of this problem. Nevertheless, you
9639*** may want to report the problem to your system manager and/or to
9640*** bug-libtool@gnu.org
9641
9642_LT_EOF
9643 fi ;;
9644 esac
9645 fi
9646 break
9647 fi
9648 done
9649 IFS="$lt_save_ifs"
9650 MAGIC_CMD="$lt_save_MAGIC_CMD"
9651 ;;
9652esac
9653fi
9654
9655MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9656if test -n "$MAGIC_CMD"; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9658$as_echo "$MAGIC_CMD" >&6; }
9659else
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9661$as_echo "no" >&6; }
9662fi
9663
9664
9665 else
9666 MAGIC_CMD=:
9667 fi
9668fi
9669
9670 fi
9671 ;;
9672esac
9673
9674# Use C for the default configuration in the libtool script
9675
9676lt_save_CC="$CC"
9677ac_ext=c
9678ac_cpp='$CPP $CPPFLAGS'
9679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9680ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9681ac_compiler_gnu=$ac_cv_c_compiler_gnu
9682
9683
9684# Source file extension for C test sources.
9685ac_ext=c
9686
9687# Object file extension for compiled C test sources.
9688objext=o
9689objext=$objext
9690
9691# Code to be used in simple compile tests
9692lt_simple_compile_test_code="int some_variable = 0;"
9693
9694# Code to be used in simple link tests
9695lt_simple_link_test_code='int main(){return(0);}'
9696
9697
9698
9699
9700
9701
9702
9703# If no C compiler was specified, use CC.
9704LTCC=${LTCC-"$CC"}
9705
9706# If no C compiler flags were specified, use CFLAGS.
9707LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9708
9709# Allow CC to be a program name with arguments.
9710compiler=$CC
9711
9712# Save the default compiler, since it gets overwritten when the other
9713# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9714compiler_DEFAULT=$CC
9715
9716# save warnings/boilerplate of simple test code
9717ac_outfile=conftest.$ac_objext
9718echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9719eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9720_lt_compiler_boilerplate=`cat conftest.err`
9721$RM conftest*
9722
9723ac_outfile=conftest.$ac_objext
9724echo "$lt_simple_link_test_code" >conftest.$ac_ext
9725eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9726_lt_linker_boilerplate=`cat conftest.err`
9727$RM -r conftest*
9728
9729
9730## CAVEAT EMPTOR:
9731## There is no encapsulation within the following macros, do not change
9732## the running order or otherwise move them around unless you know exactly
9733## what you are doing...
9734if test -n "$compiler"; then
9735
9736lt_prog_compiler_no_builtin_flag=
9737
9738if test "$GCC" = yes; then
9739 case $cc_basename in
9740 nvcc*)
9741 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9742 *)
9743 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9744 esac
9745
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9747$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9748if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9749 $as_echo_n "(cached) " >&6
9750else
9751 lt_cv_prog_compiler_rtti_exceptions=no
9752 ac_outfile=conftest.$ac_objext
9753 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9754 lt_compiler_flag="-fno-rtti -fno-exceptions"
9755 # Insert the option either (1) after the last *FLAGS variable, or
9756 # (2) before a word containing "conftest.", or (3) at the end.
9757 # Note that $ac_compile itself does not contain backslashes and begins
9758 # with a dollar sign (not a hyphen), so the echo should work correctly.
9759 # The option is referenced via a variable to avoid confusing sed.
9760 lt_compile=`echo "$ac_compile" | $SED \
9761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9763 -e 's:$: $lt_compiler_flag:'`
9764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9765 (eval "$lt_compile" 2>conftest.err)
9766 ac_status=$?
9767 cat conftest.err >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 if (exit $ac_status) && test -s "$ac_outfile"; then
9770 # The compiler can only warn and ignore the option if not recognized
9771 # So say no if there are warnings other than the usual output.
9772 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9773 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9774 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9775 lt_cv_prog_compiler_rtti_exceptions=yes
9776 fi
9777 fi
9778 $RM conftest*
9779
9780fi
9781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9782$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9783
9784if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9785 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9786else
9787 :
9788fi
9789
9790fi
9791
9792
9793
9794
9795
9796
9797 lt_prog_compiler_wl=
9798lt_prog_compiler_pic=
9799lt_prog_compiler_static=
9800
9801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9802$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9803
9804 if test "$GCC" = yes; then
9805 lt_prog_compiler_wl='-Wl,'
9806 lt_prog_compiler_static='-static'
9807
9808 case $host_os in
9809 aix*)
9810 # All AIX code is PIC.
9811 if test "$host_cpu" = ia64; then
9812 # AIX 5 now supports IA64 processor
9813 lt_prog_compiler_static='-Bstatic'
9814 fi
9815 lt_prog_compiler_pic='-fPIC'
9816 ;;
9817
9818 amigaos*)
9819 case $host_cpu in
9820 powerpc)
9821 # see comment about AmigaOS4 .so support
9822 lt_prog_compiler_pic='-fPIC'
9823 ;;
9824 m68k)
9825 # FIXME: we need at least 68020 code to build shared libraries, but
9826 # adding the `-m68020' flag to GCC prevents building anything better,
9827 # like `-m68040'.
9828 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9829 ;;
9830 esac
9831 ;;
9832
9833 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9834 # PIC is the default for these OSes.
9835 ;;
9836
9837 mingw* | cygwin* | pw32* | os2* | cegcc*)
9838 # This hack is so that the source file can tell whether it is being
9839 # built for inclusion in a dll (and should export symbols for example).
9840 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9841 # (--disable-auto-import) libraries
9842 lt_prog_compiler_pic='-DDLL_EXPORT'
9843 ;;
9844
9845 darwin* | rhapsody*)
9846 # PIC is the default on this platform
9847 # Common symbols not allowed in MH_DYLIB files
9848 lt_prog_compiler_pic='-fno-common'
9849 ;;
9850
9851 haiku*)
9852 # PIC is the default for Haiku.
9853 # The "-static" flag exists, but is broken.
9854 lt_prog_compiler_static=
9855 ;;
9856
9857 hpux*)
9858 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9859 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9860 # sets the default TLS model and affects inlining.
9861 case $host_cpu in
9862 hppa*64*)
9863 # +Z the default
9864 ;;
9865 *)
9866 lt_prog_compiler_pic='-fPIC'
9867 ;;
9868 esac
9869 ;;
9870
9871 interix[3-9]*)
9872 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9873 # Instead, we relocate shared libraries at runtime.
9874 ;;
9875
9876 msdosdjgpp*)
9877 # Just because we use GCC doesn't mean we suddenly get shared libraries
9878 # on systems that don't support them.
9879 lt_prog_compiler_can_build_shared=no
9880 enable_shared=no
9881 ;;
9882
9883 *nto* | *qnx*)
9884 # QNX uses GNU C++, but need to define -shared option too, otherwise
9885 # it will coredump.
9886 lt_prog_compiler_pic='-fPIC -shared'
9887 ;;
9888
9889 sysv4*MP*)
9890 if test -d /usr/nec; then
9891 lt_prog_compiler_pic=-Kconform_pic
9892 fi
9893 ;;
9894
9895 *)
9896 lt_prog_compiler_pic='-fPIC'
9897 ;;
9898 esac
9899
9900 case $cc_basename in
9901 nvcc*) # Cuda Compiler Driver 2.2
9902 lt_prog_compiler_wl='-Xlinker '
9903 lt_prog_compiler_pic='-Xcompiler -fPIC'
9904 ;;
9905 esac
9906 else
9907 # PORTME Check for flag to pass linker flags through the system compiler.
9908 case $host_os in
9909 aix*)
9910 lt_prog_compiler_wl='-Wl,'
9911 if test "$host_cpu" = ia64; then
9912 # AIX 5 now supports IA64 processor
9913 lt_prog_compiler_static='-Bstatic'
9914 else
9915 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9916 fi
9917 ;;
9918
9919 mingw* | cygwin* | pw32* | os2* | cegcc*)
9920 # This hack is so that the source file can tell whether it is being
9921 # built for inclusion in a dll (and should export symbols for example).
9922 lt_prog_compiler_pic='-DDLL_EXPORT'
9923 ;;
9924
9925 hpux9* | hpux10* | hpux11*)
9926 lt_prog_compiler_wl='-Wl,'
9927 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9928 # not for PA HP-UX.
9929 case $host_cpu in
9930 hppa*64*|ia64*)
9931 # +Z the default
9932 ;;
9933 *)
9934 lt_prog_compiler_pic='+Z'
9935 ;;
9936 esac
9937 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9938 lt_prog_compiler_static='${wl}-a ${wl}archive'
9939 ;;
9940
9941 irix5* | irix6* | nonstopux*)
9942 lt_prog_compiler_wl='-Wl,'
9943 # PIC (with -KPIC) is the default.
9944 lt_prog_compiler_static='-non_shared'
9945 ;;
9946
9947 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9948 case $cc_basename in
9949 # old Intel for x86_64 which still supported -KPIC.
9950 ecc*)
9951 lt_prog_compiler_wl='-Wl,'
9952 lt_prog_compiler_pic='-KPIC'
9953 lt_prog_compiler_static='-static'
9954 ;;
9955 # icc used to be incompatible with GCC.
9956 # ICC 10 doesn't accept -KPIC any more.
9957 icc* | ifort*)
9958 lt_prog_compiler_wl='-Wl,'
9959 lt_prog_compiler_pic='-fPIC'
9960 lt_prog_compiler_static='-static'
9961 ;;
9962 # Lahey Fortran 8.1.
9963 lf95*)
9964 lt_prog_compiler_wl='-Wl,'
9965 lt_prog_compiler_pic='--shared'
9966 lt_prog_compiler_static='--static'
9967 ;;
9968 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9969 # Portland Group compilers (*not* the Pentium gcc compiler,
9970 # which looks to be a dead project)
9971 lt_prog_compiler_wl='-Wl,'
9972 lt_prog_compiler_pic='-fpic'
9973 lt_prog_compiler_static='-Bstatic'
9974 ;;
9975 ccc*)
9976 lt_prog_compiler_wl='-Wl,'
9977 # All Alpha code is PIC.
9978 lt_prog_compiler_static='-non_shared'
9979 ;;
9980 xl* | bgxl* | bgf* | mpixl*)
9981 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9982 lt_prog_compiler_wl='-Wl,'
9983 lt_prog_compiler_pic='-qpic'
9984 lt_prog_compiler_static='-qstaticlink'
9985 ;;
9986 *)
9987 case `$CC -V 2>&1 | sed 5q` in
9988 *Sun\ F* | *Sun*Fortran*)
9989 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9990 lt_prog_compiler_pic='-KPIC'
9991 lt_prog_compiler_static='-Bstatic'
9992 lt_prog_compiler_wl=''
9993 ;;
9994 *Sun\ C*)
9995 # Sun C 5.9
9996 lt_prog_compiler_pic='-KPIC'
9997 lt_prog_compiler_static='-Bstatic'
9998 lt_prog_compiler_wl='-Wl,'
9999 ;;
10000 esac
10001 ;;
10002 esac
10003 ;;
10004
10005 newsos6)
10006 lt_prog_compiler_pic='-KPIC'
10007 lt_prog_compiler_static='-Bstatic'
10008 ;;
10009
10010 *nto* | *qnx*)
10011 # QNX uses GNU C++, but need to define -shared option too, otherwise
10012 # it will coredump.
10013 lt_prog_compiler_pic='-fPIC -shared'
10014 ;;
10015
10016 osf3* | osf4* | osf5*)
10017 lt_prog_compiler_wl='-Wl,'
10018 # All OSF/1 code is PIC.
10019 lt_prog_compiler_static='-non_shared'
10020 ;;
10021
10022 rdos*)
10023 lt_prog_compiler_static='-non_shared'
10024 ;;
10025
10026 solaris*)
10027 lt_prog_compiler_pic='-KPIC'
10028 lt_prog_compiler_static='-Bstatic'
10029 case $cc_basename in
10030 f77* | f90* | f95*)
10031 lt_prog_compiler_wl='-Qoption ld ';;
10032 *)
10033 lt_prog_compiler_wl='-Wl,';;
10034 esac
10035 ;;
10036
10037 sunos4*)
10038 lt_prog_compiler_wl='-Qoption ld '
10039 lt_prog_compiler_pic='-PIC'
10040 lt_prog_compiler_static='-Bstatic'
10041 ;;
10042
10043 sysv4 | sysv4.2uw2* | sysv4.3*)
10044 lt_prog_compiler_wl='-Wl,'
10045 lt_prog_compiler_pic='-KPIC'
10046 lt_prog_compiler_static='-Bstatic'
10047 ;;
10048
10049 sysv4*MP*)
10050 if test -d /usr/nec ;then
10051 lt_prog_compiler_pic='-Kconform_pic'
10052 lt_prog_compiler_static='-Bstatic'
10053 fi
10054 ;;
10055
10056 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10057 lt_prog_compiler_wl='-Wl,'
10058 lt_prog_compiler_pic='-KPIC'
10059 lt_prog_compiler_static='-Bstatic'
10060 ;;
10061
10062 unicos*)
10063 lt_prog_compiler_wl='-Wl,'
10064 lt_prog_compiler_can_build_shared=no
10065 ;;
10066
10067 uts4*)
10068 lt_prog_compiler_pic='-pic'
10069 lt_prog_compiler_static='-Bstatic'
10070 ;;
10071
10072 *)
10073 lt_prog_compiler_can_build_shared=no
10074 ;;
10075 esac
10076 fi
10077
10078case $host_os in
10079 # For platforms which do not support PIC, -DPIC is meaningless:
10080 *djgpp*)
10081 lt_prog_compiler_pic=
10082 ;;
10083 *)
10084 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10085 ;;
10086esac
10087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10088$as_echo "$lt_prog_compiler_pic" >&6; }
10089
10090
10091
10092
10093
10094
10095#
10096# Check to make sure the PIC flag actually works.
10097#
10098if test -n "$lt_prog_compiler_pic"; then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10100$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10101if ${lt_cv_prog_compiler_pic_works+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103else
10104 lt_cv_prog_compiler_pic_works=no
10105 ac_outfile=conftest.$ac_objext
10106 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10107 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10108 # Insert the option either (1) after the last *FLAGS variable, or
10109 # (2) before a word containing "conftest.", or (3) at the end.
10110 # Note that $ac_compile itself does not contain backslashes and begins
10111 # with a dollar sign (not a hyphen), so the echo should work correctly.
10112 # The option is referenced via a variable to avoid confusing sed.
10113 lt_compile=`echo "$ac_compile" | $SED \
10114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10116 -e 's:$: $lt_compiler_flag:'`
10117 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10118 (eval "$lt_compile" 2>conftest.err)
10119 ac_status=$?
10120 cat conftest.err >&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 if (exit $ac_status) && test -s "$ac_outfile"; then
10123 # The compiler can only warn and ignore the option if not recognized
10124 # So say no if there are warnings other than the usual output.
10125 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10126 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10127 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10128 lt_cv_prog_compiler_pic_works=yes
10129 fi
10130 fi
10131 $RM conftest*
10132
10133fi
10134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10135$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10136
10137if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10138 case $lt_prog_compiler_pic in
10139 "" | " "*) ;;
10140 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10141 esac
10142else
10143 lt_prog_compiler_pic=
10144 lt_prog_compiler_can_build_shared=no
10145fi
10146
10147fi
10148
10149
10150
10151
10152
10153
10154#
10155# Check to make sure the static flag actually works.
10156#
10157wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10159$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10160if ${lt_cv_prog_compiler_static_works+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162else
10163 lt_cv_prog_compiler_static_works=no
10164 save_LDFLAGS="$LDFLAGS"
10165 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10166 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10167 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10168 # The linker can only warn and ignore the option if not recognized
10169 # So say no if there are warnings
10170 if test -s conftest.err; then
10171 # Append any errors to the config.log.
10172 cat conftest.err 1>&5
10173 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10174 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10175 if diff conftest.exp conftest.er2 >/dev/null; then
10176 lt_cv_prog_compiler_static_works=yes
10177 fi
10178 else
10179 lt_cv_prog_compiler_static_works=yes
10180 fi
10181 fi
10182 $RM -r conftest*
10183 LDFLAGS="$save_LDFLAGS"
10184
10185fi
10186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10187$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10188
10189if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10190 :
10191else
10192 lt_prog_compiler_static=
10193fi
10194
10195
10196
10197
10198
10199
10200
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10202$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10203if ${lt_cv_prog_compiler_c_o+:} false; then :
10204 $as_echo_n "(cached) " >&6
10205else
10206 lt_cv_prog_compiler_c_o=no
10207 $RM -r conftest 2>/dev/null
10208 mkdir conftest
10209 cd conftest
10210 mkdir out
10211 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10212
10213 lt_compiler_flag="-o out/conftest2.$ac_objext"
10214 # Insert the option either (1) after the last *FLAGS variable, or
10215 # (2) before a word containing "conftest.", or (3) at the end.
10216 # Note that $ac_compile itself does not contain backslashes and begins
10217 # with a dollar sign (not a hyphen), so the echo should work correctly.
10218 lt_compile=`echo "$ac_compile" | $SED \
10219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10221 -e 's:$: $lt_compiler_flag:'`
10222 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10223 (eval "$lt_compile" 2>out/conftest.err)
10224 ac_status=$?
10225 cat out/conftest.err >&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10228 then
10229 # The compiler can only warn and ignore the option if not recognized
10230 # So say no if there are warnings
10231 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10232 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10233 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10234 lt_cv_prog_compiler_c_o=yes
10235 fi
10236 fi
10237 chmod u+w . 2>&5
10238 $RM conftest*
10239 # SGI C++ compiler will create directory out/ii_files/ for
10240 # template instantiation
10241 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10242 $RM out/* && rmdir out
10243 cd ..
10244 $RM -r conftest
10245 $RM conftest*
10246
10247fi
10248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10249$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10250
10251
10252
10253
10254
10255
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10257$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10258if ${lt_cv_prog_compiler_c_o+:} false; then :
10259 $as_echo_n "(cached) " >&6
10260else
10261 lt_cv_prog_compiler_c_o=no
10262 $RM -r conftest 2>/dev/null
10263 mkdir conftest
10264 cd conftest
10265 mkdir out
10266 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10267
10268 lt_compiler_flag="-o out/conftest2.$ac_objext"
10269 # Insert the option either (1) after the last *FLAGS variable, or
10270 # (2) before a word containing "conftest.", or (3) at the end.
10271 # Note that $ac_compile itself does not contain backslashes and begins
10272 # with a dollar sign (not a hyphen), so the echo should work correctly.
10273 lt_compile=`echo "$ac_compile" | $SED \
10274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10276 -e 's:$: $lt_compiler_flag:'`
10277 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10278 (eval "$lt_compile" 2>out/conftest.err)
10279 ac_status=$?
10280 cat out/conftest.err >&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10283 then
10284 # The compiler can only warn and ignore the option if not recognized
10285 # So say no if there are warnings
10286 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10287 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10288 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10289 lt_cv_prog_compiler_c_o=yes
10290 fi
10291 fi
10292 chmod u+w . 2>&5
10293 $RM conftest*
10294 # SGI C++ compiler will create directory out/ii_files/ for
10295 # template instantiation
10296 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10297 $RM out/* && rmdir out
10298 cd ..
10299 $RM -r conftest
10300 $RM conftest*
10301
10302fi
10303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10304$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10305
10306
10307
10308
10309hard_links="nottested"
10310if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10311 # do not overwrite the value of need_locks provided by the user
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10313$as_echo_n "checking if we can lock with hard links... " >&6; }
10314 hard_links=yes
10315 $RM conftest*
10316 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10317 touch conftest.a
10318 ln conftest.a conftest.b 2>&5 || hard_links=no
10319 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10321$as_echo "$hard_links" >&6; }
10322 if test "$hard_links" = no; then
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10324$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10325 need_locks=warn
10326 fi
10327else
10328 need_locks=no
10329fi
10330
10331
10332
10333
10334
10335
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10337$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10338
10339 runpath_var=
10340 allow_undefined_flag=
10341 always_export_symbols=no
10342 archive_cmds=
10343 archive_expsym_cmds=
10344 compiler_needs_object=no
10345 enable_shared_with_static_runtimes=no
10346 export_dynamic_flag_spec=
10347 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10348 hardcode_automatic=no
10349 hardcode_direct=no
10350 hardcode_direct_absolute=no
10351 hardcode_libdir_flag_spec=
10352 hardcode_libdir_flag_spec_ld=
10353 hardcode_libdir_separator=
10354 hardcode_minus_L=no
10355 hardcode_shlibpath_var=unsupported
10356 inherit_rpath=no
10357 link_all_deplibs=unknown
10358 module_cmds=
10359 module_expsym_cmds=
10360 old_archive_from_new_cmds=
10361 old_archive_from_expsyms_cmds=
10362 thread_safe_flag_spec=
10363 whole_archive_flag_spec=
10364 # include_expsyms should be a list of space-separated symbols to be *always*
10365 # included in the symbol list
10366 include_expsyms=
10367 # exclude_expsyms can be an extended regexp of symbols to exclude
10368 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10369 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10370 # as well as any symbol that contains `d'.
10371 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10372 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10373 # platforms (ab)use it in PIC code, but their linkers get confused if
10374 # the symbol is explicitly referenced. Since portable code cannot
10375 # rely on this symbol name, it's probably fine to never include it in
10376 # preloaded symbol tables.
10377 # Exclude shared library initialization/finalization symbols.
10378 extract_expsyms_cmds=
10379
10380 case $host_os in
10381 cygwin* | mingw* | pw32* | cegcc*)
10382 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10383 # When not using gcc, we currently assume that we are using
10384 # Microsoft Visual C++.
10385 if test "$GCC" != yes; then
10386 with_gnu_ld=no
10387 fi
10388 ;;
10389 interix*)
10390 # we just hope/assume this is gcc and not c89 (= MSVC++)
10391 with_gnu_ld=yes
10392 ;;
10393 openbsd*)
10394 with_gnu_ld=no
10395 ;;
10396 esac
10397
10398 ld_shlibs=yes
10399
10400 # On some targets, GNU ld is compatible enough with the native linker
10401 # that we're better off using the native interface for both.
10402 lt_use_gnu_ld_interface=no
10403 if test "$with_gnu_ld" = yes; then
10404 case $host_os in
10405 aix*)
10406 # The AIX port of GNU ld has always aspired to compatibility
10407 # with the native linker. However, as the warning in the GNU ld
10408 # block says, versions before 2.19.5* couldn't really create working
10409 # shared libraries, regardless of the interface used.
10410 case `$LD -v 2>&1` in
10411 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10412 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10413 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10414 *)
10415 lt_use_gnu_ld_interface=yes
10416 ;;
10417 esac
10418 ;;
10419 *)
10420 lt_use_gnu_ld_interface=yes
10421 ;;
10422 esac
10423 fi
10424
10425 if test "$lt_use_gnu_ld_interface" = yes; then
10426 # If archive_cmds runs LD, not CC, wlarc should be empty
10427 wlarc='${wl}'
10428
10429 # Set some defaults for GNU ld with shared library support. These
10430 # are reset later if shared libraries are not supported. Putting them
10431 # here allows them to be overridden if necessary.
10432 runpath_var=LD_RUN_PATH
10433 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10434 export_dynamic_flag_spec='${wl}--export-dynamic'
10435 # ancient GNU ld didn't support --whole-archive et. al.
10436 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10437 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10438 else
10439 whole_archive_flag_spec=
10440 fi
10441 supports_anon_versioning=no
10442 case `$LD -v 2>&1` in
10443 *GNU\ gold*) supports_anon_versioning=yes ;;
10444 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10445 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10446 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10447 *\ 2.11.*) ;; # other 2.11 versions
10448 *) supports_anon_versioning=yes ;;
10449 esac
10450
10451 # See if GNU ld supports shared libraries.
10452 case $host_os in
10453 aix[3-9]*)
10454 # On AIX/PPC, the GNU linker is very broken
10455 if test "$host_cpu" != ia64; then
10456 ld_shlibs=no
10457 cat <<_LT_EOF 1>&2
10458
10459*** Warning: the GNU linker, at least up to release 2.19, is reported
10460*** to be unable to reliably create shared libraries on AIX.
10461*** Therefore, libtool is disabling shared libraries support. If you
10462*** really care for shared libraries, you may want to install binutils
10463*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10464*** You will then need to restart the configuration process.
10465
10466_LT_EOF
10467 fi
10468 ;;
10469
10470 amigaos*)
10471 case $host_cpu in
10472 powerpc)
10473 # see comment about AmigaOS4 .so support
10474 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10475 archive_expsym_cmds=''
10476 ;;
10477 m68k)
10478 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10479 hardcode_libdir_flag_spec='-L$libdir'
10480 hardcode_minus_L=yes
10481 ;;
10482 esac
10483 ;;
10484
10485 beos*)
10486 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10487 allow_undefined_flag=unsupported
10488 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10489 # support --undefined. This deserves some investigation. FIXME
10490 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10491 else
10492 ld_shlibs=no
10493 fi
10494 ;;
10495
10496 cygwin* | mingw* | pw32* | cegcc*)
10497 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10498 # as there is no search path for DLLs.
10499 hardcode_libdir_flag_spec='-L$libdir'
10500 export_dynamic_flag_spec='${wl}--export-all-symbols'
10501 allow_undefined_flag=unsupported
10502 always_export_symbols=no
10503 enable_shared_with_static_runtimes=yes
10504 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10505
10506 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10507 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10508 # If the export-symbols file already is a .def file (1st line
10509 # is EXPORTS), use it as is; otherwise, prepend...
10510 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10511 cp $export_symbols $output_objdir/$soname.def;
10512 else
10513 echo EXPORTS > $output_objdir/$soname.def;
10514 cat $export_symbols >> $output_objdir/$soname.def;
10515 fi~
10516 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10517 else
10518 ld_shlibs=no
10519 fi
10520 ;;
10521
10522 haiku*)
10523 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10524 link_all_deplibs=yes
10525 ;;
10526
10527 interix[3-9]*)
10528 hardcode_direct=no
10529 hardcode_shlibpath_var=no
10530 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10531 export_dynamic_flag_spec='${wl}-E'
10532 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10533 # Instead, shared libraries are loaded at an image base (0x10000000 by
10534 # default) and relocated if they conflict, which is a slow very memory
10535 # consuming and fragmenting process. To avoid this, we pick a random,
10536 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10537 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10538 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10539 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10540 ;;
10541
10542 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10543 tmp_diet=no
10544 if test "$host_os" = linux-dietlibc; then
10545 case $cc_basename in
10546 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10547 esac
10548 fi
10549 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10550 && test "$tmp_diet" = no
10551 then
10552 tmp_addflag=' $pic_flag'
10553 tmp_sharedflag='-shared'
10554 case $cc_basename,$host_cpu in
10555 pgcc*) # Portland Group C compiler
10556 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10557 tmp_addflag=' $pic_flag'
10558 ;;
10559 pgf77* | pgf90* | pgf95* | pgfortran*)
10560 # Portland Group f77 and f90 compilers
10561 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10562 tmp_addflag=' $pic_flag -Mnomain' ;;
10563 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10564 tmp_addflag=' -i_dynamic' ;;
10565 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10566 tmp_addflag=' -i_dynamic -nofor_main' ;;
10567 ifc* | ifort*) # Intel Fortran compiler
10568 tmp_addflag=' -nofor_main' ;;
10569 lf95*) # Lahey Fortran 8.1
10570 whole_archive_flag_spec=
10571 tmp_sharedflag='--shared' ;;
10572 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10573 tmp_sharedflag='-qmkshrobj'
10574 tmp_addflag= ;;
10575 nvcc*) # Cuda Compiler Driver 2.2
10576 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10577 compiler_needs_object=yes
10578 ;;
10579 esac
10580 case `$CC -V 2>&1 | sed 5q` in
10581 *Sun\ C*) # Sun C 5.9
10582 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10583 compiler_needs_object=yes
10584 tmp_sharedflag='-G' ;;
10585 *Sun\ F*) # Sun Fortran 8.3
10586 tmp_sharedflag='-G' ;;
10587 esac
10588 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10589
10590 if test "x$supports_anon_versioning" = xyes; then
10591 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10592 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10593 echo "local: *; };" >> $output_objdir/$libname.ver~
10594 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10595 fi
10596
10597 case $cc_basename in
10598 xlf* | bgf* | bgxlf* | mpixlf*)
10599 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10600 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10601 hardcode_libdir_flag_spec=
10602 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10603 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10604 if test "x$supports_anon_versioning" = xyes; then
10605 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10606 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10607 echo "local: *; };" >> $output_objdir/$libname.ver~
10608 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10609 fi
10610 ;;
10611 esac
10612 else
10613 ld_shlibs=no
10614 fi
10615 ;;
10616
10617 netbsd*)
10618 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10619 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10620 wlarc=
10621 else
10622 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10623 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10624 fi
10625 ;;
10626
10627 solaris*)
10628 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10629 ld_shlibs=no
10630 cat <<_LT_EOF 1>&2
10631
10632*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10633*** create shared libraries on Solaris systems. Therefore, libtool
10634*** is disabling shared libraries support. We urge you to upgrade GNU
10635*** binutils to release 2.9.1 or newer. Another option is to modify
10636*** your PATH or compiler configuration so that the native linker is
10637*** used, and then restart.
10638
10639_LT_EOF
10640 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10641 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10642 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10643 else
10644 ld_shlibs=no
10645 fi
10646 ;;
10647
10648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10649 case `$LD -v 2>&1` in
10650 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10651 ld_shlibs=no
10652 cat <<_LT_EOF 1>&2
10653
10654*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10655*** reliably create shared libraries on SCO systems. Therefore, libtool
10656*** is disabling shared libraries support. We urge you to upgrade GNU
10657*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10658*** your PATH or compiler configuration so that the native linker is
10659*** used, and then restart.
10660
10661_LT_EOF
10662 ;;
10663 *)
10664 # For security reasons, it is highly recommended that you always
10665 # use absolute paths for naming shared libraries, and exclude the
10666 # DT_RUNPATH tag from executables and libraries. But doing so
10667 # requires that you compile everything twice, which is a pain.
10668 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10669 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10670 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10671 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10672 else
10673 ld_shlibs=no
10674 fi
10675 ;;
10676 esac
10677 ;;
10678
10679 sunos4*)
10680 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10681 wlarc=
10682 hardcode_direct=yes
10683 hardcode_shlibpath_var=no
10684 ;;
10685
10686 *)
10687 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10688 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10689 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10690 else
10691 ld_shlibs=no
10692 fi
10693 ;;
10694 esac
10695
10696 if test "$ld_shlibs" = no; then
10697 runpath_var=
10698 hardcode_libdir_flag_spec=
10699 export_dynamic_flag_spec=
10700 whole_archive_flag_spec=
10701 fi
10702 else
10703 # PORTME fill in a description of your system's linker (not GNU ld)
10704 case $host_os in
10705 aix3*)
10706 allow_undefined_flag=unsupported
10707 always_export_symbols=yes
10708 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10709 # Note: this linker hardcodes the directories in LIBPATH if there
10710 # are no directories specified by -L.
10711 hardcode_minus_L=yes
10712 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10713 # Neither direct hardcoding nor static linking is supported with a
10714 # broken collect2.
10715 hardcode_direct=unsupported
10716 fi
10717 ;;
10718
10719 aix[4-9]*)
10720 if test "$host_cpu" = ia64; then
10721 # On IA64, the linker does run time linking by default, so we don't
10722 # have to do anything special.
10723 aix_use_runtimelinking=no
10724 exp_sym_flag='-Bexport'
10725 no_entry_flag=""
10726 else
10727 # If we're using GNU nm, then we don't want the "-C" option.
10728 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10729 # Also, AIX nm treats weak defined symbols like other global
10730 # defined symbols, whereas GNU nm marks them as "W".
10731 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10732 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10733 else
10734 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10735 fi
10736 aix_use_runtimelinking=no
10737
10738 # Test if we are trying to use run time linking or normal
10739 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10740 # need to do runtime linking.
10741 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10742 for ld_flag in $LDFLAGS; do
10743 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10744 aix_use_runtimelinking=yes
10745 break
10746 fi
10747 done
10748 ;;
10749 esac
10750
10751 exp_sym_flag='-bexport'
10752 no_entry_flag='-bnoentry'
10753 fi
10754
10755 # When large executables or shared objects are built, AIX ld can
10756 # have problems creating the table of contents. If linking a library
10757 # or program results in "error TOC overflow" add -mminimal-toc to
10758 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10759 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10760
10761 archive_cmds=''
10762 hardcode_direct=yes
10763 hardcode_direct_absolute=yes
10764 hardcode_libdir_separator=':'
10765 link_all_deplibs=yes
10766 file_list_spec='${wl}-f,'
10767
10768 if test "$GCC" = yes; then
10769 case $host_os in aix4.[012]|aix4.[012].*)
10770 # We only want to do this on AIX 4.2 and lower, the check
10771 # below for broken collect2 doesn't work under 4.3+
10772 collect2name=`${CC} -print-prog-name=collect2`
10773 if test -f "$collect2name" &&
10774 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10775 then
10776 # We have reworked collect2
10777 :
10778 else
10779 # We have old collect2
10780 hardcode_direct=unsupported
10781 # It fails to find uninstalled libraries when the uninstalled
10782 # path is not listed in the libpath. Setting hardcode_minus_L
10783 # to unsupported forces relinking
10784 hardcode_minus_L=yes
10785 hardcode_libdir_flag_spec='-L$libdir'
10786 hardcode_libdir_separator=
10787 fi
10788 ;;
10789 esac
10790 shared_flag='-shared'
10791 if test "$aix_use_runtimelinking" = yes; then
10792 shared_flag="$shared_flag "'${wl}-G'
10793 fi
10794 else
10795 # not using gcc
10796 if test "$host_cpu" = ia64; then
10797 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10798 # chokes on -Wl,-G. The following line is correct:
10799 shared_flag='-G'
10800 else
10801 if test "$aix_use_runtimelinking" = yes; then
10802 shared_flag='${wl}-G'
10803 else
10804 shared_flag='${wl}-bM:SRE'
10805 fi
10806 fi
10807 fi
10808
10809 export_dynamic_flag_spec='${wl}-bexpall'
10810 # It seems that -bexpall does not export symbols beginning with
10811 # underscore (_), so it is better to generate a list of symbols to export.
10812 always_export_symbols=yes
10813 if test "$aix_use_runtimelinking" = yes; then
10814 # Warning - without using the other runtime loading flags (-brtl),
10815 # -berok will link without error, but may produce a broken library.
10816 allow_undefined_flag='-berok'
10817 # Determine the default libpath from the value encoded in an
10818 # empty executable.
10819 if test x$gcc_no_link = xyes; then
10820 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10821fi
10822cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823/* end confdefs.h. */
10824
10825int
10826main ()
10827{
10828
10829 ;
10830 return 0;
10831}
10832_ACEOF
10833if ac_fn_c_try_link "$LINENO"; then :
10834
10835lt_aix_libpath_sed='
10836 /Import File Strings/,/^$/ {
10837 /^0/ {
10838 s/^0 *\(.*\)$/\1/
10839 p
10840 }
10841 }'
10842aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10843# Check for a 64-bit object if we didn't find anything.
10844if test -z "$aix_libpath"; then
10845 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10846fi
10847fi
10848rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10851
10852 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10853 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10854 else
10855 if test "$host_cpu" = ia64; then
10856 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10857 allow_undefined_flag="-z nodefs"
10858 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10859 else
10860 # Determine the default libpath from the value encoded in an
10861 # empty executable.
10862 if test x$gcc_no_link = xyes; then
10863 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10864fi
10865cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866/* end confdefs.h. */
10867
10868int
10869main ()
10870{
10871
10872 ;
10873 return 0;
10874}
10875_ACEOF
10876if ac_fn_c_try_link "$LINENO"; then :
10877
10878lt_aix_libpath_sed='
10879 /Import File Strings/,/^$/ {
10880 /^0/ {
10881 s/^0 *\(.*\)$/\1/
10882 p
10883 }
10884 }'
10885aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10886# Check for a 64-bit object if we didn't find anything.
10887if test -z "$aix_libpath"; then
10888 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10889fi
10890fi
10891rm -f core conftest.err conftest.$ac_objext \
10892 conftest$ac_exeext conftest.$ac_ext
10893if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10894
10895 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10896 # Warning - without using the other run time loading flags,
10897 # -berok will link without error, but may produce a broken library.
10898 no_undefined_flag=' ${wl}-bernotok'
10899 allow_undefined_flag=' ${wl}-berok'
10900 if test "$with_gnu_ld" = yes; then
10901 # We only use this code for GNU lds that support --whole-archive.
10902 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10903 else
10904 # Exported symbols can be pulled into shared objects from archives
10905 whole_archive_flag_spec='$convenience'
10906 fi
10907 archive_cmds_need_lc=yes
10908 # This is similar to how AIX traditionally builds its shared libraries.
10909 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10910 fi
10911 fi
10912 ;;
10913
10914 amigaos*)
10915 case $host_cpu in
10916 powerpc)
10917 # see comment about AmigaOS4 .so support
10918 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10919 archive_expsym_cmds=''
10920 ;;
10921 m68k)
10922 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10923 hardcode_libdir_flag_spec='-L$libdir'
10924 hardcode_minus_L=yes
10925 ;;
10926 esac
10927 ;;
10928
10929 bsdi[45]*)
10930 export_dynamic_flag_spec=-rdynamic
10931 ;;
10932
10933 cygwin* | mingw* | pw32* | cegcc*)
10934 # When not using gcc, we currently assume that we are using
10935 # Microsoft Visual C++.
10936 # hardcode_libdir_flag_spec is actually meaningless, as there is
10937 # no search path for DLLs.
10938 hardcode_libdir_flag_spec=' '
10939 allow_undefined_flag=unsupported
10940 # Tell ltmain to make .lib files, not .a files.
10941 libext=lib
10942 # Tell ltmain to make .dll files, not .so files.
10943 shrext_cmds=".dll"
10944 # FIXME: Setting linknames here is a bad hack.
10945 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10946 # The linker will automatically build a .lib file if we build a DLL.
10947 old_archive_from_new_cmds='true'
10948 # FIXME: Should let the user specify the lib program.
10949 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10950 fix_srcfile_path='`cygpath -w "$srcfile"`'
10951 enable_shared_with_static_runtimes=yes
10952 ;;
10953
10954 darwin* | rhapsody*)
10955
10956
10957
10958 # Publish an arg to allow the user to select that Darwin host (and target)
10959 # libraries should be given install-names like @rpath/libfoo.dylib. This
10960 # requires that the user of the library then adds an 'rpath' to the DSO that
10961 # needs access.
10962 # NOTE: there are defaults below, for systems that support rpaths. The person
10963 # configuring can override the defaults for any system version that supports
10964 # them - they are, however, forced off for system versions without support.
10965 # Check whether --enable-darwin-at-rpath was given.
10966if test "${enable_darwin_at_rpath+set}" = set; then :
10967 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10968 # This is not supported before macOS 10.5 / Darwin9.
10969 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10970 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10972$as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10973 enable_darwin_at_rpath=no
10974 ;;
10975 esac
10976 fi
10977else
10978 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10979 # As above, before 10.5 / Darwin9 this does not work.
10980 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10981 enable_darwin_at_rpath=no
10982 ;;
10983
10984 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10985 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10986 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10987 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10989$as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10990 enable_darwin_at_rpath=yes
10991 ;;
10992 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10993 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10994
10995 esac
10996
10997fi
10998
10999
11000 archive_cmds_need_lc=no
11001 hardcode_direct=no
11002 hardcode_automatic=yes
11003 hardcode_shlibpath_var=unsupported
11004 if test "$lt_cv_ld_force_load" = "yes"; then
11005 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11006 else
11007 whole_archive_flag_spec=''
11008 fi
11009 link_all_deplibs=yes
11010 allow_undefined_flag="$_lt_dar_allow_undefined"
11011 case $cc_basename in
11012 ifort*) _lt_dar_can_shared=yes ;;
11013 *) _lt_dar_can_shared=$GCC ;;
11014 esac
11015 if test "$_lt_dar_can_shared" = "yes"; then
11016 output_verbose_link_cmd=func_echo_all
11017 _lt_install_name='\$rpath/\$soname'
11018 if test "x$enable_darwin_at_rpath" = "xyes"; then
11019 _lt_install_name='@rpath/\$soname'
11020 fi
11021 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
11022 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11023 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
11024 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11025
11026 else
11027 ld_shlibs=no
11028 fi
11029
11030 ;;
11031
11032 dgux*)
11033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11034 hardcode_libdir_flag_spec='-L$libdir'
11035 hardcode_shlibpath_var=no
11036 ;;
11037
11038 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11039 # support. Future versions do this automatically, but an explicit c++rt0.o
11040 # does not break anything, and helps significantly (at the cost of a little
11041 # extra space).
11042 freebsd2.2*)
11043 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11044 hardcode_libdir_flag_spec='-R$libdir'
11045 hardcode_direct=yes
11046 hardcode_shlibpath_var=no
11047 ;;
11048
11049 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11050 freebsd2.*)
11051 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11052 hardcode_direct=yes
11053 hardcode_minus_L=yes
11054 hardcode_shlibpath_var=no
11055 ;;
11056
11057 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11058 freebsd* | dragonfly*)
11059 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11060 hardcode_libdir_flag_spec='-R$libdir'
11061 hardcode_direct=yes
11062 hardcode_shlibpath_var=no
11063 ;;
11064
11065 hpux9*)
11066 if test "$GCC" = yes; then
11067 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11068 else
11069 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11070 fi
11071 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11072 hardcode_libdir_separator=:
11073 hardcode_direct=yes
11074
11075 # hardcode_minus_L: Not really in the search PATH,
11076 # but as the default location of the library.
11077 hardcode_minus_L=yes
11078 export_dynamic_flag_spec='${wl}-E'
11079 ;;
11080
11081 hpux10*)
11082 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11083 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11084 else
11085 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11086 fi
11087 if test "$with_gnu_ld" = no; then
11088 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11089 hardcode_libdir_flag_spec_ld='+b $libdir'
11090 hardcode_libdir_separator=:
11091 hardcode_direct=yes
11092 hardcode_direct_absolute=yes
11093 export_dynamic_flag_spec='${wl}-E'
11094 # hardcode_minus_L: Not really in the search PATH,
11095 # but as the default location of the library.
11096 hardcode_minus_L=yes
11097 fi
11098 ;;
11099
11100 hpux11*)
11101 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11102 case $host_cpu in
11103 hppa*64*)
11104 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11105 ;;
11106 ia64*)
11107 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11108 ;;
11109 *)
11110 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11111 ;;
11112 esac
11113 else
11114 case $host_cpu in
11115 hppa*64*)
11116 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11117 ;;
11118 ia64*)
11119 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11120 ;;
11121 *)
11122
11123 # Older versions of the 11.00 compiler do not understand -b yet
11124 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11126$as_echo_n "checking if $CC understands -b... " >&6; }
11127if ${lt_cv_prog_compiler__b+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129else
11130 lt_cv_prog_compiler__b=no
11131 save_LDFLAGS="$LDFLAGS"
11132 LDFLAGS="$LDFLAGS -b"
11133 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11134 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11135 # The linker can only warn and ignore the option if not recognized
11136 # So say no if there are warnings
11137 if test -s conftest.err; then
11138 # Append any errors to the config.log.
11139 cat conftest.err 1>&5
11140 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11141 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11142 if diff conftest.exp conftest.er2 >/dev/null; then
11143 lt_cv_prog_compiler__b=yes
11144 fi
11145 else
11146 lt_cv_prog_compiler__b=yes
11147 fi
11148 fi
11149 $RM -r conftest*
11150 LDFLAGS="$save_LDFLAGS"
11151
11152fi
11153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11154$as_echo "$lt_cv_prog_compiler__b" >&6; }
11155
11156if test x"$lt_cv_prog_compiler__b" = xyes; then
11157 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11158else
11159 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11160fi
11161
11162 ;;
11163 esac
11164 fi
11165 if test "$with_gnu_ld" = no; then
11166 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11167 hardcode_libdir_separator=:
11168
11169 case $host_cpu in
11170 hppa*64*|ia64*)
11171 hardcode_direct=no
11172 hardcode_shlibpath_var=no
11173 ;;
11174 *)
11175 hardcode_direct=yes
11176 hardcode_direct_absolute=yes
11177 export_dynamic_flag_spec='${wl}-E'
11178
11179 # hardcode_minus_L: Not really in the search PATH,
11180 # but as the default location of the library.
11181 hardcode_minus_L=yes
11182 ;;
11183 esac
11184 fi
11185 ;;
11186
11187 irix5* | irix6* | nonstopux*)
11188 if test "$GCC" = yes; then
11189 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11190 # Try to use the -exported_symbol ld option, if it does not
11191 # work, assume that -exports_file does not work either and
11192 # implicitly export all symbols.
11193 save_LDFLAGS="$LDFLAGS"
11194 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11195 if test x$gcc_no_link = xyes; then
11196 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11197fi
11198cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199/* end confdefs.h. */
11200int foo(void) {}
11201_ACEOF
11202if ac_fn_c_try_link "$LINENO"; then :
11203 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11204
11205fi
11206rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LDFLAGS="$save_LDFLAGS"
11209 else
11210 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11211 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11212 fi
11213 archive_cmds_need_lc='no'
11214 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11215 hardcode_libdir_separator=:
11216 inherit_rpath=yes
11217 link_all_deplibs=yes
11218 ;;
11219
11220 netbsd*)
11221 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11222 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11223 else
11224 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11225 fi
11226 hardcode_libdir_flag_spec='-R$libdir'
11227 hardcode_direct=yes
11228 hardcode_shlibpath_var=no
11229 ;;
11230
11231 newsos6)
11232 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11233 hardcode_direct=yes
11234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11235 hardcode_libdir_separator=:
11236 hardcode_shlibpath_var=no
11237 ;;
11238
11239 *nto* | *qnx*)
11240 ;;
11241
11242 openbsd*)
11243 if test -f /usr/libexec/ld.so; then
11244 hardcode_direct=yes
11245 hardcode_shlibpath_var=no
11246 hardcode_direct_absolute=yes
11247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11248 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11249 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11250 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11251 export_dynamic_flag_spec='${wl}-E'
11252 else
11253 case $host_os in
11254 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11255 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11256 hardcode_libdir_flag_spec='-R$libdir'
11257 ;;
11258 *)
11259 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11260 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11261 ;;
11262 esac
11263 fi
11264 else
11265 ld_shlibs=no
11266 fi
11267 ;;
11268
11269 os2*)
11270 hardcode_libdir_flag_spec='-L$libdir'
11271 hardcode_minus_L=yes
11272 allow_undefined_flag=unsupported
11273 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11274 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11275 ;;
11276
11277 osf3*)
11278 if test "$GCC" = yes; then
11279 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11280 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11281 else
11282 allow_undefined_flag=' -expect_unresolved \*'
11283 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11284 fi
11285 archive_cmds_need_lc='no'
11286 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11287 hardcode_libdir_separator=:
11288 ;;
11289
11290 osf4* | osf5*) # as osf3* with the addition of -msym flag
11291 if test "$GCC" = yes; then
11292 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11293 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11294 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11295 else
11296 allow_undefined_flag=' -expect_unresolved \*'
11297 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11298 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11299 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11300
11301 # Both c and cxx compiler support -rpath directly
11302 hardcode_libdir_flag_spec='-rpath $libdir'
11303 fi
11304 archive_cmds_need_lc='no'
11305 hardcode_libdir_separator=:
11306 ;;
11307
11308 solaris*)
11309 no_undefined_flag=' -z defs'
11310 if test "$GCC" = yes; then
11311 wlarc='${wl}'
11312 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11313 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11314 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11315 else
11316 case `$CC -V 2>&1` in
11317 *"Compilers 5.0"*)
11318 wlarc=''
11319 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11320 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11321 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11322 ;;
11323 *)
11324 wlarc='${wl}'
11325 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11326 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11327 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11328 ;;
11329 esac
11330 fi
11331 hardcode_libdir_flag_spec='-R$libdir'
11332 hardcode_shlibpath_var=no
11333 case $host_os in
11334 solaris2.[0-5] | solaris2.[0-5].*) ;;
11335 *)
11336 # The compiler driver will combine and reorder linker options,
11337 # but understands `-z linker_flag'. GCC discards it without `$wl',
11338 # but is careful enough not to reorder.
11339 # Supported since Solaris 2.6 (maybe 2.5.1?)
11340 if test "$GCC" = yes; then
11341 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11342 else
11343 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11344 fi
11345 ;;
11346 esac
11347 link_all_deplibs=yes
11348 ;;
11349
11350 sunos4*)
11351 if test "x$host_vendor" = xsequent; then
11352 # Use $CC to link under sequent, because it throws in some extra .o
11353 # files that make .init and .fini sections work.
11354 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11355 else
11356 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11357 fi
11358 hardcode_libdir_flag_spec='-L$libdir'
11359 hardcode_direct=yes
11360 hardcode_minus_L=yes
11361 hardcode_shlibpath_var=no
11362 ;;
11363
11364 sysv4)
11365 case $host_vendor in
11366 sni)
11367 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11368 hardcode_direct=yes # is this really true???
11369 ;;
11370 siemens)
11371 ## LD is ld it makes a PLAMLIB
11372 ## CC just makes a GrossModule.
11373 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11374 reload_cmds='$CC -r -o $output$reload_objs'
11375 hardcode_direct=no
11376 ;;
11377 motorola)
11378 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11379 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11380 ;;
11381 esac
11382 runpath_var='LD_RUN_PATH'
11383 hardcode_shlibpath_var=no
11384 ;;
11385
11386 sysv4.3*)
11387 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11388 hardcode_shlibpath_var=no
11389 export_dynamic_flag_spec='-Bexport'
11390 ;;
11391
11392 sysv4*MP*)
11393 if test -d /usr/nec; then
11394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11395 hardcode_shlibpath_var=no
11396 runpath_var=LD_RUN_PATH
11397 hardcode_runpath_var=yes
11398 ld_shlibs=yes
11399 fi
11400 ;;
11401
11402 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11403 no_undefined_flag='${wl}-z,text'
11404 archive_cmds_need_lc=no
11405 hardcode_shlibpath_var=no
11406 runpath_var='LD_RUN_PATH'
11407
11408 if test "$GCC" = yes; then
11409 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11410 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11411 else
11412 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11413 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11414 fi
11415 ;;
11416
11417 sysv5* | sco3.2v5* | sco5v6*)
11418 # Note: We can NOT use -z defs as we might desire, because we do not
11419 # link with -lc, and that would cause any symbols used from libc to
11420 # always be unresolved, which means just about no library would
11421 # ever link correctly. If we're not using GNU ld we use -z text
11422 # though, which does catch some bad symbols but isn't as heavy-handed
11423 # as -z defs.
11424 no_undefined_flag='${wl}-z,text'
11425 allow_undefined_flag='${wl}-z,nodefs'
11426 archive_cmds_need_lc=no
11427 hardcode_shlibpath_var=no
11428 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11429 hardcode_libdir_separator=':'
11430 link_all_deplibs=yes
11431 export_dynamic_flag_spec='${wl}-Bexport'
11432 runpath_var='LD_RUN_PATH'
11433
11434 if test "$GCC" = yes; then
11435 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11436 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11437 else
11438 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11439 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11440 fi
11441 ;;
11442
11443 uts4*)
11444 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11445 hardcode_libdir_flag_spec='-L$libdir'
11446 hardcode_shlibpath_var=no
11447 ;;
11448
11449 *)
11450 ld_shlibs=no
11451 ;;
11452 esac
11453
11454 if test x$host_vendor = xsni; then
11455 case $host in
11456 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11457 export_dynamic_flag_spec='${wl}-Blargedynsym'
11458 ;;
11459 esac
11460 fi
11461 fi
11462
11463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11464$as_echo "$ld_shlibs" >&6; }
11465test "$ld_shlibs" = no && can_build_shared=no
11466
11467with_gnu_ld=$with_gnu_ld
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483#
11484# Do we need to explicitly link libc?
11485#
11486case "x$archive_cmds_need_lc" in
11487x|xyes)
11488 # Assume -lc should be added
11489 archive_cmds_need_lc=yes
11490
11491 if test "$enable_shared" = yes && test "$GCC" = yes; then
11492 case $archive_cmds in
11493 *'~'*)
11494 # FIXME: we may have to deal with multi-command sequences.
11495 ;;
11496 '$CC '*)
11497 # Test whether the compiler implicitly links with -lc since on some
11498 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11499 # to ld, don't add -lc before -lgcc.
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11501$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11502if ${lt_cv_archive_cmds_need_lc+:} false; then :
11503 $as_echo_n "(cached) " >&6
11504else
11505 $RM conftest*
11506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11507
11508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11509 (eval $ac_compile) 2>&5
11510 ac_status=$?
11511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11512 test $ac_status = 0; } 2>conftest.err; then
11513 soname=conftest
11514 lib=conftest
11515 libobjs=conftest.$ac_objext
11516 deplibs=
11517 wl=$lt_prog_compiler_wl
11518 pic_flag=$lt_prog_compiler_pic
11519 compiler_flags=-v
11520 linker_flags=-v
11521 verstring=
11522 output_objdir=.
11523 libname=conftest
11524 lt_save_allow_undefined_flag=$allow_undefined_flag
11525 allow_undefined_flag=
11526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11527 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11528 ac_status=$?
11529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11530 test $ac_status = 0; }
11531 then
11532 lt_cv_archive_cmds_need_lc=no
11533 else
11534 lt_cv_archive_cmds_need_lc=yes
11535 fi
11536 allow_undefined_flag=$lt_save_allow_undefined_flag
11537 else
11538 cat conftest.err 1>&5
11539 fi
11540 $RM conftest*
11541
11542fi
11543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11544$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11545 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11546 ;;
11547 esac
11548 fi
11549 ;;
11550esac
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11709$as_echo_n "checking dynamic linker characteristics... " >&6; }
11710
11711if test "$GCC" = yes; then
11712 case $host_os in
11713 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11714 *) lt_awk_arg="/^libraries:/" ;;
11715 esac
11716 case $host_os in
11717 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11718 *) lt_sed_strip_eq="s,=/,/,g" ;;
11719 esac
11720 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11721 case $lt_search_path_spec in
11722 *\;*)
11723 # if the path contains ";" then we assume it to be the separator
11724 # otherwise default to the standard path separator (i.e. ":") - it is
11725 # assumed that no part of a normal pathname contains ";" but that should
11726 # okay in the real world where ";" in dirpaths is itself problematic.
11727 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11728 ;;
11729 *)
11730 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11731 ;;
11732 esac
11733 # Ok, now we have the path, separated by spaces, we can step through it
11734 # and add multilib dir if necessary.
11735 lt_tmp_lt_search_path_spec=
11736 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11737 for lt_sys_path in $lt_search_path_spec; do
11738 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11739 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11740 else
11741 test -d "$lt_sys_path" && \
11742 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11743 fi
11744 done
11745 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11746BEGIN {RS=" "; FS="/|\n";} {
11747 lt_foo="";
11748 lt_count=0;
11749 for (lt_i = NF; lt_i > 0; lt_i--) {
11750 if ($lt_i != "" && $lt_i != ".") {
11751 if ($lt_i == "..") {
11752 lt_count++;
11753 } else {
11754 if (lt_count == 0) {
11755 lt_foo="/" $lt_i lt_foo;
11756 } else {
11757 lt_count--;
11758 }
11759 }
11760 }
11761 }
11762 if (lt_foo != "") { lt_freq[lt_foo]++; }
11763 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11764}'`
11765 # AWK program above erroneously prepends '/' to C:/dos/paths
11766 # for these hosts.
11767 case $host_os in
11768 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11769 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11770 esac
11771 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11772else
11773 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11774fi
11775library_names_spec=
11776libname_spec='lib$name'
11777soname_spec=
11778shrext_cmds=".so"
11779postinstall_cmds=
11780postuninstall_cmds=
11781finish_cmds=
11782finish_eval=
11783shlibpath_var=
11784shlibpath_overrides_runpath=unknown
11785version_type=none
11786dynamic_linker="$host_os ld.so"
11787sys_lib_dlsearch_path_spec="/lib /usr/lib"
11788need_lib_prefix=unknown
11789hardcode_into_libs=no
11790
11791# when you set need_version to no, make sure it does not cause -set_version
11792# flags to be left without arguments
11793need_version=unknown
11794
11795case $host_os in
11796aix3*)
11797 version_type=linux
11798 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11799 shlibpath_var=LIBPATH
11800
11801 # AIX 3 has no versioning support, so we append a major version to the name.
11802 soname_spec='${libname}${release}${shared_ext}$major'
11803 ;;
11804
11805aix[4-9]*)
11806 version_type=linux
11807 need_lib_prefix=no
11808 need_version=no
11809 hardcode_into_libs=yes
11810 if test "$host_cpu" = ia64; then
11811 # AIX 5 supports IA64
11812 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11813 shlibpath_var=LD_LIBRARY_PATH
11814 else
11815 # With GCC up to 2.95.x, collect2 would create an import file
11816 # for dependence libraries. The import file would start with
11817 # the line `#! .'. This would cause the generated library to
11818 # depend on `.', always an invalid library. This was fixed in
11819 # development snapshots of GCC prior to 3.0.
11820 case $host_os in
11821 aix4 | aix4.[01] | aix4.[01].*)
11822 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11823 echo ' yes '
11824 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11825 :
11826 else
11827 can_build_shared=no
11828 fi
11829 ;;
11830 esac
11831 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11832 # soname into executable. Probably we can add versioning support to
11833 # collect2, so additional links can be useful in future.
11834 if test "$aix_use_runtimelinking" = yes; then
11835 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11836 # instead of lib<name>.a to let people know that these are not
11837 # typical AIX shared libraries.
11838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11839 else
11840 # We preserve .a as extension for shared libraries through AIX4.2
11841 # and later when we are not doing run time linking.
11842 library_names_spec='${libname}${release}.a $libname.a'
11843 soname_spec='${libname}${release}${shared_ext}$major'
11844 fi
11845 shlibpath_var=LIBPATH
11846 fi
11847 ;;
11848
11849amigaos*)
11850 case $host_cpu in
11851 powerpc)
11852 # Since July 2007 AmigaOS4 officially supports .so libraries.
11853 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11855 ;;
11856 m68k)
11857 library_names_spec='$libname.ixlibrary $libname.a'
11858 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11859 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11860 ;;
11861 esac
11862 ;;
11863
11864beos*)
11865 library_names_spec='${libname}${shared_ext}'
11866 dynamic_linker="$host_os ld.so"
11867 shlibpath_var=LIBRARY_PATH
11868 ;;
11869
11870bsdi[45]*)
11871 version_type=linux
11872 need_version=no
11873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11874 soname_spec='${libname}${release}${shared_ext}$major'
11875 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11876 shlibpath_var=LD_LIBRARY_PATH
11877 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11878 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11879 # the default ld.so.conf also contains /usr/contrib/lib and
11880 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11881 # libtool to hard-code these into programs
11882 ;;
11883
11884cygwin* | mingw* | pw32* | cegcc*)
11885 version_type=windows
11886 shrext_cmds=".dll"
11887 need_version=no
11888 need_lib_prefix=no
11889
11890 case $GCC,$host_os in
11891 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11892 library_names_spec='$libname.dll.a'
11893 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11894 postinstall_cmds='base_file=`basename \${file}`~
11895 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11896 dldir=$destdir/`dirname \$dlpath`~
11897 test -d \$dldir || mkdir -p \$dldir~
11898 $install_prog $dir/$dlname \$dldir/$dlname~
11899 chmod a+x \$dldir/$dlname~
11900 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11901 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11902 fi'
11903 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11904 dlpath=$dir/\$dldll~
11905 $RM \$dlpath'
11906 shlibpath_overrides_runpath=yes
11907
11908 case $host_os in
11909 cygwin*)
11910 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11911 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11912
11913 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11914 ;;
11915 mingw* | cegcc*)
11916 # MinGW DLLs use traditional 'lib' prefix
11917 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11918 ;;
11919 pw32*)
11920 # pw32 DLLs use 'pw' prefix rather than 'lib'
11921 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11922 ;;
11923 esac
11924 ;;
11925
11926 *)
11927 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11928 ;;
11929 esac
11930 dynamic_linker='Win32 ld.exe'
11931 # FIXME: first we should search . and the directory the executable is in
11932 shlibpath_var=PATH
11933 ;;
11934
11935darwin* | rhapsody*)
11936 dynamic_linker="$host_os dyld"
11937 version_type=darwin
11938 need_lib_prefix=no
11939 need_version=no
11940 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11941 soname_spec='${libname}${release}${major}$shared_ext'
11942 shlibpath_overrides_runpath=yes
11943 shlibpath_var=DYLD_LIBRARY_PATH
11944 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11945
11946 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11947 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11948 ;;
11949
11950dgux*)
11951 version_type=linux
11952 need_lib_prefix=no
11953 need_version=no
11954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11955 soname_spec='${libname}${release}${shared_ext}$major'
11956 shlibpath_var=LD_LIBRARY_PATH
11957 ;;
11958
11959freebsd* | dragonfly*)
11960 # DragonFly does not have aout. When/if they implement a new
11961 # versioning mechanism, adjust this.
11962 if test -x /usr/bin/objformat; then
11963 objformat=`/usr/bin/objformat`
11964 else
11965 case $host_os in
11966 freebsd[23].*) objformat=aout ;;
11967 *) objformat=elf ;;
11968 esac
11969 fi
11970 version_type=freebsd-$objformat
11971 case $version_type in
11972 freebsd-elf*)
11973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11974 need_version=no
11975 need_lib_prefix=no
11976 ;;
11977 freebsd-*)
11978 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11979 need_version=yes
11980 ;;
11981 esac
11982 shlibpath_var=LD_LIBRARY_PATH
11983 case $host_os in
11984 freebsd2.*)
11985 shlibpath_overrides_runpath=yes
11986 ;;
11987 freebsd3.[01]* | freebsdelf3.[01]*)
11988 shlibpath_overrides_runpath=yes
11989 hardcode_into_libs=yes
11990 ;;
11991 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11992 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11993 shlibpath_overrides_runpath=no
11994 hardcode_into_libs=yes
11995 ;;
11996 *) # from 4.6 on, and DragonFly
11997 shlibpath_overrides_runpath=yes
11998 hardcode_into_libs=yes
11999 ;;
12000 esac
12001 ;;
12002
12003haiku*)
12004 version_type=linux
12005 need_lib_prefix=no
12006 need_version=no
12007 dynamic_linker="$host_os runtime_loader"
12008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12009 soname_spec='${libname}${release}${shared_ext}$major'
12010 shlibpath_var=LIBRARY_PATH
12011 shlibpath_overrides_runpath=yes
12012 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12013 hardcode_into_libs=yes
12014 ;;
12015
12016hpux9* | hpux10* | hpux11*)
12017 # Give a soname corresponding to the major version so that dld.sl refuses to
12018 # link against other versions.
12019 version_type=sunos
12020 need_lib_prefix=no
12021 need_version=no
12022 case $host_cpu in
12023 ia64*)
12024 shrext_cmds='.so'
12025 hardcode_into_libs=yes
12026 dynamic_linker="$host_os dld.so"
12027 shlibpath_var=LD_LIBRARY_PATH
12028 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12030 soname_spec='${libname}${release}${shared_ext}$major'
12031 if test "X$HPUX_IA64_MODE" = X32; then
12032 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12033 else
12034 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12035 fi
12036 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12037 ;;
12038 hppa*64*)
12039 shrext_cmds='.sl'
12040 hardcode_into_libs=yes
12041 dynamic_linker="$host_os dld.sl"
12042 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12043 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12045 soname_spec='${libname}${release}${shared_ext}$major'
12046 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12047 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12048 ;;
12049 *)
12050 shrext_cmds='.sl'
12051 dynamic_linker="$host_os dld.sl"
12052 shlibpath_var=SHLIB_PATH
12053 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12055 soname_spec='${libname}${release}${shared_ext}$major'
12056 ;;
12057 esac
12058 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12059 postinstall_cmds='chmod 555 $lib'
12060 # or fails outright, so override atomically:
12061 install_override_mode=555
12062 ;;
12063
12064interix[3-9]*)
12065 version_type=linux
12066 need_lib_prefix=no
12067 need_version=no
12068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12069 soname_spec='${libname}${release}${shared_ext}$major'
12070 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12071 shlibpath_var=LD_LIBRARY_PATH
12072 shlibpath_overrides_runpath=no
12073 hardcode_into_libs=yes
12074 ;;
12075
12076irix5* | irix6* | nonstopux*)
12077 case $host_os in
12078 nonstopux*) version_type=nonstopux ;;
12079 *)
12080 if test "$lt_cv_prog_gnu_ld" = yes; then
12081 version_type=linux
12082 else
12083 version_type=irix
12084 fi ;;
12085 esac
12086 need_lib_prefix=no
12087 need_version=no
12088 soname_spec='${libname}${release}${shared_ext}$major'
12089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12090 case $host_os in
12091 irix5* | nonstopux*)
12092 libsuff= shlibsuff=
12093 ;;
12094 *)
12095 case $LD in # libtool.m4 will add one of these switches to LD
12096 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12097 libsuff= shlibsuff= libmagic=32-bit;;
12098 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12099 libsuff=32 shlibsuff=N32 libmagic=N32;;
12100 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12101 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12102 *) libsuff= shlibsuff= libmagic=never-match;;
12103 esac
12104 ;;
12105 esac
12106 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12107 shlibpath_overrides_runpath=no
12108 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12109 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12110 hardcode_into_libs=yes
12111 ;;
12112
12113# No shared lib support for Linux oldld, aout, or coff.
12114linux*oldld* | linux*aout* | linux*coff*)
12115 dynamic_linker=no
12116 ;;
12117
12118# This must be Linux ELF.
12119
12120# uclinux* changes (here and below) have been submitted to the libtool
12121# project, but have not yet been accepted: they are GCC-local changes
12122# for the time being. (See
12123# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12124linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12125 version_type=linux
12126 need_lib_prefix=no
12127 need_version=no
12128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12129 soname_spec='${libname}${release}${shared_ext}$major'
12130 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12131 shlibpath_var=LD_LIBRARY_PATH
12132 shlibpath_overrides_runpath=no
12133
12134 # Some binutils ld are patched to set DT_RUNPATH
12135 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12136 $as_echo_n "(cached) " >&6
12137else
12138 lt_cv_shlibpath_overrides_runpath=no
12139 save_LDFLAGS=$LDFLAGS
12140 save_libdir=$libdir
12141 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12142 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12143 if test x$gcc_no_link = xyes; then
12144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12145fi
12146cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147/* end confdefs.h. */
12148
12149int
12150main ()
12151{
12152
12153 ;
12154 return 0;
12155}
12156_ACEOF
12157if ac_fn_c_try_link "$LINENO"; then :
12158 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12159 lt_cv_shlibpath_overrides_runpath=yes
12160fi
12161fi
12162rm -f core conftest.err conftest.$ac_objext \
12163 conftest$ac_exeext conftest.$ac_ext
12164 LDFLAGS=$save_LDFLAGS
12165 libdir=$save_libdir
12166
12167fi
12168
12169 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12170
12171 # This implies no fast_install, which is unacceptable.
12172 # Some rework will be needed to allow for fast_install
12173 # before this can be enabled.
12174 hardcode_into_libs=yes
12175
12176 # Append ld.so.conf contents to the search path
12177 if test -f /etc/ld.so.conf; then
12178 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12179 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12180 fi
12181
12182 # We used to test for /lib/ld.so.1 and disable shared libraries on
12183 # powerpc, because MkLinux only supported shared libraries with the
12184 # GNU dynamic linker. Since this was broken with cross compilers,
12185 # most powerpc-linux boxes support dynamic linking these days and
12186 # people can always --disable-shared, the test was removed, and we
12187 # assume the GNU/Linux dynamic linker is in use.
12188 dynamic_linker='GNU/Linux ld.so'
12189 ;;
12190
12191netbsd*)
12192 version_type=sunos
12193 need_lib_prefix=no
12194 need_version=no
12195 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12197 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12198 dynamic_linker='NetBSD (a.out) ld.so'
12199 else
12200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12201 soname_spec='${libname}${release}${shared_ext}$major'
12202 dynamic_linker='NetBSD ld.elf_so'
12203 fi
12204 shlibpath_var=LD_LIBRARY_PATH
12205 shlibpath_overrides_runpath=yes
12206 hardcode_into_libs=yes
12207 ;;
12208
12209newsos6)
12210 version_type=linux
12211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12212 shlibpath_var=LD_LIBRARY_PATH
12213 shlibpath_overrides_runpath=yes
12214 ;;
12215
12216*nto* | *qnx*)
12217 version_type=qnx
12218 need_lib_prefix=no
12219 need_version=no
12220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12221 soname_spec='${libname}${release}${shared_ext}$major'
12222 shlibpath_var=LD_LIBRARY_PATH
12223 shlibpath_overrides_runpath=no
12224 hardcode_into_libs=yes
12225 dynamic_linker='ldqnx.so'
12226 ;;
12227
12228openbsd*)
12229 version_type=sunos
12230 sys_lib_dlsearch_path_spec="/usr/lib"
12231 need_lib_prefix=no
12232 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12233 case $host_os in
12234 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12235 *) need_version=no ;;
12236 esac
12237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12238 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12239 shlibpath_var=LD_LIBRARY_PATH
12240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12241 case $host_os in
12242 openbsd2.[89] | openbsd2.[89].*)
12243 shlibpath_overrides_runpath=no
12244 ;;
12245 *)
12246 shlibpath_overrides_runpath=yes
12247 ;;
12248 esac
12249 else
12250 shlibpath_overrides_runpath=yes
12251 fi
12252 ;;
12253
12254os2*)
12255 libname_spec='$name'
12256 shrext_cmds=".dll"
12257 need_lib_prefix=no
12258 library_names_spec='$libname${shared_ext} $libname.a'
12259 dynamic_linker='OS/2 ld.exe'
12260 shlibpath_var=LIBPATH
12261 ;;
12262
12263osf3* | osf4* | osf5*)
12264 version_type=osf
12265 need_lib_prefix=no
12266 need_version=no
12267 soname_spec='${libname}${release}${shared_ext}$major'
12268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12269 shlibpath_var=LD_LIBRARY_PATH
12270 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12271 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12272 ;;
12273
12274rdos*)
12275 dynamic_linker=no
12276 ;;
12277
12278solaris*)
12279 version_type=linux
12280 need_lib_prefix=no
12281 need_version=no
12282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12283 soname_spec='${libname}${release}${shared_ext}$major'
12284 shlibpath_var=LD_LIBRARY_PATH
12285 shlibpath_overrides_runpath=yes
12286 hardcode_into_libs=yes
12287 # ldd complains unless libraries are executable
12288 postinstall_cmds='chmod +x $lib'
12289 ;;
12290
12291sunos4*)
12292 version_type=sunos
12293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12294 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12295 shlibpath_var=LD_LIBRARY_PATH
12296 shlibpath_overrides_runpath=yes
12297 if test "$with_gnu_ld" = yes; then
12298 need_lib_prefix=no
12299 fi
12300 need_version=yes
12301 ;;
12302
12303sysv4 | sysv4.3*)
12304 version_type=linux
12305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12306 soname_spec='${libname}${release}${shared_ext}$major'
12307 shlibpath_var=LD_LIBRARY_PATH
12308 case $host_vendor in
12309 sni)
12310 shlibpath_overrides_runpath=no
12311 need_lib_prefix=no
12312 runpath_var=LD_RUN_PATH
12313 ;;
12314 siemens)
12315 need_lib_prefix=no
12316 ;;
12317 motorola)
12318 need_lib_prefix=no
12319 need_version=no
12320 shlibpath_overrides_runpath=no
12321 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12322 ;;
12323 esac
12324 ;;
12325
12326sysv4*MP*)
12327 if test -d /usr/nec ;then
12328 version_type=linux
12329 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12330 soname_spec='$libname${shared_ext}.$major'
12331 shlibpath_var=LD_LIBRARY_PATH
12332 fi
12333 ;;
12334
12335sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12336 version_type=freebsd-elf
12337 need_lib_prefix=no
12338 need_version=no
12339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12340 soname_spec='${libname}${release}${shared_ext}$major'
12341 shlibpath_var=LD_LIBRARY_PATH
12342 shlibpath_overrides_runpath=yes
12343 hardcode_into_libs=yes
12344 if test "$with_gnu_ld" = yes; then
12345 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12346 else
12347 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12348 case $host_os in
12349 sco3.2v5*)
12350 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12351 ;;
12352 esac
12353 fi
12354 sys_lib_dlsearch_path_spec='/usr/lib'
12355 ;;
12356
12357tpf*)
12358 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12359 version_type=linux
12360 need_lib_prefix=no
12361 need_version=no
12362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12363 shlibpath_var=LD_LIBRARY_PATH
12364 shlibpath_overrides_runpath=no
12365 hardcode_into_libs=yes
12366 ;;
12367
12368uts4*)
12369 version_type=linux
12370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12371 soname_spec='${libname}${release}${shared_ext}$major'
12372 shlibpath_var=LD_LIBRARY_PATH
12373 ;;
12374
12375# Shared libraries for VwWorks, >= 7 only at this stage
12376# and (fpic) still incompatible with "large" code models
12377# in a few configurations. Only for RTP mode in any case,
12378# and upon explicit request at configure time.
12379vxworks7*)
12380 dynamic_linker=no
12381 case ${with_multisubdir}-${enable_shared} in
12382 *large*)
12383 ;;
12384 *mrtp*-yes)
12385 version_type=linux
12386 need_lib_prefix=no
12387 need_version=no
12388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12389 soname_spec='${libname}${release}${shared_ext}$major'
12390 dynamic_linker="$host_os module_loader"
12391 ;;
12392 esac
12393 ;;
12394*)
12395 dynamic_linker=no
12396 ;;
12397esac
12398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12399$as_echo "$dynamic_linker" >&6; }
12400test "$dynamic_linker" = no && can_build_shared=no
12401
12402variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12403if test "$GCC" = yes; then
12404 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12405fi
12406
12407if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12408 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12409fi
12410if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12411 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12412fi
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12506$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12507hardcode_action=
12508if test -n "$hardcode_libdir_flag_spec" ||
12509 test -n "$runpath_var" ||
12510 test "X$hardcode_automatic" = "Xyes" ; then
12511
12512 # We can hardcode non-existent directories.
12513 if test "$hardcode_direct" != no &&
12514 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12515 # have to relink, otherwise we might link with an installed library
12516 # when we should be linking with a yet-to-be-installed one
12517 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12518 test "$hardcode_minus_L" != no; then
12519 # Linking always hardcodes the temporary library directory.
12520 hardcode_action=relink
12521 else
12522 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12523 hardcode_action=immediate
12524 fi
12525else
12526 # We cannot hardcode anything, or else we can only hardcode existing
12527 # directories.
12528 hardcode_action=unsupported
12529fi
12530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12531$as_echo "$hardcode_action" >&6; }
12532
12533if test "$hardcode_action" = relink ||
12534 test "$inherit_rpath" = yes; then
12535 # Fast installation is not supported
12536 enable_fast_install=no
12537elif test "$shlibpath_overrides_runpath" = yes ||
12538 test "$enable_shared" = no; then
12539 # Fast installation is not necessary
12540 enable_fast_install=needless
12541fi
12542
12543
12544
12545
12546
12547
12548 if test "x$enable_dlopen" != xyes; then
12549 enable_dlopen=unknown
12550 enable_dlopen_self=unknown
12551 enable_dlopen_self_static=unknown
12552else
12553 lt_cv_dlopen=no
12554 lt_cv_dlopen_libs=
12555
12556 case $host_os in
12557 beos*)
12558 lt_cv_dlopen="load_add_on"
12559 lt_cv_dlopen_libs=
12560 lt_cv_dlopen_self=yes
12561 ;;
12562
12563 mingw* | pw32* | cegcc*)
12564 lt_cv_dlopen="LoadLibrary"
12565 lt_cv_dlopen_libs=
12566 ;;
12567
12568 cygwin*)
12569 lt_cv_dlopen="dlopen"
12570 lt_cv_dlopen_libs=
12571 ;;
12572
12573 darwin*)
12574 # if libdl is installed we need to link against it
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12576$as_echo_n "checking for dlopen in -ldl... " >&6; }
12577if ${ac_cv_lib_dl_dlopen+:} false; then :
12578 $as_echo_n "(cached) " >&6
12579else
12580 ac_check_lib_save_LIBS=$LIBS
12581LIBS="-ldl $LIBS"
12582if test x$gcc_no_link = xyes; then
12583 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12584fi
12585cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586/* end confdefs.h. */
12587
12588/* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12591#ifdef __cplusplus
12592extern "C"
12593#endif
12594char dlopen ();
12595int
12596main ()
12597{
12598return dlopen ();
12599 ;
12600 return 0;
12601}
12602_ACEOF
12603if ac_fn_c_try_link "$LINENO"; then :
12604 ac_cv_lib_dl_dlopen=yes
12605else
12606 ac_cv_lib_dl_dlopen=no
12607fi
12608rm -f core conftest.err conftest.$ac_objext \
12609 conftest$ac_exeext conftest.$ac_ext
12610LIBS=$ac_check_lib_save_LIBS
12611fi
12612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12613$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12614if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12615 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12616else
12617
12618 lt_cv_dlopen="dyld"
12619 lt_cv_dlopen_libs=
12620 lt_cv_dlopen_self=yes
12621
12622fi
12623
12624 ;;
12625
12626 *)
12627 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12628if test "x$ac_cv_func_shl_load" = xyes; then :
12629 lt_cv_dlopen="shl_load"
12630else
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12632$as_echo_n "checking for shl_load in -ldld... " >&6; }
12633if ${ac_cv_lib_dld_shl_load+:} false; then :
12634 $as_echo_n "(cached) " >&6
12635else
12636 ac_check_lib_save_LIBS=$LIBS
12637LIBS="-ldld $LIBS"
12638if test x$gcc_no_link = xyes; then
12639 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12640fi
12641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642/* end confdefs.h. */
12643
12644/* Override any GCC internal prototype to avoid an error.
12645 Use char because int might match the return type of a GCC
12646 builtin and then its argument prototype would still apply. */
12647#ifdef __cplusplus
12648extern "C"
12649#endif
12650char shl_load ();
12651int
12652main ()
12653{
12654return shl_load ();
12655 ;
12656 return 0;
12657}
12658_ACEOF
12659if ac_fn_c_try_link "$LINENO"; then :
12660 ac_cv_lib_dld_shl_load=yes
12661else
12662 ac_cv_lib_dld_shl_load=no
12663fi
12664rm -f core conftest.err conftest.$ac_objext \
12665 conftest$ac_exeext conftest.$ac_ext
12666LIBS=$ac_check_lib_save_LIBS
12667fi
12668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12669$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12670if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12671 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12672else
12673 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12674if test "x$ac_cv_func_dlopen" = xyes; then :
12675 lt_cv_dlopen="dlopen"
12676else
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12678$as_echo_n "checking for dlopen in -ldl... " >&6; }
12679if ${ac_cv_lib_dl_dlopen+:} false; then :
12680 $as_echo_n "(cached) " >&6
12681else
12682 ac_check_lib_save_LIBS=$LIBS
12683LIBS="-ldl $LIBS"
12684if test x$gcc_no_link = xyes; then
12685 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12686fi
12687cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688/* end confdefs.h. */
12689
12690/* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693#ifdef __cplusplus
12694extern "C"
12695#endif
12696char dlopen ();
12697int
12698main ()
12699{
12700return dlopen ();
12701 ;
12702 return 0;
12703}
12704_ACEOF
12705if ac_fn_c_try_link "$LINENO"; then :
12706 ac_cv_lib_dl_dlopen=yes
12707else
12708 ac_cv_lib_dl_dlopen=no
12709fi
12710rm -f core conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712LIBS=$ac_check_lib_save_LIBS
12713fi
12714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12715$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12716if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12717 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12718else
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12720$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12721if ${ac_cv_lib_svld_dlopen+:} false; then :
12722 $as_echo_n "(cached) " >&6
12723else
12724 ac_check_lib_save_LIBS=$LIBS
12725LIBS="-lsvld $LIBS"
12726if test x$gcc_no_link = xyes; then
12727 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12728fi
12729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730/* end confdefs.h. */
12731
12732/* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12735#ifdef __cplusplus
12736extern "C"
12737#endif
12738char dlopen ();
12739int
12740main ()
12741{
12742return dlopen ();
12743 ;
12744 return 0;
12745}
12746_ACEOF
12747if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_svld_dlopen=yes
12749else
12750 ac_cv_lib_svld_dlopen=no
12751fi
12752rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754LIBS=$ac_check_lib_save_LIBS
12755fi
12756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12757$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12758if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12759 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12760else
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12762$as_echo_n "checking for dld_link in -ldld... " >&6; }
12763if ${ac_cv_lib_dld_dld_link+:} false; then :
12764 $as_echo_n "(cached) " >&6
12765else
12766 ac_check_lib_save_LIBS=$LIBS
12767LIBS="-ldld $LIBS"
12768if test x$gcc_no_link = xyes; then
12769 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12770fi
12771cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772/* end confdefs.h. */
12773
12774/* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777#ifdef __cplusplus
12778extern "C"
12779#endif
12780char dld_link ();
12781int
12782main ()
12783{
12784return dld_link ();
12785 ;
12786 return 0;
12787}
12788_ACEOF
12789if ac_fn_c_try_link "$LINENO"; then :
12790 ac_cv_lib_dld_dld_link=yes
12791else
12792 ac_cv_lib_dld_dld_link=no
12793fi
12794rm -f core conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12796LIBS=$ac_check_lib_save_LIBS
12797fi
12798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12799$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12800if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12801 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12802fi
12803
12804
12805fi
12806
12807
12808fi
12809
12810
12811fi
12812
12813
12814fi
12815
12816
12817fi
12818
12819 ;;
12820 esac
12821
12822 if test "x$lt_cv_dlopen" != xno; then
12823 enable_dlopen=yes
12824 else
12825 enable_dlopen=no
12826 fi
12827
12828 case $lt_cv_dlopen in
12829 dlopen)
12830 save_CPPFLAGS="$CPPFLAGS"
12831 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12832
12833 save_LDFLAGS="$LDFLAGS"
12834 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12835
12836 save_LIBS="$LIBS"
12837 LIBS="$lt_cv_dlopen_libs $LIBS"
12838
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12840$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12841if ${lt_cv_dlopen_self+:} false; then :
12842 $as_echo_n "(cached) " >&6
12843else
12844 if test "$cross_compiling" = yes; then :
12845 lt_cv_dlopen_self=cross
12846else
12847 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12848 lt_status=$lt_dlunknown
12849 cat > conftest.$ac_ext <<_LT_EOF
12850#line 12850 "configure"
12851#include "confdefs.h"
12852
12853#if HAVE_DLFCN_H
12854#include <dlfcn.h>
12855#endif
12856
12857#include <stdio.h>
12858
12859#ifdef RTLD_GLOBAL
12860# define LT_DLGLOBAL RTLD_GLOBAL
12861#else
12862# ifdef DL_GLOBAL
12863# define LT_DLGLOBAL DL_GLOBAL
12864# else
12865# define LT_DLGLOBAL 0
12866# endif
12867#endif
12868
12869/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12870 find out it does not work in some platform. */
12871#ifndef LT_DLLAZY_OR_NOW
12872# ifdef RTLD_LAZY
12873# define LT_DLLAZY_OR_NOW RTLD_LAZY
12874# else
12875# ifdef DL_LAZY
12876# define LT_DLLAZY_OR_NOW DL_LAZY
12877# else
12878# ifdef RTLD_NOW
12879# define LT_DLLAZY_OR_NOW RTLD_NOW
12880# else
12881# ifdef DL_NOW
12882# define LT_DLLAZY_OR_NOW DL_NOW
12883# else
12884# define LT_DLLAZY_OR_NOW 0
12885# endif
12886# endif
12887# endif
12888# endif
12889#endif
12890
12891/* When -fvisbility=hidden is used, assume the code has been annotated
12892 correspondingly for the symbols needed. */
12893#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12894void fnord () __attribute__((visibility("default")));
12895#endif
12896
12897void fnord () { int i=42; }
12898int main ()
12899{
12900 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12901 int status = $lt_dlunknown;
12902
12903 if (self)
12904 {
12905 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12906 else
12907 {
12908 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12909 else puts (dlerror ());
12910 }
12911 /* dlclose (self); */
12912 }
12913 else
12914 puts (dlerror ());
12915
12916 return status;
12917}
12918_LT_EOF
12919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12920 (eval $ac_link) 2>&5
12921 ac_status=$?
12922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12924 (./conftest; exit; ) >&5 2>/dev/null
12925 lt_status=$?
12926 case x$lt_status in
12927 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12928 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12929 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12930 esac
12931 else :
12932 # compilation failed
12933 lt_cv_dlopen_self=no
12934 fi
12935fi
12936rm -fr conftest*
12937
12938
12939fi
12940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12941$as_echo "$lt_cv_dlopen_self" >&6; }
12942
12943 if test "x$lt_cv_dlopen_self" = xyes; then
12944 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12946$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12947if ${lt_cv_dlopen_self_static+:} false; then :
12948 $as_echo_n "(cached) " >&6
12949else
12950 if test "$cross_compiling" = yes; then :
12951 lt_cv_dlopen_self_static=cross
12952else
12953 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12954 lt_status=$lt_dlunknown
12955 cat > conftest.$ac_ext <<_LT_EOF
12956#line 12956 "configure"
12957#include "confdefs.h"
12958
12959#if HAVE_DLFCN_H
12960#include <dlfcn.h>
12961#endif
12962
12963#include <stdio.h>
12964
12965#ifdef RTLD_GLOBAL
12966# define LT_DLGLOBAL RTLD_GLOBAL
12967#else
12968# ifdef DL_GLOBAL
12969# define LT_DLGLOBAL DL_GLOBAL
12970# else
12971# define LT_DLGLOBAL 0
12972# endif
12973#endif
12974
12975/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12976 find out it does not work in some platform. */
12977#ifndef LT_DLLAZY_OR_NOW
12978# ifdef RTLD_LAZY
12979# define LT_DLLAZY_OR_NOW RTLD_LAZY
12980# else
12981# ifdef DL_LAZY
12982# define LT_DLLAZY_OR_NOW DL_LAZY
12983# else
12984# ifdef RTLD_NOW
12985# define LT_DLLAZY_OR_NOW RTLD_NOW
12986# else
12987# ifdef DL_NOW
12988# define LT_DLLAZY_OR_NOW DL_NOW
12989# else
12990# define LT_DLLAZY_OR_NOW 0
12991# endif
12992# endif
12993# endif
12994# endif
12995#endif
12996
12997/* When -fvisbility=hidden is used, assume the code has been annotated
12998 correspondingly for the symbols needed. */
12999#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13000void fnord () __attribute__((visibility("default")));
13001#endif
13002
13003void fnord () { int i=42; }
13004int main ()
13005{
13006 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13007 int status = $lt_dlunknown;
13008
13009 if (self)
13010 {
13011 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13012 else
13013 {
13014 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13015 else puts (dlerror ());
13016 }
13017 /* dlclose (self); */
13018 }
13019 else
13020 puts (dlerror ());
13021
13022 return status;
13023}
13024_LT_EOF
13025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13026 (eval $ac_link) 2>&5
13027 ac_status=$?
13028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13029 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13030 (./conftest; exit; ) >&5 2>/dev/null
13031 lt_status=$?
13032 case x$lt_status in
13033 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13034 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13035 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13036 esac
13037 else :
13038 # compilation failed
13039 lt_cv_dlopen_self_static=no
13040 fi
13041fi
13042rm -fr conftest*
13043
13044
13045fi
13046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13047$as_echo "$lt_cv_dlopen_self_static" >&6; }
13048 fi
13049
13050 CPPFLAGS="$save_CPPFLAGS"
13051 LDFLAGS="$save_LDFLAGS"
13052 LIBS="$save_LIBS"
13053 ;;
13054 esac
13055
13056 case $lt_cv_dlopen_self in
13057 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13058 *) enable_dlopen_self=unknown ;;
13059 esac
13060
13061 case $lt_cv_dlopen_self_static in
13062 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13063 *) enable_dlopen_self_static=unknown ;;
13064 esac
13065fi
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083striplib=
13084old_striplib=
13085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13086$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13087if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13088 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13089 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13091$as_echo "yes" >&6; }
13092else
13093# FIXME - insert some real tests, host_os isn't really good enough
13094 case $host_os in
13095 darwin*)
13096 if test -n "$STRIP" ; then
13097 striplib="$STRIP -x"
13098 old_striplib="$STRIP -S"
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13100$as_echo "yes" >&6; }
13101 else
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103$as_echo "no" >&6; }
13104 fi
13105 ;;
13106 *)
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13108$as_echo "no" >&6; }
13109 ;;
13110 esac
13111fi
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124 # Report which library types will actually be built
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13126$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13128$as_echo "$can_build_shared" >&6; }
13129
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13131$as_echo_n "checking whether to build shared libraries... " >&6; }
13132 test "$can_build_shared" = "no" && enable_shared=no
13133
13134 # On AIX, shared libraries and static libraries use the same namespace, and
13135 # are all built from PIC.
13136 case $host_os in
13137 aix3*)
13138 test "$enable_shared" = yes && enable_static=no
13139 if test -n "$RANLIB"; then
13140 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13141 postinstall_cmds='$RANLIB $lib'
13142 fi
13143 ;;
13144
13145 aix[4-9]*)
13146 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13147 test "$enable_shared" = yes && enable_static=no
13148 fi
13149 ;;
13150 esac
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13152$as_echo "$enable_shared" >&6; }
13153
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13155$as_echo_n "checking whether to build static libraries... " >&6; }
13156 # Make sure either enable_shared or enable_static is yes.
13157 test "$enable_shared" = yes || enable_static=yes
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13159$as_echo "$enable_static" >&6; }
13160
13161
13162
13163
13164fi
13165ac_ext=c
13166ac_cpp='$CPP $CPPFLAGS'
13167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13169ac_compiler_gnu=$ac_cv_c_compiler_gnu
13170
13171CC="$lt_save_CC"
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185 ac_config_commands="$ac_config_commands libtool"
13186
13187
13188
13189
13190# Only expand once:
13191
13192
13193LIBM=
13194case $host in
13195*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13196 # These system don't have libm, or don't need it
13197 ;;
13198*-ncr-sysv4.3*)
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13200$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13201if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13202 $as_echo_n "(cached) " >&6
13203else
13204 ac_check_lib_save_LIBS=$LIBS
13205LIBS="-lmw $LIBS"
13206if test x$gcc_no_link = xyes; then
13207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13208fi
13209cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210/* end confdefs.h. */
13211
13212/* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13215#ifdef __cplusplus
13216extern "C"
13217#endif
13218char _mwvalidcheckl ();
13219int
13220main ()
13221{
13222return _mwvalidcheckl ();
13223 ;
13224 return 0;
13225}
13226_ACEOF
13227if ac_fn_c_try_link "$LINENO"; then :
13228 ac_cv_lib_mw__mwvalidcheckl=yes
13229else
13230 ac_cv_lib_mw__mwvalidcheckl=no
13231fi
13232rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234LIBS=$ac_check_lib_save_LIBS
13235fi
13236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13237$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13238if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13239 LIBM="-lmw"
13240fi
13241
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13243$as_echo_n "checking for cos in -lm... " >&6; }
13244if ${ac_cv_lib_m_cos+:} false; then :
13245 $as_echo_n "(cached) " >&6
13246else
13247 ac_check_lib_save_LIBS=$LIBS
13248LIBS="-lm $LIBS"
13249if test x$gcc_no_link = xyes; then
13250 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13251fi
13252cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253/* end confdefs.h. */
13254
13255/* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258#ifdef __cplusplus
13259extern "C"
13260#endif
13261char cos ();
13262int
13263main ()
13264{
13265return cos ();
13266 ;
13267 return 0;
13268}
13269_ACEOF
13270if ac_fn_c_try_link "$LINENO"; then :
13271 ac_cv_lib_m_cos=yes
13272else
13273 ac_cv_lib_m_cos=no
13274fi
13275rm -f core conftest.err conftest.$ac_objext \
13276 conftest$ac_exeext conftest.$ac_ext
13277LIBS=$ac_check_lib_save_LIBS
13278fi
13279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13280$as_echo "$ac_cv_lib_m_cos" >&6; }
13281if test "x$ac_cv_lib_m_cos" = xyes; then :
13282 LIBM="$LIBM -lm"
13283fi
13284
13285 ;;
13286*)
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13288$as_echo_n "checking for cos in -lm... " >&6; }
13289if ${ac_cv_lib_m_cos+:} false; then :
13290 $as_echo_n "(cached) " >&6
13291else
13292 ac_check_lib_save_LIBS=$LIBS
13293LIBS="-lm $LIBS"
13294if test x$gcc_no_link = xyes; then
13295 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13296fi
13297cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298/* end confdefs.h. */
13299
13300/* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303#ifdef __cplusplus
13304extern "C"
13305#endif
13306char cos ();
13307int
13308main ()
13309{
13310return cos ();
13311 ;
13312 return 0;
13313}
13314_ACEOF
13315if ac_fn_c_try_link "$LINENO"; then :
13316 ac_cv_lib_m_cos=yes
13317else
13318 ac_cv_lib_m_cos=no
13319fi
13320rm -f core conftest.err conftest.$ac_objext \
13321 conftest$ac_exeext conftest.$ac_ext
13322LIBS=$ac_check_lib_save_LIBS
13323fi
13324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13325$as_echo "$ac_cv_lib_m_cos" >&6; }
13326if test "x$ac_cv_lib_m_cos" = xyes; then :
13327 LIBM="-lm"
13328fi
13329
13330 ;;
13331esac
13332
13333
13334
13335
13336
13337case $host in
13338 *-cygwin* | *-mingw*)
13339 # 'host' will be top-level target in the case of a target lib,
13340 # we must compare to with_cross_host to decide if this is a native
13341 # or cross-compiler and select where to install dlls appropriately.
13342 if test -n "$with_cross_host" &&
13343 test x"$with_cross_host" != x"no"; then
13344 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13345 else
13346 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13347 fi
13348 ;;
13349 *)
13350 lt_host_flags=
13351 ;;
13352esac
13353
13354
13355
13356
13357
13358 if test x$enable_darwin_at_rpath = xyes; then
13359 ENABLE_DARWIN_AT_RPATH_TRUE=
13360 ENABLE_DARWIN_AT_RPATH_FALSE='#'
13361else
13362 ENABLE_DARWIN_AT_RPATH_TRUE='#'
13363 ENABLE_DARWIN_AT_RPATH_FALSE=
13364fi
13365
13366#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13367
13368# We need gfortran to compile parts of the library
13369#AC_PROG_FC(gfortran)
13370FC="$GFORTRAN"
13371ac_ext=${ac_fc_srcext-f}
13372ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13373ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13374ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13375if test -n "$ac_tool_prefix"; then
13376 for ac_prog in gfortran
13377 do
13378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13379set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13381$as_echo_n "checking for $ac_word... " >&6; }
13382if ${ac_cv_prog_FC+:} false; then :
13383 $as_echo_n "(cached) " >&6
13384else
13385 if test -n "$FC"; then
13386 ac_cv_prog_FC="$FC" # Let the user override the test.
13387else
13388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13389for as_dir in $PATH
13390do
13391 IFS=$as_save_IFS
13392 test -z "$as_dir" && as_dir=.
13393 for ac_exec_ext in '' $ac_executable_extensions; do
13394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13395 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13397 break 2
13398 fi
13399done
13400 done
13401IFS=$as_save_IFS
13402
13403fi
13404fi
13405FC=$ac_cv_prog_FC
13406if test -n "$FC"; then
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13408$as_echo "$FC" >&6; }
13409else
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13411$as_echo "no" >&6; }
13412fi
13413
13414
13415 test -n "$FC" && break
13416 done
13417fi
13418if test -z "$FC"; then
13419 ac_ct_FC=$FC
13420 for ac_prog in gfortran
13421do
13422 # Extract the first word of "$ac_prog", so it can be a program name with args.
13423set dummy $ac_prog; ac_word=$2
13424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13425$as_echo_n "checking for $ac_word... " >&6; }
13426if ${ac_cv_prog_ac_ct_FC+:} false; then :
13427 $as_echo_n "(cached) " >&6
13428else
13429 if test -n "$ac_ct_FC"; then
13430 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13431else
13432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13433for as_dir in $PATH
13434do
13435 IFS=$as_save_IFS
13436 test -z "$as_dir" && as_dir=.
13437 for ac_exec_ext in '' $ac_executable_extensions; do
13438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13439 ac_cv_prog_ac_ct_FC="$ac_prog"
13440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13441 break 2
13442 fi
13443done
13444 done
13445IFS=$as_save_IFS
13446
13447fi
13448fi
13449ac_ct_FC=$ac_cv_prog_ac_ct_FC
13450if test -n "$ac_ct_FC"; then
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13452$as_echo "$ac_ct_FC" >&6; }
13453else
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13455$as_echo "no" >&6; }
13456fi
13457
13458
13459 test -n "$ac_ct_FC" && break
13460done
13461
13462 if test "x$ac_ct_FC" = x; then
13463 FC=""
13464 else
13465 case $cross_compiling:$ac_tool_warned in
13466yes:)
13467{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13468$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13469ac_tool_warned=yes ;;
13470esac
13471 FC=$ac_ct_FC
13472 fi
13473fi
13474
13475
13476# Provide some information about the compiler.
13477$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13478set X $ac_compile
13479ac_compiler=$2
13480for ac_option in --version -v -V -qversion; do
13481 { { ac_try="$ac_compiler $ac_option >&5"
13482case "(($ac_try" in
13483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13484 *) ac_try_echo=$ac_try;;
13485esac
13486eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13487$as_echo "$ac_try_echo"; } >&5
13488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13489 ac_status=$?
13490 if test -s conftest.err; then
13491 sed '10a\
13492... rest of stderr output deleted ...
13493 10q' conftest.err >conftest.er1
13494 cat conftest.er1 >&5
13495 fi
13496 rm -f conftest.er1 conftest.err
13497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13498 test $ac_status = 0; }
13499done
13500rm -f a.out
13501
13502# If we don't use `.F' as extension, the preprocessor is not run on the
13503# input file. (Note that this only needs to work for GNU compilers.)
13504ac_save_ext=$ac_ext
13505ac_ext=F
13506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13507$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13508if ${ac_cv_fc_compiler_gnu+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510else
13511 cat > conftest.$ac_ext <<_ACEOF
13512 program main
13513#ifndef __GNUC__
13514 choke me
13515#endif
13516
13517 end
13518_ACEOF
13519if ac_fn_fc_try_compile "$LINENO"; then :
13520 ac_compiler_gnu=yes
13521else
13522 ac_compiler_gnu=no
13523fi
13524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13525ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13526
13527fi
13528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13529$as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13530ac_ext=$ac_save_ext
13531ac_test_FCFLAGS=${FCFLAGS+set}
13532ac_save_FCFLAGS=$FCFLAGS
13533FCFLAGS=
13534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13535$as_echo_n "checking whether $FC accepts -g... " >&6; }
13536if ${ac_cv_prog_fc_g+:} false; then :
13537 $as_echo_n "(cached) " >&6
13538else
13539 FCFLAGS=-g
13540cat > conftest.$ac_ext <<_ACEOF
13541 program main
13542
13543 end
13544_ACEOF
13545if ac_fn_fc_try_compile "$LINENO"; then :
13546 ac_cv_prog_fc_g=yes
13547else
13548 ac_cv_prog_fc_g=no
13549fi
13550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13551
13552fi
13553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13554$as_echo "$ac_cv_prog_fc_g" >&6; }
13555if test "$ac_test_FCFLAGS" = set; then
13556 FCFLAGS=$ac_save_FCFLAGS
13557elif test $ac_cv_prog_fc_g = yes; then
13558 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13559 FCFLAGS="-g -O2"
13560 else
13561 FCFLAGS="-g"
13562 fi
13563else
13564 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13565 FCFLAGS="-O2"
13566 else
13567 FCFLAGS=
13568 fi
13569fi
13570
13571if test $ac_compiler_gnu = yes; then
13572 GFC=yes
13573else
13574 GFC=
13575fi
13576ac_ext=c
13577ac_cpp='$CPP $CPPFLAGS'
13578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13580ac_compiler_gnu=$ac_cv_c_compiler_gnu
13581
13582 ac_ext=${ac_fc_srcext-f}
13583ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13584ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13585ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13586
13587
13588if test -z "$FC" || test "X$FC" = "Xno"; then
13589 _lt_disable_FC=yes
13590fi
13591
13592archive_cmds_need_lc_FC=no
13593allow_undefined_flag_FC=
13594always_export_symbols_FC=no
13595archive_expsym_cmds_FC=
13596export_dynamic_flag_spec_FC=
13597hardcode_direct_FC=no
13598hardcode_direct_absolute_FC=no
13599hardcode_libdir_flag_spec_FC=
13600hardcode_libdir_flag_spec_ld_FC=
13601hardcode_libdir_separator_FC=
13602hardcode_minus_L_FC=no
13603hardcode_automatic_FC=no
13604inherit_rpath_FC=no
13605module_cmds_FC=
13606module_expsym_cmds_FC=
13607link_all_deplibs_FC=unknown
13608old_archive_cmds_FC=$old_archive_cmds
13609reload_flag_FC=$reload_flag
13610reload_cmds_FC=$reload_cmds
13611no_undefined_flag_FC=
13612whole_archive_flag_spec_FC=
13613enable_shared_with_static_runtimes_FC=no
13614
13615# Source file extension for fc test sources.
13616ac_ext=${ac_fc_srcext-f}
13617
13618# Object file extension for compiled fc test sources.
13619objext=o
13620objext_FC=$objext
13621
13622# No sense in running all these tests if we already determined that
13623# the FC compiler isn't working. Some variables (like enable_shared)
13624# are currently assumed to apply to all compilers on this platform,
13625# and will be corrupted by setting them based on a non-working compiler.
13626if test "$_lt_disable_FC" != yes; then
13627 # Code to be used in simple compile tests
13628 lt_simple_compile_test_code="\
13629 subroutine t
13630 return
13631 end
13632"
13633
13634 # Code to be used in simple link tests
13635 lt_simple_link_test_code="\
13636 program t
13637 end
13638"
13639
13640 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13641
13642
13643
13644
13645
13646
13647# If no C compiler was specified, use CC.
13648LTCC=${LTCC-"$CC"}
13649
13650# If no C compiler flags were specified, use CFLAGS.
13651LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13652
13653# Allow CC to be a program name with arguments.
13654compiler=$CC
13655
13656
13657 # save warnings/boilerplate of simple test code
13658 ac_outfile=conftest.$ac_objext
13659echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13660eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13661_lt_compiler_boilerplate=`cat conftest.err`
13662$RM conftest*
13663
13664 ac_outfile=conftest.$ac_objext
13665echo "$lt_simple_link_test_code" >conftest.$ac_ext
13666eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13667_lt_linker_boilerplate=`cat conftest.err`
13668$RM -r conftest*
13669
13670
13671 # Allow CC to be a program name with arguments.
13672 lt_save_CC="$CC"
13673 lt_save_GCC=$GCC
13674 CC=${FC-"f95"}
13675 compiler=$CC
13676 GCC=$ac_cv_fc_compiler_gnu
13677
13678 compiler_FC=$CC
13679 for cc_temp in $compiler""; do
13680 case $cc_temp in
13681 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13682 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13683 \-*) ;;
13684 *) break;;
13685 esac
13686done
13687cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13688
13689
13690 if test -n "$compiler"; then
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13692$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13694$as_echo "$can_build_shared" >&6; }
13695
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13697$as_echo_n "checking whether to build shared libraries... " >&6; }
13698 test "$can_build_shared" = "no" && enable_shared=no
13699
13700 # On AIX, shared libraries and static libraries use the same namespace, and
13701 # are all built from PIC.
13702 case $host_os in
13703 aix3*)
13704 test "$enable_shared" = yes && enable_static=no
13705 if test -n "$RANLIB"; then
13706 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13707 postinstall_cmds='$RANLIB $lib'
13708 fi
13709 ;;
13710 aix[4-9]*)
13711 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13712 test "$enable_shared" = yes && enable_static=no
13713 fi
13714 ;;
13715 esac
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13717$as_echo "$enable_shared" >&6; }
13718
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13720$as_echo_n "checking whether to build static libraries... " >&6; }
13721 # Make sure either enable_shared or enable_static is yes.
13722 test "$enable_shared" = yes || enable_static=yes
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13724$as_echo "$enable_static" >&6; }
13725
13726 GCC_FC="$ac_cv_fc_compiler_gnu"
13727 LD_FC="$LD"
13728
13729 ## CAVEAT EMPTOR:
13730 ## There is no encapsulation within the following macros, do not change
13731 ## the running order or otherwise move them around unless you know exactly
13732 ## what you are doing...
13733 # Dependencies to place before and after the object being linked:
13734predep_objects_FC=
13735postdep_objects_FC=
13736predeps_FC=
13737postdeps_FC=
13738compiler_lib_search_path_FC=
13739
13740cat > conftest.$ac_ext <<_LT_EOF
13741 subroutine foo
13742 implicit none
13743 integer a
13744 a=0
13745 return
13746 end
13747_LT_EOF
13748
13749if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13750 (eval $ac_compile) 2>&5
13751 ac_status=$?
13752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13753 test $ac_status = 0; }; then
13754 # Parse the compiler output and extract the necessary
13755 # objects, libraries and library flags.
13756
13757 # Sentinel used to keep track of whether or not we are before
13758 # the conftest object file.
13759 pre_test_object_deps_done=no
13760
13761 for p in `eval "$output_verbose_link_cmd"`; do
13762 case $p in
13763
13764 -L* | -R* | -l*)
13765 # Some compilers place space between "-{L,R}" and the path.
13766 # Remove the space.
13767 if test $p = "-L" ||
13768 test $p = "-R"; then
13769 prev=$p
13770 continue
13771 else
13772 prev=
13773 fi
13774
13775 if test "$pre_test_object_deps_done" = no; then
13776 case $p in
13777 -L* | -R*)
13778 # Internal compiler library paths should come after those
13779 # provided the user. The postdeps already come after the
13780 # user supplied libs so there is no need to process them.
13781 if test -z "$compiler_lib_search_path_FC"; then
13782 compiler_lib_search_path_FC="${prev}${p}"
13783 else
13784 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13785 fi
13786 ;;
13787 # The "-l" case would never come before the object being
13788 # linked, so don't bother handling this case.
13789 esac
13790 else
13791 if test -z "$postdeps_FC"; then
13792 postdeps_FC="${prev}${p}"
13793 else
13794 postdeps_FC="${postdeps_FC} ${prev}${p}"
13795 fi
13796 fi
13797 ;;
13798
13799 *.$objext)
13800 # This assumes that the test object file only shows up
13801 # once in the compiler output.
13802 if test "$p" = "conftest.$objext"; then
13803 pre_test_object_deps_done=yes
13804 continue
13805 fi
13806
13807 if test "$pre_test_object_deps_done" = no; then
13808 if test -z "$predep_objects_FC"; then
13809 predep_objects_FC="$p"
13810 else
13811 predep_objects_FC="$predep_objects_FC $p"
13812 fi
13813 else
13814 if test -z "$postdep_objects_FC"; then
13815 postdep_objects_FC="$p"
13816 else
13817 postdep_objects_FC="$postdep_objects_FC $p"
13818 fi
13819 fi
13820 ;;
13821
13822 *) ;; # Ignore the rest.
13823
13824 esac
13825 done
13826
13827 # Clean up.
13828 rm -f a.out a.exe
13829else
13830 echo "libtool.m4: error: problem compiling FC test program"
13831fi
13832
13833$RM -f confest.$objext
13834
13835# PORTME: override above test on systems where it is broken
13836
13837
13838case " $postdeps_FC " in
13839*" -lc "*) archive_cmds_need_lc_FC=no ;;
13840esac
13841 compiler_lib_search_dirs_FC=
13842if test -n "${compiler_lib_search_path_FC}"; then
13843 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13844fi
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876 lt_prog_compiler_wl_FC=
13877lt_prog_compiler_pic_FC=
13878lt_prog_compiler_static_FC=
13879
13880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13881$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13882
13883 if test "$GCC" = yes; then
13884 lt_prog_compiler_wl_FC='-Wl,'
13885 lt_prog_compiler_static_FC='-static'
13886
13887 case $host_os in
13888 aix*)
13889 # All AIX code is PIC.
13890 if test "$host_cpu" = ia64; then
13891 # AIX 5 now supports IA64 processor
13892 lt_prog_compiler_static_FC='-Bstatic'
13893 fi
13894 lt_prog_compiler_pic_FC='-fPIC'
13895 ;;
13896
13897 amigaos*)
13898 case $host_cpu in
13899 powerpc)
13900 # see comment about AmigaOS4 .so support
13901 lt_prog_compiler_pic_FC='-fPIC'
13902 ;;
13903 m68k)
13904 # FIXME: we need at least 68020 code to build shared libraries, but
13905 # adding the `-m68020' flag to GCC prevents building anything better,
13906 # like `-m68040'.
13907 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13908 ;;
13909 esac
13910 ;;
13911
13912 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13913 # PIC is the default for these OSes.
13914 ;;
13915
13916 mingw* | cygwin* | pw32* | os2* | cegcc*)
13917 # This hack is so that the source file can tell whether it is being
13918 # built for inclusion in a dll (and should export symbols for example).
13919 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13920 # (--disable-auto-import) libraries
13921 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13922 ;;
13923
13924 darwin* | rhapsody*)
13925 # PIC is the default on this platform
13926 # Common symbols not allowed in MH_DYLIB files
13927 lt_prog_compiler_pic_FC='-fno-common'
13928 ;;
13929
13930 haiku*)
13931 # PIC is the default for Haiku.
13932 # The "-static" flag exists, but is broken.
13933 lt_prog_compiler_static_FC=
13934 ;;
13935
13936 hpux*)
13937 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13938 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13939 # sets the default TLS model and affects inlining.
13940 case $host_cpu in
13941 hppa*64*)
13942 # +Z the default
13943 ;;
13944 *)
13945 lt_prog_compiler_pic_FC='-fPIC'
13946 ;;
13947 esac
13948 ;;
13949
13950 interix[3-9]*)
13951 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13952 # Instead, we relocate shared libraries at runtime.
13953 ;;
13954
13955 msdosdjgpp*)
13956 # Just because we use GCC doesn't mean we suddenly get shared libraries
13957 # on systems that don't support them.
13958 lt_prog_compiler_can_build_shared_FC=no
13959 enable_shared=no
13960 ;;
13961
13962 *nto* | *qnx*)
13963 # QNX uses GNU C++, but need to define -shared option too, otherwise
13964 # it will coredump.
13965 lt_prog_compiler_pic_FC='-fPIC -shared'
13966 ;;
13967
13968 sysv4*MP*)
13969 if test -d /usr/nec; then
13970 lt_prog_compiler_pic_FC=-Kconform_pic
13971 fi
13972 ;;
13973
13974 *)
13975 lt_prog_compiler_pic_FC='-fPIC'
13976 ;;
13977 esac
13978
13979 case $cc_basename in
13980 nvcc*) # Cuda Compiler Driver 2.2
13981 lt_prog_compiler_wl_FC='-Xlinker '
13982 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13983 ;;
13984 esac
13985 else
13986 # PORTME Check for flag to pass linker flags through the system compiler.
13987 case $host_os in
13988 aix*)
13989 lt_prog_compiler_wl_FC='-Wl,'
13990 if test "$host_cpu" = ia64; then
13991 # AIX 5 now supports IA64 processor
13992 lt_prog_compiler_static_FC='-Bstatic'
13993 else
13994 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13995 fi
13996 ;;
13997
13998 mingw* | cygwin* | pw32* | os2* | cegcc*)
13999 # This hack is so that the source file can tell whether it is being
14000 # built for inclusion in a dll (and should export symbols for example).
14001 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
14002 ;;
14003
14004 hpux9* | hpux10* | hpux11*)
14005 lt_prog_compiler_wl_FC='-Wl,'
14006 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14007 # not for PA HP-UX.
14008 case $host_cpu in
14009 hppa*64*|ia64*)
14010 # +Z the default
14011 ;;
14012 *)
14013 lt_prog_compiler_pic_FC='+Z'
14014 ;;
14015 esac
14016 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14017 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
14018 ;;
14019
14020 irix5* | irix6* | nonstopux*)
14021 lt_prog_compiler_wl_FC='-Wl,'
14022 # PIC (with -KPIC) is the default.
14023 lt_prog_compiler_static_FC='-non_shared'
14024 ;;
14025
14026 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14027 case $cc_basename in
14028 # old Intel for x86_64 which still supported -KPIC.
14029 ecc*)
14030 lt_prog_compiler_wl_FC='-Wl,'
14031 lt_prog_compiler_pic_FC='-KPIC'
14032 lt_prog_compiler_static_FC='-static'
14033 ;;
14034 # icc used to be incompatible with GCC.
14035 # ICC 10 doesn't accept -KPIC any more.
14036 icc* | ifort*)
14037 lt_prog_compiler_wl_FC='-Wl,'
14038 lt_prog_compiler_pic_FC='-fPIC'
14039 lt_prog_compiler_static_FC='-static'
14040 ;;
14041 # Lahey Fortran 8.1.
14042 lf95*)
14043 lt_prog_compiler_wl_FC='-Wl,'
14044 lt_prog_compiler_pic_FC='--shared'
14045 lt_prog_compiler_static_FC='--static'
14046 ;;
14047 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
14048 # Portland Group compilers (*not* the Pentium gcc compiler,
14049 # which looks to be a dead project)
14050 lt_prog_compiler_wl_FC='-Wl,'
14051 lt_prog_compiler_pic_FC='-fpic'
14052 lt_prog_compiler_static_FC='-Bstatic'
14053 ;;
14054 ccc*)
14055 lt_prog_compiler_wl_FC='-Wl,'
14056 # All Alpha code is PIC.
14057 lt_prog_compiler_static_FC='-non_shared'
14058 ;;
14059 xl* | bgxl* | bgf* | mpixl*)
14060 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14061 lt_prog_compiler_wl_FC='-Wl,'
14062 lt_prog_compiler_pic_FC='-qpic'
14063 lt_prog_compiler_static_FC='-qstaticlink'
14064 ;;
14065 *)
14066 case `$CC -V 2>&1 | sed 5q` in
14067 *Sun\ F* | *Sun*Fortran*)
14068 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14069 lt_prog_compiler_pic_FC='-KPIC'
14070 lt_prog_compiler_static_FC='-Bstatic'
14071 lt_prog_compiler_wl_FC=''
14072 ;;
14073 *Sun\ C*)
14074 # Sun C 5.9
14075 lt_prog_compiler_pic_FC='-KPIC'
14076 lt_prog_compiler_static_FC='-Bstatic'
14077 lt_prog_compiler_wl_FC='-Wl,'
14078 ;;
14079 esac
14080 ;;
14081 esac
14082 ;;
14083
14084 newsos6)
14085 lt_prog_compiler_pic_FC='-KPIC'
14086 lt_prog_compiler_static_FC='-Bstatic'
14087 ;;
14088
14089 *nto* | *qnx*)
14090 # QNX uses GNU C++, but need to define -shared option too, otherwise
14091 # it will coredump.
14092 lt_prog_compiler_pic_FC='-fPIC -shared'
14093 ;;
14094
14095 osf3* | osf4* | osf5*)
14096 lt_prog_compiler_wl_FC='-Wl,'
14097 # All OSF/1 code is PIC.
14098 lt_prog_compiler_static_FC='-non_shared'
14099 ;;
14100
14101 rdos*)
14102 lt_prog_compiler_static_FC='-non_shared'
14103 ;;
14104
14105 solaris*)
14106 lt_prog_compiler_pic_FC='-KPIC'
14107 lt_prog_compiler_static_FC='-Bstatic'
14108 case $cc_basename in
14109 f77* | f90* | f95*)
14110 lt_prog_compiler_wl_FC='-Qoption ld ';;
14111 *)
14112 lt_prog_compiler_wl_FC='-Wl,';;
14113 esac
14114 ;;
14115
14116 sunos4*)
14117 lt_prog_compiler_wl_FC='-Qoption ld '
14118 lt_prog_compiler_pic_FC='-PIC'
14119 lt_prog_compiler_static_FC='-Bstatic'
14120 ;;
14121
14122 sysv4 | sysv4.2uw2* | sysv4.3*)
14123 lt_prog_compiler_wl_FC='-Wl,'
14124 lt_prog_compiler_pic_FC='-KPIC'
14125 lt_prog_compiler_static_FC='-Bstatic'
14126 ;;
14127
14128 sysv4*MP*)
14129 if test -d /usr/nec ;then
14130 lt_prog_compiler_pic_FC='-Kconform_pic'
14131 lt_prog_compiler_static_FC='-Bstatic'
14132 fi
14133 ;;
14134
14135 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14136 lt_prog_compiler_wl_FC='-Wl,'
14137 lt_prog_compiler_pic_FC='-KPIC'
14138 lt_prog_compiler_static_FC='-Bstatic'
14139 ;;
14140
14141 unicos*)
14142 lt_prog_compiler_wl_FC='-Wl,'
14143 lt_prog_compiler_can_build_shared_FC=no
14144 ;;
14145
14146 uts4*)
14147 lt_prog_compiler_pic_FC='-pic'
14148 lt_prog_compiler_static_FC='-Bstatic'
14149 ;;
14150
14151 *)
14152 lt_prog_compiler_can_build_shared_FC=no
14153 ;;
14154 esac
14155 fi
14156
14157case $host_os in
14158 # For platforms which do not support PIC, -DPIC is meaningless:
14159 *djgpp*)
14160 lt_prog_compiler_pic_FC=
14161 ;;
14162 *)
14163 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14164 ;;
14165esac
14166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14167$as_echo "$lt_prog_compiler_pic_FC" >&6; }
14168
14169
14170
14171#
14172# Check to make sure the PIC flag actually works.
14173#
14174if test -n "$lt_prog_compiler_pic_FC"; then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14176$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14177if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179else
14180 lt_cv_prog_compiler_pic_works_FC=no
14181 ac_outfile=conftest.$ac_objext
14182 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14183 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14184 # Insert the option either (1) after the last *FLAGS variable, or
14185 # (2) before a word containing "conftest.", or (3) at the end.
14186 # Note that $ac_compile itself does not contain backslashes and begins
14187 # with a dollar sign (not a hyphen), so the echo should work correctly.
14188 # The option is referenced via a variable to avoid confusing sed.
14189 lt_compile=`echo "$ac_compile" | $SED \
14190 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14191 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14192 -e 's:$: $lt_compiler_flag:'`
14193 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14194 (eval "$lt_compile" 2>conftest.err)
14195 ac_status=$?
14196 cat conftest.err >&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 if (exit $ac_status) && test -s "$ac_outfile"; then
14199 # The compiler can only warn and ignore the option if not recognized
14200 # So say no if there are warnings other than the usual output.
14201 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14202 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14203 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14204 lt_cv_prog_compiler_pic_works_FC=yes
14205 fi
14206 fi
14207 $RM conftest*
14208
14209fi
14210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14211$as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14212
14213if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14214 case $lt_prog_compiler_pic_FC in
14215 "" | " "*) ;;
14216 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14217 esac
14218else
14219 lt_prog_compiler_pic_FC=
14220 lt_prog_compiler_can_build_shared_FC=no
14221fi
14222
14223fi
14224
14225
14226
14227#
14228# Check to make sure the static flag actually works.
14229#
14230wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14232$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14233if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235else
14236 lt_cv_prog_compiler_static_works_FC=no
14237 save_LDFLAGS="$LDFLAGS"
14238 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14239 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14240 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14241 # The linker can only warn and ignore the option if not recognized
14242 # So say no if there are warnings
14243 if test -s conftest.err; then
14244 # Append any errors to the config.log.
14245 cat conftest.err 1>&5
14246 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14247 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14248 if diff conftest.exp conftest.er2 >/dev/null; then
14249 lt_cv_prog_compiler_static_works_FC=yes
14250 fi
14251 else
14252 lt_cv_prog_compiler_static_works_FC=yes
14253 fi
14254 fi
14255 $RM -r conftest*
14256 LDFLAGS="$save_LDFLAGS"
14257
14258fi
14259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14260$as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14261
14262if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14263 :
14264else
14265 lt_prog_compiler_static_FC=
14266fi
14267
14268
14269
14270
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14272$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14273if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14274 $as_echo_n "(cached) " >&6
14275else
14276 lt_cv_prog_compiler_c_o_FC=no
14277 $RM -r conftest 2>/dev/null
14278 mkdir conftest
14279 cd conftest
14280 mkdir out
14281 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14282
14283 lt_compiler_flag="-o out/conftest2.$ac_objext"
14284 # Insert the option either (1) after the last *FLAGS variable, or
14285 # (2) before a word containing "conftest.", or (3) at the end.
14286 # Note that $ac_compile itself does not contain backslashes and begins
14287 # with a dollar sign (not a hyphen), so the echo should work correctly.
14288 lt_compile=`echo "$ac_compile" | $SED \
14289 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14291 -e 's:$: $lt_compiler_flag:'`
14292 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14293 (eval "$lt_compile" 2>out/conftest.err)
14294 ac_status=$?
14295 cat out/conftest.err >&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14298 then
14299 # The compiler can only warn and ignore the option if not recognized
14300 # So say no if there are warnings
14301 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14302 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14303 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14304 lt_cv_prog_compiler_c_o_FC=yes
14305 fi
14306 fi
14307 chmod u+w . 2>&5
14308 $RM conftest*
14309 # SGI C++ compiler will create directory out/ii_files/ for
14310 # template instantiation
14311 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14312 $RM out/* && rmdir out
14313 cd ..
14314 $RM -r conftest
14315 $RM conftest*
14316
14317fi
14318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14319$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14320
14321
14322
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14324$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14325if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14326 $as_echo_n "(cached) " >&6
14327else
14328 lt_cv_prog_compiler_c_o_FC=no
14329 $RM -r conftest 2>/dev/null
14330 mkdir conftest
14331 cd conftest
14332 mkdir out
14333 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14334
14335 lt_compiler_flag="-o out/conftest2.$ac_objext"
14336 # Insert the option either (1) after the last *FLAGS variable, or
14337 # (2) before a word containing "conftest.", or (3) at the end.
14338 # Note that $ac_compile itself does not contain backslashes and begins
14339 # with a dollar sign (not a hyphen), so the echo should work correctly.
14340 lt_compile=`echo "$ac_compile" | $SED \
14341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14343 -e 's:$: $lt_compiler_flag:'`
14344 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14345 (eval "$lt_compile" 2>out/conftest.err)
14346 ac_status=$?
14347 cat out/conftest.err >&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14350 then
14351 # The compiler can only warn and ignore the option if not recognized
14352 # So say no if there are warnings
14353 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14354 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14355 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14356 lt_cv_prog_compiler_c_o_FC=yes
14357 fi
14358 fi
14359 chmod u+w . 2>&5
14360 $RM conftest*
14361 # SGI C++ compiler will create directory out/ii_files/ for
14362 # template instantiation
14363 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14364 $RM out/* && rmdir out
14365 cd ..
14366 $RM -r conftest
14367 $RM conftest*
14368
14369fi
14370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14371$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14372
14373
14374
14375
14376hard_links="nottested"
14377if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14378 # do not overwrite the value of need_locks provided by the user
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14380$as_echo_n "checking if we can lock with hard links... " >&6; }
14381 hard_links=yes
14382 $RM conftest*
14383 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14384 touch conftest.a
14385 ln conftest.a conftest.b 2>&5 || hard_links=no
14386 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14388$as_echo "$hard_links" >&6; }
14389 if test "$hard_links" = no; then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14391$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14392 need_locks=warn
14393 fi
14394else
14395 need_locks=no
14396fi
14397
14398
14399
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14401$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14402
14403 runpath_var=
14404 allow_undefined_flag_FC=
14405 always_export_symbols_FC=no
14406 archive_cmds_FC=
14407 archive_expsym_cmds_FC=
14408 compiler_needs_object_FC=no
14409 enable_shared_with_static_runtimes_FC=no
14410 export_dynamic_flag_spec_FC=
14411 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14412 hardcode_automatic_FC=no
14413 hardcode_direct_FC=no
14414 hardcode_direct_absolute_FC=no
14415 hardcode_libdir_flag_spec_FC=
14416 hardcode_libdir_flag_spec_ld_FC=
14417 hardcode_libdir_separator_FC=
14418 hardcode_minus_L_FC=no
14419 hardcode_shlibpath_var_FC=unsupported
14420 inherit_rpath_FC=no
14421 link_all_deplibs_FC=unknown
14422 module_cmds_FC=
14423 module_expsym_cmds_FC=
14424 old_archive_from_new_cmds_FC=
14425 old_archive_from_expsyms_cmds_FC=
14426 thread_safe_flag_spec_FC=
14427 whole_archive_flag_spec_FC=
14428 # include_expsyms should be a list of space-separated symbols to be *always*
14429 # included in the symbol list
14430 include_expsyms_FC=
14431 # exclude_expsyms can be an extended regexp of symbols to exclude
14432 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14433 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14434 # as well as any symbol that contains `d'.
14435 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14436 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14437 # platforms (ab)use it in PIC code, but their linkers get confused if
14438 # the symbol is explicitly referenced. Since portable code cannot
14439 # rely on this symbol name, it's probably fine to never include it in
14440 # preloaded symbol tables.
14441 # Exclude shared library initialization/finalization symbols.
14442 extract_expsyms_cmds=
14443
14444 case $host_os in
14445 cygwin* | mingw* | pw32* | cegcc*)
14446 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14447 # When not using gcc, we currently assume that we are using
14448 # Microsoft Visual C++.
14449 if test "$GCC" != yes; then
14450 with_gnu_ld=no
14451 fi
14452 ;;
14453 interix*)
14454 # we just hope/assume this is gcc and not c89 (= MSVC++)
14455 with_gnu_ld=yes
14456 ;;
14457 openbsd*)
14458 with_gnu_ld=no
14459 ;;
14460 esac
14461
14462 ld_shlibs_FC=yes
14463
14464 # On some targets, GNU ld is compatible enough with the native linker
14465 # that we're better off using the native interface for both.
14466 lt_use_gnu_ld_interface=no
14467 if test "$with_gnu_ld" = yes; then
14468 case $host_os in
14469 aix*)
14470 # The AIX port of GNU ld has always aspired to compatibility
14471 # with the native linker. However, as the warning in the GNU ld
14472 # block says, versions before 2.19.5* couldn't really create working
14473 # shared libraries, regardless of the interface used.
14474 case `$LD -v 2>&1` in
14475 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14476 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14477 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14478 *)
14479 lt_use_gnu_ld_interface=yes
14480 ;;
14481 esac
14482 ;;
14483 *)
14484 lt_use_gnu_ld_interface=yes
14485 ;;
14486 esac
14487 fi
14488
14489 if test "$lt_use_gnu_ld_interface" = yes; then
14490 # If archive_cmds runs LD, not CC, wlarc should be empty
14491 wlarc='${wl}'
14492
14493 # Set some defaults for GNU ld with shared library support. These
14494 # are reset later if shared libraries are not supported. Putting them
14495 # here allows them to be overridden if necessary.
14496 runpath_var=LD_RUN_PATH
14497 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14498 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14499 # ancient GNU ld didn't support --whole-archive et. al.
14500 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14501 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14502 else
14503 whole_archive_flag_spec_FC=
14504 fi
14505 supports_anon_versioning=no
14506 case `$LD -v 2>&1` in
14507 *GNU\ gold*) supports_anon_versioning=yes ;;
14508 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14509 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14510 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14511 *\ 2.11.*) ;; # other 2.11 versions
14512 *) supports_anon_versioning=yes ;;
14513 esac
14514
14515 # See if GNU ld supports shared libraries.
14516 case $host_os in
14517 aix[3-9]*)
14518 # On AIX/PPC, the GNU linker is very broken
14519 if test "$host_cpu" != ia64; then
14520 ld_shlibs_FC=no
14521 cat <<_LT_EOF 1>&2
14522
14523*** Warning: the GNU linker, at least up to release 2.19, is reported
14524*** to be unable to reliably create shared libraries on AIX.
14525*** Therefore, libtool is disabling shared libraries support. If you
14526*** really care for shared libraries, you may want to install binutils
14527*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14528*** You will then need to restart the configuration process.
14529
14530_LT_EOF
14531 fi
14532 ;;
14533
14534 amigaos*)
14535 case $host_cpu in
14536 powerpc)
14537 # see comment about AmigaOS4 .so support
14538 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14539 archive_expsym_cmds_FC=''
14540 ;;
14541 m68k)
14542 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14543 hardcode_libdir_flag_spec_FC='-L$libdir'
14544 hardcode_minus_L_FC=yes
14545 ;;
14546 esac
14547 ;;
14548
14549 beos*)
14550 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14551 allow_undefined_flag_FC=unsupported
14552 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14553 # support --undefined. This deserves some investigation. FIXME
14554 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14555 else
14556 ld_shlibs_FC=no
14557 fi
14558 ;;
14559
14560 cygwin* | mingw* | pw32* | cegcc*)
14561 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14562 # as there is no search path for DLLs.
14563 hardcode_libdir_flag_spec_FC='-L$libdir'
14564 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14565 allow_undefined_flag_FC=unsupported
14566 always_export_symbols_FC=no
14567 enable_shared_with_static_runtimes_FC=yes
14568 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14569
14570 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14571 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14572 # If the export-symbols file already is a .def file (1st line
14573 # is EXPORTS), use it as is; otherwise, prepend...
14574 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14575 cp $export_symbols $output_objdir/$soname.def;
14576 else
14577 echo EXPORTS > $output_objdir/$soname.def;
14578 cat $export_symbols >> $output_objdir/$soname.def;
14579 fi~
14580 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14581 else
14582 ld_shlibs_FC=no
14583 fi
14584 ;;
14585
14586 haiku*)
14587 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14588 link_all_deplibs_FC=yes
14589 ;;
14590
14591 interix[3-9]*)
14592 hardcode_direct_FC=no
14593 hardcode_shlibpath_var_FC=no
14594 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14595 export_dynamic_flag_spec_FC='${wl}-E'
14596 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14597 # Instead, shared libraries are loaded at an image base (0x10000000 by
14598 # default) and relocated if they conflict, which is a slow very memory
14599 # consuming and fragmenting process. To avoid this, we pick a random,
14600 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14601 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14602 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14603 archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14604 ;;
14605
14606 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14607 tmp_diet=no
14608 if test "$host_os" = linux-dietlibc; then
14609 case $cc_basename in
14610 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14611 esac
14612 fi
14613 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14614 && test "$tmp_diet" = no
14615 then
14616 tmp_addflag=' $pic_flag'
14617 tmp_sharedflag='-shared'
14618 case $cc_basename,$host_cpu in
14619 pgcc*) # Portland Group C compiler
14620 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14621 tmp_addflag=' $pic_flag'
14622 ;;
14623 pgf77* | pgf90* | pgf95* | pgfortran*)
14624 # Portland Group f77 and f90 compilers
14625 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14626 tmp_addflag=' $pic_flag -Mnomain' ;;
14627 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14628 tmp_addflag=' -i_dynamic' ;;
14629 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14630 tmp_addflag=' -i_dynamic -nofor_main' ;;
14631 ifc* | ifort*) # Intel Fortran compiler
14632 tmp_addflag=' -nofor_main' ;;
14633 lf95*) # Lahey Fortran 8.1
14634 whole_archive_flag_spec_FC=
14635 tmp_sharedflag='--shared' ;;
14636 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14637 tmp_sharedflag='-qmkshrobj'
14638 tmp_addflag= ;;
14639 nvcc*) # Cuda Compiler Driver 2.2
14640 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14641 compiler_needs_object_FC=yes
14642 ;;
14643 esac
14644 case `$CC -V 2>&1 | sed 5q` in
14645 *Sun\ C*) # Sun C 5.9
14646 whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14647 compiler_needs_object_FC=yes
14648 tmp_sharedflag='-G' ;;
14649 *Sun\ F*) # Sun Fortran 8.3
14650 tmp_sharedflag='-G' ;;
14651 esac
14652 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14653
14654 if test "x$supports_anon_versioning" = xyes; then
14655 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14656 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14657 echo "local: *; };" >> $output_objdir/$libname.ver~
14658 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14659 fi
14660
14661 case $cc_basename in
14662 xlf* | bgf* | bgxlf* | mpixlf*)
14663 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14664 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14665 hardcode_libdir_flag_spec_FC=
14666 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14667 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14668 if test "x$supports_anon_versioning" = xyes; then
14669 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14670 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14671 echo "local: *; };" >> $output_objdir/$libname.ver~
14672 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14673 fi
14674 ;;
14675 esac
14676 else
14677 ld_shlibs_FC=no
14678 fi
14679 ;;
14680
14681 netbsd*)
14682 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14683 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14684 wlarc=
14685 else
14686 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14687 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14688 fi
14689 ;;
14690
14691 solaris*)
14692 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14693 ld_shlibs_FC=no
14694 cat <<_LT_EOF 1>&2
14695
14696*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14697*** create shared libraries on Solaris systems. Therefore, libtool
14698*** is disabling shared libraries support. We urge you to upgrade GNU
14699*** binutils to release 2.9.1 or newer. Another option is to modify
14700*** your PATH or compiler configuration so that the native linker is
14701*** used, and then restart.
14702
14703_LT_EOF
14704 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14705 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14706 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14707 else
14708 ld_shlibs_FC=no
14709 fi
14710 ;;
14711
14712 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14713 case `$LD -v 2>&1` in
14714 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14715 ld_shlibs_FC=no
14716 cat <<_LT_EOF 1>&2
14717
14718*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14719*** reliably create shared libraries on SCO systems. Therefore, libtool
14720*** is disabling shared libraries support. We urge you to upgrade GNU
14721*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14722*** your PATH or compiler configuration so that the native linker is
14723*** used, and then restart.
14724
14725_LT_EOF
14726 ;;
14727 *)
14728 # For security reasons, it is highly recommended that you always
14729 # use absolute paths for naming shared libraries, and exclude the
14730 # DT_RUNPATH tag from executables and libraries. But doing so
14731 # requires that you compile everything twice, which is a pain.
14732 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14733 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14734 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14735 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14736 else
14737 ld_shlibs_FC=no
14738 fi
14739 ;;
14740 esac
14741 ;;
14742
14743 sunos4*)
14744 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14745 wlarc=
14746 hardcode_direct_FC=yes
14747 hardcode_shlibpath_var_FC=no
14748 ;;
14749
14750 *)
14751 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14752 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14753 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14754 else
14755 ld_shlibs_FC=no
14756 fi
14757 ;;
14758 esac
14759
14760 if test "$ld_shlibs_FC" = no; then
14761 runpath_var=
14762 hardcode_libdir_flag_spec_FC=
14763 export_dynamic_flag_spec_FC=
14764 whole_archive_flag_spec_FC=
14765 fi
14766 else
14767 # PORTME fill in a description of your system's linker (not GNU ld)
14768 case $host_os in
14769 aix3*)
14770 allow_undefined_flag_FC=unsupported
14771 always_export_symbols_FC=yes
14772 archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14773 # Note: this linker hardcodes the directories in LIBPATH if there
14774 # are no directories specified by -L.
14775 hardcode_minus_L_FC=yes
14776 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14777 # Neither direct hardcoding nor static linking is supported with a
14778 # broken collect2.
14779 hardcode_direct_FC=unsupported
14780 fi
14781 ;;
14782
14783 aix[4-9]*)
14784 if test "$host_cpu" = ia64; then
14785 # On IA64, the linker does run time linking by default, so we don't
14786 # have to do anything special.
14787 aix_use_runtimelinking=no
14788 exp_sym_flag='-Bexport'
14789 no_entry_flag=""
14790 else
14791 # If we're using GNU nm, then we don't want the "-C" option.
14792 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14793 # Also, AIX nm treats weak defined symbols like other global
14794 # defined symbols, whereas GNU nm marks them as "W".
14795 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14796 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14797 else
14798 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14799 fi
14800 aix_use_runtimelinking=no
14801
14802 # Test if we are trying to use run time linking or normal
14803 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14804 # need to do runtime linking.
14805 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14806 for ld_flag in $LDFLAGS; do
14807 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14808 aix_use_runtimelinking=yes
14809 break
14810 fi
14811 done
14812 ;;
14813 esac
14814
14815 exp_sym_flag='-bexport'
14816 no_entry_flag='-bnoentry'
14817 fi
14818
14819 # When large executables or shared objects are built, AIX ld can
14820 # have problems creating the table of contents. If linking a library
14821 # or program results in "error TOC overflow" add -mminimal-toc to
14822 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14823 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14824
14825 archive_cmds_FC=''
14826 hardcode_direct_FC=yes
14827 hardcode_direct_absolute_FC=yes
14828 hardcode_libdir_separator_FC=':'
14829 link_all_deplibs_FC=yes
14830 file_list_spec_FC='${wl}-f,'
14831
14832 if test "$GCC" = yes; then
14833 case $host_os in aix4.[012]|aix4.[012].*)
14834 # We only want to do this on AIX 4.2 and lower, the check
14835 # below for broken collect2 doesn't work under 4.3+
14836 collect2name=`${CC} -print-prog-name=collect2`
14837 if test -f "$collect2name" &&
14838 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14839 then
14840 # We have reworked collect2
14841 :
14842 else
14843 # We have old collect2
14844 hardcode_direct_FC=unsupported
14845 # It fails to find uninstalled libraries when the uninstalled
14846 # path is not listed in the libpath. Setting hardcode_minus_L
14847 # to unsupported forces relinking
14848 hardcode_minus_L_FC=yes
14849 hardcode_libdir_flag_spec_FC='-L$libdir'
14850 hardcode_libdir_separator_FC=
14851 fi
14852 ;;
14853 esac
14854 shared_flag='-shared'
14855 if test "$aix_use_runtimelinking" = yes; then
14856 shared_flag="$shared_flag "'${wl}-G'
14857 fi
14858 else
14859 # not using gcc
14860 if test "$host_cpu" = ia64; then
14861 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14862 # chokes on -Wl,-G. The following line is correct:
14863 shared_flag='-G'
14864 else
14865 if test "$aix_use_runtimelinking" = yes; then
14866 shared_flag='${wl}-G'
14867 else
14868 shared_flag='${wl}-bM:SRE'
14869 fi
14870 fi
14871 fi
14872
14873 export_dynamic_flag_spec_FC='${wl}-bexpall'
14874 # It seems that -bexpall does not export symbols beginning with
14875 # underscore (_), so it is better to generate a list of symbols to export.
14876 always_export_symbols_FC=yes
14877 if test "$aix_use_runtimelinking" = yes; then
14878 # Warning - without using the other runtime loading flags (-brtl),
14879 # -berok will link without error, but may produce a broken library.
14880 allow_undefined_flag_FC='-berok'
14881 # Determine the default libpath from the value encoded in an
14882 # empty executable.
14883 if test x$gcc_no_link = xyes; then
14884 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14885fi
14886cat > conftest.$ac_ext <<_ACEOF
14887 program main
14888
14889 end
14890_ACEOF
14891if ac_fn_fc_try_link "$LINENO"; then :
14892
14893lt_aix_libpath_sed='
14894 /Import File Strings/,/^$/ {
14895 /^0/ {
14896 s/^0 *\(.*\)$/\1/
14897 p
14898 }
14899 }'
14900aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14901# Check for a 64-bit object if we didn't find anything.
14902if test -z "$aix_libpath"; then
14903 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14904fi
14905fi
14906rm -f core conftest.err conftest.$ac_objext \
14907 conftest$ac_exeext conftest.$ac_ext
14908if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14909
14910 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14911 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14912 else
14913 if test "$host_cpu" = ia64; then
14914 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14915 allow_undefined_flag_FC="-z nodefs"
14916 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14917 else
14918 # Determine the default libpath from the value encoded in an
14919 # empty executable.
14920 if test x$gcc_no_link = xyes; then
14921 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14922fi
14923cat > conftest.$ac_ext <<_ACEOF
14924 program main
14925
14926 end
14927_ACEOF
14928if ac_fn_fc_try_link "$LINENO"; then :
14929
14930lt_aix_libpath_sed='
14931 /Import File Strings/,/^$/ {
14932 /^0/ {
14933 s/^0 *\(.*\)$/\1/
14934 p
14935 }
14936 }'
14937aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14938# Check for a 64-bit object if we didn't find anything.
14939if test -z "$aix_libpath"; then
14940 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14941fi
14942fi
14943rm -f core conftest.err conftest.$ac_objext \
14944 conftest$ac_exeext conftest.$ac_ext
14945if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14946
14947 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14948 # Warning - without using the other run time loading flags,
14949 # -berok will link without error, but may produce a broken library.
14950 no_undefined_flag_FC=' ${wl}-bernotok'
14951 allow_undefined_flag_FC=' ${wl}-berok'
14952 if test "$with_gnu_ld" = yes; then
14953 # We only use this code for GNU lds that support --whole-archive.
14954 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14955 else
14956 # Exported symbols can be pulled into shared objects from archives
14957 whole_archive_flag_spec_FC='$convenience'
14958 fi
14959 archive_cmds_need_lc_FC=yes
14960 # This is similar to how AIX traditionally builds its shared libraries.
14961 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14962 fi
14963 fi
14964 ;;
14965
14966 amigaos*)
14967 case $host_cpu in
14968 powerpc)
14969 # see comment about AmigaOS4 .so support
14970 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14971 archive_expsym_cmds_FC=''
14972 ;;
14973 m68k)
14974 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14975 hardcode_libdir_flag_spec_FC='-L$libdir'
14976 hardcode_minus_L_FC=yes
14977 ;;
14978 esac
14979 ;;
14980
14981 bsdi[45]*)
14982 export_dynamic_flag_spec_FC=-rdynamic
14983 ;;
14984
14985 cygwin* | mingw* | pw32* | cegcc*)
14986 # When not using gcc, we currently assume that we are using
14987 # Microsoft Visual C++.
14988 # hardcode_libdir_flag_spec is actually meaningless, as there is
14989 # no search path for DLLs.
14990 hardcode_libdir_flag_spec_FC=' '
14991 allow_undefined_flag_FC=unsupported
14992 # Tell ltmain to make .lib files, not .a files.
14993 libext=lib
14994 # Tell ltmain to make .dll files, not .so files.
14995 shrext_cmds=".dll"
14996 # FIXME: Setting linknames here is a bad hack.
14997 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14998 # The linker will automatically build a .lib file if we build a DLL.
14999 old_archive_from_new_cmds_FC='true'
15000 # FIXME: Should let the user specify the lib program.
15001 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
15002 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
15003 enable_shared_with_static_runtimes_FC=yes
15004 ;;
15005
15006 darwin* | rhapsody*)
15007
15008
15009
15010 # Publish an arg to allow the user to select that Darwin host (and target)
15011 # libraries should be given install-names like @rpath/libfoo.dylib. This
15012 # requires that the user of the library then adds an 'rpath' to the DSO that
15013 # needs access.
15014 # NOTE: there are defaults below, for systems that support rpaths. The person
15015 # configuring can override the defaults for any system version that supports
15016 # them - they are, however, forced off for system versions without support.
15017 # Check whether --enable-darwin-at-rpath was given.
15018if test "${enable_darwin_at_rpath+set}" = set; then :
15019 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
15020 # This is not supported before macOS 10.5 / Darwin9.
15021 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15022 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
15024$as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
15025 enable_darwin_at_rpath=no
15026 ;;
15027 esac
15028 fi
15029else
15030 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15031 # As above, before 10.5 / Darwin9 this does not work.
15032 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
15033 enable_darwin_at_rpath=no
15034 ;;
15035
15036 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
15037 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
15038 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
15039 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
15041$as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
15042 enable_darwin_at_rpath=yes
15043 ;;
15044 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
15045 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
15046
15047 esac
15048
15049fi
15050
15051
15052 archive_cmds_need_lc_FC=no
15053 hardcode_direct_FC=no
15054 hardcode_automatic_FC=yes
15055 hardcode_shlibpath_var_FC=unsupported
15056 if test "$lt_cv_ld_force_load" = "yes"; then
15057 whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15058 else
15059 whole_archive_flag_spec_FC=''
15060 fi
15061 link_all_deplibs_FC=yes
15062 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
15063 case $cc_basename in
15064 ifort*) _lt_dar_can_shared=yes ;;
15065 *) _lt_dar_can_shared=$GCC ;;
15066 esac
15067 if test "$_lt_dar_can_shared" = "yes"; then
15068 output_verbose_link_cmd=func_echo_all
15069 _lt_install_name='\$rpath/\$soname'
15070 if test "x$enable_darwin_at_rpath" = "xyes"; then
15071 _lt_install_name='@rpath/\$soname'
15072 fi
15073 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
15074 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15075 archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
15076 module_expsym_cmds_FC="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15077
15078 else
15079 ld_shlibs_FC=no
15080 fi
15081
15082 ;;
15083
15084 dgux*)
15085 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15086 hardcode_libdir_flag_spec_FC='-L$libdir'
15087 hardcode_shlibpath_var_FC=no
15088 ;;
15089
15090 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15091 # support. Future versions do this automatically, but an explicit c++rt0.o
15092 # does not break anything, and helps significantly (at the cost of a little
15093 # extra space).
15094 freebsd2.2*)
15095 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15096 hardcode_libdir_flag_spec_FC='-R$libdir'
15097 hardcode_direct_FC=yes
15098 hardcode_shlibpath_var_FC=no
15099 ;;
15100
15101 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15102 freebsd2.*)
15103 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15104 hardcode_direct_FC=yes
15105 hardcode_minus_L_FC=yes
15106 hardcode_shlibpath_var_FC=no
15107 ;;
15108
15109 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15110 freebsd* | dragonfly*)
15111 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15112 hardcode_libdir_flag_spec_FC='-R$libdir'
15113 hardcode_direct_FC=yes
15114 hardcode_shlibpath_var_FC=no
15115 ;;
15116
15117 hpux9*)
15118 if test "$GCC" = yes; then
15119 archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15120 else
15121 archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15122 fi
15123 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15124 hardcode_libdir_separator_FC=:
15125 hardcode_direct_FC=yes
15126
15127 # hardcode_minus_L: Not really in the search PATH,
15128 # but as the default location of the library.
15129 hardcode_minus_L_FC=yes
15130 export_dynamic_flag_spec_FC='${wl}-E'
15131 ;;
15132
15133 hpux10*)
15134 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15135 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15136 else
15137 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15138 fi
15139 if test "$with_gnu_ld" = no; then
15140 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15141 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15142 hardcode_libdir_separator_FC=:
15143 hardcode_direct_FC=yes
15144 hardcode_direct_absolute_FC=yes
15145 export_dynamic_flag_spec_FC='${wl}-E'
15146 # hardcode_minus_L: Not really in the search PATH,
15147 # but as the default location of the library.
15148 hardcode_minus_L_FC=yes
15149 fi
15150 ;;
15151
15152 hpux11*)
15153 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15154 case $host_cpu in
15155 hppa*64*)
15156 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15157 ;;
15158 ia64*)
15159 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15160 ;;
15161 *)
15162 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15163 ;;
15164 esac
15165 else
15166 case $host_cpu in
15167 hppa*64*)
15168 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15169 ;;
15170 ia64*)
15171 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15172 ;;
15173 *)
15174 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15175 ;;
15176 esac
15177 fi
15178 if test "$with_gnu_ld" = no; then
15179 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15180 hardcode_libdir_separator_FC=:
15181
15182 case $host_cpu in
15183 hppa*64*|ia64*)
15184 hardcode_direct_FC=no
15185 hardcode_shlibpath_var_FC=no
15186 ;;
15187 *)
15188 hardcode_direct_FC=yes
15189 hardcode_direct_absolute_FC=yes
15190 export_dynamic_flag_spec_FC='${wl}-E'
15191
15192 # hardcode_minus_L: Not really in the search PATH,
15193 # but as the default location of the library.
15194 hardcode_minus_L_FC=yes
15195 ;;
15196 esac
15197 fi
15198 ;;
15199
15200 irix5* | irix6* | nonstopux*)
15201 if test "$GCC" = yes; then
15202 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15203 # Try to use the -exported_symbol ld option, if it does not
15204 # work, assume that -exports_file does not work either and
15205 # implicitly export all symbols.
15206 save_LDFLAGS="$LDFLAGS"
15207 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15208 if test x$gcc_no_link = xyes; then
15209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15210fi
15211cat > conftest.$ac_ext <<_ACEOF
15212int foo(void) {}
15213_ACEOF
15214if ac_fn_fc_try_link "$LINENO"; then :
15215 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
15216
15217fi
15218rm -f core conftest.err conftest.$ac_objext \
15219 conftest$ac_exeext conftest.$ac_ext
15220 LDFLAGS="$save_LDFLAGS"
15221 else
15222 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15223 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
15224 fi
15225 archive_cmds_need_lc_FC='no'
15226 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15227 hardcode_libdir_separator_FC=:
15228 inherit_rpath_FC=yes
15229 link_all_deplibs_FC=yes
15230 ;;
15231
15232 netbsd*)
15233 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15234 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15235 else
15236 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15237 fi
15238 hardcode_libdir_flag_spec_FC='-R$libdir'
15239 hardcode_direct_FC=yes
15240 hardcode_shlibpath_var_FC=no
15241 ;;
15242
15243 newsos6)
15244 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15245 hardcode_direct_FC=yes
15246 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15247 hardcode_libdir_separator_FC=:
15248 hardcode_shlibpath_var_FC=no
15249 ;;
15250
15251 *nto* | *qnx*)
15252 ;;
15253
15254 openbsd*)
15255 if test -f /usr/libexec/ld.so; then
15256 hardcode_direct_FC=yes
15257 hardcode_shlibpath_var_FC=no
15258 hardcode_direct_absolute_FC=yes
15259 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15260 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15261 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15262 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15263 export_dynamic_flag_spec_FC='${wl}-E'
15264 else
15265 case $host_os in
15266 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15267 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15268 hardcode_libdir_flag_spec_FC='-R$libdir'
15269 ;;
15270 *)
15271 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15272 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15273 ;;
15274 esac
15275 fi
15276 else
15277 ld_shlibs_FC=no
15278 fi
15279 ;;
15280
15281 os2*)
15282 hardcode_libdir_flag_spec_FC='-L$libdir'
15283 hardcode_minus_L_FC=yes
15284 allow_undefined_flag_FC=unsupported
15285 archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15286 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15287 ;;
15288
15289 osf3*)
15290 if test "$GCC" = yes; then
15291 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15292 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15293 else
15294 allow_undefined_flag_FC=' -expect_unresolved \*'
15295 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15296 fi
15297 archive_cmds_need_lc_FC='no'
15298 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15299 hardcode_libdir_separator_FC=:
15300 ;;
15301
15302 osf4* | osf5*) # as osf3* with the addition of -msym flag
15303 if test "$GCC" = yes; then
15304 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15305 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15306 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15307 else
15308 allow_undefined_flag_FC=' -expect_unresolved \*'
15309 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15310 archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
15311 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
15312
15313 # Both c and cxx compiler support -rpath directly
15314 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15315 fi
15316 archive_cmds_need_lc_FC='no'
15317 hardcode_libdir_separator_FC=:
15318 ;;
15319
15320 solaris*)
15321 no_undefined_flag_FC=' -z defs'
15322 if test "$GCC" = yes; then
15323 wlarc='${wl}'
15324 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15325 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15326 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15327 else
15328 case `$CC -V 2>&1` in
15329 *"Compilers 5.0"*)
15330 wlarc=''
15331 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15332 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15333 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15334 ;;
15335 *)
15336 wlarc='${wl}'
15337 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15338 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15339 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15340 ;;
15341 esac
15342 fi
15343 hardcode_libdir_flag_spec_FC='-R$libdir'
15344 hardcode_shlibpath_var_FC=no
15345 case $host_os in
15346 solaris2.[0-5] | solaris2.[0-5].*) ;;
15347 *)
15348 # The compiler driver will combine and reorder linker options,
15349 # but understands `-z linker_flag'. GCC discards it without `$wl',
15350 # but is careful enough not to reorder.
15351 # Supported since Solaris 2.6 (maybe 2.5.1?)
15352 if test "$GCC" = yes; then
15353 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15354 else
15355 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15356 fi
15357 ;;
15358 esac
15359 link_all_deplibs_FC=yes
15360 ;;
15361
15362 sunos4*)
15363 if test "x$host_vendor" = xsequent; then
15364 # Use $CC to link under sequent, because it throws in some extra .o
15365 # files that make .init and .fini sections work.
15366 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15367 else
15368 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15369 fi
15370 hardcode_libdir_flag_spec_FC='-L$libdir'
15371 hardcode_direct_FC=yes
15372 hardcode_minus_L_FC=yes
15373 hardcode_shlibpath_var_FC=no
15374 ;;
15375
15376 sysv4)
15377 case $host_vendor in
15378 sni)
15379 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15380 hardcode_direct_FC=yes # is this really true???
15381 ;;
15382 siemens)
15383 ## LD is ld it makes a PLAMLIB
15384 ## CC just makes a GrossModule.
15385 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15386 reload_cmds_FC='$CC -r -o $output$reload_objs'
15387 hardcode_direct_FC=no
15388 ;;
15389 motorola)
15390 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15391 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15392 ;;
15393 esac
15394 runpath_var='LD_RUN_PATH'
15395 hardcode_shlibpath_var_FC=no
15396 ;;
15397
15398 sysv4.3*)
15399 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15400 hardcode_shlibpath_var_FC=no
15401 export_dynamic_flag_spec_FC='-Bexport'
15402 ;;
15403
15404 sysv4*MP*)
15405 if test -d /usr/nec; then
15406 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15407 hardcode_shlibpath_var_FC=no
15408 runpath_var=LD_RUN_PATH
15409 hardcode_runpath_var=yes
15410 ld_shlibs_FC=yes
15411 fi
15412 ;;
15413
15414 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15415 no_undefined_flag_FC='${wl}-z,text'
15416 archive_cmds_need_lc_FC=no
15417 hardcode_shlibpath_var_FC=no
15418 runpath_var='LD_RUN_PATH'
15419
15420 if test "$GCC" = yes; then
15421 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15422 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15423 else
15424 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15425 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15426 fi
15427 ;;
15428
15429 sysv5* | sco3.2v5* | sco5v6*)
15430 # Note: We can NOT use -z defs as we might desire, because we do not
15431 # link with -lc, and that would cause any symbols used from libc to
15432 # always be unresolved, which means just about no library would
15433 # ever link correctly. If we're not using GNU ld we use -z text
15434 # though, which does catch some bad symbols but isn't as heavy-handed
15435 # as -z defs.
15436 no_undefined_flag_FC='${wl}-z,text'
15437 allow_undefined_flag_FC='${wl}-z,nodefs'
15438 archive_cmds_need_lc_FC=no
15439 hardcode_shlibpath_var_FC=no
15440 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15441 hardcode_libdir_separator_FC=':'
15442 link_all_deplibs_FC=yes
15443 export_dynamic_flag_spec_FC='${wl}-Bexport'
15444 runpath_var='LD_RUN_PATH'
15445
15446 if test "$GCC" = yes; then
15447 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15448 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15449 else
15450 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15451 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15452 fi
15453 ;;
15454
15455 uts4*)
15456 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15457 hardcode_libdir_flag_spec_FC='-L$libdir'
15458 hardcode_shlibpath_var_FC=no
15459 ;;
15460
15461 *)
15462 ld_shlibs_FC=no
15463 ;;
15464 esac
15465
15466 if test x$host_vendor = xsni; then
15467 case $host in
15468 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15469 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15470 ;;
15471 esac
15472 fi
15473 fi
15474
15475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15476$as_echo "$ld_shlibs_FC" >&6; }
15477test "$ld_shlibs_FC" = no && can_build_shared=no
15478
15479with_gnu_ld_FC=$with_gnu_ld
15480
15481
15482
15483
15484
15485
15486#
15487# Do we need to explicitly link libc?
15488#
15489case "x$archive_cmds_need_lc_FC" in
15490x|xyes)
15491 # Assume -lc should be added
15492 archive_cmds_need_lc_FC=yes
15493
15494 if test "$enable_shared" = yes && test "$GCC" = yes; then
15495 case $archive_cmds_FC in
15496 *'~'*)
15497 # FIXME: we may have to deal with multi-command sequences.
15498 ;;
15499 '$CC '*)
15500 # Test whether the compiler implicitly links with -lc since on some
15501 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15502 # to ld, don't add -lc before -lgcc.
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15504$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15505if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15506 $as_echo_n "(cached) " >&6
15507else
15508 $RM conftest*
15509 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15510
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; } 2>conftest.err; then
15516 soname=conftest
15517 lib=conftest
15518 libobjs=conftest.$ac_objext
15519 deplibs=
15520 wl=$lt_prog_compiler_wl_FC
15521 pic_flag=$lt_prog_compiler_pic_FC
15522 compiler_flags=-v
15523 linker_flags=-v
15524 verstring=
15525 output_objdir=.
15526 libname=conftest
15527 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15528 allow_undefined_flag_FC=
15529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15530 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15531 ac_status=$?
15532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533 test $ac_status = 0; }
15534 then
15535 lt_cv_archive_cmds_need_lc_FC=no
15536 else
15537 lt_cv_archive_cmds_need_lc_FC=yes
15538 fi
15539 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15540 else
15541 cat conftest.err 1>&5
15542 fi
15543 $RM conftest*
15544
15545fi
15546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15547$as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15548 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15549 ;;
15550 esac
15551 fi
15552 ;;
15553esac
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15619$as_echo_n "checking dynamic linker characteristics... " >&6; }
15620
15621library_names_spec=
15622libname_spec='lib$name'
15623soname_spec=
15624shrext_cmds=".so"
15625postinstall_cmds=
15626postuninstall_cmds=
15627finish_cmds=
15628finish_eval=
15629shlibpath_var=
15630shlibpath_overrides_runpath=unknown
15631version_type=none
15632dynamic_linker="$host_os ld.so"
15633sys_lib_dlsearch_path_spec="/lib /usr/lib"
15634need_lib_prefix=unknown
15635hardcode_into_libs=no
15636
15637# when you set need_version to no, make sure it does not cause -set_version
15638# flags to be left without arguments
15639need_version=unknown
15640
15641case $host_os in
15642aix3*)
15643 version_type=linux
15644 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15645 shlibpath_var=LIBPATH
15646
15647 # AIX 3 has no versioning support, so we append a major version to the name.
15648 soname_spec='${libname}${release}${shared_ext}$major'
15649 ;;
15650
15651aix[4-9]*)
15652 version_type=linux
15653 need_lib_prefix=no
15654 need_version=no
15655 hardcode_into_libs=yes
15656 if test "$host_cpu" = ia64; then
15657 # AIX 5 supports IA64
15658 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15659 shlibpath_var=LD_LIBRARY_PATH
15660 else
15661 # With GCC up to 2.95.x, collect2 would create an import file
15662 # for dependence libraries. The import file would start with
15663 # the line `#! .'. This would cause the generated library to
15664 # depend on `.', always an invalid library. This was fixed in
15665 # development snapshots of GCC prior to 3.0.
15666 case $host_os in
15667 aix4 | aix4.[01] | aix4.[01].*)
15668 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15669 echo ' yes '
15670 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15671 :
15672 else
15673 can_build_shared=no
15674 fi
15675 ;;
15676 esac
15677 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15678 # soname into executable. Probably we can add versioning support to
15679 # collect2, so additional links can be useful in future.
15680 if test "$aix_use_runtimelinking" = yes; then
15681 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15682 # instead of lib<name>.a to let people know that these are not
15683 # typical AIX shared libraries.
15684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15685 else
15686 # We preserve .a as extension for shared libraries through AIX4.2
15687 # and later when we are not doing run time linking.
15688 library_names_spec='${libname}${release}.a $libname.a'
15689 soname_spec='${libname}${release}${shared_ext}$major'
15690 fi
15691 shlibpath_var=LIBPATH
15692 fi
15693 ;;
15694
15695amigaos*)
15696 case $host_cpu in
15697 powerpc)
15698 # Since July 2007 AmigaOS4 officially supports .so libraries.
15699 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15701 ;;
15702 m68k)
15703 library_names_spec='$libname.ixlibrary $libname.a'
15704 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15705 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15706 ;;
15707 esac
15708 ;;
15709
15710beos*)
15711 library_names_spec='${libname}${shared_ext}'
15712 dynamic_linker="$host_os ld.so"
15713 shlibpath_var=LIBRARY_PATH
15714 ;;
15715
15716bsdi[45]*)
15717 version_type=linux
15718 need_version=no
15719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15720 soname_spec='${libname}${release}${shared_ext}$major'
15721 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15722 shlibpath_var=LD_LIBRARY_PATH
15723 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15724 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15725 # the default ld.so.conf also contains /usr/contrib/lib and
15726 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15727 # libtool to hard-code these into programs
15728 ;;
15729
15730cygwin* | mingw* | pw32* | cegcc*)
15731 version_type=windows
15732 shrext_cmds=".dll"
15733 need_version=no
15734 need_lib_prefix=no
15735
15736 case $GCC,$host_os in
15737 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15738 library_names_spec='$libname.dll.a'
15739 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15740 postinstall_cmds='base_file=`basename \${file}`~
15741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15742 dldir=$destdir/`dirname \$dlpath`~
15743 test -d \$dldir || mkdir -p \$dldir~
15744 $install_prog $dir/$dlname \$dldir/$dlname~
15745 chmod a+x \$dldir/$dlname~
15746 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15747 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15748 fi'
15749 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15750 dlpath=$dir/\$dldll~
15751 $RM \$dlpath'
15752 shlibpath_overrides_runpath=yes
15753
15754 case $host_os in
15755 cygwin*)
15756 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15757 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15758
15759 ;;
15760 mingw* | cegcc*)
15761 # MinGW DLLs use traditional 'lib' prefix
15762 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15763 ;;
15764 pw32*)
15765 # pw32 DLLs use 'pw' prefix rather than 'lib'
15766 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15767 ;;
15768 esac
15769 ;;
15770
15771 *)
15772 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15773 ;;
15774 esac
15775 dynamic_linker='Win32 ld.exe'
15776 # FIXME: first we should search . and the directory the executable is in
15777 shlibpath_var=PATH
15778 ;;
15779
15780darwin* | rhapsody*)
15781 dynamic_linker="$host_os dyld"
15782 version_type=darwin
15783 need_lib_prefix=no
15784 need_version=no
15785 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15786 soname_spec='${libname}${release}${major}$shared_ext'
15787 shlibpath_overrides_runpath=yes
15788 shlibpath_var=DYLD_LIBRARY_PATH
15789 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15790
15791 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15792 ;;
15793
15794dgux*)
15795 version_type=linux
15796 need_lib_prefix=no
15797 need_version=no
15798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15799 soname_spec='${libname}${release}${shared_ext}$major'
15800 shlibpath_var=LD_LIBRARY_PATH
15801 ;;
15802
15803freebsd* | dragonfly*)
15804 # DragonFly does not have aout. When/if they implement a new
15805 # versioning mechanism, adjust this.
15806 if test -x /usr/bin/objformat; then
15807 objformat=`/usr/bin/objformat`
15808 else
15809 case $host_os in
15810 freebsd[23].*) objformat=aout ;;
15811 *) objformat=elf ;;
15812 esac
15813 fi
15814 version_type=freebsd-$objformat
15815 case $version_type in
15816 freebsd-elf*)
15817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15818 need_version=no
15819 need_lib_prefix=no
15820 ;;
15821 freebsd-*)
15822 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15823 need_version=yes
15824 ;;
15825 esac
15826 shlibpath_var=LD_LIBRARY_PATH
15827 case $host_os in
15828 freebsd2.*)
15829 shlibpath_overrides_runpath=yes
15830 ;;
15831 freebsd3.[01]* | freebsdelf3.[01]*)
15832 shlibpath_overrides_runpath=yes
15833 hardcode_into_libs=yes
15834 ;;
15835 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15836 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15837 shlibpath_overrides_runpath=no
15838 hardcode_into_libs=yes
15839 ;;
15840 *) # from 4.6 on, and DragonFly
15841 shlibpath_overrides_runpath=yes
15842 hardcode_into_libs=yes
15843 ;;
15844 esac
15845 ;;
15846
15847haiku*)
15848 version_type=linux
15849 need_lib_prefix=no
15850 need_version=no
15851 dynamic_linker="$host_os runtime_loader"
15852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15853 soname_spec='${libname}${release}${shared_ext}$major'
15854 shlibpath_var=LIBRARY_PATH
15855 shlibpath_overrides_runpath=yes
15856 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15857 hardcode_into_libs=yes
15858 ;;
15859
15860hpux9* | hpux10* | hpux11*)
15861 # Give a soname corresponding to the major version so that dld.sl refuses to
15862 # link against other versions.
15863 version_type=sunos
15864 need_lib_prefix=no
15865 need_version=no
15866 case $host_cpu in
15867 ia64*)
15868 shrext_cmds='.so'
15869 hardcode_into_libs=yes
15870 dynamic_linker="$host_os dld.so"
15871 shlibpath_var=LD_LIBRARY_PATH
15872 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15874 soname_spec='${libname}${release}${shared_ext}$major'
15875 if test "X$HPUX_IA64_MODE" = X32; then
15876 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15877 else
15878 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15879 fi
15880 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15881 ;;
15882 hppa*64*)
15883 shrext_cmds='.sl'
15884 hardcode_into_libs=yes
15885 dynamic_linker="$host_os dld.sl"
15886 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15887 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15889 soname_spec='${libname}${release}${shared_ext}$major'
15890 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15891 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15892 ;;
15893 *)
15894 shrext_cmds='.sl'
15895 dynamic_linker="$host_os dld.sl"
15896 shlibpath_var=SHLIB_PATH
15897 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15899 soname_spec='${libname}${release}${shared_ext}$major'
15900 ;;
15901 esac
15902 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15903 postinstall_cmds='chmod 555 $lib'
15904 # or fails outright, so override atomically:
15905 install_override_mode=555
15906 ;;
15907
15908interix[3-9]*)
15909 version_type=linux
15910 need_lib_prefix=no
15911 need_version=no
15912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15913 soname_spec='${libname}${release}${shared_ext}$major'
15914 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15915 shlibpath_var=LD_LIBRARY_PATH
15916 shlibpath_overrides_runpath=no
15917 hardcode_into_libs=yes
15918 ;;
15919
15920irix5* | irix6* | nonstopux*)
15921 case $host_os in
15922 nonstopux*) version_type=nonstopux ;;
15923 *)
15924 if test "$lt_cv_prog_gnu_ld" = yes; then
15925 version_type=linux
15926 else
15927 version_type=irix
15928 fi ;;
15929 esac
15930 need_lib_prefix=no
15931 need_version=no
15932 soname_spec='${libname}${release}${shared_ext}$major'
15933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15934 case $host_os in
15935 irix5* | nonstopux*)
15936 libsuff= shlibsuff=
15937 ;;
15938 *)
15939 case $LD in # libtool.m4 will add one of these switches to LD
15940 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15941 libsuff= shlibsuff= libmagic=32-bit;;
15942 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15943 libsuff=32 shlibsuff=N32 libmagic=N32;;
15944 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15945 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15946 *) libsuff= shlibsuff= libmagic=never-match;;
15947 esac
15948 ;;
15949 esac
15950 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15951 shlibpath_overrides_runpath=no
15952 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15953 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15954 hardcode_into_libs=yes
15955 ;;
15956
15957# No shared lib support for Linux oldld, aout, or coff.
15958linux*oldld* | linux*aout* | linux*coff*)
15959 dynamic_linker=no
15960 ;;
15961
15962# This must be Linux ELF.
15963
15964# uclinux* changes (here and below) have been submitted to the libtool
15965# project, but have not yet been accepted: they are GCC-local changes
15966# for the time being. (See
15967# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15968linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15969 version_type=linux
15970 need_lib_prefix=no
15971 need_version=no
15972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15973 soname_spec='${libname}${release}${shared_ext}$major'
15974 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15975 shlibpath_var=LD_LIBRARY_PATH
15976 shlibpath_overrides_runpath=no
15977
15978 # Some binutils ld are patched to set DT_RUNPATH
15979 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15980 $as_echo_n "(cached) " >&6
15981else
15982 lt_cv_shlibpath_overrides_runpath=no
15983 save_LDFLAGS=$LDFLAGS
15984 save_libdir=$libdir
15985 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15986 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15987 if test x$gcc_no_link = xyes; then
15988 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15989fi
15990cat > conftest.$ac_ext <<_ACEOF
15991 program main
15992
15993 end
15994_ACEOF
15995if ac_fn_fc_try_link "$LINENO"; then :
15996 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15997 lt_cv_shlibpath_overrides_runpath=yes
15998fi
15999fi
16000rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16002 LDFLAGS=$save_LDFLAGS
16003 libdir=$save_libdir
16004
16005fi
16006
16007 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16008
16009 # This implies no fast_install, which is unacceptable.
16010 # Some rework will be needed to allow for fast_install
16011 # before this can be enabled.
16012 hardcode_into_libs=yes
16013
16014 # Append ld.so.conf contents to the search path
16015 if test -f /etc/ld.so.conf; then
16016 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
16017 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16018 fi
16019
16020 # We used to test for /lib/ld.so.1 and disable shared libraries on
16021 # powerpc, because MkLinux only supported shared libraries with the
16022 # GNU dynamic linker. Since this was broken with cross compilers,
16023 # most powerpc-linux boxes support dynamic linking these days and
16024 # people can always --disable-shared, the test was removed, and we
16025 # assume the GNU/Linux dynamic linker is in use.
16026 dynamic_linker='GNU/Linux ld.so'
16027 ;;
16028
16029netbsd*)
16030 version_type=sunos
16031 need_lib_prefix=no
16032 need_version=no
16033 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16035 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16036 dynamic_linker='NetBSD (a.out) ld.so'
16037 else
16038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16039 soname_spec='${libname}${release}${shared_ext}$major'
16040 dynamic_linker='NetBSD ld.elf_so'
16041 fi
16042 shlibpath_var=LD_LIBRARY_PATH
16043 shlibpath_overrides_runpath=yes
16044 hardcode_into_libs=yes
16045 ;;
16046
16047newsos6)
16048 version_type=linux
16049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16050 shlibpath_var=LD_LIBRARY_PATH
16051 shlibpath_overrides_runpath=yes
16052 ;;
16053
16054*nto* | *qnx*)
16055 version_type=qnx
16056 need_lib_prefix=no
16057 need_version=no
16058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16059 soname_spec='${libname}${release}${shared_ext}$major'
16060 shlibpath_var=LD_LIBRARY_PATH
16061 shlibpath_overrides_runpath=no
16062 hardcode_into_libs=yes
16063 dynamic_linker='ldqnx.so'
16064 ;;
16065
16066openbsd*)
16067 version_type=sunos
16068 sys_lib_dlsearch_path_spec="/usr/lib"
16069 need_lib_prefix=no
16070 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16071 case $host_os in
16072 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16073 *) need_version=no ;;
16074 esac
16075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16076 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16077 shlibpath_var=LD_LIBRARY_PATH
16078 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16079 case $host_os in
16080 openbsd2.[89] | openbsd2.[89].*)
16081 shlibpath_overrides_runpath=no
16082 ;;
16083 *)
16084 shlibpath_overrides_runpath=yes
16085 ;;
16086 esac
16087 else
16088 shlibpath_overrides_runpath=yes
16089 fi
16090 ;;
16091
16092os2*)
16093 libname_spec='$name'
16094 shrext_cmds=".dll"
16095 need_lib_prefix=no
16096 library_names_spec='$libname${shared_ext} $libname.a'
16097 dynamic_linker='OS/2 ld.exe'
16098 shlibpath_var=LIBPATH
16099 ;;
16100
16101osf3* | osf4* | osf5*)
16102 version_type=osf
16103 need_lib_prefix=no
16104 need_version=no
16105 soname_spec='${libname}${release}${shared_ext}$major'
16106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16107 shlibpath_var=LD_LIBRARY_PATH
16108 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16109 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16110 ;;
16111
16112rdos*)
16113 dynamic_linker=no
16114 ;;
16115
16116solaris*)
16117 version_type=linux
16118 need_lib_prefix=no
16119 need_version=no
16120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16121 soname_spec='${libname}${release}${shared_ext}$major'
16122 shlibpath_var=LD_LIBRARY_PATH
16123 shlibpath_overrides_runpath=yes
16124 hardcode_into_libs=yes
16125 # ldd complains unless libraries are executable
16126 postinstall_cmds='chmod +x $lib'
16127 ;;
16128
16129sunos4*)
16130 version_type=sunos
16131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16132 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16133 shlibpath_var=LD_LIBRARY_PATH
16134 shlibpath_overrides_runpath=yes
16135 if test "$with_gnu_ld" = yes; then
16136 need_lib_prefix=no
16137 fi
16138 need_version=yes
16139 ;;
16140
16141sysv4 | sysv4.3*)
16142 version_type=linux
16143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16144 soname_spec='${libname}${release}${shared_ext}$major'
16145 shlibpath_var=LD_LIBRARY_PATH
16146 case $host_vendor in
16147 sni)
16148 shlibpath_overrides_runpath=no
16149 need_lib_prefix=no
16150 runpath_var=LD_RUN_PATH
16151 ;;
16152 siemens)
16153 need_lib_prefix=no
16154 ;;
16155 motorola)
16156 need_lib_prefix=no
16157 need_version=no
16158 shlibpath_overrides_runpath=no
16159 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16160 ;;
16161 esac
16162 ;;
16163
16164sysv4*MP*)
16165 if test -d /usr/nec ;then
16166 version_type=linux
16167 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16168 soname_spec='$libname${shared_ext}.$major'
16169 shlibpath_var=LD_LIBRARY_PATH
16170 fi
16171 ;;
16172
16173sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16174 version_type=freebsd-elf
16175 need_lib_prefix=no
16176 need_version=no
16177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16178 soname_spec='${libname}${release}${shared_ext}$major'
16179 shlibpath_var=LD_LIBRARY_PATH
16180 shlibpath_overrides_runpath=yes
16181 hardcode_into_libs=yes
16182 if test "$with_gnu_ld" = yes; then
16183 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16184 else
16185 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16186 case $host_os in
16187 sco3.2v5*)
16188 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16189 ;;
16190 esac
16191 fi
16192 sys_lib_dlsearch_path_spec='/usr/lib'
16193 ;;
16194
16195tpf*)
16196 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16197 version_type=linux
16198 need_lib_prefix=no
16199 need_version=no
16200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16201 shlibpath_var=LD_LIBRARY_PATH
16202 shlibpath_overrides_runpath=no
16203 hardcode_into_libs=yes
16204 ;;
16205
16206uts4*)
16207 version_type=linux
16208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16209 soname_spec='${libname}${release}${shared_ext}$major'
16210 shlibpath_var=LD_LIBRARY_PATH
16211 ;;
16212
16213# Shared libraries for VwWorks, >= 7 only at this stage
16214# and (fpic) still incompatible with "large" code models
16215# in a few configurations. Only for RTP mode in any case,
16216# and upon explicit request at configure time.
16217vxworks7*)
16218 dynamic_linker=no
16219 case ${with_multisubdir}-${enable_shared} in
16220 *large*)
16221 ;;
16222 *mrtp*-yes)
16223 version_type=linux
16224 need_lib_prefix=no
16225 need_version=no
16226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16227 soname_spec='${libname}${release}${shared_ext}$major'
16228 dynamic_linker="$host_os module_loader"
16229 ;;
16230 esac
16231 ;;
16232*)
16233 dynamic_linker=no
16234 ;;
16235esac
16236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16237$as_echo "$dynamic_linker" >&6; }
16238test "$dynamic_linker" = no && can_build_shared=no
16239
16240variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16241if test "$GCC" = yes; then
16242 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16243fi
16244
16245if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16246 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16247fi
16248if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16249 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16250fi
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16290$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16291hardcode_action_FC=
16292if test -n "$hardcode_libdir_flag_spec_FC" ||
16293 test -n "$runpath_var_FC" ||
16294 test "X$hardcode_automatic_FC" = "Xyes" ; then
16295
16296 # We can hardcode non-existent directories.
16297 if test "$hardcode_direct_FC" != no &&
16298 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16299 # have to relink, otherwise we might link with an installed library
16300 # when we should be linking with a yet-to-be-installed one
16301 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16302 test "$hardcode_minus_L_FC" != no; then
16303 # Linking always hardcodes the temporary library directory.
16304 hardcode_action_FC=relink
16305 else
16306 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16307 hardcode_action_FC=immediate
16308 fi
16309else
16310 # We cannot hardcode anything, or else we can only hardcode existing
16311 # directories.
16312 hardcode_action_FC=unsupported
16313fi
16314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16315$as_echo "$hardcode_action_FC" >&6; }
16316
16317if test "$hardcode_action_FC" = relink ||
16318 test "$inherit_rpath_FC" = yes; then
16319 # Fast installation is not supported
16320 enable_fast_install=no
16321elif test "$shlibpath_overrides_runpath" = yes ||
16322 test "$enable_shared" = no; then
16323 # Fast installation is not necessary
16324 enable_fast_install=needless
16325fi
16326
16327
16328
16329
16330
16331
16332
16333 fi # test -n "$compiler"
16334
16335 GCC=$lt_save_GCC
16336 CC="$lt_save_CC"
16337fi # test "$_lt_disable_FC" != yes
16338
16339ac_ext=c
16340ac_cpp='$CPP $CPPFLAGS'
16341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16343ac_compiler_gnu=$ac_cv_c_compiler_gnu
16344
16345
16346
16347# extra LD Flags which are required for targets
16348extra_ldflags_libgfortran=
16349case "${host}" in
16350 *-*-darwin[4567]*)
16351 # Earlier Darwin needs -single_module when linking libgfortran
16352 extra_ldflags_libgfortran=-Wl,-single_module
16353 ;;
16354esac
16355
16356
16357# We need a working compiler at that point, otherwise give a clear
16358# error message and bail out.
16359
16360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16361$as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16362ac_ext=${ac_fc_srcext-f}
16363ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16364ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16365ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16366
16367cat > conftest.$ac_ext <<_ACEOF
16368
16369 program foo
16370 real, parameter :: bar = sin (12.34 / 2.5)
16371 end program foo
16372_ACEOF
16373if ac_fn_fc_try_compile "$LINENO"; then :
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16375$as_echo "yes" >&6; }
16376else
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16378$as_echo "no" >&6; }
16379 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16380
16381fi
16382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383ac_ext=c
16384ac_cpp='$CPP $CPPFLAGS'
16385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16387ac_compiler_gnu=$ac_cv_c_compiler_gnu
16388
16389
16390
16391# Check whether --enable-largefile was given.
16392if test "${enable_largefile+set}" = set; then :
16393 enableval=$enable_largefile;
16394fi
16395
16396if test "$enable_largefile" != no; then
16397
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16399$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16400if ${ac_cv_sys_largefile_CC+:} false; then :
16401 $as_echo_n "(cached) " >&6
16402else
16403 ac_cv_sys_largefile_CC=no
16404 if test "$GCC" != yes; then
16405 ac_save_CC=$CC
16406 while :; do
16407 # IRIX 6.2 and later do not support large files by default,
16408 # so use the C compiler's -n32 option if that helps.
16409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16410/* end confdefs.h. */
16411#include <sys/types.h>
16412 /* Check that off_t can represent 2**63 - 1 correctly.
16413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16414 since some C++ compilers masquerading as C compilers
16415 incorrectly reject 9223372036854775807. */
16416#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16418 && LARGE_OFF_T % 2147483647 == 1)
16419 ? 1 : -1];
16420int
16421main ()
16422{
16423
16424 ;
16425 return 0;
16426}
16427_ACEOF
16428 if ac_fn_c_try_compile "$LINENO"; then :
16429 break
16430fi
16431rm -f core conftest.err conftest.$ac_objext
16432 CC="$CC -n32"
16433 if ac_fn_c_try_compile "$LINENO"; then :
16434 ac_cv_sys_largefile_CC=' -n32'; break
16435fi
16436rm -f core conftest.err conftest.$ac_objext
16437 break
16438 done
16439 CC=$ac_save_CC
16440 rm -f conftest.$ac_ext
16441 fi
16442fi
16443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16444$as_echo "$ac_cv_sys_largefile_CC" >&6; }
16445 if test "$ac_cv_sys_largefile_CC" != no; then
16446 CC=$CC$ac_cv_sys_largefile_CC
16447 fi
16448
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16450$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16451if ${ac_cv_sys_file_offset_bits+:} false; then :
16452 $as_echo_n "(cached) " >&6
16453else
16454 while :; do
16455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16456/* end confdefs.h. */
16457#include <sys/types.h>
16458 /* Check that off_t can represent 2**63 - 1 correctly.
16459 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16460 since some C++ compilers masquerading as C compilers
16461 incorrectly reject 9223372036854775807. */
16462#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16463 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16464 && LARGE_OFF_T % 2147483647 == 1)
16465 ? 1 : -1];
16466int
16467main ()
16468{
16469
16470 ;
16471 return 0;
16472}
16473_ACEOF
16474if ac_fn_c_try_compile "$LINENO"; then :
16475 ac_cv_sys_file_offset_bits=no; break
16476fi
16477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479/* end confdefs.h. */
16480#define _FILE_OFFSET_BITS 64
16481#include <sys/types.h>
16482 /* Check that off_t can represent 2**63 - 1 correctly.
16483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16484 since some C++ compilers masquerading as C compilers
16485 incorrectly reject 9223372036854775807. */
16486#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16488 && LARGE_OFF_T % 2147483647 == 1)
16489 ? 1 : -1];
16490int
16491main ()
16492{
16493
16494 ;
16495 return 0;
16496}
16497_ACEOF
16498if ac_fn_c_try_compile "$LINENO"; then :
16499 ac_cv_sys_file_offset_bits=64; break
16500fi
16501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16502 ac_cv_sys_file_offset_bits=unknown
16503 break
16504done
16505fi
16506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16507$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16508case $ac_cv_sys_file_offset_bits in #(
16509 no | unknown) ;;
16510 *)
16511cat >>confdefs.h <<_ACEOF
16512#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16513_ACEOF
16514;;
16515esac
16516rm -rf conftest*
16517 if test $ac_cv_sys_file_offset_bits = unknown; then
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16519$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16520if ${ac_cv_sys_large_files+:} false; then :
16521 $as_echo_n "(cached) " >&6
16522else
16523 while :; do
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525/* end confdefs.h. */
16526#include <sys/types.h>
16527 /* Check that off_t can represent 2**63 - 1 correctly.
16528 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16529 since some C++ compilers masquerading as C compilers
16530 incorrectly reject 9223372036854775807. */
16531#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16532 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16533 && LARGE_OFF_T % 2147483647 == 1)
16534 ? 1 : -1];
16535int
16536main ()
16537{
16538
16539 ;
16540 return 0;
16541}
16542_ACEOF
16543if ac_fn_c_try_compile "$LINENO"; then :
16544 ac_cv_sys_large_files=no; break
16545fi
16546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548/* end confdefs.h. */
16549#define _LARGE_FILES 1
16550#include <sys/types.h>
16551 /* Check that off_t can represent 2**63 - 1 correctly.
16552 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16553 since some C++ compilers masquerading as C compilers
16554 incorrectly reject 9223372036854775807. */
16555#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16556 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16557 && LARGE_OFF_T % 2147483647 == 1)
16558 ? 1 : -1];
16559int
16560main ()
16561{
16562
16563 ;
16564 return 0;
16565}
16566_ACEOF
16567if ac_fn_c_try_compile "$LINENO"; then :
16568 ac_cv_sys_large_files=1; break
16569fi
16570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16571 ac_cv_sys_large_files=unknown
16572 break
16573done
16574fi
16575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16576$as_echo "$ac_cv_sys_large_files" >&6; }
16577case $ac_cv_sys_large_files in #(
16578 no | unknown) ;;
16579 *)
16580cat >>confdefs.h <<_ACEOF
16581#define _LARGE_FILES $ac_cv_sys_large_files
16582_ACEOF
16583;;
16584esac
16585rm -rf conftest*
16586 fi
16587
16588
16589fi
16590
16591
16592# Types
16593ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16594if test "x$ac_cv_type_off_t" = xyes; then :
16595
16596else
16597
16598cat >>confdefs.h <<_ACEOF
16599#define off_t long int
16600_ACEOF
16601
16602fi
16603
16604
16605 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16606if test "x$ac_cv_type_intptr_t" = xyes; then :
16607
16608$as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16609
16610else
16611 for ac_type in 'int' 'long int' 'long long int'; do
16612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16613/* end confdefs.h. */
16614$ac_includes_default
16615int
16616main ()
16617{
16618static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16619test_array [0] = 0;
16620return test_array [0];
16621
16622 ;
16623 return 0;
16624}
16625_ACEOF
16626if ac_fn_c_try_compile "$LINENO"; then :
16627
16628cat >>confdefs.h <<_ACEOF
16629#define intptr_t $ac_type
16630_ACEOF
16631
16632 ac_type=
16633fi
16634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16635 test -z "$ac_type" && break
16636 done
16637fi
16638
16639
16640
16641 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16642if test "x$ac_cv_type_uintptr_t" = xyes; then :
16643
16644$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16645
16646else
16647 for ac_type in 'unsigned int' 'unsigned long int' \
16648 'unsigned long long int'; do
16649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650/* end confdefs.h. */
16651$ac_includes_default
16652int
16653main ()
16654{
16655static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16656test_array [0] = 0;
16657return test_array [0];
16658
16659 ;
16660 return 0;
16661}
16662_ACEOF
16663if ac_fn_c_try_compile "$LINENO"; then :
16664
16665cat >>confdefs.h <<_ACEOF
16666#define uintptr_t $ac_type
16667_ACEOF
16668
16669 ac_type=
16670fi
16671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672 test -z "$ac_type" && break
16673 done
16674fi
16675
16676
16677ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16678if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16679
16680cat >>confdefs.h <<_ACEOF
16681#define HAVE_PTRDIFF_T 1
16682_ACEOF
16683
16684
16685fi
16686
16687
16688# check header files (we assume C89 is available, so don't check for that)
16689
16690
16691
16692 for ac_header in $ac_header_list
16693do :
16694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16695ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16696"
16697if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16698 cat >>confdefs.h <<_ACEOF
16699#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16700_ACEOF
16701
16702fi
16703
16704done
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16745
16746acx_cv_header_stdint=stddef.h
16747acx_cv_header_stdint_kind="(already complete)"
16748for i in stdint.h $inttype_headers; do
16749 unset ac_cv_type_uintptr_t
16750 unset ac_cv_type_uintmax_t
16751 unset ac_cv_type_int_least32_t
16752 unset ac_cv_type_int_fast32_t
16753 unset ac_cv_type_uint64_t
16754 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16755 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16756#include <$i>
16757"
16758if test "x$ac_cv_type_uintmax_t" = xyes; then :
16759 acx_cv_header_stdint=$i
16760else
16761 continue
16762fi
16763
16764 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16765#include <$i>
16766"
16767if test "x$ac_cv_type_uintptr_t" = xyes; then :
16768
16769else
16770 acx_cv_header_stdint_kind="(mostly complete)"
16771fi
16772
16773 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16774#include <$i>
16775"
16776if test "x$ac_cv_type_int_least32_t" = xyes; then :
16777
16778else
16779 acx_cv_header_stdint_kind="(mostly complete)"
16780fi
16781
16782 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16783#include <$i>
16784"
16785if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16786
16787else
16788 acx_cv_header_stdint_kind="(mostly complete)"
16789fi
16790
16791 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16792#include <$i>
16793"
16794if test "x$ac_cv_type_uint64_t" = xyes; then :
16795
16796else
16797 acx_cv_header_stdint_kind="(lacks uint64_t)"
16798fi
16799
16800 break
16801done
16802if test "$acx_cv_header_stdint" = stddef.h; then
16803 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16804 for i in stdint.h $inttype_headers; do
16805 unset ac_cv_type_uintptr_t
16806 unset ac_cv_type_uint32_t
16807 unset ac_cv_type_uint64_t
16808 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16809 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16810#include <$i>
16811"
16812if test "x$ac_cv_type_uint32_t" = xyes; then :
16813 acx_cv_header_stdint=$i
16814else
16815 continue
16816fi
16817
16818 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16819#include <$i>
16820"
16821if test "x$ac_cv_type_uint64_t" = xyes; then :
16822
16823fi
16824
16825 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16826#include <$i>
16827"
16828if test "x$ac_cv_type_uintptr_t" = xyes; then :
16829
16830fi
16831
16832 break
16833 done
16834fi
16835if test "$acx_cv_header_stdint" = stddef.h; then
16836 acx_cv_header_stdint_kind="(u_intXX_t style)"
16837 for i in sys/types.h $inttype_headers; do
16838 unset ac_cv_type_u_int32_t
16839 unset ac_cv_type_u_int64_t
16840 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16841 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16842#include <$i>
16843"
16844if test "x$ac_cv_type_u_int32_t" = xyes; then :
16845 acx_cv_header_stdint=$i
16846else
16847 continue
16848fi
16849
16850 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16851#include <$i>
16852"
16853if test "x$ac_cv_type_u_int64_t" = xyes; then :
16854
16855fi
16856
16857 break
16858 done
16859fi
16860if test "$acx_cv_header_stdint" = stddef.h; then
16861 acx_cv_header_stdint_kind="(using manual detection)"
16862fi
16863
16864test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16865test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16866test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16867test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16868test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16869
16870# ----------------- Summarize what we found so far
16871
16872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16873$as_echo_n "checking what to include in gstdint.h... " >&6; }
16874
16875case `$as_basename -- gstdint.h ||
16876$as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16877 Xgstdint.h : 'X\(//\)$' \| \
16878 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16879$as_echo X/gstdint.h |
16880 sed '/^.*\/\([^/][^/]*\)\/*$/{
16881 s//\1/
16882 q
16883 }
16884 /^X\/\(\/\/\)$/{
16885 s//\1/
16886 q
16887 }
16888 /^X\/\(\/\).*/{
16889 s//\1/
16890 q
16891 }
16892 s/.*/./; q'` in
16893 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16894$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16895 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16896$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16897 *) ;;
16898esac
16899
16900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16901$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16902
16903# ----------------- done included file, check C basic types --------
16904
16905# Lacking an uintptr_t? Test size of void *
16906case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16907 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16908# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16909# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16910# This bug is HP SR number 8606223364.
16911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16912$as_echo_n "checking size of void *... " >&6; }
16913if ${ac_cv_sizeof_void_p+:} false; then :
16914 $as_echo_n "(cached) " >&6
16915else
16916 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16917
16918else
16919 if test "$ac_cv_type_void_p" = yes; then
16920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16921$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16922as_fn_error 77 "cannot compute sizeof (void *)
16923See \`config.log' for more details" "$LINENO" 5; }
16924 else
16925 ac_cv_sizeof_void_p=0
16926 fi
16927fi
16928
16929fi
16930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16931$as_echo "$ac_cv_sizeof_void_p" >&6; }
16932
16933
16934
16935cat >>confdefs.h <<_ACEOF
16936#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16937_ACEOF
16938
16939 ;;
16940esac
16941
16942# Lacking an uint64_t? Test size of long
16943case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16944 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16945# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16946# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16947# This bug is HP SR number 8606223364.
16948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16949$as_echo_n "checking size of long... " >&6; }
16950if ${ac_cv_sizeof_long+:} false; then :
16951 $as_echo_n "(cached) " >&6
16952else
16953 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16954
16955else
16956 if test "$ac_cv_type_long" = yes; then
16957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16958$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16959as_fn_error 77 "cannot compute sizeof (long)
16960See \`config.log' for more details" "$LINENO" 5; }
16961 else
16962 ac_cv_sizeof_long=0
16963 fi
16964fi
16965
16966fi
16967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16968$as_echo "$ac_cv_sizeof_long" >&6; }
16969
16970
16971
16972cat >>confdefs.h <<_ACEOF
16973#define SIZEOF_LONG $ac_cv_sizeof_long
16974_ACEOF
16975
16976 ;;
16977esac
16978
16979if test $acx_cv_header_stdint = stddef.h; then
16980 # Lacking a good header? Test size of everything and deduce all types.
16981 # The cast to long int works around a bug in the HP C Compiler
16982# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16983# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16984# This bug is HP SR number 8606223364.
16985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16986$as_echo_n "checking size of int... " >&6; }
16987if ${ac_cv_sizeof_int+:} false; then :
16988 $as_echo_n "(cached) " >&6
16989else
16990 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16991
16992else
16993 if test "$ac_cv_type_int" = yes; then
16994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16995$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16996as_fn_error 77 "cannot compute sizeof (int)
16997See \`config.log' for more details" "$LINENO" 5; }
16998 else
16999 ac_cv_sizeof_int=0
17000 fi
17001fi
17002
17003fi
17004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
17005$as_echo "$ac_cv_sizeof_int" >&6; }
17006
17007
17008
17009cat >>confdefs.h <<_ACEOF
17010#define SIZEOF_INT $ac_cv_sizeof_int
17011_ACEOF
17012
17013
17014 # The cast to long int works around a bug in the HP C Compiler
17015# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17016# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17017# This bug is HP SR number 8606223364.
17018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
17019$as_echo_n "checking size of short... " >&6; }
17020if ${ac_cv_sizeof_short+:} false; then :
17021 $as_echo_n "(cached) " >&6
17022else
17023 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
17024
17025else
17026 if test "$ac_cv_type_short" = yes; then
17027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17028$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17029as_fn_error 77 "cannot compute sizeof (short)
17030See \`config.log' for more details" "$LINENO" 5; }
17031 else
17032 ac_cv_sizeof_short=0
17033 fi
17034fi
17035
17036fi
17037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
17038$as_echo "$ac_cv_sizeof_short" >&6; }
17039
17040
17041
17042cat >>confdefs.h <<_ACEOF
17043#define SIZEOF_SHORT $ac_cv_sizeof_short
17044_ACEOF
17045
17046
17047 # The cast to long int works around a bug in the HP C Compiler
17048# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17049# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17050# This bug is HP SR number 8606223364.
17051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
17052$as_echo_n "checking size of char... " >&6; }
17053if ${ac_cv_sizeof_char+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055else
17056 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
17057
17058else
17059 if test "$ac_cv_type_char" = yes; then
17060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17061$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17062as_fn_error 77 "cannot compute sizeof (char)
17063See \`config.log' for more details" "$LINENO" 5; }
17064 else
17065 ac_cv_sizeof_char=0
17066 fi
17067fi
17068
17069fi
17070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
17071$as_echo "$ac_cv_sizeof_char" >&6; }
17072
17073
17074
17075cat >>confdefs.h <<_ACEOF
17076#define SIZEOF_CHAR $ac_cv_sizeof_char
17077_ACEOF
17078
17079
17080
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
17082$as_echo_n "checking for type equivalent to int8_t... " >&6; }
17083 case "$ac_cv_sizeof_char" in
17084 1) acx_cv_type_int8_t=char ;;
17085 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
17086 esac
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
17088$as_echo "$acx_cv_type_int8_t" >&6; }
17089
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
17091$as_echo_n "checking for type equivalent to int16_t... " >&6; }
17092 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17093 2:*) acx_cv_type_int16_t=int ;;
17094 *:2) acx_cv_type_int16_t=short ;;
17095 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
17096 esac
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
17098$as_echo "$acx_cv_type_int16_t" >&6; }
17099
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
17101$as_echo_n "checking for type equivalent to int32_t... " >&6; }
17102 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17103 4:*) acx_cv_type_int32_t=int ;;
17104 *:4) acx_cv_type_int32_t=long ;;
17105 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
17106 esac
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
17108$as_echo "$acx_cv_type_int32_t" >&6; }
17109fi
17110
17111# These tests are here to make the output prettier
17112
17113if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17114 case "$ac_cv_sizeof_long" in
17115 8) acx_cv_type_int64_t=long ;;
17116 esac
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
17118$as_echo_n "checking for type equivalent to int64_t... " >&6; }
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17120$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17121fi
17122
17123# Now we can use the above types
17124
17125if test "$ac_cv_type_uintptr_t" != yes; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17127$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17128 case $ac_cv_sizeof_void_p in
17129 2) acx_cv_type_intptr_t=int16_t ;;
17130 4) acx_cv_type_intptr_t=int32_t ;;
17131 8) acx_cv_type_intptr_t=int64_t ;;
17132 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
17133 esac
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17135$as_echo "$acx_cv_type_intptr_t" >&6; }
17136fi
17137
17138# ----------------- done all checks, emit header -------------
17139ac_config_commands="$ac_config_commands gstdint.h"
17140
17141
17142
17143
17144ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17145if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
17146
17147cat >>confdefs.h <<_ACEOF
17148#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17149_ACEOF
17150
17151
17152fi
17153ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17154if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17155
17156cat >>confdefs.h <<_ACEOF
17157#define HAVE_STRUCT_STAT_ST_BLOCKS 1
17158_ACEOF
17159
17160
17161fi
17162ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17163if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17164
17165cat >>confdefs.h <<_ACEOF
17166#define HAVE_STRUCT_STAT_ST_RDEV 1
17167_ACEOF
17168
17169
17170fi
17171
17172
17173case "${host}--x${with_newlib}" in
17174 mips*--xyes)
17175 hardwire_newlib=1;;
17176 nvptx*--xyes)
17177 hardwire_newlib=1;;
17178esac
17179
17180# Check for library functions.
17181if test "${hardwire_newlib:-0}" -eq 1; then
17182 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17183 # may not work correctly, because the compiler may not be able to
17184 # link executables.
17185
17186$as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17187
17188
17189$as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17190
17191
17192$as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17193
17194
17195$as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17196
17197
17198$as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17199
17200
17201$as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17202
17203
17204$as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17205
17206
17207$as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17208
17209
17210 # At some point, we should differentiate between architectures
17211 # like x86, which have long double versions, and alpha/powerpc/etc.,
17212 # which don't. For the time being, punt.
17213 if test x"long_double_math_on_this_cpu" = x"yes"; then
17214
17215$as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17216
17217 fi
17218else
17219
17220
17221
17222 for ac_func in $ac_func_list
17223do :
17224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17225ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17226if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17227 cat >>confdefs.h <<_ACEOF
17228#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17229_ACEOF
17230
17231fi
17232done
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347fi
17348
17349# Check strerror_r, cannot be above as versions with two and three arguments exist
17350
17351 ac_save_CFLAGS="$CFLAGS"
17352 CFLAGS="-Wimplicit-function-declaration -Werror"
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354/* end confdefs.h. */
17355#define _GNU_SOURCE 1
17356 #include <string.h>
17357 #include <locale.h>
17358int
17359main ()
17360{
17361char s[128]; strerror_r(5, s, 128);
17362 ;
17363 return 0;
17364}
17365_ACEOF
17366if ac_fn_c_try_compile "$LINENO"; then :
17367
17368$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17369
17370fi
17371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372 CFLAGS="$ac_save_CFLAGS"
17373
17374 ac_save_CFLAGS="$CFLAGS"
17375 CFLAGS="-Wimplicit-function-declaration -Werror"
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377/* end confdefs.h. */
17378#define _GNU_SOURCE 1
17379 #include <string.h>
17380 #include <locale.h>
17381int
17382main ()
17383{
17384char s[128]; strerror_r(5, s);
17385 ;
17386 return 0;
17387}
17388_ACEOF
17389if ac_fn_c_try_compile "$LINENO"; then :
17390
17391$as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17392
17393fi
17394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395 CFLAGS="$ac_save_CFLAGS"
17396
17397
17398# Check for C99 (and other IEEE) math functions
17399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17400$as_echo_n "checking for sin in -lm... " >&6; }
17401if ${ac_cv_lib_m_sin+:} false; then :
17402 $as_echo_n "(cached) " >&6
17403else
17404 ac_check_lib_save_LIBS=$LIBS
17405LIBS="-lm $LIBS"
17406if test x$gcc_no_link = xyes; then
17407 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17408fi
17409cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410/* end confdefs.h. */
17411
17412/* Override any GCC internal prototype to avoid an error.
17413 Use char because int might match the return type of a GCC
17414 builtin and then its argument prototype would still apply. */
17415#ifdef __cplusplus
17416extern "C"
17417#endif
17418char sin ();
17419int
17420main ()
17421{
17422return sin ();
17423 ;
17424 return 0;
17425}
17426_ACEOF
17427if ac_fn_c_try_link "$LINENO"; then :
17428 ac_cv_lib_m_sin=yes
17429else
17430 ac_cv_lib_m_sin=no
17431fi
17432rm -f core conftest.err conftest.$ac_objext \
17433 conftest$ac_exeext conftest.$ac_ext
17434LIBS=$ac_check_lib_save_LIBS
17435fi
17436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17437$as_echo "$ac_cv_lib_m_sin" >&6; }
17438if test "x$ac_cv_lib_m_sin" = xyes; then :
17439 cat >>confdefs.h <<_ACEOF
17440#define HAVE_LIBM 1
17441_ACEOF
17442
17443 LIBS="-lm $LIBS"
17444
17445fi
17446
17447
17448
17449
17450
17451
17452
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17454$as_echo_n "checking for acosf... " >&6; }
17455if ${gcc_cv_math_func_acosf+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457else
17458 if test x$gcc_no_link = xyes; then
17459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17460fi
17461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462/* end confdefs.h. */
17463
17464#ifdef HAVE_COMPLEX_H
17465#include <complex.h>
17466#endif
17467#ifdef HAVE_MATH_H
17468#include <math.h>
17469#endif
17470
17471int (*ptr)() = (int (*)())acosf;
17472
17473int
17474main ()
17475{
17476 return 0;
17477}
17478
17479_ACEOF
17480if ac_fn_c_try_link "$LINENO"; then :
17481 gcc_cv_math_func_acosf=yes
17482else
17483 gcc_cv_math_func_acosf=no
17484fi
17485rm -f core conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17487fi
17488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17489$as_echo "$gcc_cv_math_func_acosf" >&6; }
17490 if test $gcc_cv_math_func_acosf = yes; then
17491
17492cat >>confdefs.h <<_ACEOF
17493#define HAVE_ACOSF 1
17494_ACEOF
17495
17496 fi
17497
17498
17499
17500
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17502$as_echo_n "checking for acos... " >&6; }
17503if ${gcc_cv_math_func_acos+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505else
17506 if test x$gcc_no_link = xyes; then
17507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17508fi
17509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510/* end confdefs.h. */
17511
17512#ifdef HAVE_COMPLEX_H
17513#include <complex.h>
17514#endif
17515#ifdef HAVE_MATH_H
17516#include <math.h>
17517#endif
17518
17519int (*ptr)() = (int (*)())acos;
17520
17521int
17522main ()
17523{
17524 return 0;
17525}
17526
17527_ACEOF
17528if ac_fn_c_try_link "$LINENO"; then :
17529 gcc_cv_math_func_acos=yes
17530else
17531 gcc_cv_math_func_acos=no
17532fi
17533rm -f core conftest.err conftest.$ac_objext \
17534 conftest$ac_exeext conftest.$ac_ext
17535fi
17536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17537$as_echo "$gcc_cv_math_func_acos" >&6; }
17538 if test $gcc_cv_math_func_acos = yes; then
17539
17540cat >>confdefs.h <<_ACEOF
17541#define HAVE_ACOS 1
17542_ACEOF
17543
17544 fi
17545
17546
17547
17548
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17550$as_echo_n "checking for acosl... " >&6; }
17551if ${gcc_cv_math_func_acosl+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553else
17554 if test x$gcc_no_link = xyes; then
17555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17556fi
17557cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558/* end confdefs.h. */
17559
17560#ifdef HAVE_COMPLEX_H
17561#include <complex.h>
17562#endif
17563#ifdef HAVE_MATH_H
17564#include <math.h>
17565#endif
17566
17567int (*ptr)() = (int (*)())acosl;
17568
17569int
17570main ()
17571{
17572 return 0;
17573}
17574
17575_ACEOF
17576if ac_fn_c_try_link "$LINENO"; then :
17577 gcc_cv_math_func_acosl=yes
17578else
17579 gcc_cv_math_func_acosl=no
17580fi
17581rm -f core conftest.err conftest.$ac_objext \
17582 conftest$ac_exeext conftest.$ac_ext
17583fi
17584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17585$as_echo "$gcc_cv_math_func_acosl" >&6; }
17586 if test $gcc_cv_math_func_acosl = yes; then
17587
17588cat >>confdefs.h <<_ACEOF
17589#define HAVE_ACOSL 1
17590_ACEOF
17591
17592 fi
17593
17594
17595
17596
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17598$as_echo_n "checking for acoshf... " >&6; }
17599if ${gcc_cv_math_func_acoshf+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601else
17602 if test x$gcc_no_link = xyes; then
17603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17604fi
17605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606/* end confdefs.h. */
17607
17608#ifdef HAVE_COMPLEX_H
17609#include <complex.h>
17610#endif
17611#ifdef HAVE_MATH_H
17612#include <math.h>
17613#endif
17614
17615int (*ptr)() = (int (*)())acoshf;
17616
17617int
17618main ()
17619{
17620 return 0;
17621}
17622
17623_ACEOF
17624if ac_fn_c_try_link "$LINENO"; then :
17625 gcc_cv_math_func_acoshf=yes
17626else
17627 gcc_cv_math_func_acoshf=no
17628fi
17629rm -f core conftest.err conftest.$ac_objext \
17630 conftest$ac_exeext conftest.$ac_ext
17631fi
17632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17633$as_echo "$gcc_cv_math_func_acoshf" >&6; }
17634 if test $gcc_cv_math_func_acoshf = yes; then
17635
17636cat >>confdefs.h <<_ACEOF
17637#define HAVE_ACOSHF 1
17638_ACEOF
17639
17640 fi
17641
17642
17643
17644
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17646$as_echo_n "checking for acosh... " >&6; }
17647if ${gcc_cv_math_func_acosh+:} false; then :
17648 $as_echo_n "(cached) " >&6
17649else
17650 if test x$gcc_no_link = xyes; then
17651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17652fi
17653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654/* end confdefs.h. */
17655
17656#ifdef HAVE_COMPLEX_H
17657#include <complex.h>
17658#endif
17659#ifdef HAVE_MATH_H
17660#include <math.h>
17661#endif
17662
17663int (*ptr)() = (int (*)())acosh;
17664
17665int
17666main ()
17667{
17668 return 0;
17669}
17670
17671_ACEOF
17672if ac_fn_c_try_link "$LINENO"; then :
17673 gcc_cv_math_func_acosh=yes
17674else
17675 gcc_cv_math_func_acosh=no
17676fi
17677rm -f core conftest.err conftest.$ac_objext \
17678 conftest$ac_exeext conftest.$ac_ext
17679fi
17680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17681$as_echo "$gcc_cv_math_func_acosh" >&6; }
17682 if test $gcc_cv_math_func_acosh = yes; then
17683
17684cat >>confdefs.h <<_ACEOF
17685#define HAVE_ACOSH 1
17686_ACEOF
17687
17688 fi
17689
17690
17691
17692
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17694$as_echo_n "checking for acoshl... " >&6; }
17695if ${gcc_cv_math_func_acoshl+:} false; then :
17696 $as_echo_n "(cached) " >&6
17697else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17700fi
17701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702/* end confdefs.h. */
17703
17704#ifdef HAVE_COMPLEX_H
17705#include <complex.h>
17706#endif
17707#ifdef HAVE_MATH_H
17708#include <math.h>
17709#endif
17710
17711int (*ptr)() = (int (*)())acoshl;
17712
17713int
17714main ()
17715{
17716 return 0;
17717}
17718
17719_ACEOF
17720if ac_fn_c_try_link "$LINENO"; then :
17721 gcc_cv_math_func_acoshl=yes
17722else
17723 gcc_cv_math_func_acoshl=no
17724fi
17725rm -f core conftest.err conftest.$ac_objext \
17726 conftest$ac_exeext conftest.$ac_ext
17727fi
17728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17729$as_echo "$gcc_cv_math_func_acoshl" >&6; }
17730 if test $gcc_cv_math_func_acoshl = yes; then
17731
17732cat >>confdefs.h <<_ACEOF
17733#define HAVE_ACOSHL 1
17734_ACEOF
17735
17736 fi
17737
17738
17739
17740
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17742$as_echo_n "checking for asinf... " >&6; }
17743if ${gcc_cv_math_func_asinf+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745else
17746 if test x$gcc_no_link = xyes; then
17747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17748fi
17749cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750/* end confdefs.h. */
17751
17752#ifdef HAVE_COMPLEX_H
17753#include <complex.h>
17754#endif
17755#ifdef HAVE_MATH_H
17756#include <math.h>
17757#endif
17758
17759int (*ptr)() = (int (*)())asinf;
17760
17761int
17762main ()
17763{
17764 return 0;
17765}
17766
17767_ACEOF
17768if ac_fn_c_try_link "$LINENO"; then :
17769 gcc_cv_math_func_asinf=yes
17770else
17771 gcc_cv_math_func_asinf=no
17772fi
17773rm -f core conftest.err conftest.$ac_objext \
17774 conftest$ac_exeext conftest.$ac_ext
17775fi
17776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17777$as_echo "$gcc_cv_math_func_asinf" >&6; }
17778 if test $gcc_cv_math_func_asinf = yes; then
17779
17780cat >>confdefs.h <<_ACEOF
17781#define HAVE_ASINF 1
17782_ACEOF
17783
17784 fi
17785
17786
17787
17788
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17790$as_echo_n "checking for asin... " >&6; }
17791if ${gcc_cv_math_func_asin+:} false; then :
17792 $as_echo_n "(cached) " >&6
17793else
17794 if test x$gcc_no_link = xyes; then
17795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17796fi
17797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798/* end confdefs.h. */
17799
17800#ifdef HAVE_COMPLEX_H
17801#include <complex.h>
17802#endif
17803#ifdef HAVE_MATH_H
17804#include <math.h>
17805#endif
17806
17807int (*ptr)() = (int (*)())asin;
17808
17809int
17810main ()
17811{
17812 return 0;
17813}
17814
17815_ACEOF
17816if ac_fn_c_try_link "$LINENO"; then :
17817 gcc_cv_math_func_asin=yes
17818else
17819 gcc_cv_math_func_asin=no
17820fi
17821rm -f core conftest.err conftest.$ac_objext \
17822 conftest$ac_exeext conftest.$ac_ext
17823fi
17824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17825$as_echo "$gcc_cv_math_func_asin" >&6; }
17826 if test $gcc_cv_math_func_asin = yes; then
17827
17828cat >>confdefs.h <<_ACEOF
17829#define HAVE_ASIN 1
17830_ACEOF
17831
17832 fi
17833
17834
17835
17836
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17838$as_echo_n "checking for asinl... " >&6; }
17839if ${gcc_cv_math_func_asinl+:} false; then :
17840 $as_echo_n "(cached) " >&6
17841else
17842 if test x$gcc_no_link = xyes; then
17843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17844fi
17845cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846/* end confdefs.h. */
17847
17848#ifdef HAVE_COMPLEX_H
17849#include <complex.h>
17850#endif
17851#ifdef HAVE_MATH_H
17852#include <math.h>
17853#endif
17854
17855int (*ptr)() = (int (*)())asinl;
17856
17857int
17858main ()
17859{
17860 return 0;
17861}
17862
17863_ACEOF
17864if ac_fn_c_try_link "$LINENO"; then :
17865 gcc_cv_math_func_asinl=yes
17866else
17867 gcc_cv_math_func_asinl=no
17868fi
17869rm -f core conftest.err conftest.$ac_objext \
17870 conftest$ac_exeext conftest.$ac_ext
17871fi
17872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17873$as_echo "$gcc_cv_math_func_asinl" >&6; }
17874 if test $gcc_cv_math_func_asinl = yes; then
17875
17876cat >>confdefs.h <<_ACEOF
17877#define HAVE_ASINL 1
17878_ACEOF
17879
17880 fi
17881
17882
17883
17884
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17886$as_echo_n "checking for asinhf... " >&6; }
17887if ${gcc_cv_math_func_asinhf+:} false; then :
17888 $as_echo_n "(cached) " >&6
17889else
17890 if test x$gcc_no_link = xyes; then
17891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17892fi
17893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894/* end confdefs.h. */
17895
17896#ifdef HAVE_COMPLEX_H
17897#include <complex.h>
17898#endif
17899#ifdef HAVE_MATH_H
17900#include <math.h>
17901#endif
17902
17903int (*ptr)() = (int (*)())asinhf;
17904
17905int
17906main ()
17907{
17908 return 0;
17909}
17910
17911_ACEOF
17912if ac_fn_c_try_link "$LINENO"; then :
17913 gcc_cv_math_func_asinhf=yes
17914else
17915 gcc_cv_math_func_asinhf=no
17916fi
17917rm -f core conftest.err conftest.$ac_objext \
17918 conftest$ac_exeext conftest.$ac_ext
17919fi
17920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17921$as_echo "$gcc_cv_math_func_asinhf" >&6; }
17922 if test $gcc_cv_math_func_asinhf = yes; then
17923
17924cat >>confdefs.h <<_ACEOF
17925#define HAVE_ASINHF 1
17926_ACEOF
17927
17928 fi
17929
17930
17931
17932
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17934$as_echo_n "checking for asinh... " >&6; }
17935if ${gcc_cv_math_func_asinh+:} false; then :
17936 $as_echo_n "(cached) " >&6
17937else
17938 if test x$gcc_no_link = xyes; then
17939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17940fi
17941cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17942/* end confdefs.h. */
17943
17944#ifdef HAVE_COMPLEX_H
17945#include <complex.h>
17946#endif
17947#ifdef HAVE_MATH_H
17948#include <math.h>
17949#endif
17950
17951int (*ptr)() = (int (*)())asinh;
17952
17953int
17954main ()
17955{
17956 return 0;
17957}
17958
17959_ACEOF
17960if ac_fn_c_try_link "$LINENO"; then :
17961 gcc_cv_math_func_asinh=yes
17962else
17963 gcc_cv_math_func_asinh=no
17964fi
17965rm -f core conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17967fi
17968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17969$as_echo "$gcc_cv_math_func_asinh" >&6; }
17970 if test $gcc_cv_math_func_asinh = yes; then
17971
17972cat >>confdefs.h <<_ACEOF
17973#define HAVE_ASINH 1
17974_ACEOF
17975
17976 fi
17977
17978
17979
17980
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17982$as_echo_n "checking for asinhl... " >&6; }
17983if ${gcc_cv_math_func_asinhl+:} false; then :
17984 $as_echo_n "(cached) " >&6
17985else
17986 if test x$gcc_no_link = xyes; then
17987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17988fi
17989cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990/* end confdefs.h. */
17991
17992#ifdef HAVE_COMPLEX_H
17993#include <complex.h>
17994#endif
17995#ifdef HAVE_MATH_H
17996#include <math.h>
17997#endif
17998
17999int (*ptr)() = (int (*)())asinhl;
18000
18001int
18002main ()
18003{
18004 return 0;
18005}
18006
18007_ACEOF
18008if ac_fn_c_try_link "$LINENO"; then :
18009 gcc_cv_math_func_asinhl=yes
18010else
18011 gcc_cv_math_func_asinhl=no
18012fi
18013rm -f core conftest.err conftest.$ac_objext \
18014 conftest$ac_exeext conftest.$ac_ext
18015fi
18016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
18017$as_echo "$gcc_cv_math_func_asinhl" >&6; }
18018 if test $gcc_cv_math_func_asinhl = yes; then
18019
18020cat >>confdefs.h <<_ACEOF
18021#define HAVE_ASINHL 1
18022_ACEOF
18023
18024 fi
18025
18026
18027
18028
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
18030$as_echo_n "checking for atan2f... " >&6; }
18031if ${gcc_cv_math_func_atan2f+:} false; then :
18032 $as_echo_n "(cached) " >&6
18033else
18034 if test x$gcc_no_link = xyes; then
18035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18036fi
18037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038/* end confdefs.h. */
18039
18040#ifdef HAVE_COMPLEX_H
18041#include <complex.h>
18042#endif
18043#ifdef HAVE_MATH_H
18044#include <math.h>
18045#endif
18046
18047int (*ptr)() = (int (*)())atan2f;
18048
18049int
18050main ()
18051{
18052 return 0;
18053}
18054
18055_ACEOF
18056if ac_fn_c_try_link "$LINENO"; then :
18057 gcc_cv_math_func_atan2f=yes
18058else
18059 gcc_cv_math_func_atan2f=no
18060fi
18061rm -f core conftest.err conftest.$ac_objext \
18062 conftest$ac_exeext conftest.$ac_ext
18063fi
18064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
18065$as_echo "$gcc_cv_math_func_atan2f" >&6; }
18066 if test $gcc_cv_math_func_atan2f = yes; then
18067
18068cat >>confdefs.h <<_ACEOF
18069#define HAVE_ATAN2F 1
18070_ACEOF
18071
18072 fi
18073
18074
18075
18076
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
18078$as_echo_n "checking for atan2... " >&6; }
18079if ${gcc_cv_math_func_atan2+:} false; then :
18080 $as_echo_n "(cached) " >&6
18081else
18082 if test x$gcc_no_link = xyes; then
18083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18084fi
18085cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18086/* end confdefs.h. */
18087
18088#ifdef HAVE_COMPLEX_H
18089#include <complex.h>
18090#endif
18091#ifdef HAVE_MATH_H
18092#include <math.h>
18093#endif
18094
18095int (*ptr)() = (int (*)())atan2;
18096
18097int
18098main ()
18099{
18100 return 0;
18101}
18102
18103_ACEOF
18104if ac_fn_c_try_link "$LINENO"; then :
18105 gcc_cv_math_func_atan2=yes
18106else
18107 gcc_cv_math_func_atan2=no
18108fi
18109rm -f core conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext conftest.$ac_ext
18111fi
18112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
18113$as_echo "$gcc_cv_math_func_atan2" >&6; }
18114 if test $gcc_cv_math_func_atan2 = yes; then
18115
18116cat >>confdefs.h <<_ACEOF
18117#define HAVE_ATAN2 1
18118_ACEOF
18119
18120 fi
18121
18122
18123
18124
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18126$as_echo_n "checking for atan2l... " >&6; }
18127if ${gcc_cv_math_func_atan2l+:} false; then :
18128 $as_echo_n "(cached) " >&6
18129else
18130 if test x$gcc_no_link = xyes; then
18131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18132fi
18133cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134/* end confdefs.h. */
18135
18136#ifdef HAVE_COMPLEX_H
18137#include <complex.h>
18138#endif
18139#ifdef HAVE_MATH_H
18140#include <math.h>
18141#endif
18142
18143int (*ptr)() = (int (*)())atan2l;
18144
18145int
18146main ()
18147{
18148 return 0;
18149}
18150
18151_ACEOF
18152if ac_fn_c_try_link "$LINENO"; then :
18153 gcc_cv_math_func_atan2l=yes
18154else
18155 gcc_cv_math_func_atan2l=no
18156fi
18157rm -f core conftest.err conftest.$ac_objext \
18158 conftest$ac_exeext conftest.$ac_ext
18159fi
18160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18161$as_echo "$gcc_cv_math_func_atan2l" >&6; }
18162 if test $gcc_cv_math_func_atan2l = yes; then
18163
18164cat >>confdefs.h <<_ACEOF
18165#define HAVE_ATAN2L 1
18166_ACEOF
18167
18168 fi
18169
18170
18171
18172
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18174$as_echo_n "checking for atanf... " >&6; }
18175if ${gcc_cv_math_func_atanf+:} false; then :
18176 $as_echo_n "(cached) " >&6
18177else
18178 if test x$gcc_no_link = xyes; then
18179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18180fi
18181cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18182/* end confdefs.h. */
18183
18184#ifdef HAVE_COMPLEX_H
18185#include <complex.h>
18186#endif
18187#ifdef HAVE_MATH_H
18188#include <math.h>
18189#endif
18190
18191int (*ptr)() = (int (*)())atanf;
18192
18193int
18194main ()
18195{
18196 return 0;
18197}
18198
18199_ACEOF
18200if ac_fn_c_try_link "$LINENO"; then :
18201 gcc_cv_math_func_atanf=yes
18202else
18203 gcc_cv_math_func_atanf=no
18204fi
18205rm -f core conftest.err conftest.$ac_objext \
18206 conftest$ac_exeext conftest.$ac_ext
18207fi
18208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18209$as_echo "$gcc_cv_math_func_atanf" >&6; }
18210 if test $gcc_cv_math_func_atanf = yes; then
18211
18212cat >>confdefs.h <<_ACEOF
18213#define HAVE_ATANF 1
18214_ACEOF
18215
18216 fi
18217
18218
18219
18220
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18222$as_echo_n "checking for atan... " >&6; }
18223if ${gcc_cv_math_func_atan+:} false; then :
18224 $as_echo_n "(cached) " >&6
18225else
18226 if test x$gcc_no_link = xyes; then
18227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18228fi
18229cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18230/* end confdefs.h. */
18231
18232#ifdef HAVE_COMPLEX_H
18233#include <complex.h>
18234#endif
18235#ifdef HAVE_MATH_H
18236#include <math.h>
18237#endif
18238
18239int (*ptr)() = (int (*)())atan;
18240
18241int
18242main ()
18243{
18244 return 0;
18245}
18246
18247_ACEOF
18248if ac_fn_c_try_link "$LINENO"; then :
18249 gcc_cv_math_func_atan=yes
18250else
18251 gcc_cv_math_func_atan=no
18252fi
18253rm -f core conftest.err conftest.$ac_objext \
18254 conftest$ac_exeext conftest.$ac_ext
18255fi
18256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18257$as_echo "$gcc_cv_math_func_atan" >&6; }
18258 if test $gcc_cv_math_func_atan = yes; then
18259
18260cat >>confdefs.h <<_ACEOF
18261#define HAVE_ATAN 1
18262_ACEOF
18263
18264 fi
18265
18266
18267
18268
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18270$as_echo_n "checking for atanl... " >&6; }
18271if ${gcc_cv_math_func_atanl+:} false; then :
18272 $as_echo_n "(cached) " >&6
18273else
18274 if test x$gcc_no_link = xyes; then
18275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18276fi
18277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18278/* end confdefs.h. */
18279
18280#ifdef HAVE_COMPLEX_H
18281#include <complex.h>
18282#endif
18283#ifdef HAVE_MATH_H
18284#include <math.h>
18285#endif
18286
18287int (*ptr)() = (int (*)())atanl;
18288
18289int
18290main ()
18291{
18292 return 0;
18293}
18294
18295_ACEOF
18296if ac_fn_c_try_link "$LINENO"; then :
18297 gcc_cv_math_func_atanl=yes
18298else
18299 gcc_cv_math_func_atanl=no
18300fi
18301rm -f core conftest.err conftest.$ac_objext \
18302 conftest$ac_exeext conftest.$ac_ext
18303fi
18304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18305$as_echo "$gcc_cv_math_func_atanl" >&6; }
18306 if test $gcc_cv_math_func_atanl = yes; then
18307
18308cat >>confdefs.h <<_ACEOF
18309#define HAVE_ATANL 1
18310_ACEOF
18311
18312 fi
18313
18314
18315
18316
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18318$as_echo_n "checking for atanhf... " >&6; }
18319if ${gcc_cv_math_func_atanhf+:} false; then :
18320 $as_echo_n "(cached) " >&6
18321else
18322 if test x$gcc_no_link = xyes; then
18323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18324fi
18325cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326/* end confdefs.h. */
18327
18328#ifdef HAVE_COMPLEX_H
18329#include <complex.h>
18330#endif
18331#ifdef HAVE_MATH_H
18332#include <math.h>
18333#endif
18334
18335int (*ptr)() = (int (*)())atanhf;
18336
18337int
18338main ()
18339{
18340 return 0;
18341}
18342
18343_ACEOF
18344if ac_fn_c_try_link "$LINENO"; then :
18345 gcc_cv_math_func_atanhf=yes
18346else
18347 gcc_cv_math_func_atanhf=no
18348fi
18349rm -f core conftest.err conftest.$ac_objext \
18350 conftest$ac_exeext conftest.$ac_ext
18351fi
18352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18353$as_echo "$gcc_cv_math_func_atanhf" >&6; }
18354 if test $gcc_cv_math_func_atanhf = yes; then
18355
18356cat >>confdefs.h <<_ACEOF
18357#define HAVE_ATANHF 1
18358_ACEOF
18359
18360 fi
18361
18362
18363
18364
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18366$as_echo_n "checking for atanh... " >&6; }
18367if ${gcc_cv_math_func_atanh+:} false; then :
18368 $as_echo_n "(cached) " >&6
18369else
18370 if test x$gcc_no_link = xyes; then
18371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18372fi
18373cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374/* end confdefs.h. */
18375
18376#ifdef HAVE_COMPLEX_H
18377#include <complex.h>
18378#endif
18379#ifdef HAVE_MATH_H
18380#include <math.h>
18381#endif
18382
18383int (*ptr)() = (int (*)())atanh;
18384
18385int
18386main ()
18387{
18388 return 0;
18389}
18390
18391_ACEOF
18392if ac_fn_c_try_link "$LINENO"; then :
18393 gcc_cv_math_func_atanh=yes
18394else
18395 gcc_cv_math_func_atanh=no
18396fi
18397rm -f core conftest.err conftest.$ac_objext \
18398 conftest$ac_exeext conftest.$ac_ext
18399fi
18400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18401$as_echo "$gcc_cv_math_func_atanh" >&6; }
18402 if test $gcc_cv_math_func_atanh = yes; then
18403
18404cat >>confdefs.h <<_ACEOF
18405#define HAVE_ATANH 1
18406_ACEOF
18407
18408 fi
18409
18410
18411
18412
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18414$as_echo_n "checking for atanhl... " >&6; }
18415if ${gcc_cv_math_func_atanhl+:} false; then :
18416 $as_echo_n "(cached) " >&6
18417else
18418 if test x$gcc_no_link = xyes; then
18419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18420fi
18421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18422/* end confdefs.h. */
18423
18424#ifdef HAVE_COMPLEX_H
18425#include <complex.h>
18426#endif
18427#ifdef HAVE_MATH_H
18428#include <math.h>
18429#endif
18430
18431int (*ptr)() = (int (*)())atanhl;
18432
18433int
18434main ()
18435{
18436 return 0;
18437}
18438
18439_ACEOF
18440if ac_fn_c_try_link "$LINENO"; then :
18441 gcc_cv_math_func_atanhl=yes
18442else
18443 gcc_cv_math_func_atanhl=no
18444fi
18445rm -f core conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18447fi
18448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18449$as_echo "$gcc_cv_math_func_atanhl" >&6; }
18450 if test $gcc_cv_math_func_atanhl = yes; then
18451
18452cat >>confdefs.h <<_ACEOF
18453#define HAVE_ATANHL 1
18454_ACEOF
18455
18456 fi
18457
18458
18459
18460
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18462$as_echo_n "checking for cargf... " >&6; }
18463if ${gcc_cv_math_func_cargf+:} false; then :
18464 $as_echo_n "(cached) " >&6
18465else
18466 if test x$gcc_no_link = xyes; then
18467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18468fi
18469cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470/* end confdefs.h. */
18471
18472#ifdef HAVE_COMPLEX_H
18473#include <complex.h>
18474#endif
18475#ifdef HAVE_MATH_H
18476#include <math.h>
18477#endif
18478
18479int (*ptr)() = (int (*)())cargf;
18480
18481int
18482main ()
18483{
18484 return 0;
18485}
18486
18487_ACEOF
18488if ac_fn_c_try_link "$LINENO"; then :
18489 gcc_cv_math_func_cargf=yes
18490else
18491 gcc_cv_math_func_cargf=no
18492fi
18493rm -f core conftest.err conftest.$ac_objext \
18494 conftest$ac_exeext conftest.$ac_ext
18495fi
18496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18497$as_echo "$gcc_cv_math_func_cargf" >&6; }
18498 if test $gcc_cv_math_func_cargf = yes; then
18499
18500cat >>confdefs.h <<_ACEOF
18501#define HAVE_CARGF 1
18502_ACEOF
18503
18504 fi
18505
18506
18507
18508
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18510$as_echo_n "checking for carg... " >&6; }
18511if ${gcc_cv_math_func_carg+:} false; then :
18512 $as_echo_n "(cached) " >&6
18513else
18514 if test x$gcc_no_link = xyes; then
18515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18516fi
18517cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518/* end confdefs.h. */
18519
18520#ifdef HAVE_COMPLEX_H
18521#include <complex.h>
18522#endif
18523#ifdef HAVE_MATH_H
18524#include <math.h>
18525#endif
18526
18527int (*ptr)() = (int (*)())carg;
18528
18529int
18530main ()
18531{
18532 return 0;
18533}
18534
18535_ACEOF
18536if ac_fn_c_try_link "$LINENO"; then :
18537 gcc_cv_math_func_carg=yes
18538else
18539 gcc_cv_math_func_carg=no
18540fi
18541rm -f core conftest.err conftest.$ac_objext \
18542 conftest$ac_exeext conftest.$ac_ext
18543fi
18544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18545$as_echo "$gcc_cv_math_func_carg" >&6; }
18546 if test $gcc_cv_math_func_carg = yes; then
18547
18548cat >>confdefs.h <<_ACEOF
18549#define HAVE_CARG 1
18550_ACEOF
18551
18552 fi
18553
18554
18555
18556
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18558$as_echo_n "checking for cargl... " >&6; }
18559if ${gcc_cv_math_func_cargl+:} false; then :
18560 $as_echo_n "(cached) " >&6
18561else
18562 if test x$gcc_no_link = xyes; then
18563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18564fi
18565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566/* end confdefs.h. */
18567
18568#ifdef HAVE_COMPLEX_H
18569#include <complex.h>
18570#endif
18571#ifdef HAVE_MATH_H
18572#include <math.h>
18573#endif
18574
18575int (*ptr)() = (int (*)())cargl;
18576
18577int
18578main ()
18579{
18580 return 0;
18581}
18582
18583_ACEOF
18584if ac_fn_c_try_link "$LINENO"; then :
18585 gcc_cv_math_func_cargl=yes
18586else
18587 gcc_cv_math_func_cargl=no
18588fi
18589rm -f core conftest.err conftest.$ac_objext \
18590 conftest$ac_exeext conftest.$ac_ext
18591fi
18592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18593$as_echo "$gcc_cv_math_func_cargl" >&6; }
18594 if test $gcc_cv_math_func_cargl = yes; then
18595
18596cat >>confdefs.h <<_ACEOF
18597#define HAVE_CARGL 1
18598_ACEOF
18599
18600 fi
18601
18602
18603
18604
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18606$as_echo_n "checking for ceilf... " >&6; }
18607if ${gcc_cv_math_func_ceilf+:} false; then :
18608 $as_echo_n "(cached) " >&6
18609else
18610 if test x$gcc_no_link = xyes; then
18611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18612fi
18613cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614/* end confdefs.h. */
18615
18616#ifdef HAVE_COMPLEX_H
18617#include <complex.h>
18618#endif
18619#ifdef HAVE_MATH_H
18620#include <math.h>
18621#endif
18622
18623int (*ptr)() = (int (*)())ceilf;
18624
18625int
18626main ()
18627{
18628 return 0;
18629}
18630
18631_ACEOF
18632if ac_fn_c_try_link "$LINENO"; then :
18633 gcc_cv_math_func_ceilf=yes
18634else
18635 gcc_cv_math_func_ceilf=no
18636fi
18637rm -f core conftest.err conftest.$ac_objext \
18638 conftest$ac_exeext conftest.$ac_ext
18639fi
18640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18641$as_echo "$gcc_cv_math_func_ceilf" >&6; }
18642 if test $gcc_cv_math_func_ceilf = yes; then
18643
18644cat >>confdefs.h <<_ACEOF
18645#define HAVE_CEILF 1
18646_ACEOF
18647
18648 fi
18649
18650
18651
18652
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18654$as_echo_n "checking for ceil... " >&6; }
18655if ${gcc_cv_math_func_ceil+:} false; then :
18656 $as_echo_n "(cached) " >&6
18657else
18658 if test x$gcc_no_link = xyes; then
18659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18660fi
18661cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662/* end confdefs.h. */
18663
18664#ifdef HAVE_COMPLEX_H
18665#include <complex.h>
18666#endif
18667#ifdef HAVE_MATH_H
18668#include <math.h>
18669#endif
18670
18671int (*ptr)() = (int (*)())ceil;
18672
18673int
18674main ()
18675{
18676 return 0;
18677}
18678
18679_ACEOF
18680if ac_fn_c_try_link "$LINENO"; then :
18681 gcc_cv_math_func_ceil=yes
18682else
18683 gcc_cv_math_func_ceil=no
18684fi
18685rm -f core conftest.err conftest.$ac_objext \
18686 conftest$ac_exeext conftest.$ac_ext
18687fi
18688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18689$as_echo "$gcc_cv_math_func_ceil" >&6; }
18690 if test $gcc_cv_math_func_ceil = yes; then
18691
18692cat >>confdefs.h <<_ACEOF
18693#define HAVE_CEIL 1
18694_ACEOF
18695
18696 fi
18697
18698
18699
18700
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18702$as_echo_n "checking for ceill... " >&6; }
18703if ${gcc_cv_math_func_ceill+:} false; then :
18704 $as_echo_n "(cached) " >&6
18705else
18706 if test x$gcc_no_link = xyes; then
18707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18708fi
18709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710/* end confdefs.h. */
18711
18712#ifdef HAVE_COMPLEX_H
18713#include <complex.h>
18714#endif
18715#ifdef HAVE_MATH_H
18716#include <math.h>
18717#endif
18718
18719int (*ptr)() = (int (*)())ceill;
18720
18721int
18722main ()
18723{
18724 return 0;
18725}
18726
18727_ACEOF
18728if ac_fn_c_try_link "$LINENO"; then :
18729 gcc_cv_math_func_ceill=yes
18730else
18731 gcc_cv_math_func_ceill=no
18732fi
18733rm -f core conftest.err conftest.$ac_objext \
18734 conftest$ac_exeext conftest.$ac_ext
18735fi
18736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18737$as_echo "$gcc_cv_math_func_ceill" >&6; }
18738 if test $gcc_cv_math_func_ceill = yes; then
18739
18740cat >>confdefs.h <<_ACEOF
18741#define HAVE_CEILL 1
18742_ACEOF
18743
18744 fi
18745
18746
18747
18748
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18750$as_echo_n "checking for copysignf... " >&6; }
18751if ${gcc_cv_math_func_copysignf+:} false; then :
18752 $as_echo_n "(cached) " >&6
18753else
18754 if test x$gcc_no_link = xyes; then
18755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18756fi
18757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758/* end confdefs.h. */
18759
18760#ifdef HAVE_COMPLEX_H
18761#include <complex.h>
18762#endif
18763#ifdef HAVE_MATH_H
18764#include <math.h>
18765#endif
18766
18767int (*ptr)() = (int (*)())copysignf;
18768
18769int
18770main ()
18771{
18772 return 0;
18773}
18774
18775_ACEOF
18776if ac_fn_c_try_link "$LINENO"; then :
18777 gcc_cv_math_func_copysignf=yes
18778else
18779 gcc_cv_math_func_copysignf=no
18780fi
18781rm -f core conftest.err conftest.$ac_objext \
18782 conftest$ac_exeext conftest.$ac_ext
18783fi
18784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18785$as_echo "$gcc_cv_math_func_copysignf" >&6; }
18786 if test $gcc_cv_math_func_copysignf = yes; then
18787
18788cat >>confdefs.h <<_ACEOF
18789#define HAVE_COPYSIGNF 1
18790_ACEOF
18791
18792 fi
18793
18794
18795
18796
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18798$as_echo_n "checking for copysign... " >&6; }
18799if ${gcc_cv_math_func_copysign+:} false; then :
18800 $as_echo_n "(cached) " >&6
18801else
18802 if test x$gcc_no_link = xyes; then
18803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18804fi
18805cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806/* end confdefs.h. */
18807
18808#ifdef HAVE_COMPLEX_H
18809#include <complex.h>
18810#endif
18811#ifdef HAVE_MATH_H
18812#include <math.h>
18813#endif
18814
18815int (*ptr)() = (int (*)())copysign;
18816
18817int
18818main ()
18819{
18820 return 0;
18821}
18822
18823_ACEOF
18824if ac_fn_c_try_link "$LINENO"; then :
18825 gcc_cv_math_func_copysign=yes
18826else
18827 gcc_cv_math_func_copysign=no
18828fi
18829rm -f core conftest.err conftest.$ac_objext \
18830 conftest$ac_exeext conftest.$ac_ext
18831fi
18832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18833$as_echo "$gcc_cv_math_func_copysign" >&6; }
18834 if test $gcc_cv_math_func_copysign = yes; then
18835
18836cat >>confdefs.h <<_ACEOF
18837#define HAVE_COPYSIGN 1
18838_ACEOF
18839
18840 fi
18841
18842
18843
18844
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18846$as_echo_n "checking for copysignl... " >&6; }
18847if ${gcc_cv_math_func_copysignl+:} false; then :
18848 $as_echo_n "(cached) " >&6
18849else
18850 if test x$gcc_no_link = xyes; then
18851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18852fi
18853cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854/* end confdefs.h. */
18855
18856#ifdef HAVE_COMPLEX_H
18857#include <complex.h>
18858#endif
18859#ifdef HAVE_MATH_H
18860#include <math.h>
18861#endif
18862
18863int (*ptr)() = (int (*)())copysignl;
18864
18865int
18866main ()
18867{
18868 return 0;
18869}
18870
18871_ACEOF
18872if ac_fn_c_try_link "$LINENO"; then :
18873 gcc_cv_math_func_copysignl=yes
18874else
18875 gcc_cv_math_func_copysignl=no
18876fi
18877rm -f core conftest.err conftest.$ac_objext \
18878 conftest$ac_exeext conftest.$ac_ext
18879fi
18880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18881$as_echo "$gcc_cv_math_func_copysignl" >&6; }
18882 if test $gcc_cv_math_func_copysignl = yes; then
18883
18884cat >>confdefs.h <<_ACEOF
18885#define HAVE_COPYSIGNL 1
18886_ACEOF
18887
18888 fi
18889
18890
18891
18892
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18894$as_echo_n "checking for cosf... " >&6; }
18895if ${gcc_cv_math_func_cosf+:} false; then :
18896 $as_echo_n "(cached) " >&6
18897else
18898 if test x$gcc_no_link = xyes; then
18899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18900fi
18901cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18902/* end confdefs.h. */
18903
18904#ifdef HAVE_COMPLEX_H
18905#include <complex.h>
18906#endif
18907#ifdef HAVE_MATH_H
18908#include <math.h>
18909#endif
18910
18911int (*ptr)() = (int (*)())cosf;
18912
18913int
18914main ()
18915{
18916 return 0;
18917}
18918
18919_ACEOF
18920if ac_fn_c_try_link "$LINENO"; then :
18921 gcc_cv_math_func_cosf=yes
18922else
18923 gcc_cv_math_func_cosf=no
18924fi
18925rm -f core conftest.err conftest.$ac_objext \
18926 conftest$ac_exeext conftest.$ac_ext
18927fi
18928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18929$as_echo "$gcc_cv_math_func_cosf" >&6; }
18930 if test $gcc_cv_math_func_cosf = yes; then
18931
18932cat >>confdefs.h <<_ACEOF
18933#define HAVE_COSF 1
18934_ACEOF
18935
18936 fi
18937
18938
18939
18940
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18942$as_echo_n "checking for cos... " >&6; }
18943if ${gcc_cv_math_func_cos+:} false; then :
18944 $as_echo_n "(cached) " >&6
18945else
18946 if test x$gcc_no_link = xyes; then
18947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18948fi
18949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18950/* end confdefs.h. */
18951
18952#ifdef HAVE_COMPLEX_H
18953#include <complex.h>
18954#endif
18955#ifdef HAVE_MATH_H
18956#include <math.h>
18957#endif
18958
18959int (*ptr)() = (int (*)())cos;
18960
18961int
18962main ()
18963{
18964 return 0;
18965}
18966
18967_ACEOF
18968if ac_fn_c_try_link "$LINENO"; then :
18969 gcc_cv_math_func_cos=yes
18970else
18971 gcc_cv_math_func_cos=no
18972fi
18973rm -f core conftest.err conftest.$ac_objext \
18974 conftest$ac_exeext conftest.$ac_ext
18975fi
18976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18977$as_echo "$gcc_cv_math_func_cos" >&6; }
18978 if test $gcc_cv_math_func_cos = yes; then
18979
18980cat >>confdefs.h <<_ACEOF
18981#define HAVE_COS 1
18982_ACEOF
18983
18984 fi
18985
18986
18987
18988
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18990$as_echo_n "checking for cosl... " >&6; }
18991if ${gcc_cv_math_func_cosl+:} false; then :
18992 $as_echo_n "(cached) " >&6
18993else
18994 if test x$gcc_no_link = xyes; then
18995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18996fi
18997cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998/* end confdefs.h. */
18999
19000#ifdef HAVE_COMPLEX_H
19001#include <complex.h>
19002#endif
19003#ifdef HAVE_MATH_H
19004#include <math.h>
19005#endif
19006
19007int (*ptr)() = (int (*)())cosl;
19008
19009int
19010main ()
19011{
19012 return 0;
19013}
19014
19015_ACEOF
19016if ac_fn_c_try_link "$LINENO"; then :
19017 gcc_cv_math_func_cosl=yes
19018else
19019 gcc_cv_math_func_cosl=no
19020fi
19021rm -f core conftest.err conftest.$ac_objext \
19022 conftest$ac_exeext conftest.$ac_ext
19023fi
19024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
19025$as_echo "$gcc_cv_math_func_cosl" >&6; }
19026 if test $gcc_cv_math_func_cosl = yes; then
19027
19028cat >>confdefs.h <<_ACEOF
19029#define HAVE_COSL 1
19030_ACEOF
19031
19032 fi
19033
19034
19035
19036
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
19038$as_echo_n "checking for ccosf... " >&6; }
19039if ${gcc_cv_math_func_ccosf+:} false; then :
19040 $as_echo_n "(cached) " >&6
19041else
19042 if test x$gcc_no_link = xyes; then
19043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19044fi
19045cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046/* end confdefs.h. */
19047
19048#ifdef HAVE_COMPLEX_H
19049#include <complex.h>
19050#endif
19051#ifdef HAVE_MATH_H
19052#include <math.h>
19053#endif
19054
19055int (*ptr)() = (int (*)())ccosf;
19056
19057int
19058main ()
19059{
19060 return 0;
19061}
19062
19063_ACEOF
19064if ac_fn_c_try_link "$LINENO"; then :
19065 gcc_cv_math_func_ccosf=yes
19066else
19067 gcc_cv_math_func_ccosf=no
19068fi
19069rm -f core conftest.err conftest.$ac_objext \
19070 conftest$ac_exeext conftest.$ac_ext
19071fi
19072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
19073$as_echo "$gcc_cv_math_func_ccosf" >&6; }
19074 if test $gcc_cv_math_func_ccosf = yes; then
19075
19076cat >>confdefs.h <<_ACEOF
19077#define HAVE_CCOSF 1
19078_ACEOF
19079
19080 fi
19081
19082
19083
19084
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
19086$as_echo_n "checking for ccos... " >&6; }
19087if ${gcc_cv_math_func_ccos+:} false; then :
19088 $as_echo_n "(cached) " >&6
19089else
19090 if test x$gcc_no_link = xyes; then
19091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19092fi
19093cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094/* end confdefs.h. */
19095
19096#ifdef HAVE_COMPLEX_H
19097#include <complex.h>
19098#endif
19099#ifdef HAVE_MATH_H
19100#include <math.h>
19101#endif
19102
19103int (*ptr)() = (int (*)())ccos;
19104
19105int
19106main ()
19107{
19108 return 0;
19109}
19110
19111_ACEOF
19112if ac_fn_c_try_link "$LINENO"; then :
19113 gcc_cv_math_func_ccos=yes
19114else
19115 gcc_cv_math_func_ccos=no
19116fi
19117rm -f core conftest.err conftest.$ac_objext \
19118 conftest$ac_exeext conftest.$ac_ext
19119fi
19120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19121$as_echo "$gcc_cv_math_func_ccos" >&6; }
19122 if test $gcc_cv_math_func_ccos = yes; then
19123
19124cat >>confdefs.h <<_ACEOF
19125#define HAVE_CCOS 1
19126_ACEOF
19127
19128 fi
19129
19130
19131
19132
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19134$as_echo_n "checking for ccosl... " >&6; }
19135if ${gcc_cv_math_func_ccosl+:} false; then :
19136 $as_echo_n "(cached) " >&6
19137else
19138 if test x$gcc_no_link = xyes; then
19139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19140fi
19141cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19142/* end confdefs.h. */
19143
19144#ifdef HAVE_COMPLEX_H
19145#include <complex.h>
19146#endif
19147#ifdef HAVE_MATH_H
19148#include <math.h>
19149#endif
19150
19151int (*ptr)() = (int (*)())ccosl;
19152
19153int
19154main ()
19155{
19156 return 0;
19157}
19158
19159_ACEOF
19160if ac_fn_c_try_link "$LINENO"; then :
19161 gcc_cv_math_func_ccosl=yes
19162else
19163 gcc_cv_math_func_ccosl=no
19164fi
19165rm -f core conftest.err conftest.$ac_objext \
19166 conftest$ac_exeext conftest.$ac_ext
19167fi
19168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19169$as_echo "$gcc_cv_math_func_ccosl" >&6; }
19170 if test $gcc_cv_math_func_ccosl = yes; then
19171
19172cat >>confdefs.h <<_ACEOF
19173#define HAVE_CCOSL 1
19174_ACEOF
19175
19176 fi
19177
19178
19179
19180
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19182$as_echo_n "checking for coshf... " >&6; }
19183if ${gcc_cv_math_func_coshf+:} false; then :
19184 $as_echo_n "(cached) " >&6
19185else
19186 if test x$gcc_no_link = xyes; then
19187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19188fi
19189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19190/* end confdefs.h. */
19191
19192#ifdef HAVE_COMPLEX_H
19193#include <complex.h>
19194#endif
19195#ifdef HAVE_MATH_H
19196#include <math.h>
19197#endif
19198
19199int (*ptr)() = (int (*)())coshf;
19200
19201int
19202main ()
19203{
19204 return 0;
19205}
19206
19207_ACEOF
19208if ac_fn_c_try_link "$LINENO"; then :
19209 gcc_cv_math_func_coshf=yes
19210else
19211 gcc_cv_math_func_coshf=no
19212fi
19213rm -f core conftest.err conftest.$ac_objext \
19214 conftest$ac_exeext conftest.$ac_ext
19215fi
19216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19217$as_echo "$gcc_cv_math_func_coshf" >&6; }
19218 if test $gcc_cv_math_func_coshf = yes; then
19219
19220cat >>confdefs.h <<_ACEOF
19221#define HAVE_COSHF 1
19222_ACEOF
19223
19224 fi
19225
19226
19227
19228
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19230$as_echo_n "checking for cosh... " >&6; }
19231if ${gcc_cv_math_func_cosh+:} false; then :
19232 $as_echo_n "(cached) " >&6
19233else
19234 if test x$gcc_no_link = xyes; then
19235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19236fi
19237cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238/* end confdefs.h. */
19239
19240#ifdef HAVE_COMPLEX_H
19241#include <complex.h>
19242#endif
19243#ifdef HAVE_MATH_H
19244#include <math.h>
19245#endif
19246
19247int (*ptr)() = (int (*)())cosh;
19248
19249int
19250main ()
19251{
19252 return 0;
19253}
19254
19255_ACEOF
19256if ac_fn_c_try_link "$LINENO"; then :
19257 gcc_cv_math_func_cosh=yes
19258else
19259 gcc_cv_math_func_cosh=no
19260fi
19261rm -f core conftest.err conftest.$ac_objext \
19262 conftest$ac_exeext conftest.$ac_ext
19263fi
19264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19265$as_echo "$gcc_cv_math_func_cosh" >&6; }
19266 if test $gcc_cv_math_func_cosh = yes; then
19267
19268cat >>confdefs.h <<_ACEOF
19269#define HAVE_COSH 1
19270_ACEOF
19271
19272 fi
19273
19274
19275
19276
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19278$as_echo_n "checking for coshl... " >&6; }
19279if ${gcc_cv_math_func_coshl+:} false; then :
19280 $as_echo_n "(cached) " >&6
19281else
19282 if test x$gcc_no_link = xyes; then
19283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19284fi
19285cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286/* end confdefs.h. */
19287
19288#ifdef HAVE_COMPLEX_H
19289#include <complex.h>
19290#endif
19291#ifdef HAVE_MATH_H
19292#include <math.h>
19293#endif
19294
19295int (*ptr)() = (int (*)())coshl;
19296
19297int
19298main ()
19299{
19300 return 0;
19301}
19302
19303_ACEOF
19304if ac_fn_c_try_link "$LINENO"; then :
19305 gcc_cv_math_func_coshl=yes
19306else
19307 gcc_cv_math_func_coshl=no
19308fi
19309rm -f core conftest.err conftest.$ac_objext \
19310 conftest$ac_exeext conftest.$ac_ext
19311fi
19312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19313$as_echo "$gcc_cv_math_func_coshl" >&6; }
19314 if test $gcc_cv_math_func_coshl = yes; then
19315
19316cat >>confdefs.h <<_ACEOF
19317#define HAVE_COSHL 1
19318_ACEOF
19319
19320 fi
19321
19322
19323
19324
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19326$as_echo_n "checking for ccoshf... " >&6; }
19327if ${gcc_cv_math_func_ccoshf+:} false; then :
19328 $as_echo_n "(cached) " >&6
19329else
19330 if test x$gcc_no_link = xyes; then
19331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19332fi
19333cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19334/* end confdefs.h. */
19335
19336#ifdef HAVE_COMPLEX_H
19337#include <complex.h>
19338#endif
19339#ifdef HAVE_MATH_H
19340#include <math.h>
19341#endif
19342
19343int (*ptr)() = (int (*)())ccoshf;
19344
19345int
19346main ()
19347{
19348 return 0;
19349}
19350
19351_ACEOF
19352if ac_fn_c_try_link "$LINENO"; then :
19353 gcc_cv_math_func_ccoshf=yes
19354else
19355 gcc_cv_math_func_ccoshf=no
19356fi
19357rm -f core conftest.err conftest.$ac_objext \
19358 conftest$ac_exeext conftest.$ac_ext
19359fi
19360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19361$as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19362 if test $gcc_cv_math_func_ccoshf = yes; then
19363
19364cat >>confdefs.h <<_ACEOF
19365#define HAVE_CCOSHF 1
19366_ACEOF
19367
19368 fi
19369
19370
19371
19372
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19374$as_echo_n "checking for ccosh... " >&6; }
19375if ${gcc_cv_math_func_ccosh+:} false; then :
19376 $as_echo_n "(cached) " >&6
19377else
19378 if test x$gcc_no_link = xyes; then
19379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19380fi
19381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19382/* end confdefs.h. */
19383
19384#ifdef HAVE_COMPLEX_H
19385#include <complex.h>
19386#endif
19387#ifdef HAVE_MATH_H
19388#include <math.h>
19389#endif
19390
19391int (*ptr)() = (int (*)())ccosh;
19392
19393int
19394main ()
19395{
19396 return 0;
19397}
19398
19399_ACEOF
19400if ac_fn_c_try_link "$LINENO"; then :
19401 gcc_cv_math_func_ccosh=yes
19402else
19403 gcc_cv_math_func_ccosh=no
19404fi
19405rm -f core conftest.err conftest.$ac_objext \
19406 conftest$ac_exeext conftest.$ac_ext
19407fi
19408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19409$as_echo "$gcc_cv_math_func_ccosh" >&6; }
19410 if test $gcc_cv_math_func_ccosh = yes; then
19411
19412cat >>confdefs.h <<_ACEOF
19413#define HAVE_CCOSH 1
19414_ACEOF
19415
19416 fi
19417
19418
19419
19420
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19422$as_echo_n "checking for ccoshl... " >&6; }
19423if ${gcc_cv_math_func_ccoshl+:} false; then :
19424 $as_echo_n "(cached) " >&6
19425else
19426 if test x$gcc_no_link = xyes; then
19427 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19428fi
19429cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430/* end confdefs.h. */
19431
19432#ifdef HAVE_COMPLEX_H
19433#include <complex.h>
19434#endif
19435#ifdef HAVE_MATH_H
19436#include <math.h>
19437#endif
19438
19439int (*ptr)() = (int (*)())ccoshl;
19440
19441int
19442main ()
19443{
19444 return 0;
19445}
19446
19447_ACEOF
19448if ac_fn_c_try_link "$LINENO"; then :
19449 gcc_cv_math_func_ccoshl=yes
19450else
19451 gcc_cv_math_func_ccoshl=no
19452fi
19453rm -f core conftest.err conftest.$ac_objext \
19454 conftest$ac_exeext conftest.$ac_ext
19455fi
19456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19457$as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19458 if test $gcc_cv_math_func_ccoshl = yes; then
19459
19460cat >>confdefs.h <<_ACEOF
19461#define HAVE_CCOSHL 1
19462_ACEOF
19463
19464 fi
19465
19466
19467
19468
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19470$as_echo_n "checking for expf... " >&6; }
19471if ${gcc_cv_math_func_expf+:} false; then :
19472 $as_echo_n "(cached) " >&6
19473else
19474 if test x$gcc_no_link = xyes; then
19475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19476fi
19477cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478/* end confdefs.h. */
19479
19480#ifdef HAVE_COMPLEX_H
19481#include <complex.h>
19482#endif
19483#ifdef HAVE_MATH_H
19484#include <math.h>
19485#endif
19486
19487int (*ptr)() = (int (*)())expf;
19488
19489int
19490main ()
19491{
19492 return 0;
19493}
19494
19495_ACEOF
19496if ac_fn_c_try_link "$LINENO"; then :
19497 gcc_cv_math_func_expf=yes
19498else
19499 gcc_cv_math_func_expf=no
19500fi
19501rm -f core conftest.err conftest.$ac_objext \
19502 conftest$ac_exeext conftest.$ac_ext
19503fi
19504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19505$as_echo "$gcc_cv_math_func_expf" >&6; }
19506 if test $gcc_cv_math_func_expf = yes; then
19507
19508cat >>confdefs.h <<_ACEOF
19509#define HAVE_EXPF 1
19510_ACEOF
19511
19512 fi
19513
19514
19515
19516
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19518$as_echo_n "checking for exp... " >&6; }
19519if ${gcc_cv_math_func_exp+:} false; then :
19520 $as_echo_n "(cached) " >&6
19521else
19522 if test x$gcc_no_link = xyes; then
19523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19524fi
19525cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526/* end confdefs.h. */
19527
19528#ifdef HAVE_COMPLEX_H
19529#include <complex.h>
19530#endif
19531#ifdef HAVE_MATH_H
19532#include <math.h>
19533#endif
19534
19535int (*ptr)() = (int (*)())exp;
19536
19537int
19538main ()
19539{
19540 return 0;
19541}
19542
19543_ACEOF
19544if ac_fn_c_try_link "$LINENO"; then :
19545 gcc_cv_math_func_exp=yes
19546else
19547 gcc_cv_math_func_exp=no
19548fi
19549rm -f core conftest.err conftest.$ac_objext \
19550 conftest$ac_exeext conftest.$ac_ext
19551fi
19552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19553$as_echo "$gcc_cv_math_func_exp" >&6; }
19554 if test $gcc_cv_math_func_exp = yes; then
19555
19556cat >>confdefs.h <<_ACEOF
19557#define HAVE_EXP 1
19558_ACEOF
19559
19560 fi
19561
19562
19563
19564
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19566$as_echo_n "checking for expl... " >&6; }
19567if ${gcc_cv_math_func_expl+:} false; then :
19568 $as_echo_n "(cached) " >&6
19569else
19570 if test x$gcc_no_link = xyes; then
19571 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19572fi
19573cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574/* end confdefs.h. */
19575
19576#ifdef HAVE_COMPLEX_H
19577#include <complex.h>
19578#endif
19579#ifdef HAVE_MATH_H
19580#include <math.h>
19581#endif
19582
19583int (*ptr)() = (int (*)())expl;
19584
19585int
19586main ()
19587{
19588 return 0;
19589}
19590
19591_ACEOF
19592if ac_fn_c_try_link "$LINENO"; then :
19593 gcc_cv_math_func_expl=yes
19594else
19595 gcc_cv_math_func_expl=no
19596fi
19597rm -f core conftest.err conftest.$ac_objext \
19598 conftest$ac_exeext conftest.$ac_ext
19599fi
19600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19601$as_echo "$gcc_cv_math_func_expl" >&6; }
19602 if test $gcc_cv_math_func_expl = yes; then
19603
19604cat >>confdefs.h <<_ACEOF
19605#define HAVE_EXPL 1
19606_ACEOF
19607
19608 fi
19609
19610
19611
19612
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19614$as_echo_n "checking for cexpf... " >&6; }
19615if ${gcc_cv_math_func_cexpf+:} false; then :
19616 $as_echo_n "(cached) " >&6
19617else
19618 if test x$gcc_no_link = xyes; then
19619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19620fi
19621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622/* end confdefs.h. */
19623
19624#ifdef HAVE_COMPLEX_H
19625#include <complex.h>
19626#endif
19627#ifdef HAVE_MATH_H
19628#include <math.h>
19629#endif
19630
19631int (*ptr)() = (int (*)())cexpf;
19632
19633int
19634main ()
19635{
19636 return 0;
19637}
19638
19639_ACEOF
19640if ac_fn_c_try_link "$LINENO"; then :
19641 gcc_cv_math_func_cexpf=yes
19642else
19643 gcc_cv_math_func_cexpf=no
19644fi
19645rm -f core conftest.err conftest.$ac_objext \
19646 conftest$ac_exeext conftest.$ac_ext
19647fi
19648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19649$as_echo "$gcc_cv_math_func_cexpf" >&6; }
19650 if test $gcc_cv_math_func_cexpf = yes; then
19651
19652cat >>confdefs.h <<_ACEOF
19653#define HAVE_CEXPF 1
19654_ACEOF
19655
19656 fi
19657
19658
19659
19660
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19662$as_echo_n "checking for cexp... " >&6; }
19663if ${gcc_cv_math_func_cexp+:} false; then :
19664 $as_echo_n "(cached) " >&6
19665else
19666 if test x$gcc_no_link = xyes; then
19667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19668fi
19669cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670/* end confdefs.h. */
19671
19672#ifdef HAVE_COMPLEX_H
19673#include <complex.h>
19674#endif
19675#ifdef HAVE_MATH_H
19676#include <math.h>
19677#endif
19678
19679int (*ptr)() = (int (*)())cexp;
19680
19681int
19682main ()
19683{
19684 return 0;
19685}
19686
19687_ACEOF
19688if ac_fn_c_try_link "$LINENO"; then :
19689 gcc_cv_math_func_cexp=yes
19690else
19691 gcc_cv_math_func_cexp=no
19692fi
19693rm -f core conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19695fi
19696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19697$as_echo "$gcc_cv_math_func_cexp" >&6; }
19698 if test $gcc_cv_math_func_cexp = yes; then
19699
19700cat >>confdefs.h <<_ACEOF
19701#define HAVE_CEXP 1
19702_ACEOF
19703
19704 fi
19705
19706
19707
19708
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19710$as_echo_n "checking for cexpl... " >&6; }
19711if ${gcc_cv_math_func_cexpl+:} false; then :
19712 $as_echo_n "(cached) " >&6
19713else
19714 if test x$gcc_no_link = xyes; then
19715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19716fi
19717cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19718/* end confdefs.h. */
19719
19720#ifdef HAVE_COMPLEX_H
19721#include <complex.h>
19722#endif
19723#ifdef HAVE_MATH_H
19724#include <math.h>
19725#endif
19726
19727int (*ptr)() = (int (*)())cexpl;
19728
19729int
19730main ()
19731{
19732 return 0;
19733}
19734
19735_ACEOF
19736if ac_fn_c_try_link "$LINENO"; then :
19737 gcc_cv_math_func_cexpl=yes
19738else
19739 gcc_cv_math_func_cexpl=no
19740fi
19741rm -f core conftest.err conftest.$ac_objext \
19742 conftest$ac_exeext conftest.$ac_ext
19743fi
19744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19745$as_echo "$gcc_cv_math_func_cexpl" >&6; }
19746 if test $gcc_cv_math_func_cexpl = yes; then
19747
19748cat >>confdefs.h <<_ACEOF
19749#define HAVE_CEXPL 1
19750_ACEOF
19751
19752 fi
19753
19754
19755
19756
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19758$as_echo_n "checking for fabsf... " >&6; }
19759if ${gcc_cv_math_func_fabsf+:} false; then :
19760 $as_echo_n "(cached) " >&6
19761else
19762 if test x$gcc_no_link = xyes; then
19763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19764fi
19765cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19766/* end confdefs.h. */
19767
19768#ifdef HAVE_COMPLEX_H
19769#include <complex.h>
19770#endif
19771#ifdef HAVE_MATH_H
19772#include <math.h>
19773#endif
19774
19775int (*ptr)() = (int (*)())fabsf;
19776
19777int
19778main ()
19779{
19780 return 0;
19781}
19782
19783_ACEOF
19784if ac_fn_c_try_link "$LINENO"; then :
19785 gcc_cv_math_func_fabsf=yes
19786else
19787 gcc_cv_math_func_fabsf=no
19788fi
19789rm -f core conftest.err conftest.$ac_objext \
19790 conftest$ac_exeext conftest.$ac_ext
19791fi
19792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19793$as_echo "$gcc_cv_math_func_fabsf" >&6; }
19794 if test $gcc_cv_math_func_fabsf = yes; then
19795
19796cat >>confdefs.h <<_ACEOF
19797#define HAVE_FABSF 1
19798_ACEOF
19799
19800 fi
19801
19802
19803
19804
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19806$as_echo_n "checking for fabs... " >&6; }
19807if ${gcc_cv_math_func_fabs+:} false; then :
19808 $as_echo_n "(cached) " >&6
19809else
19810 if test x$gcc_no_link = xyes; then
19811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19812fi
19813cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814/* end confdefs.h. */
19815
19816#ifdef HAVE_COMPLEX_H
19817#include <complex.h>
19818#endif
19819#ifdef HAVE_MATH_H
19820#include <math.h>
19821#endif
19822
19823int (*ptr)() = (int (*)())fabs;
19824
19825int
19826main ()
19827{
19828 return 0;
19829}
19830
19831_ACEOF
19832if ac_fn_c_try_link "$LINENO"; then :
19833 gcc_cv_math_func_fabs=yes
19834else
19835 gcc_cv_math_func_fabs=no
19836fi
19837rm -f core conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext conftest.$ac_ext
19839fi
19840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19841$as_echo "$gcc_cv_math_func_fabs" >&6; }
19842 if test $gcc_cv_math_func_fabs = yes; then
19843
19844cat >>confdefs.h <<_ACEOF
19845#define HAVE_FABS 1
19846_ACEOF
19847
19848 fi
19849
19850
19851
19852
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19854$as_echo_n "checking for fabsl... " >&6; }
19855if ${gcc_cv_math_func_fabsl+:} false; then :
19856 $as_echo_n "(cached) " >&6
19857else
19858 if test x$gcc_no_link = xyes; then
19859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19860fi
19861cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862/* end confdefs.h. */
19863
19864#ifdef HAVE_COMPLEX_H
19865#include <complex.h>
19866#endif
19867#ifdef HAVE_MATH_H
19868#include <math.h>
19869#endif
19870
19871int (*ptr)() = (int (*)())fabsl;
19872
19873int
19874main ()
19875{
19876 return 0;
19877}
19878
19879_ACEOF
19880if ac_fn_c_try_link "$LINENO"; then :
19881 gcc_cv_math_func_fabsl=yes
19882else
19883 gcc_cv_math_func_fabsl=no
19884fi
19885rm -f core conftest.err conftest.$ac_objext \
19886 conftest$ac_exeext conftest.$ac_ext
19887fi
19888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19889$as_echo "$gcc_cv_math_func_fabsl" >&6; }
19890 if test $gcc_cv_math_func_fabsl = yes; then
19891
19892cat >>confdefs.h <<_ACEOF
19893#define HAVE_FABSL 1
19894_ACEOF
19895
19896 fi
19897
19898
19899
19900
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19902$as_echo_n "checking for cabsf... " >&6; }
19903if ${gcc_cv_math_func_cabsf+:} false; then :
19904 $as_echo_n "(cached) " >&6
19905else
19906 if test x$gcc_no_link = xyes; then
19907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19908fi
19909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910/* end confdefs.h. */
19911
19912#ifdef HAVE_COMPLEX_H
19913#include <complex.h>
19914#endif
19915#ifdef HAVE_MATH_H
19916#include <math.h>
19917#endif
19918
19919int (*ptr)() = (int (*)())cabsf;
19920
19921int
19922main ()
19923{
19924 return 0;
19925}
19926
19927_ACEOF
19928if ac_fn_c_try_link "$LINENO"; then :
19929 gcc_cv_math_func_cabsf=yes
19930else
19931 gcc_cv_math_func_cabsf=no
19932fi
19933rm -f core conftest.err conftest.$ac_objext \
19934 conftest$ac_exeext conftest.$ac_ext
19935fi
19936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19937$as_echo "$gcc_cv_math_func_cabsf" >&6; }
19938 if test $gcc_cv_math_func_cabsf = yes; then
19939
19940cat >>confdefs.h <<_ACEOF
19941#define HAVE_CABSF 1
19942_ACEOF
19943
19944 fi
19945
19946
19947
19948
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19950$as_echo_n "checking for cabs... " >&6; }
19951if ${gcc_cv_math_func_cabs+:} false; then :
19952 $as_echo_n "(cached) " >&6
19953else
19954 if test x$gcc_no_link = xyes; then
19955 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19956fi
19957cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958/* end confdefs.h. */
19959
19960#ifdef HAVE_COMPLEX_H
19961#include <complex.h>
19962#endif
19963#ifdef HAVE_MATH_H
19964#include <math.h>
19965#endif
19966
19967int (*ptr)() = (int (*)())cabs;
19968
19969int
19970main ()
19971{
19972 return 0;
19973}
19974
19975_ACEOF
19976if ac_fn_c_try_link "$LINENO"; then :
19977 gcc_cv_math_func_cabs=yes
19978else
19979 gcc_cv_math_func_cabs=no
19980fi
19981rm -f core conftest.err conftest.$ac_objext \
19982 conftest$ac_exeext conftest.$ac_ext
19983fi
19984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19985$as_echo "$gcc_cv_math_func_cabs" >&6; }
19986 if test $gcc_cv_math_func_cabs = yes; then
19987
19988cat >>confdefs.h <<_ACEOF
19989#define HAVE_CABS 1
19990_ACEOF
19991
19992 fi
19993
19994
19995
19996
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19998$as_echo_n "checking for cabsl... " >&6; }
19999if ${gcc_cv_math_func_cabsl+:} false; then :
20000 $as_echo_n "(cached) " >&6
20001else
20002 if test x$gcc_no_link = xyes; then
20003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20004fi
20005cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20006/* end confdefs.h. */
20007
20008#ifdef HAVE_COMPLEX_H
20009#include <complex.h>
20010#endif
20011#ifdef HAVE_MATH_H
20012#include <math.h>
20013#endif
20014
20015int (*ptr)() = (int (*)())cabsl;
20016
20017int
20018main ()
20019{
20020 return 0;
20021}
20022
20023_ACEOF
20024if ac_fn_c_try_link "$LINENO"; then :
20025 gcc_cv_math_func_cabsl=yes
20026else
20027 gcc_cv_math_func_cabsl=no
20028fi
20029rm -f core conftest.err conftest.$ac_objext \
20030 conftest$ac_exeext conftest.$ac_ext
20031fi
20032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
20033$as_echo "$gcc_cv_math_func_cabsl" >&6; }
20034 if test $gcc_cv_math_func_cabsl = yes; then
20035
20036cat >>confdefs.h <<_ACEOF
20037#define HAVE_CABSL 1
20038_ACEOF
20039
20040 fi
20041
20042
20043
20044
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
20046$as_echo_n "checking for floorf... " >&6; }
20047if ${gcc_cv_math_func_floorf+:} false; then :
20048 $as_echo_n "(cached) " >&6
20049else
20050 if test x$gcc_no_link = xyes; then
20051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20052fi
20053cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20054/* end confdefs.h. */
20055
20056#ifdef HAVE_COMPLEX_H
20057#include <complex.h>
20058#endif
20059#ifdef HAVE_MATH_H
20060#include <math.h>
20061#endif
20062
20063int (*ptr)() = (int (*)())floorf;
20064
20065int
20066main ()
20067{
20068 return 0;
20069}
20070
20071_ACEOF
20072if ac_fn_c_try_link "$LINENO"; then :
20073 gcc_cv_math_func_floorf=yes
20074else
20075 gcc_cv_math_func_floorf=no
20076fi
20077rm -f core conftest.err conftest.$ac_objext \
20078 conftest$ac_exeext conftest.$ac_ext
20079fi
20080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
20081$as_echo "$gcc_cv_math_func_floorf" >&6; }
20082 if test $gcc_cv_math_func_floorf = yes; then
20083
20084cat >>confdefs.h <<_ACEOF
20085#define HAVE_FLOORF 1
20086_ACEOF
20087
20088 fi
20089
20090
20091
20092
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
20094$as_echo_n "checking for floor... " >&6; }
20095if ${gcc_cv_math_func_floor+:} false; then :
20096 $as_echo_n "(cached) " >&6
20097else
20098 if test x$gcc_no_link = xyes; then
20099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20100fi
20101cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20102/* end confdefs.h. */
20103
20104#ifdef HAVE_COMPLEX_H
20105#include <complex.h>
20106#endif
20107#ifdef HAVE_MATH_H
20108#include <math.h>
20109#endif
20110
20111int (*ptr)() = (int (*)())floor;
20112
20113int
20114main ()
20115{
20116 return 0;
20117}
20118
20119_ACEOF
20120if ac_fn_c_try_link "$LINENO"; then :
20121 gcc_cv_math_func_floor=yes
20122else
20123 gcc_cv_math_func_floor=no
20124fi
20125rm -f core conftest.err conftest.$ac_objext \
20126 conftest$ac_exeext conftest.$ac_ext
20127fi
20128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20129$as_echo "$gcc_cv_math_func_floor" >&6; }
20130 if test $gcc_cv_math_func_floor = yes; then
20131
20132cat >>confdefs.h <<_ACEOF
20133#define HAVE_FLOOR 1
20134_ACEOF
20135
20136 fi
20137
20138
20139
20140
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20142$as_echo_n "checking for floorl... " >&6; }
20143if ${gcc_cv_math_func_floorl+:} false; then :
20144 $as_echo_n "(cached) " >&6
20145else
20146 if test x$gcc_no_link = xyes; then
20147 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20148fi
20149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150/* end confdefs.h. */
20151
20152#ifdef HAVE_COMPLEX_H
20153#include <complex.h>
20154#endif
20155#ifdef HAVE_MATH_H
20156#include <math.h>
20157#endif
20158
20159int (*ptr)() = (int (*)())floorl;
20160
20161int
20162main ()
20163{
20164 return 0;
20165}
20166
20167_ACEOF
20168if ac_fn_c_try_link "$LINENO"; then :
20169 gcc_cv_math_func_floorl=yes
20170else
20171 gcc_cv_math_func_floorl=no
20172fi
20173rm -f core conftest.err conftest.$ac_objext \
20174 conftest$ac_exeext conftest.$ac_ext
20175fi
20176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20177$as_echo "$gcc_cv_math_func_floorl" >&6; }
20178 if test $gcc_cv_math_func_floorl = yes; then
20179
20180cat >>confdefs.h <<_ACEOF
20181#define HAVE_FLOORL 1
20182_ACEOF
20183
20184 fi
20185
20186
20187
20188
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20190$as_echo_n "checking for fmaf... " >&6; }
20191if ${gcc_cv_math_func_fmaf+:} false; then :
20192 $as_echo_n "(cached) " >&6
20193else
20194 if test x$gcc_no_link = xyes; then
20195 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20196fi
20197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198/* end confdefs.h. */
20199
20200#ifdef HAVE_COMPLEX_H
20201#include <complex.h>
20202#endif
20203#ifdef HAVE_MATH_H
20204#include <math.h>
20205#endif
20206
20207int (*ptr)() = (int (*)())fmaf;
20208
20209int
20210main ()
20211{
20212 return 0;
20213}
20214
20215_ACEOF
20216if ac_fn_c_try_link "$LINENO"; then :
20217 gcc_cv_math_func_fmaf=yes
20218else
20219 gcc_cv_math_func_fmaf=no
20220fi
20221rm -f core conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20223fi
20224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20225$as_echo "$gcc_cv_math_func_fmaf" >&6; }
20226 if test $gcc_cv_math_func_fmaf = yes; then
20227
20228cat >>confdefs.h <<_ACEOF
20229#define HAVE_FMAF 1
20230_ACEOF
20231
20232 fi
20233
20234
20235
20236
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20238$as_echo_n "checking for fma... " >&6; }
20239if ${gcc_cv_math_func_fma+:} false; then :
20240 $as_echo_n "(cached) " >&6
20241else
20242 if test x$gcc_no_link = xyes; then
20243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20244fi
20245cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246/* end confdefs.h. */
20247
20248#ifdef HAVE_COMPLEX_H
20249#include <complex.h>
20250#endif
20251#ifdef HAVE_MATH_H
20252#include <math.h>
20253#endif
20254
20255int (*ptr)() = (int (*)())fma;
20256
20257int
20258main ()
20259{
20260 return 0;
20261}
20262
20263_ACEOF
20264if ac_fn_c_try_link "$LINENO"; then :
20265 gcc_cv_math_func_fma=yes
20266else
20267 gcc_cv_math_func_fma=no
20268fi
20269rm -f core conftest.err conftest.$ac_objext \
20270 conftest$ac_exeext conftest.$ac_ext
20271fi
20272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20273$as_echo "$gcc_cv_math_func_fma" >&6; }
20274 if test $gcc_cv_math_func_fma = yes; then
20275
20276cat >>confdefs.h <<_ACEOF
20277#define HAVE_FMA 1
20278_ACEOF
20279
20280 fi
20281
20282
20283
20284
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20286$as_echo_n "checking for fmal... " >&6; }
20287if ${gcc_cv_math_func_fmal+:} false; then :
20288 $as_echo_n "(cached) " >&6
20289else
20290 if test x$gcc_no_link = xyes; then
20291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20292fi
20293cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294/* end confdefs.h. */
20295
20296#ifdef HAVE_COMPLEX_H
20297#include <complex.h>
20298#endif
20299#ifdef HAVE_MATH_H
20300#include <math.h>
20301#endif
20302
20303int (*ptr)() = (int (*)())fmal;
20304
20305int
20306main ()
20307{
20308 return 0;
20309}
20310
20311_ACEOF
20312if ac_fn_c_try_link "$LINENO"; then :
20313 gcc_cv_math_func_fmal=yes
20314else
20315 gcc_cv_math_func_fmal=no
20316fi
20317rm -f core conftest.err conftest.$ac_objext \
20318 conftest$ac_exeext conftest.$ac_ext
20319fi
20320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20321$as_echo "$gcc_cv_math_func_fmal" >&6; }
20322 if test $gcc_cv_math_func_fmal = yes; then
20323
20324cat >>confdefs.h <<_ACEOF
20325#define HAVE_FMAL 1
20326_ACEOF
20327
20328 fi
20329
20330
20331
20332
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20334$as_echo_n "checking for fmodf... " >&6; }
20335if ${gcc_cv_math_func_fmodf+:} false; then :
20336 $as_echo_n "(cached) " >&6
20337else
20338 if test x$gcc_no_link = xyes; then
20339 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20340fi
20341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20342/* end confdefs.h. */
20343
20344#ifdef HAVE_COMPLEX_H
20345#include <complex.h>
20346#endif
20347#ifdef HAVE_MATH_H
20348#include <math.h>
20349#endif
20350
20351int (*ptr)() = (int (*)())fmodf;
20352
20353int
20354main ()
20355{
20356 return 0;
20357}
20358
20359_ACEOF
20360if ac_fn_c_try_link "$LINENO"; then :
20361 gcc_cv_math_func_fmodf=yes
20362else
20363 gcc_cv_math_func_fmodf=no
20364fi
20365rm -f core conftest.err conftest.$ac_objext \
20366 conftest$ac_exeext conftest.$ac_ext
20367fi
20368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20369$as_echo "$gcc_cv_math_func_fmodf" >&6; }
20370 if test $gcc_cv_math_func_fmodf = yes; then
20371
20372cat >>confdefs.h <<_ACEOF
20373#define HAVE_FMODF 1
20374_ACEOF
20375
20376 fi
20377
20378
20379
20380
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20382$as_echo_n "checking for fmod... " >&6; }
20383if ${gcc_cv_math_func_fmod+:} false; then :
20384 $as_echo_n "(cached) " >&6
20385else
20386 if test x$gcc_no_link = xyes; then
20387 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20388fi
20389cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20390/* end confdefs.h. */
20391
20392#ifdef HAVE_COMPLEX_H
20393#include <complex.h>
20394#endif
20395#ifdef HAVE_MATH_H
20396#include <math.h>
20397#endif
20398
20399int (*ptr)() = (int (*)())fmod;
20400
20401int
20402main ()
20403{
20404 return 0;
20405}
20406
20407_ACEOF
20408if ac_fn_c_try_link "$LINENO"; then :
20409 gcc_cv_math_func_fmod=yes
20410else
20411 gcc_cv_math_func_fmod=no
20412fi
20413rm -f core conftest.err conftest.$ac_objext \
20414 conftest$ac_exeext conftest.$ac_ext
20415fi
20416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20417$as_echo "$gcc_cv_math_func_fmod" >&6; }
20418 if test $gcc_cv_math_func_fmod = yes; then
20419
20420cat >>confdefs.h <<_ACEOF
20421#define HAVE_FMOD 1
20422_ACEOF
20423
20424 fi
20425
20426
20427
20428
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20430$as_echo_n "checking for fmodl... " >&6; }
20431if ${gcc_cv_math_func_fmodl+:} false; then :
20432 $as_echo_n "(cached) " >&6
20433else
20434 if test x$gcc_no_link = xyes; then
20435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20436fi
20437cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20438/* end confdefs.h. */
20439
20440#ifdef HAVE_COMPLEX_H
20441#include <complex.h>
20442#endif
20443#ifdef HAVE_MATH_H
20444#include <math.h>
20445#endif
20446
20447int (*ptr)() = (int (*)())fmodl;
20448
20449int
20450main ()
20451{
20452 return 0;
20453}
20454
20455_ACEOF
20456if ac_fn_c_try_link "$LINENO"; then :
20457 gcc_cv_math_func_fmodl=yes
20458else
20459 gcc_cv_math_func_fmodl=no
20460fi
20461rm -f core conftest.err conftest.$ac_objext \
20462 conftest$ac_exeext conftest.$ac_ext
20463fi
20464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20465$as_echo "$gcc_cv_math_func_fmodl" >&6; }
20466 if test $gcc_cv_math_func_fmodl = yes; then
20467
20468cat >>confdefs.h <<_ACEOF
20469#define HAVE_FMODL 1
20470_ACEOF
20471
20472 fi
20473
20474
20475
20476
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20478$as_echo_n "checking for frexpf... " >&6; }
20479if ${gcc_cv_math_func_frexpf+:} false; then :
20480 $as_echo_n "(cached) " >&6
20481else
20482 if test x$gcc_no_link = xyes; then
20483 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20484fi
20485cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20486/* end confdefs.h. */
20487
20488#ifdef HAVE_COMPLEX_H
20489#include <complex.h>
20490#endif
20491#ifdef HAVE_MATH_H
20492#include <math.h>
20493#endif
20494
20495int (*ptr)() = (int (*)())frexpf;
20496
20497int
20498main ()
20499{
20500 return 0;
20501}
20502
20503_ACEOF
20504if ac_fn_c_try_link "$LINENO"; then :
20505 gcc_cv_math_func_frexpf=yes
20506else
20507 gcc_cv_math_func_frexpf=no
20508fi
20509rm -f core conftest.err conftest.$ac_objext \
20510 conftest$ac_exeext conftest.$ac_ext
20511fi
20512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20513$as_echo "$gcc_cv_math_func_frexpf" >&6; }
20514 if test $gcc_cv_math_func_frexpf = yes; then
20515
20516cat >>confdefs.h <<_ACEOF
20517#define HAVE_FREXPF 1
20518_ACEOF
20519
20520 fi
20521
20522
20523
20524
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20526$as_echo_n "checking for frexp... " >&6; }
20527if ${gcc_cv_math_func_frexp+:} false; then :
20528 $as_echo_n "(cached) " >&6
20529else
20530 if test x$gcc_no_link = xyes; then
20531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20532fi
20533cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20534/* end confdefs.h. */
20535
20536#ifdef HAVE_COMPLEX_H
20537#include <complex.h>
20538#endif
20539#ifdef HAVE_MATH_H
20540#include <math.h>
20541#endif
20542
20543int (*ptr)() = (int (*)())frexp;
20544
20545int
20546main ()
20547{
20548 return 0;
20549}
20550
20551_ACEOF
20552if ac_fn_c_try_link "$LINENO"; then :
20553 gcc_cv_math_func_frexp=yes
20554else
20555 gcc_cv_math_func_frexp=no
20556fi
20557rm -f core conftest.err conftest.$ac_objext \
20558 conftest$ac_exeext conftest.$ac_ext
20559fi
20560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20561$as_echo "$gcc_cv_math_func_frexp" >&6; }
20562 if test $gcc_cv_math_func_frexp = yes; then
20563
20564cat >>confdefs.h <<_ACEOF
20565#define HAVE_FREXP 1
20566_ACEOF
20567
20568 fi
20569
20570
20571
20572
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20574$as_echo_n "checking for frexpl... " >&6; }
20575if ${gcc_cv_math_func_frexpl+:} false; then :
20576 $as_echo_n "(cached) " >&6
20577else
20578 if test x$gcc_no_link = xyes; then
20579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20580fi
20581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20582/* end confdefs.h. */
20583
20584#ifdef HAVE_COMPLEX_H
20585#include <complex.h>
20586#endif
20587#ifdef HAVE_MATH_H
20588#include <math.h>
20589#endif
20590
20591int (*ptr)() = (int (*)())frexpl;
20592
20593int
20594main ()
20595{
20596 return 0;
20597}
20598
20599_ACEOF
20600if ac_fn_c_try_link "$LINENO"; then :
20601 gcc_cv_math_func_frexpl=yes
20602else
20603 gcc_cv_math_func_frexpl=no
20604fi
20605rm -f core conftest.err conftest.$ac_objext \
20606 conftest$ac_exeext conftest.$ac_ext
20607fi
20608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20609$as_echo "$gcc_cv_math_func_frexpl" >&6; }
20610 if test $gcc_cv_math_func_frexpl = yes; then
20611
20612cat >>confdefs.h <<_ACEOF
20613#define HAVE_FREXPL 1
20614_ACEOF
20615
20616 fi
20617
20618
20619
20620
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20622$as_echo_n "checking for hypotf... " >&6; }
20623if ${gcc_cv_math_func_hypotf+:} false; then :
20624 $as_echo_n "(cached) " >&6
20625else
20626 if test x$gcc_no_link = xyes; then
20627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20628fi
20629cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20630/* end confdefs.h. */
20631
20632#ifdef HAVE_COMPLEX_H
20633#include <complex.h>
20634#endif
20635#ifdef HAVE_MATH_H
20636#include <math.h>
20637#endif
20638
20639int (*ptr)() = (int (*)())hypotf;
20640
20641int
20642main ()
20643{
20644 return 0;
20645}
20646
20647_ACEOF
20648if ac_fn_c_try_link "$LINENO"; then :
20649 gcc_cv_math_func_hypotf=yes
20650else
20651 gcc_cv_math_func_hypotf=no
20652fi
20653rm -f core conftest.err conftest.$ac_objext \
20654 conftest$ac_exeext conftest.$ac_ext
20655fi
20656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20657$as_echo "$gcc_cv_math_func_hypotf" >&6; }
20658 if test $gcc_cv_math_func_hypotf = yes; then
20659
20660cat >>confdefs.h <<_ACEOF
20661#define HAVE_HYPOTF 1
20662_ACEOF
20663
20664 fi
20665
20666
20667
20668
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20670$as_echo_n "checking for hypot... " >&6; }
20671if ${gcc_cv_math_func_hypot+:} false; then :
20672 $as_echo_n "(cached) " >&6
20673else
20674 if test x$gcc_no_link = xyes; then
20675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20676fi
20677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678/* end confdefs.h. */
20679
20680#ifdef HAVE_COMPLEX_H
20681#include <complex.h>
20682#endif
20683#ifdef HAVE_MATH_H
20684#include <math.h>
20685#endif
20686
20687int (*ptr)() = (int (*)())hypot;
20688
20689int
20690main ()
20691{
20692 return 0;
20693}
20694
20695_ACEOF
20696if ac_fn_c_try_link "$LINENO"; then :
20697 gcc_cv_math_func_hypot=yes
20698else
20699 gcc_cv_math_func_hypot=no
20700fi
20701rm -f core conftest.err conftest.$ac_objext \
20702 conftest$ac_exeext conftest.$ac_ext
20703fi
20704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20705$as_echo "$gcc_cv_math_func_hypot" >&6; }
20706 if test $gcc_cv_math_func_hypot = yes; then
20707
20708cat >>confdefs.h <<_ACEOF
20709#define HAVE_HYPOT 1
20710_ACEOF
20711
20712 fi
20713
20714
20715
20716
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20718$as_echo_n "checking for hypotl... " >&6; }
20719if ${gcc_cv_math_func_hypotl+:} false; then :
20720 $as_echo_n "(cached) " >&6
20721else
20722 if test x$gcc_no_link = xyes; then
20723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20724fi
20725cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726/* end confdefs.h. */
20727
20728#ifdef HAVE_COMPLEX_H
20729#include <complex.h>
20730#endif
20731#ifdef HAVE_MATH_H
20732#include <math.h>
20733#endif
20734
20735int (*ptr)() = (int (*)())hypotl;
20736
20737int
20738main ()
20739{
20740 return 0;
20741}
20742
20743_ACEOF
20744if ac_fn_c_try_link "$LINENO"; then :
20745 gcc_cv_math_func_hypotl=yes
20746else
20747 gcc_cv_math_func_hypotl=no
20748fi
20749rm -f core conftest.err conftest.$ac_objext \
20750 conftest$ac_exeext conftest.$ac_ext
20751fi
20752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20753$as_echo "$gcc_cv_math_func_hypotl" >&6; }
20754 if test $gcc_cv_math_func_hypotl = yes; then
20755
20756cat >>confdefs.h <<_ACEOF
20757#define HAVE_HYPOTL 1
20758_ACEOF
20759
20760 fi
20761
20762
20763
20764
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20766$as_echo_n "checking for ldexpf... " >&6; }
20767if ${gcc_cv_math_func_ldexpf+:} false; then :
20768 $as_echo_n "(cached) " >&6
20769else
20770 if test x$gcc_no_link = xyes; then
20771 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20772fi
20773cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20774/* end confdefs.h. */
20775
20776#ifdef HAVE_COMPLEX_H
20777#include <complex.h>
20778#endif
20779#ifdef HAVE_MATH_H
20780#include <math.h>
20781#endif
20782
20783int (*ptr)() = (int (*)())ldexpf;
20784
20785int
20786main ()
20787{
20788 return 0;
20789}
20790
20791_ACEOF
20792if ac_fn_c_try_link "$LINENO"; then :
20793 gcc_cv_math_func_ldexpf=yes
20794else
20795 gcc_cv_math_func_ldexpf=no
20796fi
20797rm -f core conftest.err conftest.$ac_objext \
20798 conftest$ac_exeext conftest.$ac_ext
20799fi
20800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20801$as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20802 if test $gcc_cv_math_func_ldexpf = yes; then
20803
20804cat >>confdefs.h <<_ACEOF
20805#define HAVE_LDEXPF 1
20806_ACEOF
20807
20808 fi
20809
20810
20811
20812
20813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20814$as_echo_n "checking for ldexp... " >&6; }
20815if ${gcc_cv_math_func_ldexp+:} false; then :
20816 $as_echo_n "(cached) " >&6
20817else
20818 if test x$gcc_no_link = xyes; then
20819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20820fi
20821cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822/* end confdefs.h. */
20823
20824#ifdef HAVE_COMPLEX_H
20825#include <complex.h>
20826#endif
20827#ifdef HAVE_MATH_H
20828#include <math.h>
20829#endif
20830
20831int (*ptr)() = (int (*)())ldexp;
20832
20833int
20834main ()
20835{
20836 return 0;
20837}
20838
20839_ACEOF
20840if ac_fn_c_try_link "$LINENO"; then :
20841 gcc_cv_math_func_ldexp=yes
20842else
20843 gcc_cv_math_func_ldexp=no
20844fi
20845rm -f core conftest.err conftest.$ac_objext \
20846 conftest$ac_exeext conftest.$ac_ext
20847fi
20848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20849$as_echo "$gcc_cv_math_func_ldexp" >&6; }
20850 if test $gcc_cv_math_func_ldexp = yes; then
20851
20852cat >>confdefs.h <<_ACEOF
20853#define HAVE_LDEXP 1
20854_ACEOF
20855
20856 fi
20857
20858
20859
20860
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20862$as_echo_n "checking for ldexpl... " >&6; }
20863if ${gcc_cv_math_func_ldexpl+:} false; then :
20864 $as_echo_n "(cached) " >&6
20865else
20866 if test x$gcc_no_link = xyes; then
20867 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20868fi
20869cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20870/* end confdefs.h. */
20871
20872#ifdef HAVE_COMPLEX_H
20873#include <complex.h>
20874#endif
20875#ifdef HAVE_MATH_H
20876#include <math.h>
20877#endif
20878
20879int (*ptr)() = (int (*)())ldexpl;
20880
20881int
20882main ()
20883{
20884 return 0;
20885}
20886
20887_ACEOF
20888if ac_fn_c_try_link "$LINENO"; then :
20889 gcc_cv_math_func_ldexpl=yes
20890else
20891 gcc_cv_math_func_ldexpl=no
20892fi
20893rm -f core conftest.err conftest.$ac_objext \
20894 conftest$ac_exeext conftest.$ac_ext
20895fi
20896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20897$as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20898 if test $gcc_cv_math_func_ldexpl = yes; then
20899
20900cat >>confdefs.h <<_ACEOF
20901#define HAVE_LDEXPL 1
20902_ACEOF
20903
20904 fi
20905
20906
20907
20908
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20910$as_echo_n "checking for logf... " >&6; }
20911if ${gcc_cv_math_func_logf+:} false; then :
20912 $as_echo_n "(cached) " >&6
20913else
20914 if test x$gcc_no_link = xyes; then
20915 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20916fi
20917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918/* end confdefs.h. */
20919
20920#ifdef HAVE_COMPLEX_H
20921#include <complex.h>
20922#endif
20923#ifdef HAVE_MATH_H
20924#include <math.h>
20925#endif
20926
20927int (*ptr)() = (int (*)())logf;
20928
20929int
20930main ()
20931{
20932 return 0;
20933}
20934
20935_ACEOF
20936if ac_fn_c_try_link "$LINENO"; then :
20937 gcc_cv_math_func_logf=yes
20938else
20939 gcc_cv_math_func_logf=no
20940fi
20941rm -f core conftest.err conftest.$ac_objext \
20942 conftest$ac_exeext conftest.$ac_ext
20943fi
20944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20945$as_echo "$gcc_cv_math_func_logf" >&6; }
20946 if test $gcc_cv_math_func_logf = yes; then
20947
20948cat >>confdefs.h <<_ACEOF
20949#define HAVE_LOGF 1
20950_ACEOF
20951
20952 fi
20953
20954
20955
20956
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20958$as_echo_n "checking for log... " >&6; }
20959if ${gcc_cv_math_func_log+:} false; then :
20960 $as_echo_n "(cached) " >&6
20961else
20962 if test x$gcc_no_link = xyes; then
20963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20964fi
20965cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966/* end confdefs.h. */
20967
20968#ifdef HAVE_COMPLEX_H
20969#include <complex.h>
20970#endif
20971#ifdef HAVE_MATH_H
20972#include <math.h>
20973#endif
20974
20975int (*ptr)() = (int (*)())log;
20976
20977int
20978main ()
20979{
20980 return 0;
20981}
20982
20983_ACEOF
20984if ac_fn_c_try_link "$LINENO"; then :
20985 gcc_cv_math_func_log=yes
20986else
20987 gcc_cv_math_func_log=no
20988fi
20989rm -f core conftest.err conftest.$ac_objext \
20990 conftest$ac_exeext conftest.$ac_ext
20991fi
20992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20993$as_echo "$gcc_cv_math_func_log" >&6; }
20994 if test $gcc_cv_math_func_log = yes; then
20995
20996cat >>confdefs.h <<_ACEOF
20997#define HAVE_LOG 1
20998_ACEOF
20999
21000 fi
21001
21002
21003
21004
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
21006$as_echo_n "checking for logl... " >&6; }
21007if ${gcc_cv_math_func_logl+:} false; then :
21008 $as_echo_n "(cached) " >&6
21009else
21010 if test x$gcc_no_link = xyes; then
21011 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21012fi
21013cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014/* end confdefs.h. */
21015
21016#ifdef HAVE_COMPLEX_H
21017#include <complex.h>
21018#endif
21019#ifdef HAVE_MATH_H
21020#include <math.h>
21021#endif
21022
21023int (*ptr)() = (int (*)())logl;
21024
21025int
21026main ()
21027{
21028 return 0;
21029}
21030
21031_ACEOF
21032if ac_fn_c_try_link "$LINENO"; then :
21033 gcc_cv_math_func_logl=yes
21034else
21035 gcc_cv_math_func_logl=no
21036fi
21037rm -f core conftest.err conftest.$ac_objext \
21038 conftest$ac_exeext conftest.$ac_ext
21039fi
21040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
21041$as_echo "$gcc_cv_math_func_logl" >&6; }
21042 if test $gcc_cv_math_func_logl = yes; then
21043
21044cat >>confdefs.h <<_ACEOF
21045#define HAVE_LOGL 1
21046_ACEOF
21047
21048 fi
21049
21050
21051
21052
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
21054$as_echo_n "checking for clogf... " >&6; }
21055if ${gcc_cv_math_func_clogf+:} false; then :
21056 $as_echo_n "(cached) " >&6
21057else
21058 if test x$gcc_no_link = xyes; then
21059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21060fi
21061cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21062/* end confdefs.h. */
21063
21064#ifdef HAVE_COMPLEX_H
21065#include <complex.h>
21066#endif
21067#ifdef HAVE_MATH_H
21068#include <math.h>
21069#endif
21070
21071int (*ptr)() = (int (*)())clogf;
21072
21073int
21074main ()
21075{
21076 return 0;
21077}
21078
21079_ACEOF
21080if ac_fn_c_try_link "$LINENO"; then :
21081 gcc_cv_math_func_clogf=yes
21082else
21083 gcc_cv_math_func_clogf=no
21084fi
21085rm -f core conftest.err conftest.$ac_objext \
21086 conftest$ac_exeext conftest.$ac_ext
21087fi
21088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
21089$as_echo "$gcc_cv_math_func_clogf" >&6; }
21090 if test $gcc_cv_math_func_clogf = yes; then
21091
21092cat >>confdefs.h <<_ACEOF
21093#define HAVE_CLOGF 1
21094_ACEOF
21095
21096 fi
21097
21098
21099
21100
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
21102$as_echo_n "checking for clog... " >&6; }
21103if ${gcc_cv_math_func_clog+:} false; then :
21104 $as_echo_n "(cached) " >&6
21105else
21106 if test x$gcc_no_link = xyes; then
21107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21108fi
21109cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21110/* end confdefs.h. */
21111
21112#ifdef HAVE_COMPLEX_H
21113#include <complex.h>
21114#endif
21115#ifdef HAVE_MATH_H
21116#include <math.h>
21117#endif
21118
21119int (*ptr)() = (int (*)())clog;
21120
21121int
21122main ()
21123{
21124 return 0;
21125}
21126
21127_ACEOF
21128if ac_fn_c_try_link "$LINENO"; then :
21129 gcc_cv_math_func_clog=yes
21130else
21131 gcc_cv_math_func_clog=no
21132fi
21133rm -f core conftest.err conftest.$ac_objext \
21134 conftest$ac_exeext conftest.$ac_ext
21135fi
21136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21137$as_echo "$gcc_cv_math_func_clog" >&6; }
21138 if test $gcc_cv_math_func_clog = yes; then
21139
21140cat >>confdefs.h <<_ACEOF
21141#define HAVE_CLOG 1
21142_ACEOF
21143
21144 fi
21145
21146
21147
21148
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21150$as_echo_n "checking for clogl... " >&6; }
21151if ${gcc_cv_math_func_clogl+:} false; then :
21152 $as_echo_n "(cached) " >&6
21153else
21154 if test x$gcc_no_link = xyes; then
21155 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21156fi
21157cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21158/* end confdefs.h. */
21159
21160#ifdef HAVE_COMPLEX_H
21161#include <complex.h>
21162#endif
21163#ifdef HAVE_MATH_H
21164#include <math.h>
21165#endif
21166
21167int (*ptr)() = (int (*)())clogl;
21168
21169int
21170main ()
21171{
21172 return 0;
21173}
21174
21175_ACEOF
21176if ac_fn_c_try_link "$LINENO"; then :
21177 gcc_cv_math_func_clogl=yes
21178else
21179 gcc_cv_math_func_clogl=no
21180fi
21181rm -f core conftest.err conftest.$ac_objext \
21182 conftest$ac_exeext conftest.$ac_ext
21183fi
21184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21185$as_echo "$gcc_cv_math_func_clogl" >&6; }
21186 if test $gcc_cv_math_func_clogl = yes; then
21187
21188cat >>confdefs.h <<_ACEOF
21189#define HAVE_CLOGL 1
21190_ACEOF
21191
21192 fi
21193
21194
21195
21196
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21198$as_echo_n "checking for log10f... " >&6; }
21199if ${gcc_cv_math_func_log10f+:} false; then :
21200 $as_echo_n "(cached) " >&6
21201else
21202 if test x$gcc_no_link = xyes; then
21203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21204fi
21205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21206/* end confdefs.h. */
21207
21208#ifdef HAVE_COMPLEX_H
21209#include <complex.h>
21210#endif
21211#ifdef HAVE_MATH_H
21212#include <math.h>
21213#endif
21214
21215int (*ptr)() = (int (*)())log10f;
21216
21217int
21218main ()
21219{
21220 return 0;
21221}
21222
21223_ACEOF
21224if ac_fn_c_try_link "$LINENO"; then :
21225 gcc_cv_math_func_log10f=yes
21226else
21227 gcc_cv_math_func_log10f=no
21228fi
21229rm -f core conftest.err conftest.$ac_objext \
21230 conftest$ac_exeext conftest.$ac_ext
21231fi
21232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21233$as_echo "$gcc_cv_math_func_log10f" >&6; }
21234 if test $gcc_cv_math_func_log10f = yes; then
21235
21236cat >>confdefs.h <<_ACEOF
21237#define HAVE_LOG10F 1
21238_ACEOF
21239
21240 fi
21241
21242
21243
21244
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21246$as_echo_n "checking for log10... " >&6; }
21247if ${gcc_cv_math_func_log10+:} false; then :
21248 $as_echo_n "(cached) " >&6
21249else
21250 if test x$gcc_no_link = xyes; then
21251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21252fi
21253cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21254/* end confdefs.h. */
21255
21256#ifdef HAVE_COMPLEX_H
21257#include <complex.h>
21258#endif
21259#ifdef HAVE_MATH_H
21260#include <math.h>
21261#endif
21262
21263int (*ptr)() = (int (*)())log10;
21264
21265int
21266main ()
21267{
21268 return 0;
21269}
21270
21271_ACEOF
21272if ac_fn_c_try_link "$LINENO"; then :
21273 gcc_cv_math_func_log10=yes
21274else
21275 gcc_cv_math_func_log10=no
21276fi
21277rm -f core conftest.err conftest.$ac_objext \
21278 conftest$ac_exeext conftest.$ac_ext
21279fi
21280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21281$as_echo "$gcc_cv_math_func_log10" >&6; }
21282 if test $gcc_cv_math_func_log10 = yes; then
21283
21284cat >>confdefs.h <<_ACEOF
21285#define HAVE_LOG10 1
21286_ACEOF
21287
21288 fi
21289
21290
21291
21292
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21294$as_echo_n "checking for log10l... " >&6; }
21295if ${gcc_cv_math_func_log10l+:} false; then :
21296 $as_echo_n "(cached) " >&6
21297else
21298 if test x$gcc_no_link = xyes; then
21299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21300fi
21301cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21302/* end confdefs.h. */
21303
21304#ifdef HAVE_COMPLEX_H
21305#include <complex.h>
21306#endif
21307#ifdef HAVE_MATH_H
21308#include <math.h>
21309#endif
21310
21311int (*ptr)() = (int (*)())log10l;
21312
21313int
21314main ()
21315{
21316 return 0;
21317}
21318
21319_ACEOF
21320if ac_fn_c_try_link "$LINENO"; then :
21321 gcc_cv_math_func_log10l=yes
21322else
21323 gcc_cv_math_func_log10l=no
21324fi
21325rm -f core conftest.err conftest.$ac_objext \
21326 conftest$ac_exeext conftest.$ac_ext
21327fi
21328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21329$as_echo "$gcc_cv_math_func_log10l" >&6; }
21330 if test $gcc_cv_math_func_log10l = yes; then
21331
21332cat >>confdefs.h <<_ACEOF
21333#define HAVE_LOG10L 1
21334_ACEOF
21335
21336 fi
21337
21338
21339
21340
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21342$as_echo_n "checking for clog10f... " >&6; }
21343if ${gcc_cv_math_func_clog10f+:} false; then :
21344 $as_echo_n "(cached) " >&6
21345else
21346 if test x$gcc_no_link = xyes; then
21347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21348fi
21349cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21350/* end confdefs.h. */
21351
21352#ifdef HAVE_COMPLEX_H
21353#include <complex.h>
21354#endif
21355#ifdef HAVE_MATH_H
21356#include <math.h>
21357#endif
21358
21359int (*ptr)() = (int (*)())clog10f;
21360
21361int
21362main ()
21363{
21364 return 0;
21365}
21366
21367_ACEOF
21368if ac_fn_c_try_link "$LINENO"; then :
21369 gcc_cv_math_func_clog10f=yes
21370else
21371 gcc_cv_math_func_clog10f=no
21372fi
21373rm -f core conftest.err conftest.$ac_objext \
21374 conftest$ac_exeext conftest.$ac_ext
21375fi
21376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21377$as_echo "$gcc_cv_math_func_clog10f" >&6; }
21378 if test $gcc_cv_math_func_clog10f = yes; then
21379
21380cat >>confdefs.h <<_ACEOF
21381#define HAVE_CLOG10F 1
21382_ACEOF
21383
21384 fi
21385
21386
21387
21388
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21390$as_echo_n "checking for clog10... " >&6; }
21391if ${gcc_cv_math_func_clog10+:} false; then :
21392 $as_echo_n "(cached) " >&6
21393else
21394 if test x$gcc_no_link = xyes; then
21395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21396fi
21397cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21398/* end confdefs.h. */
21399
21400#ifdef HAVE_COMPLEX_H
21401#include <complex.h>
21402#endif
21403#ifdef HAVE_MATH_H
21404#include <math.h>
21405#endif
21406
21407int (*ptr)() = (int (*)())clog10;
21408
21409int
21410main ()
21411{
21412 return 0;
21413}
21414
21415_ACEOF
21416if ac_fn_c_try_link "$LINENO"; then :
21417 gcc_cv_math_func_clog10=yes
21418else
21419 gcc_cv_math_func_clog10=no
21420fi
21421rm -f core conftest.err conftest.$ac_objext \
21422 conftest$ac_exeext conftest.$ac_ext
21423fi
21424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21425$as_echo "$gcc_cv_math_func_clog10" >&6; }
21426 if test $gcc_cv_math_func_clog10 = yes; then
21427
21428cat >>confdefs.h <<_ACEOF
21429#define HAVE_CLOG10 1
21430_ACEOF
21431
21432 fi
21433
21434
21435
21436
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21438$as_echo_n "checking for clog10l... " >&6; }
21439if ${gcc_cv_math_func_clog10l+:} false; then :
21440 $as_echo_n "(cached) " >&6
21441else
21442 if test x$gcc_no_link = xyes; then
21443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21444fi
21445cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21446/* end confdefs.h. */
21447
21448#ifdef HAVE_COMPLEX_H
21449#include <complex.h>
21450#endif
21451#ifdef HAVE_MATH_H
21452#include <math.h>
21453#endif
21454
21455int (*ptr)() = (int (*)())clog10l;
21456
21457int
21458main ()
21459{
21460 return 0;
21461}
21462
21463_ACEOF
21464if ac_fn_c_try_link "$LINENO"; then :
21465 gcc_cv_math_func_clog10l=yes
21466else
21467 gcc_cv_math_func_clog10l=no
21468fi
21469rm -f core conftest.err conftest.$ac_objext \
21470 conftest$ac_exeext conftest.$ac_ext
21471fi
21472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21473$as_echo "$gcc_cv_math_func_clog10l" >&6; }
21474 if test $gcc_cv_math_func_clog10l = yes; then
21475
21476cat >>confdefs.h <<_ACEOF
21477#define HAVE_CLOG10L 1
21478_ACEOF
21479
21480 fi
21481
21482
21483
21484
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21486$as_echo_n "checking for nextafterf... " >&6; }
21487if ${gcc_cv_math_func_nextafterf+:} false; then :
21488 $as_echo_n "(cached) " >&6
21489else
21490 if test x$gcc_no_link = xyes; then
21491 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21492fi
21493cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21494/* end confdefs.h. */
21495
21496#ifdef HAVE_COMPLEX_H
21497#include <complex.h>
21498#endif
21499#ifdef HAVE_MATH_H
21500#include <math.h>
21501#endif
21502
21503int (*ptr)() = (int (*)())nextafterf;
21504
21505int
21506main ()
21507{
21508 return 0;
21509}
21510
21511_ACEOF
21512if ac_fn_c_try_link "$LINENO"; then :
21513 gcc_cv_math_func_nextafterf=yes
21514else
21515 gcc_cv_math_func_nextafterf=no
21516fi
21517rm -f core conftest.err conftest.$ac_objext \
21518 conftest$ac_exeext conftest.$ac_ext
21519fi
21520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21521$as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21522 if test $gcc_cv_math_func_nextafterf = yes; then
21523
21524cat >>confdefs.h <<_ACEOF
21525#define HAVE_NEXTAFTERF 1
21526_ACEOF
21527
21528 fi
21529
21530
21531
21532
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21534$as_echo_n "checking for nextafter... " >&6; }
21535if ${gcc_cv_math_func_nextafter+:} false; then :
21536 $as_echo_n "(cached) " >&6
21537else
21538 if test x$gcc_no_link = xyes; then
21539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21540fi
21541cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542/* end confdefs.h. */
21543
21544#ifdef HAVE_COMPLEX_H
21545#include <complex.h>
21546#endif
21547#ifdef HAVE_MATH_H
21548#include <math.h>
21549#endif
21550
21551int (*ptr)() = (int (*)())nextafter;
21552
21553int
21554main ()
21555{
21556 return 0;
21557}
21558
21559_ACEOF
21560if ac_fn_c_try_link "$LINENO"; then :
21561 gcc_cv_math_func_nextafter=yes
21562else
21563 gcc_cv_math_func_nextafter=no
21564fi
21565rm -f core conftest.err conftest.$ac_objext \
21566 conftest$ac_exeext conftest.$ac_ext
21567fi
21568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21569$as_echo "$gcc_cv_math_func_nextafter" >&6; }
21570 if test $gcc_cv_math_func_nextafter = yes; then
21571
21572cat >>confdefs.h <<_ACEOF
21573#define HAVE_NEXTAFTER 1
21574_ACEOF
21575
21576 fi
21577
21578
21579
21580
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21582$as_echo_n "checking for nextafterl... " >&6; }
21583if ${gcc_cv_math_func_nextafterl+:} false; then :
21584 $as_echo_n "(cached) " >&6
21585else
21586 if test x$gcc_no_link = xyes; then
21587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21588fi
21589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21590/* end confdefs.h. */
21591
21592#ifdef HAVE_COMPLEX_H
21593#include <complex.h>
21594#endif
21595#ifdef HAVE_MATH_H
21596#include <math.h>
21597#endif
21598
21599int (*ptr)() = (int (*)())nextafterl;
21600
21601int
21602main ()
21603{
21604 return 0;
21605}
21606
21607_ACEOF
21608if ac_fn_c_try_link "$LINENO"; then :
21609 gcc_cv_math_func_nextafterl=yes
21610else
21611 gcc_cv_math_func_nextafterl=no
21612fi
21613rm -f core conftest.err conftest.$ac_objext \
21614 conftest$ac_exeext conftest.$ac_ext
21615fi
21616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21617$as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21618 if test $gcc_cv_math_func_nextafterl = yes; then
21619
21620cat >>confdefs.h <<_ACEOF
21621#define HAVE_NEXTAFTERL 1
21622_ACEOF
21623
21624 fi
21625
21626
21627
21628
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21630$as_echo_n "checking for powf... " >&6; }
21631if ${gcc_cv_math_func_powf+:} false; then :
21632 $as_echo_n "(cached) " >&6
21633else
21634 if test x$gcc_no_link = xyes; then
21635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21636fi
21637cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21638/* end confdefs.h. */
21639
21640#ifdef HAVE_COMPLEX_H
21641#include <complex.h>
21642#endif
21643#ifdef HAVE_MATH_H
21644#include <math.h>
21645#endif
21646
21647int (*ptr)() = (int (*)())powf;
21648
21649int
21650main ()
21651{
21652 return 0;
21653}
21654
21655_ACEOF
21656if ac_fn_c_try_link "$LINENO"; then :
21657 gcc_cv_math_func_powf=yes
21658else
21659 gcc_cv_math_func_powf=no
21660fi
21661rm -f core conftest.err conftest.$ac_objext \
21662 conftest$ac_exeext conftest.$ac_ext
21663fi
21664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21665$as_echo "$gcc_cv_math_func_powf" >&6; }
21666 if test $gcc_cv_math_func_powf = yes; then
21667
21668cat >>confdefs.h <<_ACEOF
21669#define HAVE_POWF 1
21670_ACEOF
21671
21672 fi
21673
21674
21675
21676
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21678$as_echo_n "checking for pow... " >&6; }
21679if ${gcc_cv_math_func_pow+:} false; then :
21680 $as_echo_n "(cached) " >&6
21681else
21682 if test x$gcc_no_link = xyes; then
21683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21684fi
21685cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21686/* end confdefs.h. */
21687
21688#ifdef HAVE_COMPLEX_H
21689#include <complex.h>
21690#endif
21691#ifdef HAVE_MATH_H
21692#include <math.h>
21693#endif
21694
21695int (*ptr)() = (int (*)())pow;
21696
21697int
21698main ()
21699{
21700 return 0;
21701}
21702
21703_ACEOF
21704if ac_fn_c_try_link "$LINENO"; then :
21705 gcc_cv_math_func_pow=yes
21706else
21707 gcc_cv_math_func_pow=no
21708fi
21709rm -f core conftest.err conftest.$ac_objext \
21710 conftest$ac_exeext conftest.$ac_ext
21711fi
21712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21713$as_echo "$gcc_cv_math_func_pow" >&6; }
21714 if test $gcc_cv_math_func_pow = yes; then
21715
21716cat >>confdefs.h <<_ACEOF
21717#define HAVE_POW 1
21718_ACEOF
21719
21720 fi
21721
21722
21723
21724
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21726$as_echo_n "checking for cpowf... " >&6; }
21727if ${gcc_cv_math_func_cpowf+:} false; then :
21728 $as_echo_n "(cached) " >&6
21729else
21730 if test x$gcc_no_link = xyes; then
21731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21732fi
21733cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734/* end confdefs.h. */
21735
21736#ifdef HAVE_COMPLEX_H
21737#include <complex.h>
21738#endif
21739#ifdef HAVE_MATH_H
21740#include <math.h>
21741#endif
21742
21743int (*ptr)() = (int (*)())cpowf;
21744
21745int
21746main ()
21747{
21748 return 0;
21749}
21750
21751_ACEOF
21752if ac_fn_c_try_link "$LINENO"; then :
21753 gcc_cv_math_func_cpowf=yes
21754else
21755 gcc_cv_math_func_cpowf=no
21756fi
21757rm -f core conftest.err conftest.$ac_objext \
21758 conftest$ac_exeext conftest.$ac_ext
21759fi
21760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21761$as_echo "$gcc_cv_math_func_cpowf" >&6; }
21762 if test $gcc_cv_math_func_cpowf = yes; then
21763
21764cat >>confdefs.h <<_ACEOF
21765#define HAVE_CPOWF 1
21766_ACEOF
21767
21768 fi
21769
21770
21771
21772
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21774$as_echo_n "checking for cpow... " >&6; }
21775if ${gcc_cv_math_func_cpow+:} false; then :
21776 $as_echo_n "(cached) " >&6
21777else
21778 if test x$gcc_no_link = xyes; then
21779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21780fi
21781cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21782/* end confdefs.h. */
21783
21784#ifdef HAVE_COMPLEX_H
21785#include <complex.h>
21786#endif
21787#ifdef HAVE_MATH_H
21788#include <math.h>
21789#endif
21790
21791int (*ptr)() = (int (*)())cpow;
21792
21793int
21794main ()
21795{
21796 return 0;
21797}
21798
21799_ACEOF
21800if ac_fn_c_try_link "$LINENO"; then :
21801 gcc_cv_math_func_cpow=yes
21802else
21803 gcc_cv_math_func_cpow=no
21804fi
21805rm -f core conftest.err conftest.$ac_objext \
21806 conftest$ac_exeext conftest.$ac_ext
21807fi
21808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21809$as_echo "$gcc_cv_math_func_cpow" >&6; }
21810 if test $gcc_cv_math_func_cpow = yes; then
21811
21812cat >>confdefs.h <<_ACEOF
21813#define HAVE_CPOW 1
21814_ACEOF
21815
21816 fi
21817
21818
21819
21820
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21822$as_echo_n "checking for cpowl... " >&6; }
21823if ${gcc_cv_math_func_cpowl+:} false; then :
21824 $as_echo_n "(cached) " >&6
21825else
21826 if test x$gcc_no_link = xyes; then
21827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21828fi
21829cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21830/* end confdefs.h. */
21831
21832#ifdef HAVE_COMPLEX_H
21833#include <complex.h>
21834#endif
21835#ifdef HAVE_MATH_H
21836#include <math.h>
21837#endif
21838
21839int (*ptr)() = (int (*)())cpowl;
21840
21841int
21842main ()
21843{
21844 return 0;
21845}
21846
21847_ACEOF
21848if ac_fn_c_try_link "$LINENO"; then :
21849 gcc_cv_math_func_cpowl=yes
21850else
21851 gcc_cv_math_func_cpowl=no
21852fi
21853rm -f core conftest.err conftest.$ac_objext \
21854 conftest$ac_exeext conftest.$ac_ext
21855fi
21856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21857$as_echo "$gcc_cv_math_func_cpowl" >&6; }
21858 if test $gcc_cv_math_func_cpowl = yes; then
21859
21860cat >>confdefs.h <<_ACEOF
21861#define HAVE_CPOWL 1
21862_ACEOF
21863
21864 fi
21865
21866
21867
21868
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21870$as_echo_n "checking for roundf... " >&6; }
21871if ${gcc_cv_math_func_roundf+:} false; then :
21872 $as_echo_n "(cached) " >&6
21873else
21874 if test x$gcc_no_link = xyes; then
21875 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21876fi
21877cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21878/* end confdefs.h. */
21879
21880#ifdef HAVE_COMPLEX_H
21881#include <complex.h>
21882#endif
21883#ifdef HAVE_MATH_H
21884#include <math.h>
21885#endif
21886
21887int (*ptr)() = (int (*)())roundf;
21888
21889int
21890main ()
21891{
21892 return 0;
21893}
21894
21895_ACEOF
21896if ac_fn_c_try_link "$LINENO"; then :
21897 gcc_cv_math_func_roundf=yes
21898else
21899 gcc_cv_math_func_roundf=no
21900fi
21901rm -f core conftest.err conftest.$ac_objext \
21902 conftest$ac_exeext conftest.$ac_ext
21903fi
21904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21905$as_echo "$gcc_cv_math_func_roundf" >&6; }
21906 if test $gcc_cv_math_func_roundf = yes; then
21907
21908cat >>confdefs.h <<_ACEOF
21909#define HAVE_ROUNDF 1
21910_ACEOF
21911
21912 fi
21913
21914
21915
21916
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21918$as_echo_n "checking for round... " >&6; }
21919if ${gcc_cv_math_func_round+:} false; then :
21920 $as_echo_n "(cached) " >&6
21921else
21922 if test x$gcc_no_link = xyes; then
21923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21924fi
21925cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21926/* end confdefs.h. */
21927
21928#ifdef HAVE_COMPLEX_H
21929#include <complex.h>
21930#endif
21931#ifdef HAVE_MATH_H
21932#include <math.h>
21933#endif
21934
21935int (*ptr)() = (int (*)())round;
21936
21937int
21938main ()
21939{
21940 return 0;
21941}
21942
21943_ACEOF
21944if ac_fn_c_try_link "$LINENO"; then :
21945 gcc_cv_math_func_round=yes
21946else
21947 gcc_cv_math_func_round=no
21948fi
21949rm -f core conftest.err conftest.$ac_objext \
21950 conftest$ac_exeext conftest.$ac_ext
21951fi
21952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21953$as_echo "$gcc_cv_math_func_round" >&6; }
21954 if test $gcc_cv_math_func_round = yes; then
21955
21956cat >>confdefs.h <<_ACEOF
21957#define HAVE_ROUND 1
21958_ACEOF
21959
21960 fi
21961
21962
21963
21964
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21966$as_echo_n "checking for roundl... " >&6; }
21967if ${gcc_cv_math_func_roundl+:} false; then :
21968 $as_echo_n "(cached) " >&6
21969else
21970 if test x$gcc_no_link = xyes; then
21971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21972fi
21973cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21974/* end confdefs.h. */
21975
21976#ifdef HAVE_COMPLEX_H
21977#include <complex.h>
21978#endif
21979#ifdef HAVE_MATH_H
21980#include <math.h>
21981#endif
21982
21983int (*ptr)() = (int (*)())roundl;
21984
21985int
21986main ()
21987{
21988 return 0;
21989}
21990
21991_ACEOF
21992if ac_fn_c_try_link "$LINENO"; then :
21993 gcc_cv_math_func_roundl=yes
21994else
21995 gcc_cv_math_func_roundl=no
21996fi
21997rm -f core conftest.err conftest.$ac_objext \
21998 conftest$ac_exeext conftest.$ac_ext
21999fi
22000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
22001$as_echo "$gcc_cv_math_func_roundl" >&6; }
22002 if test $gcc_cv_math_func_roundl = yes; then
22003
22004cat >>confdefs.h <<_ACEOF
22005#define HAVE_ROUNDL 1
22006_ACEOF
22007
22008 fi
22009
22010
22011
22012
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
22014$as_echo_n "checking for lroundf... " >&6; }
22015if ${gcc_cv_math_func_lroundf+:} false; then :
22016 $as_echo_n "(cached) " >&6
22017else
22018 if test x$gcc_no_link = xyes; then
22019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22020fi
22021cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22022/* end confdefs.h. */
22023
22024#ifdef HAVE_COMPLEX_H
22025#include <complex.h>
22026#endif
22027#ifdef HAVE_MATH_H
22028#include <math.h>
22029#endif
22030
22031int (*ptr)() = (int (*)())lroundf;
22032
22033int
22034main ()
22035{
22036 return 0;
22037}
22038
22039_ACEOF
22040if ac_fn_c_try_link "$LINENO"; then :
22041 gcc_cv_math_func_lroundf=yes
22042else
22043 gcc_cv_math_func_lroundf=no
22044fi
22045rm -f core conftest.err conftest.$ac_objext \
22046 conftest$ac_exeext conftest.$ac_ext
22047fi
22048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
22049$as_echo "$gcc_cv_math_func_lroundf" >&6; }
22050 if test $gcc_cv_math_func_lroundf = yes; then
22051
22052cat >>confdefs.h <<_ACEOF
22053#define HAVE_LROUNDF 1
22054_ACEOF
22055
22056 fi
22057
22058
22059
22060
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
22062$as_echo_n "checking for lround... " >&6; }
22063if ${gcc_cv_math_func_lround+:} false; then :
22064 $as_echo_n "(cached) " >&6
22065else
22066 if test x$gcc_no_link = xyes; then
22067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22068fi
22069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22070/* end confdefs.h. */
22071
22072#ifdef HAVE_COMPLEX_H
22073#include <complex.h>
22074#endif
22075#ifdef HAVE_MATH_H
22076#include <math.h>
22077#endif
22078
22079int (*ptr)() = (int (*)())lround;
22080
22081int
22082main ()
22083{
22084 return 0;
22085}
22086
22087_ACEOF
22088if ac_fn_c_try_link "$LINENO"; then :
22089 gcc_cv_math_func_lround=yes
22090else
22091 gcc_cv_math_func_lround=no
22092fi
22093rm -f core conftest.err conftest.$ac_objext \
22094 conftest$ac_exeext conftest.$ac_ext
22095fi
22096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
22097$as_echo "$gcc_cv_math_func_lround" >&6; }
22098 if test $gcc_cv_math_func_lround = yes; then
22099
22100cat >>confdefs.h <<_ACEOF
22101#define HAVE_LROUND 1
22102_ACEOF
22103
22104 fi
22105
22106
22107
22108
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
22110$as_echo_n "checking for lroundl... " >&6; }
22111if ${gcc_cv_math_func_lroundl+:} false; then :
22112 $as_echo_n "(cached) " >&6
22113else
22114 if test x$gcc_no_link = xyes; then
22115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22116fi
22117cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22118/* end confdefs.h. */
22119
22120#ifdef HAVE_COMPLEX_H
22121#include <complex.h>
22122#endif
22123#ifdef HAVE_MATH_H
22124#include <math.h>
22125#endif
22126
22127int (*ptr)() = (int (*)())lroundl;
22128
22129int
22130main ()
22131{
22132 return 0;
22133}
22134
22135_ACEOF
22136if ac_fn_c_try_link "$LINENO"; then :
22137 gcc_cv_math_func_lroundl=yes
22138else
22139 gcc_cv_math_func_lroundl=no
22140fi
22141rm -f core conftest.err conftest.$ac_objext \
22142 conftest$ac_exeext conftest.$ac_ext
22143fi
22144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22145$as_echo "$gcc_cv_math_func_lroundl" >&6; }
22146 if test $gcc_cv_math_func_lroundl = yes; then
22147
22148cat >>confdefs.h <<_ACEOF
22149#define HAVE_LROUNDL 1
22150_ACEOF
22151
22152 fi
22153
22154
22155
22156
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22158$as_echo_n "checking for llroundf... " >&6; }
22159if ${gcc_cv_math_func_llroundf+:} false; then :
22160 $as_echo_n "(cached) " >&6
22161else
22162 if test x$gcc_no_link = xyes; then
22163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22164fi
22165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22166/* end confdefs.h. */
22167
22168#ifdef HAVE_COMPLEX_H
22169#include <complex.h>
22170#endif
22171#ifdef HAVE_MATH_H
22172#include <math.h>
22173#endif
22174
22175int (*ptr)() = (int (*)())llroundf;
22176
22177int
22178main ()
22179{
22180 return 0;
22181}
22182
22183_ACEOF
22184if ac_fn_c_try_link "$LINENO"; then :
22185 gcc_cv_math_func_llroundf=yes
22186else
22187 gcc_cv_math_func_llroundf=no
22188fi
22189rm -f core conftest.err conftest.$ac_objext \
22190 conftest$ac_exeext conftest.$ac_ext
22191fi
22192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22193$as_echo "$gcc_cv_math_func_llroundf" >&6; }
22194 if test $gcc_cv_math_func_llroundf = yes; then
22195
22196cat >>confdefs.h <<_ACEOF
22197#define HAVE_LLROUNDF 1
22198_ACEOF
22199
22200 fi
22201
22202
22203
22204
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22206$as_echo_n "checking for llround... " >&6; }
22207if ${gcc_cv_math_func_llround+:} false; then :
22208 $as_echo_n "(cached) " >&6
22209else
22210 if test x$gcc_no_link = xyes; then
22211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22212fi
22213cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214/* end confdefs.h. */
22215
22216#ifdef HAVE_COMPLEX_H
22217#include <complex.h>
22218#endif
22219#ifdef HAVE_MATH_H
22220#include <math.h>
22221#endif
22222
22223int (*ptr)() = (int (*)())llround;
22224
22225int
22226main ()
22227{
22228 return 0;
22229}
22230
22231_ACEOF
22232if ac_fn_c_try_link "$LINENO"; then :
22233 gcc_cv_math_func_llround=yes
22234else
22235 gcc_cv_math_func_llround=no
22236fi
22237rm -f core conftest.err conftest.$ac_objext \
22238 conftest$ac_exeext conftest.$ac_ext
22239fi
22240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22241$as_echo "$gcc_cv_math_func_llround" >&6; }
22242 if test $gcc_cv_math_func_llround = yes; then
22243
22244cat >>confdefs.h <<_ACEOF
22245#define HAVE_LLROUND 1
22246_ACEOF
22247
22248 fi
22249
22250
22251
22252
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22254$as_echo_n "checking for llroundl... " >&6; }
22255if ${gcc_cv_math_func_llroundl+:} false; then :
22256 $as_echo_n "(cached) " >&6
22257else
22258 if test x$gcc_no_link = xyes; then
22259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22260fi
22261cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22262/* end confdefs.h. */
22263
22264#ifdef HAVE_COMPLEX_H
22265#include <complex.h>
22266#endif
22267#ifdef HAVE_MATH_H
22268#include <math.h>
22269#endif
22270
22271int (*ptr)() = (int (*)())llroundl;
22272
22273int
22274main ()
22275{
22276 return 0;
22277}
22278
22279_ACEOF
22280if ac_fn_c_try_link "$LINENO"; then :
22281 gcc_cv_math_func_llroundl=yes
22282else
22283 gcc_cv_math_func_llroundl=no
22284fi
22285rm -f core conftest.err conftest.$ac_objext \
22286 conftest$ac_exeext conftest.$ac_ext
22287fi
22288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22289$as_echo "$gcc_cv_math_func_llroundl" >&6; }
22290 if test $gcc_cv_math_func_llroundl = yes; then
22291
22292cat >>confdefs.h <<_ACEOF
22293#define HAVE_LLROUNDL 1
22294_ACEOF
22295
22296 fi
22297
22298
22299
22300
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22302$as_echo_n "checking for scalbnf... " >&6; }
22303if ${gcc_cv_math_func_scalbnf+:} false; then :
22304 $as_echo_n "(cached) " >&6
22305else
22306 if test x$gcc_no_link = xyes; then
22307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22308fi
22309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22310/* end confdefs.h. */
22311
22312#ifdef HAVE_COMPLEX_H
22313#include <complex.h>
22314#endif
22315#ifdef HAVE_MATH_H
22316#include <math.h>
22317#endif
22318
22319int (*ptr)() = (int (*)())scalbnf;
22320
22321int
22322main ()
22323{
22324 return 0;
22325}
22326
22327_ACEOF
22328if ac_fn_c_try_link "$LINENO"; then :
22329 gcc_cv_math_func_scalbnf=yes
22330else
22331 gcc_cv_math_func_scalbnf=no
22332fi
22333rm -f core conftest.err conftest.$ac_objext \
22334 conftest$ac_exeext conftest.$ac_ext
22335fi
22336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22337$as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22338 if test $gcc_cv_math_func_scalbnf = yes; then
22339
22340cat >>confdefs.h <<_ACEOF
22341#define HAVE_SCALBNF 1
22342_ACEOF
22343
22344 fi
22345
22346
22347
22348
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22350$as_echo_n "checking for scalbn... " >&6; }
22351if ${gcc_cv_math_func_scalbn+:} false; then :
22352 $as_echo_n "(cached) " >&6
22353else
22354 if test x$gcc_no_link = xyes; then
22355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22356fi
22357cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22358/* end confdefs.h. */
22359
22360#ifdef HAVE_COMPLEX_H
22361#include <complex.h>
22362#endif
22363#ifdef HAVE_MATH_H
22364#include <math.h>
22365#endif
22366
22367int (*ptr)() = (int (*)())scalbn;
22368
22369int
22370main ()
22371{
22372 return 0;
22373}
22374
22375_ACEOF
22376if ac_fn_c_try_link "$LINENO"; then :
22377 gcc_cv_math_func_scalbn=yes
22378else
22379 gcc_cv_math_func_scalbn=no
22380fi
22381rm -f core conftest.err conftest.$ac_objext \
22382 conftest$ac_exeext conftest.$ac_ext
22383fi
22384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22385$as_echo "$gcc_cv_math_func_scalbn" >&6; }
22386 if test $gcc_cv_math_func_scalbn = yes; then
22387
22388cat >>confdefs.h <<_ACEOF
22389#define HAVE_SCALBN 1
22390_ACEOF
22391
22392 fi
22393
22394
22395
22396
22397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22398$as_echo_n "checking for scalbnl... " >&6; }
22399if ${gcc_cv_math_func_scalbnl+:} false; then :
22400 $as_echo_n "(cached) " >&6
22401else
22402 if test x$gcc_no_link = xyes; then
22403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22404fi
22405cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22406/* end confdefs.h. */
22407
22408#ifdef HAVE_COMPLEX_H
22409#include <complex.h>
22410#endif
22411#ifdef HAVE_MATH_H
22412#include <math.h>
22413#endif
22414
22415int (*ptr)() = (int (*)())scalbnl;
22416
22417int
22418main ()
22419{
22420 return 0;
22421}
22422
22423_ACEOF
22424if ac_fn_c_try_link "$LINENO"; then :
22425 gcc_cv_math_func_scalbnl=yes
22426else
22427 gcc_cv_math_func_scalbnl=no
22428fi
22429rm -f core conftest.err conftest.$ac_objext \
22430 conftest$ac_exeext conftest.$ac_ext
22431fi
22432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22433$as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22434 if test $gcc_cv_math_func_scalbnl = yes; then
22435
22436cat >>confdefs.h <<_ACEOF
22437#define HAVE_SCALBNL 1
22438_ACEOF
22439
22440 fi
22441
22442
22443
22444
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22446$as_echo_n "checking for sinf... " >&6; }
22447if ${gcc_cv_math_func_sinf+:} false; then :
22448 $as_echo_n "(cached) " >&6
22449else
22450 if test x$gcc_no_link = xyes; then
22451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22452fi
22453cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22454/* end confdefs.h. */
22455
22456#ifdef HAVE_COMPLEX_H
22457#include <complex.h>
22458#endif
22459#ifdef HAVE_MATH_H
22460#include <math.h>
22461#endif
22462
22463int (*ptr)() = (int (*)())sinf;
22464
22465int
22466main ()
22467{
22468 return 0;
22469}
22470
22471_ACEOF
22472if ac_fn_c_try_link "$LINENO"; then :
22473 gcc_cv_math_func_sinf=yes
22474else
22475 gcc_cv_math_func_sinf=no
22476fi
22477rm -f core conftest.err conftest.$ac_objext \
22478 conftest$ac_exeext conftest.$ac_ext
22479fi
22480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22481$as_echo "$gcc_cv_math_func_sinf" >&6; }
22482 if test $gcc_cv_math_func_sinf = yes; then
22483
22484cat >>confdefs.h <<_ACEOF
22485#define HAVE_SINF 1
22486_ACEOF
22487
22488 fi
22489
22490
22491
22492
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22494$as_echo_n "checking for sin... " >&6; }
22495if ${gcc_cv_math_func_sin+:} false; then :
22496 $as_echo_n "(cached) " >&6
22497else
22498 if test x$gcc_no_link = xyes; then
22499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22500fi
22501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22502/* end confdefs.h. */
22503
22504#ifdef HAVE_COMPLEX_H
22505#include <complex.h>
22506#endif
22507#ifdef HAVE_MATH_H
22508#include <math.h>
22509#endif
22510
22511int (*ptr)() = (int (*)())sin;
22512
22513int
22514main ()
22515{
22516 return 0;
22517}
22518
22519_ACEOF
22520if ac_fn_c_try_link "$LINENO"; then :
22521 gcc_cv_math_func_sin=yes
22522else
22523 gcc_cv_math_func_sin=no
22524fi
22525rm -f core conftest.err conftest.$ac_objext \
22526 conftest$ac_exeext conftest.$ac_ext
22527fi
22528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22529$as_echo "$gcc_cv_math_func_sin" >&6; }
22530 if test $gcc_cv_math_func_sin = yes; then
22531
22532cat >>confdefs.h <<_ACEOF
22533#define HAVE_SIN 1
22534_ACEOF
22535
22536 fi
22537
22538
22539
22540
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22542$as_echo_n "checking for sinl... " >&6; }
22543if ${gcc_cv_math_func_sinl+:} false; then :
22544 $as_echo_n "(cached) " >&6
22545else
22546 if test x$gcc_no_link = xyes; then
22547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22548fi
22549cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22550/* end confdefs.h. */
22551
22552#ifdef HAVE_COMPLEX_H
22553#include <complex.h>
22554#endif
22555#ifdef HAVE_MATH_H
22556#include <math.h>
22557#endif
22558
22559int (*ptr)() = (int (*)())sinl;
22560
22561int
22562main ()
22563{
22564 return 0;
22565}
22566
22567_ACEOF
22568if ac_fn_c_try_link "$LINENO"; then :
22569 gcc_cv_math_func_sinl=yes
22570else
22571 gcc_cv_math_func_sinl=no
22572fi
22573rm -f core conftest.err conftest.$ac_objext \
22574 conftest$ac_exeext conftest.$ac_ext
22575fi
22576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22577$as_echo "$gcc_cv_math_func_sinl" >&6; }
22578 if test $gcc_cv_math_func_sinl = yes; then
22579
22580cat >>confdefs.h <<_ACEOF
22581#define HAVE_SINL 1
22582_ACEOF
22583
22584 fi
22585
22586
22587
22588
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22590$as_echo_n "checking for csinf... " >&6; }
22591if ${gcc_cv_math_func_csinf+:} false; then :
22592 $as_echo_n "(cached) " >&6
22593else
22594 if test x$gcc_no_link = xyes; then
22595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22596fi
22597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22598/* end confdefs.h. */
22599
22600#ifdef HAVE_COMPLEX_H
22601#include <complex.h>
22602#endif
22603#ifdef HAVE_MATH_H
22604#include <math.h>
22605#endif
22606
22607int (*ptr)() = (int (*)())csinf;
22608
22609int
22610main ()
22611{
22612 return 0;
22613}
22614
22615_ACEOF
22616if ac_fn_c_try_link "$LINENO"; then :
22617 gcc_cv_math_func_csinf=yes
22618else
22619 gcc_cv_math_func_csinf=no
22620fi
22621rm -f core conftest.err conftest.$ac_objext \
22622 conftest$ac_exeext conftest.$ac_ext
22623fi
22624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22625$as_echo "$gcc_cv_math_func_csinf" >&6; }
22626 if test $gcc_cv_math_func_csinf = yes; then
22627
22628cat >>confdefs.h <<_ACEOF
22629#define HAVE_CSINF 1
22630_ACEOF
22631
22632 fi
22633
22634
22635
22636
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22638$as_echo_n "checking for csin... " >&6; }
22639if ${gcc_cv_math_func_csin+:} false; then :
22640 $as_echo_n "(cached) " >&6
22641else
22642 if test x$gcc_no_link = xyes; then
22643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22644fi
22645cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22646/* end confdefs.h. */
22647
22648#ifdef HAVE_COMPLEX_H
22649#include <complex.h>
22650#endif
22651#ifdef HAVE_MATH_H
22652#include <math.h>
22653#endif
22654
22655int (*ptr)() = (int (*)())csin;
22656
22657int
22658main ()
22659{
22660 return 0;
22661}
22662
22663_ACEOF
22664if ac_fn_c_try_link "$LINENO"; then :
22665 gcc_cv_math_func_csin=yes
22666else
22667 gcc_cv_math_func_csin=no
22668fi
22669rm -f core conftest.err conftest.$ac_objext \
22670 conftest$ac_exeext conftest.$ac_ext
22671fi
22672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22673$as_echo "$gcc_cv_math_func_csin" >&6; }
22674 if test $gcc_cv_math_func_csin = yes; then
22675
22676cat >>confdefs.h <<_ACEOF
22677#define HAVE_CSIN 1
22678_ACEOF
22679
22680 fi
22681
22682
22683
22684
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22686$as_echo_n "checking for csinl... " >&6; }
22687if ${gcc_cv_math_func_csinl+:} false; then :
22688 $as_echo_n "(cached) " >&6
22689else
22690 if test x$gcc_no_link = xyes; then
22691 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22692fi
22693cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22694/* end confdefs.h. */
22695
22696#ifdef HAVE_COMPLEX_H
22697#include <complex.h>
22698#endif
22699#ifdef HAVE_MATH_H
22700#include <math.h>
22701#endif
22702
22703int (*ptr)() = (int (*)())csinl;
22704
22705int
22706main ()
22707{
22708 return 0;
22709}
22710
22711_ACEOF
22712if ac_fn_c_try_link "$LINENO"; then :
22713 gcc_cv_math_func_csinl=yes
22714else
22715 gcc_cv_math_func_csinl=no
22716fi
22717rm -f core conftest.err conftest.$ac_objext \
22718 conftest$ac_exeext conftest.$ac_ext
22719fi
22720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22721$as_echo "$gcc_cv_math_func_csinl" >&6; }
22722 if test $gcc_cv_math_func_csinl = yes; then
22723
22724cat >>confdefs.h <<_ACEOF
22725#define HAVE_CSINL 1
22726_ACEOF
22727
22728 fi
22729
22730
22731
22732
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22734$as_echo_n "checking for sinhf... " >&6; }
22735if ${gcc_cv_math_func_sinhf+:} false; then :
22736 $as_echo_n "(cached) " >&6
22737else
22738 if test x$gcc_no_link = xyes; then
22739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22740fi
22741cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22742/* end confdefs.h. */
22743
22744#ifdef HAVE_COMPLEX_H
22745#include <complex.h>
22746#endif
22747#ifdef HAVE_MATH_H
22748#include <math.h>
22749#endif
22750
22751int (*ptr)() = (int (*)())sinhf;
22752
22753int
22754main ()
22755{
22756 return 0;
22757}
22758
22759_ACEOF
22760if ac_fn_c_try_link "$LINENO"; then :
22761 gcc_cv_math_func_sinhf=yes
22762else
22763 gcc_cv_math_func_sinhf=no
22764fi
22765rm -f core conftest.err conftest.$ac_objext \
22766 conftest$ac_exeext conftest.$ac_ext
22767fi
22768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22769$as_echo "$gcc_cv_math_func_sinhf" >&6; }
22770 if test $gcc_cv_math_func_sinhf = yes; then
22771
22772cat >>confdefs.h <<_ACEOF
22773#define HAVE_SINHF 1
22774_ACEOF
22775
22776 fi
22777
22778
22779
22780
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22782$as_echo_n "checking for sinh... " >&6; }
22783if ${gcc_cv_math_func_sinh+:} false; then :
22784 $as_echo_n "(cached) " >&6
22785else
22786 if test x$gcc_no_link = xyes; then
22787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22788fi
22789cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22790/* end confdefs.h. */
22791
22792#ifdef HAVE_COMPLEX_H
22793#include <complex.h>
22794#endif
22795#ifdef HAVE_MATH_H
22796#include <math.h>
22797#endif
22798
22799int (*ptr)() = (int (*)())sinh;
22800
22801int
22802main ()
22803{
22804 return 0;
22805}
22806
22807_ACEOF
22808if ac_fn_c_try_link "$LINENO"; then :
22809 gcc_cv_math_func_sinh=yes
22810else
22811 gcc_cv_math_func_sinh=no
22812fi
22813rm -f core conftest.err conftest.$ac_objext \
22814 conftest$ac_exeext conftest.$ac_ext
22815fi
22816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22817$as_echo "$gcc_cv_math_func_sinh" >&6; }
22818 if test $gcc_cv_math_func_sinh = yes; then
22819
22820cat >>confdefs.h <<_ACEOF
22821#define HAVE_SINH 1
22822_ACEOF
22823
22824 fi
22825
22826
22827
22828
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22830$as_echo_n "checking for sinhl... " >&6; }
22831if ${gcc_cv_math_func_sinhl+:} false; then :
22832 $as_echo_n "(cached) " >&6
22833else
22834 if test x$gcc_no_link = xyes; then
22835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22836fi
22837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838/* end confdefs.h. */
22839
22840#ifdef HAVE_COMPLEX_H
22841#include <complex.h>
22842#endif
22843#ifdef HAVE_MATH_H
22844#include <math.h>
22845#endif
22846
22847int (*ptr)() = (int (*)())sinhl;
22848
22849int
22850main ()
22851{
22852 return 0;
22853}
22854
22855_ACEOF
22856if ac_fn_c_try_link "$LINENO"; then :
22857 gcc_cv_math_func_sinhl=yes
22858else
22859 gcc_cv_math_func_sinhl=no
22860fi
22861rm -f core conftest.err conftest.$ac_objext \
22862 conftest$ac_exeext conftest.$ac_ext
22863fi
22864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22865$as_echo "$gcc_cv_math_func_sinhl" >&6; }
22866 if test $gcc_cv_math_func_sinhl = yes; then
22867
22868cat >>confdefs.h <<_ACEOF
22869#define HAVE_SINHL 1
22870_ACEOF
22871
22872 fi
22873
22874
22875
22876
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22878$as_echo_n "checking for csinhf... " >&6; }
22879if ${gcc_cv_math_func_csinhf+:} false; then :
22880 $as_echo_n "(cached) " >&6
22881else
22882 if test x$gcc_no_link = xyes; then
22883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22884fi
22885cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22886/* end confdefs.h. */
22887
22888#ifdef HAVE_COMPLEX_H
22889#include <complex.h>
22890#endif
22891#ifdef HAVE_MATH_H
22892#include <math.h>
22893#endif
22894
22895int (*ptr)() = (int (*)())csinhf;
22896
22897int
22898main ()
22899{
22900 return 0;
22901}
22902
22903_ACEOF
22904if ac_fn_c_try_link "$LINENO"; then :
22905 gcc_cv_math_func_csinhf=yes
22906else
22907 gcc_cv_math_func_csinhf=no
22908fi
22909rm -f core conftest.err conftest.$ac_objext \
22910 conftest$ac_exeext conftest.$ac_ext
22911fi
22912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22913$as_echo "$gcc_cv_math_func_csinhf" >&6; }
22914 if test $gcc_cv_math_func_csinhf = yes; then
22915
22916cat >>confdefs.h <<_ACEOF
22917#define HAVE_CSINHF 1
22918_ACEOF
22919
22920 fi
22921
22922
22923
22924
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22926$as_echo_n "checking for csinh... " >&6; }
22927if ${gcc_cv_math_func_csinh+:} false; then :
22928 $as_echo_n "(cached) " >&6
22929else
22930 if test x$gcc_no_link = xyes; then
22931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22932fi
22933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22934/* end confdefs.h. */
22935
22936#ifdef HAVE_COMPLEX_H
22937#include <complex.h>
22938#endif
22939#ifdef HAVE_MATH_H
22940#include <math.h>
22941#endif
22942
22943int (*ptr)() = (int (*)())csinh;
22944
22945int
22946main ()
22947{
22948 return 0;
22949}
22950
22951_ACEOF
22952if ac_fn_c_try_link "$LINENO"; then :
22953 gcc_cv_math_func_csinh=yes
22954else
22955 gcc_cv_math_func_csinh=no
22956fi
22957rm -f core conftest.err conftest.$ac_objext \
22958 conftest$ac_exeext conftest.$ac_ext
22959fi
22960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22961$as_echo "$gcc_cv_math_func_csinh" >&6; }
22962 if test $gcc_cv_math_func_csinh = yes; then
22963
22964cat >>confdefs.h <<_ACEOF
22965#define HAVE_CSINH 1
22966_ACEOF
22967
22968 fi
22969
22970
22971
22972
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22974$as_echo_n "checking for csinhl... " >&6; }
22975if ${gcc_cv_math_func_csinhl+:} false; then :
22976 $as_echo_n "(cached) " >&6
22977else
22978 if test x$gcc_no_link = xyes; then
22979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22980fi
22981cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982/* end confdefs.h. */
22983
22984#ifdef HAVE_COMPLEX_H
22985#include <complex.h>
22986#endif
22987#ifdef HAVE_MATH_H
22988#include <math.h>
22989#endif
22990
22991int (*ptr)() = (int (*)())csinhl;
22992
22993int
22994main ()
22995{
22996 return 0;
22997}
22998
22999_ACEOF
23000if ac_fn_c_try_link "$LINENO"; then :
23001 gcc_cv_math_func_csinhl=yes
23002else
23003 gcc_cv_math_func_csinhl=no
23004fi
23005rm -f core conftest.err conftest.$ac_objext \
23006 conftest$ac_exeext conftest.$ac_ext
23007fi
23008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
23009$as_echo "$gcc_cv_math_func_csinhl" >&6; }
23010 if test $gcc_cv_math_func_csinhl = yes; then
23011
23012cat >>confdefs.h <<_ACEOF
23013#define HAVE_CSINHL 1
23014_ACEOF
23015
23016 fi
23017
23018
23019
23020
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
23022$as_echo_n "checking for sqrtf... " >&6; }
23023if ${gcc_cv_math_func_sqrtf+:} false; then :
23024 $as_echo_n "(cached) " >&6
23025else
23026 if test x$gcc_no_link = xyes; then
23027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23028fi
23029cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23030/* end confdefs.h. */
23031
23032#ifdef HAVE_COMPLEX_H
23033#include <complex.h>
23034#endif
23035#ifdef HAVE_MATH_H
23036#include <math.h>
23037#endif
23038
23039int (*ptr)() = (int (*)())sqrtf;
23040
23041int
23042main ()
23043{
23044 return 0;
23045}
23046
23047_ACEOF
23048if ac_fn_c_try_link "$LINENO"; then :
23049 gcc_cv_math_func_sqrtf=yes
23050else
23051 gcc_cv_math_func_sqrtf=no
23052fi
23053rm -f core conftest.err conftest.$ac_objext \
23054 conftest$ac_exeext conftest.$ac_ext
23055fi
23056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
23057$as_echo "$gcc_cv_math_func_sqrtf" >&6; }
23058 if test $gcc_cv_math_func_sqrtf = yes; then
23059
23060cat >>confdefs.h <<_ACEOF
23061#define HAVE_SQRTF 1
23062_ACEOF
23063
23064 fi
23065
23066
23067
23068
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
23070$as_echo_n "checking for sqrt... " >&6; }
23071if ${gcc_cv_math_func_sqrt+:} false; then :
23072 $as_echo_n "(cached) " >&6
23073else
23074 if test x$gcc_no_link = xyes; then
23075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23076fi
23077cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23078/* end confdefs.h. */
23079
23080#ifdef HAVE_COMPLEX_H
23081#include <complex.h>
23082#endif
23083#ifdef HAVE_MATH_H
23084#include <math.h>
23085#endif
23086
23087int (*ptr)() = (int (*)())sqrt;
23088
23089int
23090main ()
23091{
23092 return 0;
23093}
23094
23095_ACEOF
23096if ac_fn_c_try_link "$LINENO"; then :
23097 gcc_cv_math_func_sqrt=yes
23098else
23099 gcc_cv_math_func_sqrt=no
23100fi
23101rm -f core conftest.err conftest.$ac_objext \
23102 conftest$ac_exeext conftest.$ac_ext
23103fi
23104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
23105$as_echo "$gcc_cv_math_func_sqrt" >&6; }
23106 if test $gcc_cv_math_func_sqrt = yes; then
23107
23108cat >>confdefs.h <<_ACEOF
23109#define HAVE_SQRT 1
23110_ACEOF
23111
23112 fi
23113
23114
23115
23116
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
23118$as_echo_n "checking for sqrtl... " >&6; }
23119if ${gcc_cv_math_func_sqrtl+:} false; then :
23120 $as_echo_n "(cached) " >&6
23121else
23122 if test x$gcc_no_link = xyes; then
23123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23124fi
23125cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23126/* end confdefs.h. */
23127
23128#ifdef HAVE_COMPLEX_H
23129#include <complex.h>
23130#endif
23131#ifdef HAVE_MATH_H
23132#include <math.h>
23133#endif
23134
23135int (*ptr)() = (int (*)())sqrtl;
23136
23137int
23138main ()
23139{
23140 return 0;
23141}
23142
23143_ACEOF
23144if ac_fn_c_try_link "$LINENO"; then :
23145 gcc_cv_math_func_sqrtl=yes
23146else
23147 gcc_cv_math_func_sqrtl=no
23148fi
23149rm -f core conftest.err conftest.$ac_objext \
23150 conftest$ac_exeext conftest.$ac_ext
23151fi
23152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23153$as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23154 if test $gcc_cv_math_func_sqrtl = yes; then
23155
23156cat >>confdefs.h <<_ACEOF
23157#define HAVE_SQRTL 1
23158_ACEOF
23159
23160 fi
23161
23162
23163
23164
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23166$as_echo_n "checking for csqrtf... " >&6; }
23167if ${gcc_cv_math_func_csqrtf+:} false; then :
23168 $as_echo_n "(cached) " >&6
23169else
23170 if test x$gcc_no_link = xyes; then
23171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23172fi
23173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23174/* end confdefs.h. */
23175
23176#ifdef HAVE_COMPLEX_H
23177#include <complex.h>
23178#endif
23179#ifdef HAVE_MATH_H
23180#include <math.h>
23181#endif
23182
23183int (*ptr)() = (int (*)())csqrtf;
23184
23185int
23186main ()
23187{
23188 return 0;
23189}
23190
23191_ACEOF
23192if ac_fn_c_try_link "$LINENO"; then :
23193 gcc_cv_math_func_csqrtf=yes
23194else
23195 gcc_cv_math_func_csqrtf=no
23196fi
23197rm -f core conftest.err conftest.$ac_objext \
23198 conftest$ac_exeext conftest.$ac_ext
23199fi
23200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23201$as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23202 if test $gcc_cv_math_func_csqrtf = yes; then
23203
23204cat >>confdefs.h <<_ACEOF
23205#define HAVE_CSQRTF 1
23206_ACEOF
23207
23208 fi
23209
23210
23211
23212
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23214$as_echo_n "checking for csqrt... " >&6; }
23215if ${gcc_cv_math_func_csqrt+:} false; then :
23216 $as_echo_n "(cached) " >&6
23217else
23218 if test x$gcc_no_link = xyes; then
23219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23220fi
23221cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222/* end confdefs.h. */
23223
23224#ifdef HAVE_COMPLEX_H
23225#include <complex.h>
23226#endif
23227#ifdef HAVE_MATH_H
23228#include <math.h>
23229#endif
23230
23231int (*ptr)() = (int (*)())csqrt;
23232
23233int
23234main ()
23235{
23236 return 0;
23237}
23238
23239_ACEOF
23240if ac_fn_c_try_link "$LINENO"; then :
23241 gcc_cv_math_func_csqrt=yes
23242else
23243 gcc_cv_math_func_csqrt=no
23244fi
23245rm -f core conftest.err conftest.$ac_objext \
23246 conftest$ac_exeext conftest.$ac_ext
23247fi
23248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23249$as_echo "$gcc_cv_math_func_csqrt" >&6; }
23250 if test $gcc_cv_math_func_csqrt = yes; then
23251
23252cat >>confdefs.h <<_ACEOF
23253#define HAVE_CSQRT 1
23254_ACEOF
23255
23256 fi
23257
23258
23259
23260
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23262$as_echo_n "checking for csqrtl... " >&6; }
23263if ${gcc_cv_math_func_csqrtl+:} false; then :
23264 $as_echo_n "(cached) " >&6
23265else
23266 if test x$gcc_no_link = xyes; then
23267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23268fi
23269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23270/* end confdefs.h. */
23271
23272#ifdef HAVE_COMPLEX_H
23273#include <complex.h>
23274#endif
23275#ifdef HAVE_MATH_H
23276#include <math.h>
23277#endif
23278
23279int (*ptr)() = (int (*)())csqrtl;
23280
23281int
23282main ()
23283{
23284 return 0;
23285}
23286
23287_ACEOF
23288if ac_fn_c_try_link "$LINENO"; then :
23289 gcc_cv_math_func_csqrtl=yes
23290else
23291 gcc_cv_math_func_csqrtl=no
23292fi
23293rm -f core conftest.err conftest.$ac_objext \
23294 conftest$ac_exeext conftest.$ac_ext
23295fi
23296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23297$as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23298 if test $gcc_cv_math_func_csqrtl = yes; then
23299
23300cat >>confdefs.h <<_ACEOF
23301#define HAVE_CSQRTL 1
23302_ACEOF
23303
23304 fi
23305
23306
23307
23308
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23310$as_echo_n "checking for tanf... " >&6; }
23311if ${gcc_cv_math_func_tanf+:} false; then :
23312 $as_echo_n "(cached) " >&6
23313else
23314 if test x$gcc_no_link = xyes; then
23315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23316fi
23317cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23318/* end confdefs.h. */
23319
23320#ifdef HAVE_COMPLEX_H
23321#include <complex.h>
23322#endif
23323#ifdef HAVE_MATH_H
23324#include <math.h>
23325#endif
23326
23327int (*ptr)() = (int (*)())tanf;
23328
23329int
23330main ()
23331{
23332 return 0;
23333}
23334
23335_ACEOF
23336if ac_fn_c_try_link "$LINENO"; then :
23337 gcc_cv_math_func_tanf=yes
23338else
23339 gcc_cv_math_func_tanf=no
23340fi
23341rm -f core conftest.err conftest.$ac_objext \
23342 conftest$ac_exeext conftest.$ac_ext
23343fi
23344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23345$as_echo "$gcc_cv_math_func_tanf" >&6; }
23346 if test $gcc_cv_math_func_tanf = yes; then
23347
23348cat >>confdefs.h <<_ACEOF
23349#define HAVE_TANF 1
23350_ACEOF
23351
23352 fi
23353
23354
23355
23356
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23358$as_echo_n "checking for tan... " >&6; }
23359if ${gcc_cv_math_func_tan+:} false; then :
23360 $as_echo_n "(cached) " >&6
23361else
23362 if test x$gcc_no_link = xyes; then
23363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23364fi
23365cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23366/* end confdefs.h. */
23367
23368#ifdef HAVE_COMPLEX_H
23369#include <complex.h>
23370#endif
23371#ifdef HAVE_MATH_H
23372#include <math.h>
23373#endif
23374
23375int (*ptr)() = (int (*)())tan;
23376
23377int
23378main ()
23379{
23380 return 0;
23381}
23382
23383_ACEOF
23384if ac_fn_c_try_link "$LINENO"; then :
23385 gcc_cv_math_func_tan=yes
23386else
23387 gcc_cv_math_func_tan=no
23388fi
23389rm -f core conftest.err conftest.$ac_objext \
23390 conftest$ac_exeext conftest.$ac_ext
23391fi
23392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23393$as_echo "$gcc_cv_math_func_tan" >&6; }
23394 if test $gcc_cv_math_func_tan = yes; then
23395
23396cat >>confdefs.h <<_ACEOF
23397#define HAVE_TAN 1
23398_ACEOF
23399
23400 fi
23401
23402
23403
23404
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23406$as_echo_n "checking for tanl... " >&6; }
23407if ${gcc_cv_math_func_tanl+:} false; then :
23408 $as_echo_n "(cached) " >&6
23409else
23410 if test x$gcc_no_link = xyes; then
23411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23412fi
23413cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23414/* end confdefs.h. */
23415
23416#ifdef HAVE_COMPLEX_H
23417#include <complex.h>
23418#endif
23419#ifdef HAVE_MATH_H
23420#include <math.h>
23421#endif
23422
23423int (*ptr)() = (int (*)())tanl;
23424
23425int
23426main ()
23427{
23428 return 0;
23429}
23430
23431_ACEOF
23432if ac_fn_c_try_link "$LINENO"; then :
23433 gcc_cv_math_func_tanl=yes
23434else
23435 gcc_cv_math_func_tanl=no
23436fi
23437rm -f core conftest.err conftest.$ac_objext \
23438 conftest$ac_exeext conftest.$ac_ext
23439fi
23440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23441$as_echo "$gcc_cv_math_func_tanl" >&6; }
23442 if test $gcc_cv_math_func_tanl = yes; then
23443
23444cat >>confdefs.h <<_ACEOF
23445#define HAVE_TANL 1
23446_ACEOF
23447
23448 fi
23449
23450
23451
23452
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23454$as_echo_n "checking for ctanf... " >&6; }
23455if ${gcc_cv_math_func_ctanf+:} false; then :
23456 $as_echo_n "(cached) " >&6
23457else
23458 if test x$gcc_no_link = xyes; then
23459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23460fi
23461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23462/* end confdefs.h. */
23463
23464#ifdef HAVE_COMPLEX_H
23465#include <complex.h>
23466#endif
23467#ifdef HAVE_MATH_H
23468#include <math.h>
23469#endif
23470
23471int (*ptr)() = (int (*)())ctanf;
23472
23473int
23474main ()
23475{
23476 return 0;
23477}
23478
23479_ACEOF
23480if ac_fn_c_try_link "$LINENO"; then :
23481 gcc_cv_math_func_ctanf=yes
23482else
23483 gcc_cv_math_func_ctanf=no
23484fi
23485rm -f core conftest.err conftest.$ac_objext \
23486 conftest$ac_exeext conftest.$ac_ext
23487fi
23488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23489$as_echo "$gcc_cv_math_func_ctanf" >&6; }
23490 if test $gcc_cv_math_func_ctanf = yes; then
23491
23492cat >>confdefs.h <<_ACEOF
23493#define HAVE_CTANF 1
23494_ACEOF
23495
23496 fi
23497
23498
23499
23500
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23502$as_echo_n "checking for ctan... " >&6; }
23503if ${gcc_cv_math_func_ctan+:} false; then :
23504 $as_echo_n "(cached) " >&6
23505else
23506 if test x$gcc_no_link = xyes; then
23507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23508fi
23509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23510/* end confdefs.h. */
23511
23512#ifdef HAVE_COMPLEX_H
23513#include <complex.h>
23514#endif
23515#ifdef HAVE_MATH_H
23516#include <math.h>
23517#endif
23518
23519int (*ptr)() = (int (*)())ctan;
23520
23521int
23522main ()
23523{
23524 return 0;
23525}
23526
23527_ACEOF
23528if ac_fn_c_try_link "$LINENO"; then :
23529 gcc_cv_math_func_ctan=yes
23530else
23531 gcc_cv_math_func_ctan=no
23532fi
23533rm -f core conftest.err conftest.$ac_objext \
23534 conftest$ac_exeext conftest.$ac_ext
23535fi
23536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23537$as_echo "$gcc_cv_math_func_ctan" >&6; }
23538 if test $gcc_cv_math_func_ctan = yes; then
23539
23540cat >>confdefs.h <<_ACEOF
23541#define HAVE_CTAN 1
23542_ACEOF
23543
23544 fi
23545
23546
23547
23548
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23550$as_echo_n "checking for ctanl... " >&6; }
23551if ${gcc_cv_math_func_ctanl+:} false; then :
23552 $as_echo_n "(cached) " >&6
23553else
23554 if test x$gcc_no_link = xyes; then
23555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23556fi
23557cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23558/* end confdefs.h. */
23559
23560#ifdef HAVE_COMPLEX_H
23561#include <complex.h>
23562#endif
23563#ifdef HAVE_MATH_H
23564#include <math.h>
23565#endif
23566
23567int (*ptr)() = (int (*)())ctanl;
23568
23569int
23570main ()
23571{
23572 return 0;
23573}
23574
23575_ACEOF
23576if ac_fn_c_try_link "$LINENO"; then :
23577 gcc_cv_math_func_ctanl=yes
23578else
23579 gcc_cv_math_func_ctanl=no
23580fi
23581rm -f core conftest.err conftest.$ac_objext \
23582 conftest$ac_exeext conftest.$ac_ext
23583fi
23584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23585$as_echo "$gcc_cv_math_func_ctanl" >&6; }
23586 if test $gcc_cv_math_func_ctanl = yes; then
23587
23588cat >>confdefs.h <<_ACEOF
23589#define HAVE_CTANL 1
23590_ACEOF
23591
23592 fi
23593
23594
23595
23596
23597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23598$as_echo_n "checking for tanhf... " >&6; }
23599if ${gcc_cv_math_func_tanhf+:} false; then :
23600 $as_echo_n "(cached) " >&6
23601else
23602 if test x$gcc_no_link = xyes; then
23603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23604fi
23605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23606/* end confdefs.h. */
23607
23608#ifdef HAVE_COMPLEX_H
23609#include <complex.h>
23610#endif
23611#ifdef HAVE_MATH_H
23612#include <math.h>
23613#endif
23614
23615int (*ptr)() = (int (*)())tanhf;
23616
23617int
23618main ()
23619{
23620 return 0;
23621}
23622
23623_ACEOF
23624if ac_fn_c_try_link "$LINENO"; then :
23625 gcc_cv_math_func_tanhf=yes
23626else
23627 gcc_cv_math_func_tanhf=no
23628fi
23629rm -f core conftest.err conftest.$ac_objext \
23630 conftest$ac_exeext conftest.$ac_ext
23631fi
23632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23633$as_echo "$gcc_cv_math_func_tanhf" >&6; }
23634 if test $gcc_cv_math_func_tanhf = yes; then
23635
23636cat >>confdefs.h <<_ACEOF
23637#define HAVE_TANHF 1
23638_ACEOF
23639
23640 fi
23641
23642
23643
23644
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23646$as_echo_n "checking for tanh... " >&6; }
23647if ${gcc_cv_math_func_tanh+:} false; then :
23648 $as_echo_n "(cached) " >&6
23649else
23650 if test x$gcc_no_link = xyes; then
23651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23652fi
23653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654/* end confdefs.h. */
23655
23656#ifdef HAVE_COMPLEX_H
23657#include <complex.h>
23658#endif
23659#ifdef HAVE_MATH_H
23660#include <math.h>
23661#endif
23662
23663int (*ptr)() = (int (*)())tanh;
23664
23665int
23666main ()
23667{
23668 return 0;
23669}
23670
23671_ACEOF
23672if ac_fn_c_try_link "$LINENO"; then :
23673 gcc_cv_math_func_tanh=yes
23674else
23675 gcc_cv_math_func_tanh=no
23676fi
23677rm -f core conftest.err conftest.$ac_objext \
23678 conftest$ac_exeext conftest.$ac_ext
23679fi
23680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23681$as_echo "$gcc_cv_math_func_tanh" >&6; }
23682 if test $gcc_cv_math_func_tanh = yes; then
23683
23684cat >>confdefs.h <<_ACEOF
23685#define HAVE_TANH 1
23686_ACEOF
23687
23688 fi
23689
23690
23691
23692
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23694$as_echo_n "checking for tanhl... " >&6; }
23695if ${gcc_cv_math_func_tanhl+:} false; then :
23696 $as_echo_n "(cached) " >&6
23697else
23698 if test x$gcc_no_link = xyes; then
23699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23700fi
23701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23702/* end confdefs.h. */
23703
23704#ifdef HAVE_COMPLEX_H
23705#include <complex.h>
23706#endif
23707#ifdef HAVE_MATH_H
23708#include <math.h>
23709#endif
23710
23711int (*ptr)() = (int (*)())tanhl;
23712
23713int
23714main ()
23715{
23716 return 0;
23717}
23718
23719_ACEOF
23720if ac_fn_c_try_link "$LINENO"; then :
23721 gcc_cv_math_func_tanhl=yes
23722else
23723 gcc_cv_math_func_tanhl=no
23724fi
23725rm -f core conftest.err conftest.$ac_objext \
23726 conftest$ac_exeext conftest.$ac_ext
23727fi
23728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23729$as_echo "$gcc_cv_math_func_tanhl" >&6; }
23730 if test $gcc_cv_math_func_tanhl = yes; then
23731
23732cat >>confdefs.h <<_ACEOF
23733#define HAVE_TANHL 1
23734_ACEOF
23735
23736 fi
23737
23738
23739
23740
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23742$as_echo_n "checking for ctanhf... " >&6; }
23743if ${gcc_cv_math_func_ctanhf+:} false; then :
23744 $as_echo_n "(cached) " >&6
23745else
23746 if test x$gcc_no_link = xyes; then
23747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23748fi
23749cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23750/* end confdefs.h. */
23751
23752#ifdef HAVE_COMPLEX_H
23753#include <complex.h>
23754#endif
23755#ifdef HAVE_MATH_H
23756#include <math.h>
23757#endif
23758
23759int (*ptr)() = (int (*)())ctanhf;
23760
23761int
23762main ()
23763{
23764 return 0;
23765}
23766
23767_ACEOF
23768if ac_fn_c_try_link "$LINENO"; then :
23769 gcc_cv_math_func_ctanhf=yes
23770else
23771 gcc_cv_math_func_ctanhf=no
23772fi
23773rm -f core conftest.err conftest.$ac_objext \
23774 conftest$ac_exeext conftest.$ac_ext
23775fi
23776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23777$as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23778 if test $gcc_cv_math_func_ctanhf = yes; then
23779
23780cat >>confdefs.h <<_ACEOF
23781#define HAVE_CTANHF 1
23782_ACEOF
23783
23784 fi
23785
23786
23787
23788
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23790$as_echo_n "checking for ctanh... " >&6; }
23791if ${gcc_cv_math_func_ctanh+:} false; then :
23792 $as_echo_n "(cached) " >&6
23793else
23794 if test x$gcc_no_link = xyes; then
23795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23796fi
23797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23798/* end confdefs.h. */
23799
23800#ifdef HAVE_COMPLEX_H
23801#include <complex.h>
23802#endif
23803#ifdef HAVE_MATH_H
23804#include <math.h>
23805#endif
23806
23807int (*ptr)() = (int (*)())ctanh;
23808
23809int
23810main ()
23811{
23812 return 0;
23813}
23814
23815_ACEOF
23816if ac_fn_c_try_link "$LINENO"; then :
23817 gcc_cv_math_func_ctanh=yes
23818else
23819 gcc_cv_math_func_ctanh=no
23820fi
23821rm -f core conftest.err conftest.$ac_objext \
23822 conftest$ac_exeext conftest.$ac_ext
23823fi
23824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23825$as_echo "$gcc_cv_math_func_ctanh" >&6; }
23826 if test $gcc_cv_math_func_ctanh = yes; then
23827
23828cat >>confdefs.h <<_ACEOF
23829#define HAVE_CTANH 1
23830_ACEOF
23831
23832 fi
23833
23834
23835
23836
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23838$as_echo_n "checking for ctanhl... " >&6; }
23839if ${gcc_cv_math_func_ctanhl+:} false; then :
23840 $as_echo_n "(cached) " >&6
23841else
23842 if test x$gcc_no_link = xyes; then
23843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23844fi
23845cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23846/* end confdefs.h. */
23847
23848#ifdef HAVE_COMPLEX_H
23849#include <complex.h>
23850#endif
23851#ifdef HAVE_MATH_H
23852#include <math.h>
23853#endif
23854
23855int (*ptr)() = (int (*)())ctanhl;
23856
23857int
23858main ()
23859{
23860 return 0;
23861}
23862
23863_ACEOF
23864if ac_fn_c_try_link "$LINENO"; then :
23865 gcc_cv_math_func_ctanhl=yes
23866else
23867 gcc_cv_math_func_ctanhl=no
23868fi
23869rm -f core conftest.err conftest.$ac_objext \
23870 conftest$ac_exeext conftest.$ac_ext
23871fi
23872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23873$as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23874 if test $gcc_cv_math_func_ctanhl = yes; then
23875
23876cat >>confdefs.h <<_ACEOF
23877#define HAVE_CTANHL 1
23878_ACEOF
23879
23880 fi
23881
23882
23883
23884
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23886$as_echo_n "checking for truncf... " >&6; }
23887if ${gcc_cv_math_func_truncf+:} false; then :
23888 $as_echo_n "(cached) " >&6
23889else
23890 if test x$gcc_no_link = xyes; then
23891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23892fi
23893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23894/* end confdefs.h. */
23895
23896#ifdef HAVE_COMPLEX_H
23897#include <complex.h>
23898#endif
23899#ifdef HAVE_MATH_H
23900#include <math.h>
23901#endif
23902
23903int (*ptr)() = (int (*)())truncf;
23904
23905int
23906main ()
23907{
23908 return 0;
23909}
23910
23911_ACEOF
23912if ac_fn_c_try_link "$LINENO"; then :
23913 gcc_cv_math_func_truncf=yes
23914else
23915 gcc_cv_math_func_truncf=no
23916fi
23917rm -f core conftest.err conftest.$ac_objext \
23918 conftest$ac_exeext conftest.$ac_ext
23919fi
23920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23921$as_echo "$gcc_cv_math_func_truncf" >&6; }
23922 if test $gcc_cv_math_func_truncf = yes; then
23923
23924cat >>confdefs.h <<_ACEOF
23925#define HAVE_TRUNCF 1
23926_ACEOF
23927
23928 fi
23929
23930
23931
23932
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23934$as_echo_n "checking for trunc... " >&6; }
23935if ${gcc_cv_math_func_trunc+:} false; then :
23936 $as_echo_n "(cached) " >&6
23937else
23938 if test x$gcc_no_link = xyes; then
23939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23940fi
23941cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23942/* end confdefs.h. */
23943
23944#ifdef HAVE_COMPLEX_H
23945#include <complex.h>
23946#endif
23947#ifdef HAVE_MATH_H
23948#include <math.h>
23949#endif
23950
23951int (*ptr)() = (int (*)())trunc;
23952
23953int
23954main ()
23955{
23956 return 0;
23957}
23958
23959_ACEOF
23960if ac_fn_c_try_link "$LINENO"; then :
23961 gcc_cv_math_func_trunc=yes
23962else
23963 gcc_cv_math_func_trunc=no
23964fi
23965rm -f core conftest.err conftest.$ac_objext \
23966 conftest$ac_exeext conftest.$ac_ext
23967fi
23968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23969$as_echo "$gcc_cv_math_func_trunc" >&6; }
23970 if test $gcc_cv_math_func_trunc = yes; then
23971
23972cat >>confdefs.h <<_ACEOF
23973#define HAVE_TRUNC 1
23974_ACEOF
23975
23976 fi
23977
23978
23979
23980
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23982$as_echo_n "checking for truncl... " >&6; }
23983if ${gcc_cv_math_func_truncl+:} false; then :
23984 $as_echo_n "(cached) " >&6
23985else
23986 if test x$gcc_no_link = xyes; then
23987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23988fi
23989cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23990/* end confdefs.h. */
23991
23992#ifdef HAVE_COMPLEX_H
23993#include <complex.h>
23994#endif
23995#ifdef HAVE_MATH_H
23996#include <math.h>
23997#endif
23998
23999int (*ptr)() = (int (*)())truncl;
24000
24001int
24002main ()
24003{
24004 return 0;
24005}
24006
24007_ACEOF
24008if ac_fn_c_try_link "$LINENO"; then :
24009 gcc_cv_math_func_truncl=yes
24010else
24011 gcc_cv_math_func_truncl=no
24012fi
24013rm -f core conftest.err conftest.$ac_objext \
24014 conftest$ac_exeext conftest.$ac_ext
24015fi
24016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
24017$as_echo "$gcc_cv_math_func_truncl" >&6; }
24018 if test $gcc_cv_math_func_truncl = yes; then
24019
24020cat >>confdefs.h <<_ACEOF
24021#define HAVE_TRUNCL 1
24022_ACEOF
24023
24024 fi
24025
24026
24027
24028
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
24030$as_echo_n "checking for erff... " >&6; }
24031if ${gcc_cv_math_func_erff+:} false; then :
24032 $as_echo_n "(cached) " >&6
24033else
24034 if test x$gcc_no_link = xyes; then
24035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24036fi
24037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24038/* end confdefs.h. */
24039
24040#ifdef HAVE_COMPLEX_H
24041#include <complex.h>
24042#endif
24043#ifdef HAVE_MATH_H
24044#include <math.h>
24045#endif
24046
24047int (*ptr)() = (int (*)())erff;
24048
24049int
24050main ()
24051{
24052 return 0;
24053}
24054
24055_ACEOF
24056if ac_fn_c_try_link "$LINENO"; then :
24057 gcc_cv_math_func_erff=yes
24058else
24059 gcc_cv_math_func_erff=no
24060fi
24061rm -f core conftest.err conftest.$ac_objext \
24062 conftest$ac_exeext conftest.$ac_ext
24063fi
24064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
24065$as_echo "$gcc_cv_math_func_erff" >&6; }
24066 if test $gcc_cv_math_func_erff = yes; then
24067
24068cat >>confdefs.h <<_ACEOF
24069#define HAVE_ERFF 1
24070_ACEOF
24071
24072 fi
24073
24074
24075
24076
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
24078$as_echo_n "checking for erf... " >&6; }
24079if ${gcc_cv_math_func_erf+:} false; then :
24080 $as_echo_n "(cached) " >&6
24081else
24082 if test x$gcc_no_link = xyes; then
24083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24084fi
24085cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24086/* end confdefs.h. */
24087
24088#ifdef HAVE_COMPLEX_H
24089#include <complex.h>
24090#endif
24091#ifdef HAVE_MATH_H
24092#include <math.h>
24093#endif
24094
24095int (*ptr)() = (int (*)())erf;
24096
24097int
24098main ()
24099{
24100 return 0;
24101}
24102
24103_ACEOF
24104if ac_fn_c_try_link "$LINENO"; then :
24105 gcc_cv_math_func_erf=yes
24106else
24107 gcc_cv_math_func_erf=no
24108fi
24109rm -f core conftest.err conftest.$ac_objext \
24110 conftest$ac_exeext conftest.$ac_ext
24111fi
24112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
24113$as_echo "$gcc_cv_math_func_erf" >&6; }
24114 if test $gcc_cv_math_func_erf = yes; then
24115
24116cat >>confdefs.h <<_ACEOF
24117#define HAVE_ERF 1
24118_ACEOF
24119
24120 fi
24121
24122
24123
24124
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24126$as_echo_n "checking for erfcf... " >&6; }
24127if ${gcc_cv_math_func_erfcf+:} false; then :
24128 $as_echo_n "(cached) " >&6
24129else
24130 if test x$gcc_no_link = xyes; then
24131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24132fi
24133cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24134/* end confdefs.h. */
24135
24136#ifdef HAVE_COMPLEX_H
24137#include <complex.h>
24138#endif
24139#ifdef HAVE_MATH_H
24140#include <math.h>
24141#endif
24142
24143int (*ptr)() = (int (*)())erfcf;
24144
24145int
24146main ()
24147{
24148 return 0;
24149}
24150
24151_ACEOF
24152if ac_fn_c_try_link "$LINENO"; then :
24153 gcc_cv_math_func_erfcf=yes
24154else
24155 gcc_cv_math_func_erfcf=no
24156fi
24157rm -f core conftest.err conftest.$ac_objext \
24158 conftest$ac_exeext conftest.$ac_ext
24159fi
24160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24161$as_echo "$gcc_cv_math_func_erfcf" >&6; }
24162 if test $gcc_cv_math_func_erfcf = yes; then
24163
24164cat >>confdefs.h <<_ACEOF
24165#define HAVE_ERFCF 1
24166_ACEOF
24167
24168 fi
24169
24170
24171
24172
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24174$as_echo_n "checking for erfc... " >&6; }
24175if ${gcc_cv_math_func_erfc+:} false; then :
24176 $as_echo_n "(cached) " >&6
24177else
24178 if test x$gcc_no_link = xyes; then
24179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24180fi
24181cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24182/* end confdefs.h. */
24183
24184#ifdef HAVE_COMPLEX_H
24185#include <complex.h>
24186#endif
24187#ifdef HAVE_MATH_H
24188#include <math.h>
24189#endif
24190
24191int (*ptr)() = (int (*)())erfc;
24192
24193int
24194main ()
24195{
24196 return 0;
24197}
24198
24199_ACEOF
24200if ac_fn_c_try_link "$LINENO"; then :
24201 gcc_cv_math_func_erfc=yes
24202else
24203 gcc_cv_math_func_erfc=no
24204fi
24205rm -f core conftest.err conftest.$ac_objext \
24206 conftest$ac_exeext conftest.$ac_ext
24207fi
24208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24209$as_echo "$gcc_cv_math_func_erfc" >&6; }
24210 if test $gcc_cv_math_func_erfc = yes; then
24211
24212cat >>confdefs.h <<_ACEOF
24213#define HAVE_ERFC 1
24214_ACEOF
24215
24216 fi
24217
24218
24219
24220
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24222$as_echo_n "checking for erfcl... " >&6; }
24223if ${gcc_cv_math_func_erfcl+:} false; then :
24224 $as_echo_n "(cached) " >&6
24225else
24226 if test x$gcc_no_link = xyes; then
24227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24228fi
24229cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230/* end confdefs.h. */
24231
24232#ifdef HAVE_COMPLEX_H
24233#include <complex.h>
24234#endif
24235#ifdef HAVE_MATH_H
24236#include <math.h>
24237#endif
24238
24239int (*ptr)() = (int (*)())erfcl;
24240
24241int
24242main ()
24243{
24244 return 0;
24245}
24246
24247_ACEOF
24248if ac_fn_c_try_link "$LINENO"; then :
24249 gcc_cv_math_func_erfcl=yes
24250else
24251 gcc_cv_math_func_erfcl=no
24252fi
24253rm -f core conftest.err conftest.$ac_objext \
24254 conftest$ac_exeext conftest.$ac_ext
24255fi
24256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24257$as_echo "$gcc_cv_math_func_erfcl" >&6; }
24258 if test $gcc_cv_math_func_erfcl = yes; then
24259
24260cat >>confdefs.h <<_ACEOF
24261#define HAVE_ERFCL 1
24262_ACEOF
24263
24264 fi
24265
24266
24267
24268
24269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24270$as_echo_n "checking for j0f... " >&6; }
24271if ${gcc_cv_math_func_j0f+:} false; then :
24272 $as_echo_n "(cached) " >&6
24273else
24274 if test x$gcc_no_link = xyes; then
24275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24276fi
24277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278/* end confdefs.h. */
24279
24280#ifdef HAVE_COMPLEX_H
24281#include <complex.h>
24282#endif
24283#ifdef HAVE_MATH_H
24284#include <math.h>
24285#endif
24286
24287int (*ptr)() = (int (*)())j0f;
24288
24289int
24290main ()
24291{
24292 return 0;
24293}
24294
24295_ACEOF
24296if ac_fn_c_try_link "$LINENO"; then :
24297 gcc_cv_math_func_j0f=yes
24298else
24299 gcc_cv_math_func_j0f=no
24300fi
24301rm -f core conftest.err conftest.$ac_objext \
24302 conftest$ac_exeext conftest.$ac_ext
24303fi
24304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24305$as_echo "$gcc_cv_math_func_j0f" >&6; }
24306 if test $gcc_cv_math_func_j0f = yes; then
24307
24308cat >>confdefs.h <<_ACEOF
24309#define HAVE_J0F 1
24310_ACEOF
24311
24312 fi
24313
24314
24315
24316
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24318$as_echo_n "checking for j0... " >&6; }
24319if ${gcc_cv_math_func_j0+:} false; then :
24320 $as_echo_n "(cached) " >&6
24321else
24322 if test x$gcc_no_link = xyes; then
24323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24324fi
24325cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326/* end confdefs.h. */
24327
24328#ifdef HAVE_COMPLEX_H
24329#include <complex.h>
24330#endif
24331#ifdef HAVE_MATH_H
24332#include <math.h>
24333#endif
24334
24335int (*ptr)() = (int (*)())j0;
24336
24337int
24338main ()
24339{
24340 return 0;
24341}
24342
24343_ACEOF
24344if ac_fn_c_try_link "$LINENO"; then :
24345 gcc_cv_math_func_j0=yes
24346else
24347 gcc_cv_math_func_j0=no
24348fi
24349rm -f core conftest.err conftest.$ac_objext \
24350 conftest$ac_exeext conftest.$ac_ext
24351fi
24352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24353$as_echo "$gcc_cv_math_func_j0" >&6; }
24354 if test $gcc_cv_math_func_j0 = yes; then
24355
24356cat >>confdefs.h <<_ACEOF
24357#define HAVE_J0 1
24358_ACEOF
24359
24360 fi
24361
24362
24363
24364
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24366$as_echo_n "checking for j1f... " >&6; }
24367if ${gcc_cv_math_func_j1f+:} false; then :
24368 $as_echo_n "(cached) " >&6
24369else
24370 if test x$gcc_no_link = xyes; then
24371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24372fi
24373cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24374/* end confdefs.h. */
24375
24376#ifdef HAVE_COMPLEX_H
24377#include <complex.h>
24378#endif
24379#ifdef HAVE_MATH_H
24380#include <math.h>
24381#endif
24382
24383int (*ptr)() = (int (*)())j1f;
24384
24385int
24386main ()
24387{
24388 return 0;
24389}
24390
24391_ACEOF
24392if ac_fn_c_try_link "$LINENO"; then :
24393 gcc_cv_math_func_j1f=yes
24394else
24395 gcc_cv_math_func_j1f=no
24396fi
24397rm -f core conftest.err conftest.$ac_objext \
24398 conftest$ac_exeext conftest.$ac_ext
24399fi
24400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24401$as_echo "$gcc_cv_math_func_j1f" >&6; }
24402 if test $gcc_cv_math_func_j1f = yes; then
24403
24404cat >>confdefs.h <<_ACEOF
24405#define HAVE_J1F 1
24406_ACEOF
24407
24408 fi
24409
24410
24411
24412
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24414$as_echo_n "checking for j1... " >&6; }
24415if ${gcc_cv_math_func_j1+:} false; then :
24416 $as_echo_n "(cached) " >&6
24417else
24418 if test x$gcc_no_link = xyes; then
24419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24420fi
24421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24422/* end confdefs.h. */
24423
24424#ifdef HAVE_COMPLEX_H
24425#include <complex.h>
24426#endif
24427#ifdef HAVE_MATH_H
24428#include <math.h>
24429#endif
24430
24431int (*ptr)() = (int (*)())j1;
24432
24433int
24434main ()
24435{
24436 return 0;
24437}
24438
24439_ACEOF
24440if ac_fn_c_try_link "$LINENO"; then :
24441 gcc_cv_math_func_j1=yes
24442else
24443 gcc_cv_math_func_j1=no
24444fi
24445rm -f core conftest.err conftest.$ac_objext \
24446 conftest$ac_exeext conftest.$ac_ext
24447fi
24448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24449$as_echo "$gcc_cv_math_func_j1" >&6; }
24450 if test $gcc_cv_math_func_j1 = yes; then
24451
24452cat >>confdefs.h <<_ACEOF
24453#define HAVE_J1 1
24454_ACEOF
24455
24456 fi
24457
24458
24459
24460
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24462$as_echo_n "checking for jnf... " >&6; }
24463if ${gcc_cv_math_func_jnf+:} false; then :
24464 $as_echo_n "(cached) " >&6
24465else
24466 if test x$gcc_no_link = xyes; then
24467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24468fi
24469cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24470/* end confdefs.h. */
24471
24472#ifdef HAVE_COMPLEX_H
24473#include <complex.h>
24474#endif
24475#ifdef HAVE_MATH_H
24476#include <math.h>
24477#endif
24478
24479int (*ptr)() = (int (*)())jnf;
24480
24481int
24482main ()
24483{
24484 return 0;
24485}
24486
24487_ACEOF
24488if ac_fn_c_try_link "$LINENO"; then :
24489 gcc_cv_math_func_jnf=yes
24490else
24491 gcc_cv_math_func_jnf=no
24492fi
24493rm -f core conftest.err conftest.$ac_objext \
24494 conftest$ac_exeext conftest.$ac_ext
24495fi
24496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24497$as_echo "$gcc_cv_math_func_jnf" >&6; }
24498 if test $gcc_cv_math_func_jnf = yes; then
24499
24500cat >>confdefs.h <<_ACEOF
24501#define HAVE_JNF 1
24502_ACEOF
24503
24504 fi
24505
24506
24507
24508
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24510$as_echo_n "checking for jn... " >&6; }
24511if ${gcc_cv_math_func_jn+:} false; then :
24512 $as_echo_n "(cached) " >&6
24513else
24514 if test x$gcc_no_link = xyes; then
24515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24516fi
24517cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24518/* end confdefs.h. */
24519
24520#ifdef HAVE_COMPLEX_H
24521#include <complex.h>
24522#endif
24523#ifdef HAVE_MATH_H
24524#include <math.h>
24525#endif
24526
24527int (*ptr)() = (int (*)())jn;
24528
24529int
24530main ()
24531{
24532 return 0;
24533}
24534
24535_ACEOF
24536if ac_fn_c_try_link "$LINENO"; then :
24537 gcc_cv_math_func_jn=yes
24538else
24539 gcc_cv_math_func_jn=no
24540fi
24541rm -f core conftest.err conftest.$ac_objext \
24542 conftest$ac_exeext conftest.$ac_ext
24543fi
24544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24545$as_echo "$gcc_cv_math_func_jn" >&6; }
24546 if test $gcc_cv_math_func_jn = yes; then
24547
24548cat >>confdefs.h <<_ACEOF
24549#define HAVE_JN 1
24550_ACEOF
24551
24552 fi
24553
24554
24555
24556
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24558$as_echo_n "checking for jnl... " >&6; }
24559if ${gcc_cv_math_func_jnl+:} false; then :
24560 $as_echo_n "(cached) " >&6
24561else
24562 if test x$gcc_no_link = xyes; then
24563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24564fi
24565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24566/* end confdefs.h. */
24567
24568#ifdef HAVE_COMPLEX_H
24569#include <complex.h>
24570#endif
24571#ifdef HAVE_MATH_H
24572#include <math.h>
24573#endif
24574
24575int (*ptr)() = (int (*)())jnl;
24576
24577int
24578main ()
24579{
24580 return 0;
24581}
24582
24583_ACEOF
24584if ac_fn_c_try_link "$LINENO"; then :
24585 gcc_cv_math_func_jnl=yes
24586else
24587 gcc_cv_math_func_jnl=no
24588fi
24589rm -f core conftest.err conftest.$ac_objext \
24590 conftest$ac_exeext conftest.$ac_ext
24591fi
24592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24593$as_echo "$gcc_cv_math_func_jnl" >&6; }
24594 if test $gcc_cv_math_func_jnl = yes; then
24595
24596cat >>confdefs.h <<_ACEOF
24597#define HAVE_JNL 1
24598_ACEOF
24599
24600 fi
24601
24602
24603
24604
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24606$as_echo_n "checking for y0f... " >&6; }
24607if ${gcc_cv_math_func_y0f+:} false; then :
24608 $as_echo_n "(cached) " >&6
24609else
24610 if test x$gcc_no_link = xyes; then
24611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24612fi
24613cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24614/* end confdefs.h. */
24615
24616#ifdef HAVE_COMPLEX_H
24617#include <complex.h>
24618#endif
24619#ifdef HAVE_MATH_H
24620#include <math.h>
24621#endif
24622
24623int (*ptr)() = (int (*)())y0f;
24624
24625int
24626main ()
24627{
24628 return 0;
24629}
24630
24631_ACEOF
24632if ac_fn_c_try_link "$LINENO"; then :
24633 gcc_cv_math_func_y0f=yes
24634else
24635 gcc_cv_math_func_y0f=no
24636fi
24637rm -f core conftest.err conftest.$ac_objext \
24638 conftest$ac_exeext conftest.$ac_ext
24639fi
24640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24641$as_echo "$gcc_cv_math_func_y0f" >&6; }
24642 if test $gcc_cv_math_func_y0f = yes; then
24643
24644cat >>confdefs.h <<_ACEOF
24645#define HAVE_Y0F 1
24646_ACEOF
24647
24648 fi
24649
24650
24651
24652
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24654$as_echo_n "checking for y0... " >&6; }
24655if ${gcc_cv_math_func_y0+:} false; then :
24656 $as_echo_n "(cached) " >&6
24657else
24658 if test x$gcc_no_link = xyes; then
24659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24660fi
24661cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24662/* end confdefs.h. */
24663
24664#ifdef HAVE_COMPLEX_H
24665#include <complex.h>
24666#endif
24667#ifdef HAVE_MATH_H
24668#include <math.h>
24669#endif
24670
24671int (*ptr)() = (int (*)())y0;
24672
24673int
24674main ()
24675{
24676 return 0;
24677}
24678
24679_ACEOF
24680if ac_fn_c_try_link "$LINENO"; then :
24681 gcc_cv_math_func_y0=yes
24682else
24683 gcc_cv_math_func_y0=no
24684fi
24685rm -f core conftest.err conftest.$ac_objext \
24686 conftest$ac_exeext conftest.$ac_ext
24687fi
24688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24689$as_echo "$gcc_cv_math_func_y0" >&6; }
24690 if test $gcc_cv_math_func_y0 = yes; then
24691
24692cat >>confdefs.h <<_ACEOF
24693#define HAVE_Y0 1
24694_ACEOF
24695
24696 fi
24697
24698
24699
24700
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24702$as_echo_n "checking for y1f... " >&6; }
24703if ${gcc_cv_math_func_y1f+:} false; then :
24704 $as_echo_n "(cached) " >&6
24705else
24706 if test x$gcc_no_link = xyes; then
24707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24708fi
24709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24710/* end confdefs.h. */
24711
24712#ifdef HAVE_COMPLEX_H
24713#include <complex.h>
24714#endif
24715#ifdef HAVE_MATH_H
24716#include <math.h>
24717#endif
24718
24719int (*ptr)() = (int (*)())y1f;
24720
24721int
24722main ()
24723{
24724 return 0;
24725}
24726
24727_ACEOF
24728if ac_fn_c_try_link "$LINENO"; then :
24729 gcc_cv_math_func_y1f=yes
24730else
24731 gcc_cv_math_func_y1f=no
24732fi
24733rm -f core conftest.err conftest.$ac_objext \
24734 conftest$ac_exeext conftest.$ac_ext
24735fi
24736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24737$as_echo "$gcc_cv_math_func_y1f" >&6; }
24738 if test $gcc_cv_math_func_y1f = yes; then
24739
24740cat >>confdefs.h <<_ACEOF
24741#define HAVE_Y1F 1
24742_ACEOF
24743
24744 fi
24745
24746
24747
24748
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24750$as_echo_n "checking for y1... " >&6; }
24751if ${gcc_cv_math_func_y1+:} false; then :
24752 $as_echo_n "(cached) " >&6
24753else
24754 if test x$gcc_no_link = xyes; then
24755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24756fi
24757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24758/* end confdefs.h. */
24759
24760#ifdef HAVE_COMPLEX_H
24761#include <complex.h>
24762#endif
24763#ifdef HAVE_MATH_H
24764#include <math.h>
24765#endif
24766
24767int (*ptr)() = (int (*)())y1;
24768
24769int
24770main ()
24771{
24772 return 0;
24773}
24774
24775_ACEOF
24776if ac_fn_c_try_link "$LINENO"; then :
24777 gcc_cv_math_func_y1=yes
24778else
24779 gcc_cv_math_func_y1=no
24780fi
24781rm -f core conftest.err conftest.$ac_objext \
24782 conftest$ac_exeext conftest.$ac_ext
24783fi
24784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24785$as_echo "$gcc_cv_math_func_y1" >&6; }
24786 if test $gcc_cv_math_func_y1 = yes; then
24787
24788cat >>confdefs.h <<_ACEOF
24789#define HAVE_Y1 1
24790_ACEOF
24791
24792 fi
24793
24794
24795
24796
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24798$as_echo_n "checking for ynf... " >&6; }
24799if ${gcc_cv_math_func_ynf+:} false; then :
24800 $as_echo_n "(cached) " >&6
24801else
24802 if test x$gcc_no_link = xyes; then
24803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24804fi
24805cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24806/* end confdefs.h. */
24807
24808#ifdef HAVE_COMPLEX_H
24809#include <complex.h>
24810#endif
24811#ifdef HAVE_MATH_H
24812#include <math.h>
24813#endif
24814
24815int (*ptr)() = (int (*)())ynf;
24816
24817int
24818main ()
24819{
24820 return 0;
24821}
24822
24823_ACEOF
24824if ac_fn_c_try_link "$LINENO"; then :
24825 gcc_cv_math_func_ynf=yes
24826else
24827 gcc_cv_math_func_ynf=no
24828fi
24829rm -f core conftest.err conftest.$ac_objext \
24830 conftest$ac_exeext conftest.$ac_ext
24831fi
24832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24833$as_echo "$gcc_cv_math_func_ynf" >&6; }
24834 if test $gcc_cv_math_func_ynf = yes; then
24835
24836cat >>confdefs.h <<_ACEOF
24837#define HAVE_YNF 1
24838_ACEOF
24839
24840 fi
24841
24842
24843
24844
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24846$as_echo_n "checking for yn... " >&6; }
24847if ${gcc_cv_math_func_yn+:} false; then :
24848 $as_echo_n "(cached) " >&6
24849else
24850 if test x$gcc_no_link = xyes; then
24851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24852fi
24853cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24854/* end confdefs.h. */
24855
24856#ifdef HAVE_COMPLEX_H
24857#include <complex.h>
24858#endif
24859#ifdef HAVE_MATH_H
24860#include <math.h>
24861#endif
24862
24863int (*ptr)() = (int (*)())yn;
24864
24865int
24866main ()
24867{
24868 return 0;
24869}
24870
24871_ACEOF
24872if ac_fn_c_try_link "$LINENO"; then :
24873 gcc_cv_math_func_yn=yes
24874else
24875 gcc_cv_math_func_yn=no
24876fi
24877rm -f core conftest.err conftest.$ac_objext \
24878 conftest$ac_exeext conftest.$ac_ext
24879fi
24880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24881$as_echo "$gcc_cv_math_func_yn" >&6; }
24882 if test $gcc_cv_math_func_yn = yes; then
24883
24884cat >>confdefs.h <<_ACEOF
24885#define HAVE_YN 1
24886_ACEOF
24887
24888 fi
24889
24890
24891
24892
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24894$as_echo_n "checking for ynl... " >&6; }
24895if ${gcc_cv_math_func_ynl+:} false; then :
24896 $as_echo_n "(cached) " >&6
24897else
24898 if test x$gcc_no_link = xyes; then
24899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24900fi
24901cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24902/* end confdefs.h. */
24903
24904#ifdef HAVE_COMPLEX_H
24905#include <complex.h>
24906#endif
24907#ifdef HAVE_MATH_H
24908#include <math.h>
24909#endif
24910
24911int (*ptr)() = (int (*)())ynl;
24912
24913int
24914main ()
24915{
24916 return 0;
24917}
24918
24919_ACEOF
24920if ac_fn_c_try_link "$LINENO"; then :
24921 gcc_cv_math_func_ynl=yes
24922else
24923 gcc_cv_math_func_ynl=no
24924fi
24925rm -f core conftest.err conftest.$ac_objext \
24926 conftest$ac_exeext conftest.$ac_ext
24927fi
24928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24929$as_echo "$gcc_cv_math_func_ynl" >&6; }
24930 if test $gcc_cv_math_func_ynl = yes; then
24931
24932cat >>confdefs.h <<_ACEOF
24933#define HAVE_YNL 1
24934_ACEOF
24935
24936 fi
24937
24938
24939
24940
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24942$as_echo_n "checking for tgamma... " >&6; }
24943if ${gcc_cv_math_func_tgamma+:} false; then :
24944 $as_echo_n "(cached) " >&6
24945else
24946 if test x$gcc_no_link = xyes; then
24947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24948fi
24949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24950/* end confdefs.h. */
24951
24952#ifdef HAVE_COMPLEX_H
24953#include <complex.h>
24954#endif
24955#ifdef HAVE_MATH_H
24956#include <math.h>
24957#endif
24958
24959int (*ptr)() = (int (*)())tgamma;
24960
24961int
24962main ()
24963{
24964 return 0;
24965}
24966
24967_ACEOF
24968if ac_fn_c_try_link "$LINENO"; then :
24969 gcc_cv_math_func_tgamma=yes
24970else
24971 gcc_cv_math_func_tgamma=no
24972fi
24973rm -f core conftest.err conftest.$ac_objext \
24974 conftest$ac_exeext conftest.$ac_ext
24975fi
24976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24977$as_echo "$gcc_cv_math_func_tgamma" >&6; }
24978 if test $gcc_cv_math_func_tgamma = yes; then
24979
24980cat >>confdefs.h <<_ACEOF
24981#define HAVE_TGAMMA 1
24982_ACEOF
24983
24984 fi
24985
24986
24987
24988
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24990$as_echo_n "checking for tgammaf... " >&6; }
24991if ${gcc_cv_math_func_tgammaf+:} false; then :
24992 $as_echo_n "(cached) " >&6
24993else
24994 if test x$gcc_no_link = xyes; then
24995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24996fi
24997cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24998/* end confdefs.h. */
24999
25000#ifdef HAVE_COMPLEX_H
25001#include <complex.h>
25002#endif
25003#ifdef HAVE_MATH_H
25004#include <math.h>
25005#endif
25006
25007int (*ptr)() = (int (*)())tgammaf;
25008
25009int
25010main ()
25011{
25012 return 0;
25013}
25014
25015_ACEOF
25016if ac_fn_c_try_link "$LINENO"; then :
25017 gcc_cv_math_func_tgammaf=yes
25018else
25019 gcc_cv_math_func_tgammaf=no
25020fi
25021rm -f core conftest.err conftest.$ac_objext \
25022 conftest$ac_exeext conftest.$ac_ext
25023fi
25024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
25025$as_echo "$gcc_cv_math_func_tgammaf" >&6; }
25026 if test $gcc_cv_math_func_tgammaf = yes; then
25027
25028cat >>confdefs.h <<_ACEOF
25029#define HAVE_TGAMMAF 1
25030_ACEOF
25031
25032 fi
25033
25034
25035
25036
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
25038$as_echo_n "checking for lgamma... " >&6; }
25039if ${gcc_cv_math_func_lgamma+:} false; then :
25040 $as_echo_n "(cached) " >&6
25041else
25042 if test x$gcc_no_link = xyes; then
25043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25044fi
25045cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25046/* end confdefs.h. */
25047
25048#ifdef HAVE_COMPLEX_H
25049#include <complex.h>
25050#endif
25051#ifdef HAVE_MATH_H
25052#include <math.h>
25053#endif
25054
25055int (*ptr)() = (int (*)())lgamma;
25056
25057int
25058main ()
25059{
25060 return 0;
25061}
25062
25063_ACEOF
25064if ac_fn_c_try_link "$LINENO"; then :
25065 gcc_cv_math_func_lgamma=yes
25066else
25067 gcc_cv_math_func_lgamma=no
25068fi
25069rm -f core conftest.err conftest.$ac_objext \
25070 conftest$ac_exeext conftest.$ac_ext
25071fi
25072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
25073$as_echo "$gcc_cv_math_func_lgamma" >&6; }
25074 if test $gcc_cv_math_func_lgamma = yes; then
25075
25076cat >>confdefs.h <<_ACEOF
25077#define HAVE_LGAMMA 1
25078_ACEOF
25079
25080 fi
25081
25082
25083
25084
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
25086$as_echo_n "checking for lgammaf... " >&6; }
25087if ${gcc_cv_math_func_lgammaf+:} false; then :
25088 $as_echo_n "(cached) " >&6
25089else
25090 if test x$gcc_no_link = xyes; then
25091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25092fi
25093cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25094/* end confdefs.h. */
25095
25096#ifdef HAVE_COMPLEX_H
25097#include <complex.h>
25098#endif
25099#ifdef HAVE_MATH_H
25100#include <math.h>
25101#endif
25102
25103int (*ptr)() = (int (*)())lgammaf;
25104
25105int
25106main ()
25107{
25108 return 0;
25109}
25110
25111_ACEOF
25112if ac_fn_c_try_link "$LINENO"; then :
25113 gcc_cv_math_func_lgammaf=yes
25114else
25115 gcc_cv_math_func_lgammaf=no
25116fi
25117rm -f core conftest.err conftest.$ac_objext \
25118 conftest$ac_exeext conftest.$ac_ext
25119fi
25120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25121$as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25122 if test $gcc_cv_math_func_lgammaf = yes; then
25123
25124cat >>confdefs.h <<_ACEOF
25125#define HAVE_LGAMMAF 1
25126_ACEOF
25127
25128 fi
25129
25130
25131# Check for GFORTRAN_C99_1.1 funcs
25132
25133
25134
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25136$as_echo_n "checking for cacos... " >&6; }
25137if ${gcc_cv_math_func_cacos+:} false; then :
25138 $as_echo_n "(cached) " >&6
25139else
25140 if test x$gcc_no_link = xyes; then
25141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25142fi
25143cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144/* end confdefs.h. */
25145
25146#ifdef HAVE_COMPLEX_H
25147#include <complex.h>
25148#endif
25149#ifdef HAVE_MATH_H
25150#include <math.h>
25151#endif
25152
25153int (*ptr)() = (int (*)())cacos;
25154
25155int
25156main ()
25157{
25158 return 0;
25159}
25160
25161_ACEOF
25162if ac_fn_c_try_link "$LINENO"; then :
25163 gcc_cv_math_func_cacos=yes
25164else
25165 gcc_cv_math_func_cacos=no
25166fi
25167rm -f core conftest.err conftest.$ac_objext \
25168 conftest$ac_exeext conftest.$ac_ext
25169fi
25170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25171$as_echo "$gcc_cv_math_func_cacos" >&6; }
25172 if test $gcc_cv_math_func_cacos = yes; then
25173
25174cat >>confdefs.h <<_ACEOF
25175#define HAVE_CACOS 1
25176_ACEOF
25177
25178 fi
25179
25180
25181
25182
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25184$as_echo_n "checking for cacosf... " >&6; }
25185if ${gcc_cv_math_func_cacosf+:} false; then :
25186 $as_echo_n "(cached) " >&6
25187else
25188 if test x$gcc_no_link = xyes; then
25189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25190fi
25191cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25192/* end confdefs.h. */
25193
25194#ifdef HAVE_COMPLEX_H
25195#include <complex.h>
25196#endif
25197#ifdef HAVE_MATH_H
25198#include <math.h>
25199#endif
25200
25201int (*ptr)() = (int (*)())cacosf;
25202
25203int
25204main ()
25205{
25206 return 0;
25207}
25208
25209_ACEOF
25210if ac_fn_c_try_link "$LINENO"; then :
25211 gcc_cv_math_func_cacosf=yes
25212else
25213 gcc_cv_math_func_cacosf=no
25214fi
25215rm -f core conftest.err conftest.$ac_objext \
25216 conftest$ac_exeext conftest.$ac_ext
25217fi
25218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25219$as_echo "$gcc_cv_math_func_cacosf" >&6; }
25220 if test $gcc_cv_math_func_cacosf = yes; then
25221
25222cat >>confdefs.h <<_ACEOF
25223#define HAVE_CACOSF 1
25224_ACEOF
25225
25226 fi
25227
25228
25229
25230
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25232$as_echo_n "checking for cacosh... " >&6; }
25233if ${gcc_cv_math_func_cacosh+:} false; then :
25234 $as_echo_n "(cached) " >&6
25235else
25236 if test x$gcc_no_link = xyes; then
25237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25238fi
25239cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25240/* end confdefs.h. */
25241
25242#ifdef HAVE_COMPLEX_H
25243#include <complex.h>
25244#endif
25245#ifdef HAVE_MATH_H
25246#include <math.h>
25247#endif
25248
25249int (*ptr)() = (int (*)())cacosh;
25250
25251int
25252main ()
25253{
25254 return 0;
25255}
25256
25257_ACEOF
25258if ac_fn_c_try_link "$LINENO"; then :
25259 gcc_cv_math_func_cacosh=yes
25260else
25261 gcc_cv_math_func_cacosh=no
25262fi
25263rm -f core conftest.err conftest.$ac_objext \
25264 conftest$ac_exeext conftest.$ac_ext
25265fi
25266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25267$as_echo "$gcc_cv_math_func_cacosh" >&6; }
25268 if test $gcc_cv_math_func_cacosh = yes; then
25269
25270cat >>confdefs.h <<_ACEOF
25271#define HAVE_CACOSH 1
25272_ACEOF
25273
25274 fi
25275
25276
25277
25278
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25280$as_echo_n "checking for cacoshf... " >&6; }
25281if ${gcc_cv_math_func_cacoshf+:} false; then :
25282 $as_echo_n "(cached) " >&6
25283else
25284 if test x$gcc_no_link = xyes; then
25285 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25286fi
25287cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25288/* end confdefs.h. */
25289
25290#ifdef HAVE_COMPLEX_H
25291#include <complex.h>
25292#endif
25293#ifdef HAVE_MATH_H
25294#include <math.h>
25295#endif
25296
25297int (*ptr)() = (int (*)())cacoshf;
25298
25299int
25300main ()
25301{
25302 return 0;
25303}
25304
25305_ACEOF
25306if ac_fn_c_try_link "$LINENO"; then :
25307 gcc_cv_math_func_cacoshf=yes
25308else
25309 gcc_cv_math_func_cacoshf=no
25310fi
25311rm -f core conftest.err conftest.$ac_objext \
25312 conftest$ac_exeext conftest.$ac_ext
25313fi
25314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25315$as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25316 if test $gcc_cv_math_func_cacoshf = yes; then
25317
25318cat >>confdefs.h <<_ACEOF
25319#define HAVE_CACOSHF 1
25320_ACEOF
25321
25322 fi
25323
25324
25325
25326
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25328$as_echo_n "checking for cacoshl... " >&6; }
25329if ${gcc_cv_math_func_cacoshl+:} false; then :
25330 $as_echo_n "(cached) " >&6
25331else
25332 if test x$gcc_no_link = xyes; then
25333 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25334fi
25335cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25336/* end confdefs.h. */
25337
25338#ifdef HAVE_COMPLEX_H
25339#include <complex.h>
25340#endif
25341#ifdef HAVE_MATH_H
25342#include <math.h>
25343#endif
25344
25345int (*ptr)() = (int (*)())cacoshl;
25346
25347int
25348main ()
25349{
25350 return 0;
25351}
25352
25353_ACEOF
25354if ac_fn_c_try_link "$LINENO"; then :
25355 gcc_cv_math_func_cacoshl=yes
25356else
25357 gcc_cv_math_func_cacoshl=no
25358fi
25359rm -f core conftest.err conftest.$ac_objext \
25360 conftest$ac_exeext conftest.$ac_ext
25361fi
25362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25363$as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25364 if test $gcc_cv_math_func_cacoshl = yes; then
25365
25366cat >>confdefs.h <<_ACEOF
25367#define HAVE_CACOSHL 1
25368_ACEOF
25369
25370 fi
25371
25372
25373
25374
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25376$as_echo_n "checking for cacosl... " >&6; }
25377if ${gcc_cv_math_func_cacosl+:} false; then :
25378 $as_echo_n "(cached) " >&6
25379else
25380 if test x$gcc_no_link = xyes; then
25381 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25382fi
25383cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25384/* end confdefs.h. */
25385
25386#ifdef HAVE_COMPLEX_H
25387#include <complex.h>
25388#endif
25389#ifdef HAVE_MATH_H
25390#include <math.h>
25391#endif
25392
25393int (*ptr)() = (int (*)())cacosl;
25394
25395int
25396main ()
25397{
25398 return 0;
25399}
25400
25401_ACEOF
25402if ac_fn_c_try_link "$LINENO"; then :
25403 gcc_cv_math_func_cacosl=yes
25404else
25405 gcc_cv_math_func_cacosl=no
25406fi
25407rm -f core conftest.err conftest.$ac_objext \
25408 conftest$ac_exeext conftest.$ac_ext
25409fi
25410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25411$as_echo "$gcc_cv_math_func_cacosl" >&6; }
25412 if test $gcc_cv_math_func_cacosl = yes; then
25413
25414cat >>confdefs.h <<_ACEOF
25415#define HAVE_CACOSL 1
25416_ACEOF
25417
25418 fi
25419
25420
25421
25422
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25424$as_echo_n "checking for casin... " >&6; }
25425if ${gcc_cv_math_func_casin+:} false; then :
25426 $as_echo_n "(cached) " >&6
25427else
25428 if test x$gcc_no_link = xyes; then
25429 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25430fi
25431cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25432/* end confdefs.h. */
25433
25434#ifdef HAVE_COMPLEX_H
25435#include <complex.h>
25436#endif
25437#ifdef HAVE_MATH_H
25438#include <math.h>
25439#endif
25440
25441int (*ptr)() = (int (*)())casin;
25442
25443int
25444main ()
25445{
25446 return 0;
25447}
25448
25449_ACEOF
25450if ac_fn_c_try_link "$LINENO"; then :
25451 gcc_cv_math_func_casin=yes
25452else
25453 gcc_cv_math_func_casin=no
25454fi
25455rm -f core conftest.err conftest.$ac_objext \
25456 conftest$ac_exeext conftest.$ac_ext
25457fi
25458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25459$as_echo "$gcc_cv_math_func_casin" >&6; }
25460 if test $gcc_cv_math_func_casin = yes; then
25461
25462cat >>confdefs.h <<_ACEOF
25463#define HAVE_CASIN 1
25464_ACEOF
25465
25466 fi
25467
25468
25469
25470
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25472$as_echo_n "checking for casinf... " >&6; }
25473if ${gcc_cv_math_func_casinf+:} false; then :
25474 $as_echo_n "(cached) " >&6
25475else
25476 if test x$gcc_no_link = xyes; then
25477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25478fi
25479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25480/* end confdefs.h. */
25481
25482#ifdef HAVE_COMPLEX_H
25483#include <complex.h>
25484#endif
25485#ifdef HAVE_MATH_H
25486#include <math.h>
25487#endif
25488
25489int (*ptr)() = (int (*)())casinf;
25490
25491int
25492main ()
25493{
25494 return 0;
25495}
25496
25497_ACEOF
25498if ac_fn_c_try_link "$LINENO"; then :
25499 gcc_cv_math_func_casinf=yes
25500else
25501 gcc_cv_math_func_casinf=no
25502fi
25503rm -f core conftest.err conftest.$ac_objext \
25504 conftest$ac_exeext conftest.$ac_ext
25505fi
25506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25507$as_echo "$gcc_cv_math_func_casinf" >&6; }
25508 if test $gcc_cv_math_func_casinf = yes; then
25509
25510cat >>confdefs.h <<_ACEOF
25511#define HAVE_CASINF 1
25512_ACEOF
25513
25514 fi
25515
25516
25517
25518
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25520$as_echo_n "checking for casinh... " >&6; }
25521if ${gcc_cv_math_func_casinh+:} false; then :
25522 $as_echo_n "(cached) " >&6
25523else
25524 if test x$gcc_no_link = xyes; then
25525 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25526fi
25527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25528/* end confdefs.h. */
25529
25530#ifdef HAVE_COMPLEX_H
25531#include <complex.h>
25532#endif
25533#ifdef HAVE_MATH_H
25534#include <math.h>
25535#endif
25536
25537int (*ptr)() = (int (*)())casinh;
25538
25539int
25540main ()
25541{
25542 return 0;
25543}
25544
25545_ACEOF
25546if ac_fn_c_try_link "$LINENO"; then :
25547 gcc_cv_math_func_casinh=yes
25548else
25549 gcc_cv_math_func_casinh=no
25550fi
25551rm -f core conftest.err conftest.$ac_objext \
25552 conftest$ac_exeext conftest.$ac_ext
25553fi
25554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25555$as_echo "$gcc_cv_math_func_casinh" >&6; }
25556 if test $gcc_cv_math_func_casinh = yes; then
25557
25558cat >>confdefs.h <<_ACEOF
25559#define HAVE_CASINH 1
25560_ACEOF
25561
25562 fi
25563
25564
25565
25566
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25568$as_echo_n "checking for casinhf... " >&6; }
25569if ${gcc_cv_math_func_casinhf+:} false; then :
25570 $as_echo_n "(cached) " >&6
25571else
25572 if test x$gcc_no_link = xyes; then
25573 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25574fi
25575cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25576/* end confdefs.h. */
25577
25578#ifdef HAVE_COMPLEX_H
25579#include <complex.h>
25580#endif
25581#ifdef HAVE_MATH_H
25582#include <math.h>
25583#endif
25584
25585int (*ptr)() = (int (*)())casinhf;
25586
25587int
25588main ()
25589{
25590 return 0;
25591}
25592
25593_ACEOF
25594if ac_fn_c_try_link "$LINENO"; then :
25595 gcc_cv_math_func_casinhf=yes
25596else
25597 gcc_cv_math_func_casinhf=no
25598fi
25599rm -f core conftest.err conftest.$ac_objext \
25600 conftest$ac_exeext conftest.$ac_ext
25601fi
25602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25603$as_echo "$gcc_cv_math_func_casinhf" >&6; }
25604 if test $gcc_cv_math_func_casinhf = yes; then
25605
25606cat >>confdefs.h <<_ACEOF
25607#define HAVE_CASINHF 1
25608_ACEOF
25609
25610 fi
25611
25612
25613
25614
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25616$as_echo_n "checking for casinhl... " >&6; }
25617if ${gcc_cv_math_func_casinhl+:} false; then :
25618 $as_echo_n "(cached) " >&6
25619else
25620 if test x$gcc_no_link = xyes; then
25621 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25622fi
25623cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25624/* end confdefs.h. */
25625
25626#ifdef HAVE_COMPLEX_H
25627#include <complex.h>
25628#endif
25629#ifdef HAVE_MATH_H
25630#include <math.h>
25631#endif
25632
25633int (*ptr)() = (int (*)())casinhl;
25634
25635int
25636main ()
25637{
25638 return 0;
25639}
25640
25641_ACEOF
25642if ac_fn_c_try_link "$LINENO"; then :
25643 gcc_cv_math_func_casinhl=yes
25644else
25645 gcc_cv_math_func_casinhl=no
25646fi
25647rm -f core conftest.err conftest.$ac_objext \
25648 conftest$ac_exeext conftest.$ac_ext
25649fi
25650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25651$as_echo "$gcc_cv_math_func_casinhl" >&6; }
25652 if test $gcc_cv_math_func_casinhl = yes; then
25653
25654cat >>confdefs.h <<_ACEOF
25655#define HAVE_CASINHL 1
25656_ACEOF
25657
25658 fi
25659
25660
25661
25662
25663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25664$as_echo_n "checking for casinl... " >&6; }
25665if ${gcc_cv_math_func_casinl+:} false; then :
25666 $as_echo_n "(cached) " >&6
25667else
25668 if test x$gcc_no_link = xyes; then
25669 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25670fi
25671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25672/* end confdefs.h. */
25673
25674#ifdef HAVE_COMPLEX_H
25675#include <complex.h>
25676#endif
25677#ifdef HAVE_MATH_H
25678#include <math.h>
25679#endif
25680
25681int (*ptr)() = (int (*)())casinl;
25682
25683int
25684main ()
25685{
25686 return 0;
25687}
25688
25689_ACEOF
25690if ac_fn_c_try_link "$LINENO"; then :
25691 gcc_cv_math_func_casinl=yes
25692else
25693 gcc_cv_math_func_casinl=no
25694fi
25695rm -f core conftest.err conftest.$ac_objext \
25696 conftest$ac_exeext conftest.$ac_ext
25697fi
25698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25699$as_echo "$gcc_cv_math_func_casinl" >&6; }
25700 if test $gcc_cv_math_func_casinl = yes; then
25701
25702cat >>confdefs.h <<_ACEOF
25703#define HAVE_CASINL 1
25704_ACEOF
25705
25706 fi
25707
25708
25709
25710
25711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25712$as_echo_n "checking for catan... " >&6; }
25713if ${gcc_cv_math_func_catan+:} false; then :
25714 $as_echo_n "(cached) " >&6
25715else
25716 if test x$gcc_no_link = xyes; then
25717 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25718fi
25719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25720/* end confdefs.h. */
25721
25722#ifdef HAVE_COMPLEX_H
25723#include <complex.h>
25724#endif
25725#ifdef HAVE_MATH_H
25726#include <math.h>
25727#endif
25728
25729int (*ptr)() = (int (*)())catan;
25730
25731int
25732main ()
25733{
25734 return 0;
25735}
25736
25737_ACEOF
25738if ac_fn_c_try_link "$LINENO"; then :
25739 gcc_cv_math_func_catan=yes
25740else
25741 gcc_cv_math_func_catan=no
25742fi
25743rm -f core conftest.err conftest.$ac_objext \
25744 conftest$ac_exeext conftest.$ac_ext
25745fi
25746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25747$as_echo "$gcc_cv_math_func_catan" >&6; }
25748 if test $gcc_cv_math_func_catan = yes; then
25749
25750cat >>confdefs.h <<_ACEOF
25751#define HAVE_CATAN 1
25752_ACEOF
25753
25754 fi
25755
25756
25757
25758
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25760$as_echo_n "checking for catanf... " >&6; }
25761if ${gcc_cv_math_func_catanf+:} false; then :
25762 $as_echo_n "(cached) " >&6
25763else
25764 if test x$gcc_no_link = xyes; then
25765 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25766fi
25767cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25768/* end confdefs.h. */
25769
25770#ifdef HAVE_COMPLEX_H
25771#include <complex.h>
25772#endif
25773#ifdef HAVE_MATH_H
25774#include <math.h>
25775#endif
25776
25777int (*ptr)() = (int (*)())catanf;
25778
25779int
25780main ()
25781{
25782 return 0;
25783}
25784
25785_ACEOF
25786if ac_fn_c_try_link "$LINENO"; then :
25787 gcc_cv_math_func_catanf=yes
25788else
25789 gcc_cv_math_func_catanf=no
25790fi
25791rm -f core conftest.err conftest.$ac_objext \
25792 conftest$ac_exeext conftest.$ac_ext
25793fi
25794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25795$as_echo "$gcc_cv_math_func_catanf" >&6; }
25796 if test $gcc_cv_math_func_catanf = yes; then
25797
25798cat >>confdefs.h <<_ACEOF
25799#define HAVE_CATANF 1
25800_ACEOF
25801
25802 fi
25803
25804
25805
25806
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25808$as_echo_n "checking for catanh... " >&6; }
25809if ${gcc_cv_math_func_catanh+:} false; then :
25810 $as_echo_n "(cached) " >&6
25811else
25812 if test x$gcc_no_link = xyes; then
25813 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25814fi
25815cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25816/* end confdefs.h. */
25817
25818#ifdef HAVE_COMPLEX_H
25819#include <complex.h>
25820#endif
25821#ifdef HAVE_MATH_H
25822#include <math.h>
25823#endif
25824
25825int (*ptr)() = (int (*)())catanh;
25826
25827int
25828main ()
25829{
25830 return 0;
25831}
25832
25833_ACEOF
25834if ac_fn_c_try_link "$LINENO"; then :
25835 gcc_cv_math_func_catanh=yes
25836else
25837 gcc_cv_math_func_catanh=no
25838fi
25839rm -f core conftest.err conftest.$ac_objext \
25840 conftest$ac_exeext conftest.$ac_ext
25841fi
25842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25843$as_echo "$gcc_cv_math_func_catanh" >&6; }
25844 if test $gcc_cv_math_func_catanh = yes; then
25845
25846cat >>confdefs.h <<_ACEOF
25847#define HAVE_CATANH 1
25848_ACEOF
25849
25850 fi
25851
25852
25853
25854
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25856$as_echo_n "checking for catanhf... " >&6; }
25857if ${gcc_cv_math_func_catanhf+:} false; then :
25858 $as_echo_n "(cached) " >&6
25859else
25860 if test x$gcc_no_link = xyes; then
25861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25862fi
25863cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25864/* end confdefs.h. */
25865
25866#ifdef HAVE_COMPLEX_H
25867#include <complex.h>
25868#endif
25869#ifdef HAVE_MATH_H
25870#include <math.h>
25871#endif
25872
25873int (*ptr)() = (int (*)())catanhf;
25874
25875int
25876main ()
25877{
25878 return 0;
25879}
25880
25881_ACEOF
25882if ac_fn_c_try_link "$LINENO"; then :
25883 gcc_cv_math_func_catanhf=yes
25884else
25885 gcc_cv_math_func_catanhf=no
25886fi
25887rm -f core conftest.err conftest.$ac_objext \
25888 conftest$ac_exeext conftest.$ac_ext
25889fi
25890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25891$as_echo "$gcc_cv_math_func_catanhf" >&6; }
25892 if test $gcc_cv_math_func_catanhf = yes; then
25893
25894cat >>confdefs.h <<_ACEOF
25895#define HAVE_CATANHF 1
25896_ACEOF
25897
25898 fi
25899
25900
25901
25902
25903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25904$as_echo_n "checking for catanhl... " >&6; }
25905if ${gcc_cv_math_func_catanhl+:} false; then :
25906 $as_echo_n "(cached) " >&6
25907else
25908 if test x$gcc_no_link = xyes; then
25909 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25910fi
25911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25912/* end confdefs.h. */
25913
25914#ifdef HAVE_COMPLEX_H
25915#include <complex.h>
25916#endif
25917#ifdef HAVE_MATH_H
25918#include <math.h>
25919#endif
25920
25921int (*ptr)() = (int (*)())catanhl;
25922
25923int
25924main ()
25925{
25926 return 0;
25927}
25928
25929_ACEOF
25930if ac_fn_c_try_link "$LINENO"; then :
25931 gcc_cv_math_func_catanhl=yes
25932else
25933 gcc_cv_math_func_catanhl=no
25934fi
25935rm -f core conftest.err conftest.$ac_objext \
25936 conftest$ac_exeext conftest.$ac_ext
25937fi
25938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25939$as_echo "$gcc_cv_math_func_catanhl" >&6; }
25940 if test $gcc_cv_math_func_catanhl = yes; then
25941
25942cat >>confdefs.h <<_ACEOF
25943#define HAVE_CATANHL 1
25944_ACEOF
25945
25946 fi
25947
25948
25949
25950
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25952$as_echo_n "checking for catanl... " >&6; }
25953if ${gcc_cv_math_func_catanl+:} false; then :
25954 $as_echo_n "(cached) " >&6
25955else
25956 if test x$gcc_no_link = xyes; then
25957 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25958fi
25959cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25960/* end confdefs.h. */
25961
25962#ifdef HAVE_COMPLEX_H
25963#include <complex.h>
25964#endif
25965#ifdef HAVE_MATH_H
25966#include <math.h>
25967#endif
25968
25969int (*ptr)() = (int (*)())catanl;
25970
25971int
25972main ()
25973{
25974 return 0;
25975}
25976
25977_ACEOF
25978if ac_fn_c_try_link "$LINENO"; then :
25979 gcc_cv_math_func_catanl=yes
25980else
25981 gcc_cv_math_func_catanl=no
25982fi
25983rm -f core conftest.err conftest.$ac_objext \
25984 conftest$ac_exeext conftest.$ac_ext
25985fi
25986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25987$as_echo "$gcc_cv_math_func_catanl" >&6; }
25988 if test $gcc_cv_math_func_catanl = yes; then
25989
25990cat >>confdefs.h <<_ACEOF
25991#define HAVE_CATANL 1
25992_ACEOF
25993
25994 fi
25995
25996
25997# For POWER, check the ieee128 math functions
25998
25999if test "x$have_real_17" = "xyes"; then
26000
26001cat >>confdefs.h <<_ACEOF
26002#define HAVE_REAL_17 1
26003_ACEOF
26004
26005
26006
26007
26008
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
26010$as_echo_n "checking for __acoshieee128... " >&6; }
26011if ${gcc_cv_math_func___acoshieee128+:} false; then :
26012 $as_echo_n "(cached) " >&6
26013else
26014 if test x$gcc_no_link = xyes; then
26015 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26016fi
26017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26018/* end confdefs.h. */
26019
26020_Float128 __acoshieee128 (_Float128);
26021_Float128 (*ptr)(_Float128) = __acoshieee128;
26022
26023int
26024main ()
26025{
26026 return 0;
26027}
26028
26029_ACEOF
26030if ac_fn_c_try_link "$LINENO"; then :
26031 gcc_cv_math_func___acoshieee128=yes
26032else
26033 gcc_cv_math_func___acoshieee128=no
26034fi
26035rm -f core conftest.err conftest.$ac_objext \
26036 conftest$ac_exeext conftest.$ac_ext
26037fi
26038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
26039$as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
26040 if test $gcc_cv_math_func___acoshieee128 = yes; then
26041
26042cat >>confdefs.h <<_ACEOF
26043#define HAVE___ACOSHIEEE128 1
26044_ACEOF
26045
26046 fi
26047
26048
26049
26050
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
26052$as_echo_n "checking for __acosieee128... " >&6; }
26053if ${gcc_cv_math_func___acosieee128+:} false; then :
26054 $as_echo_n "(cached) " >&6
26055else
26056 if test x$gcc_no_link = xyes; then
26057 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26058fi
26059cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26060/* end confdefs.h. */
26061
26062_Float128 __acosieee128 (_Float128);
26063_Float128 (*ptr)(_Float128) = __acosieee128;
26064
26065int
26066main ()
26067{
26068 return 0;
26069}
26070
26071_ACEOF
26072if ac_fn_c_try_link "$LINENO"; then :
26073 gcc_cv_math_func___acosieee128=yes
26074else
26075 gcc_cv_math_func___acosieee128=no
26076fi
26077rm -f core conftest.err conftest.$ac_objext \
26078 conftest$ac_exeext conftest.$ac_ext
26079fi
26080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
26081$as_echo "$gcc_cv_math_func___acosieee128" >&6; }
26082 if test $gcc_cv_math_func___acosieee128 = yes; then
26083
26084cat >>confdefs.h <<_ACEOF
26085#define HAVE___ACOSIEEE128 1
26086_ACEOF
26087
26088 fi
26089
26090
26091
26092
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
26094$as_echo_n "checking for __asinhieee128... " >&6; }
26095if ${gcc_cv_math_func___asinhieee128+:} false; then :
26096 $as_echo_n "(cached) " >&6
26097else
26098 if test x$gcc_no_link = xyes; then
26099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26100fi
26101cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26102/* end confdefs.h. */
26103
26104_Float128 __asinhieee128 (_Float128);
26105_Float128 (*ptr)(_Float128) = __asinhieee128;
26106
26107int
26108main ()
26109{
26110 return 0;
26111}
26112
26113_ACEOF
26114if ac_fn_c_try_link "$LINENO"; then :
26115 gcc_cv_math_func___asinhieee128=yes
26116else
26117 gcc_cv_math_func___asinhieee128=no
26118fi
26119rm -f core conftest.err conftest.$ac_objext \
26120 conftest$ac_exeext conftest.$ac_ext
26121fi
26122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26123$as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26124 if test $gcc_cv_math_func___asinhieee128 = yes; then
26125
26126cat >>confdefs.h <<_ACEOF
26127#define HAVE___ASINHIEEE128 1
26128_ACEOF
26129
26130 fi
26131
26132
26133
26134
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26136$as_echo_n "checking for __asinieee128... " >&6; }
26137if ${gcc_cv_math_func___asinieee128+:} false; then :
26138 $as_echo_n "(cached) " >&6
26139else
26140 if test x$gcc_no_link = xyes; then
26141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26142fi
26143cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26144/* end confdefs.h. */
26145
26146_Float128 __asinieee128 (_Float128);
26147_Float128 (*ptr)(_Float128) = __asinieee128;
26148
26149int
26150main ()
26151{
26152 return 0;
26153}
26154
26155_ACEOF
26156if ac_fn_c_try_link "$LINENO"; then :
26157 gcc_cv_math_func___asinieee128=yes
26158else
26159 gcc_cv_math_func___asinieee128=no
26160fi
26161rm -f core conftest.err conftest.$ac_objext \
26162 conftest$ac_exeext conftest.$ac_ext
26163fi
26164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26165$as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26166 if test $gcc_cv_math_func___asinieee128 = yes; then
26167
26168cat >>confdefs.h <<_ACEOF
26169#define HAVE___ASINIEEE128 1
26170_ACEOF
26171
26172 fi
26173
26174
26175
26176
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26178$as_echo_n "checking for __atan2ieee128... " >&6; }
26179if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26180 $as_echo_n "(cached) " >&6
26181else
26182 if test x$gcc_no_link = xyes; then
26183 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26184fi
26185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26186/* end confdefs.h. */
26187
26188_Float128 __atan2ieee128 (_Float128);
26189_Float128 (*ptr)(_Float128) = __atan2ieee128;
26190
26191int
26192main ()
26193{
26194 return 0;
26195}
26196
26197_ACEOF
26198if ac_fn_c_try_link "$LINENO"; then :
26199 gcc_cv_math_func___atan2ieee128=yes
26200else
26201 gcc_cv_math_func___atan2ieee128=no
26202fi
26203rm -f core conftest.err conftest.$ac_objext \
26204 conftest$ac_exeext conftest.$ac_ext
26205fi
26206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26207$as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26208 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26209
26210cat >>confdefs.h <<_ACEOF
26211#define HAVE___ATAN2IEEE128 1
26212_ACEOF
26213
26214 fi
26215
26216
26217
26218
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26220$as_echo_n "checking for __atanhieee128... " >&6; }
26221if ${gcc_cv_math_func___atanhieee128+:} false; then :
26222 $as_echo_n "(cached) " >&6
26223else
26224 if test x$gcc_no_link = xyes; then
26225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26226fi
26227cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26228/* end confdefs.h. */
26229
26230_Float128 __atanhieee128 (_Float128);
26231_Float128 (*ptr)(_Float128) = __atanhieee128;
26232
26233int
26234main ()
26235{
26236 return 0;
26237}
26238
26239_ACEOF
26240if ac_fn_c_try_link "$LINENO"; then :
26241 gcc_cv_math_func___atanhieee128=yes
26242else
26243 gcc_cv_math_func___atanhieee128=no
26244fi
26245rm -f core conftest.err conftest.$ac_objext \
26246 conftest$ac_exeext conftest.$ac_ext
26247fi
26248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26249$as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26250 if test $gcc_cv_math_func___atanhieee128 = yes; then
26251
26252cat >>confdefs.h <<_ACEOF
26253#define HAVE___ATANHIEEE128 1
26254_ACEOF
26255
26256 fi
26257
26258
26259
26260
26261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26262$as_echo_n "checking for __atanieee128... " >&6; }
26263if ${gcc_cv_math_func___atanieee128+:} false; then :
26264 $as_echo_n "(cached) " >&6
26265else
26266 if test x$gcc_no_link = xyes; then
26267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26268fi
26269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26270/* end confdefs.h. */
26271
26272_Float128 __atanieee128 (_Float128);
26273_Float128 (*ptr)(_Float128) = __atanieee128;
26274
26275int
26276main ()
26277{
26278 return 0;
26279}
26280
26281_ACEOF
26282if ac_fn_c_try_link "$LINENO"; then :
26283 gcc_cv_math_func___atanieee128=yes
26284else
26285 gcc_cv_math_func___atanieee128=no
26286fi
26287rm -f core conftest.err conftest.$ac_objext \
26288 conftest$ac_exeext conftest.$ac_ext
26289fi
26290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26291$as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26292 if test $gcc_cv_math_func___atanieee128 = yes; then
26293
26294cat >>confdefs.h <<_ACEOF
26295#define HAVE___ATANIEEE128 1
26296_ACEOF
26297
26298 fi
26299
26300
26301
26302
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26304$as_echo_n "checking for __coshieee128... " >&6; }
26305if ${gcc_cv_math_func___coshieee128+:} false; then :
26306 $as_echo_n "(cached) " >&6
26307else
26308 if test x$gcc_no_link = xyes; then
26309 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26310fi
26311cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26312/* end confdefs.h. */
26313
26314_Float128 __coshieee128 (_Float128);
26315_Float128 (*ptr)(_Float128) = __coshieee128;
26316
26317int
26318main ()
26319{
26320 return 0;
26321}
26322
26323_ACEOF
26324if ac_fn_c_try_link "$LINENO"; then :
26325 gcc_cv_math_func___coshieee128=yes
26326else
26327 gcc_cv_math_func___coshieee128=no
26328fi
26329rm -f core conftest.err conftest.$ac_objext \
26330 conftest$ac_exeext conftest.$ac_ext
26331fi
26332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26333$as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26334 if test $gcc_cv_math_func___coshieee128 = yes; then
26335
26336cat >>confdefs.h <<_ACEOF
26337#define HAVE___COSHIEEE128 1
26338_ACEOF
26339
26340 fi
26341
26342
26343
26344
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26346$as_echo_n "checking for __cosieee128... " >&6; }
26347if ${gcc_cv_math_func___cosieee128+:} false; then :
26348 $as_echo_n "(cached) " >&6
26349else
26350 if test x$gcc_no_link = xyes; then
26351 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26352fi
26353cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26354/* end confdefs.h. */
26355
26356_Float128 __cosieee128 (_Float128);
26357_Float128 (*ptr)(_Float128) = __cosieee128;
26358
26359int
26360main ()
26361{
26362 return 0;
26363}
26364
26365_ACEOF
26366if ac_fn_c_try_link "$LINENO"; then :
26367 gcc_cv_math_func___cosieee128=yes
26368else
26369 gcc_cv_math_func___cosieee128=no
26370fi
26371rm -f core conftest.err conftest.$ac_objext \
26372 conftest$ac_exeext conftest.$ac_ext
26373fi
26374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26375$as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26376 if test $gcc_cv_math_func___cosieee128 = yes; then
26377
26378cat >>confdefs.h <<_ACEOF
26379#define HAVE___COSIEEE128 1
26380_ACEOF
26381
26382 fi
26383
26384
26385
26386
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26388$as_echo_n "checking for __erfieee128... " >&6; }
26389if ${gcc_cv_math_func___erfieee128+:} false; then :
26390 $as_echo_n "(cached) " >&6
26391else
26392 if test x$gcc_no_link = xyes; then
26393 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26394fi
26395cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26396/* end confdefs.h. */
26397
26398_Float128 __erfieee128 (_Float128);
26399_Float128 (*ptr)(_Float128) = __erfieee128;
26400
26401int
26402main ()
26403{
26404 return 0;
26405}
26406
26407_ACEOF
26408if ac_fn_c_try_link "$LINENO"; then :
26409 gcc_cv_math_func___erfieee128=yes
26410else
26411 gcc_cv_math_func___erfieee128=no
26412fi
26413rm -f core conftest.err conftest.$ac_objext \
26414 conftest$ac_exeext conftest.$ac_ext
26415fi
26416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26417$as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26418 if test $gcc_cv_math_func___erfieee128 = yes; then
26419
26420cat >>confdefs.h <<_ACEOF
26421#define HAVE___ERFIEEE128 1
26422_ACEOF
26423
26424 fi
26425
26426
26427
26428
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26430$as_echo_n "checking for __expieee128... " >&6; }
26431if ${gcc_cv_math_func___expieee128+:} false; then :
26432 $as_echo_n "(cached) " >&6
26433else
26434 if test x$gcc_no_link = xyes; then
26435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26436fi
26437cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26438/* end confdefs.h. */
26439
26440_Float128 __expieee128 (_Float128);
26441_Float128 (*ptr)(_Float128) = __expieee128;
26442
26443int
26444main ()
26445{
26446 return 0;
26447}
26448
26449_ACEOF
26450if ac_fn_c_try_link "$LINENO"; then :
26451 gcc_cv_math_func___expieee128=yes
26452else
26453 gcc_cv_math_func___expieee128=no
26454fi
26455rm -f core conftest.err conftest.$ac_objext \
26456 conftest$ac_exeext conftest.$ac_ext
26457fi
26458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26459$as_echo "$gcc_cv_math_func___expieee128" >&6; }
26460 if test $gcc_cv_math_func___expieee128 = yes; then
26461
26462cat >>confdefs.h <<_ACEOF
26463#define HAVE___EXPIEEE128 1
26464_ACEOF
26465
26466 fi
26467
26468
26469
26470
26471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26472$as_echo_n "checking for __fabsieee128... " >&6; }
26473if ${gcc_cv_math_func___fabsieee128+:} false; then :
26474 $as_echo_n "(cached) " >&6
26475else
26476 if test x$gcc_no_link = xyes; then
26477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26478fi
26479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26480/* end confdefs.h. */
26481
26482_Float128 __fabsieee128 (_Float128);
26483_Float128 (*ptr)(_Float128) = __fabsieee128;
26484
26485int
26486main ()
26487{
26488 return 0;
26489}
26490
26491_ACEOF
26492if ac_fn_c_try_link "$LINENO"; then :
26493 gcc_cv_math_func___fabsieee128=yes
26494else
26495 gcc_cv_math_func___fabsieee128=no
26496fi
26497rm -f core conftest.err conftest.$ac_objext \
26498 conftest$ac_exeext conftest.$ac_ext
26499fi
26500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26501$as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26502 if test $gcc_cv_math_func___fabsieee128 = yes; then
26503
26504cat >>confdefs.h <<_ACEOF
26505#define HAVE___FABSIEEE128 1
26506_ACEOF
26507
26508 fi
26509
26510
26511
26512
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26514$as_echo_n "checking for __jnieee128... " >&6; }
26515if ${gcc_cv_math_func___jnieee128+:} false; then :
26516 $as_echo_n "(cached) " >&6
26517else
26518 if test x$gcc_no_link = xyes; then
26519 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26520fi
26521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26522/* end confdefs.h. */
26523
26524_Float128 __jnieee128 (_Float128);
26525_Float128 (*ptr)(_Float128) = __jnieee128;
26526
26527int
26528main ()
26529{
26530 return 0;
26531}
26532
26533_ACEOF
26534if ac_fn_c_try_link "$LINENO"; then :
26535 gcc_cv_math_func___jnieee128=yes
26536else
26537 gcc_cv_math_func___jnieee128=no
26538fi
26539rm -f core conftest.err conftest.$ac_objext \
26540 conftest$ac_exeext conftest.$ac_ext
26541fi
26542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26543$as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26544 if test $gcc_cv_math_func___jnieee128 = yes; then
26545
26546cat >>confdefs.h <<_ACEOF
26547#define HAVE___JNIEEE128 1
26548_ACEOF
26549
26550 fi
26551
26552
26553
26554
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26556$as_echo_n "checking for __log10ieee128... " >&6; }
26557if ${gcc_cv_math_func___log10ieee128+:} false; then :
26558 $as_echo_n "(cached) " >&6
26559else
26560 if test x$gcc_no_link = xyes; then
26561 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26562fi
26563cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26564/* end confdefs.h. */
26565
26566_Float128 __log10ieee128 (_Float128);
26567_Float128 (*ptr)(_Float128) = __log10ieee128;
26568
26569int
26570main ()
26571{
26572 return 0;
26573}
26574
26575_ACEOF
26576if ac_fn_c_try_link "$LINENO"; then :
26577 gcc_cv_math_func___log10ieee128=yes
26578else
26579 gcc_cv_math_func___log10ieee128=no
26580fi
26581rm -f core conftest.err conftest.$ac_objext \
26582 conftest$ac_exeext conftest.$ac_ext
26583fi
26584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26585$as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26586 if test $gcc_cv_math_func___log10ieee128 = yes; then
26587
26588cat >>confdefs.h <<_ACEOF
26589#define HAVE___LOG10IEEE128 1
26590_ACEOF
26591
26592 fi
26593
26594
26595
26596
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26598$as_echo_n "checking for __logieee128... " >&6; }
26599if ${gcc_cv_math_func___logieee128+:} false; then :
26600 $as_echo_n "(cached) " >&6
26601else
26602 if test x$gcc_no_link = xyes; then
26603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26604fi
26605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26606/* end confdefs.h. */
26607
26608_Float128 __logieee128 (_Float128);
26609_Float128 (*ptr)(_Float128) = __logieee128;
26610
26611int
26612main ()
26613{
26614 return 0;
26615}
26616
26617_ACEOF
26618if ac_fn_c_try_link "$LINENO"; then :
26619 gcc_cv_math_func___logieee128=yes
26620else
26621 gcc_cv_math_func___logieee128=no
26622fi
26623rm -f core conftest.err conftest.$ac_objext \
26624 conftest$ac_exeext conftest.$ac_ext
26625fi
26626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26627$as_echo "$gcc_cv_math_func___logieee128" >&6; }
26628 if test $gcc_cv_math_func___logieee128 = yes; then
26629
26630cat >>confdefs.h <<_ACEOF
26631#define HAVE___LOGIEEE128 1
26632_ACEOF
26633
26634 fi
26635
26636
26637
26638
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26640$as_echo_n "checking for __powieee128... " >&6; }
26641if ${gcc_cv_math_func___powieee128+:} false; then :
26642 $as_echo_n "(cached) " >&6
26643else
26644 if test x$gcc_no_link = xyes; then
26645 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26646fi
26647cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26648/* end confdefs.h. */
26649
26650_Float128 __powieee128 (_Float128);
26651_Float128 (*ptr)(_Float128) = __powieee128;
26652
26653int
26654main ()
26655{
26656 return 0;
26657}
26658
26659_ACEOF
26660if ac_fn_c_try_link "$LINENO"; then :
26661 gcc_cv_math_func___powieee128=yes
26662else
26663 gcc_cv_math_func___powieee128=no
26664fi
26665rm -f core conftest.err conftest.$ac_objext \
26666 conftest$ac_exeext conftest.$ac_ext
26667fi
26668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26669$as_echo "$gcc_cv_math_func___powieee128" >&6; }
26670 if test $gcc_cv_math_func___powieee128 = yes; then
26671
26672cat >>confdefs.h <<_ACEOF
26673#define HAVE___POWIEEE128 1
26674_ACEOF
26675
26676 fi
26677
26678
26679
26680
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26682$as_echo_n "checking for __sinhieee128... " >&6; }
26683if ${gcc_cv_math_func___sinhieee128+:} false; then :
26684 $as_echo_n "(cached) " >&6
26685else
26686 if test x$gcc_no_link = xyes; then
26687 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26688fi
26689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26690/* end confdefs.h. */
26691
26692_Float128 __sinhieee128 (_Float128);
26693_Float128 (*ptr)(_Float128) = __sinhieee128;
26694
26695int
26696main ()
26697{
26698 return 0;
26699}
26700
26701_ACEOF
26702if ac_fn_c_try_link "$LINENO"; then :
26703 gcc_cv_math_func___sinhieee128=yes
26704else
26705 gcc_cv_math_func___sinhieee128=no
26706fi
26707rm -f core conftest.err conftest.$ac_objext \
26708 conftest$ac_exeext conftest.$ac_ext
26709fi
26710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26711$as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26712 if test $gcc_cv_math_func___sinhieee128 = yes; then
26713
26714cat >>confdefs.h <<_ACEOF
26715#define HAVE___SINHIEEE128 1
26716_ACEOF
26717
26718 fi
26719
26720
26721
26722
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26724$as_echo_n "checking for __sinieee128... " >&6; }
26725if ${gcc_cv_math_func___sinieee128+:} false; then :
26726 $as_echo_n "(cached) " >&6
26727else
26728 if test x$gcc_no_link = xyes; then
26729 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26730fi
26731cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26732/* end confdefs.h. */
26733
26734_Float128 __sinieee128 (_Float128);
26735_Float128 (*ptr)(_Float128) = __sinieee128;
26736
26737int
26738main ()
26739{
26740 return 0;
26741}
26742
26743_ACEOF
26744if ac_fn_c_try_link "$LINENO"; then :
26745 gcc_cv_math_func___sinieee128=yes
26746else
26747 gcc_cv_math_func___sinieee128=no
26748fi
26749rm -f core conftest.err conftest.$ac_objext \
26750 conftest$ac_exeext conftest.$ac_ext
26751fi
26752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26753$as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26754 if test $gcc_cv_math_func___sinieee128 = yes; then
26755
26756cat >>confdefs.h <<_ACEOF
26757#define HAVE___SINIEEE128 1
26758_ACEOF
26759
26760 fi
26761
26762
26763
26764
26765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26766$as_echo_n "checking for __sqrtieee128... " >&6; }
26767if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26768 $as_echo_n "(cached) " >&6
26769else
26770 if test x$gcc_no_link = xyes; then
26771 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26772fi
26773cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26774/* end confdefs.h. */
26775
26776_Float128 __sqrtieee128 (_Float128);
26777_Float128 (*ptr)(_Float128) = __sqrtieee128;
26778
26779int
26780main ()
26781{
26782 return 0;
26783}
26784
26785_ACEOF
26786if ac_fn_c_try_link "$LINENO"; then :
26787 gcc_cv_math_func___sqrtieee128=yes
26788else
26789 gcc_cv_math_func___sqrtieee128=no
26790fi
26791rm -f core conftest.err conftest.$ac_objext \
26792 conftest$ac_exeext conftest.$ac_ext
26793fi
26794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26795$as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26796 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26797
26798cat >>confdefs.h <<_ACEOF
26799#define HAVE___SQRTIEEE128 1
26800_ACEOF
26801
26802 fi
26803
26804
26805
26806
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26808$as_echo_n "checking for __tanhieee128... " >&6; }
26809if ${gcc_cv_math_func___tanhieee128+:} false; then :
26810 $as_echo_n "(cached) " >&6
26811else
26812 if test x$gcc_no_link = xyes; then
26813 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26814fi
26815cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26816/* end confdefs.h. */
26817
26818_Float128 __tanhieee128 (_Float128);
26819_Float128 (*ptr)(_Float128) = __tanhieee128;
26820
26821int
26822main ()
26823{
26824 return 0;
26825}
26826
26827_ACEOF
26828if ac_fn_c_try_link "$LINENO"; then :
26829 gcc_cv_math_func___tanhieee128=yes
26830else
26831 gcc_cv_math_func___tanhieee128=no
26832fi
26833rm -f core conftest.err conftest.$ac_objext \
26834 conftest$ac_exeext conftest.$ac_ext
26835fi
26836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26837$as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26838 if test $gcc_cv_math_func___tanhieee128 = yes; then
26839
26840cat >>confdefs.h <<_ACEOF
26841#define HAVE___TANHIEEE128 1
26842_ACEOF
26843
26844 fi
26845
26846
26847
26848
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26850$as_echo_n "checking for __tanieee128... " >&6; }
26851if ${gcc_cv_math_func___tanieee128+:} false; then :
26852 $as_echo_n "(cached) " >&6
26853else
26854 if test x$gcc_no_link = xyes; then
26855 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26856fi
26857cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26858/* end confdefs.h. */
26859
26860_Float128 __tanieee128 (_Float128);
26861_Float128 (*ptr)(_Float128) = __tanieee128;
26862
26863int
26864main ()
26865{
26866 return 0;
26867}
26868
26869_ACEOF
26870if ac_fn_c_try_link "$LINENO"; then :
26871 gcc_cv_math_func___tanieee128=yes
26872else
26873 gcc_cv_math_func___tanieee128=no
26874fi
26875rm -f core conftest.err conftest.$ac_objext \
26876 conftest$ac_exeext conftest.$ac_ext
26877fi
26878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26879$as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26880 if test $gcc_cv_math_func___tanieee128 = yes; then
26881
26882cat >>confdefs.h <<_ACEOF
26883#define HAVE___TANIEEE128 1
26884_ACEOF
26885
26886 fi
26887
26888
26889
26890
26891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26892$as_echo_n "checking for __ynieee128... " >&6; }
26893if ${gcc_cv_math_func___ynieee128+:} false; then :
26894 $as_echo_n "(cached) " >&6
26895else
26896 if test x$gcc_no_link = xyes; then
26897 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26898fi
26899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26900/* end confdefs.h. */
26901
26902_Float128 __ynieee128 (_Float128);
26903_Float128 (*ptr)(_Float128) = __ynieee128;
26904
26905int
26906main ()
26907{
26908 return 0;
26909}
26910
26911_ACEOF
26912if ac_fn_c_try_link "$LINENO"; then :
26913 gcc_cv_math_func___ynieee128=yes
26914else
26915 gcc_cv_math_func___ynieee128=no
26916fi
26917rm -f core conftest.err conftest.$ac_objext \
26918 conftest$ac_exeext conftest.$ac_ext
26919fi
26920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26921$as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26922 if test $gcc_cv_math_func___ynieee128 = yes; then
26923
26924cat >>confdefs.h <<_ACEOF
26925#define HAVE___YNIEEE128 1
26926_ACEOF
26927
26928 fi
26929
26930fi
26931
26932# On AIX, clog is present in libm as __clog
26933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26934$as_echo_n "checking for __clog in -lm... " >&6; }
26935if ${ac_cv_lib_m___clog+:} false; then :
26936 $as_echo_n "(cached) " >&6
26937else
26938 ac_check_lib_save_LIBS=$LIBS
26939LIBS="-lm $LIBS"
26940if test x$gcc_no_link = xyes; then
26941 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26942fi
26943cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26944/* end confdefs.h. */
26945
26946/* Override any GCC internal prototype to avoid an error.
26947 Use char because int might match the return type of a GCC
26948 builtin and then its argument prototype would still apply. */
26949#ifdef __cplusplus
26950extern "C"
26951#endif
26952char __clog ();
26953int
26954main ()
26955{
26956return __clog ();
26957 ;
26958 return 0;
26959}
26960_ACEOF
26961if ac_fn_c_try_link "$LINENO"; then :
26962 ac_cv_lib_m___clog=yes
26963else
26964 ac_cv_lib_m___clog=no
26965fi
26966rm -f core conftest.err conftest.$ac_objext \
26967 conftest$ac_exeext conftest.$ac_ext
26968LIBS=$ac_check_lib_save_LIBS
26969fi
26970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26971$as_echo "$ac_cv_lib_m___clog" >&6; }
26972if test "x$ac_cv_lib_m___clog" = xyes; then :
26973
26974$as_echo "#define HAVE_CLOG 1" >>confdefs.h
26975
26976fi
26977
26978
26979
26980
26981if test $gcc_cv_math_func_copysign = no; then
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26983$as_echo_n "checking for inline __builtin_copysign... " >&6; }
26984if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26985 $as_echo_n "(cached) " >&6
26986else
26987 if test x$gcc_no_link = xyes; then
26988 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26989fi
26990cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26991/* end confdefs.h. */
26992
26993double
26994copysign_fallback (double x, double y)
26995{
26996 return __builtin_copysign (x, y);
26997}
26998
26999int
27000main ()
27001{
27002 return 0;
27003}
27004
27005_ACEOF
27006if ac_fn_c_try_link "$LINENO"; then :
27007 gcc_cv_math_inline_builtin_copysign=yes
27008else
27009 gcc_cv_math_inline_builtin_copysign=no
27010fi
27011rm -f core conftest.err conftest.$ac_objext \
27012 conftest$ac_exeext conftest.$ac_ext
27013fi
27014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
27015$as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
27016 if test $gcc_cv_math_inline_builtin_copysign = yes; then
27017
27018cat >>confdefs.h <<_ACEOF
27019#define HAVE_INLINE_BUILTIN_COPYSIGN 1
27020_ACEOF
27021
27022 fi
27023fi
27024
27025
27026if test $gcc_cv_math_func_copysignl = no; then
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
27028$as_echo_n "checking for inline __builtin_copysignl... " >&6; }
27029if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
27030 $as_echo_n "(cached) " >&6
27031else
27032 if test x$gcc_no_link = xyes; then
27033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27034fi
27035cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27036/* end confdefs.h. */
27037
27038long double
27039copysignl_fallback (long double x, long double y)
27040{
27041 return __builtin_copysignl (x, y);
27042}
27043
27044int
27045main ()
27046{
27047 return 0;
27048}
27049
27050_ACEOF
27051if ac_fn_c_try_link "$LINENO"; then :
27052 gcc_cv_math_inline_builtin_copysignl=yes
27053else
27054 gcc_cv_math_inline_builtin_copysignl=no
27055fi
27056rm -f core conftest.err conftest.$ac_objext \
27057 conftest$ac_exeext conftest.$ac_ext
27058fi
27059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
27060$as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
27061 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
27062
27063cat >>confdefs.h <<_ACEOF
27064#define HAVE_INLINE_BUILTIN_COPYSIGNL 1
27065_ACEOF
27066
27067 fi
27068fi
27069
27070
27071if test $gcc_cv_math_func_fabs = no; then
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
27073$as_echo_n "checking for inline __builtin_fabs... " >&6; }
27074if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
27075 $as_echo_n "(cached) " >&6
27076else
27077 if test x$gcc_no_link = xyes; then
27078 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27079fi
27080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27081/* end confdefs.h. */
27082
27083double
27084fabs_fallback (double x)
27085{
27086 return __builtin_fabs (x);
27087}
27088
27089int
27090main ()
27091{
27092 return 0;
27093}
27094
27095_ACEOF
27096if ac_fn_c_try_link "$LINENO"; then :
27097 gcc_cv_math_inline_builtin_fabs=yes
27098else
27099 gcc_cv_math_inline_builtin_fabs=no
27100fi
27101rm -f core conftest.err conftest.$ac_objext \
27102 conftest$ac_exeext conftest.$ac_ext
27103fi
27104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
27105$as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
27106 if test $gcc_cv_math_inline_builtin_fabs = yes; then
27107
27108cat >>confdefs.h <<_ACEOF
27109#define HAVE_INLINE_BUILTIN_FABS 1
27110_ACEOF
27111
27112 fi
27113fi
27114
27115
27116if test $gcc_cv_math_func_fabsl = no; then
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
27118$as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27119if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
27120 $as_echo_n "(cached) " >&6
27121else
27122 if test x$gcc_no_link = xyes; then
27123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27124fi
27125cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27126/* end confdefs.h. */
27127
27128long double
27129fabsl_fallback (long double x)
27130{
27131 return __builtin_fabsl (x);
27132}
27133
27134int
27135main ()
27136{
27137 return 0;
27138}
27139
27140_ACEOF
27141if ac_fn_c_try_link "$LINENO"; then :
27142 gcc_cv_math_inline_builtin_fabsl=yes
27143else
27144 gcc_cv_math_inline_builtin_fabsl=no
27145fi
27146rm -f core conftest.err conftest.$ac_objext \
27147 conftest$ac_exeext conftest.$ac_ext
27148fi
27149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27150$as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27151 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27152
27153cat >>confdefs.h <<_ACEOF
27154#define HAVE_INLINE_BUILTIN_FABSL 1
27155_ACEOF
27156
27157 fi
27158fi
27159
27160
27161
27162
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27164$as_echo_n "checking for acosf128... " >&6; }
27165if ${gcc_cv_math_func_acosf128+:} false; then :
27166 $as_echo_n "(cached) " >&6
27167else
27168 if test x$gcc_no_link = xyes; then
27169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27170fi
27171cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27172/* end confdefs.h. */
27173
27174#ifdef HAVE_COMPLEX_H
27175#include <complex.h>
27176#endif
27177#ifdef HAVE_MATH_H
27178#include <math.h>
27179#endif
27180
27181int (*ptr)() = (int (*)())acosf128;
27182
27183int
27184main ()
27185{
27186 return 0;
27187}
27188
27189_ACEOF
27190if ac_fn_c_try_link "$LINENO"; then :
27191 gcc_cv_math_func_acosf128=yes
27192else
27193 gcc_cv_math_func_acosf128=no
27194fi
27195rm -f core conftest.err conftest.$ac_objext \
27196 conftest$ac_exeext conftest.$ac_ext
27197fi
27198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27199$as_echo "$gcc_cv_math_func_acosf128" >&6; }
27200 if test $gcc_cv_math_func_acosf128 = yes; then
27201
27202cat >>confdefs.h <<_ACEOF
27203#define HAVE_ACOSF128 1
27204_ACEOF
27205
27206 fi
27207
27208
27209
27210
27211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27212$as_echo_n "checking for acoshf128... " >&6; }
27213if ${gcc_cv_math_func_acoshf128+:} false; then :
27214 $as_echo_n "(cached) " >&6
27215else
27216 if test x$gcc_no_link = xyes; then
27217 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27218fi
27219cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27220/* end confdefs.h. */
27221
27222#ifdef HAVE_COMPLEX_H
27223#include <complex.h>
27224#endif
27225#ifdef HAVE_MATH_H
27226#include <math.h>
27227#endif
27228
27229int (*ptr)() = (int (*)())acoshf128;
27230
27231int
27232main ()
27233{
27234 return 0;
27235}
27236
27237_ACEOF
27238if ac_fn_c_try_link "$LINENO"; then :
27239 gcc_cv_math_func_acoshf128=yes
27240else
27241 gcc_cv_math_func_acoshf128=no
27242fi
27243rm -f core conftest.err conftest.$ac_objext \
27244 conftest$ac_exeext conftest.$ac_ext
27245fi
27246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27247$as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27248 if test $gcc_cv_math_func_acoshf128 = yes; then
27249
27250cat >>confdefs.h <<_ACEOF
27251#define HAVE_ACOSHF128 1
27252_ACEOF
27253
27254 fi
27255
27256
27257
27258
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27260$as_echo_n "checking for asinf128... " >&6; }
27261if ${gcc_cv_math_func_asinf128+:} false; then :
27262 $as_echo_n "(cached) " >&6
27263else
27264 if test x$gcc_no_link = xyes; then
27265 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27266fi
27267cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27268/* end confdefs.h. */
27269
27270#ifdef HAVE_COMPLEX_H
27271#include <complex.h>
27272#endif
27273#ifdef HAVE_MATH_H
27274#include <math.h>
27275#endif
27276
27277int (*ptr)() = (int (*)())asinf128;
27278
27279int
27280main ()
27281{
27282 return 0;
27283}
27284
27285_ACEOF
27286if ac_fn_c_try_link "$LINENO"; then :
27287 gcc_cv_math_func_asinf128=yes
27288else
27289 gcc_cv_math_func_asinf128=no
27290fi
27291rm -f core conftest.err conftest.$ac_objext \
27292 conftest$ac_exeext conftest.$ac_ext
27293fi
27294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27295$as_echo "$gcc_cv_math_func_asinf128" >&6; }
27296 if test $gcc_cv_math_func_asinf128 = yes; then
27297
27298cat >>confdefs.h <<_ACEOF
27299#define HAVE_ASINF128 1
27300_ACEOF
27301
27302 fi
27303
27304
27305
27306
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27308$as_echo_n "checking for asinhf128... " >&6; }
27309if ${gcc_cv_math_func_asinhf128+:} false; then :
27310 $as_echo_n "(cached) " >&6
27311else
27312 if test x$gcc_no_link = xyes; then
27313 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27314fi
27315cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27316/* end confdefs.h. */
27317
27318#ifdef HAVE_COMPLEX_H
27319#include <complex.h>
27320#endif
27321#ifdef HAVE_MATH_H
27322#include <math.h>
27323#endif
27324
27325int (*ptr)() = (int (*)())asinhf128;
27326
27327int
27328main ()
27329{
27330 return 0;
27331}
27332
27333_ACEOF
27334if ac_fn_c_try_link "$LINENO"; then :
27335 gcc_cv_math_func_asinhf128=yes
27336else
27337 gcc_cv_math_func_asinhf128=no
27338fi
27339rm -f core conftest.err conftest.$ac_objext \
27340 conftest$ac_exeext conftest.$ac_ext
27341fi
27342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27343$as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27344 if test $gcc_cv_math_func_asinhf128 = yes; then
27345
27346cat >>confdefs.h <<_ACEOF
27347#define HAVE_ASINHF128 1
27348_ACEOF
27349
27350 fi
27351
27352
27353
27354
27355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27356$as_echo_n "checking for atan2f128... " >&6; }
27357if ${gcc_cv_math_func_atan2f128+:} false; then :
27358 $as_echo_n "(cached) " >&6
27359else
27360 if test x$gcc_no_link = xyes; then
27361 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27362fi
27363cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27364/* end confdefs.h. */
27365
27366#ifdef HAVE_COMPLEX_H
27367#include <complex.h>
27368#endif
27369#ifdef HAVE_MATH_H
27370#include <math.h>
27371#endif
27372
27373int (*ptr)() = (int (*)())atan2f128;
27374
27375int
27376main ()
27377{
27378 return 0;
27379}
27380
27381_ACEOF
27382if ac_fn_c_try_link "$LINENO"; then :
27383 gcc_cv_math_func_atan2f128=yes
27384else
27385 gcc_cv_math_func_atan2f128=no
27386fi
27387rm -f core conftest.err conftest.$ac_objext \
27388 conftest$ac_exeext conftest.$ac_ext
27389fi
27390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27391$as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27392 if test $gcc_cv_math_func_atan2f128 = yes; then
27393
27394cat >>confdefs.h <<_ACEOF
27395#define HAVE_ATAN2F128 1
27396_ACEOF
27397
27398 fi
27399
27400
27401
27402
27403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27404$as_echo_n "checking for atanf128... " >&6; }
27405if ${gcc_cv_math_func_atanf128+:} false; then :
27406 $as_echo_n "(cached) " >&6
27407else
27408 if test x$gcc_no_link = xyes; then
27409 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27410fi
27411cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27412/* end confdefs.h. */
27413
27414#ifdef HAVE_COMPLEX_H
27415#include <complex.h>
27416#endif
27417#ifdef HAVE_MATH_H
27418#include <math.h>
27419#endif
27420
27421int (*ptr)() = (int (*)())atanf128;
27422
27423int
27424main ()
27425{
27426 return 0;
27427}
27428
27429_ACEOF
27430if ac_fn_c_try_link "$LINENO"; then :
27431 gcc_cv_math_func_atanf128=yes
27432else
27433 gcc_cv_math_func_atanf128=no
27434fi
27435rm -f core conftest.err conftest.$ac_objext \
27436 conftest$ac_exeext conftest.$ac_ext
27437fi
27438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27439$as_echo "$gcc_cv_math_func_atanf128" >&6; }
27440 if test $gcc_cv_math_func_atanf128 = yes; then
27441
27442cat >>confdefs.h <<_ACEOF
27443#define HAVE_ATANF128 1
27444_ACEOF
27445
27446 fi
27447
27448
27449
27450
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27452$as_echo_n "checking for atanhf128... " >&6; }
27453if ${gcc_cv_math_func_atanhf128+:} false; then :
27454 $as_echo_n "(cached) " >&6
27455else
27456 if test x$gcc_no_link = xyes; then
27457 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27458fi
27459cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27460/* end confdefs.h. */
27461
27462#ifdef HAVE_COMPLEX_H
27463#include <complex.h>
27464#endif
27465#ifdef HAVE_MATH_H
27466#include <math.h>
27467#endif
27468
27469int (*ptr)() = (int (*)())atanhf128;
27470
27471int
27472main ()
27473{
27474 return 0;
27475}
27476
27477_ACEOF
27478if ac_fn_c_try_link "$LINENO"; then :
27479 gcc_cv_math_func_atanhf128=yes
27480else
27481 gcc_cv_math_func_atanhf128=no
27482fi
27483rm -f core conftest.err conftest.$ac_objext \
27484 conftest$ac_exeext conftest.$ac_ext
27485fi
27486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27487$as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27488 if test $gcc_cv_math_func_atanhf128 = yes; then
27489
27490cat >>confdefs.h <<_ACEOF
27491#define HAVE_ATANHF128 1
27492_ACEOF
27493
27494 fi
27495
27496
27497
27498
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27500$as_echo_n "checking for cargf128... " >&6; }
27501if ${gcc_cv_math_func_cargf128+:} false; then :
27502 $as_echo_n "(cached) " >&6
27503else
27504 if test x$gcc_no_link = xyes; then
27505 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27506fi
27507cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27508/* end confdefs.h. */
27509
27510#ifdef HAVE_COMPLEX_H
27511#include <complex.h>
27512#endif
27513#ifdef HAVE_MATH_H
27514#include <math.h>
27515#endif
27516
27517int (*ptr)() = (int (*)())cargf128;
27518
27519int
27520main ()
27521{
27522 return 0;
27523}
27524
27525_ACEOF
27526if ac_fn_c_try_link "$LINENO"; then :
27527 gcc_cv_math_func_cargf128=yes
27528else
27529 gcc_cv_math_func_cargf128=no
27530fi
27531rm -f core conftest.err conftest.$ac_objext \
27532 conftest$ac_exeext conftest.$ac_ext
27533fi
27534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27535$as_echo "$gcc_cv_math_func_cargf128" >&6; }
27536 if test $gcc_cv_math_func_cargf128 = yes; then
27537
27538cat >>confdefs.h <<_ACEOF
27539#define HAVE_CARGF128 1
27540_ACEOF
27541
27542 fi
27543
27544
27545
27546
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27548$as_echo_n "checking for ceilf128... " >&6; }
27549if ${gcc_cv_math_func_ceilf128+:} false; then :
27550 $as_echo_n "(cached) " >&6
27551else
27552 if test x$gcc_no_link = xyes; then
27553 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27554fi
27555cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556/* end confdefs.h. */
27557
27558#ifdef HAVE_COMPLEX_H
27559#include <complex.h>
27560#endif
27561#ifdef HAVE_MATH_H
27562#include <math.h>
27563#endif
27564
27565int (*ptr)() = (int (*)())ceilf128;
27566
27567int
27568main ()
27569{
27570 return 0;
27571}
27572
27573_ACEOF
27574if ac_fn_c_try_link "$LINENO"; then :
27575 gcc_cv_math_func_ceilf128=yes
27576else
27577 gcc_cv_math_func_ceilf128=no
27578fi
27579rm -f core conftest.err conftest.$ac_objext \
27580 conftest$ac_exeext conftest.$ac_ext
27581fi
27582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27583$as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27584 if test $gcc_cv_math_func_ceilf128 = yes; then
27585
27586cat >>confdefs.h <<_ACEOF
27587#define HAVE_CEILF128 1
27588_ACEOF
27589
27590 fi
27591
27592
27593
27594
27595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27596$as_echo_n "checking for copysignf128... " >&6; }
27597if ${gcc_cv_math_func_copysignf128+:} false; then :
27598 $as_echo_n "(cached) " >&6
27599else
27600 if test x$gcc_no_link = xyes; then
27601 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27602fi
27603cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27604/* end confdefs.h. */
27605
27606#ifdef HAVE_COMPLEX_H
27607#include <complex.h>
27608#endif
27609#ifdef HAVE_MATH_H
27610#include <math.h>
27611#endif
27612
27613int (*ptr)() = (int (*)())copysignf128;
27614
27615int
27616main ()
27617{
27618 return 0;
27619}
27620
27621_ACEOF
27622if ac_fn_c_try_link "$LINENO"; then :
27623 gcc_cv_math_func_copysignf128=yes
27624else
27625 gcc_cv_math_func_copysignf128=no
27626fi
27627rm -f core conftest.err conftest.$ac_objext \
27628 conftest$ac_exeext conftest.$ac_ext
27629fi
27630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27631$as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27632 if test $gcc_cv_math_func_copysignf128 = yes; then
27633
27634cat >>confdefs.h <<_ACEOF
27635#define HAVE_COPYSIGNF128 1
27636_ACEOF
27637
27638 fi
27639
27640
27641
27642
27643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27644$as_echo_n "checking for cosf128... " >&6; }
27645if ${gcc_cv_math_func_cosf128+:} false; then :
27646 $as_echo_n "(cached) " >&6
27647else
27648 if test x$gcc_no_link = xyes; then
27649 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27650fi
27651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27652/* end confdefs.h. */
27653
27654#ifdef HAVE_COMPLEX_H
27655#include <complex.h>
27656#endif
27657#ifdef HAVE_MATH_H
27658#include <math.h>
27659#endif
27660
27661int (*ptr)() = (int (*)())cosf128;
27662
27663int
27664main ()
27665{
27666 return 0;
27667}
27668
27669_ACEOF
27670if ac_fn_c_try_link "$LINENO"; then :
27671 gcc_cv_math_func_cosf128=yes
27672else
27673 gcc_cv_math_func_cosf128=no
27674fi
27675rm -f core conftest.err conftest.$ac_objext \
27676 conftest$ac_exeext conftest.$ac_ext
27677fi
27678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27679$as_echo "$gcc_cv_math_func_cosf128" >&6; }
27680 if test $gcc_cv_math_func_cosf128 = yes; then
27681
27682cat >>confdefs.h <<_ACEOF
27683#define HAVE_COSF128 1
27684_ACEOF
27685
27686 fi
27687
27688
27689
27690
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27692$as_echo_n "checking for ccosf128... " >&6; }
27693if ${gcc_cv_math_func_ccosf128+:} false; then :
27694 $as_echo_n "(cached) " >&6
27695else
27696 if test x$gcc_no_link = xyes; then
27697 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27698fi
27699cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27700/* end confdefs.h. */
27701
27702#ifdef HAVE_COMPLEX_H
27703#include <complex.h>
27704#endif
27705#ifdef HAVE_MATH_H
27706#include <math.h>
27707#endif
27708
27709int (*ptr)() = (int (*)())ccosf128;
27710
27711int
27712main ()
27713{
27714 return 0;
27715}
27716
27717_ACEOF
27718if ac_fn_c_try_link "$LINENO"; then :
27719 gcc_cv_math_func_ccosf128=yes
27720else
27721 gcc_cv_math_func_ccosf128=no
27722fi
27723rm -f core conftest.err conftest.$ac_objext \
27724 conftest$ac_exeext conftest.$ac_ext
27725fi
27726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27727$as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27728 if test $gcc_cv_math_func_ccosf128 = yes; then
27729
27730cat >>confdefs.h <<_ACEOF
27731#define HAVE_CCOSF128 1
27732_ACEOF
27733
27734 fi
27735
27736
27737
27738
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27740$as_echo_n "checking for coshf128... " >&6; }
27741if ${gcc_cv_math_func_coshf128+:} false; then :
27742 $as_echo_n "(cached) " >&6
27743else
27744 if test x$gcc_no_link = xyes; then
27745 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27746fi
27747cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27748/* end confdefs.h. */
27749
27750#ifdef HAVE_COMPLEX_H
27751#include <complex.h>
27752#endif
27753#ifdef HAVE_MATH_H
27754#include <math.h>
27755#endif
27756
27757int (*ptr)() = (int (*)())coshf128;
27758
27759int
27760main ()
27761{
27762 return 0;
27763}
27764
27765_ACEOF
27766if ac_fn_c_try_link "$LINENO"; then :
27767 gcc_cv_math_func_coshf128=yes
27768else
27769 gcc_cv_math_func_coshf128=no
27770fi
27771rm -f core conftest.err conftest.$ac_objext \
27772 conftest$ac_exeext conftest.$ac_ext
27773fi
27774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27775$as_echo "$gcc_cv_math_func_coshf128" >&6; }
27776 if test $gcc_cv_math_func_coshf128 = yes; then
27777
27778cat >>confdefs.h <<_ACEOF
27779#define HAVE_COSHF128 1
27780_ACEOF
27781
27782 fi
27783
27784
27785
27786
27787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27788$as_echo_n "checking for ccoshf128... " >&6; }
27789if ${gcc_cv_math_func_ccoshf128+:} false; then :
27790 $as_echo_n "(cached) " >&6
27791else
27792 if test x$gcc_no_link = xyes; then
27793 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27794fi
27795cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27796/* end confdefs.h. */
27797
27798#ifdef HAVE_COMPLEX_H
27799#include <complex.h>
27800#endif
27801#ifdef HAVE_MATH_H
27802#include <math.h>
27803#endif
27804
27805int (*ptr)() = (int (*)())ccoshf128;
27806
27807int
27808main ()
27809{
27810 return 0;
27811}
27812
27813_ACEOF
27814if ac_fn_c_try_link "$LINENO"; then :
27815 gcc_cv_math_func_ccoshf128=yes
27816else
27817 gcc_cv_math_func_ccoshf128=no
27818fi
27819rm -f core conftest.err conftest.$ac_objext \
27820 conftest$ac_exeext conftest.$ac_ext
27821fi
27822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27823$as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27824 if test $gcc_cv_math_func_ccoshf128 = yes; then
27825
27826cat >>confdefs.h <<_ACEOF
27827#define HAVE_CCOSHF128 1
27828_ACEOF
27829
27830 fi
27831
27832
27833
27834
27835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27836$as_echo_n "checking for expf128... " >&6; }
27837if ${gcc_cv_math_func_expf128+:} false; then :
27838 $as_echo_n "(cached) " >&6
27839else
27840 if test x$gcc_no_link = xyes; then
27841 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27842fi
27843cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27844/* end confdefs.h. */
27845
27846#ifdef HAVE_COMPLEX_H
27847#include <complex.h>
27848#endif
27849#ifdef HAVE_MATH_H
27850#include <math.h>
27851#endif
27852
27853int (*ptr)() = (int (*)())expf128;
27854
27855int
27856main ()
27857{
27858 return 0;
27859}
27860
27861_ACEOF
27862if ac_fn_c_try_link "$LINENO"; then :
27863 gcc_cv_math_func_expf128=yes
27864else
27865 gcc_cv_math_func_expf128=no
27866fi
27867rm -f core conftest.err conftest.$ac_objext \
27868 conftest$ac_exeext conftest.$ac_ext
27869fi
27870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27871$as_echo "$gcc_cv_math_func_expf128" >&6; }
27872 if test $gcc_cv_math_func_expf128 = yes; then
27873
27874cat >>confdefs.h <<_ACEOF
27875#define HAVE_EXPF128 1
27876_ACEOF
27877
27878 fi
27879
27880
27881
27882
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27884$as_echo_n "checking for cexpf128... " >&6; }
27885if ${gcc_cv_math_func_cexpf128+:} false; then :
27886 $as_echo_n "(cached) " >&6
27887else
27888 if test x$gcc_no_link = xyes; then
27889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27890fi
27891cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27892/* end confdefs.h. */
27893
27894#ifdef HAVE_COMPLEX_H
27895#include <complex.h>
27896#endif
27897#ifdef HAVE_MATH_H
27898#include <math.h>
27899#endif
27900
27901int (*ptr)() = (int (*)())cexpf128;
27902
27903int
27904main ()
27905{
27906 return 0;
27907}
27908
27909_ACEOF
27910if ac_fn_c_try_link "$LINENO"; then :
27911 gcc_cv_math_func_cexpf128=yes
27912else
27913 gcc_cv_math_func_cexpf128=no
27914fi
27915rm -f core conftest.err conftest.$ac_objext \
27916 conftest$ac_exeext conftest.$ac_ext
27917fi
27918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27919$as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27920 if test $gcc_cv_math_func_cexpf128 = yes; then
27921
27922cat >>confdefs.h <<_ACEOF
27923#define HAVE_CEXPF128 1
27924_ACEOF
27925
27926 fi
27927
27928
27929
27930
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27932$as_echo_n "checking for fabsf128... " >&6; }
27933if ${gcc_cv_math_func_fabsf128+:} false; then :
27934 $as_echo_n "(cached) " >&6
27935else
27936 if test x$gcc_no_link = xyes; then
27937 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27938fi
27939cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27940/* end confdefs.h. */
27941
27942#ifdef HAVE_COMPLEX_H
27943#include <complex.h>
27944#endif
27945#ifdef HAVE_MATH_H
27946#include <math.h>
27947#endif
27948
27949int (*ptr)() = (int (*)())fabsf128;
27950
27951int
27952main ()
27953{
27954 return 0;
27955}
27956
27957_ACEOF
27958if ac_fn_c_try_link "$LINENO"; then :
27959 gcc_cv_math_func_fabsf128=yes
27960else
27961 gcc_cv_math_func_fabsf128=no
27962fi
27963rm -f core conftest.err conftest.$ac_objext \
27964 conftest$ac_exeext conftest.$ac_ext
27965fi
27966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27967$as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27968 if test $gcc_cv_math_func_fabsf128 = yes; then
27969
27970cat >>confdefs.h <<_ACEOF
27971#define HAVE_FABSF128 1
27972_ACEOF
27973
27974 fi
27975
27976
27977
27978
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27980$as_echo_n "checking for cabsf128... " >&6; }
27981if ${gcc_cv_math_func_cabsf128+:} false; then :
27982 $as_echo_n "(cached) " >&6
27983else
27984 if test x$gcc_no_link = xyes; then
27985 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27986fi
27987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27988/* end confdefs.h. */
27989
27990#ifdef HAVE_COMPLEX_H
27991#include <complex.h>
27992#endif
27993#ifdef HAVE_MATH_H
27994#include <math.h>
27995#endif
27996
27997int (*ptr)() = (int (*)())cabsf128;
27998
27999int
28000main ()
28001{
28002 return 0;
28003}
28004
28005_ACEOF
28006if ac_fn_c_try_link "$LINENO"; then :
28007 gcc_cv_math_func_cabsf128=yes
28008else
28009 gcc_cv_math_func_cabsf128=no
28010fi
28011rm -f core conftest.err conftest.$ac_objext \
28012 conftest$ac_exeext conftest.$ac_ext
28013fi
28014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
28015$as_echo "$gcc_cv_math_func_cabsf128" >&6; }
28016 if test $gcc_cv_math_func_cabsf128 = yes; then
28017
28018cat >>confdefs.h <<_ACEOF
28019#define HAVE_CABSF128 1
28020_ACEOF
28021
28022 fi
28023
28024
28025
28026
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
28028$as_echo_n "checking for floorf128... " >&6; }
28029if ${gcc_cv_math_func_floorf128+:} false; then :
28030 $as_echo_n "(cached) " >&6
28031else
28032 if test x$gcc_no_link = xyes; then
28033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28034fi
28035cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28036/* end confdefs.h. */
28037
28038#ifdef HAVE_COMPLEX_H
28039#include <complex.h>
28040#endif
28041#ifdef HAVE_MATH_H
28042#include <math.h>
28043#endif
28044
28045int (*ptr)() = (int (*)())floorf128;
28046
28047int
28048main ()
28049{
28050 return 0;
28051}
28052
28053_ACEOF
28054if ac_fn_c_try_link "$LINENO"; then :
28055 gcc_cv_math_func_floorf128=yes
28056else
28057 gcc_cv_math_func_floorf128=no
28058fi
28059rm -f core conftest.err conftest.$ac_objext \
28060 conftest$ac_exeext conftest.$ac_ext
28061fi
28062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
28063$as_echo "$gcc_cv_math_func_floorf128" >&6; }
28064 if test $gcc_cv_math_func_floorf128 = yes; then
28065
28066cat >>confdefs.h <<_ACEOF
28067#define HAVE_FLOORF128 1
28068_ACEOF
28069
28070 fi
28071
28072
28073
28074
28075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
28076$as_echo_n "checking for fmaf128... " >&6; }
28077if ${gcc_cv_math_func_fmaf128+:} false; then :
28078 $as_echo_n "(cached) " >&6
28079else
28080 if test x$gcc_no_link = xyes; then
28081 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28082fi
28083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28084/* end confdefs.h. */
28085
28086#ifdef HAVE_COMPLEX_H
28087#include <complex.h>
28088#endif
28089#ifdef HAVE_MATH_H
28090#include <math.h>
28091#endif
28092
28093int (*ptr)() = (int (*)())fmaf128;
28094
28095int
28096main ()
28097{
28098 return 0;
28099}
28100
28101_ACEOF
28102if ac_fn_c_try_link "$LINENO"; then :
28103 gcc_cv_math_func_fmaf128=yes
28104else
28105 gcc_cv_math_func_fmaf128=no
28106fi
28107rm -f core conftest.err conftest.$ac_objext \
28108 conftest$ac_exeext conftest.$ac_ext
28109fi
28110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
28111$as_echo "$gcc_cv_math_func_fmaf128" >&6; }
28112 if test $gcc_cv_math_func_fmaf128 = yes; then
28113
28114cat >>confdefs.h <<_ACEOF
28115#define HAVE_FMAF128 1
28116_ACEOF
28117
28118 fi
28119
28120
28121
28122
28123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28124$as_echo_n "checking for fmodf128... " >&6; }
28125if ${gcc_cv_math_func_fmodf128+:} false; then :
28126 $as_echo_n "(cached) " >&6
28127else
28128 if test x$gcc_no_link = xyes; then
28129 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28130fi
28131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28132/* end confdefs.h. */
28133
28134#ifdef HAVE_COMPLEX_H
28135#include <complex.h>
28136#endif
28137#ifdef HAVE_MATH_H
28138#include <math.h>
28139#endif
28140
28141int (*ptr)() = (int (*)())fmodf128;
28142
28143int
28144main ()
28145{
28146 return 0;
28147}
28148
28149_ACEOF
28150if ac_fn_c_try_link "$LINENO"; then :
28151 gcc_cv_math_func_fmodf128=yes
28152else
28153 gcc_cv_math_func_fmodf128=no
28154fi
28155rm -f core conftest.err conftest.$ac_objext \
28156 conftest$ac_exeext conftest.$ac_ext
28157fi
28158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28159$as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28160 if test $gcc_cv_math_func_fmodf128 = yes; then
28161
28162cat >>confdefs.h <<_ACEOF
28163#define HAVE_FMODF128 1
28164_ACEOF
28165
28166 fi
28167
28168
28169
28170
28171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28172$as_echo_n "checking for frexpf128... " >&6; }
28173if ${gcc_cv_math_func_frexpf128+:} false; then :
28174 $as_echo_n "(cached) " >&6
28175else
28176 if test x$gcc_no_link = xyes; then
28177 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28178fi
28179cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28180/* end confdefs.h. */
28181
28182#ifdef HAVE_COMPLEX_H
28183#include <complex.h>
28184#endif
28185#ifdef HAVE_MATH_H
28186#include <math.h>
28187#endif
28188
28189int (*ptr)() = (int (*)())frexpf128;
28190
28191int
28192main ()
28193{
28194 return 0;
28195}
28196
28197_ACEOF
28198if ac_fn_c_try_link "$LINENO"; then :
28199 gcc_cv_math_func_frexpf128=yes
28200else
28201 gcc_cv_math_func_frexpf128=no
28202fi
28203rm -f core conftest.err conftest.$ac_objext \
28204 conftest$ac_exeext conftest.$ac_ext
28205fi
28206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28207$as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28208 if test $gcc_cv_math_func_frexpf128 = yes; then
28209
28210cat >>confdefs.h <<_ACEOF
28211#define HAVE_FREXPF128 1
28212_ACEOF
28213
28214 fi
28215
28216
28217
28218
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28220$as_echo_n "checking for hypotf128... " >&6; }
28221if ${gcc_cv_math_func_hypotf128+:} false; then :
28222 $as_echo_n "(cached) " >&6
28223else
28224 if test x$gcc_no_link = xyes; then
28225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28226fi
28227cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28228/* end confdefs.h. */
28229
28230#ifdef HAVE_COMPLEX_H
28231#include <complex.h>
28232#endif
28233#ifdef HAVE_MATH_H
28234#include <math.h>
28235#endif
28236
28237int (*ptr)() = (int (*)())hypotf128;
28238
28239int
28240main ()
28241{
28242 return 0;
28243}
28244
28245_ACEOF
28246if ac_fn_c_try_link "$LINENO"; then :
28247 gcc_cv_math_func_hypotf128=yes
28248else
28249 gcc_cv_math_func_hypotf128=no
28250fi
28251rm -f core conftest.err conftest.$ac_objext \
28252 conftest$ac_exeext conftest.$ac_ext
28253fi
28254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28255$as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28256 if test $gcc_cv_math_func_hypotf128 = yes; then
28257
28258cat >>confdefs.h <<_ACEOF
28259#define HAVE_HYPOTF128 1
28260_ACEOF
28261
28262 fi
28263
28264
28265
28266
28267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28268$as_echo_n "checking for ldexpf128... " >&6; }
28269if ${gcc_cv_math_func_ldexpf128+:} false; then :
28270 $as_echo_n "(cached) " >&6
28271else
28272 if test x$gcc_no_link = xyes; then
28273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28274fi
28275cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28276/* end confdefs.h. */
28277
28278#ifdef HAVE_COMPLEX_H
28279#include <complex.h>
28280#endif
28281#ifdef HAVE_MATH_H
28282#include <math.h>
28283#endif
28284
28285int (*ptr)() = (int (*)())ldexpf128;
28286
28287int
28288main ()
28289{
28290 return 0;
28291}
28292
28293_ACEOF
28294if ac_fn_c_try_link "$LINENO"; then :
28295 gcc_cv_math_func_ldexpf128=yes
28296else
28297 gcc_cv_math_func_ldexpf128=no
28298fi
28299rm -f core conftest.err conftest.$ac_objext \
28300 conftest$ac_exeext conftest.$ac_ext
28301fi
28302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28303$as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28304 if test $gcc_cv_math_func_ldexpf128 = yes; then
28305
28306cat >>confdefs.h <<_ACEOF
28307#define HAVE_LDEXPF128 1
28308_ACEOF
28309
28310 fi
28311
28312
28313
28314
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28316$as_echo_n "checking for logf128... " >&6; }
28317if ${gcc_cv_math_func_logf128+:} false; then :
28318 $as_echo_n "(cached) " >&6
28319else
28320 if test x$gcc_no_link = xyes; then
28321 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28322fi
28323cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28324/* end confdefs.h. */
28325
28326#ifdef HAVE_COMPLEX_H
28327#include <complex.h>
28328#endif
28329#ifdef HAVE_MATH_H
28330#include <math.h>
28331#endif
28332
28333int (*ptr)() = (int (*)())logf128;
28334
28335int
28336main ()
28337{
28338 return 0;
28339}
28340
28341_ACEOF
28342if ac_fn_c_try_link "$LINENO"; then :
28343 gcc_cv_math_func_logf128=yes
28344else
28345 gcc_cv_math_func_logf128=no
28346fi
28347rm -f core conftest.err conftest.$ac_objext \
28348 conftest$ac_exeext conftest.$ac_ext
28349fi
28350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28351$as_echo "$gcc_cv_math_func_logf128" >&6; }
28352 if test $gcc_cv_math_func_logf128 = yes; then
28353
28354cat >>confdefs.h <<_ACEOF
28355#define HAVE_LOGF128 1
28356_ACEOF
28357
28358 fi
28359
28360
28361
28362
28363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28364$as_echo_n "checking for clogf128... " >&6; }
28365if ${gcc_cv_math_func_clogf128+:} false; then :
28366 $as_echo_n "(cached) " >&6
28367else
28368 if test x$gcc_no_link = xyes; then
28369 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28370fi
28371cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28372/* end confdefs.h. */
28373
28374#ifdef HAVE_COMPLEX_H
28375#include <complex.h>
28376#endif
28377#ifdef HAVE_MATH_H
28378#include <math.h>
28379#endif
28380
28381int (*ptr)() = (int (*)())clogf128;
28382
28383int
28384main ()
28385{
28386 return 0;
28387}
28388
28389_ACEOF
28390if ac_fn_c_try_link "$LINENO"; then :
28391 gcc_cv_math_func_clogf128=yes
28392else
28393 gcc_cv_math_func_clogf128=no
28394fi
28395rm -f core conftest.err conftest.$ac_objext \
28396 conftest$ac_exeext conftest.$ac_ext
28397fi
28398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28399$as_echo "$gcc_cv_math_func_clogf128" >&6; }
28400 if test $gcc_cv_math_func_clogf128 = yes; then
28401
28402cat >>confdefs.h <<_ACEOF
28403#define HAVE_CLOGF128 1
28404_ACEOF
28405
28406 fi
28407
28408
28409
28410
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28412$as_echo_n "checking for log10f128... " >&6; }
28413if ${gcc_cv_math_func_log10f128+:} false; then :
28414 $as_echo_n "(cached) " >&6
28415else
28416 if test x$gcc_no_link = xyes; then
28417 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28418fi
28419cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28420/* end confdefs.h. */
28421
28422#ifdef HAVE_COMPLEX_H
28423#include <complex.h>
28424#endif
28425#ifdef HAVE_MATH_H
28426#include <math.h>
28427#endif
28428
28429int (*ptr)() = (int (*)())log10f128;
28430
28431int
28432main ()
28433{
28434 return 0;
28435}
28436
28437_ACEOF
28438if ac_fn_c_try_link "$LINENO"; then :
28439 gcc_cv_math_func_log10f128=yes
28440else
28441 gcc_cv_math_func_log10f128=no
28442fi
28443rm -f core conftest.err conftest.$ac_objext \
28444 conftest$ac_exeext conftest.$ac_ext
28445fi
28446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28447$as_echo "$gcc_cv_math_func_log10f128" >&6; }
28448 if test $gcc_cv_math_func_log10f128 = yes; then
28449
28450cat >>confdefs.h <<_ACEOF
28451#define HAVE_LOG10F128 1
28452_ACEOF
28453
28454 fi
28455
28456
28457
28458
28459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28460$as_echo_n "checking for clog10f128... " >&6; }
28461if ${gcc_cv_math_func_clog10f128+:} false; then :
28462 $as_echo_n "(cached) " >&6
28463else
28464 if test x$gcc_no_link = xyes; then
28465 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28466fi
28467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28468/* end confdefs.h. */
28469
28470#ifdef HAVE_COMPLEX_H
28471#include <complex.h>
28472#endif
28473#ifdef HAVE_MATH_H
28474#include <math.h>
28475#endif
28476
28477int (*ptr)() = (int (*)())clog10f128;
28478
28479int
28480main ()
28481{
28482 return 0;
28483}
28484
28485_ACEOF
28486if ac_fn_c_try_link "$LINENO"; then :
28487 gcc_cv_math_func_clog10f128=yes
28488else
28489 gcc_cv_math_func_clog10f128=no
28490fi
28491rm -f core conftest.err conftest.$ac_objext \
28492 conftest$ac_exeext conftest.$ac_ext
28493fi
28494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28495$as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28496 if test $gcc_cv_math_func_clog10f128 = yes; then
28497
28498cat >>confdefs.h <<_ACEOF
28499#define HAVE_CLOG10F128 1
28500_ACEOF
28501
28502 fi
28503
28504
28505
28506
28507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28508$as_echo_n "checking for nextafterf128... " >&6; }
28509if ${gcc_cv_math_func_nextafterf128+:} false; then :
28510 $as_echo_n "(cached) " >&6
28511else
28512 if test x$gcc_no_link = xyes; then
28513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28514fi
28515cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28516/* end confdefs.h. */
28517
28518#ifdef HAVE_COMPLEX_H
28519#include <complex.h>
28520#endif
28521#ifdef HAVE_MATH_H
28522#include <math.h>
28523#endif
28524
28525int (*ptr)() = (int (*)())nextafterf128;
28526
28527int
28528main ()
28529{
28530 return 0;
28531}
28532
28533_ACEOF
28534if ac_fn_c_try_link "$LINENO"; then :
28535 gcc_cv_math_func_nextafterf128=yes
28536else
28537 gcc_cv_math_func_nextafterf128=no
28538fi
28539rm -f core conftest.err conftest.$ac_objext \
28540 conftest$ac_exeext conftest.$ac_ext
28541fi
28542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28543$as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28544 if test $gcc_cv_math_func_nextafterf128 = yes; then
28545
28546cat >>confdefs.h <<_ACEOF
28547#define HAVE_NEXTAFTERF128 1
28548_ACEOF
28549
28550 fi
28551
28552
28553
28554
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28556$as_echo_n "checking for powf128... " >&6; }
28557if ${gcc_cv_math_func_powf128+:} false; then :
28558 $as_echo_n "(cached) " >&6
28559else
28560 if test x$gcc_no_link = xyes; then
28561 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28562fi
28563cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28564/* end confdefs.h. */
28565
28566#ifdef HAVE_COMPLEX_H
28567#include <complex.h>
28568#endif
28569#ifdef HAVE_MATH_H
28570#include <math.h>
28571#endif
28572
28573int (*ptr)() = (int (*)())powf128;
28574
28575int
28576main ()
28577{
28578 return 0;
28579}
28580
28581_ACEOF
28582if ac_fn_c_try_link "$LINENO"; then :
28583 gcc_cv_math_func_powf128=yes
28584else
28585 gcc_cv_math_func_powf128=no
28586fi
28587rm -f core conftest.err conftest.$ac_objext \
28588 conftest$ac_exeext conftest.$ac_ext
28589fi
28590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28591$as_echo "$gcc_cv_math_func_powf128" >&6; }
28592 if test $gcc_cv_math_func_powf128 = yes; then
28593
28594cat >>confdefs.h <<_ACEOF
28595#define HAVE_POWF128 1
28596_ACEOF
28597
28598 fi
28599
28600
28601
28602
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28604$as_echo_n "checking for cpowf128... " >&6; }
28605if ${gcc_cv_math_func_cpowf128+:} false; then :
28606 $as_echo_n "(cached) " >&6
28607else
28608 if test x$gcc_no_link = xyes; then
28609 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28610fi
28611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28612/* end confdefs.h. */
28613
28614#ifdef HAVE_COMPLEX_H
28615#include <complex.h>
28616#endif
28617#ifdef HAVE_MATH_H
28618#include <math.h>
28619#endif
28620
28621int (*ptr)() = (int (*)())cpowf128;
28622
28623int
28624main ()
28625{
28626 return 0;
28627}
28628
28629_ACEOF
28630if ac_fn_c_try_link "$LINENO"; then :
28631 gcc_cv_math_func_cpowf128=yes
28632else
28633 gcc_cv_math_func_cpowf128=no
28634fi
28635rm -f core conftest.err conftest.$ac_objext \
28636 conftest$ac_exeext conftest.$ac_ext
28637fi
28638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28639$as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28640 if test $gcc_cv_math_func_cpowf128 = yes; then
28641
28642cat >>confdefs.h <<_ACEOF
28643#define HAVE_CPOWF128 1
28644_ACEOF
28645
28646 fi
28647
28648
28649
28650
28651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28652$as_echo_n "checking for roundf128... " >&6; }
28653if ${gcc_cv_math_func_roundf128+:} false; then :
28654 $as_echo_n "(cached) " >&6
28655else
28656 if test x$gcc_no_link = xyes; then
28657 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28658fi
28659cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28660/* end confdefs.h. */
28661
28662#ifdef HAVE_COMPLEX_H
28663#include <complex.h>
28664#endif
28665#ifdef HAVE_MATH_H
28666#include <math.h>
28667#endif
28668
28669int (*ptr)() = (int (*)())roundf128;
28670
28671int
28672main ()
28673{
28674 return 0;
28675}
28676
28677_ACEOF
28678if ac_fn_c_try_link "$LINENO"; then :
28679 gcc_cv_math_func_roundf128=yes
28680else
28681 gcc_cv_math_func_roundf128=no
28682fi
28683rm -f core conftest.err conftest.$ac_objext \
28684 conftest$ac_exeext conftest.$ac_ext
28685fi
28686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28687$as_echo "$gcc_cv_math_func_roundf128" >&6; }
28688 if test $gcc_cv_math_func_roundf128 = yes; then
28689
28690cat >>confdefs.h <<_ACEOF
28691#define HAVE_ROUNDF128 1
28692_ACEOF
28693
28694 fi
28695
28696
28697
28698
28699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28700$as_echo_n "checking for lroundf128... " >&6; }
28701if ${gcc_cv_math_func_lroundf128+:} false; then :
28702 $as_echo_n "(cached) " >&6
28703else
28704 if test x$gcc_no_link = xyes; then
28705 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28706fi
28707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28708/* end confdefs.h. */
28709
28710#ifdef HAVE_COMPLEX_H
28711#include <complex.h>
28712#endif
28713#ifdef HAVE_MATH_H
28714#include <math.h>
28715#endif
28716
28717int (*ptr)() = (int (*)())lroundf128;
28718
28719int
28720main ()
28721{
28722 return 0;
28723}
28724
28725_ACEOF
28726if ac_fn_c_try_link "$LINENO"; then :
28727 gcc_cv_math_func_lroundf128=yes
28728else
28729 gcc_cv_math_func_lroundf128=no
28730fi
28731rm -f core conftest.err conftest.$ac_objext \
28732 conftest$ac_exeext conftest.$ac_ext
28733fi
28734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28735$as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28736 if test $gcc_cv_math_func_lroundf128 = yes; then
28737
28738cat >>confdefs.h <<_ACEOF
28739#define HAVE_LROUNDF128 1
28740_ACEOF
28741
28742 fi
28743
28744
28745
28746
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28748$as_echo_n "checking for llroundf128... " >&6; }
28749if ${gcc_cv_math_func_llroundf128+:} false; then :
28750 $as_echo_n "(cached) " >&6
28751else
28752 if test x$gcc_no_link = xyes; then
28753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28754fi
28755cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28756/* end confdefs.h. */
28757
28758#ifdef HAVE_COMPLEX_H
28759#include <complex.h>
28760#endif
28761#ifdef HAVE_MATH_H
28762#include <math.h>
28763#endif
28764
28765int (*ptr)() = (int (*)())llroundf128;
28766
28767int
28768main ()
28769{
28770 return 0;
28771}
28772
28773_ACEOF
28774if ac_fn_c_try_link "$LINENO"; then :
28775 gcc_cv_math_func_llroundf128=yes
28776else
28777 gcc_cv_math_func_llroundf128=no
28778fi
28779rm -f core conftest.err conftest.$ac_objext \
28780 conftest$ac_exeext conftest.$ac_ext
28781fi
28782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28783$as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28784 if test $gcc_cv_math_func_llroundf128 = yes; then
28785
28786cat >>confdefs.h <<_ACEOF
28787#define HAVE_LLROUNDF128 1
28788_ACEOF
28789
28790 fi
28791
28792
28793
28794
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28796$as_echo_n "checking for scalbnf128... " >&6; }
28797if ${gcc_cv_math_func_scalbnf128+:} false; then :
28798 $as_echo_n "(cached) " >&6
28799else
28800 if test x$gcc_no_link = xyes; then
28801 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28802fi
28803cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28804/* end confdefs.h. */
28805
28806#ifdef HAVE_COMPLEX_H
28807#include <complex.h>
28808#endif
28809#ifdef HAVE_MATH_H
28810#include <math.h>
28811#endif
28812
28813int (*ptr)() = (int (*)())scalbnf128;
28814
28815int
28816main ()
28817{
28818 return 0;
28819}
28820
28821_ACEOF
28822if ac_fn_c_try_link "$LINENO"; then :
28823 gcc_cv_math_func_scalbnf128=yes
28824else
28825 gcc_cv_math_func_scalbnf128=no
28826fi
28827rm -f core conftest.err conftest.$ac_objext \
28828 conftest$ac_exeext conftest.$ac_ext
28829fi
28830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28831$as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28832 if test $gcc_cv_math_func_scalbnf128 = yes; then
28833
28834cat >>confdefs.h <<_ACEOF
28835#define HAVE_SCALBNF128 1
28836_ACEOF
28837
28838 fi
28839
28840
28841
28842
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28844$as_echo_n "checking for sinf128... " >&6; }
28845if ${gcc_cv_math_func_sinf128+:} false; then :
28846 $as_echo_n "(cached) " >&6
28847else
28848 if test x$gcc_no_link = xyes; then
28849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28850fi
28851cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28852/* end confdefs.h. */
28853
28854#ifdef HAVE_COMPLEX_H
28855#include <complex.h>
28856#endif
28857#ifdef HAVE_MATH_H
28858#include <math.h>
28859#endif
28860
28861int (*ptr)() = (int (*)())sinf128;
28862
28863int
28864main ()
28865{
28866 return 0;
28867}
28868
28869_ACEOF
28870if ac_fn_c_try_link "$LINENO"; then :
28871 gcc_cv_math_func_sinf128=yes
28872else
28873 gcc_cv_math_func_sinf128=no
28874fi
28875rm -f core conftest.err conftest.$ac_objext \
28876 conftest$ac_exeext conftest.$ac_ext
28877fi
28878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28879$as_echo "$gcc_cv_math_func_sinf128" >&6; }
28880 if test $gcc_cv_math_func_sinf128 = yes; then
28881
28882cat >>confdefs.h <<_ACEOF
28883#define HAVE_SINF128 1
28884_ACEOF
28885
28886 fi
28887
28888
28889
28890
28891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28892$as_echo_n "checking for csinf128... " >&6; }
28893if ${gcc_cv_math_func_csinf128+:} false; then :
28894 $as_echo_n "(cached) " >&6
28895else
28896 if test x$gcc_no_link = xyes; then
28897 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28898fi
28899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28900/* end confdefs.h. */
28901
28902#ifdef HAVE_COMPLEX_H
28903#include <complex.h>
28904#endif
28905#ifdef HAVE_MATH_H
28906#include <math.h>
28907#endif
28908
28909int (*ptr)() = (int (*)())csinf128;
28910
28911int
28912main ()
28913{
28914 return 0;
28915}
28916
28917_ACEOF
28918if ac_fn_c_try_link "$LINENO"; then :
28919 gcc_cv_math_func_csinf128=yes
28920else
28921 gcc_cv_math_func_csinf128=no
28922fi
28923rm -f core conftest.err conftest.$ac_objext \
28924 conftest$ac_exeext conftest.$ac_ext
28925fi
28926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28927$as_echo "$gcc_cv_math_func_csinf128" >&6; }
28928 if test $gcc_cv_math_func_csinf128 = yes; then
28929
28930cat >>confdefs.h <<_ACEOF
28931#define HAVE_CSINF128 1
28932_ACEOF
28933
28934 fi
28935
28936
28937
28938
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28940$as_echo_n "checking for sinhf128... " >&6; }
28941if ${gcc_cv_math_func_sinhf128+:} false; then :
28942 $as_echo_n "(cached) " >&6
28943else
28944 if test x$gcc_no_link = xyes; then
28945 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28946fi
28947cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28948/* end confdefs.h. */
28949
28950#ifdef HAVE_COMPLEX_H
28951#include <complex.h>
28952#endif
28953#ifdef HAVE_MATH_H
28954#include <math.h>
28955#endif
28956
28957int (*ptr)() = (int (*)())sinhf128;
28958
28959int
28960main ()
28961{
28962 return 0;
28963}
28964
28965_ACEOF
28966if ac_fn_c_try_link "$LINENO"; then :
28967 gcc_cv_math_func_sinhf128=yes
28968else
28969 gcc_cv_math_func_sinhf128=no
28970fi
28971rm -f core conftest.err conftest.$ac_objext \
28972 conftest$ac_exeext conftest.$ac_ext
28973fi
28974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28975$as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28976 if test $gcc_cv_math_func_sinhf128 = yes; then
28977
28978cat >>confdefs.h <<_ACEOF
28979#define HAVE_SINHF128 1
28980_ACEOF
28981
28982 fi
28983
28984
28985
28986
28987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28988$as_echo_n "checking for csinhf128... " >&6; }
28989if ${gcc_cv_math_func_csinhf128+:} false; then :
28990 $as_echo_n "(cached) " >&6
28991else
28992 if test x$gcc_no_link = xyes; then
28993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28994fi
28995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28996/* end confdefs.h. */
28997
28998#ifdef HAVE_COMPLEX_H
28999#include <complex.h>
29000#endif
29001#ifdef HAVE_MATH_H
29002#include <math.h>
29003#endif
29004
29005int (*ptr)() = (int (*)())csinhf128;
29006
29007int
29008main ()
29009{
29010 return 0;
29011}
29012
29013_ACEOF
29014if ac_fn_c_try_link "$LINENO"; then :
29015 gcc_cv_math_func_csinhf128=yes
29016else
29017 gcc_cv_math_func_csinhf128=no
29018fi
29019rm -f core conftest.err conftest.$ac_objext \
29020 conftest$ac_exeext conftest.$ac_ext
29021fi
29022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
29023$as_echo "$gcc_cv_math_func_csinhf128" >&6; }
29024 if test $gcc_cv_math_func_csinhf128 = yes; then
29025
29026cat >>confdefs.h <<_ACEOF
29027#define HAVE_CSINHF128 1
29028_ACEOF
29029
29030 fi
29031
29032
29033
29034
29035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
29036$as_echo_n "checking for sqrtf128... " >&6; }
29037if ${gcc_cv_math_func_sqrtf128+:} false; then :
29038 $as_echo_n "(cached) " >&6
29039else
29040 if test x$gcc_no_link = xyes; then
29041 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29042fi
29043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29044/* end confdefs.h. */
29045
29046#ifdef HAVE_COMPLEX_H
29047#include <complex.h>
29048#endif
29049#ifdef HAVE_MATH_H
29050#include <math.h>
29051#endif
29052
29053int (*ptr)() = (int (*)())sqrtf128;
29054
29055int
29056main ()
29057{
29058 return 0;
29059}
29060
29061_ACEOF
29062if ac_fn_c_try_link "$LINENO"; then :
29063 gcc_cv_math_func_sqrtf128=yes
29064else
29065 gcc_cv_math_func_sqrtf128=no
29066fi
29067rm -f core conftest.err conftest.$ac_objext \
29068 conftest$ac_exeext conftest.$ac_ext
29069fi
29070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
29071$as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
29072 if test $gcc_cv_math_func_sqrtf128 = yes; then
29073
29074cat >>confdefs.h <<_ACEOF
29075#define HAVE_SQRTF128 1
29076_ACEOF
29077
29078 fi
29079
29080
29081
29082
29083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
29084$as_echo_n "checking for csqrtf128... " >&6; }
29085if ${gcc_cv_math_func_csqrtf128+:} false; then :
29086 $as_echo_n "(cached) " >&6
29087else
29088 if test x$gcc_no_link = xyes; then
29089 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29090fi
29091cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29092/* end confdefs.h. */
29093
29094#ifdef HAVE_COMPLEX_H
29095#include <complex.h>
29096#endif
29097#ifdef HAVE_MATH_H
29098#include <math.h>
29099#endif
29100
29101int (*ptr)() = (int (*)())csqrtf128;
29102
29103int
29104main ()
29105{
29106 return 0;
29107}
29108
29109_ACEOF
29110if ac_fn_c_try_link "$LINENO"; then :
29111 gcc_cv_math_func_csqrtf128=yes
29112else
29113 gcc_cv_math_func_csqrtf128=no
29114fi
29115rm -f core conftest.err conftest.$ac_objext \
29116 conftest$ac_exeext conftest.$ac_ext
29117fi
29118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29119$as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29120 if test $gcc_cv_math_func_csqrtf128 = yes; then
29121
29122cat >>confdefs.h <<_ACEOF
29123#define HAVE_CSQRTF128 1
29124_ACEOF
29125
29126 fi
29127
29128
29129
29130
29131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29132$as_echo_n "checking for tanf128... " >&6; }
29133if ${gcc_cv_math_func_tanf128+:} false; then :
29134 $as_echo_n "(cached) " >&6
29135else
29136 if test x$gcc_no_link = xyes; then
29137 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29138fi
29139cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29140/* end confdefs.h. */
29141
29142#ifdef HAVE_COMPLEX_H
29143#include <complex.h>
29144#endif
29145#ifdef HAVE_MATH_H
29146#include <math.h>
29147#endif
29148
29149int (*ptr)() = (int (*)())tanf128;
29150
29151int
29152main ()
29153{
29154 return 0;
29155}
29156
29157_ACEOF
29158if ac_fn_c_try_link "$LINENO"; then :
29159 gcc_cv_math_func_tanf128=yes
29160else
29161 gcc_cv_math_func_tanf128=no
29162fi
29163rm -f core conftest.err conftest.$ac_objext \
29164 conftest$ac_exeext conftest.$ac_ext
29165fi
29166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29167$as_echo "$gcc_cv_math_func_tanf128" >&6; }
29168 if test $gcc_cv_math_func_tanf128 = yes; then
29169
29170cat >>confdefs.h <<_ACEOF
29171#define HAVE_TANF128 1
29172_ACEOF
29173
29174 fi
29175
29176
29177
29178
29179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29180$as_echo_n "checking for ctanf128... " >&6; }
29181if ${gcc_cv_math_func_ctanf128+:} false; then :
29182 $as_echo_n "(cached) " >&6
29183else
29184 if test x$gcc_no_link = xyes; then
29185 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29186fi
29187cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29188/* end confdefs.h. */
29189
29190#ifdef HAVE_COMPLEX_H
29191#include <complex.h>
29192#endif
29193#ifdef HAVE_MATH_H
29194#include <math.h>
29195#endif
29196
29197int (*ptr)() = (int (*)())ctanf128;
29198
29199int
29200main ()
29201{
29202 return 0;
29203}
29204
29205_ACEOF
29206if ac_fn_c_try_link "$LINENO"; then :
29207 gcc_cv_math_func_ctanf128=yes
29208else
29209 gcc_cv_math_func_ctanf128=no
29210fi
29211rm -f core conftest.err conftest.$ac_objext \
29212 conftest$ac_exeext conftest.$ac_ext
29213fi
29214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29215$as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29216 if test $gcc_cv_math_func_ctanf128 = yes; then
29217
29218cat >>confdefs.h <<_ACEOF
29219#define HAVE_CTANF128 1
29220_ACEOF
29221
29222 fi
29223
29224
29225
29226
29227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29228$as_echo_n "checking for tanhf128... " >&6; }
29229if ${gcc_cv_math_func_tanhf128+:} false; then :
29230 $as_echo_n "(cached) " >&6
29231else
29232 if test x$gcc_no_link = xyes; then
29233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29234fi
29235cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29236/* end confdefs.h. */
29237
29238#ifdef HAVE_COMPLEX_H
29239#include <complex.h>
29240#endif
29241#ifdef HAVE_MATH_H
29242#include <math.h>
29243#endif
29244
29245int (*ptr)() = (int (*)())tanhf128;
29246
29247int
29248main ()
29249{
29250 return 0;
29251}
29252
29253_ACEOF
29254if ac_fn_c_try_link "$LINENO"; then :
29255 gcc_cv_math_func_tanhf128=yes
29256else
29257 gcc_cv_math_func_tanhf128=no
29258fi
29259rm -f core conftest.err conftest.$ac_objext \
29260 conftest$ac_exeext conftest.$ac_ext
29261fi
29262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29263$as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29264 if test $gcc_cv_math_func_tanhf128 = yes; then
29265
29266cat >>confdefs.h <<_ACEOF
29267#define HAVE_TANHF128 1
29268_ACEOF
29269
29270 fi
29271
29272
29273
29274
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29276$as_echo_n "checking for ctanhf128... " >&6; }
29277if ${gcc_cv_math_func_ctanhf128+:} false; then :
29278 $as_echo_n "(cached) " >&6
29279else
29280 if test x$gcc_no_link = xyes; then
29281 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29282fi
29283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29284/* end confdefs.h. */
29285
29286#ifdef HAVE_COMPLEX_H
29287#include <complex.h>
29288#endif
29289#ifdef HAVE_MATH_H
29290#include <math.h>
29291#endif
29292
29293int (*ptr)() = (int (*)())ctanhf128;
29294
29295int
29296main ()
29297{
29298 return 0;
29299}
29300
29301_ACEOF
29302if ac_fn_c_try_link "$LINENO"; then :
29303 gcc_cv_math_func_ctanhf128=yes
29304else
29305 gcc_cv_math_func_ctanhf128=no
29306fi
29307rm -f core conftest.err conftest.$ac_objext \
29308 conftest$ac_exeext conftest.$ac_ext
29309fi
29310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29311$as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29312 if test $gcc_cv_math_func_ctanhf128 = yes; then
29313
29314cat >>confdefs.h <<_ACEOF
29315#define HAVE_CTANHF128 1
29316_ACEOF
29317
29318 fi
29319
29320
29321
29322
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29324$as_echo_n "checking for truncf128... " >&6; }
29325if ${gcc_cv_math_func_truncf128+:} false; then :
29326 $as_echo_n "(cached) " >&6
29327else
29328 if test x$gcc_no_link = xyes; then
29329 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29330fi
29331cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29332/* end confdefs.h. */
29333
29334#ifdef HAVE_COMPLEX_H
29335#include <complex.h>
29336#endif
29337#ifdef HAVE_MATH_H
29338#include <math.h>
29339#endif
29340
29341int (*ptr)() = (int (*)())truncf128;
29342
29343int
29344main ()
29345{
29346 return 0;
29347}
29348
29349_ACEOF
29350if ac_fn_c_try_link "$LINENO"; then :
29351 gcc_cv_math_func_truncf128=yes
29352else
29353 gcc_cv_math_func_truncf128=no
29354fi
29355rm -f core conftest.err conftest.$ac_objext \
29356 conftest$ac_exeext conftest.$ac_ext
29357fi
29358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29359$as_echo "$gcc_cv_math_func_truncf128" >&6; }
29360 if test $gcc_cv_math_func_truncf128 = yes; then
29361
29362cat >>confdefs.h <<_ACEOF
29363#define HAVE_TRUNCF128 1
29364_ACEOF
29365
29366 fi
29367
29368
29369
29370
29371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29372$as_echo_n "checking for erff128... " >&6; }
29373if ${gcc_cv_math_func_erff128+:} false; then :
29374 $as_echo_n "(cached) " >&6
29375else
29376 if test x$gcc_no_link = xyes; then
29377 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29378fi
29379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29380/* end confdefs.h. */
29381
29382#ifdef HAVE_COMPLEX_H
29383#include <complex.h>
29384#endif
29385#ifdef HAVE_MATH_H
29386#include <math.h>
29387#endif
29388
29389int (*ptr)() = (int (*)())erff128;
29390
29391int
29392main ()
29393{
29394 return 0;
29395}
29396
29397_ACEOF
29398if ac_fn_c_try_link "$LINENO"; then :
29399 gcc_cv_math_func_erff128=yes
29400else
29401 gcc_cv_math_func_erff128=no
29402fi
29403rm -f core conftest.err conftest.$ac_objext \
29404 conftest$ac_exeext conftest.$ac_ext
29405fi
29406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29407$as_echo "$gcc_cv_math_func_erff128" >&6; }
29408 if test $gcc_cv_math_func_erff128 = yes; then
29409
29410cat >>confdefs.h <<_ACEOF
29411#define HAVE_ERFF128 1
29412_ACEOF
29413
29414 fi
29415
29416
29417
29418
29419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29420$as_echo_n "checking for erfcf128... " >&6; }
29421if ${gcc_cv_math_func_erfcf128+:} false; then :
29422 $as_echo_n "(cached) " >&6
29423else
29424 if test x$gcc_no_link = xyes; then
29425 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29426fi
29427cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29428/* end confdefs.h. */
29429
29430#ifdef HAVE_COMPLEX_H
29431#include <complex.h>
29432#endif
29433#ifdef HAVE_MATH_H
29434#include <math.h>
29435#endif
29436
29437int (*ptr)() = (int (*)())erfcf128;
29438
29439int
29440main ()
29441{
29442 return 0;
29443}
29444
29445_ACEOF
29446if ac_fn_c_try_link "$LINENO"; then :
29447 gcc_cv_math_func_erfcf128=yes
29448else
29449 gcc_cv_math_func_erfcf128=no
29450fi
29451rm -f core conftest.err conftest.$ac_objext \
29452 conftest$ac_exeext conftest.$ac_ext
29453fi
29454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29455$as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29456 if test $gcc_cv_math_func_erfcf128 = yes; then
29457
29458cat >>confdefs.h <<_ACEOF
29459#define HAVE_ERFCF128 1
29460_ACEOF
29461
29462 fi
29463
29464
29465
29466
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29468$as_echo_n "checking for j0f128... " >&6; }
29469if ${gcc_cv_math_func_j0f128+:} false; then :
29470 $as_echo_n "(cached) " >&6
29471else
29472 if test x$gcc_no_link = xyes; then
29473 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29474fi
29475cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476/* end confdefs.h. */
29477
29478#ifdef HAVE_COMPLEX_H
29479#include <complex.h>
29480#endif
29481#ifdef HAVE_MATH_H
29482#include <math.h>
29483#endif
29484
29485int (*ptr)() = (int (*)())j0f128;
29486
29487int
29488main ()
29489{
29490 return 0;
29491}
29492
29493_ACEOF
29494if ac_fn_c_try_link "$LINENO"; then :
29495 gcc_cv_math_func_j0f128=yes
29496else
29497 gcc_cv_math_func_j0f128=no
29498fi
29499rm -f core conftest.err conftest.$ac_objext \
29500 conftest$ac_exeext conftest.$ac_ext
29501fi
29502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29503$as_echo "$gcc_cv_math_func_j0f128" >&6; }
29504 if test $gcc_cv_math_func_j0f128 = yes; then
29505
29506cat >>confdefs.h <<_ACEOF
29507#define HAVE_J0F128 1
29508_ACEOF
29509
29510 fi
29511
29512
29513
29514
29515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29516$as_echo_n "checking for j1f128... " >&6; }
29517if ${gcc_cv_math_func_j1f128+:} false; then :
29518 $as_echo_n "(cached) " >&6
29519else
29520 if test x$gcc_no_link = xyes; then
29521 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29522fi
29523cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29524/* end confdefs.h. */
29525
29526#ifdef HAVE_COMPLEX_H
29527#include <complex.h>
29528#endif
29529#ifdef HAVE_MATH_H
29530#include <math.h>
29531#endif
29532
29533int (*ptr)() = (int (*)())j1f128;
29534
29535int
29536main ()
29537{
29538 return 0;
29539}
29540
29541_ACEOF
29542if ac_fn_c_try_link "$LINENO"; then :
29543 gcc_cv_math_func_j1f128=yes
29544else
29545 gcc_cv_math_func_j1f128=no
29546fi
29547rm -f core conftest.err conftest.$ac_objext \
29548 conftest$ac_exeext conftest.$ac_ext
29549fi
29550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29551$as_echo "$gcc_cv_math_func_j1f128" >&6; }
29552 if test $gcc_cv_math_func_j1f128 = yes; then
29553
29554cat >>confdefs.h <<_ACEOF
29555#define HAVE_J1F128 1
29556_ACEOF
29557
29558 fi
29559
29560
29561
29562
29563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29564$as_echo_n "checking for jnf128... " >&6; }
29565if ${gcc_cv_math_func_jnf128+:} false; then :
29566 $as_echo_n "(cached) " >&6
29567else
29568 if test x$gcc_no_link = xyes; then
29569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29570fi
29571cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29572/* end confdefs.h. */
29573
29574#ifdef HAVE_COMPLEX_H
29575#include <complex.h>
29576#endif
29577#ifdef HAVE_MATH_H
29578#include <math.h>
29579#endif
29580
29581int (*ptr)() = (int (*)())jnf128;
29582
29583int
29584main ()
29585{
29586 return 0;
29587}
29588
29589_ACEOF
29590if ac_fn_c_try_link "$LINENO"; then :
29591 gcc_cv_math_func_jnf128=yes
29592else
29593 gcc_cv_math_func_jnf128=no
29594fi
29595rm -f core conftest.err conftest.$ac_objext \
29596 conftest$ac_exeext conftest.$ac_ext
29597fi
29598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29599$as_echo "$gcc_cv_math_func_jnf128" >&6; }
29600 if test $gcc_cv_math_func_jnf128 = yes; then
29601
29602cat >>confdefs.h <<_ACEOF
29603#define HAVE_JNF128 1
29604_ACEOF
29605
29606 fi
29607
29608
29609
29610
29611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29612$as_echo_n "checking for y0f128... " >&6; }
29613if ${gcc_cv_math_func_y0f128+:} false; then :
29614 $as_echo_n "(cached) " >&6
29615else
29616 if test x$gcc_no_link = xyes; then
29617 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29618fi
29619cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29620/* end confdefs.h. */
29621
29622#ifdef HAVE_COMPLEX_H
29623#include <complex.h>
29624#endif
29625#ifdef HAVE_MATH_H
29626#include <math.h>
29627#endif
29628
29629int (*ptr)() = (int (*)())y0f128;
29630
29631int
29632main ()
29633{
29634 return 0;
29635}
29636
29637_ACEOF
29638if ac_fn_c_try_link "$LINENO"; then :
29639 gcc_cv_math_func_y0f128=yes
29640else
29641 gcc_cv_math_func_y0f128=no
29642fi
29643rm -f core conftest.err conftest.$ac_objext \
29644 conftest$ac_exeext conftest.$ac_ext
29645fi
29646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29647$as_echo "$gcc_cv_math_func_y0f128" >&6; }
29648 if test $gcc_cv_math_func_y0f128 = yes; then
29649
29650cat >>confdefs.h <<_ACEOF
29651#define HAVE_Y0F128 1
29652_ACEOF
29653
29654 fi
29655
29656
29657
29658
29659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29660$as_echo_n "checking for y1f128... " >&6; }
29661if ${gcc_cv_math_func_y1f128+:} false; then :
29662 $as_echo_n "(cached) " >&6
29663else
29664 if test x$gcc_no_link = xyes; then
29665 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29666fi
29667cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668/* end confdefs.h. */
29669
29670#ifdef HAVE_COMPLEX_H
29671#include <complex.h>
29672#endif
29673#ifdef HAVE_MATH_H
29674#include <math.h>
29675#endif
29676
29677int (*ptr)() = (int (*)())y1f128;
29678
29679int
29680main ()
29681{
29682 return 0;
29683}
29684
29685_ACEOF
29686if ac_fn_c_try_link "$LINENO"; then :
29687 gcc_cv_math_func_y1f128=yes
29688else
29689 gcc_cv_math_func_y1f128=no
29690fi
29691rm -f core conftest.err conftest.$ac_objext \
29692 conftest$ac_exeext conftest.$ac_ext
29693fi
29694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29695$as_echo "$gcc_cv_math_func_y1f128" >&6; }
29696 if test $gcc_cv_math_func_y1f128 = yes; then
29697
29698cat >>confdefs.h <<_ACEOF
29699#define HAVE_Y1F128 1
29700_ACEOF
29701
29702 fi
29703
29704
29705
29706
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29708$as_echo_n "checking for ynf128... " >&6; }
29709if ${gcc_cv_math_func_ynf128+:} false; then :
29710 $as_echo_n "(cached) " >&6
29711else
29712 if test x$gcc_no_link = xyes; then
29713 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29714fi
29715cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29716/* end confdefs.h. */
29717
29718#ifdef HAVE_COMPLEX_H
29719#include <complex.h>
29720#endif
29721#ifdef HAVE_MATH_H
29722#include <math.h>
29723#endif
29724
29725int (*ptr)() = (int (*)())ynf128;
29726
29727int
29728main ()
29729{
29730 return 0;
29731}
29732
29733_ACEOF
29734if ac_fn_c_try_link "$LINENO"; then :
29735 gcc_cv_math_func_ynf128=yes
29736else
29737 gcc_cv_math_func_ynf128=no
29738fi
29739rm -f core conftest.err conftest.$ac_objext \
29740 conftest$ac_exeext conftest.$ac_ext
29741fi
29742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29743$as_echo "$gcc_cv_math_func_ynf128" >&6; }
29744 if test $gcc_cv_math_func_ynf128 = yes; then
29745
29746cat >>confdefs.h <<_ACEOF
29747#define HAVE_YNF128 1
29748_ACEOF
29749
29750 fi
29751
29752
29753
29754
29755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29756$as_echo_n "checking for tgammaf128... " >&6; }
29757if ${gcc_cv_math_func_tgammaf128+:} false; then :
29758 $as_echo_n "(cached) " >&6
29759else
29760 if test x$gcc_no_link = xyes; then
29761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29762fi
29763cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29764/* end confdefs.h. */
29765
29766#ifdef HAVE_COMPLEX_H
29767#include <complex.h>
29768#endif
29769#ifdef HAVE_MATH_H
29770#include <math.h>
29771#endif
29772
29773int (*ptr)() = (int (*)())tgammaf128;
29774
29775int
29776main ()
29777{
29778 return 0;
29779}
29780
29781_ACEOF
29782if ac_fn_c_try_link "$LINENO"; then :
29783 gcc_cv_math_func_tgammaf128=yes
29784else
29785 gcc_cv_math_func_tgammaf128=no
29786fi
29787rm -f core conftest.err conftest.$ac_objext \
29788 conftest$ac_exeext conftest.$ac_ext
29789fi
29790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29791$as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29792 if test $gcc_cv_math_func_tgammaf128 = yes; then
29793
29794cat >>confdefs.h <<_ACEOF
29795#define HAVE_TGAMMAF128 1
29796_ACEOF
29797
29798 fi
29799
29800
29801
29802
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29804$as_echo_n "checking for lgammaf128... " >&6; }
29805if ${gcc_cv_math_func_lgammaf128+:} false; then :
29806 $as_echo_n "(cached) " >&6
29807else
29808 if test x$gcc_no_link = xyes; then
29809 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29810fi
29811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29812/* end confdefs.h. */
29813
29814#ifdef HAVE_COMPLEX_H
29815#include <complex.h>
29816#endif
29817#ifdef HAVE_MATH_H
29818#include <math.h>
29819#endif
29820
29821int (*ptr)() = (int (*)())lgammaf128;
29822
29823int
29824main ()
29825{
29826 return 0;
29827}
29828
29829_ACEOF
29830if ac_fn_c_try_link "$LINENO"; then :
29831 gcc_cv_math_func_lgammaf128=yes
29832else
29833 gcc_cv_math_func_lgammaf128=no
29834fi
29835rm -f core conftest.err conftest.$ac_objext \
29836 conftest$ac_exeext conftest.$ac_ext
29837fi
29838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29839$as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29840 if test $gcc_cv_math_func_lgammaf128 = yes; then
29841
29842cat >>confdefs.h <<_ACEOF
29843#define HAVE_LGAMMAF128 1
29844_ACEOF
29845
29846 fi
29847
29848
29849
29850
29851
29852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29853$as_echo_n "checking for cacosf128... " >&6; }
29854if ${gcc_cv_math_func_cacosf128+:} false; then :
29855 $as_echo_n "(cached) " >&6
29856else
29857 if test x$gcc_no_link = xyes; then
29858 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29859fi
29860cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29861/* end confdefs.h. */
29862
29863#ifdef HAVE_COMPLEX_H
29864#include <complex.h>
29865#endif
29866#ifdef HAVE_MATH_H
29867#include <math.h>
29868#endif
29869
29870int (*ptr)() = (int (*)())cacosf128;
29871
29872int
29873main ()
29874{
29875 return 0;
29876}
29877
29878_ACEOF
29879if ac_fn_c_try_link "$LINENO"; then :
29880 gcc_cv_math_func_cacosf128=yes
29881else
29882 gcc_cv_math_func_cacosf128=no
29883fi
29884rm -f core conftest.err conftest.$ac_objext \
29885 conftest$ac_exeext conftest.$ac_ext
29886fi
29887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29888$as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29889 if test $gcc_cv_math_func_cacosf128 = yes; then
29890
29891cat >>confdefs.h <<_ACEOF
29892#define HAVE_CACOSF128 1
29893_ACEOF
29894
29895 fi
29896
29897
29898
29899
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29901$as_echo_n "checking for cacoshf128... " >&6; }
29902if ${gcc_cv_math_func_cacoshf128+:} false; then :
29903 $as_echo_n "(cached) " >&6
29904else
29905 if test x$gcc_no_link = xyes; then
29906 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29907fi
29908cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29909/* end confdefs.h. */
29910
29911#ifdef HAVE_COMPLEX_H
29912#include <complex.h>
29913#endif
29914#ifdef HAVE_MATH_H
29915#include <math.h>
29916#endif
29917
29918int (*ptr)() = (int (*)())cacoshf128;
29919
29920int
29921main ()
29922{
29923 return 0;
29924}
29925
29926_ACEOF
29927if ac_fn_c_try_link "$LINENO"; then :
29928 gcc_cv_math_func_cacoshf128=yes
29929else
29930 gcc_cv_math_func_cacoshf128=no
29931fi
29932rm -f core conftest.err conftest.$ac_objext \
29933 conftest$ac_exeext conftest.$ac_ext
29934fi
29935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29936$as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29937 if test $gcc_cv_math_func_cacoshf128 = yes; then
29938
29939cat >>confdefs.h <<_ACEOF
29940#define HAVE_CACOSHF128 1
29941_ACEOF
29942
29943 fi
29944
29945
29946
29947
29948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29949$as_echo_n "checking for casinf128... " >&6; }
29950if ${gcc_cv_math_func_casinf128+:} false; then :
29951 $as_echo_n "(cached) " >&6
29952else
29953 if test x$gcc_no_link = xyes; then
29954 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29955fi
29956cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29957/* end confdefs.h. */
29958
29959#ifdef HAVE_COMPLEX_H
29960#include <complex.h>
29961#endif
29962#ifdef HAVE_MATH_H
29963#include <math.h>
29964#endif
29965
29966int (*ptr)() = (int (*)())casinf128;
29967
29968int
29969main ()
29970{
29971 return 0;
29972}
29973
29974_ACEOF
29975if ac_fn_c_try_link "$LINENO"; then :
29976 gcc_cv_math_func_casinf128=yes
29977else
29978 gcc_cv_math_func_casinf128=no
29979fi
29980rm -f core conftest.err conftest.$ac_objext \
29981 conftest$ac_exeext conftest.$ac_ext
29982fi
29983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29984$as_echo "$gcc_cv_math_func_casinf128" >&6; }
29985 if test $gcc_cv_math_func_casinf128 = yes; then
29986
29987cat >>confdefs.h <<_ACEOF
29988#define HAVE_CASINF128 1
29989_ACEOF
29990
29991 fi
29992
29993
29994
29995
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29997$as_echo_n "checking for casinhf128... " >&6; }
29998if ${gcc_cv_math_func_casinhf128+:} false; then :
29999 $as_echo_n "(cached) " >&6
30000else
30001 if test x$gcc_no_link = xyes; then
30002 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30003fi
30004cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30005/* end confdefs.h. */
30006
30007#ifdef HAVE_COMPLEX_H
30008#include <complex.h>
30009#endif
30010#ifdef HAVE_MATH_H
30011#include <math.h>
30012#endif
30013
30014int (*ptr)() = (int (*)())casinhf128;
30015
30016int
30017main ()
30018{
30019 return 0;
30020}
30021
30022_ACEOF
30023if ac_fn_c_try_link "$LINENO"; then :
30024 gcc_cv_math_func_casinhf128=yes
30025else
30026 gcc_cv_math_func_casinhf128=no
30027fi
30028rm -f core conftest.err conftest.$ac_objext \
30029 conftest$ac_exeext conftest.$ac_ext
30030fi
30031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
30032$as_echo "$gcc_cv_math_func_casinhf128" >&6; }
30033 if test $gcc_cv_math_func_casinhf128 = yes; then
30034
30035cat >>confdefs.h <<_ACEOF
30036#define HAVE_CASINHF128 1
30037_ACEOF
30038
30039 fi
30040
30041
30042
30043
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
30045$as_echo_n "checking for catanf128... " >&6; }
30046if ${gcc_cv_math_func_catanf128+:} false; then :
30047 $as_echo_n "(cached) " >&6
30048else
30049 if test x$gcc_no_link = xyes; then
30050 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30051fi
30052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30053/* end confdefs.h. */
30054
30055#ifdef HAVE_COMPLEX_H
30056#include <complex.h>
30057#endif
30058#ifdef HAVE_MATH_H
30059#include <math.h>
30060#endif
30061
30062int (*ptr)() = (int (*)())catanf128;
30063
30064int
30065main ()
30066{
30067 return 0;
30068}
30069
30070_ACEOF
30071if ac_fn_c_try_link "$LINENO"; then :
30072 gcc_cv_math_func_catanf128=yes
30073else
30074 gcc_cv_math_func_catanf128=no
30075fi
30076rm -f core conftest.err conftest.$ac_objext \
30077 conftest$ac_exeext conftest.$ac_ext
30078fi
30079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
30080$as_echo "$gcc_cv_math_func_catanf128" >&6; }
30081 if test $gcc_cv_math_func_catanf128 = yes; then
30082
30083cat >>confdefs.h <<_ACEOF
30084#define HAVE_CATANF128 1
30085_ACEOF
30086
30087 fi
30088
30089
30090
30091
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
30093$as_echo_n "checking for catanhf128... " >&6; }
30094if ${gcc_cv_math_func_catanhf128+:} false; then :
30095 $as_echo_n "(cached) " >&6
30096else
30097 if test x$gcc_no_link = xyes; then
30098 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30099fi
30100cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30101/* end confdefs.h. */
30102
30103#ifdef HAVE_COMPLEX_H
30104#include <complex.h>
30105#endif
30106#ifdef HAVE_MATH_H
30107#include <math.h>
30108#endif
30109
30110int (*ptr)() = (int (*)())catanhf128;
30111
30112int
30113main ()
30114{
30115 return 0;
30116}
30117
30118_ACEOF
30119if ac_fn_c_try_link "$LINENO"; then :
30120 gcc_cv_math_func_catanhf128=yes
30121else
30122 gcc_cv_math_func_catanhf128=no
30123fi
30124rm -f core conftest.err conftest.$ac_objext \
30125 conftest$ac_exeext conftest.$ac_ext
30126fi
30127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30128$as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30129 if test $gcc_cv_math_func_catanhf128 = yes; then
30130
30131cat >>confdefs.h <<_ACEOF
30132#define HAVE_CATANHF128 1
30133_ACEOF
30134
30135 fi
30136
30137
30138# Check whether the system has a working stat()
30139
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30141$as_echo_n "checking whether the target stat is reliable... " >&6; }
30142if ${libgfor_cv_have_working_stat+:} false; then :
30143 $as_echo_n "(cached) " >&6
30144else
30145
30146 if test "$cross_compiling" = yes; then :
30147
30148case "${target}" in
30149 *mingw*) libgfor_cv_have_working_stat=no ;;
30150 *) libgfor_cv_have_working_stat=yes;;
30151esac
30152else
30153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30154/* end confdefs.h. */
30155
30156#include <stdio.h>
30157#include <sys/types.h>
30158#include <sys/stat.h>
30159#include <unistd.h>
30160
30161int main ()
30162{
30163 FILE *f, *g;
30164 struct stat st1, st2;
30165
30166 f = fopen ("foo", "w");
30167 g = fopen ("bar", "w");
30168 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30169 return 1;
30170 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30171 return 1;
30172 fclose(f);
30173 fclose(g);
30174 return 0;
30175}
30176_ACEOF
30177if ac_fn_c_try_run "$LINENO"; then :
30178 libgfor_cv_have_working_stat=yes
30179else
30180 libgfor_cv_have_working_stat=no
30181fi
30182rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30183 conftest.$ac_objext conftest.beam conftest.$ac_ext
30184fi
30185
30186fi
30187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30188$as_echo "$libgfor_cv_have_working_stat" >&6; }
30189if test x"$libgfor_cv_have_working_stat" = xyes; then
30190
30191$as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30192
30193fi
30194
30195# Check whether __mingw_snprintf() is present
30196
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30198$as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30199if ${libgfor_cv_have_mingw_snprintf+:} false; then :
30200 $as_echo_n "(cached) " >&6
30201else
30202
30203 if test x$gcc_no_link = xyes; then
30204 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30205fi
30206cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30207/* end confdefs.h. */
30208
30209#include <stdio.h>
30210extern int __mingw_snprintf (char *, size_t, const char *, ...);
30211
30212int
30213main ()
30214{
30215
30216__mingw_snprintf (NULL, 0, "%d\n", 1);
30217
30218 ;
30219 return 0;
30220}
30221_ACEOF
30222if ac_fn_c_try_link "$LINENO"; then :
30223 eval "libgfor_cv_have_mingw_snprintf=yes"
30224else
30225 eval "libgfor_cv_have_mingw_snprintf=no"
30226fi
30227rm -f core conftest.err conftest.$ac_objext \
30228 conftest$ac_exeext conftest.$ac_ext
30229
30230fi
30231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30232$as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30233 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
30234
30235$as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30236
30237 fi
30238
30239
30240have_iec_60559_libc_support=no
30241if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30242 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then
30243 have_iec_60559_libc_support=yes
30244fi
30245
30246# Check whether libquadmath should be used
30247# Check whether --enable-libquadmath-support was given.
30248if test "${enable_libquadmath_support+set}" = set; then :
30249 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
30250else
30251 if test "x$have_iec_60559_libc_support" = xyes; then
30252 ENABLE_LIBQUADMATH_SUPPORT=default
30253else
30254 ENABLE_LIBQUADMATH_SUPPORT=yes
30255fi
30256fi
30257
30258enable_libquadmath_support=
30259if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30260 enable_libquadmath_support=no
30261elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30262 enable_libquadmath_support=default
30263fi
30264
30265# Check whether we have a _Float128 type, depends on enable_libquadmath_support
30266# and have_iec_60559_libc_support.
30267
30268 LIBQUADSPEC=
30269 LIBQUADLIB=
30270 LIBQUADLIB_DEP=
30271 LIBQUADINCLUDE=
30272 USE_IEC_60559=no
30273
30274 if test "x$enable_libquadmath_support" != xno; then
30275
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30277$as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30278if ${libgfor_cv_have_float128+:} false; then :
30279 $as_echo_n "(cached) " >&6
30280else
30281
30282 if test x$gcc_no_link = xyes; then
30283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30284/* end confdefs.h. */
30285
30286 #ifdef __loongarch__
30287 #error On LoongArch we should use long double instead; __float128 is only for porting existing code easier.
30288 #endif
30289
30290 _Float128 foo (_Float128 x)
30291 {
30292 _Complex _Float128 z1, z2;
30293
30294 z1 = x;
30295 z2 = x / 7.F128;
30296 z2 /= z1;
30297
30298 return (_Float128) z2;
30299 }
30300
30301 _Float128 bar (_Float128 x)
30302 {
30303 return x * __builtin_huge_valf128 ();
30304 }
30305
30306 __float128 baz (__float128 x)
30307 {
30308 return x * __builtin_huge_valf128 ();
30309 }
30310
30311int
30312main ()
30313{
30314
30315 foo (1.2F128);
30316 bar (1.2F128);
30317 baz (1.2F128);
30318 foo (1.2Q);
30319 bar (1.2Q);
30320 baz (1.2Q);
30321
30322 ;
30323 return 0;
30324}
30325_ACEOF
30326if ac_fn_c_try_compile "$LINENO"; then :
30327
30328 libgfor_cv_have_float128=yes
30329
30330else
30331
30332 libgfor_cv_have_float128=no
30333
30334fi
30335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30336else
30337 if test x$gcc_no_link = xyes; then
30338 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30339fi
30340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30341/* end confdefs.h. */
30342
30343 #ifdef __loongarch__
30344 #error On LoongArch we should use long double instead; __float128 is only for porting existing code easier.
30345 #endif
30346
30347 _Float128 foo (_Float128 x)
30348 {
30349 _Complex _Float128 z1, z2;
30350
30351 z1 = x;
30352 z2 = x / 7.F128;
30353 z2 /= z1;
30354
30355 return (_Float128) z2;
30356 }
30357
30358 _Float128 bar (_Float128 x)
30359 {
30360 return x * __builtin_huge_valf128 ();
30361 }
30362
30363 __float128 baz (__float128 x)
30364 {
30365 return x * __builtin_huge_valf128 ();
30366 }
30367
30368int
30369main ()
30370{
30371
30372 foo (1.2F128);
30373 bar (1.2F128);
30374 baz (1.2F128);
30375 foo (1.2Q);
30376 bar (1.2Q);
30377 baz (1.2Q);
30378
30379 ;
30380 return 0;
30381}
30382_ACEOF
30383if ac_fn_c_try_link "$LINENO"; then :
30384
30385 libgfor_cv_have_float128=yes
30386
30387else
30388
30389 libgfor_cv_have_float128=no
30390
30391fi
30392rm -f core conftest.err conftest.$ac_objext \
30393 conftest$ac_exeext conftest.$ac_ext
30394fi
30395fi
30396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30397$as_echo "$libgfor_cv_have_float128" >&6; }
30398
30399 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then
30400 USE_IEC_60559=yes
30401 fi
30402
30403
30404 if test "x$libgfor_cv_have_float128" = xyes; then
30405 if test "x$USE_IEC_60559" = xyes; then
30406
30407$as_echo "#define USE_IEC_60559 1" >>confdefs.h
30408
30409 fi
30410
30411$as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30412
30413
30414 ac_xsave_c_werror_flag=$ac_c_werror_flag
30415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30416$as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30417if ${libgfor_cv_have_as_needed+:} false; then :
30418 $as_echo_n "(cached) " >&6
30419else
30420
30421 # Test for native Solaris options first.
30422 # No whitespace after -z to pass it through -Wl.
30423 libgfor_cv_as_needed_option="-zignore"
30424 libgfor_cv_no_as_needed_option="-zrecord"
30425 save_LDFLAGS="$LDFLAGS"
30426 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30427 libgfor_cv_have_as_needed=no
30428
30429ac_c_werror_flag=yes
30430 if test x$gcc_no_link = xyes; then
30431 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30432fi
30433cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434/* end confdefs.h. */
30435
30436int
30437main ()
30438{
30439
30440 ;
30441 return 0;
30442}
30443_ACEOF
30444if ac_fn_c_try_link "$LINENO"; then :
30445 libgfor_cv_have_as_needed=yes
30446else
30447 libgfor_cv_have_as_needed=no
30448fi
30449rm -f core conftest.err conftest.$ac_objext \
30450 conftest$ac_exeext conftest.$ac_ext
30451 LDFLAGS="$save_LDFLAGS"
30452 if test "x$libgfor_cv_have_as_needed" = xno; then
30453 libgfor_cv_as_needed_option="--as-needed"
30454 libgfor_cv_no_as_needed_option="--no-as-needed"
30455 save_LDFLAGS="$LDFLAGS"
30456 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30457 libgfor_cv_have_as_needed=no
30458
30459ac_c_werror_flag=yes
30460 if test x$gcc_no_link = xyes; then
30461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30462fi
30463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30464/* end confdefs.h. */
30465
30466int
30467main ()
30468{
30469
30470 ;
30471 return 0;
30472}
30473_ACEOF
30474if ac_fn_c_try_link "$LINENO"; then :
30475 libgfor_cv_have_as_needed=yes
30476else
30477 libgfor_cv_have_as_needed=no
30478fi
30479rm -f core conftest.err conftest.$ac_objext \
30480 conftest$ac_exeext conftest.$ac_ext
30481 LDFLAGS="$save_LDFLAGS"
30482 fi
30483 ac_c_werror_flag=$ac_xsave_c_werror_flag
30484
30485fi
30486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30487$as_echo "$libgfor_cv_have_as_needed" >&6; }
30488
30489 touch conftest1.$ac_objext conftest2.$ac_objext
30490 LQUADMATH=-lquadmath
30491 $FC -static-libgfortran -### -o conftest \
30492 conftest1.$ac_objext -lgfortran conftest2.$ac_objext 2>&1 >/dev/null \
30493 | grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30494 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30495 conftest.cmd >/dev/null 2>&1; then
30496 LQUADMATH="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30497 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30498 conftest.cmd >/dev/null 2>&1; then
30499 LQUADMATH="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30500 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30501 conftest.cmd >/dev/null 2>&1; then
30502 LQUADMATH="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30503 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30504 conftest.cmd >/dev/null 2>&1; then
30505 LQUADMATH="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30506 fi
30507 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest conftest.cmd
30508
30509 if test "x$libgfor_cv_have_as_needed" = xyes; then
30510 if test "x$USE_IEC_60559" = xyes; then
30511 LIBQUADSPEC="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30512 else
30513 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30514 fi
30515 else
30516 LIBQUADSPEC="$LQUADMATH"
30517 fi
30518 if test "x$USE_IEC_60559" != xyes; then
30519 if test -f ../libquadmath/libquadmath.la; then
30520 LIBQUADLIB=../libquadmath/libquadmath.la
30521 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
30522 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
30523 else
30524 LIBQUADLIB="-lquadmath"
30525 fi
30526 fi
30527 else
30528 USE_IEC_60559=no
30529 fi
30530 fi
30531
30532
30533
30534
30535
30536
30537
30538
30539# Check for GNU libc feenableexcept
30540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30541$as_echo_n "checking for feenableexcept in -lm... " >&6; }
30542if ${ac_cv_lib_m_feenableexcept+:} false; then :
30543 $as_echo_n "(cached) " >&6
30544else
30545 ac_check_lib_save_LIBS=$LIBS
30546LIBS="-lm $LIBS"
30547if test x$gcc_no_link = xyes; then
30548 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30549fi
30550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30551/* end confdefs.h. */
30552
30553/* Override any GCC internal prototype to avoid an error.
30554 Use char because int might match the return type of a GCC
30555 builtin and then its argument prototype would still apply. */
30556#ifdef __cplusplus
30557extern "C"
30558#endif
30559char feenableexcept ();
30560int
30561main ()
30562{
30563return feenableexcept ();
30564 ;
30565 return 0;
30566}
30567_ACEOF
30568if ac_fn_c_try_link "$LINENO"; then :
30569 ac_cv_lib_m_feenableexcept=yes
30570else
30571 ac_cv_lib_m_feenableexcept=no
30572fi
30573rm -f core conftest.err conftest.$ac_objext \
30574 conftest$ac_exeext conftest.$ac_ext
30575LIBS=$ac_check_lib_save_LIBS
30576fi
30577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30578$as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30579if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
30580 have_feenableexcept=yes
30581$as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30582
30583fi
30584
30585
30586# At least for glibc, clock_gettime is in librt. But don't
30587# pull that in if it still doesn't give us the function we want. This
30588# test is copied from libgomp, and modified to not link in -lrt as
30589# libgfortran calls clock_gettime via a weak reference if it's found
30590# in librt.
30591if test "$ac_cv_func_clock_gettime" = no; then
30592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30593$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30594if ${ac_cv_lib_rt_clock_gettime+:} false; then :
30595 $as_echo_n "(cached) " >&6
30596else
30597 ac_check_lib_save_LIBS=$LIBS
30598LIBS="-lrt $LIBS"
30599if test x$gcc_no_link = xyes; then
30600 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30601fi
30602cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30603/* end confdefs.h. */
30604
30605/* Override any GCC internal prototype to avoid an error.
30606 Use char because int might match the return type of a GCC
30607 builtin and then its argument prototype would still apply. */
30608#ifdef __cplusplus
30609extern "C"
30610#endif
30611char clock_gettime ();
30612int
30613main ()
30614{
30615return clock_gettime ();
30616 ;
30617 return 0;
30618}
30619_ACEOF
30620if ac_fn_c_try_link "$LINENO"; then :
30621 ac_cv_lib_rt_clock_gettime=yes
30622else
30623 ac_cv_lib_rt_clock_gettime=no
30624fi
30625rm -f core conftest.err conftest.$ac_objext \
30626 conftest$ac_exeext conftest.$ac_ext
30627LIBS=$ac_check_lib_save_LIBS
30628fi
30629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30630$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30631if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
30632
30633$as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30634
30635fi
30636
30637fi
30638
30639# Check for SysV fpsetmask
30640
30641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30642$as_echo_n "checking whether fpsetmask is present... " >&6; }
30643if ${libgfor_cv_have_fpsetmask+:} false; then :
30644 $as_echo_n "(cached) " >&6
30645else
30646
30647 if test x$gcc_no_link = xyes; then
30648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30649fi
30650cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30651/* end confdefs.h. */
30652
30653#if HAVE_FLOATINGPOINT_H
30654# include <floatingpoint.h>
30655#endif /* HAVE_FLOATINGPOINT_H */
30656#if HAVE_IEEEFP_H
30657# include <ieeefp.h>
30658#endif /* HAVE_IEEEFP_H */
30659int
30660main ()
30661{
30662fpsetmask(0);
30663 ;
30664 return 0;
30665}
30666_ACEOF
30667if ac_fn_c_try_link "$LINENO"; then :
30668 eval "libgfor_cv_have_fpsetmask=yes"
30669else
30670 eval "libgfor_cv_have_fpsetmask=no"
30671fi
30672rm -f core conftest.err conftest.$ac_objext \
30673 conftest$ac_exeext conftest.$ac_ext
30674
30675fi
30676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30677$as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30678 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
30679 have_fpsetmask=yes
30680
30681$as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30682
30683 fi
30684
30685ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
30686#ifdef HAVE_IEEEFP_H
30687#include <ieeefp.h>
30688#endif
30689#include <math.h>
30690
30691"
30692if test "x$ac_cv_type_fp_except" = xyes; then :
30693
30694cat >>confdefs.h <<_ACEOF
30695#define HAVE_FP_EXCEPT 1
30696_ACEOF
30697
30698
30699fi
30700ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30701#ifdef HAVE_IEEEFP_H
30702#include <ieeefp.h>
30703#endif
30704#include <math.h>
30705
30706"
30707if test "x$ac_cv_type_fp_except_t" = xyes; then :
30708
30709cat >>confdefs.h <<_ACEOF
30710#define HAVE_FP_EXCEPT_T 1
30711_ACEOF
30712
30713
30714fi
30715
30716ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30717#ifdef HAVE_IEEEFP_H
30718#include <ieeefp.h>
30719#endif
30720#include <math.h>
30721
30722"
30723if test "x$ac_cv_type_fp_rnd" = xyes; then :
30724
30725cat >>confdefs.h <<_ACEOF
30726#define HAVE_FP_RND 1
30727_ACEOF
30728
30729
30730fi
30731ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30732#ifdef HAVE_IEEEFP_H
30733#include <ieeefp.h>
30734#endif
30735#include <math.h>
30736
30737"
30738if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
30739
30740cat >>confdefs.h <<_ACEOF
30741#define HAVE_FP_RND_T 1
30742_ACEOF
30743
30744
30745fi
30746
30747
30748# Check whether we have fpsetsticky or fpresetsticky
30749ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30750if test "x$ac_cv_func_fpsetsticky" = xyes; then :
30751 have_fpsetsticky=yes
30752$as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30753
30754fi
30755
30756ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30757if test "x$ac_cv_func_fpresetsticky" = xyes; then :
30758 have_fpresetsticky=yes
30759$as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30760
30761fi
30762
30763
30764# Check for AIX fp_trap and fp_enable
30765ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30766if test "x$ac_cv_func_fp_trap" = xyes; then :
30767 have_fp_trap=yes
30768$as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30769
30770fi
30771
30772ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30773if test "x$ac_cv_func_fp_enable" = xyes; then :
30774 have_fp_enable=yes
30775$as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30776
30777fi
30778
30779
30780# Check if _SOFT_FLOAT is defined
30781
30782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30783$as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30784if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
30785 $as_echo_n "(cached) " >&6
30786else
30787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30788/* end confdefs.h. */
30789
30790int
30791main ()
30792{
30793
30794 #ifdef _SOFT_FLOAT
30795 int ok;
30796 #else
30797 choke me
30798 #endif
30799
30800 ;
30801 return 0;
30802}
30803_ACEOF
30804if ac_fn_c_try_compile "$LINENO"; then :
30805 ac_cv_defined__SOFT_FLOAT=yes
30806else
30807 ac_cv_defined__SOFT_FLOAT=no
30808fi
30809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30810fi
30811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30812$as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30813if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30814 have_soft_float=yes
30815fi
30816
30817# Runs configure.host to set up necessary host-dependent shell variables.
30818# We then display a message about it, and propagate them through the
30819# build chain.
30820. ${srcdir}/configure.host
30821{ $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30822$as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30823{ $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30824$as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30825FPU_HOST_HEADER=config/${fpu_host}.h
30826
30827
30828# Whether we will build the IEEE modules
30829 if test x${ieee_support} = xyes; then
30830 IEEE_SUPPORT_TRUE=
30831 IEEE_SUPPORT_FALSE='#'
30832else
30833 IEEE_SUPPORT_TRUE='#'
30834 IEEE_SUPPORT_FALSE=
30835fi
30836
30837
30838
30839# Some targets require additional compiler options for IEEE compatibility.
30840IEEE_FLAGS="${ieee_flags}"
30841
30842
30843# Conditionalize the makefile for this target machine.
30844tmake_file_=
30845for f in ${tmake_file}
30846do
30847 if test -f ${srcdir}/config/$f
30848 then
30849 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
30850 fi
30851done
30852tmake_file="${tmake_file_}"
30853
30854
30855
30856# Check for POSIX getpwuid_r
30857#
30858# There are two versions of getpwuid_r, the POSIX one with 5
30859# arguments, and another one with 4 arguments used by at least HP-UX
30860# 10.2.
30861if test "$ac_cv_func_getpwuid_r" = "yes"; then
30862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30863$as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30864if ${libgfor_cv_posix_getpwuid_r+:} false; then :
30865 $as_echo_n "(cached) " >&6
30866else
30867
30868 if test x$gcc_no_link = xyes; then
30869 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30870fi
30871cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30872/* end confdefs.h. */
30873
30874#include <stdio.h>
30875#include <sys/types.h>
30876#include <pwd.h>
30877int
30878main ()
30879{
30880
30881 getpwuid_r(0, NULL, NULL, 0, NULL);
30882
30883 ;
30884 return 0;
30885}
30886_ACEOF
30887if ac_fn_c_try_link "$LINENO"; then :
30888 libgfor_cv_posix_getpwuid_r="yes"
30889else
30890 libgfor_cv_posix_getpwuid_r="no"
30891fi
30892rm -f core conftest.err conftest.$ac_objext \
30893 conftest$ac_exeext conftest.$ac_ext
30894fi
30895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30896$as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30897fi
30898if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30899
30900$as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30901
30902fi
30903
30904
30905# Check out attribute support.
30906
30907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30908$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30909if ${libgfor_cv_have_attribute_visibility+:} false; then :
30910 $as_echo_n "(cached) " >&6
30911else
30912
30913 save_CFLAGS="$CFLAGS"
30914 CFLAGS="$CFLAGS -Werror"
30915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30916/* end confdefs.h. */
30917void __attribute__((visibility("hidden"))) foo(void) { }
30918int
30919main ()
30920{
30921
30922 ;
30923 return 0;
30924}
30925_ACEOF
30926if ac_fn_c_try_compile "$LINENO"; then :
30927 libgfor_cv_have_attribute_visibility=yes
30928else
30929 libgfor_cv_have_attribute_visibility=no
30930fi
30931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30932 CFLAGS="$save_CFLAGS"
30933fi
30934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30935$as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30936 if test $libgfor_cv_have_attribute_visibility = yes; then
30937
30938$as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30939
30940 fi
30941
30942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30943$as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30944if ${libgfor_cv_have_attribute_alias+:} false; then :
30945 $as_echo_n "(cached) " >&6
30946else
30947
30948 if test x$gcc_no_link = xyes; then
30949 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30950fi
30951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30952/* end confdefs.h. */
30953
30954void foo(void) { }
30955extern void bar(void) __attribute__((alias("foo")));
30956int
30957main ()
30958{
30959bar();
30960 ;
30961 return 0;
30962}
30963_ACEOF
30964if ac_fn_c_try_link "$LINENO"; then :
30965 libgfor_cv_have_attribute_alias=yes
30966else
30967 libgfor_cv_have_attribute_alias=no
30968fi
30969rm -f core conftest.err conftest.$ac_objext \
30970 conftest$ac_exeext conftest.$ac_ext
30971fi
30972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30973$as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30974 if test $libgfor_cv_have_attribute_alias = yes; then
30975
30976$as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30977
30978 fi
30979
30980# Check out atomic builtins support.
30981
30982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30983$as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30984if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
30985 $as_echo_n "(cached) " >&6
30986else
30987
30988 if test x$gcc_no_link = xyes; then
30989 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30990fi
30991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30992/* end confdefs.h. */
30993int foovar = 0;
30994int
30995main ()
30996{
30997
30998if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30999if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
31000 ;
31001 return 0;
31002}
31003_ACEOF
31004if ac_fn_c_try_link "$LINENO"; then :
31005 libgfor_cv_have_atomic_fetch_add=yes
31006else
31007 libgfor_cv_have_atomic_fetch_add=no
31008fi
31009rm -f core conftest.err conftest.$ac_objext \
31010 conftest$ac_exeext conftest.$ac_ext
31011fi
31012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
31013$as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
31014 if test $libgfor_cv_have_atomic_fetch_add = yes; then
31015
31016$as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
31017
31018 fi
31019
31020# Check out #pragma weak.
31021
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
31023$as_echo_n "checking whether pragma weak works... " >&6; }
31024if ${libgfor_cv_have_pragma_weak+:} false; then :
31025 $as_echo_n "(cached) " >&6
31026else
31027
31028 gfor_save_CFLAGS="$CFLAGS"
31029 CFLAGS="$CFLAGS -Wunknown-pragmas"
31030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31031/* end confdefs.h. */
31032
31033void foo (void);
31034#pragma weak foo
31035
31036int
31037main ()
31038{
31039if (foo) foo ();
31040 ;
31041 return 0;
31042}
31043_ACEOF
31044if ac_fn_c_try_compile "$LINENO"; then :
31045 libgfor_cv_have_pragma_weak=yes
31046else
31047 libgfor_cv_have_pragma_weak=no
31048fi
31049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31050fi
31051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
31052$as_echo "$libgfor_cv_have_pragma_weak" >&6; }
31053 if test $libgfor_cv_have_pragma_weak = yes; then
31054
31055$as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
31056
31057 fi
31058 case "$host" in
31059 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
31060
31061$as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
31062
31063 ;;
31064 esac
31065
31066# Check out weakref support.
31067
31068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
31069$as_echo_n "checking whether the target supports weakref... " >&6; }
31070if ${libgfor_cv_have_weakref+:} false; then :
31071 $as_echo_n "(cached) " >&6
31072else
31073
31074 save_CFLAGS="$CFLAGS"
31075 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
31076 if test x$gcc_no_link = xyes; then
31077 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31078fi
31079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31080/* end confdefs.h. */
31081
31082static int mytoto (int) __attribute__((__weakref__("toto")));
31083
31084int
31085main ()
31086{
31087return (mytoto != 0);
31088 ;
31089 return 0;
31090}
31091_ACEOF
31092if ac_fn_c_try_link "$LINENO"; then :
31093 libgfor_cv_have_weakref=yes
31094else
31095 libgfor_cv_have_weakref=no
31096fi
31097rm -f core conftest.err conftest.$ac_objext \
31098 conftest$ac_exeext conftest.$ac_ext
31099 CFLAGS="$save_CFLAGS"
31100fi
31101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
31102$as_echo "$libgfor_cv_have_weakref" >&6; }
31103 if test $libgfor_cv_have_weakref = yes; then
31104
31105$as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
31106
31107 fi
31108
31109# Various other checks on target
31110
31111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
31112$as_echo_n "checking whether the target can unlink an open file... " >&6; }
31113if ${libgfor_cv_have_unlink_open_file+:} false; then :
31114 $as_echo_n "(cached) " >&6
31115else
31116
31117 if test "$cross_compiling" = yes; then :
31118
31119case "${target}" in
31120 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
31121 *) libgfor_cv_have_unlink_open_file=yes;;
31122esac
31123else
31124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31125/* end confdefs.h. */
31126
31127#include <errno.h>
31128#include <fcntl.h>
31129#include <unistd.h>
31130#include <sys/stat.h>
31131
31132int main ()
31133{
31134 int fd;
31135
31136 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31137 if (fd <= 0)
31138 return 0;
31139 if (unlink ("testfile") == -1)
31140 return 1;
31141 write (fd, "This is a test\n", 15);
31142 close (fd);
31143
31144 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31145 return 0;
31146 else
31147 return 1;
31148}
31149_ACEOF
31150if ac_fn_c_try_run "$LINENO"; then :
31151 libgfor_cv_have_unlink_open_file=yes
31152else
31153 libgfor_cv_have_unlink_open_file=no
31154fi
31155rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31156 conftest.$ac_objext conftest.beam conftest.$ac_ext
31157fi
31158
31159fi
31160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31161$as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31162if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
31163
31164$as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31165
31166fi
31167
31168# Check whether line terminator is LF or CRLF
31169
31170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31171$as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31172if ${libgfor_cv_have_crlf+:} false; then :
31173 $as_echo_n "(cached) " >&6
31174else
31175
31176 if test "$cross_compiling" = yes; then :
31177
31178case "${target}" in
31179 *mingw*) libgfor_cv_have_crlf=yes ;;
31180 *) libgfor_cv_have_crlf=no;;
31181esac
31182else
31183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31184/* end confdefs.h. */
31185
31186/* This test program should exit with status 0 if system uses a CRLF as
31187 line terminator, and status 1 otherwise.
31188 Since it is used to check for mingw systems, and should return 0 in any
31189 other case, in case of a failure we will not use CRLF. */
31190#include <sys/stat.h>
31191#include <stdlib.h>
31192#include <fcntl.h>
31193#include <stdio.h>
31194
31195int main ()
31196{
31197#ifndef O_BINARY
31198 exit(1);
31199#else
31200 int fd, bytes;
31201 char buff[5];
31202
31203 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31204 if (fd < 0)
31205 exit(1);
31206 if (write (fd, "\n", 1) < 0)
31207 perror ("write");
31208
31209 close (fd);
31210
31211 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31212 exit(1);
31213 bytes = read (fd, buff, 5);
31214 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31215 exit(0);
31216 else
31217 exit(1);
31218#endif
31219}
31220_ACEOF
31221if ac_fn_c_try_run "$LINENO"; then :
31222 libgfor_cv_have_crlf=yes
31223else
31224 libgfor_cv_have_crlf=no
31225fi
31226rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31227 conftest.$ac_objext conftest.beam conftest.$ac_ext
31228fi
31229
31230fi
31231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31232$as_echo "$libgfor_cv_have_crlf" >&6; }
31233if test x"$libgfor_cv_have_crlf" = xyes; then
31234
31235$as_echo "#define HAVE_CRLF 1" >>confdefs.h
31236
31237fi
31238
31239# Check whether we support AVX extensions
31240
31241 ac_save_CFLAGS="$CFLAGS"
31242 CFLAGS="-O2 -mavx"
31243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31244/* end confdefs.h. */
31245
31246 void _mm256_zeroall (void)
31247 {
31248 __builtin_ia32_vzeroall ();
31249 }
31250int
31251main ()
31252{
31253
31254 ;
31255 return 0;
31256}
31257_ACEOF
31258if ac_fn_c_try_compile "$LINENO"; then :
31259
31260$as_echo "#define HAVE_AVX 1" >>confdefs.h
31261
31262fi
31263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31264 CFLAGS="$ac_save_CFLAGS"
31265
31266
31267# Check whether we support AVX2 extensions
31268
31269 ac_save_CFLAGS="$CFLAGS"
31270 CFLAGS="-O2 -mavx2"
31271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31272/* end confdefs.h. */
31273
31274 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31275 __v4di
31276 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31277 {
31278 return __builtin_ia32_andnotsi256 (__X, __Y);
31279 }
31280int
31281main ()
31282{
31283
31284 ;
31285 return 0;
31286}
31287_ACEOF
31288if ac_fn_c_try_compile "$LINENO"; then :
31289
31290$as_echo "#define HAVE_AVX2 1" >>confdefs.h
31291
31292fi
31293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31294 CFLAGS="$ac_save_CFLAGS"
31295
31296
31297# Check whether we support AVX512f extensions
31298
31299 ac_save_CFLAGS="$CFLAGS"
31300 CFLAGS="-O2 -mavx512f"
31301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31302/* end confdefs.h. */
31303
31304 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31305 __m512d _mm512_add (__m512d a)
31306 {
31307 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31308 /* For -m64/-mx32 also verify that code will work even if
31309 the target uses call saved zmm16+ and needs to emit
31310 unwind info for them (e.g. on mingw). See PR79127. */
31311#ifdef __x86_64__
31312 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31313#endif
31314 return b;
31315 }
31316int
31317main ()
31318{
31319
31320 ;
31321 return 0;
31322}
31323_ACEOF
31324if ac_fn_c_try_compile "$LINENO"; then :
31325
31326$as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31327
31328fi
31329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31330 CFLAGS="$ac_save_CFLAGS"
31331
31332
31333# Check for FMA3 extensions
31334
31335 ac_save_CFLAGS="$CFLAGS"
31336 CFLAGS="-O2 -mfma -mno-fma4"
31337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31338/* end confdefs.h. */
31339
31340 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31341 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31342 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31343 {
31344 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31345 (__v4sf)__B,
31346 (__v4sf)__C);
31347 }
31348int
31349main ()
31350{
31351
31352 ;
31353 return 0;
31354}
31355_ACEOF
31356if ac_fn_c_try_compile "$LINENO"; then :
31357
31358$as_echo "#define HAVE_FMA3 1" >>confdefs.h
31359
31360fi
31361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31362 CFLAGS="$ac_save_CFLAGS"
31363
31364
31365# Check for FMA4 extensions
31366
31367 ac_save_CFLAGS="$CFLAGS"
31368 CFLAGS="-O2 -mfma4 -mno-fma"
31369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31370/* end confdefs.h. */
31371
31372 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31373 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31374 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31375 {
31376 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31377 (__v4sf)__B,
31378 (__v4sf)__C);
31379 }
31380int
31381main ()
31382{
31383
31384 ;
31385 return 0;
31386}
31387_ACEOF
31388if ac_fn_c_try_compile "$LINENO"; then :
31389
31390$as_echo "#define HAVE_FMA4 1" >>confdefs.h
31391
31392fi
31393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31394 CFLAGS="$ac_save_CFLAGS"
31395
31396
31397# Check if AVX128 works
31398
31399 ac_save_CFLAGS="$CFLAGS"
31400 CFLAGS="-O2 -mavx -mprefer-avx128"
31401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31402/* end confdefs.h. */
31403
31404 void foo()
31405 {
31406 }
31407int
31408main ()
31409{
31410
31411 ;
31412 return 0;
31413}
31414_ACEOF
31415if ac_fn_c_try_compile "$LINENO"; then :
31416
31417$as_echo "#define HAVE_AVX128 1" >>confdefs.h
31418
31419 if true; then
31420 HAVE_AVX128_TRUE=
31421 HAVE_AVX128_FALSE='#'
31422else
31423 HAVE_AVX128_TRUE='#'
31424 HAVE_AVX128_FALSE=
31425fi
31426
31427else
31428 if false; then
31429 HAVE_AVX128_TRUE=
31430 HAVE_AVX128_FALSE='#'
31431else
31432 HAVE_AVX128_TRUE='#'
31433 HAVE_AVX128_FALSE=
31434fi
31435
31436fi
31437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31438 CFLAGS="$ac_save_CFLAGS"
31439
31440
31441# Determine what GCC version number to use in filesystem paths.
31442
31443 get_gcc_base_ver="cat"
31444
31445# Check whether --with-gcc-major-version-only was given.
31446if test "${with_gcc_major_version_only+set}" = set; then :
31447 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
31448 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
31449 fi
31450
31451fi
31452
31453
31454
31455
31456cat >confcache <<\_ACEOF
31457# This file is a shell script that caches the results of configure
31458# tests run on this system so they can be shared between configure
31459# scripts and configure runs, see configure's option --config-cache.
31460# It is not useful on other systems. If it contains results you don't
31461# want to keep, you may remove or edit it.
31462#
31463# config.status only pays attention to the cache file if you give it
31464# the --recheck option to rerun configure.
31465#
31466# `ac_cv_env_foo' variables (set or unset) will be overridden when
31467# loading this file, other *unset* `ac_cv_foo' will be assigned the
31468# following values.
31469
31470_ACEOF
31471
31472# The following way of writing the cache mishandles newlines in values,
31473# but we know of no workaround that is simple, portable, and efficient.
31474# So, we kill variables containing newlines.
31475# Ultrix sh set writes to stderr and can't be redirected directly,
31476# and sets the high bit in the cache file unless we assign to the vars.
31477(
31478 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31479 eval ac_val=\$$ac_var
31480 case $ac_val in #(
31481 *${as_nl}*)
31482 case $ac_var in #(
31483 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31484$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31485 esac
31486 case $ac_var in #(
31487 _ | IFS | as_nl) ;; #(
31488 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31489 *) { eval $ac_var=; unset $ac_var;} ;;
31490 esac ;;
31491 esac
31492 done
31493
31494 (set) 2>&1 |
31495 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31496 *${as_nl}ac_space=\ *)
31497 # `set' does not quote correctly, so add quotes: double-quote
31498 # substitution turns \\\\ into \\, and sed turns \\ into \.
31499 sed -n \
31500 "s/'/'\\\\''/g;
31501 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31502 ;; #(
31503 *)
31504 # `set' quotes correctly as required by POSIX, so do not add quotes.
31505 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31506 ;;
31507 esac |
31508 sort
31509) |
31510 sed '
31511 /^ac_cv_env_/b end
31512 t clear
31513 :clear
31514 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31515 t end
31516 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31517 :end' >>confcache
31518if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31519 if test -w "$cache_file"; then
31520 if test "x$cache_file" != "x/dev/null"; then
31521 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31522$as_echo "$as_me: updating cache $cache_file" >&6;}
31523 if test ! -f "$cache_file" || test -h "$cache_file"; then
31524 cat confcache >"$cache_file"
31525 else
31526 case $cache_file in #(
31527 */* | ?:*)
31528 mv -f confcache "$cache_file"$$ &&
31529 mv -f "$cache_file"$$ "$cache_file" ;; #(
31530 *)
31531 mv -f confcache "$cache_file" ;;
31532 esac
31533 fi
31534 fi
31535 else
31536 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31537$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31538 fi
31539fi
31540rm -f confcache
31541
31542if test ${multilib} = yes; then
31543 multilib_arg="--enable-multilib"
31544else
31545 multilib_arg=
31546fi
31547
31548# Write our Makefile and spec file.
31549ac_config_files="$ac_config_files Makefile libgfortran.spec"
31550
31551cat >confcache <<\_ACEOF
31552# This file is a shell script that caches the results of configure
31553# tests run on this system so they can be shared between configure
31554# scripts and configure runs, see configure's option --config-cache.
31555# It is not useful on other systems. If it contains results you don't
31556# want to keep, you may remove or edit it.
31557#
31558# config.status only pays attention to the cache file if you give it
31559# the --recheck option to rerun configure.
31560#
31561# `ac_cv_env_foo' variables (set or unset) will be overridden when
31562# loading this file, other *unset* `ac_cv_foo' will be assigned the
31563# following values.
31564
31565_ACEOF
31566
31567# The following way of writing the cache mishandles newlines in values,
31568# but we know of no workaround that is simple, portable, and efficient.
31569# So, we kill variables containing newlines.
31570# Ultrix sh set writes to stderr and can't be redirected directly,
31571# and sets the high bit in the cache file unless we assign to the vars.
31572(
31573 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31574 eval ac_val=\$$ac_var
31575 case $ac_val in #(
31576 *${as_nl}*)
31577 case $ac_var in #(
31578 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31579$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31580 esac
31581 case $ac_var in #(
31582 _ | IFS | as_nl) ;; #(
31583 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31584 *) { eval $ac_var=; unset $ac_var;} ;;
31585 esac ;;
31586 esac
31587 done
31588
31589 (set) 2>&1 |
31590 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31591 *${as_nl}ac_space=\ *)
31592 # `set' does not quote correctly, so add quotes: double-quote
31593 # substitution turns \\\\ into \\, and sed turns \\ into \.
31594 sed -n \
31595 "s/'/'\\\\''/g;
31596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31597 ;; #(
31598 *)
31599 # `set' quotes correctly as required by POSIX, so do not add quotes.
31600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31601 ;;
31602 esac |
31603 sort
31604) |
31605 sed '
31606 /^ac_cv_env_/b end
31607 t clear
31608 :clear
31609 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31610 t end
31611 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31612 :end' >>confcache
31613if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31614 if test -w "$cache_file"; then
31615 if test "x$cache_file" != "x/dev/null"; then
31616 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31617$as_echo "$as_me: updating cache $cache_file" >&6;}
31618 if test ! -f "$cache_file" || test -h "$cache_file"; then
31619 cat confcache >"$cache_file"
31620 else
31621 case $cache_file in #(
31622 */* | ?:*)
31623 mv -f confcache "$cache_file"$$ &&
31624 mv -f "$cache_file"$$ "$cache_file" ;; #(
31625 *)
31626 mv -f confcache "$cache_file" ;;
31627 esac
31628 fi
31629 fi
31630 else
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31632$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31633 fi
31634fi
31635rm -f confcache
31636
31637test "x$prefix" = xNONE && prefix=$ac_default_prefix
31638# Let make expand exec_prefix.
31639test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31640
31641DEFS=-DHAVE_CONFIG_H
31642
31643ac_libobjs=
31644ac_ltlibobjs=
31645U=
31646for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31647 # 1. Remove the extension, and $U if already installed.
31648 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31649 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31650 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31651 # will be set to the directory where LIBOBJS objects are built.
31652 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31653 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31654done
31655LIBOBJS=$ac_libobjs
31656
31657LTLIBOBJS=$ac_ltlibobjs
31658
31659
31660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31661$as_echo_n "checking that generated files are newer than configure... " >&6; }
31662 if test -n "$am_sleep_pid"; then
31663 # Hide warnings about reused PIDs.
31664 wait $am_sleep_pid 2>/dev/null
31665 fi
31666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31667$as_echo "done" >&6; }
31668 if test -n "$EXEEXT"; then
31669 am__EXEEXT_TRUE=
31670 am__EXEEXT_FALSE='#'
31671else
31672 am__EXEEXT_TRUE='#'
31673 am__EXEEXT_FALSE=
31674fi
31675
31676if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31677 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31678Usually this means the macro was only invoked conditionally." "$LINENO" 5
31679fi
31680if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31681 as_fn_error $? "conditional \"AMDEP\" was never defined.
31682Usually this means the macro was only invoked conditionally." "$LINENO" 5
31683fi
31684if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31685 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31686Usually this means the macro was only invoked conditionally." "$LINENO" 5
31687fi
31688if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31689 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31690Usually this means the macro was only invoked conditionally." "$LINENO" 5
31691fi
31692if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31693 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
31694Usually this means the macro was only invoked conditionally." "$LINENO" 5
31695fi
31696if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31697 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31698Usually this means the macro was only invoked conditionally." "$LINENO" 5
31699fi
31700if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31701 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31702Usually this means the macro was only invoked conditionally." "$LINENO" 5
31703fi
31704if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31705 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31706Usually this means the macro was only invoked conditionally." "$LINENO" 5
31707fi
31708if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31709 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
31710Usually this means the macro was only invoked conditionally." "$LINENO" 5
31711fi
31712if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31713 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
31714Usually this means the macro was only invoked conditionally." "$LINENO" 5
31715fi
31716if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
31717 as_fn_error $? "conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
31718Usually this means the macro was only invoked conditionally." "$LINENO" 5
31719fi
31720if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31721 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
31722Usually this means the macro was only invoked conditionally." "$LINENO" 5
31723fi
31724if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31725 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31726Usually this means the macro was only invoked conditionally." "$LINENO" 5
31727fi
31728if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31729 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31730Usually this means the macro was only invoked conditionally." "$LINENO" 5
31731fi
31732
31733: "${CONFIG_STATUS=./config.status}"
31734ac_write_fail=0
31735ac_clean_files_save=$ac_clean_files
31736ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31737{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31738$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31739as_write_fail=0
31740cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31741#! $SHELL
31742# Generated by $as_me.
31743# Run this file to recreate the current configuration.
31744# Compiler output produced by configure, useful for debugging
31745# configure, is in config.log if it exists.
31746
31747debug=false
31748ac_cs_recheck=false
31749ac_cs_silent=false
31750
31751SHELL=\${CONFIG_SHELL-$SHELL}
31752export SHELL
31753_ASEOF
31754cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31755## -------------------- ##
31756## M4sh Initialization. ##
31757## -------------------- ##
31758
31759# Be more Bourne compatible
31760DUALCASE=1; export DUALCASE # for MKS sh
31761if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31762 emulate sh
31763 NULLCMD=:
31764 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31765 # is contrary to our usage. Disable this feature.
31766 alias -g '${1+"$@"}'='"$@"'
31767 setopt NO_GLOB_SUBST
31768else
31769 case `(set -o) 2>/dev/null` in #(
31770 *posix*) :
31771 set -o posix ;; #(
31772 *) :
31773 ;;
31774esac
31775fi
31776
31777
31778as_nl='
31779'
31780export as_nl
31781# Printing a long string crashes Solaris 7 /usr/bin/printf.
31782as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31783as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31784as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31785# Prefer a ksh shell builtin over an external printf program on Solaris,
31786# but without wasting forks for bash or zsh.
31787if test -z "$BASH_VERSION$ZSH_VERSION" \
31788 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31789 as_echo='print -r --'
31790 as_echo_n='print -rn --'
31791elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31792 as_echo='printf %s\n'
31793 as_echo_n='printf %s'
31794else
31795 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31796 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31797 as_echo_n='/usr/ucb/echo -n'
31798 else
31799 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31800 as_echo_n_body='eval
31801 arg=$1;
31802 case $arg in #(
31803 *"$as_nl"*)
31804 expr "X$arg" : "X\\(.*\\)$as_nl";
31805 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31806 esac;
31807 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31808 '
31809 export as_echo_n_body
31810 as_echo_n='sh -c $as_echo_n_body as_echo'
31811 fi
31812 export as_echo_body
31813 as_echo='sh -c $as_echo_body as_echo'
31814fi
31815
31816# The user is always right.
31817if test "${PATH_SEPARATOR+set}" != set; then
31818 PATH_SEPARATOR=:
31819 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31820 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31821 PATH_SEPARATOR=';'
31822 }
31823fi
31824
31825
31826# IFS
31827# We need space, tab and new line, in precisely that order. Quoting is
31828# there to prevent editors from complaining about space-tab.
31829# (If _AS_PATH_WALK were called with IFS unset, it would disable word
31830# splitting by setting IFS to empty value.)
31831IFS=" "" $as_nl"
31832
31833# Find who we are. Look in the path if we contain no directory separator.
31834as_myself=
31835case $0 in #((
31836 *[\\/]* ) as_myself=$0 ;;
31837 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31838for as_dir in $PATH
31839do
31840 IFS=$as_save_IFS
31841 test -z "$as_dir" && as_dir=.
31842 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31843 done
31844IFS=$as_save_IFS
31845
31846 ;;
31847esac
31848# We did not find ourselves, most probably we were run as `sh COMMAND'
31849# in which case we are not to be found in the path.
31850if test "x$as_myself" = x; then
31851 as_myself=$0
31852fi
31853if test ! -f "$as_myself"; then
31854 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31855 exit 1
31856fi
31857
31858# Unset variables that we do not need and which cause bugs (e.g. in
31859# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31860# suppresses any "Segmentation fault" message there. '((' could
31861# trigger a bug in pdksh 5.2.14.
31862for as_var in BASH_ENV ENV MAIL MAILPATH
31863do eval test x\${$as_var+set} = xset \
31864 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31865done
31866PS1='$ '
31867PS2='> '
31868PS4='+ '
31869
31870# NLS nuisances.
31871LC_ALL=C
31872export LC_ALL
31873LANGUAGE=C
31874export LANGUAGE
31875
31876# CDPATH.
31877(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31878
31879
31880# as_fn_error STATUS ERROR [LINENO LOG_FD]
31881# ----------------------------------------
31882# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31883# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31884# script with STATUS, using 1 if that was 0.
31885as_fn_error ()
31886{
31887 as_status=$1; test $as_status -eq 0 && as_status=1
31888 if test "$4"; then
31889 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31890 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31891 fi
31892 $as_echo "$as_me: error: $2" >&2
31893 as_fn_exit $as_status
31894} # as_fn_error
31895
31896
31897# as_fn_set_status STATUS
31898# -----------------------
31899# Set $? to STATUS, without forking.
31900as_fn_set_status ()
31901{
31902 return $1
31903} # as_fn_set_status
31904
31905# as_fn_exit STATUS
31906# -----------------
31907# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31908as_fn_exit ()
31909{
31910 set +e
31911 as_fn_set_status $1
31912 exit $1
31913} # as_fn_exit
31914
31915# as_fn_unset VAR
31916# ---------------
31917# Portably unset VAR.
31918as_fn_unset ()
31919{
31920 { eval $1=; unset $1;}
31921}
31922as_unset=as_fn_unset
31923# as_fn_append VAR VALUE
31924# ----------------------
31925# Append the text in VALUE to the end of the definition contained in VAR. Take
31926# advantage of any shell optimizations that allow amortized linear growth over
31927# repeated appends, instead of the typical quadratic growth present in naive
31928# implementations.
31929if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31930 eval 'as_fn_append ()
31931 {
31932 eval $1+=\$2
31933 }'
31934else
31935 as_fn_append ()
31936 {
31937 eval $1=\$$1\$2
31938 }
31939fi # as_fn_append
31940
31941# as_fn_arith ARG...
31942# ------------------
31943# Perform arithmetic evaluation on the ARGs, and store the result in the
31944# global $as_val. Take advantage of shells that can avoid forks. The arguments
31945# must be portable across $(()) and expr.
31946if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31947 eval 'as_fn_arith ()
31948 {
31949 as_val=$(( $* ))
31950 }'
31951else
31952 as_fn_arith ()
31953 {
31954 as_val=`expr "$@" || test $? -eq 1`
31955 }
31956fi # as_fn_arith
31957
31958
31959if expr a : '\(a\)' >/dev/null 2>&1 &&
31960 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31961 as_expr=expr
31962else
31963 as_expr=false
31964fi
31965
31966if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31967 as_basename=basename
31968else
31969 as_basename=false
31970fi
31971
31972if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31973 as_dirname=dirname
31974else
31975 as_dirname=false
31976fi
31977
31978as_me=`$as_basename -- "$0" ||
31979$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31980 X"$0" : 'X\(//\)$' \| \
31981 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31982$as_echo X/"$0" |
31983 sed '/^.*\/\([^/][^/]*\)\/*$/{
31984 s//\1/
31985 q
31986 }
31987 /^X\/\(\/\/\)$/{
31988 s//\1/
31989 q
31990 }
31991 /^X\/\(\/\).*/{
31992 s//\1/
31993 q
31994 }
31995 s/.*/./; q'`
31996
31997# Avoid depending upon Character Ranges.
31998as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31999as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32000as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32001as_cr_digits='0123456789'
32002as_cr_alnum=$as_cr_Letters$as_cr_digits
32003
32004ECHO_C= ECHO_N= ECHO_T=
32005case `echo -n x` in #(((((
32006-n*)
32007 case `echo 'xy\c'` in
32008 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
32009 xy) ECHO_C='\c';;
32010 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
32011 ECHO_T=' ';;
32012 esac;;
32013*)
32014 ECHO_N='-n';;
32015esac
32016
32017rm -f conf$$ conf$$.exe conf$$.file
32018if test -d conf$$.dir; then
32019 rm -f conf$$.dir/conf$$.file
32020else
32021 rm -f conf$$.dir
32022 mkdir conf$$.dir 2>/dev/null
32023fi
32024if (echo >conf$$.file) 2>/dev/null; then
32025 if ln -s conf$$.file conf$$ 2>/dev/null; then
32026 as_ln_s='ln -s'
32027 # ... but there are two gotchas:
32028 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32029 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32030 # In both cases, we have to default to `cp -pR'.
32031 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32032 as_ln_s='cp -pR'
32033 elif ln conf$$.file conf$$ 2>/dev/null; then
32034 as_ln_s=ln
32035 else
32036 as_ln_s='cp -pR'
32037 fi
32038else
32039 as_ln_s='cp -pR'
32040fi
32041rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32042rmdir conf$$.dir 2>/dev/null
32043
32044
32045# as_fn_mkdir_p
32046# -------------
32047# Create "$as_dir" as a directory, including parents if necessary.
32048as_fn_mkdir_p ()
32049{
32050
32051 case $as_dir in #(
32052 -*) as_dir=./$as_dir;;
32053 esac
32054 test -d "$as_dir" || eval $as_mkdir_p || {
32055 as_dirs=
32056 while :; do
32057 case $as_dir in #(
32058 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32059 *) as_qdir=$as_dir;;
32060 esac
32061 as_dirs="'$as_qdir' $as_dirs"
32062 as_dir=`$as_dirname -- "$as_dir" ||
32063$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32064 X"$as_dir" : 'X\(//\)[^/]' \| \
32065 X"$as_dir" : 'X\(//\)$' \| \
32066 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32067$as_echo X"$as_dir" |
32068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32069 s//\1/
32070 q
32071 }
32072 /^X\(\/\/\)[^/].*/{
32073 s//\1/
32074 q
32075 }
32076 /^X\(\/\/\)$/{
32077 s//\1/
32078 q
32079 }
32080 /^X\(\/\).*/{
32081 s//\1/
32082 q
32083 }
32084 s/.*/./; q'`
32085 test -d "$as_dir" && break
32086 done
32087 test -z "$as_dirs" || eval "mkdir $as_dirs"
32088 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32089
32090
32091} # as_fn_mkdir_p
32092if mkdir -p . 2>/dev/null; then
32093 as_mkdir_p='mkdir -p "$as_dir"'
32094else
32095 test -d ./-p && rmdir ./-p
32096 as_mkdir_p=false
32097fi
32098
32099
32100# as_fn_executable_p FILE
32101# -----------------------
32102# Test if FILE is an executable regular file.
32103as_fn_executable_p ()
32104{
32105 test -f "$1" && test -x "$1"
32106} # as_fn_executable_p
32107as_test_x='test -x'
32108as_executable_p=as_fn_executable_p
32109
32110# Sed expression to map a string onto a valid CPP name.
32111as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32112
32113# Sed expression to map a string onto a valid variable name.
32114as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32115
32116
32117exec 6>&1
32118## ----------------------------------- ##
32119## Main body of $CONFIG_STATUS script. ##
32120## ----------------------------------- ##
32121_ASEOF
32122test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32123
32124cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32125# Save the log message, to keep $0 and so on meaningful, and to
32126# report actual input values of CONFIG_FILES etc. instead of their
32127# values after options handling.
32128ac_log="
32129This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32130generated by GNU Autoconf 2.69. Invocation command line was
32131
32132 CONFIG_FILES = $CONFIG_FILES
32133 CONFIG_HEADERS = $CONFIG_HEADERS
32134 CONFIG_LINKS = $CONFIG_LINKS
32135 CONFIG_COMMANDS = $CONFIG_COMMANDS
32136 $ $0 $@
32137
32138on `(hostname || uname -n) 2>/dev/null | sed 1q`
32139"
32140
32141_ACEOF
32142
32143case $ac_config_files in *"
32144"*) set x $ac_config_files; shift; ac_config_files=$*;;
32145esac
32146
32147case $ac_config_headers in *"
32148"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32149esac
32150
32151
32152cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32153# Files that config.status was made for.
32154config_files="$ac_config_files"
32155config_headers="$ac_config_headers"
32156config_commands="$ac_config_commands"
32157
32158_ACEOF
32159
32160cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32161ac_cs_usage="\
32162\`$as_me' instantiates files and other configuration actions
32163from templates according to the current configuration. Unless the files
32164and actions are specified as TAGs, all are instantiated by default.
32165
32166Usage: $0 [OPTION]... [TAG]...
32167
32168 -h, --help print this help, then exit
32169 -V, --version print version number and configuration settings, then exit
32170 --config print configuration, then exit
32171 -q, --quiet, --silent
32172 do not print progress messages
32173 -d, --debug don't remove temporary files
32174 --recheck update $as_me by reconfiguring in the same conditions
32175 --file=FILE[:TEMPLATE]
32176 instantiate the configuration file FILE
32177 --header=FILE[:TEMPLATE]
32178 instantiate the configuration header FILE
32179
32180Configuration files:
32181$config_files
32182
32183Configuration headers:
32184$config_headers
32185
32186Configuration commands:
32187$config_commands
32188
32189Report bugs to the package provider.
32190GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32191General help using GNU software: <http://www.gnu.org/gethelp/>."
32192
32193_ACEOF
32194cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32195ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32196ac_cs_version="\\
32197GNU Fortran Runtime Library config.status 0.3
32198configured by $0, generated by GNU Autoconf 2.69,
32199 with options \\"\$ac_cs_config\\"
32200
32201Copyright (C) 2012 Free Software Foundation, Inc.
32202This config.status script is free software; the Free Software Foundation
32203gives unlimited permission to copy, distribute and modify it."
32204
32205ac_pwd='$ac_pwd'
32206srcdir='$srcdir'
32207INSTALL='$INSTALL'
32208MKDIR_P='$MKDIR_P'
32209AWK='$AWK'
32210test -n "\$AWK" || AWK=awk
32211_ACEOF
32212
32213cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32214# The default lists apply if the user does not specify any file.
32215ac_need_defaults=:
32216while test $# != 0
32217do
32218 case $1 in
32219 --*=?*)
32220 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32221 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32222 ac_shift=:
32223 ;;
32224 --*=)
32225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32226 ac_optarg=
32227 ac_shift=:
32228 ;;
32229 *)
32230 ac_option=$1
32231 ac_optarg=$2
32232 ac_shift=shift
32233 ;;
32234 esac
32235
32236 case $ac_option in
32237 # Handling of the options.
32238 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32239 ac_cs_recheck=: ;;
32240 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32241 $as_echo "$ac_cs_version"; exit ;;
32242 --config | --confi | --conf | --con | --co | --c )
32243 $as_echo "$ac_cs_config"; exit ;;
32244 --debug | --debu | --deb | --de | --d | -d )
32245 debug=: ;;
32246 --file | --fil | --fi | --f )
32247 $ac_shift
32248 case $ac_optarg in
32249 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32250 '') as_fn_error $? "missing file argument" ;;
32251 esac
32252 as_fn_append CONFIG_FILES " '$ac_optarg'"
32253 ac_need_defaults=false;;
32254 --header | --heade | --head | --hea )
32255 $ac_shift
32256 case $ac_optarg in
32257 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32258 esac
32259 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32260 ac_need_defaults=false;;
32261 --he | --h)
32262 # Conflict between --help and --header
32263 as_fn_error $? "ambiguous option: \`$1'
32264Try \`$0 --help' for more information.";;
32265 --help | --hel | -h )
32266 $as_echo "$ac_cs_usage"; exit ;;
32267 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32268 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32269 ac_cs_silent=: ;;
32270
32271 # This is an error.
32272 -*) as_fn_error $? "unrecognized option: \`$1'
32273Try \`$0 --help' for more information." ;;
32274
32275 *) as_fn_append ac_config_targets " $1"
32276 ac_need_defaults=false ;;
32277
32278 esac
32279 shift
32280done
32281
32282ac_configure_extra_args=
32283
32284if $ac_cs_silent; then
32285 exec 6>/dev/null
32286 ac_configure_extra_args="$ac_configure_extra_args --silent"
32287fi
32288
32289_ACEOF
32290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32291if \$ac_cs_recheck; then
32292 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32293 shift
32294 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32295 CONFIG_SHELL='$SHELL'
32296 export CONFIG_SHELL
32297 exec "\$@"
32298fi
32299
32300_ACEOF
32301cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32302exec 5>>config.log
32303{
32304 echo
32305 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32306## Running $as_me. ##
32307_ASBOX
32308 $as_echo "$ac_log"
32309} >&5
32310
32311_ACEOF
32312cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32313#
32314# INIT-COMMANDS
32315#
32316
32317srcdir="$srcdir"
32318host="$host"
32319target="$target"
32320with_multisubdir="$with_multisubdir"
32321with_multisrctop="$with_multisrctop"
32322with_target_subdir="$with_target_subdir"
32323ac_configure_args="${multilib_arg} ${ac_configure_args}"
32324multi_basedir="$multi_basedir"
32325CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32326CC="$CC"
32327CXX="$CXX"
32328GFORTRAN="$GFORTRAN"
32329GDC="$GDC"
32330AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32331
32332
32333# The HP-UX ksh and POSIX shell print the target directory to stdout
32334# if CDPATH is set.
32335(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32336
32337sed_quote_subst='$sed_quote_subst'
32338double_quote_subst='$double_quote_subst'
32339delay_variable_subst='$delay_variable_subst'
32340SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32341Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32342GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32343EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32344FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32345SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32346ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32347LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32348macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32349macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32350enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32351enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32352pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32353enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32354host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32355host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32356host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32357build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32358build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32359build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32360NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32361LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32362max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32363ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32364exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32365lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32366lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32367lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32368reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32369reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32370OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32371deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32372file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32373AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32374AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32375STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32376RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32377old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32378old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32379old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32380lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32381CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32382CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32383compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32384GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32385lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32386lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32387lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32388lt_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"`'
32389objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32390MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32391lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32392lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32393lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32394lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32395lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32396need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32397DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32398NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32399LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32400OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32401OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32402libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32403shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32404extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32405archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32406enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32407export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32408whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32409compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32410old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32411old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32412archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32413archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32414module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32415module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32416with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32417allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32418no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32419hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32420hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32421hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32422hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32423hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32424hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32425hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32426hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32427inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32428link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32429fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32430always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32431export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32432exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32433include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32434prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32435file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32436variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32437need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32438need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32439version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32440runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32441shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32442shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32443libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32444library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32445soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32446install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32447postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32448postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32449finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32450finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32451hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32452sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32453sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32454hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32455enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32456enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32457enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32458old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32459striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32460compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32461predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32462postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32463predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32464postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32465compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32466LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32467reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32468reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32469old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32470compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32471GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32472lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32473lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32474lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32475lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32476lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32477archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32478enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32479export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32480whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32481compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32482old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32483old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32484archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32485archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32486module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32487module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32488with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32489allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32490no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32491hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32492hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32493hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32494hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32495hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32496hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32497hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32498hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32499inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32500link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32501fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32502always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32503export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32504exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32505include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32506prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32507file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32508hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32509compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32510predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32511postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32512predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32513postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32514compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32515
32516LTCC='$LTCC'
32517LTCFLAGS='$LTCFLAGS'
32518compiler='$compiler_DEFAULT'
32519
32520# A function that is used when there is no print builtin or printf.
32521func_fallback_echo ()
32522{
32523 eval 'cat <<_LTECHO_EOF
32524\$1
32525_LTECHO_EOF'
32526}
32527
32528# Quote evaled strings.
32529for var in SED \
32530GREP \
32531EGREP \
32532FGREP \
32533SHELL \
32534ECHO \
32535LD \
32536NM \
32537LN_S \
32538lt_SP2NL \
32539lt_NL2SP \
32540reload_flag \
32541OBJDUMP \
32542deplibs_check_method \
32543file_magic_cmd \
32544AR \
32545AR_FLAGS \
32546STRIP \
32547RANLIB \
32548CC \
32549CFLAGS \
32550compiler \
32551lt_cv_sys_global_symbol_pipe \
32552lt_cv_sys_global_symbol_to_cdecl \
32553lt_cv_sys_global_symbol_to_c_name_address \
32554lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32555lt_prog_compiler_no_builtin_flag \
32556lt_prog_compiler_wl \
32557lt_prog_compiler_pic \
32558lt_prog_compiler_static \
32559lt_cv_prog_compiler_c_o \
32560need_locks \
32561DSYMUTIL \
32562NMEDIT \
32563LIPO \
32564OTOOL \
32565OTOOL64 \
32566shrext_cmds \
32567export_dynamic_flag_spec \
32568whole_archive_flag_spec \
32569compiler_needs_object \
32570with_gnu_ld \
32571allow_undefined_flag \
32572no_undefined_flag \
32573hardcode_libdir_flag_spec \
32574hardcode_libdir_flag_spec_ld \
32575hardcode_libdir_separator \
32576fix_srcfile_path \
32577exclude_expsyms \
32578include_expsyms \
32579file_list_spec \
32580variables_saved_for_relink \
32581libname_spec \
32582library_names_spec \
32583soname_spec \
32584install_override_mode \
32585finish_eval \
32586old_striplib \
32587striplib \
32588compiler_lib_search_dirs \
32589predep_objects \
32590postdep_objects \
32591predeps \
32592postdeps \
32593compiler_lib_search_path \
32594LD_FC \
32595reload_flag_FC \
32596compiler_FC \
32597lt_prog_compiler_no_builtin_flag_FC \
32598lt_prog_compiler_wl_FC \
32599lt_prog_compiler_pic_FC \
32600lt_prog_compiler_static_FC \
32601lt_cv_prog_compiler_c_o_FC \
32602export_dynamic_flag_spec_FC \
32603whole_archive_flag_spec_FC \
32604compiler_needs_object_FC \
32605with_gnu_ld_FC \
32606allow_undefined_flag_FC \
32607no_undefined_flag_FC \
32608hardcode_libdir_flag_spec_FC \
32609hardcode_libdir_flag_spec_ld_FC \
32610hardcode_libdir_separator_FC \
32611fix_srcfile_path_FC \
32612exclude_expsyms_FC \
32613include_expsyms_FC \
32614file_list_spec_FC \
32615compiler_lib_search_dirs_FC \
32616predep_objects_FC \
32617postdep_objects_FC \
32618predeps_FC \
32619postdeps_FC \
32620compiler_lib_search_path_FC; do
32621 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32622 *[\\\\\\\`\\"\\\$]*)
32623 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32624 ;;
32625 *)
32626 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32627 ;;
32628 esac
32629done
32630
32631# Double-quote double-evaled strings.
32632for var in reload_cmds \
32633old_postinstall_cmds \
32634old_postuninstall_cmds \
32635old_archive_cmds \
32636extract_expsyms_cmds \
32637old_archive_from_new_cmds \
32638old_archive_from_expsyms_cmds \
32639archive_cmds \
32640archive_expsym_cmds \
32641module_cmds \
32642module_expsym_cmds \
32643export_symbols_cmds \
32644prelink_cmds \
32645postinstall_cmds \
32646postuninstall_cmds \
32647finish_cmds \
32648sys_lib_search_path_spec \
32649sys_lib_dlsearch_path_spec \
32650reload_cmds_FC \
32651old_archive_cmds_FC \
32652old_archive_from_new_cmds_FC \
32653old_archive_from_expsyms_cmds_FC \
32654archive_cmds_FC \
32655archive_expsym_cmds_FC \
32656module_cmds_FC \
32657module_expsym_cmds_FC \
32658export_symbols_cmds_FC \
32659prelink_cmds_FC; do
32660 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32661 *[\\\\\\\`\\"\\\$]*)
32662 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32663 ;;
32664 *)
32665 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32666 ;;
32667 esac
32668done
32669
32670ac_aux_dir='$ac_aux_dir'
32671xsi_shell='$xsi_shell'
32672lt_shell_append='$lt_shell_append'
32673
32674# See if we are running on zsh, and set the options which allow our
32675# commands through without removal of \ escapes INIT.
32676if test -n "\${ZSH_VERSION+set}" ; then
32677 setopt NO_GLOB_SUBST
32678fi
32679
32680
32681 PACKAGE='$PACKAGE'
32682 VERSION='$VERSION'
32683 TIMESTAMP='$TIMESTAMP'
32684 RM='$RM'
32685 ofile='$ofile'
32686
32687
32688
32689
32690
32691
32692GCC="$GCC"
32693CC="$CC"
32694acx_cv_header_stdint="$acx_cv_header_stdint"
32695acx_cv_type_int8_t="$acx_cv_type_int8_t"
32696acx_cv_type_int16_t="$acx_cv_type_int16_t"
32697acx_cv_type_int32_t="$acx_cv_type_int32_t"
32698acx_cv_type_int64_t="$acx_cv_type_int64_t"
32699acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32700ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32701ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32702ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32703ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32704ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32705ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32706ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32707ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32708
32709
32710_ACEOF
32711
32712cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32713
32714# Handling of arguments.
32715for ac_config_target in $ac_config_targets
32716do
32717 case $ac_config_target in
32718 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32719 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
32720 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32721 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32722 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
32723 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32724 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
32725
32726 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32727 esac
32728done
32729
32730
32731# If the user did not use the arguments to specify the items to instantiate,
32732# then the envvar interface is used. Set only those that are not.
32733# We use the long form for the default assignment because of an extremely
32734# bizarre bug on SunOS 4.1.3.
32735if $ac_need_defaults; then
32736 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32737 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32738 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32739fi
32740
32741# Have a temporary directory for convenience. Make it in the build tree
32742# simply because there is no reason against having it here, and in addition,
32743# creating and moving files from /tmp can sometimes cause problems.
32744# Hook for its removal unless debugging.
32745# Note that there is a small window in which the directory will not be cleaned:
32746# after its creation but before its name has been assigned to `$tmp'.
32747$debug ||
32748{
32749 tmp= ac_tmp=
32750 trap 'exit_status=$?
32751 : "${ac_tmp:=$tmp}"
32752 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32753' 0
32754 trap 'as_fn_exit 1' 1 2 13 15
32755}
32756# Create a (secure) tmp directory for tmp files.
32757
32758{
32759 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32760 test -d "$tmp"
32761} ||
32762{
32763 tmp=./conf$$-$RANDOM
32764 (umask 077 && mkdir "$tmp")
32765} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32766ac_tmp=$tmp
32767
32768# Set up the scripts for CONFIG_FILES section.
32769# No need to generate them if there are no CONFIG_FILES.
32770# This happens for instance with `./config.status config.h'.
32771if test -n "$CONFIG_FILES"; then
32772
32773
32774ac_cr=`echo X | tr X '\015'`
32775# On cygwin, bash can eat \r inside `` if the user requested igncr.
32776# But we know of no other shell where ac_cr would be empty at this
32777# point, so we can use a bashism as a fallback.
32778if test "x$ac_cr" = x; then
32779 eval ac_cr=\$\'\\r\'
32780fi
32781ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32782if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32783 ac_cs_awk_cr='\\r'
32784else
32785 ac_cs_awk_cr=$ac_cr
32786fi
32787
32788echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32789_ACEOF
32790
32791
32792{
32793 echo "cat >conf$$subs.awk <<_ACEOF" &&
32794 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32795 echo "_ACEOF"
32796} >conf$$subs.sh ||
32797 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32798ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32799ac_delim='%!_!# '
32800for ac_last_try in false false false false false :; do
32801 . ./conf$$subs.sh ||
32802 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32803
32804 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32805 if test $ac_delim_n = $ac_delim_num; then
32806 break
32807 elif $ac_last_try; then
32808 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32809 else
32810 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32811 fi
32812done
32813rm -f conf$$subs.sh
32814
32815cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32816cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
32817_ACEOF
32818sed -n '
32819h
32820s/^/S["/; s/!.*/"]=/
32821p
32822g
32823s/^[^!]*!//
32824:repl
32825t repl
32826s/'"$ac_delim"'$//
32827t delim
32828:nl
32829h
32830s/\(.\{148\}\)..*/\1/
32831t more1
32832s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32833p
32834n
32835b repl
32836:more1
32837s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32838p
32839g
32840s/.\{148\}//
32841t nl
32842:delim
32843h
32844s/\(.\{148\}\)..*/\1/
32845t more2
32846s/["\\]/\\&/g; s/^/"/; s/$/"/
32847p
32848b
32849:more2
32850s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32851p
32852g
32853s/.\{148\}//
32854t delim
32855' <conf$$subs.awk | sed '
32856/^[^""]/{
32857 N
32858 s/\n//
32859}
32860' >>$CONFIG_STATUS || ac_write_fail=1
32861rm -f conf$$subs.awk
32862cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32863_ACAWK
32864cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
32865 for (key in S) S_is_set[key] = 1
32866 FS = "\a"
32867
32868}
32869{
32870 line = $ 0
32871 nfields = split(line, field, "@")
32872 substed = 0
32873 len = length(field[1])
32874 for (i = 2; i < nfields; i++) {
32875 key = field[i]
32876 keylen = length(key)
32877 if (S_is_set[key]) {
32878 value = S[key]
32879 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32880 len += length(value) + length(field[++i])
32881 substed = 1
32882 } else
32883 len += 1 + keylen
32884 }
32885
32886 print line
32887}
32888
32889_ACAWK
32890_ACEOF
32891cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32892if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32893 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32894else
32895 cat
32896fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
32897 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32898_ACEOF
32899
32900# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32901# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32902# trailing colons and then remove the whole line if VPATH becomes empty
32903# (actually we leave an empty line to preserve line numbers).
32904if test "x$srcdir" = x.; then
32905 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32906h
32907s///
32908s/^/:/
32909s/[ ]*$/:/
32910s/:\$(srcdir):/:/g
32911s/:\${srcdir}:/:/g
32912s/:@srcdir@:/:/g
32913s/^:*//
32914s/:*$//
32915x
32916s/\(=[ ]*\).*/\1/
32917G
32918s/\n//
32919s/^[^=]*=[ ]*$//
32920}'
32921fi
32922
32923cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32924fi # test -n "$CONFIG_FILES"
32925
32926# Set up the scripts for CONFIG_HEADERS section.
32927# No need to generate them if there are no CONFIG_HEADERS.
32928# This happens for instance with `./config.status Makefile'.
32929if test -n "$CONFIG_HEADERS"; then
32930cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
32931BEGIN {
32932_ACEOF
32933
32934# Transform confdefs.h into an awk script `defines.awk', embedded as
32935# here-document in config.status, that substitutes the proper values into
32936# config.h.in to produce config.h.
32937
32938# Create a delimiter string that does not exist in confdefs.h, to ease
32939# handling of long lines.
32940ac_delim='%!_!# '
32941for ac_last_try in false false :; do
32942 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32943 if test -z "$ac_tt"; then
32944 break
32945 elif $ac_last_try; then
32946 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32947 else
32948 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32949 fi
32950done
32951
32952# For the awk script, D is an array of macro values keyed by name,
32953# likewise P contains macro parameters if any. Preserve backslash
32954# newline sequences.
32955
32956ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32957sed -n '
32958s/.\{148\}/&'"$ac_delim"'/g
32959t rset
32960:rset
32961s/^[ ]*#[ ]*define[ ][ ]*/ /
32962t def
32963d
32964:def
32965s/\\$//
32966t bsnl
32967s/["\\]/\\&/g
32968s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32969D["\1"]=" \3"/p
32970s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32971d
32972:bsnl
32973s/["\\]/\\&/g
32974s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32975D["\1"]=" \3\\\\\\n"\\/p
32976t cont
32977s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32978t cont
32979d
32980:cont
32981n
32982s/.\{148\}/&'"$ac_delim"'/g
32983t clear
32984:clear
32985s/\\$//
32986t bsnlc
32987s/["\\]/\\&/g; s/^/"/; s/$/"/p
32988d
32989:bsnlc
32990s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32991b cont
32992' <confdefs.h | sed '
32993s/'"$ac_delim"'/"\\\
32994"/g' >>$CONFIG_STATUS || ac_write_fail=1
32995
32996cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32997 for (key in D) D_is_set[key] = 1
32998 FS = "\a"
32999}
33000/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
33001 line = \$ 0
33002 split(line, arg, " ")
33003 if (arg[1] == "#") {
33004 defundef = arg[2]
33005 mac1 = arg[3]
33006 } else {
33007 defundef = substr(arg[1], 2)
33008 mac1 = arg[2]
33009 }
33010 split(mac1, mac2, "(") #)
33011 macro = mac2[1]
33012 prefix = substr(line, 1, index(line, defundef) - 1)
33013 if (D_is_set[macro]) {
33014 # Preserve the white space surrounding the "#".
33015 print prefix "define", macro P[macro] D[macro]
33016 next
33017 } else {
33018 # Replace #undef with comments. This is necessary, for example,
33019 # in the case of _POSIX_SOURCE, which is predefined and required
33020 # on some systems where configure will not decide to define it.
33021 if (defundef == "undef") {
33022 print "/*", prefix defundef, macro, "*/"
33023 next
33024 }
33025 }
33026}
33027{ print }
33028_ACAWK
33029_ACEOF
33030cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33031 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
33032fi # test -n "$CONFIG_HEADERS"
33033
33034
33035eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
33036shift
33037for ac_tag
33038do
33039 case $ac_tag in
33040 :[FHLC]) ac_mode=$ac_tag; continue;;
33041 esac
33042 case $ac_mode$ac_tag in
33043 :[FHL]*:*);;
33044 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
33045 :[FH]-) ac_tag=-:-;;
33046 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33047 esac
33048 ac_save_IFS=$IFS
33049 IFS=:
33050 set x $ac_tag
33051 IFS=$ac_save_IFS
33052 shift
33053 ac_file=$1
33054 shift
33055
33056 case $ac_mode in
33057 :L) ac_source=$1;;
33058 :[FH])
33059 ac_file_inputs=
33060 for ac_f
33061 do
33062 case $ac_f in
33063 -) ac_f="$ac_tmp/stdin";;
33064 *) # Look for the file first in the build tree, then in the source tree
33065 # (if the path is not absolute). The absolute path cannot be DOS-style,
33066 # because $ac_f cannot contain `:'.
33067 test -f "$ac_f" ||
33068 case $ac_f in
33069 [\\/$]*) false;;
33070 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33071 esac ||
33072 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33073 esac
33074 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33075 as_fn_append ac_file_inputs " '$ac_f'"
33076 done
33077
33078 # Let's still pretend it is `configure' which instantiates (i.e., don't
33079 # use $as_me), people would be surprised to read:
33080 # /* config.h. Generated by config.status. */
33081 configure_input='Generated from '`
33082 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33083 `' by configure.'
33084 if test x"$ac_file" != x-; then
33085 configure_input="$ac_file. $configure_input"
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33087$as_echo "$as_me: creating $ac_file" >&6;}
33088 fi
33089 # Neutralize special characters interpreted by sed in replacement strings.
33090 case $configure_input in #(
33091 *\&* | *\|* | *\\* )
33092 ac_sed_conf_input=`$as_echo "$configure_input" |
33093 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33094 *) ac_sed_conf_input=$configure_input;;
33095 esac
33096
33097 case $ac_tag in
33098 *:-:* | *:-) cat >"$ac_tmp/stdin" \
33099 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33100 esac
33101 ;;
33102 esac
33103
33104 ac_dir=`$as_dirname -- "$ac_file" ||
33105$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33106 X"$ac_file" : 'X\(//\)[^/]' \| \
33107 X"$ac_file" : 'X\(//\)$' \| \
33108 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33109$as_echo X"$ac_file" |
33110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33111 s//\1/
33112 q
33113 }
33114 /^X\(\/\/\)[^/].*/{
33115 s//\1/
33116 q
33117 }
33118 /^X\(\/\/\)$/{
33119 s//\1/
33120 q
33121 }
33122 /^X\(\/\).*/{
33123 s//\1/
33124 q
33125 }
33126 s/.*/./; q'`
33127 as_dir="$ac_dir"; as_fn_mkdir_p
33128 ac_builddir=.
33129
33130case "$ac_dir" in
33131.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33132*)
33133 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33134 # A ".." for each directory in $ac_dir_suffix.
33135 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33136 case $ac_top_builddir_sub in
33137 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33138 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33139 esac ;;
33140esac
33141ac_abs_top_builddir=$ac_pwd
33142ac_abs_builddir=$ac_pwd$ac_dir_suffix
33143# for backward compatibility:
33144ac_top_builddir=$ac_top_build_prefix
33145
33146case $srcdir in
33147 .) # We are building in place.
33148 ac_srcdir=.
33149 ac_top_srcdir=$ac_top_builddir_sub
33150 ac_abs_top_srcdir=$ac_pwd ;;
33151 [\\/]* | ?:[\\/]* ) # Absolute name.
33152 ac_srcdir=$srcdir$ac_dir_suffix;
33153 ac_top_srcdir=$srcdir
33154 ac_abs_top_srcdir=$srcdir ;;
33155 *) # Relative name.
33156 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33157 ac_top_srcdir=$ac_top_build_prefix$srcdir
33158 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33159esac
33160ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33161
33162
33163 case $ac_mode in
33164 :F)
33165 #
33166 # CONFIG_FILE
33167 #
33168
33169 case $INSTALL in
33170 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33171 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33172 esac
33173 ac_MKDIR_P=$MKDIR_P
33174 case $MKDIR_P in
33175 [\\/$]* | ?:[\\/]* ) ;;
33176 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33177 esac
33178_ACEOF
33179
33180cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33181# If the template does not know about datarootdir, expand it.
33182# FIXME: This hack should be removed a few years after 2.60.
33183ac_datarootdir_hack=; ac_datarootdir_seen=
33184ac_sed_dataroot='
33185/datarootdir/ {
33186 p
33187 q
33188}
33189/@datadir@/p
33190/@docdir@/p
33191/@infodir@/p
33192/@localedir@/p
33193/@mandir@/p'
33194case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33195*datarootdir*) ac_datarootdir_seen=yes;;
33196*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33198$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33199_ACEOF
33200cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33201 ac_datarootdir_hack='
33202 s&@datadir@&$datadir&g
33203 s&@docdir@&$docdir&g
33204 s&@infodir@&$infodir&g
33205 s&@localedir@&$localedir&g
33206 s&@mandir@&$mandir&g
33207 s&\\\${datarootdir}&$datarootdir&g' ;;
33208esac
33209_ACEOF
33210
33211# Neutralize VPATH when `$srcdir' = `.'.
33212# Shell code in configure.ac might set extrasub.
33213# FIXME: do we really want to maintain this feature?
33214cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33215ac_sed_extra="$ac_vpsub
33216$extrasub
33217_ACEOF
33218cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33219:t
33220/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33221s|@configure_input@|$ac_sed_conf_input|;t t
33222s&@top_builddir@&$ac_top_builddir_sub&;t t
33223s&@top_build_prefix@&$ac_top_build_prefix&;t t
33224s&@srcdir@&$ac_srcdir&;t t
33225s&@abs_srcdir@&$ac_abs_srcdir&;t t
33226s&@top_srcdir@&$ac_top_srcdir&;t t
33227s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33228s&@builddir@&$ac_builddir&;t t
33229s&@abs_builddir@&$ac_abs_builddir&;t t
33230s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33231s&@INSTALL@&$ac_INSTALL&;t t
33232s&@MKDIR_P@&$ac_MKDIR_P&;t t
33233$ac_datarootdir_hack
33234"
33235eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33236 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33237
33238test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33239 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33240 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33241 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33243which seems to be undefined. Please make sure it is defined" >&5
33244$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33245which seems to be undefined. Please make sure it is defined" >&2;}
33246
33247 rm -f "$ac_tmp/stdin"
33248 case $ac_file in
33249 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33250 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33251 esac \
33252 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33253 ;;
33254 :H)
33255 #
33256 # CONFIG_HEADER
33257 #
33258 if test x"$ac_file" != x-; then
33259 {
33260 $as_echo "/* $configure_input */" \
33261 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33262 } >"$ac_tmp/config.h" \
33263 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33264 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33265 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33266$as_echo "$as_me: $ac_file is unchanged" >&6;}
33267 else
33268 rm -f "$ac_file"
33269 mv "$ac_tmp/config.h" "$ac_file" \
33270 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33271 fi
33272 else
33273 $as_echo "/* $configure_input */" \
33274 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33275 || as_fn_error $? "could not create -" "$LINENO" 5
33276 fi
33277# Compute "$ac_file"'s index in $config_headers.
33278_am_arg="$ac_file"
33279_am_stamp_count=1
33280for _am_header in $config_headers :; do
33281 case $_am_header in
33282 $_am_arg | $_am_arg:* )
33283 break ;;
33284 * )
33285 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33286 esac
33287done
33288echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33289$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33290 X"$_am_arg" : 'X\(//\)[^/]' \| \
33291 X"$_am_arg" : 'X\(//\)$' \| \
33292 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33293$as_echo X"$_am_arg" |
33294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33295 s//\1/
33296 q
33297 }
33298 /^X\(\/\/\)[^/].*/{
33299 s//\1/
33300 q
33301 }
33302 /^X\(\/\/\)$/{
33303 s//\1/
33304 q
33305 }
33306 /^X\(\/\).*/{
33307 s//\1/
33308 q
33309 }
33310 s/.*/./; q'`/stamp-h$_am_stamp_count
33311 ;;
33312
33313 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33314$as_echo "$as_me: executing $ac_file commands" >&6;}
33315 ;;
33316 esac
33317
33318
33319 case $ac_file$ac_mode in
33320 "default-1":C)
33321# Only add multilib support code if we just rebuilt the top-level
33322# Makefile.
33323case " $CONFIG_FILES " in
33324 *" Makefile "*)
33325 ac_file=Makefile . ${multi_basedir}/config-ml.in
33326 ;;
33327esac ;;
33328 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33329 # Older Autoconf quotes --file arguments for eval, but not when files
33330 # are listed without --file. Let's play safe and only enable the eval
33331 # if we detect the quoting.
33332 case $CONFIG_FILES in
33333 *\'*) eval set x "$CONFIG_FILES" ;;
33334 *) set x $CONFIG_FILES ;;
33335 esac
33336 shift
33337 for mf
33338 do
33339 # Strip MF so we end up with the name of the file.
33340 mf=`echo "$mf" | sed -e 's/:.*$//'`
33341 # Check whether this is an Automake generated Makefile or not.
33342 # We used to match only the files named 'Makefile.in', but
33343 # some people rename them; so instead we look at the file content.
33344 # Grep'ing the first line is not enough: some people post-process
33345 # each Makefile.in and add a new line on top of each file to say so.
33346 # Grep'ing the whole file is not good either: AIX grep has a line
33347 # limit of 2048, but all sed's we know have understand at least 4000.
33348 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33349 dirpart=`$as_dirname -- "$mf" ||
33350$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33351 X"$mf" : 'X\(//\)[^/]' \| \
33352 X"$mf" : 'X\(//\)$' \| \
33353 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33354$as_echo X"$mf" |
33355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33356 s//\1/
33357 q
33358 }
33359 /^X\(\/\/\)[^/].*/{
33360 s//\1/
33361 q
33362 }
33363 /^X\(\/\/\)$/{
33364 s//\1/
33365 q
33366 }
33367 /^X\(\/\).*/{
33368 s//\1/
33369 q
33370 }
33371 s/.*/./; q'`
33372 else
33373 continue
33374 fi
33375 # Extract the definition of DEPDIR, am__include, and am__quote
33376 # from the Makefile without running 'make'.
33377 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33378 test -z "$DEPDIR" && continue
33379 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33380 test -z "$am__include" && continue
33381 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33382 # Find all dependency output files, they are included files with
33383 # $(DEPDIR) in their names. We invoke sed twice because it is the
33384 # simplest approach to changing $(DEPDIR) to its actual value in the
33385 # expansion.
33386 for file in `sed -n "
33387 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33388 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33389 # Make sure the directory exists.
33390 test -f "$dirpart/$file" && continue
33391 fdir=`$as_dirname -- "$file" ||
33392$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33393 X"$file" : 'X\(//\)[^/]' \| \
33394 X"$file" : 'X\(//\)$' \| \
33395 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33396$as_echo X"$file" |
33397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33398 s//\1/
33399 q
33400 }
33401 /^X\(\/\/\)[^/].*/{
33402 s//\1/
33403 q
33404 }
33405 /^X\(\/\/\)$/{
33406 s//\1/
33407 q
33408 }
33409 /^X\(\/\).*/{
33410 s//\1/
33411 q
33412 }
33413 s/.*/./; q'`
33414 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33415 # echo "creating $dirpart/$file"
33416 echo '# dummy' > "$dirpart/$file"
33417 done
33418 done
33419}
33420 ;;
33421 "libtool":C)
33422
33423 # See if we are running on zsh, and set the options which allow our
33424 # commands through without removal of \ escapes.
33425 if test -n "${ZSH_VERSION+set}" ; then
33426 setopt NO_GLOB_SUBST
33427 fi
33428
33429 cfgfile="${ofile}T"
33430 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33431 $RM "$cfgfile"
33432
33433 cat <<_LT_EOF >> "$cfgfile"
33434#! $SHELL
33435
33436# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33437# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33438# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33439# NOTE: Changes made to this file will be lost: look at ltmain.sh.
33440#
33441# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33442# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33443# Written by Gordon Matzigkeit, 1996
33444#
33445# This file is part of GNU Libtool.
33446#
33447# GNU Libtool is free software; you can redistribute it and/or
33448# modify it under the terms of the GNU General Public License as
33449# published by the Free Software Foundation; either version 2 of
33450# the License, or (at your option) any later version.
33451#
33452# As a special exception to the GNU General Public License,
33453# if you distribute this file as part of a program or library that
33454# is built using GNU Libtool, you may include this file under the
33455# same distribution terms that you use for the rest of that program.
33456#
33457# GNU Libtool is distributed in the hope that it will be useful,
33458# but WITHOUT ANY WARRANTY; without even the implied warranty of
33459# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33460# GNU General Public License for more details.
33461#
33462# You should have received a copy of the GNU General Public License
33463# along with GNU Libtool; see the file COPYING. If not, a copy
33464# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33465# obtained by writing to the Free Software Foundation, Inc.,
33466# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33467
33468
33469# The names of the tagged configurations supported by this script.
33470available_tags="FC "
33471
33472# ### BEGIN LIBTOOL CONFIG
33473
33474# A sed program that does not truncate output.
33475SED=$lt_SED
33476
33477# Sed that helps us avoid accidentally triggering echo(1) options like -n.
33478Xsed="\$SED -e 1s/^X//"
33479
33480# A grep program that handles long lines.
33481GREP=$lt_GREP
33482
33483# An ERE matcher.
33484EGREP=$lt_EGREP
33485
33486# A literal string matcher.
33487FGREP=$lt_FGREP
33488
33489# Shell to use when invoking shell scripts.
33490SHELL=$lt_SHELL
33491
33492# An echo program that protects backslashes.
33493ECHO=$lt_ECHO
33494
33495# Which release of libtool.m4 was used?
33496macro_version=$macro_version
33497macro_revision=$macro_revision
33498
33499# Whether or not to build shared libraries.
33500build_libtool_libs=$enable_shared
33501
33502# Whether or not to build static libraries.
33503build_old_libs=$enable_static
33504
33505# What type of objects to build.
33506pic_mode=$pic_mode
33507
33508# Whether or not to optimize for fast installation.
33509fast_install=$enable_fast_install
33510
33511# The host system.
33512host_alias=$host_alias
33513host=$host
33514host_os=$host_os
33515
33516# The build system.
33517build_alias=$build_alias
33518build=$build
33519build_os=$build_os
33520
33521# A BSD- or MS-compatible name lister.
33522NM=$lt_NM
33523
33524# Whether we need soft or hard links.
33525LN_S=$lt_LN_S
33526
33527# What is the maximum length of a command?
33528max_cmd_len=$max_cmd_len
33529
33530# Object file suffix (normally "o").
33531objext=$ac_objext
33532
33533# Executable file suffix (normally "").
33534exeext=$exeext
33535
33536# whether the shell understands "unset".
33537lt_unset=$lt_unset
33538
33539# turn spaces into newlines.
33540SP2NL=$lt_lt_SP2NL
33541
33542# turn newlines into spaces.
33543NL2SP=$lt_lt_NL2SP
33544
33545# An object symbol dumper.
33546OBJDUMP=$lt_OBJDUMP
33547
33548# Method to check whether dependent libraries are shared objects.
33549deplibs_check_method=$lt_deplibs_check_method
33550
33551# Command to use when deplibs_check_method == "file_magic".
33552file_magic_cmd=$lt_file_magic_cmd
33553
33554# The archiver.
33555AR=$lt_AR
33556AR_FLAGS=$lt_AR_FLAGS
33557
33558# A symbol stripping program.
33559STRIP=$lt_STRIP
33560
33561# Commands used to install an old-style archive.
33562RANLIB=$lt_RANLIB
33563old_postinstall_cmds=$lt_old_postinstall_cmds
33564old_postuninstall_cmds=$lt_old_postuninstall_cmds
33565
33566# Whether to use a lock for old archive extraction.
33567lock_old_archive_extraction=$lock_old_archive_extraction
33568
33569# A C compiler.
33570LTCC=$lt_CC
33571
33572# LTCC compiler flags.
33573LTCFLAGS=$lt_CFLAGS
33574
33575# Take the output of nm and produce a listing of raw symbols and C names.
33576global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33577
33578# Transform the output of nm in a proper C declaration.
33579global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33580
33581# Transform the output of nm in a C name address pair.
33582global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33583
33584# Transform the output of nm in a C name address pair when lib prefix is needed.
33585global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33586
33587# The name of the directory that contains temporary libtool files.
33588objdir=$objdir
33589
33590# Used to examine libraries when file_magic_cmd begins with "file".
33591MAGIC_CMD=$MAGIC_CMD
33592
33593# Must we lock files when doing compilation?
33594need_locks=$lt_need_locks
33595
33596# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33597DSYMUTIL=$lt_DSYMUTIL
33598
33599# Tool to change global to local symbols on Mac OS X.
33600NMEDIT=$lt_NMEDIT
33601
33602# Tool to manipulate fat objects and archives on Mac OS X.
33603LIPO=$lt_LIPO
33604
33605# ldd/readelf like tool for Mach-O binaries on Mac OS X.
33606OTOOL=$lt_OTOOL
33607
33608# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33609OTOOL64=$lt_OTOOL64
33610
33611# Old archive suffix (normally "a").
33612libext=$libext
33613
33614# Shared library suffix (normally ".so").
33615shrext_cmds=$lt_shrext_cmds
33616
33617# The commands to extract the exported symbol list from a shared archive.
33618extract_expsyms_cmds=$lt_extract_expsyms_cmds
33619
33620# Variables whose values should be saved in libtool wrapper scripts and
33621# restored at link time.
33622variables_saved_for_relink=$lt_variables_saved_for_relink
33623
33624# Do we need the "lib" prefix for modules?
33625need_lib_prefix=$need_lib_prefix
33626
33627# Do we need a version for libraries?
33628need_version=$need_version
33629
33630# Library versioning type.
33631version_type=$version_type
33632
33633# Shared library runtime path variable.
33634runpath_var=$runpath_var
33635
33636# Shared library path variable.
33637shlibpath_var=$shlibpath_var
33638
33639# Is shlibpath searched before the hard-coded library search path?
33640shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33641
33642# Format of library name prefix.
33643libname_spec=$lt_libname_spec
33644
33645# List of archive names. First name is the real one, the rest are links.
33646# The last name is the one that the linker finds with -lNAME
33647library_names_spec=$lt_library_names_spec
33648
33649# The coded name of the library, if different from the real name.
33650soname_spec=$lt_soname_spec
33651
33652# Permission mode override for installation of shared libraries.
33653install_override_mode=$lt_install_override_mode
33654
33655# Command to use after installation of a shared archive.
33656postinstall_cmds=$lt_postinstall_cmds
33657
33658# Command to use after uninstallation of a shared archive.
33659postuninstall_cmds=$lt_postuninstall_cmds
33660
33661# Commands used to finish a libtool library installation in a directory.
33662finish_cmds=$lt_finish_cmds
33663
33664# As "finish_cmds", except a single script fragment to be evaled but
33665# not shown.
33666finish_eval=$lt_finish_eval
33667
33668# Whether we should hardcode library paths into libraries.
33669hardcode_into_libs=$hardcode_into_libs
33670
33671# Compile-time system search path for libraries.
33672sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33673
33674# Run-time system search path for libraries.
33675sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33676
33677# Whether dlopen is supported.
33678dlopen_support=$enable_dlopen
33679
33680# Whether dlopen of programs is supported.
33681dlopen_self=$enable_dlopen_self
33682
33683# Whether dlopen of statically linked programs is supported.
33684dlopen_self_static=$enable_dlopen_self_static
33685
33686# Commands to strip libraries.
33687old_striplib=$lt_old_striplib
33688striplib=$lt_striplib
33689
33690
33691# The linker used to build libraries.
33692LD=$lt_LD
33693
33694# How to create reloadable object files.
33695reload_flag=$lt_reload_flag
33696reload_cmds=$lt_reload_cmds
33697
33698# Commands used to build an old-style archive.
33699old_archive_cmds=$lt_old_archive_cmds
33700
33701# A language specific compiler.
33702CC=$lt_compiler
33703
33704# Is the compiler the GNU compiler?
33705with_gcc=$GCC
33706
33707# Compiler flag to turn off builtin functions.
33708no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33709
33710# How to pass a linker flag through the compiler.
33711wl=$lt_lt_prog_compiler_wl
33712
33713# Additional compiler flags for building library objects.
33714pic_flag=$lt_lt_prog_compiler_pic
33715
33716# Compiler flag to prevent dynamic linking.
33717link_static_flag=$lt_lt_prog_compiler_static
33718
33719# Does compiler simultaneously support -c and -o options?
33720compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33721
33722# Whether or not to add -lc for building shared libraries.
33723build_libtool_need_lc=$archive_cmds_need_lc
33724
33725# Whether or not to disallow shared libs when runtime libs are static.
33726allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33727
33728# Compiler flag to allow reflexive dlopens.
33729export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33730
33731# Compiler flag to generate shared objects directly from archives.
33732whole_archive_flag_spec=$lt_whole_archive_flag_spec
33733
33734# Whether the compiler copes with passing no objects directly.
33735compiler_needs_object=$lt_compiler_needs_object
33736
33737# Create an old-style archive from a shared archive.
33738old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33739
33740# Create a temporary old-style archive to link instead of a shared archive.
33741old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33742
33743# Commands used to build a shared archive.
33744archive_cmds=$lt_archive_cmds
33745archive_expsym_cmds=$lt_archive_expsym_cmds
33746
33747# Commands used to build a loadable module if different from building
33748# a shared archive.
33749module_cmds=$lt_module_cmds
33750module_expsym_cmds=$lt_module_expsym_cmds
33751
33752# Whether we are building with GNU ld or not.
33753with_gnu_ld=$lt_with_gnu_ld
33754
33755# Flag that allows shared libraries with undefined symbols to be built.
33756allow_undefined_flag=$lt_allow_undefined_flag
33757
33758# Flag that enforces no undefined symbols.
33759no_undefined_flag=$lt_no_undefined_flag
33760
33761# Flag to hardcode \$libdir into a binary during linking.
33762# This must work even if \$libdir does not exist
33763hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33764
33765# If ld is used when linking, flag to hardcode \$libdir into a binary
33766# during linking. This must work even if \$libdir does not exist.
33767hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33768
33769# Whether we need a single "-rpath" flag with a separated argument.
33770hardcode_libdir_separator=$lt_hardcode_libdir_separator
33771
33772# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33773# DIR into the resulting binary.
33774hardcode_direct=$hardcode_direct
33775
33776# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33777# DIR into the resulting binary and the resulting library dependency is
33778# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33779# library is relocated.
33780hardcode_direct_absolute=$hardcode_direct_absolute
33781
33782# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33783# into the resulting binary.
33784hardcode_minus_L=$hardcode_minus_L
33785
33786# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33787# into the resulting binary.
33788hardcode_shlibpath_var=$hardcode_shlibpath_var
33789
33790# Set to "yes" if building a shared library automatically hardcodes DIR
33791# into the library and all subsequent libraries and executables linked
33792# against it.
33793hardcode_automatic=$hardcode_automatic
33794
33795# Set to yes if linker adds runtime paths of dependent libraries
33796# to runtime path list.
33797inherit_rpath=$inherit_rpath
33798
33799# Whether libtool must link a program against all its dependency libraries.
33800link_all_deplibs=$link_all_deplibs
33801
33802# Fix the shell variable \$srcfile for the compiler.
33803fix_srcfile_path=$lt_fix_srcfile_path
33804
33805# Set to "yes" if exported symbols are required.
33806always_export_symbols=$always_export_symbols
33807
33808# The commands to list exported symbols.
33809export_symbols_cmds=$lt_export_symbols_cmds
33810
33811# Symbols that should not be listed in the preloaded symbols.
33812exclude_expsyms=$lt_exclude_expsyms
33813
33814# Symbols that must always be exported.
33815include_expsyms=$lt_include_expsyms
33816
33817# Commands necessary for linking programs (against libraries) with templates.
33818prelink_cmds=$lt_prelink_cmds
33819
33820# Specify filename containing input files.
33821file_list_spec=$lt_file_list_spec
33822
33823# How to hardcode a shared library path into an executable.
33824hardcode_action=$hardcode_action
33825
33826# The directories searched by this compiler when creating a shared library.
33827compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33828
33829# Dependencies to place before and after the objects being linked to
33830# create a shared library.
33831predep_objects=$lt_predep_objects
33832postdep_objects=$lt_postdep_objects
33833predeps=$lt_predeps
33834postdeps=$lt_postdeps
33835
33836# The library search path used internally by the compiler when linking
33837# a shared library.
33838compiler_lib_search_path=$lt_compiler_lib_search_path
33839
33840# ### END LIBTOOL CONFIG
33841
33842_LT_EOF
33843
33844 case $host_os in
33845 aix3*)
33846 cat <<\_LT_EOF >> "$cfgfile"
33847# AIX sometimes has problems with the GCC collect2 program. For some
33848# reason, if we set the COLLECT_NAMES environment variable, the problems
33849# vanish in a puff of smoke.
33850if test "X${COLLECT_NAMES+set}" != Xset; then
33851 COLLECT_NAMES=
33852 export COLLECT_NAMES
33853fi
33854_LT_EOF
33855 ;;
33856 esac
33857
33858
33859ltmain="$ac_aux_dir/ltmain.sh"
33860
33861
33862 # We use sed instead of cat because bash on DJGPP gets confused if
33863 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33864 # text mode, it properly converts lines to CR/LF. This bash problem
33865 # is reportedly fixed, but why not run on old versions too?
33866 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33867 || (rm -f "$cfgfile"; exit 1)
33868
33869 case $xsi_shell in
33870 yes)
33871 cat << \_LT_EOF >> "$cfgfile"
33872
33873# func_dirname file append nondir_replacement
33874# Compute the dirname of FILE. If nonempty, add APPEND to the result,
33875# otherwise set result to NONDIR_REPLACEMENT.
33876func_dirname ()
33877{
33878 case ${1} in
33879 */*) func_dirname_result="${1%/*}${2}" ;;
33880 * ) func_dirname_result="${3}" ;;
33881 esac
33882}
33883
33884# func_basename file
33885func_basename ()
33886{
33887 func_basename_result="${1##*/}"
33888}
33889
33890# func_dirname_and_basename file append nondir_replacement
33891# perform func_basename and func_dirname in a single function
33892# call:
33893# dirname: Compute the dirname of FILE. If nonempty,
33894# add APPEND to the result, otherwise set result
33895# to NONDIR_REPLACEMENT.
33896# value returned in "$func_dirname_result"
33897# basename: Compute filename of FILE.
33898# value retuned in "$func_basename_result"
33899# Implementation must be kept synchronized with func_dirname
33900# and func_basename. For efficiency, we do not delegate to
33901# those functions but instead duplicate the functionality here.
33902func_dirname_and_basename ()
33903{
33904 case ${1} in
33905 */*) func_dirname_result="${1%/*}${2}" ;;
33906 * ) func_dirname_result="${3}" ;;
33907 esac
33908 func_basename_result="${1##*/}"
33909}
33910
33911# func_stripname prefix suffix name
33912# strip PREFIX and SUFFIX off of NAME.
33913# PREFIX and SUFFIX must not contain globbing or regex special
33914# characters, hashes, percent signs, but SUFFIX may contain a leading
33915# dot (in which case that matches only a dot).
33916func_stripname ()
33917{
33918 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33919 # positional parameters, so assign one to ordinary parameter first.
33920 func_stripname_result=${3}
33921 func_stripname_result=${func_stripname_result#"${1}"}
33922 func_stripname_result=${func_stripname_result%"${2}"}
33923}
33924
33925# func_opt_split
33926func_opt_split ()
33927{
33928 func_opt_split_opt=${1%%=*}
33929 func_opt_split_arg=${1#*=}
33930}
33931
33932# func_lo2o object
33933func_lo2o ()
33934{
33935 case ${1} in
33936 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33937 *) func_lo2o_result=${1} ;;
33938 esac
33939}
33940
33941# func_xform libobj-or-source
33942func_xform ()
33943{
33944 func_xform_result=${1%.*}.lo
33945}
33946
33947# func_arith arithmetic-term...
33948func_arith ()
33949{
33950 func_arith_result=$(( $* ))
33951}
33952
33953# func_len string
33954# STRING may not start with a hyphen.
33955func_len ()
33956{
33957 func_len_result=${#1}
33958}
33959
33960_LT_EOF
33961 ;;
33962 *) # Bourne compatible functions.
33963 cat << \_LT_EOF >> "$cfgfile"
33964
33965# func_dirname file append nondir_replacement
33966# Compute the dirname of FILE. If nonempty, add APPEND to the result,
33967# otherwise set result to NONDIR_REPLACEMENT.
33968func_dirname ()
33969{
33970 # Extract subdirectory from the argument.
33971 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
33972 if test "X$func_dirname_result" = "X${1}"; then
33973 func_dirname_result="${3}"
33974 else
33975 func_dirname_result="$func_dirname_result${2}"
33976 fi
33977}
33978
33979# func_basename file
33980func_basename ()
33981{
33982 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
33983}
33984
33985
33986# func_stripname prefix suffix name
33987# strip PREFIX and SUFFIX off of NAME.
33988# PREFIX and SUFFIX must not contain globbing or regex special
33989# characters, hashes, percent signs, but SUFFIX may contain a leading
33990# dot (in which case that matches only a dot).
33991# func_strip_suffix prefix name
33992func_stripname ()
33993{
33994 case ${2} in
33995 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33996 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33997 esac
33998}
33999
34000# sed scripts:
34001my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
34002my_sed_long_arg='1s/^-[^=]*=//'
34003
34004# func_opt_split
34005func_opt_split ()
34006{
34007 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
34008 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
34009}
34010
34011# func_lo2o object
34012func_lo2o ()
34013{
34014 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
34015}
34016
34017# func_xform libobj-or-source
34018func_xform ()
34019{
34020 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
34021}
34022
34023# func_arith arithmetic-term...
34024func_arith ()
34025{
34026 func_arith_result=`expr "$@"`
34027}
34028
34029# func_len string
34030# STRING may not start with a hyphen.
34031func_len ()
34032{
34033 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
34034}
34035
34036_LT_EOF
34037esac
34038
34039case $lt_shell_append in
34040 yes)
34041 cat << \_LT_EOF >> "$cfgfile"
34042
34043# func_append var value
34044# Append VALUE to the end of shell variable VAR.
34045func_append ()
34046{
34047 eval "$1+=\$2"
34048}
34049_LT_EOF
34050 ;;
34051 *)
34052 cat << \_LT_EOF >> "$cfgfile"
34053
34054# func_append var value
34055# Append VALUE to the end of shell variable VAR.
34056func_append ()
34057{
34058 eval "$1=\$$1\$2"
34059}
34060
34061_LT_EOF
34062 ;;
34063 esac
34064
34065
34066 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
34067 || (rm -f "$cfgfile"; exit 1)
34068
34069 mv -f "$cfgfile" "$ofile" ||
34070 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34071 chmod +x "$ofile"
34072
34073
34074 cat <<_LT_EOF >> "$ofile"
34075
34076# ### BEGIN LIBTOOL TAG CONFIG: FC
34077
34078# The linker used to build libraries.
34079LD=$lt_LD_FC
34080
34081# How to create reloadable object files.
34082reload_flag=$lt_reload_flag_FC
34083reload_cmds=$lt_reload_cmds_FC
34084
34085# Commands used to build an old-style archive.
34086old_archive_cmds=$lt_old_archive_cmds_FC
34087
34088# A language specific compiler.
34089CC=$lt_compiler_FC
34090
34091# Is the compiler the GNU compiler?
34092with_gcc=$GCC_FC
34093
34094# Compiler flag to turn off builtin functions.
34095no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
34096
34097# How to pass a linker flag through the compiler.
34098wl=$lt_lt_prog_compiler_wl_FC
34099
34100# Additional compiler flags for building library objects.
34101pic_flag=$lt_lt_prog_compiler_pic_FC
34102
34103# Compiler flag to prevent dynamic linking.
34104link_static_flag=$lt_lt_prog_compiler_static_FC
34105
34106# Does compiler simultaneously support -c and -o options?
34107compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
34108
34109# Whether or not to add -lc for building shared libraries.
34110build_libtool_need_lc=$archive_cmds_need_lc_FC
34111
34112# Whether or not to disallow shared libs when runtime libs are static.
34113allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
34114
34115# Compiler flag to allow reflexive dlopens.
34116export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
34117
34118# Compiler flag to generate shared objects directly from archives.
34119whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34120
34121# Whether the compiler copes with passing no objects directly.
34122compiler_needs_object=$lt_compiler_needs_object_FC
34123
34124# Create an old-style archive from a shared archive.
34125old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34126
34127# Create a temporary old-style archive to link instead of a shared archive.
34128old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34129
34130# Commands used to build a shared archive.
34131archive_cmds=$lt_archive_cmds_FC
34132archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34133
34134# Commands used to build a loadable module if different from building
34135# a shared archive.
34136module_cmds=$lt_module_cmds_FC
34137module_expsym_cmds=$lt_module_expsym_cmds_FC
34138
34139# Whether we are building with GNU ld or not.
34140with_gnu_ld=$lt_with_gnu_ld_FC
34141
34142# Flag that allows shared libraries with undefined symbols to be built.
34143allow_undefined_flag=$lt_allow_undefined_flag_FC
34144
34145# Flag that enforces no undefined symbols.
34146no_undefined_flag=$lt_no_undefined_flag_FC
34147
34148# Flag to hardcode \$libdir into a binary during linking.
34149# This must work even if \$libdir does not exist
34150hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34151
34152# If ld is used when linking, flag to hardcode \$libdir into a binary
34153# during linking. This must work even if \$libdir does not exist.
34154hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34155
34156# Whether we need a single "-rpath" flag with a separated argument.
34157hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34158
34159# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34160# DIR into the resulting binary.
34161hardcode_direct=$hardcode_direct_FC
34162
34163# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34164# DIR into the resulting binary and the resulting library dependency is
34165# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34166# library is relocated.
34167hardcode_direct_absolute=$hardcode_direct_absolute_FC
34168
34169# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34170# into the resulting binary.
34171hardcode_minus_L=$hardcode_minus_L_FC
34172
34173# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34174# into the resulting binary.
34175hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34176
34177# Set to "yes" if building a shared library automatically hardcodes DIR
34178# into the library and all subsequent libraries and executables linked
34179# against it.
34180hardcode_automatic=$hardcode_automatic_FC
34181
34182# Set to yes if linker adds runtime paths of dependent libraries
34183# to runtime path list.
34184inherit_rpath=$inherit_rpath_FC
34185
34186# Whether libtool must link a program against all its dependency libraries.
34187link_all_deplibs=$link_all_deplibs_FC
34188
34189# Fix the shell variable \$srcfile for the compiler.
34190fix_srcfile_path=$lt_fix_srcfile_path_FC
34191
34192# Set to "yes" if exported symbols are required.
34193always_export_symbols=$always_export_symbols_FC
34194
34195# The commands to list exported symbols.
34196export_symbols_cmds=$lt_export_symbols_cmds_FC
34197
34198# Symbols that should not be listed in the preloaded symbols.
34199exclude_expsyms=$lt_exclude_expsyms_FC
34200
34201# Symbols that must always be exported.
34202include_expsyms=$lt_include_expsyms_FC
34203
34204# Commands necessary for linking programs (against libraries) with templates.
34205prelink_cmds=$lt_prelink_cmds_FC
34206
34207# Specify filename containing input files.
34208file_list_spec=$lt_file_list_spec_FC
34209
34210# How to hardcode a shared library path into an executable.
34211hardcode_action=$hardcode_action_FC
34212
34213# The directories searched by this compiler when creating a shared library.
34214compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34215
34216# Dependencies to place before and after the objects being linked to
34217# create a shared library.
34218predep_objects=$lt_predep_objects_FC
34219postdep_objects=$lt_postdep_objects_FC
34220predeps=$lt_predeps_FC
34221postdeps=$lt_postdeps_FC
34222
34223# The library search path used internally by the compiler when linking
34224# a shared library.
34225compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34226
34227# ### END LIBTOOL TAG CONFIG: FC
34228_LT_EOF
34229
34230 ;;
34231 "gstdint.h":C)
34232if test "$GCC" = yes; then
34233 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34234else
34235 echo "/* generated for $CC */" > tmp-stdint.h
34236fi
34237
34238sed 's/^ *//' >> tmp-stdint.h <<EOF
34239
34240 #ifndef GCC_GENERATED_STDINT_H
34241 #define GCC_GENERATED_STDINT_H 1
34242
34243 #include <sys/types.h>
34244EOF
34245
34246if test "$acx_cv_header_stdint" != stdint.h; then
34247 echo "#include <stddef.h>" >> tmp-stdint.h
34248fi
34249if test "$acx_cv_header_stdint" != stddef.h; then
34250 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34251fi
34252
34253sed 's/^ *//' >> tmp-stdint.h <<EOF
34254 /* glibc uses these symbols as guards to prevent redefinitions. */
34255 #ifdef __int8_t_defined
34256 #define _INT8_T
34257 #define _INT16_T
34258 #define _INT32_T
34259 #endif
34260 #ifdef __uint32_t_defined
34261 #define _UINT32_T
34262 #endif
34263
34264EOF
34265
34266# ----------------- done header, emit basic int types -------------
34267if test "$acx_cv_header_stdint" = stddef.h; then
34268 sed 's/^ *//' >> tmp-stdint.h <<EOF
34269
34270 #ifndef _UINT8_T
34271 #define _UINT8_T
34272 #ifndef __uint8_t_defined
34273 #define __uint8_t_defined
34274 #ifndef uint8_t
34275 typedef unsigned $acx_cv_type_int8_t uint8_t;
34276 #endif
34277 #endif
34278 #endif
34279
34280 #ifndef _UINT16_T
34281 #define _UINT16_T
34282 #ifndef __uint16_t_defined
34283 #define __uint16_t_defined
34284 #ifndef uint16_t
34285 typedef unsigned $acx_cv_type_int16_t uint16_t;
34286 #endif
34287 #endif
34288 #endif
34289
34290 #ifndef _UINT32_T
34291 #define _UINT32_T
34292 #ifndef __uint32_t_defined
34293 #define __uint32_t_defined
34294 #ifndef uint32_t
34295 typedef unsigned $acx_cv_type_int32_t uint32_t;
34296 #endif
34297 #endif
34298 #endif
34299
34300 #ifndef _INT8_T
34301 #define _INT8_T
34302 #ifndef __int8_t_defined
34303 #define __int8_t_defined
34304 #ifndef int8_t
34305 typedef $acx_cv_type_int8_t int8_t;
34306 #endif
34307 #endif
34308 #endif
34309
34310 #ifndef _INT16_T
34311 #define _INT16_T
34312 #ifndef __int16_t_defined
34313 #define __int16_t_defined
34314 #ifndef int16_t
34315 typedef $acx_cv_type_int16_t int16_t;
34316 #endif
34317 #endif
34318 #endif
34319
34320 #ifndef _INT32_T
34321 #define _INT32_T
34322 #ifndef __int32_t_defined
34323 #define __int32_t_defined
34324 #ifndef int32_t
34325 typedef $acx_cv_type_int32_t int32_t;
34326 #endif
34327 #endif
34328 #endif
34329EOF
34330elif test "$ac_cv_type_u_int32_t" = yes; then
34331 sed 's/^ *//' >> tmp-stdint.h <<EOF
34332
34333 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34334 #ifndef _INT8_T
34335 #define _INT8_T
34336 #endif
34337 #ifndef _INT16_T
34338 #define _INT16_T
34339 #endif
34340 #ifndef _INT32_T
34341 #define _INT32_T
34342 #endif
34343
34344 #ifndef _UINT8_T
34345 #define _UINT8_T
34346 #ifndef __uint8_t_defined
34347 #define __uint8_t_defined
34348 #ifndef uint8_t
34349 typedef u_int8_t uint8_t;
34350 #endif
34351 #endif
34352 #endif
34353
34354 #ifndef _UINT16_T
34355 #define _UINT16_T
34356 #ifndef __uint16_t_defined
34357 #define __uint16_t_defined
34358 #ifndef uint16_t
34359 typedef u_int16_t uint16_t;
34360 #endif
34361 #endif
34362 #endif
34363
34364 #ifndef _UINT32_T
34365 #define _UINT32_T
34366 #ifndef __uint32_t_defined
34367 #define __uint32_t_defined
34368 #ifndef uint32_t
34369 typedef u_int32_t uint32_t;
34370 #endif
34371 #endif
34372 #endif
34373EOF
34374else
34375 sed 's/^ *//' >> tmp-stdint.h <<EOF
34376
34377 /* Some systems have guard macros to prevent redefinitions, define them. */
34378 #ifndef _INT8_T
34379 #define _INT8_T
34380 #endif
34381 #ifndef _INT16_T
34382 #define _INT16_T
34383 #endif
34384 #ifndef _INT32_T
34385 #define _INT32_T
34386 #endif
34387 #ifndef _UINT8_T
34388 #define _UINT8_T
34389 #endif
34390 #ifndef _UINT16_T
34391 #define _UINT16_T
34392 #endif
34393 #ifndef _UINT32_T
34394 #define _UINT32_T
34395 #endif
34396EOF
34397fi
34398
34399# ------------- done basic int types, emit int64_t types ------------
34400if test "$ac_cv_type_uint64_t" = yes; then
34401 sed 's/^ *//' >> tmp-stdint.h <<EOF
34402
34403 /* system headers have good uint64_t and int64_t */
34404 #ifndef _INT64_T
34405 #define _INT64_T
34406 #endif
34407 #ifndef _UINT64_T
34408 #define _UINT64_T
34409 #endif
34410EOF
34411elif test "$ac_cv_type_u_int64_t" = yes; then
34412 sed 's/^ *//' >> tmp-stdint.h <<EOF
34413
34414 /* system headers have an u_int64_t (and int64_t) */
34415 #ifndef _INT64_T
34416 #define _INT64_T
34417 #endif
34418 #ifndef _UINT64_T
34419 #define _UINT64_T
34420 #ifndef __uint64_t_defined
34421 #define __uint64_t_defined
34422 #ifndef uint64_t
34423 typedef u_int64_t uint64_t;
34424 #endif
34425 #endif
34426 #endif
34427EOF
34428elif test -n "$acx_cv_type_int64_t"; then
34429 sed 's/^ *//' >> tmp-stdint.h <<EOF
34430
34431 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34432 #ifndef _INT64_T
34433 #define _INT64_T
34434 #ifndef int64_t
34435 typedef $acx_cv_type_int64_t int64_t;
34436 #endif
34437 #endif
34438 #ifndef _UINT64_T
34439 #define _UINT64_T
34440 #ifndef __uint64_t_defined
34441 #define __uint64_t_defined
34442 #ifndef uint64_t
34443 typedef unsigned $acx_cv_type_int64_t uint64_t;
34444 #endif
34445 #endif
34446 #endif
34447EOF
34448else
34449 sed 's/^ *//' >> tmp-stdint.h <<EOF
34450
34451 /* some common heuristics for int64_t, using compiler-specific tests */
34452 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34453 #ifndef _INT64_T
34454 #define _INT64_T
34455 #ifndef __int64_t_defined
34456 #ifndef int64_t
34457 typedef long long int64_t;
34458 #endif
34459 #endif
34460 #endif
34461 #ifndef _UINT64_T
34462 #define _UINT64_T
34463 #ifndef uint64_t
34464 typedef unsigned long long uint64_t;
34465 #endif
34466 #endif
34467
34468 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34469 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34470 does not implement __extension__. But that compiler doesn't define
34471 __GNUC_MINOR__. */
34472 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34473 # define __extension__
34474 # endif
34475
34476 # ifndef _INT64_T
34477 # define _INT64_T
34478 # ifndef int64_t
34479 __extension__ typedef long long int64_t;
34480 # endif
34481 # endif
34482 # ifndef _UINT64_T
34483 # define _UINT64_T
34484 # ifndef uint64_t
34485 __extension__ typedef unsigned long long uint64_t;
34486 # endif
34487 # endif
34488
34489 #elif !defined __STRICT_ANSI__
34490 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34491
34492 # ifndef _INT64_T
34493 # define _INT64_T
34494 # ifndef int64_t
34495 typedef __int64 int64_t;
34496 # endif
34497 # endif
34498 # ifndef _UINT64_T
34499 # define _UINT64_T
34500 # ifndef uint64_t
34501 typedef unsigned __int64 uint64_t;
34502 # endif
34503 # endif
34504 # endif /* compiler */
34505
34506 #endif /* ANSI version */
34507EOF
34508fi
34509
34510# ------------- done int64_t types, emit intptr types ------------
34511if test "$ac_cv_type_uintptr_t" != yes; then
34512 sed 's/^ *//' >> tmp-stdint.h <<EOF
34513
34514 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34515 #ifndef __uintptr_t_defined
34516 #ifndef uintptr_t
34517 typedef u$acx_cv_type_intptr_t uintptr_t;
34518 #endif
34519 #endif
34520 #ifndef __intptr_t_defined
34521 #ifndef intptr_t
34522 typedef $acx_cv_type_intptr_t intptr_t;
34523 #endif
34524 #endif
34525EOF
34526fi
34527
34528# ------------- done intptr types, emit int_least types ------------
34529if test "$ac_cv_type_int_least32_t" != yes; then
34530 sed 's/^ *//' >> tmp-stdint.h <<EOF
34531
34532 /* Define int_least types */
34533 typedef int8_t int_least8_t;
34534 typedef int16_t int_least16_t;
34535 typedef int32_t int_least32_t;
34536 #ifdef _INT64_T
34537 typedef int64_t int_least64_t;
34538 #endif
34539
34540 typedef uint8_t uint_least8_t;
34541 typedef uint16_t uint_least16_t;
34542 typedef uint32_t uint_least32_t;
34543 #ifdef _UINT64_T
34544 typedef uint64_t uint_least64_t;
34545 #endif
34546EOF
34547fi
34548
34549# ------------- done intptr types, emit int_fast types ------------
34550if test "$ac_cv_type_int_fast32_t" != yes; then
34551 sed 's/^ *//' >> tmp-stdint.h <<EOF
34552
34553 /* Define int_fast types. short is often slow */
34554 typedef int8_t int_fast8_t;
34555 typedef int int_fast16_t;
34556 typedef int32_t int_fast32_t;
34557 #ifdef _INT64_T
34558 typedef int64_t int_fast64_t;
34559 #endif
34560
34561 typedef uint8_t uint_fast8_t;
34562 typedef unsigned int uint_fast16_t;
34563 typedef uint32_t uint_fast32_t;
34564 #ifdef _UINT64_T
34565 typedef uint64_t uint_fast64_t;
34566 #endif
34567EOF
34568fi
34569
34570if test "$ac_cv_type_uintmax_t" != yes; then
34571 sed 's/^ *//' >> tmp-stdint.h <<EOF
34572
34573 /* Define intmax based on what we found */
34574 #ifndef intmax_t
34575 #ifdef _INT64_T
34576 typedef int64_t intmax_t;
34577 #else
34578 typedef long intmax_t;
34579 #endif
34580 #endif
34581 #ifndef uintmax_t
34582 #ifdef _UINT64_T
34583 typedef uint64_t uintmax_t;
34584 #else
34585 typedef unsigned long uintmax_t;
34586 #endif
34587 #endif
34588EOF
34589fi
34590
34591sed 's/^ *//' >> tmp-stdint.h <<EOF
34592
34593 #endif /* GCC_GENERATED_STDINT_H */
34594EOF
34595
34596if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
34597 rm -f tmp-stdint.h
34598else
34599 mv -f tmp-stdint.h gstdint.h
34600fi
34601
34602 ;;
34603
34604 esac
34605done # for ac_tag
34606
34607
34608as_fn_exit 0
34609_ACEOF
34610ac_clean_files=$ac_clean_files_save
34611
34612test $ac_write_fail = 0 ||
34613 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34614
34615
34616# configure is writing to config.log, and then calls config.status.
34617# config.status does its own redirection, appending to config.log.
34618# Unfortunately, on DOS this fails, as config.log is still kept open
34619# by configure, so config.status won't be able to write to it; its
34620# output is simply discarded. So we exec the FD to /dev/null,
34621# effectively closing config.log, so it can be properly (re)opened and
34622# appended to by config.status. When coming back to configure, we
34623# need to make the FD available again.
34624if test "$no_create" != yes; then
34625 ac_cs_success=:
34626 ac_config_status_args=
34627 test "$silent" = yes &&
34628 ac_config_status_args="$ac_config_status_args --quiet"
34629 exec 5>/dev/null
34630 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34631 exec 5>>config.log
34632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34633 # would make configure fail if this is the last instruction.
34634 $ac_cs_success || as_fn_exit 1
34635fi
34636if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34638$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34639fi
34640