]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgfortran/configure
Sync with binutils: GCC: Pass --plugin to AR and RANLIB
[thirdparty/gcc.git] / libgfortran / configure
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
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
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'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
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.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
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.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export 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.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
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
210 else
211 as_have_required=no
212 fi
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
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
233 fi
234 fi
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
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.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
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
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298 { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_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.
313 as_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.
323 as_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.
371 as_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.
381 if (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 }'
386 else
387 as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 }
391 fi # 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.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
400 {
401 as_val=$(( $* ))
402 }'
403 else
404 as_fn_arith ()
405 {
406 as_val=`expr "$@" || test $? -eq 1`
407 }
408 fi # 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.
416 as_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
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
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.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
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
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
517 *)
518 ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
541 fi
542 else
543 as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 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.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME='libgfortran'
590 PACKAGE_VERSION='0.3'
591 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
594
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 # include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 # include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630
631 ac_header_list=
632 ac_func_list=
633 ac_c_werror_flag=
634 ac_c_werror_flag=
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 get_gcc_base_ver
640 HAVE_AVX128_FALSE
641 HAVE_AVX128_TRUE
642 tmake_file
643 IEEE_FLAGS
644 IEEE_SUPPORT
645 IEEE_SUPPORT_FALSE
646 IEEE_SUPPORT_TRUE
647 FPU_HOST_HEADER
648 USE_IEC_60559
649 LIBQUADINCLUDE
650 LIBQUADLIB_DEP
651 LIBQUADLIB
652 LIBQUADSPEC
653 extra_ldflags_libgfortran
654 ac_ct_FC
655 FCFLAGS
656 FC
657 enable_static
658 enable_shared
659 lt_host_flags
660 LIBM
661 OTOOL64
662 OTOOL
663 LIPO
664 NMEDIT
665 DSYMUTIL
666 OBJDUMP
667 LN_S
668 NM
669 ac_ct_DUMPBIN
670 DUMPBIN
671 LIBTOOL
672 RANLIB
673 AR
674 AS
675 HAVE_HWCAP_FALSE
676 HAVE_HWCAP_TRUE
677 HWCAP_LDFLAGS
678 LD
679 FGREP
680 SED
681 SECTION_FLAGS
682 LIBGOMP_CHECKED_REAL_KINDS
683 LIBGOMP_CHECKED_INT_KINDS
684 LIBGFOR_MINIMAL_FALSE
685 LIBGFOR_MINIMAL_TRUE
686 LIBGFOR_USE_SYMVER_SUN_FALSE
687 LIBGFOR_USE_SYMVER_SUN_TRUE
688 LIBGFOR_USE_SYMVER_GNU_FALSE
689 LIBGFOR_USE_SYMVER_GNU_TRUE
690 LIBGFOR_USE_SYMVER_FALSE
691 LIBGFOR_USE_SYMVER_TRUE
692 AM_CFLAGS
693 AM_FCFLAGS
694 HAVE_REAL_17_FALSE
695 HAVE_REAL_17_TRUE
696 toolexeclibdir
697 toolexecdir
698 EGREP
699 GREP
700 CPP
701 am__fastdepCC_FALSE
702 am__fastdepCC_TRUE
703 CCDEPMODE
704 am__nodep
705 AMDEPBACKSLASH
706 AMDEP_FALSE
707 AMDEP_TRUE
708 am__quote
709 am__include
710 DEPDIR
711 OBJEXT
712 EXEEXT
713 ac_ct_CC
714 CPPFLAGS
715 LDFLAGS
716 CFLAGS
717 CC
718 multi_basedir
719 MAINT
720 MAINTAINER_MODE_FALSE
721 MAINTAINER_MODE_TRUE
722 AM_BACKSLASH
723 AM_DEFAULT_VERBOSITY
724 AM_DEFAULT_V
725 AM_V
726 am__untar
727 am__tar
728 AMTAR
729 am__leading_dot
730 SET_MAKE
731 AWK
732 mkdir_p
733 MKDIR_P
734 INSTALL_STRIP_PROGRAM
735 STRIP
736 install_sh
737 MAKEINFO
738 AUTOHEADER
739 AUTOMAKE
740 AUTOCONF
741 ACLOCAL
742 VERSION
743 PACKAGE
744 CYGPATH_W
745 am__isrc
746 INSTALL_DATA
747 INSTALL_SCRIPT
748 INSTALL_PROGRAM
749 target_noncanonical
750 target_os
751 target_vendor
752 target_cpu
753 target
754 host_os
755 host_vendor
756 host_cpu
757 host
758 target_subdir
759 host_subdir
760 build_subdir
761 build_libsubdir
762 build_os
763 build_vendor
764 build_cpu
765 build
766 target_alias
767 host_alias
768 build_alias
769 LIBS
770 ECHO_T
771 ECHO_N
772 ECHO_C
773 DEFS
774 mandir
775 localedir
776 libdir
777 psdir
778 pdfdir
779 dvidir
780 htmldir
781 infodir
782 docdir
783 oldincludedir
784 includedir
785 localstatedir
786 sharedstatedir
787 sysconfdir
788 datadir
789 datarootdir
790 libexecdir
791 sbindir
792 bindir
793 program_transform_name
794 prefix
795 exec_prefix
796 PACKAGE_URL
797 PACKAGE_BUGREPORT
798 PACKAGE_STRING
799 PACKAGE_VERSION
800 PACKAGE_TARNAME
801 PACKAGE_NAME
802 PATH_SEPARATOR
803 SHELL'
804 ac_subst_files=''
805 ac_user_opts='
806 enable_option_checking
807 with_build_libsubdir
808 enable_version_specific_runtime_libs
809 enable_silent_rules
810 enable_maintainer_mode
811 enable_multilib
812 enable_dependency_tracking
813 with_toolexeclibdir
814 enable_cet
815 enable_symvers
816 with_gnu_ld
817 enable_shared
818 enable_static
819 with_pic
820 enable_fast_install
821 enable_libtool_lock
822 enable_largefile
823 enable_libquadmath_support
824 with_gcc_major_version_only
825 '
826 ac_precious_vars='build_alias
827 host_alias
828 target_alias
829 CC
830 CFLAGS
831 LDFLAGS
832 LIBS
833 CPPFLAGS
834 CPP
835 FC
836 FCFLAGS'
837
838
839 # Initialize some variables set by options.
840 ac_init_help=
841 ac_init_version=false
842 ac_unrecognized_opts=
843 ac_unrecognized_sep=
844 # The variables have the same names as the options, with
845 # dashes changed to underlines.
846 cache_file=/dev/null
847 exec_prefix=NONE
848 no_create=
849 no_recursion=
850 prefix=NONE
851 program_prefix=NONE
852 program_suffix=NONE
853 program_transform_name=s,x,x,
854 silent=
855 site=
856 srcdir=
857 verbose=
858 x_includes=NONE
859 x_libraries=NONE
860
861 # Installation directory options.
862 # These are left unexpanded so users can "make install exec_prefix=/foo"
863 # and all the variables that are supposed to be based on exec_prefix
864 # by default will actually change.
865 # Use braces instead of parens because sh, perl, etc. also accept them.
866 # (The list follows the same order as the GNU Coding Standards.)
867 bindir='${exec_prefix}/bin'
868 sbindir='${exec_prefix}/sbin'
869 libexecdir='${exec_prefix}/libexec'
870 datarootdir='${prefix}/share'
871 datadir='${datarootdir}'
872 sysconfdir='${prefix}/etc'
873 sharedstatedir='${prefix}/com'
874 localstatedir='${prefix}/var'
875 includedir='${prefix}/include'
876 oldincludedir='/usr/include'
877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir='${datarootdir}/info'
879 htmldir='${docdir}'
880 dvidir='${docdir}'
881 pdfdir='${docdir}'
882 psdir='${docdir}'
883 libdir='${exec_prefix}/lib'
884 localedir='${datarootdir}/locale'
885 mandir='${datarootdir}/man'
886
887 ac_prev=
888 ac_dashdash=
889 for ac_option
890 do
891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
893 eval $ac_prev=\$ac_option
894 ac_prev=
895 continue
896 fi
897
898 case $ac_option in
899 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
900 *=) ac_optarg= ;;
901 *) ac_optarg=yes ;;
902 esac
903
904 # Accept the important Cygnus configure options, so we can diagnose typos.
905
906 case $ac_dashdash$ac_option in
907 --)
908 ac_dashdash=yes ;;
909
910 -bindir | --bindir | --bindi | --bind | --bin | --bi)
911 ac_prev=bindir ;;
912 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
913 bindir=$ac_optarg ;;
914
915 -build | --build | --buil | --bui | --bu)
916 ac_prev=build_alias ;;
917 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
918 build_alias=$ac_optarg ;;
919
920 -cache-file | --cache-file | --cache-fil | --cache-fi \
921 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
922 ac_prev=cache_file ;;
923 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
924 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
925 cache_file=$ac_optarg ;;
926
927 --config-cache | -C)
928 cache_file=config.cache ;;
929
930 -datadir | --datadir | --datadi | --datad)
931 ac_prev=datadir ;;
932 -datadir=* | --datadir=* | --datadi=* | --datad=*)
933 datadir=$ac_optarg ;;
934
935 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
936 | --dataroo | --dataro | --datar)
937 ac_prev=datarootdir ;;
938 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
939 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
940 datarootdir=$ac_optarg ;;
941
942 -disable-* | --disable-*)
943 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
946 as_fn_error $? "invalid feature name: $ac_useropt"
947 ac_useropt_orig=$ac_useropt
948 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
950 *"
951 "enable_$ac_useropt"
952 "*) ;;
953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954 ac_unrecognized_sep=', ';;
955 esac
956 eval enable_$ac_useropt=no ;;
957
958 -docdir | --docdir | --docdi | --doc | --do)
959 ac_prev=docdir ;;
960 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
961 docdir=$ac_optarg ;;
962
963 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
964 ac_prev=dvidir ;;
965 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
966 dvidir=$ac_optarg ;;
967
968 -enable-* | --enable-*)
969 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
972 as_fn_error $? "invalid feature name: $ac_useropt"
973 ac_useropt_orig=$ac_useropt
974 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
976 *"
977 "enable_$ac_useropt"
978 "*) ;;
979 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980 ac_unrecognized_sep=', ';;
981 esac
982 eval enable_$ac_useropt=\$ac_optarg ;;
983
984 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
985 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
986 | --exec | --exe | --ex)
987 ac_prev=exec_prefix ;;
988 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
989 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
990 | --exec=* | --exe=* | --ex=*)
991 exec_prefix=$ac_optarg ;;
992
993 -gas | --gas | --ga | --g)
994 # Obsolete; use --with-gas.
995 with_gas=yes ;;
996
997 -help | --help | --hel | --he | -h)
998 ac_init_help=long ;;
999 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1000 ac_init_help=recursive ;;
1001 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1002 ac_init_help=short ;;
1003
1004 -host | --host | --hos | --ho)
1005 ac_prev=host_alias ;;
1006 -host=* | --host=* | --hos=* | --ho=*)
1007 host_alias=$ac_optarg ;;
1008
1009 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1010 ac_prev=htmldir ;;
1011 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1012 | --ht=*)
1013 htmldir=$ac_optarg ;;
1014
1015 -includedir | --includedir | --includedi | --included | --include \
1016 | --includ | --inclu | --incl | --inc)
1017 ac_prev=includedir ;;
1018 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1019 | --includ=* | --inclu=* | --incl=* | --inc=*)
1020 includedir=$ac_optarg ;;
1021
1022 -infodir | --infodir | --infodi | --infod | --info | --inf)
1023 ac_prev=infodir ;;
1024 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1025 infodir=$ac_optarg ;;
1026
1027 -libdir | --libdir | --libdi | --libd)
1028 ac_prev=libdir ;;
1029 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1030 libdir=$ac_optarg ;;
1031
1032 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1033 | --libexe | --libex | --libe)
1034 ac_prev=libexecdir ;;
1035 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1036 | --libexe=* | --libex=* | --libe=*)
1037 libexecdir=$ac_optarg ;;
1038
1039 -localedir | --localedir | --localedi | --localed | --locale)
1040 ac_prev=localedir ;;
1041 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1042 localedir=$ac_optarg ;;
1043
1044 -localstatedir | --localstatedir | --localstatedi | --localstated \
1045 | --localstate | --localstat | --localsta | --localst | --locals)
1046 ac_prev=localstatedir ;;
1047 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1048 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1049 localstatedir=$ac_optarg ;;
1050
1051 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1052 ac_prev=mandir ;;
1053 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1054 mandir=$ac_optarg ;;
1055
1056 -nfp | --nfp | --nf)
1057 # Obsolete; use --without-fp.
1058 with_fp=no ;;
1059
1060 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1061 | --no-cr | --no-c | -n)
1062 no_create=yes ;;
1063
1064 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1065 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1066 no_recursion=yes ;;
1067
1068 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1069 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1070 | --oldin | --oldi | --old | --ol | --o)
1071 ac_prev=oldincludedir ;;
1072 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1073 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1074 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1075 oldincludedir=$ac_optarg ;;
1076
1077 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1078 ac_prev=prefix ;;
1079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1080 prefix=$ac_optarg ;;
1081
1082 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1083 | --program-pre | --program-pr | --program-p)
1084 ac_prev=program_prefix ;;
1085 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1086 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1087 program_prefix=$ac_optarg ;;
1088
1089 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1090 | --program-suf | --program-su | --program-s)
1091 ac_prev=program_suffix ;;
1092 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1093 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1094 program_suffix=$ac_optarg ;;
1095
1096 -program-transform-name | --program-transform-name \
1097 | --program-transform-nam | --program-transform-na \
1098 | --program-transform-n | --program-transform- \
1099 | --program-transform | --program-transfor \
1100 | --program-transfo | --program-transf \
1101 | --program-trans | --program-tran \
1102 | --progr-tra | --program-tr | --program-t)
1103 ac_prev=program_transform_name ;;
1104 -program-transform-name=* | --program-transform-name=* \
1105 | --program-transform-nam=* | --program-transform-na=* \
1106 | --program-transform-n=* | --program-transform-=* \
1107 | --program-transform=* | --program-transfor=* \
1108 | --program-transfo=* | --program-transf=* \
1109 | --program-trans=* | --program-tran=* \
1110 | --progr-tra=* | --program-tr=* | --program-t=*)
1111 program_transform_name=$ac_optarg ;;
1112
1113 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1114 ac_prev=pdfdir ;;
1115 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1116 pdfdir=$ac_optarg ;;
1117
1118 -psdir | --psdir | --psdi | --psd | --ps)
1119 ac_prev=psdir ;;
1120 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1121 psdir=$ac_optarg ;;
1122
1123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1124 | -silent | --silent | --silen | --sile | --sil)
1125 silent=yes ;;
1126
1127 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1128 ac_prev=sbindir ;;
1129 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1130 | --sbi=* | --sb=*)
1131 sbindir=$ac_optarg ;;
1132
1133 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1134 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1135 | --sharedst | --shareds | --shared | --share | --shar \
1136 | --sha | --sh)
1137 ac_prev=sharedstatedir ;;
1138 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1139 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1140 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1141 | --sha=* | --sh=*)
1142 sharedstatedir=$ac_optarg ;;
1143
1144 -site | --site | --sit)
1145 ac_prev=site ;;
1146 -site=* | --site=* | --sit=*)
1147 site=$ac_optarg ;;
1148
1149 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1150 ac_prev=srcdir ;;
1151 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1152 srcdir=$ac_optarg ;;
1153
1154 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1155 | --syscon | --sysco | --sysc | --sys | --sy)
1156 ac_prev=sysconfdir ;;
1157 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1158 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1159 sysconfdir=$ac_optarg ;;
1160
1161 -target | --target | --targe | --targ | --tar | --ta | --t)
1162 ac_prev=target_alias ;;
1163 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1164 target_alias=$ac_optarg ;;
1165
1166 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167 verbose=yes ;;
1168
1169 -version | --version | --versio | --versi | --vers | -V)
1170 ac_init_version=: ;;
1171
1172 -with-* | --with-*)
1173 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1176 as_fn_error $? "invalid package name: $ac_useropt"
1177 ac_useropt_orig=$ac_useropt
1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1180 *"
1181 "with_$ac_useropt"
1182 "*) ;;
1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184 ac_unrecognized_sep=', ';;
1185 esac
1186 eval with_$ac_useropt=\$ac_optarg ;;
1187
1188 -without-* | --without-*)
1189 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192 as_fn_error $? "invalid package name: $ac_useropt"
1193 ac_useropt_orig=$ac_useropt
1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1196 *"
1197 "with_$ac_useropt"
1198 "*) ;;
1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200 ac_unrecognized_sep=', ';;
1201 esac
1202 eval with_$ac_useropt=no ;;
1203
1204 --x)
1205 # Obsolete; use --with-x.
1206 with_x=yes ;;
1207
1208 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1209 | --x-incl | --x-inc | --x-in | --x-i)
1210 ac_prev=x_includes ;;
1211 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1212 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1213 x_includes=$ac_optarg ;;
1214
1215 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1216 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1217 ac_prev=x_libraries ;;
1218 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1219 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1220 x_libraries=$ac_optarg ;;
1221
1222 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1223 Try \`$0 --help' for more information"
1224 ;;
1225
1226 *=*)
1227 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1228 # Reject names that are not valid shell variable names.
1229 case $ac_envvar in #(
1230 '' | [0-9]* | *[!_$as_cr_alnum]* )
1231 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1232 esac
1233 eval $ac_envvar=\$ac_optarg
1234 export $ac_envvar ;;
1235
1236 *)
1237 # FIXME: should be removed in autoconf 3.0.
1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1242 ;;
1243
1244 esac
1245 done
1246
1247 if test -n "$ac_prev"; then
1248 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1249 as_fn_error $? "missing argument to $ac_option"
1250 fi
1251
1252 if test -n "$ac_unrecognized_opts"; then
1253 case $enable_option_checking in
1254 no) ;;
1255 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 esac
1258 fi
1259
1260 # Check all directory arguments for consistency.
1261 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262 datadir sysconfdir sharedstatedir localstatedir includedir \
1263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1264 libdir localedir mandir
1265 do
1266 eval ac_val=\$$ac_var
1267 # Remove trailing slashes.
1268 case $ac_val in
1269 */ )
1270 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271 eval $ac_var=\$ac_val;;
1272 esac
1273 # Be sure to have absolute directory names.
1274 case $ac_val in
1275 [\\/$]* | ?:[\\/]* ) continue;;
1276 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1277 esac
1278 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279 done
1280
1281 # There might be people who depend on the old broken behavior: `$host'
1282 # used to hold the argument of --host etc.
1283 # FIXME: To remove some day.
1284 build=$build_alias
1285 host=$host_alias
1286 target=$target_alias
1287
1288 # FIXME: To remove some day.
1289 if test "x$host_alias" != x; then
1290 if test "x$build_alias" = x; then
1291 cross_compiling=maybe
1292 elif test "x$build_alias" != "x$host_alias"; then
1293 cross_compiling=yes
1294 fi
1295 fi
1296
1297 ac_tool_prefix=
1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299
1300 test "$silent" = yes && exec 6>/dev/null
1301
1302
1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di=`ls -di .` &&
1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1306 as_fn_error $? "working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 as_fn_error $? "pwd does not report name of working directory"
1309
1310
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$as_myself" : 'X\(//\)[^/]' \| \
1318 X"$as_myself" : 'X\(//\)$' \| \
1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322 s//\1/
1323 q
1324 }
1325 /^X\(\/\/\)[^/].*/{
1326 s//\1/
1327 q
1328 }
1329 /^X\(\/\/\)$/{
1330 s//\1/
1331 q
1332 }
1333 /^X\(\/\).*/{
1334 s//\1/
1335 q
1336 }
1337 s/.*/./; q'`
1338 srcdir=$ac_confdir
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 srcdir=..
1341 fi
1342 else
1343 ac_srcdir_defaulted=no
1344 fi
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1347 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1348 fi
1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 ac_abs_confdir=`(
1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352 pwd)`
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 srcdir=.
1356 fi
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1360 case $srcdir in
1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 esac
1363 for ac_var in $ac_precious_vars; do
1364 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_${ac_var}_value=\$${ac_var}
1366 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1368 done
1369
1370 #
1371 # Report the --help message.
1372 #
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1376 cat <<_ACEOF
1377 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1378
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1380
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1383
1384 Defaults for the options are specified in brackets.
1385
1386 Configuration:
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking ...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 [PREFIX]
1402
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1407
1408 For better control, use the options below.
1409
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1430 _ACEOF
1431
1432 cat <<\_ACEOF
1433
1434 Program names:
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1438
1439 System types:
1440 --build=BUILD configure for building on BUILD [guessed]
1441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1442 --target=TARGET configure for building compilers for TARGET [HOST]
1443 _ACEOF
1444 fi
1445
1446 if test -n "$ac_init_help"; then
1447 case $ac_init_help in
1448 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1449 esac
1450 cat <<\_ACEOF
1451
1452 Optional Features:
1453 --disable-option-checking ignore unrecognized --enable/--with options
1454 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1455 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1456 --enable-version-specific-runtime-libs
1457 specify that runtime libraries should be installed
1458 in a compiler-specific directory
1459 --enable-silent-rules less verbose build output (undo: "make V=1")
1460 --disable-silent-rules verbose build output (undo: "make V=0")
1461 --enable-maintainer-mode
1462 enable make rules and dependencies not useful (and
1463 sometimes confusing) to the casual installer
1464 --enable-multilib build many library versions (default)
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1469 --enable-cet enable Intel CET in target libraries [default=auto]
1470 --disable-symvers disable symbol versioning for libgfortran
1471 --enable-shared[=PKGS] build shared libraries [default=yes]
1472 --enable-static[=PKGS] build static libraries [default=yes]
1473 --enable-fast-install[=PKGS]
1474 optimize for fast installation [default=yes]
1475 --disable-libtool-lock avoid locking (might break parallel builds)
1476 --disable-largefile omit support for large files
1477 --disable-libquadmath-support
1478 disable libquadmath support for Fortran
1479
1480 Optional Packages:
1481 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1482 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1483 --with-build-libsubdir=DIR Directory where to find libraries for build system
1484 --with-toolexeclibdir=DIR
1485 install libraries built with a cross compiler within
1486 DIR
1487 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1488 --with-pic try to use only PIC/non-PIC objects [default=use
1489 both]
1490 --with-gcc-major-version-only
1491 use only GCC major number in filesystem paths
1492
1493 Some influential environment variables:
1494 CC C compiler command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1497 nonstandard directory <lib dir>
1498 LIBS libraries to pass to the linker, e.g. -l<library>
1499 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1500 you have headers in a nonstandard directory <include dir>
1501 CPP C preprocessor
1502 FC Fortran compiler command
1503 FCFLAGS Fortran compiler flags
1504
1505 Use these variables to override the choices made by `configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1507
1508 Report bugs to the package provider.
1509 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1510 General help using GNU software: <http://www.gnu.org/gethelp/>.
1511 _ACEOF
1512 ac_status=$?
1513 fi
1514
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520 continue
1521 ac_builddir=.
1522
1523 case "$ac_dir" in
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *)
1526 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1527 # A ".." for each directory in $ac_dir_suffix.
1528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1529 case $ac_top_builddir_sub in
1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1532 esac ;;
1533 esac
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1538
1539 case $srcdir in
1540 .) # We are building in place.
1541 ac_srcdir=.
1542 ac_top_srcdir=$ac_top_builddir_sub
1543 ac_abs_top_srcdir=$ac_pwd ;;
1544 [\\/]* | ?:[\\/]* ) # Absolute name.
1545 ac_srcdir=$srcdir$ac_dir_suffix;
1546 ac_top_srcdir=$srcdir
1547 ac_abs_top_srcdir=$srcdir ;;
1548 *) # Relative name.
1549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550 ac_top_srcdir=$ac_top_build_prefix$srcdir
1551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1552 esac
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1554
1555 cd "$ac_dir" || { ac_status=$?; continue; }
1556 # Check for guested configure.
1557 if test -f "$ac_srcdir/configure.gnu"; then
1558 echo &&
1559 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560 elif test -f "$ac_srcdir/configure"; then
1561 echo &&
1562 $SHELL "$ac_srcdir/configure" --help=recursive
1563 else
1564 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1565 fi || ac_status=$?
1566 cd "$ac_pwd" || { ac_status=$?; break; }
1567 done
1568 fi
1569
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1572 cat <<\_ACEOF
1573 GNU Fortran Runtime Library configure 0.3
1574 generated by GNU Autoconf 2.69
1575
1576 Copyright (C) 2012 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1579 _ACEOF
1580 exit
1581 fi
1582
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1586
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1591 {
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1595 case "(($ac_try" in
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1602 ac_status=$?
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1607 fi
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.$ac_objext; then :
1613 ac_retval=0
1614 else
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1617
1618 ac_retval=1
1619 fi
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1622
1623 } # ac_fn_c_try_compile
1624
1625 # ac_fn_c_try_cpp LINENO
1626 # ----------------------
1627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1628 ac_fn_c_try_cpp ()
1629 {
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 if { { ac_try="$ac_cpp conftest.$ac_ext"
1632 case "(($ac_try" in
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1635 esac
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1639 ac_status=$?
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1644 fi
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } > conftest.i && {
1647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1649 }; then :
1650 ac_retval=0
1651 else
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1654
1655 ac_retval=1
1656 fi
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1659
1660 } # ac_fn_c_try_cpp
1661
1662 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1663 # -------------------------------------------------------
1664 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1665 # the include files in INCLUDES and setting the cache variable VAR
1666 # accordingly.
1667 ac_fn_c_check_header_mongrel ()
1668 {
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if eval \${$3+:} false; then :
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1675 fi
1676 eval ac_res=\$$3
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1679 else
1680 # Is the header compilable?
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1682 $as_echo_n "checking $2 usability... " >&6; }
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1685 $4
1686 #include <$2>
1687 _ACEOF
1688 if ac_fn_c_try_compile "$LINENO"; then :
1689 ac_header_compiler=yes
1690 else
1691 ac_header_compiler=no
1692 fi
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1695 $as_echo "$ac_header_compiler" >&6; }
1696
1697 # Is the header present?
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1699 $as_echo_n "checking $2 presence... " >&6; }
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1702 #include <$2>
1703 _ACEOF
1704 if ac_fn_c_try_cpp "$LINENO"; then :
1705 ac_header_preproc=yes
1706 else
1707 ac_header_preproc=no
1708 fi
1709 rm -f conftest.err conftest.i conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1711 $as_echo "$ac_header_preproc" >&6; }
1712
1713 # So? What about this header?
1714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1715 yes:no: )
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1717 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1720 ;;
1721 no:yes:* )
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1723 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1725 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1727 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1729 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1732 ;;
1733 esac
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6
1738 else
1739 eval "$3=\$ac_header_compiler"
1740 fi
1741 eval ac_res=\$$3
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1744 fi
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746
1747 } # ac_fn_c_check_header_mongrel
1748
1749 # ac_fn_c_try_run LINENO
1750 # ----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1752 # that executables *can* be run.
1753 ac_fn_c_try_run ()
1754 {
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_link"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>&5
1764 ac_status=$?
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1767 { { case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_try") 2>&5
1774 ac_status=$?
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; }; }; then :
1777 ac_retval=0
1778 else
1779 $as_echo "$as_me: program exited with status $ac_status" >&5
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1782
1783 ac_retval=$ac_status
1784 fi
1785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1788
1789 } # ac_fn_c_try_run
1790
1791 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1792 # -------------------------------------------------------
1793 # Tests whether HEADER exists and can be compiled using the include files in
1794 # INCLUDES, setting the cache variable VAR accordingly.
1795 ac_fn_c_check_header_compile ()
1796 {
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801 $as_echo_n "(cached) " >&6
1802 else
1803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1805 $4
1806 #include <$2>
1807 _ACEOF
1808 if ac_fn_c_try_compile "$LINENO"; then :
1809 eval "$3=yes"
1810 else
1811 eval "$3=no"
1812 fi
1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1814 fi
1815 eval ac_res=\$$3
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819
1820 } # ac_fn_c_check_header_compile
1821
1822 # ac_fn_c_try_link LINENO
1823 # -----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded.
1825 ac_fn_c_try_link ()
1826 {
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 rm -f conftest.$ac_objext conftest$ac_exeext
1829 if { { ac_try="$ac_link"
1830 case "(($ac_try" in
1831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1833 esac
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>conftest.err
1837 ac_status=$?
1838 if test -s conftest.err; then
1839 grep -v '^ *+' conftest.err >conftest.er1
1840 cat conftest.er1 >&5
1841 mv -f conftest.er1 conftest.err
1842 fi
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest$ac_exeext && {
1848 test "$cross_compiling" = yes ||
1849 test -x conftest$ac_exeext
1850 }; then :
1851 ac_retval=0
1852 else
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1855
1856 ac_retval=1
1857 fi
1858 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1859 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1860 # interfere with the next link command; also delete a directory that is
1861 # left behind by Apple's compiler. We do this before executing the actions.
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 as_fn_set_status $ac_retval
1865
1866 } # ac_fn_c_try_link
1867
1868 # ac_fn_c_check_func LINENO FUNC VAR
1869 # ----------------------------------
1870 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1871 ac_fn_c_check_func ()
1872 {
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \${$3+:} false; then :
1877 $as_echo_n "(cached) " >&6
1878 else
1879 if test x$gcc_no_link = xyes; then
1880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1881 fi
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1887
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1892
1893 #ifdef __STDC__
1894 # include <limits.h>
1895 #else
1896 # include <assert.h>
1897 #endif
1898
1899 #undef $2
1900
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1904 #ifdef __cplusplus
1905 extern "C"
1906 #endif
1907 char $2 ();
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1912 choke me
1913 #endif
1914
1915 int
1916 main ()
1917 {
1918 return $2 ();
1919 ;
1920 return 0;
1921 }
1922 _ACEOF
1923 if ac_fn_c_try_link "$LINENO"; then :
1924 eval "$3=yes"
1925 else
1926 eval "$3=no"
1927 fi
1928 rm -f core conftest.err conftest.$ac_objext \
1929 conftest$ac_exeext conftest.$ac_ext
1930 fi
1931 eval ac_res=\$$3
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935
1936 } # ac_fn_c_check_func
1937
1938 # ac_fn_fc_try_compile LINENO
1939 # ---------------------------
1940 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1941 ac_fn_fc_try_compile ()
1942 {
1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944 rm -f conftest.$ac_objext
1945 if { { ac_try="$ac_compile"
1946 case "(($ac_try" in
1947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1949 esac
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_compile") 2>conftest.err
1953 ac_status=$?
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1958 fi
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && {
1961 test -z "$ac_fc_werror_flag" ||
1962 test ! -s conftest.err
1963 } && test -s conftest.$ac_objext; then :
1964 ac_retval=0
1965 else
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1968
1969 ac_retval=1
1970 fi
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1973
1974 } # ac_fn_fc_try_compile
1975
1976 # ac_fn_fc_try_link LINENO
1977 # ------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_fc_try_link ()
1980 {
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1984 case "(($ac_try" in
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1991 ac_status=$?
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1996 fi
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_fc_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 test -x conftest$ac_exeext
2004 }; then :
2005 ac_retval=0
2006 else
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2009
2010 ac_retval=1
2011 fi
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status $ac_retval
2019
2020 } # ac_fn_fc_try_link
2021
2022 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2023 # -------------------------------------------
2024 # Tests whether TYPE exists after having included INCLUDES, setting cache
2025 # variable VAR accordingly.
2026 ac_fn_c_check_type ()
2027 {
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if eval \${$3+:} false; then :
2032 $as_echo_n "(cached) " >&6
2033 else
2034 eval "$3=no"
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2037 $4
2038 int
2039 main ()
2040 {
2041 if (sizeof ($2))
2042 return 0;
2043 ;
2044 return 0;
2045 }
2046 _ACEOF
2047 if ac_fn_c_try_compile "$LINENO"; then :
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2050 $4
2051 int
2052 main ()
2053 {
2054 if (sizeof (($2)))
2055 return 0;
2056 ;
2057 return 0;
2058 }
2059 _ACEOF
2060 if ac_fn_c_try_compile "$LINENO"; then :
2061
2062 else
2063 eval "$3=yes"
2064 fi
2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066 fi
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 fi
2069 eval ac_res=\$$3
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2073
2074 } # ac_fn_c_check_type
2075
2076 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2077 # --------------------------------------------
2078 # Tries to find the compile-time value of EXPR in a program that includes
2079 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2080 # computed
2081 ac_fn_c_compute_int ()
2082 {
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if test "$cross_compiling" = yes; then
2085 # Depending upon the size, compute the lo and hi bounds.
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2088 $4
2089 int
2090 main ()
2091 {
2092 static int test_array [1 - 2 * !(($2) >= 0)];
2093 test_array [0] = 0;
2094 return test_array [0];
2095
2096 ;
2097 return 0;
2098 }
2099 _ACEOF
2100 if ac_fn_c_try_compile "$LINENO"; then :
2101 ac_lo=0 ac_mid=0
2102 while :; do
2103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2105 $4
2106 int
2107 main ()
2108 {
2109 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2110 test_array [0] = 0;
2111 return test_array [0];
2112
2113 ;
2114 return 0;
2115 }
2116 _ACEOF
2117 if ac_fn_c_try_compile "$LINENO"; then :
2118 ac_hi=$ac_mid; break
2119 else
2120 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2121 if test $ac_lo -le $ac_mid; then
2122 ac_lo= ac_hi=
2123 break
2124 fi
2125 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2126 fi
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 done
2129 else
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2132 $4
2133 int
2134 main ()
2135 {
2136 static int test_array [1 - 2 * !(($2) < 0)];
2137 test_array [0] = 0;
2138 return test_array [0];
2139
2140 ;
2141 return 0;
2142 }
2143 _ACEOF
2144 if ac_fn_c_try_compile "$LINENO"; then :
2145 ac_hi=-1 ac_mid=-1
2146 while :; do
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2149 $4
2150 int
2151 main ()
2152 {
2153 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2154 test_array [0] = 0;
2155 return test_array [0];
2156
2157 ;
2158 return 0;
2159 }
2160 _ACEOF
2161 if ac_fn_c_try_compile "$LINENO"; then :
2162 ac_lo=$ac_mid; break
2163 else
2164 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2165 if test $ac_mid -le $ac_hi; then
2166 ac_lo= ac_hi=
2167 break
2168 fi
2169 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2170 fi
2171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172 done
2173 else
2174 ac_lo= ac_hi=
2175 fi
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 fi
2178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 # Binary search between lo and hi bounds.
2180 while test "x$ac_lo" != "x$ac_hi"; do
2181 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2184 $4
2185 int
2186 main ()
2187 {
2188 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2189 test_array [0] = 0;
2190 return test_array [0];
2191
2192 ;
2193 return 0;
2194 }
2195 _ACEOF
2196 if ac_fn_c_try_compile "$LINENO"; then :
2197 ac_hi=$ac_mid
2198 else
2199 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2200 fi
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 done
2203 case $ac_lo in #((
2204 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2205 '') ac_retval=1 ;;
2206 esac
2207 else
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 $4
2211 static long int longval () { return $2; }
2212 static unsigned long int ulongval () { return $2; }
2213 #include <stdio.h>
2214 #include <stdlib.h>
2215 int
2216 main ()
2217 {
2218
2219 FILE *f = fopen ("conftest.val", "w");
2220 if (! f)
2221 return 1;
2222 if (($2) < 0)
2223 {
2224 long int i = longval ();
2225 if (i != ($2))
2226 return 1;
2227 fprintf (f, "%ld", i);
2228 }
2229 else
2230 {
2231 unsigned long int i = ulongval ();
2232 if (i != ($2))
2233 return 1;
2234 fprintf (f, "%lu", i);
2235 }
2236 /* Do not output a trailing newline, as this causes \r\n confusion
2237 on some platforms. */
2238 return ferror (f) || fclose (f) != 0;
2239
2240 ;
2241 return 0;
2242 }
2243 _ACEOF
2244 if ac_fn_c_try_run "$LINENO"; then :
2245 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2246 else
2247 ac_retval=1
2248 fi
2249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2250 conftest.$ac_objext conftest.beam conftest.$ac_ext
2251 rm -f conftest.val
2252
2253 fi
2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 as_fn_set_status $ac_retval
2256
2257 } # ac_fn_c_compute_int
2258
2259 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2260 # ----------------------------------------------------
2261 # Tries to find if the field MEMBER exists in type AGGR, after including
2262 # INCLUDES, setting cache variable VAR accordingly.
2263 ac_fn_c_check_member ()
2264 {
2265 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2267 $as_echo_n "checking for $2.$3... " >&6; }
2268 if eval \${$4+:} false; then :
2269 $as_echo_n "(cached) " >&6
2270 else
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2273 $5
2274 int
2275 main ()
2276 {
2277 static $2 ac_aggr;
2278 if (ac_aggr.$3)
2279 return 0;
2280 ;
2281 return 0;
2282 }
2283 _ACEOF
2284 if ac_fn_c_try_compile "$LINENO"; then :
2285 eval "$4=yes"
2286 else
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2289 $5
2290 int
2291 main ()
2292 {
2293 static $2 ac_aggr;
2294 if (sizeof ac_aggr.$3)
2295 return 0;
2296 ;
2297 return 0;
2298 }
2299 _ACEOF
2300 if ac_fn_c_try_compile "$LINENO"; then :
2301 eval "$4=yes"
2302 else
2303 eval "$4=no"
2304 fi
2305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2306 fi
2307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2308 fi
2309 eval ac_res=\$$4
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2313
2314 } # ac_fn_c_check_member
2315 cat >config.log <<_ACEOF
2316 This file contains any messages produced by compilers while
2317 running configure, to aid debugging if configure makes a mistake.
2318
2319 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2320 generated by GNU Autoconf 2.69. Invocation command line was
2321
2322 $ $0 $@
2323
2324 _ACEOF
2325 exec 5>>config.log
2326 {
2327 cat <<_ASUNAME
2328 ## --------- ##
2329 ## Platform. ##
2330 ## --------- ##
2331
2332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2337
2338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2339 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2340
2341 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2342 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2344 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2345 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2346 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2347 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2348
2349 _ASUNAME
2350
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 for as_dir in $PATH
2353 do
2354 IFS=$as_save_IFS
2355 test -z "$as_dir" && as_dir=.
2356 $as_echo "PATH: $as_dir"
2357 done
2358 IFS=$as_save_IFS
2359
2360 } >&5
2361
2362 cat >&5 <<_ACEOF
2363
2364
2365 ## ----------- ##
2366 ## Core tests. ##
2367 ## ----------- ##
2368
2369 _ACEOF
2370
2371
2372 # Keep a trace of the command line.
2373 # Strip out --no-create and --no-recursion so they do not pile up.
2374 # Strip out --silent because we don't want to record it for future runs.
2375 # Also quote any args containing shell meta-characters.
2376 # Make two passes to allow for proper duplicate-argument suppression.
2377 ac_configure_args=
2378 ac_configure_args0=
2379 ac_configure_args1=
2380 ac_must_keep_next=false
2381 for ac_pass in 1 2
2382 do
2383 for ac_arg
2384 do
2385 case $ac_arg in
2386 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2388 | -silent | --silent | --silen | --sile | --sil)
2389 continue ;;
2390 *\'*)
2391 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2392 esac
2393 case $ac_pass in
2394 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2395 2)
2396 as_fn_append ac_configure_args1 " '$ac_arg'"
2397 if test $ac_must_keep_next = true; then
2398 ac_must_keep_next=false # Got value, back to normal.
2399 else
2400 case $ac_arg in
2401 *=* | --config-cache | -C | -disable-* | --disable-* \
2402 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2403 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2404 | -with-* | --with-* | -without-* | --without-* | --x)
2405 case "$ac_configure_args0 " in
2406 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2407 esac
2408 ;;
2409 -* ) ac_must_keep_next=true ;;
2410 esac
2411 fi
2412 as_fn_append ac_configure_args " '$ac_arg'"
2413 ;;
2414 esac
2415 done
2416 done
2417 { ac_configure_args0=; unset ac_configure_args0;}
2418 { ac_configure_args1=; unset ac_configure_args1;}
2419
2420 # When interrupted or exit'd, cleanup temporary files, and complete
2421 # config.log. We remove comments because anyway the quotes in there
2422 # would cause problems or look ugly.
2423 # WARNING: Use '\'' to represent an apostrophe within the trap.
2424 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2425 trap 'exit_status=$?
2426 # Save into config.log some information that might help in debugging.
2427 {
2428 echo
2429
2430 $as_echo "## ---------------- ##
2431 ## Cache variables. ##
2432 ## ---------------- ##"
2433 echo
2434 # The following way of writing the cache mishandles newlines in values,
2435 (
2436 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2437 eval ac_val=\$$ac_var
2438 case $ac_val in #(
2439 *${as_nl}*)
2440 case $ac_var in #(
2441 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2442 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2443 esac
2444 case $ac_var in #(
2445 _ | IFS | as_nl) ;; #(
2446 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2447 *) { eval $ac_var=; unset $ac_var;} ;;
2448 esac ;;
2449 esac
2450 done
2451 (set) 2>&1 |
2452 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2453 *${as_nl}ac_space=\ *)
2454 sed -n \
2455 "s/'\''/'\''\\\\'\'''\''/g;
2456 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2457 ;; #(
2458 *)
2459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2460 ;;
2461 esac |
2462 sort
2463 )
2464 echo
2465
2466 $as_echo "## ----------------- ##
2467 ## Output variables. ##
2468 ## ----------------- ##"
2469 echo
2470 for ac_var in $ac_subst_vars
2471 do
2472 eval ac_val=\$$ac_var
2473 case $ac_val in
2474 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2475 esac
2476 $as_echo "$ac_var='\''$ac_val'\''"
2477 done | sort
2478 echo
2479
2480 if test -n "$ac_subst_files"; then
2481 $as_echo "## ------------------- ##
2482 ## File substitutions. ##
2483 ## ------------------- ##"
2484 echo
2485 for ac_var in $ac_subst_files
2486 do
2487 eval ac_val=\$$ac_var
2488 case $ac_val in
2489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2490 esac
2491 $as_echo "$ac_var='\''$ac_val'\''"
2492 done | sort
2493 echo
2494 fi
2495
2496 if test -s confdefs.h; then
2497 $as_echo "## ----------- ##
2498 ## confdefs.h. ##
2499 ## ----------- ##"
2500 echo
2501 cat confdefs.h
2502 echo
2503 fi
2504 test "$ac_signal" != 0 &&
2505 $as_echo "$as_me: caught signal $ac_signal"
2506 $as_echo "$as_me: exit $exit_status"
2507 } >&5
2508 rm -f core *.core core.conftest.* &&
2509 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2510 exit $exit_status
2511 ' 0
2512 for ac_signal in 1 2 13 15; do
2513 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2514 done
2515 ac_signal=0
2516
2517 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2518 rm -f -r conftest* confdefs.h
2519
2520 $as_echo "/* confdefs.h */" > confdefs.h
2521
2522 # Predefined preprocessor variables.
2523
2524 cat >>confdefs.h <<_ACEOF
2525 #define PACKAGE_NAME "$PACKAGE_NAME"
2526 _ACEOF
2527
2528 cat >>confdefs.h <<_ACEOF
2529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2530 _ACEOF
2531
2532 cat >>confdefs.h <<_ACEOF
2533 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2534 _ACEOF
2535
2536 cat >>confdefs.h <<_ACEOF
2537 #define PACKAGE_STRING "$PACKAGE_STRING"
2538 _ACEOF
2539
2540 cat >>confdefs.h <<_ACEOF
2541 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2542 _ACEOF
2543
2544 cat >>confdefs.h <<_ACEOF
2545 #define PACKAGE_URL "$PACKAGE_URL"
2546 _ACEOF
2547
2548
2549 # Let the site file select an alternate cache file if it wants to.
2550 # Prefer an explicitly selected file to automatically selected ones.
2551 ac_site_file1=NONE
2552 ac_site_file2=NONE
2553 if test -n "$CONFIG_SITE"; then
2554 # We do not want a PATH search for config.site.
2555 case $CONFIG_SITE in #((
2556 -*) ac_site_file1=./$CONFIG_SITE;;
2557 */*) ac_site_file1=$CONFIG_SITE;;
2558 *) ac_site_file1=./$CONFIG_SITE;;
2559 esac
2560 elif test "x$prefix" != xNONE; then
2561 ac_site_file1=$prefix/share/config.site
2562 ac_site_file2=$prefix/etc/config.site
2563 else
2564 ac_site_file1=$ac_default_prefix/share/config.site
2565 ac_site_file2=$ac_default_prefix/etc/config.site
2566 fi
2567 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2568 do
2569 test "x$ac_site_file" = xNONE && continue
2570 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2572 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2573 sed 's/^/| /' "$ac_site_file" >&5
2574 . "$ac_site_file" \
2575 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 as_fn_error $? "failed to load site script $ac_site_file
2578 See \`config.log' for more details" "$LINENO" 5; }
2579 fi
2580 done
2581
2582 if test -r "$cache_file"; then
2583 # Some versions of bash will fail to source /dev/null (special files
2584 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2585 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2587 $as_echo "$as_me: loading cache $cache_file" >&6;}
2588 case $cache_file in
2589 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2590 *) . "./$cache_file";;
2591 esac
2592 fi
2593 else
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2595 $as_echo "$as_me: creating cache $cache_file" >&6;}
2596 >$cache_file
2597 fi
2598
2599 as_fn_append ac_header_list " unistd.h"
2600 as_fn_append ac_header_list " sys/random.h"
2601 as_fn_append ac_header_list " sys/time.h"
2602 as_fn_append ac_header_list " sys/times.h"
2603 as_fn_append ac_header_list " sys/resource.h"
2604 as_fn_append ac_header_list " sys/types.h"
2605 as_fn_append ac_header_list " sys/stat.h"
2606 as_fn_append ac_header_list " sys/uio.h"
2607 as_fn_append ac_header_list " sys/wait.h"
2608 as_fn_append ac_header_list " floatingpoint.h"
2609 as_fn_append ac_header_list " ieeefp.h"
2610 as_fn_append ac_header_list " fenv.h"
2611 as_fn_append ac_header_list " fptrap.h"
2612 as_fn_append ac_header_list " fpxcp.h"
2613 as_fn_append ac_header_list " pwd.h"
2614 as_fn_append ac_header_list " complex.h"
2615 as_fn_append ac_header_list " xlocale.h"
2616 as_fn_append ac_func_list " getrusage"
2617 as_fn_append ac_func_list " times"
2618 as_fn_append ac_func_list " mkstemp"
2619 as_fn_append ac_func_list " strtof"
2620 as_fn_append ac_func_list " strtold"
2621 as_fn_append ac_func_list " snprintf"
2622 as_fn_append ac_func_list " ftruncate"
2623 as_fn_append ac_func_list " chsize"
2624 as_fn_append ac_func_list " chdir"
2625 as_fn_append ac_func_list " getentropy"
2626 as_fn_append ac_func_list " getlogin"
2627 as_fn_append ac_func_list " gethostname"
2628 as_fn_append ac_func_list " kill"
2629 as_fn_append ac_func_list " link"
2630 as_fn_append ac_func_list " symlink"
2631 as_fn_append ac_func_list " sleep"
2632 as_fn_append ac_func_list " ttyname"
2633 as_fn_append ac_func_list " sigaction"
2634 as_fn_append ac_func_list " waitpid"
2635 as_fn_append ac_func_list " alarm"
2636 as_fn_append ac_func_list " access"
2637 as_fn_append ac_func_list " fork"
2638 as_fn_append ac_func_list " posix_spawn"
2639 as_fn_append ac_func_list " setmode"
2640 as_fn_append ac_func_list " fcntl"
2641 as_fn_append ac_func_list " writev"
2642 as_fn_append ac_func_list " gettimeofday"
2643 as_fn_append ac_func_list " stat"
2644 as_fn_append ac_func_list " fstat"
2645 as_fn_append ac_func_list " lstat"
2646 as_fn_append ac_func_list " getpwuid"
2647 as_fn_append ac_func_list " vsnprintf"
2648 as_fn_append ac_func_list " dup"
2649 as_fn_append ac_func_list " getcwd"
2650 as_fn_append ac_func_list " localtime_r"
2651 as_fn_append ac_func_list " gmtime_r"
2652 as_fn_append ac_func_list " getpwuid_r"
2653 as_fn_append ac_func_list " ttyname_r"
2654 as_fn_append ac_func_list " clock_gettime"
2655 as_fn_append ac_func_list " getgid"
2656 as_fn_append ac_func_list " getpid"
2657 as_fn_append ac_func_list " getuid"
2658 as_fn_append ac_func_list " geteuid"
2659 as_fn_append ac_func_list " umask"
2660 as_fn_append ac_func_list " getegid"
2661 as_fn_append ac_func_list " secure_getenv"
2662 as_fn_append ac_func_list " __secure_getenv"
2663 as_fn_append ac_func_list " mkostemp"
2664 as_fn_append ac_func_list " strnlen"
2665 as_fn_append ac_func_list " strndup"
2666 as_fn_append ac_func_list " newlocale"
2667 as_fn_append ac_func_list " freelocale"
2668 as_fn_append ac_func_list " uselocale"
2669 as_fn_append ac_func_list " strerror_l"
2670 as_fn_append ac_func_list " strtof128"
2671 as_fn_append ac_func_list " strfromf128"
2672 as_fn_append ac_header_list " math.h"
2673 # Check that the precious variables saved in the cache have kept the same
2674 # value.
2675 ac_cache_corrupted=false
2676 for ac_var in $ac_precious_vars; do
2677 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2678 eval ac_new_set=\$ac_env_${ac_var}_set
2679 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2680 eval ac_new_val=\$ac_env_${ac_var}_value
2681 case $ac_old_set,$ac_new_set in
2682 set,)
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2684 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2685 ac_cache_corrupted=: ;;
2686 ,set)
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2688 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2689 ac_cache_corrupted=: ;;
2690 ,);;
2691 *)
2692 if test "x$ac_old_val" != "x$ac_new_val"; then
2693 # differences in whitespace do not lead to failure.
2694 ac_old_val_w=`echo x $ac_old_val`
2695 ac_new_val_w=`echo x $ac_new_val`
2696 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2698 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2699 ac_cache_corrupted=:
2700 else
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2702 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2703 eval $ac_var=\$ac_old_val
2704 fi
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2706 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2708 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2709 fi;;
2710 esac
2711 # Pass precious variables to config.status.
2712 if test "$ac_new_set" = set; then
2713 case $ac_new_val in
2714 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2715 *) ac_arg=$ac_var=$ac_new_val ;;
2716 esac
2717 case " $ac_configure_args " in
2718 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2719 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2720 esac
2721 fi
2722 done
2723 if $ac_cache_corrupted; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2727 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2728 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2729 fi
2730 ## -------------------- ##
2731 ## Main body of script. ##
2732 ## -------------------- ##
2733
2734 ac_ext=c
2735 ac_cpp='$CPP $CPPFLAGS'
2736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2739
2740
2741
2742
2743
2744 ac_config_headers="$ac_config_headers config.h"
2745
2746 ac_aux_dir=
2747 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2748 if test -f "$ac_dir/install-sh"; then
2749 ac_aux_dir=$ac_dir
2750 ac_install_sh="$ac_aux_dir/install-sh -c"
2751 break
2752 elif test -f "$ac_dir/install.sh"; then
2753 ac_aux_dir=$ac_dir
2754 ac_install_sh="$ac_aux_dir/install.sh -c"
2755 break
2756 elif test -f "$ac_dir/shtool"; then
2757 ac_aux_dir=$ac_dir
2758 ac_install_sh="$ac_aux_dir/shtool install -c"
2759 break
2760 fi
2761 done
2762 if test -z "$ac_aux_dir"; then
2763 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2764 fi
2765
2766 # These three variables are undocumented and unsupported,
2767 # and are intended to be withdrawn in a future Autoconf release.
2768 # They can cause serious problems if a builder's source tree is in a directory
2769 # whose full name contains unusual characters.
2770 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2771 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2772 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2773
2774
2775 # Make sure we can run config.sub.
2776 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2777 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2778
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2780 $as_echo_n "checking build system type... " >&6; }
2781 if ${ac_cv_build+:} false; then :
2782 $as_echo_n "(cached) " >&6
2783 else
2784 ac_build_alias=$build_alias
2785 test "x$ac_build_alias" = x &&
2786 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2787 test "x$ac_build_alias" = x &&
2788 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2789 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2790 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2791
2792 fi
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2794 $as_echo "$ac_cv_build" >&6; }
2795 case $ac_cv_build in
2796 *-*-*) ;;
2797 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2798 esac
2799 build=$ac_cv_build
2800 ac_save_IFS=$IFS; IFS='-'
2801 set x $ac_cv_build
2802 shift
2803 build_cpu=$1
2804 build_vendor=$2
2805 shift; shift
2806 # Remember, the first character of IFS is used to create $*,
2807 # except with old shells:
2808 build_os=$*
2809 IFS=$ac_save_IFS
2810 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2811
2812
2813 case ${build_alias} in
2814 "") build_noncanonical=${build} ;;
2815 *) build_noncanonical=${build_alias} ;;
2816 esac
2817
2818 case ${host_alias} in
2819 "") host_noncanonical=${build_noncanonical} ;;
2820 *) host_noncanonical=${host_alias} ;;
2821 esac
2822
2823 case ${target_alias} in
2824 "") target_noncanonical=${host_noncanonical} ;;
2825 *) target_noncanonical=${target_alias} ;;
2826 esac
2827
2828
2829 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2830 # have matching libraries, they should use host libraries: Makefile.tpl
2831 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2832 # However, they still use the build modules, because the corresponding
2833 # host modules (e.g. bison) are only built for the host when bootstrap
2834 # finishes. So:
2835 # - build_subdir is where we find build modules, and never changes.
2836 # - build_libsubdir is where we find build libraries, and can be overridden.
2837
2838 # Prefix 'build-' so this never conflicts with target_subdir.
2839 build_subdir="build-${build_noncanonical}"
2840
2841 # Check whether --with-build-libsubdir was given.
2842 if test "${with_build_libsubdir+set}" = set; then :
2843 withval=$with_build_libsubdir; build_libsubdir="$withval"
2844 else
2845 build_libsubdir="$build_subdir"
2846 fi
2847
2848 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2849 if ( test $srcdir = . && test -d gcc ) \
2850 || test -d $srcdir/../host-${host_noncanonical}; then
2851 host_subdir="host-${host_noncanonical}"
2852 else
2853 host_subdir=.
2854 fi
2855 # No prefix.
2856 target_subdir=${target_noncanonical}
2857
2858
2859 # -------
2860 # Options
2861 # -------
2862
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2864 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2865 # Check whether --enable-version-specific-runtime-libs was given.
2866 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2867 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2868 yes) version_specific_libs=yes ;;
2869 no) version_specific_libs=no ;;
2870 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2871 esac
2872 else
2873 version_specific_libs=no
2874 fi
2875
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2877 $as_echo "$version_specific_libs" >&6; }
2878
2879 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2880 #
2881 # You will slowly go insane if you do not grok the following fact: when
2882 # building this library, the top-level /target/ becomes the library's /host/.
2883 #
2884 # configure then causes --target to default to --host, exactly like any
2885 # other package using autoconf. Therefore, 'target' and 'host' will
2886 # always be the same. This makes sense both for native and cross compilers
2887 # just think about it for a little while. :-)
2888 #
2889 # Also, if this library is being configured as part of a cross compiler, the
2890 # top-level configure script will pass the "real" host as $with_cross_host.
2891 #
2892 # Do not delete or change the following two lines. For why, see
2893 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2895 $as_echo_n "checking host system type... " >&6; }
2896 if ${ac_cv_host+:} false; then :
2897 $as_echo_n "(cached) " >&6
2898 else
2899 if test "x$host_alias" = x; then
2900 ac_cv_host=$ac_cv_build
2901 else
2902 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2903 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2904 fi
2905
2906 fi
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2908 $as_echo "$ac_cv_host" >&6; }
2909 case $ac_cv_host in
2910 *-*-*) ;;
2911 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2912 esac
2913 host=$ac_cv_host
2914 ac_save_IFS=$IFS; IFS='-'
2915 set x $ac_cv_host
2916 shift
2917 host_cpu=$1
2918 host_vendor=$2
2919 shift; shift
2920 # Remember, the first character of IFS is used to create $*,
2921 # except with old shells:
2922 host_os=$*
2923 IFS=$ac_save_IFS
2924 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2925
2926
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2928 $as_echo_n "checking target system type... " >&6; }
2929 if ${ac_cv_target+:} false; then :
2930 $as_echo_n "(cached) " >&6
2931 else
2932 if test "x$target_alias" = x; then
2933 ac_cv_target=$ac_cv_host
2934 else
2935 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2936 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2937 fi
2938
2939 fi
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2941 $as_echo "$ac_cv_target" >&6; }
2942 case $ac_cv_target in
2943 *-*-*) ;;
2944 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2945 esac
2946 target=$ac_cv_target
2947 ac_save_IFS=$IFS; IFS='-'
2948 set x $ac_cv_target
2949 shift
2950 target_cpu=$1
2951 target_vendor=$2
2952 shift; shift
2953 # Remember, the first character of IFS is used to create $*,
2954 # except with old shells:
2955 target_os=$*
2956 IFS=$ac_save_IFS
2957 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2958
2959
2960 # The aliases save the names the user supplied, while $host etc.
2961 # will get canonicalized.
2962 test -n "$target_alias" &&
2963 test "$program_prefix$program_suffix$program_transform_name" = \
2964 NONENONEs,x,x, &&
2965 program_prefix=${target_alias}-
2966
2967
2968
2969
2970 target_alias=${target_alias-$host_alias}
2971
2972
2973 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2974 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2975 # 1.9.6: minimum required version
2976 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2977 # of other PACKAGE_* variables will, however, and there's nothing
2978 # we can do about that; they come from AC_INIT).
2979 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2980 # file in the top srcdir, etc, etc), so stop complaining.
2981 # no-dist: we don't want 'dist' and related rules.
2982 # -Wall: turns on all automake warnings...
2983 # -Wno-portability: ...except this one, since GNU make is required.
2984 am__api_version='1.15'
2985
2986 # Find a good install program. We prefer a C program (faster),
2987 # so one script is as good as another. But avoid the broken or
2988 # incompatible versions:
2989 # SysV /etc/install, /usr/sbin/install
2990 # SunOS /usr/etc/install
2991 # IRIX /sbin/install
2992 # AIX /bin/install
2993 # AmigaOS /C/install, which installs bootblocks on floppy discs
2994 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2995 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2996 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2997 # OS/2's system install, which has a completely different semantic
2998 # ./install, which can be erroneously created by make from ./install.sh.
2999 # Reject install programs that cannot install multiple files.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3001 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3002 if test -z "$INSTALL"; then
3003 if ${ac_cv_path_install+:} false; then :
3004 $as_echo_n "(cached) " >&6
3005 else
3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007 for as_dir in $PATH
3008 do
3009 IFS=$as_save_IFS
3010 test -z "$as_dir" && as_dir=.
3011 # Account for people who put trailing slashes in PATH elements.
3012 case $as_dir/ in #((
3013 ./ | .// | /[cC]/* | \
3014 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3015 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3016 /usr/ucb/* ) ;;
3017 *)
3018 # OSF1 and SCO ODT 3.0 have their own names for install.
3019 # Don't use installbsd from OSF since it installs stuff as root
3020 # by default.
3021 for ac_prog in ginstall scoinst install; do
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3024 if test $ac_prog = install &&
3025 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3026 # AIX install. It has an incompatible calling convention.
3027 :
3028 elif test $ac_prog = install &&
3029 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3030 # program-specific install script used by HP pwplus--don't use.
3031 :
3032 else
3033 rm -rf conftest.one conftest.two conftest.dir
3034 echo one > conftest.one
3035 echo two > conftest.two
3036 mkdir conftest.dir
3037 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3038 test -s conftest.one && test -s conftest.two &&
3039 test -s conftest.dir/conftest.one &&
3040 test -s conftest.dir/conftest.two
3041 then
3042 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3043 break 3
3044 fi
3045 fi
3046 fi
3047 done
3048 done
3049 ;;
3050 esac
3051
3052 done
3053 IFS=$as_save_IFS
3054
3055 rm -rf conftest.one conftest.two conftest.dir
3056
3057 fi
3058 if test "${ac_cv_path_install+set}" = set; then
3059 INSTALL=$ac_cv_path_install
3060 else
3061 # As a last resort, use the slow shell script. Don't cache a
3062 # value for INSTALL within a source directory, because that will
3063 # break other packages using the cache if that directory is
3064 # removed, or if the value is a relative name.
3065 INSTALL=$ac_install_sh
3066 fi
3067 fi
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3069 $as_echo "$INSTALL" >&6; }
3070
3071 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3072 # It thinks the first close brace ends the variable substitution.
3073 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3074
3075 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3076
3077 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3078
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3080 $as_echo_n "checking whether build environment is sane... " >&6; }
3081 # Reject unsafe characters in $srcdir or the absolute working directory
3082 # name. Accept space and tab only in the latter.
3083 am_lf='
3084 '
3085 case `pwd` in
3086 *[\\\"\#\$\&\'\`$am_lf]*)
3087 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3088 esac
3089 case $srcdir in
3090 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3091 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3092 esac
3093
3094 # Do 'set' in a subshell so we don't clobber the current shell's
3095 # arguments. Must try -L first in case configure is actually a
3096 # symlink; some systems play weird games with the mod time of symlinks
3097 # (eg FreeBSD returns the mod time of the symlink's containing
3098 # directory).
3099 if (
3100 am_has_slept=no
3101 for am_try in 1 2; do
3102 echo "timestamp, slept: $am_has_slept" > conftest.file
3103 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3104 if test "$*" = "X"; then
3105 # -L didn't work.
3106 set X `ls -t "$srcdir/configure" conftest.file`
3107 fi
3108 if test "$*" != "X $srcdir/configure conftest.file" \
3109 && test "$*" != "X conftest.file $srcdir/configure"; then
3110
3111 # If neither matched, then we have a broken ls. This can happen
3112 # if, for instance, CONFIG_SHELL is bash and it inherits a
3113 # broken ls alias from the environment. This has actually
3114 # happened. Such a system could not be considered "sane".
3115 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3116 alias in your environment" "$LINENO" 5
3117 fi
3118 if test "$2" = conftest.file || test $am_try -eq 2; then
3119 break
3120 fi
3121 # Just in case.
3122 sleep 1
3123 am_has_slept=yes
3124 done
3125 test "$2" = conftest.file
3126 )
3127 then
3128 # Ok.
3129 :
3130 else
3131 as_fn_error $? "newly created file is older than distributed files!
3132 Check your system clock" "$LINENO" 5
3133 fi
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3135 $as_echo "yes" >&6; }
3136 # If we didn't sleep, we still need to ensure time stamps of config.status and
3137 # generated files are strictly newer.
3138 am_sleep_pid=
3139 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3140 ( sleep 1 ) &
3141 am_sleep_pid=$!
3142 fi
3143
3144 rm -f conftest.file
3145
3146 test "$program_prefix" != NONE &&
3147 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3148 # Use a double $ so make ignores it.
3149 test "$program_suffix" != NONE &&
3150 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3151 # Double any \ or $.
3152 # By default was `s,x,x', remove it if useless.
3153 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3154 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3155
3156 # Expand $ac_aux_dir to an absolute path.
3157 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3158
3159 if test x"${MISSING+set}" != xset; then
3160 case $am_aux_dir in
3161 *\ * | *\ *)
3162 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3163 *)
3164 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3165 esac
3166 fi
3167 # Use eval to expand $SHELL
3168 if eval "$MISSING --is-lightweight"; then
3169 am_missing_run="$MISSING "
3170 else
3171 am_missing_run=
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3173 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3174 fi
3175
3176 if test x"${install_sh+set}" != xset; then
3177 case $am_aux_dir in
3178 *\ * | *\ *)
3179 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3180 *)
3181 install_sh="\${SHELL} $am_aux_dir/install-sh"
3182 esac
3183 fi
3184
3185 # Installed binaries are usually stripped using 'strip' when the user
3186 # run "make install-strip". However 'strip' might not be the right
3187 # tool to use in cross-compilation environments, therefore Automake
3188 # will honor the 'STRIP' environment variable to overrule this program.
3189 if test "$cross_compiling" != no; then
3190 if test -n "$ac_tool_prefix"; then
3191 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3192 set dummy ${ac_tool_prefix}strip; ac_word=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if ${ac_cv_prog_STRIP+:} false; then :
3196 $as_echo_n "(cached) " >&6
3197 else
3198 if test -n "$STRIP"; then
3199 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3200 else
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 for as_dir in $PATH
3203 do
3204 IFS=$as_save_IFS
3205 test -z "$as_dir" && as_dir=.
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 break 2
3211 fi
3212 done
3213 done
3214 IFS=$as_save_IFS
3215
3216 fi
3217 fi
3218 STRIP=$ac_cv_prog_STRIP
3219 if test -n "$STRIP"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3221 $as_echo "$STRIP" >&6; }
3222 else
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3225 fi
3226
3227
3228 fi
3229 if test -z "$ac_cv_prog_STRIP"; then
3230 ac_ct_STRIP=$STRIP
3231 # Extract the first word of "strip", so it can be a program name with args.
3232 set dummy strip; ac_word=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3236 $as_echo_n "(cached) " >&6
3237 else
3238 if test -n "$ac_ct_STRIP"; then
3239 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3240 else
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 for as_dir in $PATH
3243 do
3244 IFS=$as_save_IFS
3245 test -z "$as_dir" && as_dir=.
3246 for ac_exec_ext in '' $ac_executable_extensions; do
3247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_ac_ct_STRIP="strip"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 break 2
3251 fi
3252 done
3253 done
3254 IFS=$as_save_IFS
3255
3256 fi
3257 fi
3258 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3259 if test -n "$ac_ct_STRIP"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3261 $as_echo "$ac_ct_STRIP" >&6; }
3262 else
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3265 fi
3266
3267 if test "x$ac_ct_STRIP" = x; then
3268 STRIP=":"
3269 else
3270 case $cross_compiling:$ac_tool_warned in
3271 yes:)
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned=yes ;;
3275 esac
3276 STRIP=$ac_ct_STRIP
3277 fi
3278 else
3279 STRIP="$ac_cv_prog_STRIP"
3280 fi
3281
3282 fi
3283 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3284
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3286 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3287 if test -z "$MKDIR_P"; then
3288 if ${ac_cv_path_mkdir+:} false; then :
3289 $as_echo_n "(cached) " >&6
3290 else
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3293 do
3294 IFS=$as_save_IFS
3295 test -z "$as_dir" && as_dir=.
3296 for ac_prog in mkdir gmkdir; do
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3299 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3300 'mkdir (GNU coreutils) '* | \
3301 'mkdir (coreutils) '* | \
3302 'mkdir (fileutils) '4.1*)
3303 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3304 break 3;;
3305 esac
3306 done
3307 done
3308 done
3309 IFS=$as_save_IFS
3310
3311 fi
3312
3313 test -d ./--version && rmdir ./--version
3314 if test "${ac_cv_path_mkdir+set}" = set; then
3315 MKDIR_P="$ac_cv_path_mkdir -p"
3316 else
3317 # As a last resort, use the slow shell script. Don't cache a
3318 # value for MKDIR_P within a source directory, because that will
3319 # break other packages using the cache if that directory is
3320 # removed, or if the value is a relative name.
3321 MKDIR_P="$ac_install_sh -d"
3322 fi
3323 fi
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3325 $as_echo "$MKDIR_P" >&6; }
3326
3327 for ac_prog in gawk mawk nawk awk
3328 do
3329 # Extract the first word of "$ac_prog", so it can be a program name with args.
3330 set dummy $ac_prog; ac_word=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if ${ac_cv_prog_AWK+:} false; then :
3334 $as_echo_n "(cached) " >&6
3335 else
3336 if test -n "$AWK"; then
3337 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3338 else
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 for as_dir in $PATH
3341 do
3342 IFS=$as_save_IFS
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3346 ac_cv_prog_AWK="$ac_prog"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 break 2
3349 fi
3350 done
3351 done
3352 IFS=$as_save_IFS
3353
3354 fi
3355 fi
3356 AWK=$ac_cv_prog_AWK
3357 if test -n "$AWK"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3359 $as_echo "$AWK" >&6; }
3360 else
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3363 fi
3364
3365
3366 test -n "$AWK" && break
3367 done
3368
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3370 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3371 set x ${MAKE-make}
3372 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3373 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3374 $as_echo_n "(cached) " >&6
3375 else
3376 cat >conftest.make <<\_ACEOF
3377 SHELL = /bin/sh
3378 all:
3379 @echo '@@@%%%=$(MAKE)=@@@%%%'
3380 _ACEOF
3381 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3382 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3383 *@@@%%%=?*=@@@%%%*)
3384 eval ac_cv_prog_make_${ac_make}_set=yes;;
3385 *)
3386 eval ac_cv_prog_make_${ac_make}_set=no;;
3387 esac
3388 rm -f conftest.make
3389 fi
3390 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3392 $as_echo "yes" >&6; }
3393 SET_MAKE=
3394 else
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3397 SET_MAKE="MAKE=${MAKE-make}"
3398 fi
3399
3400 rm -rf .tst 2>/dev/null
3401 mkdir .tst 2>/dev/null
3402 if test -d .tst; then
3403 am__leading_dot=.
3404 else
3405 am__leading_dot=_
3406 fi
3407 rmdir .tst 2>/dev/null
3408
3409 # Check whether --enable-silent-rules was given.
3410 if test "${enable_silent_rules+set}" = set; then :
3411 enableval=$enable_silent_rules;
3412 fi
3413
3414 case $enable_silent_rules in # (((
3415 yes) AM_DEFAULT_VERBOSITY=0;;
3416 no) AM_DEFAULT_VERBOSITY=1;;
3417 *) AM_DEFAULT_VERBOSITY=1;;
3418 esac
3419 am_make=${MAKE-make}
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3421 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3422 if ${am_cv_make_support_nested_variables+:} false; then :
3423 $as_echo_n "(cached) " >&6
3424 else
3425 if $as_echo 'TRUE=$(BAR$(V))
3426 BAR0=false
3427 BAR1=true
3428 V=1
3429 am__doit:
3430 @$(TRUE)
3431 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3432 am_cv_make_support_nested_variables=yes
3433 else
3434 am_cv_make_support_nested_variables=no
3435 fi
3436 fi
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3438 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3439 if test $am_cv_make_support_nested_variables = yes; then
3440 AM_V='$(V)'
3441 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3442 else
3443 AM_V=$AM_DEFAULT_VERBOSITY
3444 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3445 fi
3446 AM_BACKSLASH='\'
3447
3448 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3449 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3450 # is not polluted with repeated "-I."
3451 am__isrc=' -I$(srcdir)'
3452 # test to see if srcdir already configured
3453 if test -f $srcdir/config.status; then
3454 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3455 fi
3456 fi
3457
3458 # test whether we have cygpath
3459 if test -z "$CYGPATH_W"; then
3460 if (cygpath --version) >/dev/null 2>/dev/null; then
3461 CYGPATH_W='cygpath -w'
3462 else
3463 CYGPATH_W=echo
3464 fi
3465 fi
3466
3467
3468 # Define the identity of the package.
3469 PACKAGE='libgfortran'
3470 VERSION='0.3'
3471
3472
3473 # Some tools Automake needs.
3474
3475 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3476
3477
3478 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3479
3480
3481 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3482
3483
3484 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3485
3486
3487 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3488
3489 # For better backward compatibility. To be removed once Automake 1.9.x
3490 # dies out for good. For more background, see:
3491 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3492 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3493 mkdir_p='$(MKDIR_P)'
3494
3495 # We need awk for the "check" target (and possibly the TAP driver). The
3496 # system "awk" is bad on some platforms.
3497 # Always define AMTAR for backward compatibility. Yes, it's still used
3498 # in the wild :-( We should find a proper way to deprecate it ...
3499 AMTAR='$${TAR-tar}'
3500
3501
3502 # We'll loop over all known methods to create a tar archive until one works.
3503 _am_tools='gnutar pax cpio none'
3504
3505 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3506
3507
3508
3509
3510
3511
3512 # POSIX will say in a future version that running "rm -f" with no argument
3513 # is OK; and we want to be able to make that assumption in our Makefile
3514 # recipes. So use an aggressive probe to check that the usage we want is
3515 # actually supported "in the wild" to an acceptable degree.
3516 # See automake bug#10828.
3517 # To make any issue more visible, cause the running configure to be aborted
3518 # by default if the 'rm' program in use doesn't match our expectations; the
3519 # user can still override this though.
3520 if rm -f && rm -fr && rm -rf; then : OK; else
3521 cat >&2 <<'END'
3522 Oops!
3523
3524 Your 'rm' program seems unable to run without file operands specified
3525 on the command line, even when the '-f' option is present. This is contrary
3526 to the behaviour of most rm programs out there, and not conforming with
3527 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3528
3529 Please tell bug-automake@gnu.org about your system, including the value
3530 of your $PATH and any error possibly output before this message. This
3531 can help us improve future automake versions.
3532
3533 END
3534 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3535 echo 'Configuration will proceed anyway, since you have set the' >&2
3536 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3537 echo >&2
3538 else
3539 cat >&2 <<'END'
3540 Aborting the configuration process, to ensure you take notice of the issue.
3541
3542 You can download and install GNU coreutils to get an 'rm' implementation
3543 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3544
3545 If you want to complete the configuration process using your problematic
3546 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3547 to "yes", and re-run configure.
3548
3549 END
3550 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3551 fi
3552 fi
3553
3554
3555
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3557 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3558 # Check whether --enable-maintainer-mode was given.
3559 if test "${enable_maintainer_mode+set}" = set; then :
3560 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3561 else
3562 USE_MAINTAINER_MODE=no
3563 fi
3564
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3566 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3567 if test $USE_MAINTAINER_MODE = yes; then
3568 MAINTAINER_MODE_TRUE=
3569 MAINTAINER_MODE_FALSE='#'
3570 else
3571 MAINTAINER_MODE_TRUE='#'
3572 MAINTAINER_MODE_FALSE=
3573 fi
3574
3575 MAINT=$MAINTAINER_MODE_TRUE
3576
3577
3578 # Default to --enable-multilib
3579 # Check whether --enable-multilib was given.
3580 if test "${enable_multilib+set}" = set; then :
3581 enableval=$enable_multilib; case "$enableval" in
3582 yes) multilib=yes ;;
3583 no) multilib=no ;;
3584 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3585 esac
3586 else
3587 multilib=yes
3588 fi
3589
3590
3591 # We may get other options which we leave undocumented:
3592 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3593 # See config-ml.in if you want the gory details.
3594
3595 if test "$srcdir" = "."; then
3596 if test "$with_target_subdir" != "."; then
3597 multi_basedir="$srcdir/$with_multisrctop../.."
3598 else
3599 multi_basedir="$srcdir/$with_multisrctop.."
3600 fi
3601 else
3602 multi_basedir="$srcdir/.."
3603 fi
3604
3605
3606 # Even if the default multilib is not a cross compilation,
3607 # it may be that some of the other multilibs are.
3608 if test $cross_compiling = no && test $multilib = yes \
3609 && test "x${with_multisubdir}" != x ; then
3610 cross_compiling=maybe
3611 fi
3612
3613 ac_config_commands="$ac_config_commands default-1"
3614
3615
3616 # Handy for debugging:
3617 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3618
3619 # Are we being configured with some form of cross compiler?
3620 # NB: We don't actually need to know this just now, but when, say, a test
3621 # suite is included, we'll have to know.
3622 if test "$build" != "$host"; then
3623 LIBGFOR_IS_NATIVE=false
3624
3625 else
3626 LIBGFOR_IS_NATIVE=true
3627 fi
3628
3629 DEPDIR="${am__leading_dot}deps"
3630
3631 ac_config_commands="$ac_config_commands depfiles"
3632
3633
3634 am_make=${MAKE-make}
3635 cat > confinc << 'END'
3636 am__doit:
3637 @echo this is the am__doit target
3638 .PHONY: am__doit
3639 END
3640 # If we don't find an include directive, just comment out the code.
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3642 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3643 am__include="#"
3644 am__quote=
3645 _am_result=none
3646 # First try GNU make style include.
3647 echo "include confinc" > confmf
3648 # Ignore all kinds of additional output from 'make'.
3649 case `$am_make -s -f confmf 2> /dev/null` in #(
3650 *the\ am__doit\ target*)
3651 am__include=include
3652 am__quote=
3653 _am_result=GNU
3654 ;;
3655 esac
3656 # Now try BSD make style include.
3657 if test "$am__include" = "#"; then
3658 echo '.include "confinc"' > confmf
3659 case `$am_make -s -f confmf 2> /dev/null` in #(
3660 *the\ am__doit\ target*)
3661 am__include=.include
3662 am__quote="\""
3663 _am_result=BSD
3664 ;;
3665 esac
3666 fi
3667
3668
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3670 $as_echo "$_am_result" >&6; }
3671 rm -f confinc confmf
3672
3673 # Check whether --enable-dependency-tracking was given.
3674 if test "${enable_dependency_tracking+set}" = set; then :
3675 enableval=$enable_dependency_tracking;
3676 fi
3677
3678 if test "x$enable_dependency_tracking" != xno; then
3679 am_depcomp="$ac_aux_dir/depcomp"
3680 AMDEPBACKSLASH='\'
3681 am__nodep='_no'
3682 fi
3683 if test "x$enable_dependency_tracking" != xno; then
3684 AMDEP_TRUE=
3685 AMDEP_FALSE='#'
3686 else
3687 AMDEP_TRUE='#'
3688 AMDEP_FALSE=
3689 fi
3690
3691
3692 ac_ext=c
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697 if test -n "$ac_tool_prefix"; then
3698 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3699 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if ${ac_cv_prog_CC+:} false; then :
3703 $as_echo_n "(cached) " >&6
3704 else
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC="$CC" # Let the user override the test.
3707 else
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3710 do
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3715 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 break 2
3718 fi
3719 done
3720 done
3721 IFS=$as_save_IFS
3722
3723 fi
3724 fi
3725 CC=$ac_cv_prog_CC
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3729 else
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3732 fi
3733
3734
3735 fi
3736 if test -z "$ac_cv_prog_CC"; then
3737 ac_ct_CC=$CC
3738 # Extract the first word of "gcc", so it can be a program name with args.
3739 set dummy gcc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$ac_ct_CC"; then
3746 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3750 do
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3755 ac_cv_prog_ac_ct_CC="gcc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3758 fi
3759 done
3760 done
3761 IFS=$as_save_IFS
3762
3763 fi
3764 fi
3765 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3766 if test -n "$ac_ct_CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768 $as_echo "$ac_ct_CC" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3772 fi
3773
3774 if test "x$ac_ct_CC" = x; then
3775 CC=""
3776 else
3777 case $cross_compiling:$ac_tool_warned in
3778 yes:)
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3781 ac_tool_warned=yes ;;
3782 esac
3783 CC=$ac_ct_CC
3784 fi
3785 else
3786 CC="$ac_cv_prog_CC"
3787 fi
3788
3789 if test -z "$CC"; then
3790 if test -n "$ac_tool_prefix"; then
3791 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3792 set dummy ${ac_tool_prefix}cc; ac_word=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_CC+:} false; then :
3796 $as_echo_n "(cached) " >&6
3797 else
3798 if test -n "$CC"; then
3799 ac_cv_prog_CC="$CC" # Let the user override the test.
3800 else
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 for as_dir in $PATH
3803 do
3804 IFS=$as_save_IFS
3805 test -z "$as_dir" && as_dir=.
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_CC="${ac_tool_prefix}cc"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 break 2
3811 fi
3812 done
3813 done
3814 IFS=$as_save_IFS
3815
3816 fi
3817 fi
3818 CC=$ac_cv_prog_CC
3819 if test -n "$CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821 $as_echo "$CC" >&6; }
3822 else
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3825 fi
3826
3827
3828 fi
3829 fi
3830 if test -z "$CC"; then
3831 # Extract the first word of "cc", so it can be a program name with args.
3832 set dummy cc; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_CC+:} false; then :
3836 $as_echo_n "(cached) " >&6
3837 else
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 else
3841 ac_prog_rejected=no
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3844 do
3845 IFS=$as_save_IFS
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3849 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3850 ac_prog_rejected=yes
3851 continue
3852 fi
3853 ac_cv_prog_CC="cc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3856 fi
3857 done
3858 done
3859 IFS=$as_save_IFS
3860
3861 if test $ac_prog_rejected = yes; then
3862 # We found a bogon in the path, so make sure we never use it.
3863 set dummy $ac_cv_prog_CC
3864 shift
3865 if test $# != 0; then
3866 # We chose a different compiler from the bogus one.
3867 # However, it has the same basename, so the bogon will be chosen
3868 # first if we set CC to just the basename; use the full file name.
3869 shift
3870 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3871 fi
3872 fi
3873 fi
3874 fi
3875 CC=$ac_cv_prog_CC
3876 if test -n "$CC"; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3878 $as_echo "$CC" >&6; }
3879 else
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3882 fi
3883
3884
3885 fi
3886 if test -z "$CC"; then
3887 if test -n "$ac_tool_prefix"; then
3888 for ac_prog in cl.exe
3889 do
3890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_CC+:} false; then :
3895 $as_echo_n "(cached) " >&6
3896 else
3897 if test -n "$CC"; then
3898 ac_cv_prog_CC="$CC" # Let the user override the test.
3899 else
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 for as_dir in $PATH
3902 do
3903 IFS=$as_save_IFS
3904 test -z "$as_dir" && as_dir=.
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 break 2
3910 fi
3911 done
3912 done
3913 IFS=$as_save_IFS
3914
3915 fi
3916 fi
3917 CC=$ac_cv_prog_CC
3918 if test -n "$CC"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920 $as_echo "$CC" >&6; }
3921 else
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3924 fi
3925
3926
3927 test -n "$CC" && break
3928 done
3929 fi
3930 if test -z "$CC"; then
3931 ac_ct_CC=$CC
3932 for ac_prog in cl.exe
3933 do
3934 # Extract the first word of "$ac_prog", so it can be a program name with args.
3935 set dummy $ac_prog; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$ac_ct_CC"; then
3942 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3943 else
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $PATH
3946 do
3947 IFS=$as_save_IFS
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_ac_ct_CC="$ac_prog"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3954 fi
3955 done
3956 done
3957 IFS=$as_save_IFS
3958
3959 fi
3960 fi
3961 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3962 if test -n "$ac_ct_CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3964 $as_echo "$ac_ct_CC" >&6; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3968 fi
3969
3970
3971 test -n "$ac_ct_CC" && break
3972 done
3973
3974 if test "x$ac_ct_CC" = x; then
3975 CC=""
3976 else
3977 case $cross_compiling:$ac_tool_warned in
3978 yes:)
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981 ac_tool_warned=yes ;;
3982 esac
3983 CC=$ac_ct_CC
3984 fi
3985 fi
3986
3987 fi
3988
3989
3990 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error $? "no acceptable C compiler found in \$PATH
3993 See \`config.log' for more details" "$LINENO" 5; }
3994
3995 # Provide some information about the compiler.
3996 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3997 set X $ac_compile
3998 ac_compiler=$2
3999 for ac_option in --version -v -V -qversion; do
4000 { { ac_try="$ac_compiler $ac_option >&5"
4001 case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4004 esac
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4008 ac_status=$?
4009 if test -s conftest.err; then
4010 sed '10a\
4011 ... rest of stderr output deleted ...
4012 10q' conftest.err >conftest.er1
4013 cat conftest.er1 >&5
4014 fi
4015 rm -f conftest.er1 conftest.err
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }
4018 done
4019
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4022 #include <stdio.h>
4023 int
4024 main ()
4025 {
4026 printf ("hello world\n");
4027 ;
4028 return 0;
4029 }
4030 _ACEOF
4031 # FIXME: Cleanup?
4032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4033 (eval $ac_link) 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 gcc_no_link=no
4038 else
4039 gcc_no_link=yes
4040 fi
4041 if test x$gcc_no_link = xyes; then
4042 # Setting cross_compile will disable run tests; it will
4043 # also disable AC_CHECK_FILE but that's generally
4044 # correct if we can't link.
4045 cross_compiling=yes
4046 EXEEXT=
4047 else
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4050
4051 int
4052 main ()
4053 {
4054
4055 ;
4056 return 0;
4057 }
4058 _ACEOF
4059 ac_clean_files_save=$ac_clean_files
4060 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4061 # Try to create an executable without -o first, disregard a.out.
4062 # It will help us diagnose broken compilers, and finding out an intuition
4063 # of exeext.
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4065 $as_echo_n "checking whether the C compiler works... " >&6; }
4066 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4067
4068 # The possible output files:
4069 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4070
4071 ac_rmfiles=
4072 for ac_file in $ac_files
4073 do
4074 case $ac_file in
4075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4076 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4077 esac
4078 done
4079 rm -f $ac_rmfiles
4080
4081 if { { ac_try="$ac_link_default"
4082 case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_link_default") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; then :
4092 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4093 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4094 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4095 # so that the user can short-circuit this test for compilers unknown to
4096 # Autoconf.
4097 for ac_file in $ac_files ''
4098 do
4099 test -f "$ac_file" || continue
4100 case $ac_file in
4101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4102 ;;
4103 [ab].out )
4104 # We found the default executable, but exeext='' is most
4105 # certainly right.
4106 break;;
4107 *.* )
4108 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4109 then :; else
4110 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4111 fi
4112 # We set ac_cv_exeext here because the later test for it is not
4113 # safe: cross compilers may not add the suffix if given an `-o'
4114 # argument, so we may need to know it at that point already.
4115 # Even if this section looks crufty: it has the advantage of
4116 # actually working.
4117 break;;
4118 * )
4119 break;;
4120 esac
4121 done
4122 test "$ac_cv_exeext" = no && ac_cv_exeext=
4123
4124 else
4125 ac_file=''
4126 fi
4127 if test -z "$ac_file"; then :
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4130 $as_echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.$ac_ext >&5
4132
4133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4135 as_fn_error 77 "C compiler cannot create executables
4136 See \`config.log' for more details" "$LINENO" 5; }
4137 else
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4139 $as_echo "yes" >&6; }
4140 fi
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4142 $as_echo_n "checking for C compiler default output file name... " >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4144 $as_echo "$ac_file" >&6; }
4145 ac_exeext=$ac_cv_exeext
4146
4147 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4148 ac_clean_files=$ac_clean_files_save
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4150 $as_echo_n "checking for suffix of executables... " >&6; }
4151 if { { ac_try="$ac_link"
4152 case "(($ac_try" in
4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4155 esac
4156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4157 $as_echo "$ac_try_echo"; } >&5
4158 (eval "$ac_link") 2>&5
4159 ac_status=$?
4160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4161 test $ac_status = 0; }; then :
4162 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4163 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4164 # work properly (i.e., refer to `conftest.exe'), while it won't with
4165 # `rm'.
4166 for ac_file in conftest.exe conftest conftest.*; do
4167 test -f "$ac_file" || continue
4168 case $ac_file in
4169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4170 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4171 break;;
4172 * ) break;;
4173 esac
4174 done
4175 else
4176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4179 See \`config.log' for more details" "$LINENO" 5; }
4180 fi
4181 rm -f conftest conftest$ac_cv_exeext
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4183 $as_echo "$ac_cv_exeext" >&6; }
4184
4185 rm -f conftest.$ac_ext
4186 EXEEXT=$ac_cv_exeext
4187 ac_exeext=$EXEEXT
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4190 #include <stdio.h>
4191 int
4192 main ()
4193 {
4194 FILE *f = fopen ("conftest.out", "w");
4195 return ferror (f) || fclose (f) != 0;
4196
4197 ;
4198 return 0;
4199 }
4200 _ACEOF
4201 ac_clean_files="$ac_clean_files conftest.out"
4202 # Check that the compiler produces executables we can run. If not, either
4203 # the compiler is broken, or we cross compile.
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4205 $as_echo_n "checking whether we are cross compiling... " >&6; }
4206 if test "$cross_compiling" != yes; then
4207 { { ac_try="$ac_link"
4208 case "(($ac_try" in
4209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4211 esac
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_link") 2>&5
4215 ac_status=$?
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }
4218 if { ac_try='./conftest$ac_cv_exeext'
4219 { { case "(($ac_try" in
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4222 esac
4223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225 (eval "$ac_try") 2>&5
4226 ac_status=$?
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; }; }; then
4229 cross_compiling=no
4230 else
4231 if test "$cross_compiling" = maybe; then
4232 cross_compiling=yes
4233 else
4234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error $? "cannot run C compiled programs.
4237 If you meant to cross compile, use \`--host'.
4238 See \`config.log' for more details" "$LINENO" 5; }
4239 fi
4240 fi
4241 fi
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4243 $as_echo "$cross_compiling" >&6; }
4244
4245 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4246 ac_clean_files=$ac_clean_files_save
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4249 $as_echo_n "checking for suffix of object files... " >&6; }
4250 if ${ac_cv_objext+:} false; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4255
4256 int
4257 main ()
4258 {
4259
4260 ;
4261 return 0;
4262 }
4263 _ACEOF
4264 rm -f conftest.o conftest.obj
4265 if { { ac_try="$ac_compile"
4266 case "(($ac_try" in
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4269 esac
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
4272 (eval "$ac_compile") 2>&5
4273 ac_status=$?
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }; then :
4276 for ac_file in conftest.o conftest.obj conftest.*; do
4277 test -f "$ac_file" || continue;
4278 case $ac_file in
4279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4280 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4281 break;;
4282 esac
4283 done
4284 else
4285 $as_echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4287
4288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4290 as_fn_error $? "cannot compute suffix of object files: cannot compile
4291 See \`config.log' for more details" "$LINENO" 5; }
4292 fi
4293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4294 fi
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4296 $as_echo "$ac_cv_objext" >&6; }
4297 OBJEXT=$ac_cv_objext
4298 ac_objext=$OBJEXT
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4300 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4301 if ${ac_cv_c_compiler_gnu+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4306
4307 int
4308 main ()
4309 {
4310 #ifndef __GNUC__
4311 choke me
4312 #endif
4313
4314 ;
4315 return 0;
4316 }
4317 _ACEOF
4318 if ac_fn_c_try_compile "$LINENO"; then :
4319 ac_compiler_gnu=yes
4320 else
4321 ac_compiler_gnu=no
4322 fi
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4325
4326 fi
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4328 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4329 if test $ac_compiler_gnu = yes; then
4330 GCC=yes
4331 else
4332 GCC=
4333 fi
4334 ac_test_CFLAGS=${CFLAGS+set}
4335 ac_save_CFLAGS=$CFLAGS
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4337 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4338 if ${ac_cv_prog_cc_g+:} false; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 ac_save_c_werror_flag=$ac_c_werror_flag
4342 ac_c_werror_flag=yes
4343 ac_cv_prog_cc_g=no
4344 CFLAGS="-g"
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4347
4348 int
4349 main ()
4350 {
4351
4352 ;
4353 return 0;
4354 }
4355 _ACEOF
4356 if ac_fn_c_try_compile "$LINENO"; then :
4357 ac_cv_prog_cc_g=yes
4358 else
4359 CFLAGS=""
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4362
4363 int
4364 main ()
4365 {
4366
4367 ;
4368 return 0;
4369 }
4370 _ACEOF
4371 if ac_fn_c_try_compile "$LINENO"; then :
4372
4373 else
4374 ac_c_werror_flag=$ac_save_c_werror_flag
4375 CFLAGS="-g"
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4378
4379 int
4380 main ()
4381 {
4382
4383 ;
4384 return 0;
4385 }
4386 _ACEOF
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_g=yes
4389 fi
4390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4391 fi
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393 fi
4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395 ac_c_werror_flag=$ac_save_c_werror_flag
4396 fi
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4398 $as_echo "$ac_cv_prog_cc_g" >&6; }
4399 if test "$ac_test_CFLAGS" = set; then
4400 CFLAGS=$ac_save_CFLAGS
4401 elif test $ac_cv_prog_cc_g = yes; then
4402 if test "$GCC" = yes; then
4403 CFLAGS="-g -O2"
4404 else
4405 CFLAGS="-g"
4406 fi
4407 else
4408 if test "$GCC" = yes; then
4409 CFLAGS="-O2"
4410 else
4411 CFLAGS=
4412 fi
4413 fi
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4415 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4416 if ${ac_cv_prog_cc_c89+:} false; then :
4417 $as_echo_n "(cached) " >&6
4418 else
4419 ac_cv_prog_cc_c89=no
4420 ac_save_CC=$CC
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4423 #include <stdarg.h>
4424 #include <stdio.h>
4425 struct stat;
4426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4427 struct buf { int x; };
4428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4429 static char *e (p, i)
4430 char **p;
4431 int i;
4432 {
4433 return p[i];
4434 }
4435 static char *f (char * (*g) (char **, int), char **p, ...)
4436 {
4437 char *s;
4438 va_list v;
4439 va_start (v,p);
4440 s = g (p, va_arg (v,int));
4441 va_end (v);
4442 return s;
4443 }
4444
4445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4446 function prototypes and stuff, but not '\xHH' hex character constants.
4447 These don't provoke an error unfortunately, instead are silently treated
4448 as 'x'. The following induces an error, until -std is added to get
4449 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4450 array size at least. It's necessary to write '\x00'==0 to get something
4451 that's true only with -std. */
4452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4453
4454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4455 inside strings and character constants. */
4456 #define FOO(x) 'x'
4457 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4458
4459 int test (int i, double x);
4460 struct s1 {int (*f) (int a);};
4461 struct s2 {int (*f) (double a);};
4462 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4463 int argc;
4464 char **argv;
4465 int
4466 main ()
4467 {
4468 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4469 ;
4470 return 0;
4471 }
4472 _ACEOF
4473 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4474 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4475 do
4476 CC="$ac_save_CC $ac_arg"
4477 if ac_fn_c_try_compile "$LINENO"; then :
4478 ac_cv_prog_cc_c89=$ac_arg
4479 fi
4480 rm -f core conftest.err conftest.$ac_objext
4481 test "x$ac_cv_prog_cc_c89" != "xno" && break
4482 done
4483 rm -f conftest.$ac_ext
4484 CC=$ac_save_CC
4485
4486 fi
4487 # AC_CACHE_VAL
4488 case "x$ac_cv_prog_cc_c89" in
4489 x)
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4491 $as_echo "none needed" >&6; } ;;
4492 xno)
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4494 $as_echo "unsupported" >&6; } ;;
4495 *)
4496 CC="$CC $ac_cv_prog_cc_c89"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4498 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4499 esac
4500 if test "x$ac_cv_prog_cc_c89" != xno; then :
4501
4502 fi
4503
4504 ac_ext=c
4505 ac_cpp='$CPP $CPPFLAGS'
4506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4509
4510 ac_ext=c
4511 ac_cpp='$CPP $CPPFLAGS'
4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4516 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4517 if ${am_cv_prog_cc_c_o+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4522
4523 int
4524 main ()
4525 {
4526
4527 ;
4528 return 0;
4529 }
4530 _ACEOF
4531 # Make sure it works both with $CC and with simple cc.
4532 # Following AC_PROG_CC_C_O, we do the test twice because some
4533 # compilers refuse to overwrite an existing .o file with -o,
4534 # though they will create one.
4535 am_cv_prog_cc_c_o=yes
4536 for am_i in 1 2; do
4537 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4538 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4539 ac_status=$?
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } \
4542 && test -f conftest2.$ac_objext; then
4543 : OK
4544 else
4545 am_cv_prog_cc_c_o=no
4546 break
4547 fi
4548 done
4549 rm -f core conftest*
4550 unset am_i
4551 fi
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4553 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4554 if test "$am_cv_prog_cc_c_o" != yes; then
4555 # Losing compiler, so override with the script.
4556 # FIXME: It is wrong to rewrite CC.
4557 # But if we don't then we get into trouble of one sort or another.
4558 # A longer-term fix would be to have automake use am__CC in this case,
4559 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4560 CC="$am_aux_dir/compile $CC"
4561 fi
4562 ac_ext=c
4563 ac_cpp='$CPP $CPPFLAGS'
4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4567
4568
4569 depcc="$CC" am_compiler_list=
4570
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4572 $as_echo_n "checking dependency style of $depcc... " >&6; }
4573 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4577 # We make a subdir and do the tests there. Otherwise we can end up
4578 # making bogus files that we don't know about and never remove. For
4579 # instance it was reported that on HP-UX the gcc test will end up
4580 # making a dummy file named 'D' -- because '-MD' means "put the output
4581 # in D".
4582 rm -rf conftest.dir
4583 mkdir conftest.dir
4584 # Copy depcomp to subdir because otherwise we won't find it if we're
4585 # using a relative directory.
4586 cp "$am_depcomp" conftest.dir
4587 cd conftest.dir
4588 # We will build objects and dependencies in a subdirectory because
4589 # it helps to detect inapplicable dependency modes. For instance
4590 # both Tru64's cc and ICC support -MD to output dependencies as a
4591 # side effect of compilation, but ICC will put the dependencies in
4592 # the current directory while Tru64 will put them in the object
4593 # directory.
4594 mkdir sub
4595
4596 am_cv_CC_dependencies_compiler_type=none
4597 if test "$am_compiler_list" = ""; then
4598 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4599 fi
4600 am__universal=false
4601 case " $depcc " in #(
4602 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4603 esac
4604
4605 for depmode in $am_compiler_list; do
4606 # Setup a source with many dependencies, because some compilers
4607 # like to wrap large dependency lists on column 80 (with \), and
4608 # we should not choose a depcomp mode which is confused by this.
4609 #
4610 # We need to recreate these files for each test, as the compiler may
4611 # overwrite some of them when testing with obscure command lines.
4612 # This happens at least with the AIX C compiler.
4613 : > sub/conftest.c
4614 for i in 1 2 3 4 5 6; do
4615 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4616 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4617 # Solaris 10 /bin/sh.
4618 echo '/* dummy */' > sub/conftst$i.h
4619 done
4620 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4621
4622 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4623 # mode. It turns out that the SunPro C++ compiler does not properly
4624 # handle '-M -o', and we need to detect this. Also, some Intel
4625 # versions had trouble with output in subdirs.
4626 am__obj=sub/conftest.${OBJEXT-o}
4627 am__minus_obj="-o $am__obj"
4628 case $depmode in
4629 gcc)
4630 # This depmode causes a compiler race in universal mode.
4631 test "$am__universal" = false || continue
4632 ;;
4633 nosideeffect)
4634 # After this tag, mechanisms are not by side-effect, so they'll
4635 # only be used when explicitly requested.
4636 if test "x$enable_dependency_tracking" = xyes; then
4637 continue
4638 else
4639 break
4640 fi
4641 ;;
4642 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4643 # This compiler won't grok '-c -o', but also, the minuso test has
4644 # not run yet. These depmodes are late enough in the game, and
4645 # so weak that their functioning should not be impacted.
4646 am__obj=conftest.${OBJEXT-o}
4647 am__minus_obj=
4648 ;;
4649 none) break ;;
4650 esac
4651 if depmode=$depmode \
4652 source=sub/conftest.c object=$am__obj \
4653 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4654 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4655 >/dev/null 2>conftest.err &&
4656 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4657 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4658 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4659 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4660 # icc doesn't choke on unknown options, it will just issue warnings
4661 # or remarks (even with -Werror). So we grep stderr for any message
4662 # that says an option was ignored or not supported.
4663 # When given -MP, icc 7.0 and 7.1 complain thusly:
4664 # icc: Command line warning: ignoring option '-M'; no argument required
4665 # The diagnosis changed in icc 8.0:
4666 # icc: Command line remark: option '-MP' not supported
4667 if (grep 'ignoring option' conftest.err ||
4668 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4669 am_cv_CC_dependencies_compiler_type=$depmode
4670 break
4671 fi
4672 fi
4673 done
4674
4675 cd ..
4676 rm -rf conftest.dir
4677 else
4678 am_cv_CC_dependencies_compiler_type=none
4679 fi
4680
4681 fi
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4683 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4684 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4685
4686 if
4687 test "x$enable_dependency_tracking" != xno \
4688 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4689 am__fastdepCC_TRUE=
4690 am__fastdepCC_FALSE='#'
4691 else
4692 am__fastdepCC_TRUE='#'
4693 am__fastdepCC_FALSE=
4694 fi
4695
4696
4697
4698 ac_ext=c
4699 ac_cpp='$CPP $CPPFLAGS'
4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4704 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4705 # On Suns, sometimes $CPP names a directory.
4706 if test -n "$CPP" && test -d "$CPP"; then
4707 CPP=
4708 fi
4709 if test -z "$CPP"; then
4710 if ${ac_cv_prog_CPP+:} false; then :
4711 $as_echo_n "(cached) " >&6
4712 else
4713 # Double quotes because CPP needs to be expanded
4714 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4715 do
4716 ac_preproc_ok=false
4717 for ac_c_preproc_warn_flag in '' yes
4718 do
4719 # Use a header file that comes with gcc, so configuring glibc
4720 # with a fresh cross-compiler works.
4721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4722 # <limits.h> exists even on freestanding compilers.
4723 # On the NeXT, cc -E runs the code through the compiler's parser,
4724 # not just through cpp. "Syntax error" is here to catch this case.
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4727 #ifdef __STDC__
4728 # include <limits.h>
4729 #else
4730 # include <assert.h>
4731 #endif
4732 Syntax error
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735
4736 else
4737 # Broken: fails on valid input.
4738 continue
4739 fi
4740 rm -f conftest.err conftest.i conftest.$ac_ext
4741
4742 # OK, works on sane cases. Now check whether nonexistent headers
4743 # can be detected and how.
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4746 #include <ac_nonexistent.h>
4747 _ACEOF
4748 if ac_fn_c_try_cpp "$LINENO"; then :
4749 # Broken: success on invalid input.
4750 continue
4751 else
4752 # Passes both tests.
4753 ac_preproc_ok=:
4754 break
4755 fi
4756 rm -f conftest.err conftest.i conftest.$ac_ext
4757
4758 done
4759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4760 rm -f conftest.i conftest.err conftest.$ac_ext
4761 if $ac_preproc_ok; then :
4762 break
4763 fi
4764
4765 done
4766 ac_cv_prog_CPP=$CPP
4767
4768 fi
4769 CPP=$ac_cv_prog_CPP
4770 else
4771 ac_cv_prog_CPP=$CPP
4772 fi
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4774 $as_echo "$CPP" >&6; }
4775 ac_preproc_ok=false
4776 for ac_c_preproc_warn_flag in '' yes
4777 do
4778 # Use a header file that comes with gcc, so configuring glibc
4779 # with a fresh cross-compiler works.
4780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4781 # <limits.h> exists even on freestanding compilers.
4782 # On the NeXT, cc -E runs the code through the compiler's parser,
4783 # not just through cpp. "Syntax error" is here to catch this case.
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4786 #ifdef __STDC__
4787 # include <limits.h>
4788 #else
4789 # include <assert.h>
4790 #endif
4791 Syntax error
4792 _ACEOF
4793 if ac_fn_c_try_cpp "$LINENO"; then :
4794
4795 else
4796 # Broken: fails on valid input.
4797 continue
4798 fi
4799 rm -f conftest.err conftest.i conftest.$ac_ext
4800
4801 # OK, works on sane cases. Now check whether nonexistent headers
4802 # can be detected and how.
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 #include <ac_nonexistent.h>
4806 _ACEOF
4807 if ac_fn_c_try_cpp "$LINENO"; then :
4808 # Broken: success on invalid input.
4809 continue
4810 else
4811 # Passes both tests.
4812 ac_preproc_ok=:
4813 break
4814 fi
4815 rm -f conftest.err conftest.i conftest.$ac_ext
4816
4817 done
4818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4819 rm -f conftest.i conftest.err conftest.$ac_ext
4820 if $ac_preproc_ok; then :
4821
4822 else
4823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4825 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4826 See \`config.log' for more details" "$LINENO" 5; }
4827 fi
4828
4829 ac_ext=c
4830 ac_cpp='$CPP $CPPFLAGS'
4831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4834
4835
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4837 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4838 if ${ac_cv_path_GREP+:} false; then :
4839 $as_echo_n "(cached) " >&6
4840 else
4841 if test -z "$GREP"; then
4842 ac_path_GREP_found=false
4843 # Loop through the user's path and test for each of PROGNAME-LIST
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4846 do
4847 IFS=$as_save_IFS
4848 test -z "$as_dir" && as_dir=.
4849 for ac_prog in grep ggrep; do
4850 for ac_exec_ext in '' $ac_executable_extensions; do
4851 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4852 as_fn_executable_p "$ac_path_GREP" || continue
4853 # Check for GNU ac_path_GREP and select it if it is found.
4854 # Check for GNU $ac_path_GREP
4855 case `"$ac_path_GREP" --version 2>&1` in
4856 *GNU*)
4857 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4858 *)
4859 ac_count=0
4860 $as_echo_n 0123456789 >"conftest.in"
4861 while :
4862 do
4863 cat "conftest.in" "conftest.in" >"conftest.tmp"
4864 mv "conftest.tmp" "conftest.in"
4865 cp "conftest.in" "conftest.nl"
4866 $as_echo 'GREP' >> "conftest.nl"
4867 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4868 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4869 as_fn_arith $ac_count + 1 && ac_count=$as_val
4870 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4871 # Best one so far, save it but keep looking for a better one
4872 ac_cv_path_GREP="$ac_path_GREP"
4873 ac_path_GREP_max=$ac_count
4874 fi
4875 # 10*(2^10) chars as input seems more than enough
4876 test $ac_count -gt 10 && break
4877 done
4878 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4879 esac
4880
4881 $ac_path_GREP_found && break 3
4882 done
4883 done
4884 done
4885 IFS=$as_save_IFS
4886 if test -z "$ac_cv_path_GREP"; then
4887 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4888 fi
4889 else
4890 ac_cv_path_GREP=$GREP
4891 fi
4892
4893 fi
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4895 $as_echo "$ac_cv_path_GREP" >&6; }
4896 GREP="$ac_cv_path_GREP"
4897
4898
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4900 $as_echo_n "checking for egrep... " >&6; }
4901 if ${ac_cv_path_EGREP+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4905 then ac_cv_path_EGREP="$GREP -E"
4906 else
4907 if test -z "$EGREP"; then
4908 ac_path_EGREP_found=false
4909 # Loop through the user's path and test for each of PROGNAME-LIST
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4912 do
4913 IFS=$as_save_IFS
4914 test -z "$as_dir" && as_dir=.
4915 for ac_prog in egrep; do
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4918 as_fn_executable_p "$ac_path_EGREP" || continue
4919 # Check for GNU ac_path_EGREP and select it if it is found.
4920 # Check for GNU $ac_path_EGREP
4921 case `"$ac_path_EGREP" --version 2>&1` in
4922 *GNU*)
4923 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4924 *)
4925 ac_count=0
4926 $as_echo_n 0123456789 >"conftest.in"
4927 while :
4928 do
4929 cat "conftest.in" "conftest.in" >"conftest.tmp"
4930 mv "conftest.tmp" "conftest.in"
4931 cp "conftest.in" "conftest.nl"
4932 $as_echo 'EGREP' >> "conftest.nl"
4933 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4934 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4935 as_fn_arith $ac_count + 1 && ac_count=$as_val
4936 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4937 # Best one so far, save it but keep looking for a better one
4938 ac_cv_path_EGREP="$ac_path_EGREP"
4939 ac_path_EGREP_max=$ac_count
4940 fi
4941 # 10*(2^10) chars as input seems more than enough
4942 test $ac_count -gt 10 && break
4943 done
4944 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4945 esac
4946
4947 $ac_path_EGREP_found && break 3
4948 done
4949 done
4950 done
4951 IFS=$as_save_IFS
4952 if test -z "$ac_cv_path_EGREP"; then
4953 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4954 fi
4955 else
4956 ac_cv_path_EGREP=$EGREP
4957 fi
4958
4959 fi
4960 fi
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4962 $as_echo "$ac_cv_path_EGREP" >&6; }
4963 EGREP="$ac_cv_path_EGREP"
4964
4965
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4967 $as_echo_n "checking for ANSI C header files... " >&6; }
4968 if ${ac_cv_header_stdc+:} false; then :
4969 $as_echo_n "(cached) " >&6
4970 else
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4973 #include <stdlib.h>
4974 #include <stdarg.h>
4975 #include <string.h>
4976 #include <float.h>
4977
4978 int
4979 main ()
4980 {
4981
4982 ;
4983 return 0;
4984 }
4985 _ACEOF
4986 if ac_fn_c_try_compile "$LINENO"; then :
4987 ac_cv_header_stdc=yes
4988 else
4989 ac_cv_header_stdc=no
4990 fi
4991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4992
4993 if test $ac_cv_header_stdc = yes; then
4994 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
4997 #include <string.h>
4998
4999 _ACEOF
5000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5001 $EGREP "memchr" >/dev/null 2>&1; then :
5002
5003 else
5004 ac_cv_header_stdc=no
5005 fi
5006 rm -f conftest*
5007
5008 fi
5009
5010 if test $ac_cv_header_stdc = yes; then
5011 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5014 #include <stdlib.h>
5015
5016 _ACEOF
5017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5018 $EGREP "free" >/dev/null 2>&1; then :
5019
5020 else
5021 ac_cv_header_stdc=no
5022 fi
5023 rm -f conftest*
5024
5025 fi
5026
5027 if test $ac_cv_header_stdc = yes; then
5028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5029 if test "$cross_compiling" = yes; then :
5030 :
5031 else
5032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5034 #include <ctype.h>
5035 #include <stdlib.h>
5036 #if ((' ' & 0x0FF) == 0x020)
5037 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5038 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5039 #else
5040 # define ISLOWER(c) \
5041 (('a' <= (c) && (c) <= 'i') \
5042 || ('j' <= (c) && (c) <= 'r') \
5043 || ('s' <= (c) && (c) <= 'z'))
5044 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5045 #endif
5046
5047 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5048 int
5049 main ()
5050 {
5051 int i;
5052 for (i = 0; i < 256; i++)
5053 if (XOR (islower (i), ISLOWER (i))
5054 || toupper (i) != TOUPPER (i))
5055 return 2;
5056 return 0;
5057 }
5058 _ACEOF
5059 if ac_fn_c_try_run "$LINENO"; then :
5060
5061 else
5062 ac_cv_header_stdc=no
5063 fi
5064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5065 conftest.$ac_objext conftest.beam conftest.$ac_ext
5066 fi
5067
5068 fi
5069 fi
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5071 $as_echo "$ac_cv_header_stdc" >&6; }
5072 if test $ac_cv_header_stdc = yes; then
5073
5074 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5075
5076 fi
5077
5078 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5079 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5080 inttypes.h stdint.h unistd.h
5081 do :
5082 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5083 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5084 "
5085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5086 cat >>confdefs.h <<_ACEOF
5087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5088 _ACEOF
5089
5090 fi
5091
5092 done
5093
5094
5095
5096 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5097 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5098 MINIX=yes
5099 else
5100 MINIX=
5101 fi
5102
5103
5104 if test "$MINIX" = yes; then
5105
5106 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5107
5108
5109 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5110
5111
5112 $as_echo "#define _MINIX 1" >>confdefs.h
5113
5114 fi
5115
5116
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5118 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5119 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5124
5125 # define __EXTENSIONS__ 1
5126 $ac_includes_default
5127 int
5128 main ()
5129 {
5130
5131 ;
5132 return 0;
5133 }
5134 _ACEOF
5135 if ac_fn_c_try_compile "$LINENO"; then :
5136 ac_cv_safe_to_define___extensions__=yes
5137 else
5138 ac_cv_safe_to_define___extensions__=no
5139 fi
5140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5141 fi
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5143 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5144 test $ac_cv_safe_to_define___extensions__ = yes &&
5145 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5146
5147 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5148
5149 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5150
5151 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5152
5153 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5154
5155
5156
5157
5158 # Check whether --with-toolexeclibdir was given.
5159 if test "${with_toolexeclibdir+set}" = set; then :
5160 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5161 /)
5162 ;;
5163 */)
5164 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5165 ;;
5166 esac
5167 else
5168 with_toolexeclibdir=no
5169 fi
5170
5171
5172
5173 # Calculate toolexeclibdir
5174 # Also toolexecdir, though it's only used in toolexeclibdir
5175 case ${version_specific_libs} in
5176 yes)
5177 # Need the gcc compiler version to know where to install libraries
5178 # and header files if --enable-version-specific-runtime-libs option
5179 # is selected.
5180 toolexecdir='$(libdir)/gcc/$(target_alias)'
5181 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5182 ;;
5183 no)
5184 if test -n "$with_cross_host" &&
5185 test x"$with_cross_host" != x"no"; then
5186 # Install a library built with a cross compiler in tooldir, not libdir.
5187 toolexecdir='$(exec_prefix)/$(target_alias)'
5188 case ${with_toolexeclibdir} in
5189 no)
5190 toolexeclibdir='$(toolexecdir)/lib'
5191 ;;
5192 *)
5193 toolexeclibdir=${with_toolexeclibdir}
5194 ;;
5195 esac
5196 else
5197 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5198 toolexeclibdir='$(libdir)'
5199 fi
5200 multi_os_directory=`$CC -print-multi-os-directory`
5201 case $multi_os_directory in
5202 .) ;; # Avoid trailing /.
5203 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5204 esac
5205 ;;
5206 esac
5207
5208
5209
5210 # Create a spec file, so that compile/link tests don't fail
5211 test -f libgfortran.spec || touch libgfortran.spec
5212
5213 ac_ext=c
5214 ac_cpp='$CPP $CPPFLAGS'
5215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5218
5219 # Check the compiler.
5220 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5221 # We must force CC to /not/ be precious variables; otherwise
5222 # the wrong, non-multilib-adjusted value will be used in multilibs.
5223 # As a side effect, we have to subst CFLAGS ourselves.
5224
5225
5226
5227 ac_ext=c
5228 ac_cpp='$CPP $CPPFLAGS'
5229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5232 if test -n "$ac_tool_prefix"; then
5233 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5234 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_CC+:} false; then :
5238 $as_echo_n "(cached) " >&6
5239 else
5240 if test -n "$CC"; then
5241 ac_cv_prog_CC="$CC" # Let the user override the test.
5242 else
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 for as_dir in $PATH
5245 do
5246 IFS=$as_save_IFS
5247 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 break 2
5253 fi
5254 done
5255 done
5256 IFS=$as_save_IFS
5257
5258 fi
5259 fi
5260 CC=$ac_cv_prog_CC
5261 if test -n "$CC"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5263 $as_echo "$CC" >&6; }
5264 else
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5267 fi
5268
5269
5270 fi
5271 if test -z "$ac_cv_prog_CC"; then
5272 ac_ct_CC=$CC
5273 # Extract the first word of "gcc", so it can be a program name with args.
5274 set dummy gcc; ac_word=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5278 $as_echo_n "(cached) " >&6
5279 else
5280 if test -n "$ac_ct_CC"; then
5281 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5282 else
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH
5285 do
5286 IFS=$as_save_IFS
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_CC="gcc"
5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 break 2
5293 fi
5294 done
5295 done
5296 IFS=$as_save_IFS
5297
5298 fi
5299 fi
5300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5301 if test -n "$ac_ct_CC"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5303 $as_echo "$ac_ct_CC" >&6; }
5304 else
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5307 fi
5308
5309 if test "x$ac_ct_CC" = x; then
5310 CC=""
5311 else
5312 case $cross_compiling:$ac_tool_warned in
5313 yes:)
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned=yes ;;
5317 esac
5318 CC=$ac_ct_CC
5319 fi
5320 else
5321 CC="$ac_cv_prog_CC"
5322 fi
5323
5324 if test -z "$CC"; then
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5327 set dummy ${ac_tool_prefix}cc; ac_word=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_CC+:} false; then :
5331 $as_echo_n "(cached) " >&6
5332 else
5333 if test -n "$CC"; then
5334 ac_cv_prog_CC="$CC" # Let the user override the test.
5335 else
5336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 for as_dir in $PATH
5338 do
5339 IFS=$as_save_IFS
5340 test -z "$as_dir" && as_dir=.
5341 for ac_exec_ext in '' $ac_executable_extensions; do
5342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_CC="${ac_tool_prefix}cc"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 break 2
5346 fi
5347 done
5348 done
5349 IFS=$as_save_IFS
5350
5351 fi
5352 fi
5353 CC=$ac_cv_prog_CC
5354 if test -n "$CC"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5356 $as_echo "$CC" >&6; }
5357 else
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5360 fi
5361
5362
5363 fi
5364 fi
5365 if test -z "$CC"; then
5366 # Extract the first word of "cc", so it can be a program name with args.
5367 set dummy cc; ac_word=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_CC+:} false; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 if test -n "$CC"; then
5374 ac_cv_prog_CC="$CC" # Let the user override the test.
5375 else
5376 ac_prog_rejected=no
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378 for as_dir in $PATH
5379 do
5380 IFS=$as_save_IFS
5381 test -z "$as_dir" && as_dir=.
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5384 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5385 ac_prog_rejected=yes
5386 continue
5387 fi
5388 ac_cv_prog_CC="cc"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5391 fi
5392 done
5393 done
5394 IFS=$as_save_IFS
5395
5396 if test $ac_prog_rejected = yes; then
5397 # We found a bogon in the path, so make sure we never use it.
5398 set dummy $ac_cv_prog_CC
5399 shift
5400 if test $# != 0; then
5401 # We chose a different compiler from the bogus one.
5402 # However, it has the same basename, so the bogon will be chosen
5403 # first if we set CC to just the basename; use the full file name.
5404 shift
5405 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5406 fi
5407 fi
5408 fi
5409 fi
5410 CC=$ac_cv_prog_CC
5411 if test -n "$CC"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5413 $as_echo "$CC" >&6; }
5414 else
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5417 fi
5418
5419
5420 fi
5421 if test -z "$CC"; then
5422 if test -n "$ac_tool_prefix"; then
5423 for ac_prog in cl.exe
5424 do
5425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_CC+:} false; then :
5430 $as_echo_n "(cached) " >&6
5431 else
5432 if test -n "$CC"; then
5433 ac_cv_prog_CC="$CC" # Let the user override the test.
5434 else
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH
5437 do
5438 IFS=$as_save_IFS
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 break 2
5445 fi
5446 done
5447 done
5448 IFS=$as_save_IFS
5449
5450 fi
5451 fi
5452 CC=$ac_cv_prog_CC
5453 if test -n "$CC"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5455 $as_echo "$CC" >&6; }
5456 else
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5459 fi
5460
5461
5462 test -n "$CC" && break
5463 done
5464 fi
5465 if test -z "$CC"; then
5466 ac_ct_CC=$CC
5467 for ac_prog in cl.exe
5468 do
5469 # Extract the first word of "$ac_prog", so it can be a program name with args.
5470 set dummy $ac_prog; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$ac_ct_CC"; then
5477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5481 do
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_CC="$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5489 fi
5490 done
5491 done
5492 IFS=$as_save_IFS
5493
5494 fi
5495 fi
5496 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5497 if test -n "$ac_ct_CC"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5499 $as_echo "$ac_ct_CC" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5503 fi
5504
5505
5506 test -n "$ac_ct_CC" && break
5507 done
5508
5509 if test "x$ac_ct_CC" = x; then
5510 CC=""
5511 else
5512 case $cross_compiling:$ac_tool_warned in
5513 yes:)
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5516 ac_tool_warned=yes ;;
5517 esac
5518 CC=$ac_ct_CC
5519 fi
5520 fi
5521
5522 fi
5523
5524
5525 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5527 as_fn_error $? "no acceptable C compiler found in \$PATH
5528 See \`config.log' for more details" "$LINENO" 5; }
5529
5530 # Provide some information about the compiler.
5531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5532 set X $ac_compile
5533 ac_compiler=$2
5534 for ac_option in --version -v -V -qversion; do
5535 { { ac_try="$ac_compiler $ac_option >&5"
5536 case "(($ac_try" in
5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5539 esac
5540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5541 $as_echo "$ac_try_echo"; } >&5
5542 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5543 ac_status=$?
5544 if test -s conftest.err; then
5545 sed '10a\
5546 ... rest of stderr output deleted ...
5547 10q' conftest.err >conftest.er1
5548 cat conftest.er1 >&5
5549 fi
5550 rm -f conftest.er1 conftest.err
5551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5552 test $ac_status = 0; }
5553 done
5554
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5556 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5557 if ${ac_cv_c_compiler_gnu+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5562
5563 int
5564 main ()
5565 {
5566 #ifndef __GNUC__
5567 choke me
5568 #endif
5569
5570 ;
5571 return 0;
5572 }
5573 _ACEOF
5574 if ac_fn_c_try_compile "$LINENO"; then :
5575 ac_compiler_gnu=yes
5576 else
5577 ac_compiler_gnu=no
5578 fi
5579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5580 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5581
5582 fi
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5584 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5585 if test $ac_compiler_gnu = yes; then
5586 GCC=yes
5587 else
5588 GCC=
5589 fi
5590 ac_test_CFLAGS=${CFLAGS+set}
5591 ac_save_CFLAGS=$CFLAGS
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5593 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5594 if ${ac_cv_prog_cc_g+:} false; then :
5595 $as_echo_n "(cached) " >&6
5596 else
5597 ac_save_c_werror_flag=$ac_c_werror_flag
5598 ac_c_werror_flag=yes
5599 ac_cv_prog_cc_g=no
5600 CFLAGS="-g"
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5603
5604 int
5605 main ()
5606 {
5607
5608 ;
5609 return 0;
5610 }
5611 _ACEOF
5612 if ac_fn_c_try_compile "$LINENO"; then :
5613 ac_cv_prog_cc_g=yes
5614 else
5615 CFLAGS=""
5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5618
5619 int
5620 main ()
5621 {
5622
5623 ;
5624 return 0;
5625 }
5626 _ACEOF
5627 if ac_fn_c_try_compile "$LINENO"; then :
5628
5629 else
5630 ac_c_werror_flag=$ac_save_c_werror_flag
5631 CFLAGS="-g"
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5634
5635 int
5636 main ()
5637 {
5638
5639 ;
5640 return 0;
5641 }
5642 _ACEOF
5643 if ac_fn_c_try_compile "$LINENO"; then :
5644 ac_cv_prog_cc_g=yes
5645 fi
5646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5647 fi
5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5649 fi
5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5651 ac_c_werror_flag=$ac_save_c_werror_flag
5652 fi
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5654 $as_echo "$ac_cv_prog_cc_g" >&6; }
5655 if test "$ac_test_CFLAGS" = set; then
5656 CFLAGS=$ac_save_CFLAGS
5657 elif test $ac_cv_prog_cc_g = yes; then
5658 if test "$GCC" = yes; then
5659 CFLAGS="-g -O2"
5660 else
5661 CFLAGS="-g"
5662 fi
5663 else
5664 if test "$GCC" = yes; then
5665 CFLAGS="-O2"
5666 else
5667 CFLAGS=
5668 fi
5669 fi
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5671 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5672 if ${ac_cv_prog_cc_c89+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 ac_cv_prog_cc_c89=no
5676 ac_save_CC=$CC
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5679 #include <stdarg.h>
5680 #include <stdio.h>
5681 struct stat;
5682 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5683 struct buf { int x; };
5684 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5685 static char *e (p, i)
5686 char **p;
5687 int i;
5688 {
5689 return p[i];
5690 }
5691 static char *f (char * (*g) (char **, int), char **p, ...)
5692 {
5693 char *s;
5694 va_list v;
5695 va_start (v,p);
5696 s = g (p, va_arg (v,int));
5697 va_end (v);
5698 return s;
5699 }
5700
5701 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5702 function prototypes and stuff, but not '\xHH' hex character constants.
5703 These don't provoke an error unfortunately, instead are silently treated
5704 as 'x'. The following induces an error, until -std is added to get
5705 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5706 array size at least. It's necessary to write '\x00'==0 to get something
5707 that's true only with -std. */
5708 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5709
5710 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5711 inside strings and character constants. */
5712 #define FOO(x) 'x'
5713 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5714
5715 int test (int i, double x);
5716 struct s1 {int (*f) (int a);};
5717 struct s2 {int (*f) (double a);};
5718 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5719 int argc;
5720 char **argv;
5721 int
5722 main ()
5723 {
5724 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5725 ;
5726 return 0;
5727 }
5728 _ACEOF
5729 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5730 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5731 do
5732 CC="$ac_save_CC $ac_arg"
5733 if ac_fn_c_try_compile "$LINENO"; then :
5734 ac_cv_prog_cc_c89=$ac_arg
5735 fi
5736 rm -f core conftest.err conftest.$ac_objext
5737 test "x$ac_cv_prog_cc_c89" != "xno" && break
5738 done
5739 rm -f conftest.$ac_ext
5740 CC=$ac_save_CC
5741
5742 fi
5743 # AC_CACHE_VAL
5744 case "x$ac_cv_prog_cc_c89" in
5745 x)
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5747 $as_echo "none needed" >&6; } ;;
5748 xno)
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5750 $as_echo "unsupported" >&6; } ;;
5751 *)
5752 CC="$CC $ac_cv_prog_cc_c89"
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5754 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5755 esac
5756 if test "x$ac_cv_prog_cc_c89" != xno; then :
5757
5758 fi
5759
5760 ac_ext=c
5761 ac_cpp='$CPP $CPPFLAGS'
5762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5765
5766 ac_ext=c
5767 ac_cpp='$CPP $CPPFLAGS'
5768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5772 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5773 if ${am_cv_prog_cc_c_o+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5777 /* end confdefs.h. */
5778
5779 int
5780 main ()
5781 {
5782
5783 ;
5784 return 0;
5785 }
5786 _ACEOF
5787 # Make sure it works both with $CC and with simple cc.
5788 # Following AC_PROG_CC_C_O, we do the test twice because some
5789 # compilers refuse to overwrite an existing .o file with -o,
5790 # though they will create one.
5791 am_cv_prog_cc_c_o=yes
5792 for am_i in 1 2; do
5793 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5794 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5795 ac_status=$?
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } \
5798 && test -f conftest2.$ac_objext; then
5799 : OK
5800 else
5801 am_cv_prog_cc_c_o=no
5802 break
5803 fi
5804 done
5805 rm -f core conftest*
5806 unset am_i
5807 fi
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5809 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5810 if test "$am_cv_prog_cc_c_o" != yes; then
5811 # Losing compiler, so override with the script.
5812 # FIXME: It is wrong to rewrite CC.
5813 # But if we don't then we get into trouble of one sort or another.
5814 # A longer-term fix would be to have automake use am__CC in this case,
5815 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5816 CC="$am_aux_dir/compile $CC"
5817 fi
5818 ac_ext=c
5819 ac_cpp='$CPP $CPPFLAGS'
5820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5823
5824
5825 depcc="$CC" am_compiler_list=
5826
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5828 $as_echo_n "checking dependency style of $depcc... " >&6; }
5829 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5833 # We make a subdir and do the tests there. Otherwise we can end up
5834 # making bogus files that we don't know about and never remove. For
5835 # instance it was reported that on HP-UX the gcc test will end up
5836 # making a dummy file named 'D' -- because '-MD' means "put the output
5837 # in D".
5838 rm -rf conftest.dir
5839 mkdir conftest.dir
5840 # Copy depcomp to subdir because otherwise we won't find it if we're
5841 # using a relative directory.
5842 cp "$am_depcomp" conftest.dir
5843 cd conftest.dir
5844 # We will build objects and dependencies in a subdirectory because
5845 # it helps to detect inapplicable dependency modes. For instance
5846 # both Tru64's cc and ICC support -MD to output dependencies as a
5847 # side effect of compilation, but ICC will put the dependencies in
5848 # the current directory while Tru64 will put them in the object
5849 # directory.
5850 mkdir sub
5851
5852 am_cv_CC_dependencies_compiler_type=none
5853 if test "$am_compiler_list" = ""; then
5854 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5855 fi
5856 am__universal=false
5857 case " $depcc " in #(
5858 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5859 esac
5860
5861 for depmode in $am_compiler_list; do
5862 # Setup a source with many dependencies, because some compilers
5863 # like to wrap large dependency lists on column 80 (with \), and
5864 # we should not choose a depcomp mode which is confused by this.
5865 #
5866 # We need to recreate these files for each test, as the compiler may
5867 # overwrite some of them when testing with obscure command lines.
5868 # This happens at least with the AIX C compiler.
5869 : > sub/conftest.c
5870 for i in 1 2 3 4 5 6; do
5871 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5872 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5873 # Solaris 10 /bin/sh.
5874 echo '/* dummy */' > sub/conftst$i.h
5875 done
5876 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5877
5878 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5879 # mode. It turns out that the SunPro C++ compiler does not properly
5880 # handle '-M -o', and we need to detect this. Also, some Intel
5881 # versions had trouble with output in subdirs.
5882 am__obj=sub/conftest.${OBJEXT-o}
5883 am__minus_obj="-o $am__obj"
5884 case $depmode in
5885 gcc)
5886 # This depmode causes a compiler race in universal mode.
5887 test "$am__universal" = false || continue
5888 ;;
5889 nosideeffect)
5890 # After this tag, mechanisms are not by side-effect, so they'll
5891 # only be used when explicitly requested.
5892 if test "x$enable_dependency_tracking" = xyes; then
5893 continue
5894 else
5895 break
5896 fi
5897 ;;
5898 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5899 # This compiler won't grok '-c -o', but also, the minuso test has
5900 # not run yet. These depmodes are late enough in the game, and
5901 # so weak that their functioning should not be impacted.
5902 am__obj=conftest.${OBJEXT-o}
5903 am__minus_obj=
5904 ;;
5905 none) break ;;
5906 esac
5907 if depmode=$depmode \
5908 source=sub/conftest.c object=$am__obj \
5909 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5910 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5911 >/dev/null 2>conftest.err &&
5912 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5913 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5914 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5915 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5916 # icc doesn't choke on unknown options, it will just issue warnings
5917 # or remarks (even with -Werror). So we grep stderr for any message
5918 # that says an option was ignored or not supported.
5919 # When given -MP, icc 7.0 and 7.1 complain thusly:
5920 # icc: Command line warning: ignoring option '-M'; no argument required
5921 # The diagnosis changed in icc 8.0:
5922 # icc: Command line remark: option '-MP' not supported
5923 if (grep 'ignoring option' conftest.err ||
5924 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5925 am_cv_CC_dependencies_compiler_type=$depmode
5926 break
5927 fi
5928 fi
5929 done
5930
5931 cd ..
5932 rm -rf conftest.dir
5933 else
5934 am_cv_CC_dependencies_compiler_type=none
5935 fi
5936
5937 fi
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5939 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5940 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5941
5942 if
5943 test "x$enable_dependency_tracking" != xno \
5944 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5945 am__fastdepCC_TRUE=
5946 am__fastdepCC_FALSE='#'
5947 else
5948 am__fastdepCC_TRUE='#'
5949 am__fastdepCC_FALSE=
5950 fi
5951
5952
5953
5954
5955
5956
5957
5958
5959 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5960 have_real_17=no
5961 if test "x$GCC" = "xyes"; then
5962 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5963 ## We like to use C11 and C99 routines when available. This makes
5964 ## sure that
5965 ## __STDC_VERSION__ is set such that libc includes make them available.
5966 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5967 ## Compile the following tests with the same system header contents
5968 ## that we'll encounter when compiling our own source files.
5969 CFLAGS="-std=gnu11 $CFLAGS"
5970
5971 case x$target in
5972 xpowerpc64le*-linux*)
5973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5975 #if __SIZEOF_LONG_DOUBLE__ != 16
5976 #error long double is double
5977 #endif
5978 int
5979 main ()
5980 {
5981 (void) 0;
5982 ;
5983 return 0;
5984 }
5985 _ACEOF
5986 if ac_fn_c_try_cpp "$LINENO"; then :
5987 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5988 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5989 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5990 have_real_17=yes
5991 fi
5992 rm -f conftest.err conftest.i conftest.$ac_ext
5993 ;;
5994 *)
5995 ;;
5996 esac
5997 fi
5998 if test "x$have_real_17" != xno; then
5999 HAVE_REAL_17_TRUE=
6000 HAVE_REAL_17_FALSE='#'
6001 else
6002 HAVE_REAL_17_TRUE='#'
6003 HAVE_REAL_17_FALSE=
6004 fi
6005
6006
6007 # Add CET specific flags if CET is enabled
6008 # Check whether --enable-cet was given.
6009 if test "${enable_cet+set}" = set; then :
6010 enableval=$enable_cet;
6011 case "$enableval" in
6012 yes|no|auto) ;;
6013 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6014 esac
6015
6016 else
6017 enable_cet=auto
6018 fi
6019
6020
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6022 $as_echo_n "checking for CET support... " >&6; }
6023
6024 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6025 case "$host" in
6026 i[34567]86-*-linux* | x86_64-*-linux*)
6027 case "$enable_cet" in
6028 auto)
6029 # Check if target supports multi-byte NOPs
6030 # and if compiler and assembler support CET insn.
6031 cet_save_CFLAGS="$CFLAGS"
6032 CFLAGS="$CFLAGS -fcf-protection"
6033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6035
6036 int
6037 main ()
6038 {
6039
6040 #if !defined(__SSE2__)
6041 #error target does not support multi-byte NOPs
6042 #else
6043 asm ("setssbsy");
6044 #endif
6045
6046 ;
6047 return 0;
6048 }
6049 _ACEOF
6050 if ac_fn_c_try_compile "$LINENO"; then :
6051 enable_cet=yes
6052 else
6053 enable_cet=no
6054 fi
6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 CFLAGS="$cet_save_CFLAGS"
6057 ;;
6058 yes)
6059 # Check if assembler supports CET.
6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6062
6063 int
6064 main ()
6065 {
6066 asm ("setssbsy");
6067 ;
6068 return 0;
6069 }
6070 _ACEOF
6071 if ac_fn_c_try_compile "$LINENO"; then :
6072
6073 else
6074 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6075 fi
6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6077 ;;
6078 esac
6079 ;;
6080 *)
6081 enable_cet=no
6082 ;;
6083 esac
6084 if test x$enable_cet = xyes; then
6085 CET_FLAGS="-fcf-protection -mshstk"
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6087 $as_echo "yes" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6091 fi
6092
6093 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6094 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6095 CFLAGS="$CFLAGS $CET_FLAGS"
6096
6097
6098
6099
6100
6101 # Check for symbol versioning (copied from libssp).
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6103 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6104 # Check whether --enable-symvers was given.
6105 if test "${enable_symvers+set}" = set; then :
6106 enableval=$enable_symvers; gfortran_use_symver=$enableval
6107 else
6108 gfortran_use_symver=yes
6109 fi
6110
6111 if test "x$gfortran_use_symver" != xno; then
6112 save_LDFLAGS="$LDFLAGS"
6113 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6114 cat > conftest.map <<EOF
6115 FOO_1.0 {
6116 global: *foo*; bar; local: *;
6117 };
6118 EOF
6119 if test x$gcc_no_link = xyes; then
6120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6121 fi
6122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6124 int foo;
6125 int
6126 main ()
6127 {
6128
6129 ;
6130 return 0;
6131 }
6132 _ACEOF
6133 if ac_fn_c_try_link "$LINENO"; then :
6134 gfortran_use_symver=gnu
6135 else
6136 gfortran_use_symver=no
6137 fi
6138 rm -f core conftest.err conftest.$ac_objext \
6139 conftest$ac_exeext conftest.$ac_ext
6140 if test x$gfortran_use_symver = xno; then
6141 case "$target_os" in
6142 solaris2*)
6143 LDFLAGS="$save_LDFLAGS"
6144 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6145 # Sun ld cannot handle wildcards and treats all entries as undefined.
6146 cat > conftest.map <<EOF
6147 FOO_1.0 {
6148 global: foo; local: *;
6149 };
6150 EOF
6151 if test x$gcc_no_link = xyes; then
6152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6153 fi
6154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6155 /* end confdefs.h. */
6156 int foo;
6157 int
6158 main ()
6159 {
6160
6161 ;
6162 return 0;
6163 }
6164 _ACEOF
6165 if ac_fn_c_try_link "$LINENO"; then :
6166 gfortran_use_symver=sun
6167 else
6168 gfortran_use_symver=no
6169 fi
6170 rm -f core conftest.err conftest.$ac_objext \
6171 conftest$ac_exeext conftest.$ac_ext
6172 ;;
6173 esac
6174 fi
6175 LDFLAGS="$save_LDFLAGS"
6176 fi
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6178 $as_echo "$gfortran_use_symver" >&6; }
6179 if test "x$gfortran_use_symver" != xno; then
6180 LIBGFOR_USE_SYMVER_TRUE=
6181 LIBGFOR_USE_SYMVER_FALSE='#'
6182 else
6183 LIBGFOR_USE_SYMVER_TRUE='#'
6184 LIBGFOR_USE_SYMVER_FALSE=
6185 fi
6186
6187 if test "x$gfortran_use_symver" = xgnu; then
6188 LIBGFOR_USE_SYMVER_GNU_TRUE=
6189 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6190 else
6191 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6192 LIBGFOR_USE_SYMVER_GNU_FALSE=
6193 fi
6194
6195 if test "x$gfortran_use_symver" = xsun; then
6196 LIBGFOR_USE_SYMVER_SUN_TRUE=
6197 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6198 else
6199 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6200 LIBGFOR_USE_SYMVER_SUN_FALSE=
6201 fi
6202
6203
6204 # For GPU offloading, not everything in libfortran can be supported.
6205 # Currently, the only target that has this problem is nvptx. The
6206 # following is a (partial) list of features that are unsupportable on
6207 # this particular target:
6208 # * Constructors
6209 # * alloca
6210 # * C library support for I/O, with printf as the one notable exception
6211 # * C library support for other features such as signal, environment
6212 # variables, time functions
6213
6214 if test "x${target_cpu}" = xnvptx; then
6215 LIBGFOR_MINIMAL_TRUE=
6216 LIBGFOR_MINIMAL_FALSE='#'
6217 else
6218 LIBGFOR_MINIMAL_TRUE='#'
6219 LIBGFOR_MINIMAL_FALSE=
6220 fi
6221
6222
6223 # Some compiler target support may have limited support for integer
6224 # or floating point numbers – or may want to reduce the libgfortran size
6225 # although they do have the support.
6226 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6227 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6228
6229
6230
6231
6232 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6233 # similarly to how libstdc++ does it
6234 ac_test_CFLAGS="${CFLAGS+set}"
6235 ac_save_CFLAGS="$CFLAGS"
6236
6237 # Check for -ffunction-sections -fdata-sections
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6239 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6240 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243
6244 int
6245 main ()
6246 {
6247 int foo;
6248 ;
6249 return 0;
6250 }
6251 _ACEOF
6252 if ac_fn_c_try_compile "$LINENO"; then :
6253 ac_fdsections=yes
6254 else
6255 ac_fdsections=no
6256 fi
6257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258 if test "$ac_test_CFLAGS" = set; then
6259 CFLAGS="$ac_save_CFLAGS"
6260 else
6261 # this is the suspicious part
6262 CFLAGS=""
6263 fi
6264 if test x"$ac_fdsections" = x"yes"; then
6265 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6266 fi
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6268 $as_echo "$ac_fdsections" >&6; }
6269
6270
6271 # Check linker hardware capability support.
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6273 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6274 if ${ac_cv_path_SED+:} false; then :
6275 $as_echo_n "(cached) " >&6
6276 else
6277 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6278 for ac_i in 1 2 3 4 5 6 7; do
6279 ac_script="$ac_script$as_nl$ac_script"
6280 done
6281 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6282 { ac_script=; unset ac_script;}
6283 if test -z "$SED"; then
6284 ac_path_SED_found=false
6285 # Loop through the user's path and test for each of PROGNAME-LIST
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 for as_dir in $PATH
6288 do
6289 IFS=$as_save_IFS
6290 test -z "$as_dir" && as_dir=.
6291 for ac_prog in sed gsed; do
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6294 as_fn_executable_p "$ac_path_SED" || continue
6295 # Check for GNU ac_path_SED and select it if it is found.
6296 # Check for GNU $ac_path_SED
6297 case `"$ac_path_SED" --version 2>&1` in
6298 *GNU*)
6299 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6300 *)
6301 ac_count=0
6302 $as_echo_n 0123456789 >"conftest.in"
6303 while :
6304 do
6305 cat "conftest.in" "conftest.in" >"conftest.tmp"
6306 mv "conftest.tmp" "conftest.in"
6307 cp "conftest.in" "conftest.nl"
6308 $as_echo '' >> "conftest.nl"
6309 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6311 as_fn_arith $ac_count + 1 && ac_count=$as_val
6312 if test $ac_count -gt ${ac_path_SED_max-0}; then
6313 # Best one so far, save it but keep looking for a better one
6314 ac_cv_path_SED="$ac_path_SED"
6315 ac_path_SED_max=$ac_count
6316 fi
6317 # 10*(2^10) chars as input seems more than enough
6318 test $ac_count -gt 10 && break
6319 done
6320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6321 esac
6322
6323 $ac_path_SED_found && break 3
6324 done
6325 done
6326 done
6327 IFS=$as_save_IFS
6328 if test -z "$ac_cv_path_SED"; then
6329 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6330 fi
6331 else
6332 ac_cv_path_SED=$SED
6333 fi
6334
6335 fi
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6337 $as_echo "$ac_cv_path_SED" >&6; }
6338 SED="$ac_cv_path_SED"
6339 rm -f conftest.sed
6340
6341 test -z "$SED" && SED=sed
6342 Xsed="$SED -e 1s/^X//"
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6355 $as_echo_n "checking for fgrep... " >&6; }
6356 if ${ac_cv_path_FGREP+:} false; then :
6357 $as_echo_n "(cached) " >&6
6358 else
6359 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6360 then ac_cv_path_FGREP="$GREP -F"
6361 else
6362 if test -z "$FGREP"; then
6363 ac_path_FGREP_found=false
6364 # Loop through the user's path and test for each of PROGNAME-LIST
6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6367 do
6368 IFS=$as_save_IFS
6369 test -z "$as_dir" && as_dir=.
6370 for ac_prog in fgrep; do
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6373 as_fn_executable_p "$ac_path_FGREP" || continue
6374 # Check for GNU ac_path_FGREP and select it if it is found.
6375 # Check for GNU $ac_path_FGREP
6376 case `"$ac_path_FGREP" --version 2>&1` in
6377 *GNU*)
6378 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6379 *)
6380 ac_count=0
6381 $as_echo_n 0123456789 >"conftest.in"
6382 while :
6383 do
6384 cat "conftest.in" "conftest.in" >"conftest.tmp"
6385 mv "conftest.tmp" "conftest.in"
6386 cp "conftest.in" "conftest.nl"
6387 $as_echo 'FGREP' >> "conftest.nl"
6388 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6390 as_fn_arith $ac_count + 1 && ac_count=$as_val
6391 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6392 # Best one so far, save it but keep looking for a better one
6393 ac_cv_path_FGREP="$ac_path_FGREP"
6394 ac_path_FGREP_max=$ac_count
6395 fi
6396 # 10*(2^10) chars as input seems more than enough
6397 test $ac_count -gt 10 && break
6398 done
6399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6400 esac
6401
6402 $ac_path_FGREP_found && break 3
6403 done
6404 done
6405 done
6406 IFS=$as_save_IFS
6407 if test -z "$ac_cv_path_FGREP"; then
6408 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6409 fi
6410 else
6411 ac_cv_path_FGREP=$FGREP
6412 fi
6413
6414 fi
6415 fi
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6417 $as_echo "$ac_cv_path_FGREP" >&6; }
6418 FGREP="$ac_cv_path_FGREP"
6419
6420
6421 test -z "$GREP" && GREP=grep
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6440 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6441 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6442
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6444 $as_echo_n "checking how to print strings... " >&6; }
6445 # Test print first, because it will be a builtin if present.
6446 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6447 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6448 ECHO='print -r --'
6449 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6450 ECHO='printf %s\n'
6451 else
6452 # Use this function as a fallback that always works.
6453 func_fallback_echo ()
6454 {
6455 eval 'cat <<_LTECHO_EOF
6456 $1
6457 _LTECHO_EOF'
6458 }
6459 ECHO='func_fallback_echo'
6460 fi
6461
6462 # func_echo_all arg...
6463 # Invoke $ECHO with all args, space-separated.
6464 func_echo_all ()
6465 {
6466 $ECHO ""
6467 }
6468
6469 case "$ECHO" in
6470 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6471 $as_echo "printf" >&6; } ;;
6472 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6473 $as_echo "print -r" >&6; } ;;
6474 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6475 $as_echo "cat" >&6; } ;;
6476 esac
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493 # Check whether --with-gnu-ld was given.
6494 if test "${with_gnu_ld+set}" = set; then :
6495 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6496 else
6497 with_gnu_ld=no
6498 fi
6499
6500 ac_prog=ld
6501 if test "$GCC" = yes; then
6502 # Check if gcc -print-prog-name=ld gives a path.
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6504 $as_echo_n "checking for ld used by $CC... " >&6; }
6505 case $host in
6506 *-*-mingw*)
6507 # gcc leaves a trailing carriage return which upsets mingw
6508 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6509 *)
6510 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6511 esac
6512 case $ac_prog in
6513 # Accept absolute paths.
6514 [\\/]* | ?:[\\/]*)
6515 re_direlt='/[^/][^/]*/\.\./'
6516 # Canonicalize the pathname of ld
6517 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6518 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6519 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6520 done
6521 test -z "$LD" && LD="$ac_prog"
6522 ;;
6523 "")
6524 # If it fails, then pretend we aren't using GCC.
6525 ac_prog=ld
6526 ;;
6527 *)
6528 # If it is relative, then search for the first ld in PATH.
6529 with_gnu_ld=unknown
6530 ;;
6531 esac
6532 elif test "$with_gnu_ld" = yes; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6534 $as_echo_n "checking for GNU ld... " >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6537 $as_echo_n "checking for non-GNU ld... " >&6; }
6538 fi
6539 if ${lt_cv_path_LD+:} false; then :
6540 $as_echo_n "(cached) " >&6
6541 else
6542 if test -z "$LD"; then
6543 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6544 for ac_dir in $PATH; do
6545 IFS="$lt_save_ifs"
6546 test -z "$ac_dir" && ac_dir=.
6547 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6548 lt_cv_path_LD="$ac_dir/$ac_prog"
6549 # Check to see if the program is GNU ld. I'd rather use --version,
6550 # but apparently some variants of GNU ld only accept -v.
6551 # Break only if it was the GNU/non-GNU ld that we prefer.
6552 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6553 *GNU* | *'with BFD'*)
6554 test "$with_gnu_ld" != no && break
6555 ;;
6556 *)
6557 test "$with_gnu_ld" != yes && break
6558 ;;
6559 esac
6560 fi
6561 done
6562 IFS="$lt_save_ifs"
6563 else
6564 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6565 fi
6566 fi
6567
6568 LD="$lt_cv_path_LD"
6569 if test -n "$LD"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6571 $as_echo "$LD" >&6; }
6572 else
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 $as_echo "no" >&6; }
6575 fi
6576 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6578 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6579 if ${lt_cv_prog_gnu_ld+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6583 case `$LD -v 2>&1 </dev/null` in
6584 *GNU* | *'with BFD'*)
6585 lt_cv_prog_gnu_ld=yes
6586 ;;
6587 *)
6588 lt_cv_prog_gnu_ld=no
6589 ;;
6590 esac
6591 fi
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6593 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6594 with_gnu_ld=$lt_cv_prog_gnu_ld
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6606
6607
6608 ac_save_LDFLAGS="$LDFLAGS"
6609 LDFLAGS="$LFLAGS -mclear-hwcap"
6610
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6612 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6613 if test x$gcc_no_link = xyes; then
6614 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6615 fi
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618
6619 int
6620 main ()
6621 {
6622 return 0;
6623 ;
6624 return 0;
6625 }
6626 _ACEOF
6627 if ac_fn_c_try_link "$LINENO"; then :
6628 ac_hwcap_ldflags=yes
6629 else
6630 ac_hwcap_ldflags=no
6631 fi
6632 rm -f core conftest.err conftest.$ac_objext \
6633 conftest$ac_exeext conftest.$ac_ext
6634 if test "$ac_hwcap_ldflags" = "yes"; then
6635 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6636 fi
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6638 $as_echo "$ac_hwcap_ldflags" >&6; }
6639
6640 LDFLAGS="$ac_save_LDFLAGS"
6641
6642
6643
6644 if test $ac_hwcap_ldflags != no; then
6645 HAVE_HWCAP_TRUE=
6646 HAVE_HWCAP_FALSE='#'
6647 else
6648 HAVE_HWCAP_TRUE='#'
6649 HAVE_HWCAP_FALSE=
6650 fi
6651
6652
6653
6654 # Find other programs we need.
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}as; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_AS+:} false; then :
6661 $as_echo_n "(cached) " >&6
6662 else
6663 if test -n "$AS"; then
6664 ac_cv_prog_AS="$AS" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6668 do
6669 IFS=$as_save_IFS
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_AS="${ac_tool_prefix}as"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675 break 2
6676 fi
6677 done
6678 done
6679 IFS=$as_save_IFS
6680
6681 fi
6682 fi
6683 AS=$ac_cv_prog_AS
6684 if test -n "$AS"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6686 $as_echo "$AS" >&6; }
6687 else
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6690 fi
6691
6692
6693 fi
6694 if test -z "$ac_cv_prog_AS"; then
6695 ac_ct_AS=$AS
6696 # Extract the first word of "as", so it can be a program name with args.
6697 set dummy as; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6701 $as_echo_n "(cached) " >&6
6702 else
6703 if test -n "$ac_ct_AS"; then
6704 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6705 else
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 for as_dir in $PATH
6708 do
6709 IFS=$as_save_IFS
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6713 ac_cv_prog_ac_ct_AS="as"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6715 break 2
6716 fi
6717 done
6718 done
6719 IFS=$as_save_IFS
6720
6721 fi
6722 fi
6723 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6724 if test -n "$ac_ct_AS"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6726 $as_echo "$ac_ct_AS" >&6; }
6727 else
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6730 fi
6731
6732 if test "x$ac_ct_AS" = x; then
6733 AS=""
6734 else
6735 case $cross_compiling:$ac_tool_warned in
6736 yes:)
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6739 ac_tool_warned=yes ;;
6740 esac
6741 AS=$ac_ct_AS
6742 fi
6743 else
6744 AS="$ac_cv_prog_AS"
6745 fi
6746
6747 if test -n "$ac_tool_prefix"; then
6748 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6749 set dummy ${ac_tool_prefix}ar; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_AR+:} false; then :
6753 $as_echo_n "(cached) " >&6
6754 else
6755 if test -n "$AR"; then
6756 ac_cv_prog_AR="$AR" # Let the user override the test.
6757 else
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 for as_dir in $PATH
6760 do
6761 IFS=$as_save_IFS
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 ac_cv_prog_AR="${ac_tool_prefix}ar"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 break 2
6768 fi
6769 done
6770 done
6771 IFS=$as_save_IFS
6772
6773 fi
6774 fi
6775 AR=$ac_cv_prog_AR
6776 if test -n "$AR"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6778 $as_echo "$AR" >&6; }
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6782 fi
6783
6784
6785 fi
6786 if test -z "$ac_cv_prog_AR"; then
6787 ac_ct_AR=$AR
6788 # Extract the first word of "ar", so it can be a program name with args.
6789 set dummy ar; ac_word=$2
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6791 $as_echo_n "checking for $ac_word... " >&6; }
6792 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6793 $as_echo_n "(cached) " >&6
6794 else
6795 if test -n "$ac_ct_AR"; then
6796 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6797 else
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 for as_dir in $PATH
6800 do
6801 IFS=$as_save_IFS
6802 test -z "$as_dir" && as_dir=.
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_ac_ct_AR="ar"
6806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6807 break 2
6808 fi
6809 done
6810 done
6811 IFS=$as_save_IFS
6812
6813 fi
6814 fi
6815 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6816 if test -n "$ac_ct_AR"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6818 $as_echo "$ac_ct_AR" >&6; }
6819 else
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 $as_echo "no" >&6; }
6822 fi
6823
6824 if test "x$ac_ct_AR" = x; then
6825 AR=""
6826 else
6827 case $cross_compiling:$ac_tool_warned in
6828 yes:)
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6831 ac_tool_warned=yes ;;
6832 esac
6833 AR=$ac_ct_AR
6834 fi
6835 else
6836 AR="$ac_cv_prog_AR"
6837 fi
6838
6839 if test -n "$ac_tool_prefix"; then
6840 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6841 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 $as_echo_n "checking for $ac_word... " >&6; }
6844 if ${ac_cv_prog_RANLIB+:} false; then :
6845 $as_echo_n "(cached) " >&6
6846 else
6847 if test -n "$RANLIB"; then
6848 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6849 else
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 for as_dir in $PATH
6852 do
6853 IFS=$as_save_IFS
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 break 2
6860 fi
6861 done
6862 done
6863 IFS=$as_save_IFS
6864
6865 fi
6866 fi
6867 RANLIB=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 $as_echo "$RANLIB" >&6; }
6871 else
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6874 fi
6875
6876
6877 fi
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib; ac_word=$2
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 $as_echo_n "checking for $ac_word... " >&6; }
6884 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 if test -n "$ac_ct_RANLIB"; then
6888 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6889 else
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891 for as_dir in $PATH
6892 do
6893 IFS=$as_save_IFS
6894 test -z "$as_dir" && as_dir=.
6895 for ac_exec_ext in '' $ac_executable_extensions; do
6896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6897 ac_cv_prog_ac_ct_RANLIB="ranlib"
6898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6899 break 2
6900 fi
6901 done
6902 done
6903 IFS=$as_save_IFS
6904
6905 fi
6906 fi
6907 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6908 if test -n "$ac_ct_RANLIB"; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6910 $as_echo "$ac_ct_RANLIB" >&6; }
6911 else
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6913 $as_echo "no" >&6; }
6914 fi
6915
6916 if test "x$ac_ct_RANLIB" = x; then
6917 RANLIB="ranlib-not-found-in-path-error"
6918 else
6919 case $cross_compiling:$ac_tool_warned in
6920 yes:)
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6923 ac_tool_warned=yes ;;
6924 esac
6925 RANLIB=$ac_ct_RANLIB
6926 fi
6927 else
6928 RANLIB="$ac_cv_prog_RANLIB"
6929 fi
6930
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6932 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6933 set x ${MAKE-make}
6934 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6935 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6936 $as_echo_n "(cached) " >&6
6937 else
6938 cat >conftest.make <<\_ACEOF
6939 SHELL = /bin/sh
6940 all:
6941 @echo '@@@%%%=$(MAKE)=@@@%%%'
6942 _ACEOF
6943 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6944 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6945 *@@@%%%=?*=@@@%%%*)
6946 eval ac_cv_prog_make_${ac_make}_set=yes;;
6947 *)
6948 eval ac_cv_prog_make_${ac_make}_set=no;;
6949 esac
6950 rm -f conftest.make
6951 fi
6952 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6954 $as_echo "yes" >&6; }
6955 SET_MAKE=
6956 else
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6959 SET_MAKE="MAKE=${MAKE-make}"
6960 fi
6961
6962
6963
6964 # Configure libtool
6965 #AC_MSG_NOTICE([====== Starting libtool configuration])
6966 enable_dlopen=yes
6967
6968
6969
6970 case `pwd` in
6971 *\ * | *\ *)
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6973 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6974 esac
6975
6976
6977
6978 macro_version='2.2.7a'
6979 macro_revision='1.3134'
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993 ltmain="$ac_aux_dir/ltmain.sh"
6994
6995 # Backslashify metacharacters that are still active within
6996 # double-quoted strings.
6997 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6998
6999 # Same as above, but do not quote variable references.
7000 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7001
7002 # Sed substitution to delay expansion of an escaped shell variable in a
7003 # double_quote_subst'ed string.
7004 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7005
7006 # Sed substitution to delay expansion of an escaped single quote.
7007 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7008
7009 # Sed substitution to avoid accidental globbing in evaled expressions
7010 no_glob_subst='s/\*/\\\*/g'
7011
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7013 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7014 if ${lt_cv_path_NM+:} false; then :
7015 $as_echo_n "(cached) " >&6
7016 else
7017 if test -n "$NM"; then
7018 # Let the user override the test.
7019 lt_cv_path_NM="$NM"
7020 else
7021 lt_nm_to_check="${ac_tool_prefix}nm"
7022 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7023 lt_nm_to_check="$lt_nm_to_check nm"
7024 fi
7025 for lt_tmp_nm in $lt_nm_to_check; do
7026 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7027 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7028 IFS="$lt_save_ifs"
7029 test -z "$ac_dir" && ac_dir=.
7030 tmp_nm="$ac_dir/$lt_tmp_nm"
7031 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7032 # Check to see if the nm accepts a BSD-compat flag.
7033 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7034 # nm: unknown option "B" ignored
7035 # Tru64's nm complains that /dev/null is an invalid object file
7036 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7037 */dev/null* | *'Invalid file or object type'*)
7038 lt_cv_path_NM="$tmp_nm -B"
7039 break
7040 ;;
7041 *)
7042 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7043 */dev/null*)
7044 lt_cv_path_NM="$tmp_nm -p"
7045 break
7046 ;;
7047 *)
7048 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7049 continue # so that we can try to find one that supports BSD flags
7050 ;;
7051 esac
7052 ;;
7053 esac
7054 fi
7055 done
7056 IFS="$lt_save_ifs"
7057 done
7058 : ${lt_cv_path_NM=no}
7059 fi
7060 fi
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7062 $as_echo "$lt_cv_path_NM" >&6; }
7063 if test "$lt_cv_path_NM" != "no"; then
7064 NM="$lt_cv_path_NM"
7065 else
7066 # Didn't find any BSD compatible name lister, look for dumpbin.
7067 if test -n "$DUMPBIN"; then :
7068 # Let the user override the test.
7069 else
7070 if test -n "$ac_tool_prefix"; then
7071 for ac_prog in dumpbin "link -dump"
7072 do
7073 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7074 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if ${ac_cv_prog_DUMPBIN+:} false; then :
7078 $as_echo_n "(cached) " >&6
7079 else
7080 if test -n "$DUMPBIN"; then
7081 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7082 else
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 for as_dir in $PATH
7085 do
7086 IFS=$as_save_IFS
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092 break 2
7093 fi
7094 done
7095 done
7096 IFS=$as_save_IFS
7097
7098 fi
7099 fi
7100 DUMPBIN=$ac_cv_prog_DUMPBIN
7101 if test -n "$DUMPBIN"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7103 $as_echo "$DUMPBIN" >&6; }
7104 else
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7107 fi
7108
7109
7110 test -n "$DUMPBIN" && break
7111 done
7112 fi
7113 if test -z "$DUMPBIN"; then
7114 ac_ct_DUMPBIN=$DUMPBIN
7115 for ac_prog in dumpbin "link -dump"
7116 do
7117 # Extract the first word of "$ac_prog", so it can be a program name with args.
7118 set dummy $ac_prog; ac_word=$2
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 $as_echo_n "checking for $ac_word... " >&6; }
7121 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7122 $as_echo_n "(cached) " >&6
7123 else
7124 if test -n "$ac_ct_DUMPBIN"; then
7125 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7126 else
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 for as_dir in $PATH
7129 do
7130 IFS=$as_save_IFS
7131 test -z "$as_dir" && as_dir=.
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7136 break 2
7137 fi
7138 done
7139 done
7140 IFS=$as_save_IFS
7141
7142 fi
7143 fi
7144 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7145 if test -n "$ac_ct_DUMPBIN"; then
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7147 $as_echo "$ac_ct_DUMPBIN" >&6; }
7148 else
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7151 fi
7152
7153
7154 test -n "$ac_ct_DUMPBIN" && break
7155 done
7156
7157 if test "x$ac_ct_DUMPBIN" = x; then
7158 DUMPBIN=":"
7159 else
7160 case $cross_compiling:$ac_tool_warned in
7161 yes:)
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7164 ac_tool_warned=yes ;;
7165 esac
7166 DUMPBIN=$ac_ct_DUMPBIN
7167 fi
7168 fi
7169
7170 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7171 *COFF*)
7172 DUMPBIN="$DUMPBIN -symbols"
7173 ;;
7174 *)
7175 DUMPBIN=:
7176 ;;
7177 esac
7178 fi
7179
7180 if test "$DUMPBIN" != ":"; then
7181 NM="$DUMPBIN"
7182 fi
7183 fi
7184 test -z "$NM" && NM=nm
7185
7186
7187
7188
7189
7190
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7192 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7193 if ${lt_cv_nm_interface+:} false; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 lt_cv_nm_interface="BSD nm"
7197 echo "int some_variable = 0;" > conftest.$ac_ext
7198 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7199 (eval "$ac_compile" 2>conftest.err)
7200 cat conftest.err >&5
7201 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7202 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7203 cat conftest.err >&5
7204 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7205 cat conftest.out >&5
7206 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7207 lt_cv_nm_interface="MS dumpbin"
7208 fi
7209 rm -f conftest*
7210 fi
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7212 $as_echo "$lt_cv_nm_interface" >&6; }
7213
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7215 $as_echo_n "checking whether ln -s works... " >&6; }
7216 LN_S=$as_ln_s
7217 if test "$LN_S" = "ln -s"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7219 $as_echo "yes" >&6; }
7220 else
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7222 $as_echo "no, using $LN_S" >&6; }
7223 fi
7224
7225 # find the maximum length of command line arguments
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7227 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7228 if ${lt_cv_sys_max_cmd_len+:} false; then :
7229 $as_echo_n "(cached) " >&6
7230 else
7231 i=0
7232 teststring="ABCD"
7233
7234 case $build_os in
7235 msdosdjgpp*)
7236 # On DJGPP, this test can blow up pretty badly due to problems in libc
7237 # (any single argument exceeding 2000 bytes causes a buffer overrun
7238 # during glob expansion). Even if it were fixed, the result of this
7239 # check would be larger than it should be.
7240 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7241 ;;
7242
7243 gnu*)
7244 # Under GNU Hurd, this test is not required because there is
7245 # no limit to the length of command line arguments.
7246 # Libtool will interpret -1 as no limit whatsoever
7247 lt_cv_sys_max_cmd_len=-1;
7248 ;;
7249
7250 cygwin* | mingw* | cegcc*)
7251 # On Win9x/ME, this test blows up -- it succeeds, but takes
7252 # about 5 minutes as the teststring grows exponentially.
7253 # Worse, since 9x/ME are not pre-emptively multitasking,
7254 # you end up with a "frozen" computer, even though with patience
7255 # the test eventually succeeds (with a max line length of 256k).
7256 # Instead, let's just punt: use the minimum linelength reported by
7257 # all of the supported platforms: 8192 (on NT/2K/XP).
7258 lt_cv_sys_max_cmd_len=8192;
7259 ;;
7260
7261 mint*)
7262 # On MiNT this can take a long time and run out of memory.
7263 lt_cv_sys_max_cmd_len=8192;
7264 ;;
7265
7266 amigaos*)
7267 # On AmigaOS with pdksh, this test takes hours, literally.
7268 # So we just punt and use a minimum line length of 8192.
7269 lt_cv_sys_max_cmd_len=8192;
7270 ;;
7271
7272 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7273 # This has been around since 386BSD, at least. Likely further.
7274 if test -x /sbin/sysctl; then
7275 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7276 elif test -x /usr/sbin/sysctl; then
7277 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7278 else
7279 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7280 fi
7281 # And add a safety zone
7282 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7283 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7284 ;;
7285
7286 interix*)
7287 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7288 lt_cv_sys_max_cmd_len=196608
7289 ;;
7290
7291 osf*)
7292 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7293 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7294 # nice to cause kernel panics so lets avoid the loop below.
7295 # First set a reasonable default.
7296 lt_cv_sys_max_cmd_len=16384
7297 #
7298 if test -x /sbin/sysconfig; then
7299 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7300 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7301 esac
7302 fi
7303 ;;
7304 sco3.2v5*)
7305 lt_cv_sys_max_cmd_len=102400
7306 ;;
7307 sysv5* | sco5v6* | sysv4.2uw2*)
7308 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7309 if test -n "$kargmax"; then
7310 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7311 else
7312 lt_cv_sys_max_cmd_len=32768
7313 fi
7314 ;;
7315 *)
7316 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7317 if test -n "$lt_cv_sys_max_cmd_len"; then
7318 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7320 else
7321 # Make teststring a little bigger before we do anything with it.
7322 # a 1K string should be a reasonable start.
7323 for i in 1 2 3 4 5 6 7 8 ; do
7324 teststring=$teststring$teststring
7325 done
7326 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7327 # If test is not a shell built-in, we'll probably end up computing a
7328 # maximum length that is only half of the actual maximum length, but
7329 # we can't tell.
7330 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7331 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7332 test $i != 17 # 1/2 MB should be enough
7333 do
7334 i=`expr $i + 1`
7335 teststring=$teststring$teststring
7336 done
7337 # Only check the string length outside the loop.
7338 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7339 teststring=
7340 # Add a significant safety factor because C++ compilers can tack on
7341 # massive amounts of additional arguments before passing them to the
7342 # linker. It appears as though 1/2 is a usable value.
7343 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7344 fi
7345 ;;
7346 esac
7347
7348 fi
7349
7350 if test -n $lt_cv_sys_max_cmd_len ; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7352 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7355 $as_echo "none" >&6; }
7356 fi
7357 max_cmd_len=$lt_cv_sys_max_cmd_len
7358
7359
7360
7361
7362
7363
7364 : ${CP="cp -f"}
7365 : ${MV="mv -f"}
7366 : ${RM="rm -f"}
7367
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7369 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7370 # Try some XSI features
7371 xsi_shell=no
7372 ( _lt_dummy="a/b/c"
7373 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7374 = c,a/b,, \
7375 && eval 'test $(( 1 + 1 )) -eq 2 \
7376 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7377 && xsi_shell=yes
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7379 $as_echo "$xsi_shell" >&6; }
7380
7381
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7383 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7384 lt_shell_append=no
7385 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7386 >/dev/null 2>&1 \
7387 && lt_shell_append=yes
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7389 $as_echo "$lt_shell_append" >&6; }
7390
7391
7392 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7393 lt_unset=unset
7394 else
7395 lt_unset=false
7396 fi
7397
7398
7399
7400
7401
7402 # test EBCDIC or ASCII
7403 case `echo X|tr X '\101'` in
7404 A) # ASCII based system
7405 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7406 lt_SP2NL='tr \040 \012'
7407 lt_NL2SP='tr \015\012 \040\040'
7408 ;;
7409 *) # EBCDIC based system
7410 lt_SP2NL='tr \100 \n'
7411 lt_NL2SP='tr \r\n \100\100'
7412 ;;
7413 esac
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7424 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7425 if ${lt_cv_ld_reload_flag+:} false; then :
7426 $as_echo_n "(cached) " >&6
7427 else
7428 lt_cv_ld_reload_flag='-r'
7429 fi
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7431 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7432 reload_flag=$lt_cv_ld_reload_flag
7433 case $reload_flag in
7434 "" | " "*) ;;
7435 *) reload_flag=" $reload_flag" ;;
7436 esac
7437 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7438 case $host_os in
7439 darwin*)
7440 if test "$GCC" = yes; then
7441 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7442 else
7443 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7444 fi
7445 ;;
7446 esac
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456 if test -n "$ac_tool_prefix"; then
7457 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7458 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_OBJDUMP+:} false; then :
7462 $as_echo_n "(cached) " >&6
7463 else
7464 if test -n "$OBJDUMP"; then
7465 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7466 else
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 for as_dir in $PATH
7469 do
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7477 fi
7478 done
7479 done
7480 IFS=$as_save_IFS
7481
7482 fi
7483 fi
7484 OBJDUMP=$ac_cv_prog_OBJDUMP
7485 if test -n "$OBJDUMP"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7487 $as_echo "$OBJDUMP" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7491 fi
7492
7493
7494 fi
7495 if test -z "$ac_cv_prog_OBJDUMP"; then
7496 ac_ct_OBJDUMP=$OBJDUMP
7497 # Extract the first word of "objdump", so it can be a program name with args.
7498 set dummy objdump; ac_word=$2
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 if test -n "$ac_ct_OBJDUMP"; then
7505 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7506 else
7507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 for as_dir in $PATH
7509 do
7510 IFS=$as_save_IFS
7511 test -z "$as_dir" && as_dir=.
7512 for ac_exec_ext in '' $ac_executable_extensions; do
7513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7514 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 break 2
7517 fi
7518 done
7519 done
7520 IFS=$as_save_IFS
7521
7522 fi
7523 fi
7524 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7525 if test -n "$ac_ct_OBJDUMP"; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7527 $as_echo "$ac_ct_OBJDUMP" >&6; }
7528 else
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7531 fi
7532
7533 if test "x$ac_ct_OBJDUMP" = x; then
7534 OBJDUMP="false"
7535 else
7536 case $cross_compiling:$ac_tool_warned in
7537 yes:)
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540 ac_tool_warned=yes ;;
7541 esac
7542 OBJDUMP=$ac_ct_OBJDUMP
7543 fi
7544 else
7545 OBJDUMP="$ac_cv_prog_OBJDUMP"
7546 fi
7547
7548 test -z "$OBJDUMP" && OBJDUMP=objdump
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7559 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7560 if ${lt_cv_deplibs_check_method+:} false; then :
7561 $as_echo_n "(cached) " >&6
7562 else
7563 lt_cv_file_magic_cmd='$MAGIC_CMD'
7564 lt_cv_file_magic_test_file=
7565 lt_cv_deplibs_check_method='unknown'
7566 # Need to set the preceding variable on all platforms that support
7567 # interlibrary dependencies.
7568 # 'none' -- dependencies not supported.
7569 # `unknown' -- same as none, but documents that we really don't know.
7570 # 'pass_all' -- all dependencies passed with no checks.
7571 # 'test_compile' -- check by making test program.
7572 # 'file_magic [[regex]]' -- check by looking for files in library path
7573 # which responds to the $file_magic_cmd with a given extended regex.
7574 # If you have `file' or equivalent on your system and you're not sure
7575 # whether `pass_all' will *always* work, you probably want this one.
7576
7577 case $host_os in
7578 aix[4-9]*)
7579 lt_cv_deplibs_check_method=pass_all
7580 ;;
7581
7582 beos*)
7583 lt_cv_deplibs_check_method=pass_all
7584 ;;
7585
7586 bsdi[45]*)
7587 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7588 lt_cv_file_magic_cmd='/usr/bin/file -L'
7589 lt_cv_file_magic_test_file=/shlib/libc.so
7590 ;;
7591
7592 cygwin*)
7593 # func_win32_libid is a shell function defined in ltmain.sh
7594 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7595 lt_cv_file_magic_cmd='func_win32_libid'
7596 ;;
7597
7598 mingw* | pw32*)
7599 # Base MSYS/MinGW do not provide the 'file' command needed by
7600 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7601 # unless we find 'file', for example because we are cross-compiling.
7602 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7603 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7604 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7605 lt_cv_file_magic_cmd='func_win32_libid'
7606 else
7607 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7608 lt_cv_file_magic_cmd='$OBJDUMP -f'
7609 fi
7610 ;;
7611
7612 cegcc*)
7613 # use the weaker test based on 'objdump'. See mingw*.
7614 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7615 lt_cv_file_magic_cmd='$OBJDUMP -f'
7616 ;;
7617
7618 darwin* | rhapsody*)
7619 lt_cv_deplibs_check_method=pass_all
7620 ;;
7621
7622 freebsd* | dragonfly*)
7623 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7624 case $host_cpu in
7625 i*86 )
7626 # Not sure whether the presence of OpenBSD here was a mistake.
7627 # Let's accept both of them until this is cleared up.
7628 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7629 lt_cv_file_magic_cmd=/usr/bin/file
7630 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7631 ;;
7632 esac
7633 else
7634 lt_cv_deplibs_check_method=pass_all
7635 fi
7636 ;;
7637
7638 gnu*)
7639 lt_cv_deplibs_check_method=pass_all
7640 ;;
7641
7642 haiku*)
7643 lt_cv_deplibs_check_method=pass_all
7644 ;;
7645
7646 hpux10.20* | hpux11*)
7647 lt_cv_file_magic_cmd=/usr/bin/file
7648 case $host_cpu in
7649 ia64*)
7650 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7651 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7652 ;;
7653 hppa*64*)
7654 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]'
7655 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7656 ;;
7657 *)
7658 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7659 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7660 ;;
7661 esac
7662 ;;
7663
7664 interix[3-9]*)
7665 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7666 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7667 ;;
7668
7669 irix5* | irix6* | nonstopux*)
7670 case $LD in
7671 *-32|*"-32 ") libmagic=32-bit;;
7672 *-n32|*"-n32 ") libmagic=N32;;
7673 *-64|*"-64 ") libmagic=64-bit;;
7674 *) libmagic=never-match;;
7675 esac
7676 lt_cv_deplibs_check_method=pass_all
7677 ;;
7678
7679 # This must be Linux ELF.
7680 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7681 lt_cv_deplibs_check_method=pass_all
7682 ;;
7683
7684 netbsd*)
7685 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7686 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7687 else
7688 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7689 fi
7690 ;;
7691
7692 newos6*)
7693 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7694 lt_cv_file_magic_cmd=/usr/bin/file
7695 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7696 ;;
7697
7698 *nto* | *qnx*)
7699 lt_cv_deplibs_check_method=pass_all
7700 ;;
7701
7702 openbsd*)
7703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7704 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7705 else
7706 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7707 fi
7708 ;;
7709
7710 osf3* | osf4* | osf5*)
7711 lt_cv_deplibs_check_method=pass_all
7712 ;;
7713
7714 rdos*)
7715 lt_cv_deplibs_check_method=pass_all
7716 ;;
7717
7718 solaris*)
7719 lt_cv_deplibs_check_method=pass_all
7720 ;;
7721
7722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7723 lt_cv_deplibs_check_method=pass_all
7724 ;;
7725
7726 sysv4 | sysv4.3*)
7727 case $host_vendor in
7728 motorola)
7729 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]'
7730 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7731 ;;
7732 ncr)
7733 lt_cv_deplibs_check_method=pass_all
7734 ;;
7735 sequent)
7736 lt_cv_file_magic_cmd='/bin/file'
7737 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7738 ;;
7739 sni)
7740 lt_cv_file_magic_cmd='/bin/file'
7741 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7742 lt_cv_file_magic_test_file=/lib/libc.so
7743 ;;
7744 siemens)
7745 lt_cv_deplibs_check_method=pass_all
7746 ;;
7747 pc)
7748 lt_cv_deplibs_check_method=pass_all
7749 ;;
7750 esac
7751 ;;
7752
7753 tpf*)
7754 lt_cv_deplibs_check_method=pass_all
7755 ;;
7756 vxworks*)
7757 # Assume VxWorks cross toolchains are built on Linux, possibly
7758 # as canadian for Windows hosts.
7759 lt_cv_deplibs_check_method=pass_all
7760 ;;
7761 esac
7762
7763 fi
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7765 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7766 file_magic_cmd=$lt_cv_file_magic_cmd
7767 deplibs_check_method=$lt_cv_deplibs_check_method
7768 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781 plugin_option=
7782 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7783 for plugin in $plugin_names; do
7784 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7785 if test x$plugin_so = x$plugin; then
7786 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7787 fi
7788 if test x$plugin_so != x$plugin; then
7789 plugin_option="--plugin $plugin_so"
7790 break
7791 fi
7792 done
7793
7794 if test -n "$ac_tool_prefix"; then
7795 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7796 set dummy ${ac_tool_prefix}ar; ac_word=$2
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7798 $as_echo_n "checking for $ac_word... " >&6; }
7799 if ${ac_cv_prog_AR+:} false; then :
7800 $as_echo_n "(cached) " >&6
7801 else
7802 if test -n "$AR"; then
7803 ac_cv_prog_AR="$AR" # Let the user override the test.
7804 else
7805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7806 for as_dir in $PATH
7807 do
7808 IFS=$as_save_IFS
7809 test -z "$as_dir" && as_dir=.
7810 for ac_exec_ext in '' $ac_executable_extensions; do
7811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7812 ac_cv_prog_AR="${ac_tool_prefix}ar"
7813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7814 break 2
7815 fi
7816 done
7817 done
7818 IFS=$as_save_IFS
7819
7820 fi
7821 fi
7822 AR=$ac_cv_prog_AR
7823 if test -n "$AR"; then
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7825 $as_echo "$AR" >&6; }
7826 else
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7828 $as_echo "no" >&6; }
7829 fi
7830
7831
7832 fi
7833 if test -z "$ac_cv_prog_AR"; then
7834 ac_ct_AR=$AR
7835 # Extract the first word of "ar", so it can be a program name with args.
7836 set dummy ar; ac_word=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7838 $as_echo_n "checking for $ac_word... " >&6; }
7839 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7840 $as_echo_n "(cached) " >&6
7841 else
7842 if test -n "$ac_ct_AR"; then
7843 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7844 else
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846 for as_dir in $PATH
7847 do
7848 IFS=$as_save_IFS
7849 test -z "$as_dir" && as_dir=.
7850 for ac_exec_ext in '' $ac_executable_extensions; do
7851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7852 ac_cv_prog_ac_ct_AR="ar"
7853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7854 break 2
7855 fi
7856 done
7857 done
7858 IFS=$as_save_IFS
7859
7860 fi
7861 fi
7862 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7863 if test -n "$ac_ct_AR"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7865 $as_echo "$ac_ct_AR" >&6; }
7866 else
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7868 $as_echo "no" >&6; }
7869 fi
7870
7871 if test "x$ac_ct_AR" = x; then
7872 AR="false"
7873 else
7874 case $cross_compiling:$ac_tool_warned in
7875 yes:)
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7878 ac_tool_warned=yes ;;
7879 esac
7880 AR=$ac_ct_AR
7881 fi
7882 else
7883 AR="$ac_cv_prog_AR"
7884 fi
7885
7886 test -z "$AR" && AR=ar
7887 if test -n "$plugin_option"; then
7888 if $AR --help 2>&1 | grep -q "\--plugin"; then
7889 AR="$AR $plugin_option"
7890 fi
7891 fi
7892 test -z "$AR_FLAGS" && AR_FLAGS=cru
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904 if test -n "$ac_tool_prefix"; then
7905 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7906 set dummy ${ac_tool_prefix}strip; ac_word=$2
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7908 $as_echo_n "checking for $ac_word... " >&6; }
7909 if ${ac_cv_prog_STRIP+:} false; then :
7910 $as_echo_n "(cached) " >&6
7911 else
7912 if test -n "$STRIP"; then
7913 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7914 else
7915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7916 for as_dir in $PATH
7917 do
7918 IFS=$as_save_IFS
7919 test -z "$as_dir" && as_dir=.
7920 for ac_exec_ext in '' $ac_executable_extensions; do
7921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7922 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7924 break 2
7925 fi
7926 done
7927 done
7928 IFS=$as_save_IFS
7929
7930 fi
7931 fi
7932 STRIP=$ac_cv_prog_STRIP
7933 if test -n "$STRIP"; then
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7935 $as_echo "$STRIP" >&6; }
7936 else
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7938 $as_echo "no" >&6; }
7939 fi
7940
7941
7942 fi
7943 if test -z "$ac_cv_prog_STRIP"; then
7944 ac_ct_STRIP=$STRIP
7945 # Extract the first word of "strip", so it can be a program name with args.
7946 set dummy strip; ac_word=$2
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7948 $as_echo_n "checking for $ac_word... " >&6; }
7949 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7950 $as_echo_n "(cached) " >&6
7951 else
7952 if test -n "$ac_ct_STRIP"; then
7953 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7954 else
7955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7956 for as_dir in $PATH
7957 do
7958 IFS=$as_save_IFS
7959 test -z "$as_dir" && as_dir=.
7960 for ac_exec_ext in '' $ac_executable_extensions; do
7961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7962 ac_cv_prog_ac_ct_STRIP="strip"
7963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7964 break 2
7965 fi
7966 done
7967 done
7968 IFS=$as_save_IFS
7969
7970 fi
7971 fi
7972 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7973 if test -n "$ac_ct_STRIP"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7975 $as_echo "$ac_ct_STRIP" >&6; }
7976 else
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978 $as_echo "no" >&6; }
7979 fi
7980
7981 if test "x$ac_ct_STRIP" = x; then
7982 STRIP=":"
7983 else
7984 case $cross_compiling:$ac_tool_warned in
7985 yes:)
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7988 ac_tool_warned=yes ;;
7989 esac
7990 STRIP=$ac_ct_STRIP
7991 fi
7992 else
7993 STRIP="$ac_cv_prog_STRIP"
7994 fi
7995
7996 test -z "$STRIP" && STRIP=:
7997
7998
7999
8000
8001
8002
8003 if test -n "$ac_tool_prefix"; then
8004 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8005 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007 $as_echo_n "checking for $ac_word... " >&6; }
8008 if ${ac_cv_prog_RANLIB+:} false; then :
8009 $as_echo_n "(cached) " >&6
8010 else
8011 if test -n "$RANLIB"; then
8012 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8013 else
8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8015 for as_dir in $PATH
8016 do
8017 IFS=$as_save_IFS
8018 test -z "$as_dir" && as_dir=.
8019 for ac_exec_ext in '' $ac_executable_extensions; do
8020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8021 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 break 2
8024 fi
8025 done
8026 done
8027 IFS=$as_save_IFS
8028
8029 fi
8030 fi
8031 RANLIB=$ac_cv_prog_RANLIB
8032 if test -n "$RANLIB"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8034 $as_echo "$RANLIB" >&6; }
8035 else
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8038 fi
8039
8040
8041 fi
8042 if test -z "$ac_cv_prog_RANLIB"; then
8043 ac_ct_RANLIB=$RANLIB
8044 # Extract the first word of "ranlib", so it can be a program name with args.
8045 set dummy ranlib; ac_word=$2
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047 $as_echo_n "checking for $ac_word... " >&6; }
8048 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8049 $as_echo_n "(cached) " >&6
8050 else
8051 if test -n "$ac_ct_RANLIB"; then
8052 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8053 else
8054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055 for as_dir in $PATH
8056 do
8057 IFS=$as_save_IFS
8058 test -z "$as_dir" && as_dir=.
8059 for ac_exec_ext in '' $ac_executable_extensions; do
8060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8061 ac_cv_prog_ac_ct_RANLIB="ranlib"
8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8063 break 2
8064 fi
8065 done
8066 done
8067 IFS=$as_save_IFS
8068
8069 fi
8070 fi
8071 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8072 if test -n "$ac_ct_RANLIB"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8074 $as_echo "$ac_ct_RANLIB" >&6; }
8075 else
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8078 fi
8079
8080 if test "x$ac_ct_RANLIB" = x; then
8081 RANLIB=":"
8082 else
8083 case $cross_compiling:$ac_tool_warned in
8084 yes:)
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8087 ac_tool_warned=yes ;;
8088 esac
8089 RANLIB=$ac_ct_RANLIB
8090 fi
8091 else
8092 RANLIB="$ac_cv_prog_RANLIB"
8093 fi
8094
8095 test -z "$RANLIB" && RANLIB=:
8096 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8097 if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
8098 RANLIB="$RANLIB $plugin_option"
8099 fi
8100 fi
8101
8102
8103
8104
8105
8106
8107 # Determine commands to create old-style static archives.
8108 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8109 old_postinstall_cmds='chmod 644 $oldlib'
8110 old_postuninstall_cmds=
8111
8112 if test -n "$RANLIB"; then
8113 case $host_os in
8114 openbsd*)
8115 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8116 ;;
8117 *)
8118 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8119 ;;
8120 esac
8121 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8122 fi
8123
8124 case $host_os in
8125 darwin*)
8126 lock_old_archive_extraction=yes ;;
8127 *)
8128 lock_old_archive_extraction=no ;;
8129 esac
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169 # If no C compiler was specified, use CC.
8170 LTCC=${LTCC-"$CC"}
8171
8172 # If no C compiler flags were specified, use CFLAGS.
8173 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8174
8175 # Allow CC to be a program name with arguments.
8176 compiler=$CC
8177
8178
8179 # Check for command to grab the raw symbol name followed by C symbol from nm.
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8181 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8182 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8183 $as_echo_n "(cached) " >&6
8184 else
8185
8186 # These are sane defaults that work on at least a few old systems.
8187 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8188
8189 # Character class describing NM global symbol codes.
8190 symcode='[BCDEGRST]'
8191
8192 # Regexp to match symbols that can be accessed directly from C.
8193 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8194
8195 # Define system-specific variables.
8196 case $host_os in
8197 aix*)
8198 symcode='[BCDT]'
8199 ;;
8200 cygwin* | mingw* | pw32* | cegcc*)
8201 symcode='[ABCDGISTW]'
8202 ;;
8203 hpux*)
8204 if test "$host_cpu" = ia64; then
8205 symcode='[ABCDEGRST]'
8206 fi
8207 ;;
8208 irix* | nonstopux*)
8209 symcode='[BCDEGRST]'
8210 ;;
8211 osf*)
8212 symcode='[BCDEGQRST]'
8213 ;;
8214 solaris*)
8215 symcode='[BDRT]'
8216 ;;
8217 sco3.2v5*)
8218 symcode='[DT]'
8219 ;;
8220 sysv4.2uw2*)
8221 symcode='[DT]'
8222 ;;
8223 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8224 symcode='[ABDT]'
8225 ;;
8226 sysv4)
8227 symcode='[DFNSTU]'
8228 ;;
8229 esac
8230
8231 # If we're using GNU nm, then use its standard symbol codes.
8232 case `$NM -V 2>&1` in
8233 *GNU* | *'with BFD'*)
8234 symcode='[ABCDGIRSTW]' ;;
8235 esac
8236
8237 # Transform an extracted symbol line into a proper C declaration.
8238 # Some systems (esp. on ia64) link data and code symbols differently,
8239 # so use this general approach.
8240 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8241
8242 # Transform an extracted symbol line into symbol name and symbol address
8243 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8244 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
8245
8246 # Handle CRLF in mingw tool chain
8247 opt_cr=
8248 case $build_os in
8249 mingw*)
8250 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8251 ;;
8252 esac
8253
8254 # Try without a prefix underscore, then with it.
8255 for ac_symprfx in "" "_"; do
8256
8257 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8258 symxfrm="\\1 $ac_symprfx\\2 \\2"
8259
8260 # Write the raw and C identifiers.
8261 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8262 # Fake it for dumpbin and say T for any non-static function
8263 # and D for any global variable.
8264 # Also find C++ and __fastcall symbols from MSVC++,
8265 # which start with @ or ?.
8266 lt_cv_sys_global_symbol_pipe="$AWK '"\
8267 " {last_section=section; section=\$ 3};"\
8268 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8269 " \$ 0!~/External *\|/{next};"\
8270 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8271 " {if(hide[section]) next};"\
8272 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8273 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8274 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8275 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8276 " ' prfx=^$ac_symprfx"
8277 else
8278 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8279 fi
8280
8281 # Check to see that the pipe works correctly.
8282 pipe_works=no
8283
8284 rm -f conftest*
8285 cat > conftest.$ac_ext <<_LT_EOF
8286 #ifdef __cplusplus
8287 extern "C" {
8288 #endif
8289 char nm_test_var;
8290 void nm_test_func(void);
8291 void nm_test_func(void){}
8292 #ifdef __cplusplus
8293 }
8294 #endif
8295 int main(){nm_test_var='a';nm_test_func();return(0);}
8296 _LT_EOF
8297
8298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8299 (eval $ac_compile) 2>&5
8300 ac_status=$?
8301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8302 test $ac_status = 0; }; then
8303 # Now try to grab the symbols.
8304 nlist=conftest.nm
8305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8306 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8307 ac_status=$?
8308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8309 test $ac_status = 0; } && test -s "$nlist"; then
8310 # Try sorting and uniquifying the output.
8311 if sort "$nlist" | uniq > "$nlist"T; then
8312 mv -f "$nlist"T "$nlist"
8313 else
8314 rm -f "$nlist"T
8315 fi
8316
8317 # Make sure that we snagged all the symbols we need.
8318 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8319 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8320 cat <<_LT_EOF > conftest.$ac_ext
8321 #ifdef __cplusplus
8322 extern "C" {
8323 #endif
8324
8325 _LT_EOF
8326 # Now generate the symbol file.
8327 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8328
8329 cat <<_LT_EOF >> conftest.$ac_ext
8330
8331 /* The mapping between symbol names and symbols. */
8332 const struct {
8333 const char *name;
8334 void *address;
8335 }
8336 lt__PROGRAM__LTX_preloaded_symbols[] =
8337 {
8338 { "@PROGRAM@", (void *) 0 },
8339 _LT_EOF
8340 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8341 cat <<\_LT_EOF >> conftest.$ac_ext
8342 {0, (void *) 0}
8343 };
8344
8345 /* This works around a problem in FreeBSD linker */
8346 #ifdef FREEBSD_WORKAROUND
8347 static const void *lt_preloaded_setup() {
8348 return lt__PROGRAM__LTX_preloaded_symbols;
8349 }
8350 #endif
8351
8352 #ifdef __cplusplus
8353 }
8354 #endif
8355 _LT_EOF
8356 # Now try linking the two files.
8357 mv conftest.$ac_objext conftstm.$ac_objext
8358 lt_save_LIBS="$LIBS"
8359 lt_save_CFLAGS="$CFLAGS"
8360 LIBS="conftstm.$ac_objext"
8361 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8363 (eval $ac_link) 2>&5
8364 ac_status=$?
8365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8366 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8367 pipe_works=yes
8368 fi
8369 LIBS="$lt_save_LIBS"
8370 CFLAGS="$lt_save_CFLAGS"
8371 else
8372 echo "cannot find nm_test_func in $nlist" >&5
8373 fi
8374 else
8375 echo "cannot find nm_test_var in $nlist" >&5
8376 fi
8377 else
8378 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8379 fi
8380 else
8381 echo "$progname: failed program was:" >&5
8382 cat conftest.$ac_ext >&5
8383 fi
8384 rm -rf conftest* conftst*
8385
8386 # Do not use the global_symbol_pipe unless it works.
8387 if test "$pipe_works" = yes; then
8388 break
8389 else
8390 lt_cv_sys_global_symbol_pipe=
8391 fi
8392 done
8393
8394 fi
8395
8396 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8397 lt_cv_sys_global_symbol_to_cdecl=
8398 fi
8399 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8401 $as_echo "failed" >&6; }
8402 else
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8404 $as_echo "ok" >&6; }
8405 fi
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428 # Check whether --enable-libtool-lock was given.
8429 if test "${enable_libtool_lock+set}" = set; then :
8430 enableval=$enable_libtool_lock;
8431 fi
8432
8433 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8434
8435 # Some flags need to be propagated to the compiler or linker for good
8436 # libtool support.
8437 case $host in
8438 ia64-*-hpux*)
8439 # Find out which ABI we are using.
8440 echo 'int i;' > conftest.$ac_ext
8441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8442 (eval $ac_compile) 2>&5
8443 ac_status=$?
8444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8445 test $ac_status = 0; }; then
8446 case `/usr/bin/file conftest.$ac_objext` in
8447 *ELF-32*)
8448 HPUX_IA64_MODE="32"
8449 ;;
8450 *ELF-64*)
8451 HPUX_IA64_MODE="64"
8452 ;;
8453 esac
8454 fi
8455 rm -rf conftest*
8456 ;;
8457 *-*-irix6*)
8458 # Find out which ABI we are using.
8459 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8461 (eval $ac_compile) 2>&5
8462 ac_status=$?
8463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8464 test $ac_status = 0; }; then
8465 if test "$lt_cv_prog_gnu_ld" = yes; then
8466 case `/usr/bin/file conftest.$ac_objext` in
8467 *32-bit*)
8468 LD="${LD-ld} -melf32bsmip"
8469 ;;
8470 *N32*)
8471 LD="${LD-ld} -melf32bmipn32"
8472 ;;
8473 *64-bit*)
8474 LD="${LD-ld} -melf64bmip"
8475 ;;
8476 esac
8477 else
8478 case `/usr/bin/file conftest.$ac_objext` in
8479 *32-bit*)
8480 LD="${LD-ld} -32"
8481 ;;
8482 *N32*)
8483 LD="${LD-ld} -n32"
8484 ;;
8485 *64-bit*)
8486 LD="${LD-ld} -64"
8487 ;;
8488 esac
8489 fi
8490 fi
8491 rm -rf conftest*
8492 ;;
8493
8494 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8495 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8496 # Find out which ABI we are using.
8497 echo 'int i;' > conftest.$ac_ext
8498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8499 (eval $ac_compile) 2>&5
8500 ac_status=$?
8501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8502 test $ac_status = 0; }; then
8503 case `/usr/bin/file conftest.o` in
8504 *32-bit*)
8505 case $host in
8506 x86_64-*kfreebsd*-gnu)
8507 LD="${LD-ld} -m elf_i386_fbsd"
8508 ;;
8509 x86_64-*linux*)
8510 case `/usr/bin/file conftest.o` in
8511 *x86-64*)
8512 LD="${LD-ld} -m elf32_x86_64"
8513 ;;
8514 *)
8515 LD="${LD-ld} -m elf_i386"
8516 ;;
8517 esac
8518 ;;
8519 powerpc64le-*linux*)
8520 LD="${LD-ld} -m elf32lppclinux"
8521 ;;
8522 powerpc64-*linux*)
8523 LD="${LD-ld} -m elf32ppclinux"
8524 ;;
8525 s390x-*linux*)
8526 LD="${LD-ld} -m elf_s390"
8527 ;;
8528 sparc64-*linux*)
8529 LD="${LD-ld} -m elf32_sparc"
8530 ;;
8531 esac
8532 ;;
8533 *64-bit*)
8534 case $host in
8535 x86_64-*kfreebsd*-gnu)
8536 LD="${LD-ld} -m elf_x86_64_fbsd"
8537 ;;
8538 x86_64-*linux*)
8539 LD="${LD-ld} -m elf_x86_64"
8540 ;;
8541 powerpcle-*linux*)
8542 LD="${LD-ld} -m elf64lppc"
8543 ;;
8544 powerpc-*linux*)
8545 LD="${LD-ld} -m elf64ppc"
8546 ;;
8547 s390*-*linux*|s390*-*tpf*)
8548 LD="${LD-ld} -m elf64_s390"
8549 ;;
8550 sparc*-*linux*)
8551 LD="${LD-ld} -m elf64_sparc"
8552 ;;
8553 esac
8554 ;;
8555 esac
8556 fi
8557 rm -rf conftest*
8558 ;;
8559
8560 *-*-sco3.2v5*)
8561 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8562 SAVE_CFLAGS="$CFLAGS"
8563 CFLAGS="$CFLAGS -belf"
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8565 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8566 if ${lt_cv_cc_needs_belf+:} false; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 ac_ext=c
8570 ac_cpp='$CPP $CPPFLAGS'
8571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8574
8575 if test x$gcc_no_link = xyes; then
8576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8577 fi
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8580
8581 int
8582 main ()
8583 {
8584
8585 ;
8586 return 0;
8587 }
8588 _ACEOF
8589 if ac_fn_c_try_link "$LINENO"; then :
8590 lt_cv_cc_needs_belf=yes
8591 else
8592 lt_cv_cc_needs_belf=no
8593 fi
8594 rm -f core conftest.err conftest.$ac_objext \
8595 conftest$ac_exeext conftest.$ac_ext
8596 ac_ext=c
8597 ac_cpp='$CPP $CPPFLAGS'
8598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8601
8602 fi
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8604 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8605 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8606 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8607 CFLAGS="$SAVE_CFLAGS"
8608 fi
8609 ;;
8610 sparc*-*solaris*)
8611 # Find out which ABI we are using.
8612 echo 'int i;' > conftest.$ac_ext
8613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8614 (eval $ac_compile) 2>&5
8615 ac_status=$?
8616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8617 test $ac_status = 0; }; then
8618 case `/usr/bin/file conftest.o` in
8619 *64-bit*)
8620 case $lt_cv_prog_gnu_ld in
8621 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8622 *)
8623 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8624 LD="${LD-ld} -64"
8625 fi
8626 ;;
8627 esac
8628 ;;
8629 esac
8630 fi
8631 rm -rf conftest*
8632 ;;
8633 esac
8634
8635 need_locks="$enable_libtool_lock"
8636
8637
8638 case $host_os in
8639 rhapsody* | darwin*)
8640 if test -n "$ac_tool_prefix"; then
8641 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8642 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8644 $as_echo_n "checking for $ac_word... " >&6; }
8645 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8646 $as_echo_n "(cached) " >&6
8647 else
8648 if test -n "$DSYMUTIL"; then
8649 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8650 else
8651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8652 for as_dir in $PATH
8653 do
8654 IFS=$as_save_IFS
8655 test -z "$as_dir" && as_dir=.
8656 for ac_exec_ext in '' $ac_executable_extensions; do
8657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8658 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8660 break 2
8661 fi
8662 done
8663 done
8664 IFS=$as_save_IFS
8665
8666 fi
8667 fi
8668 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8669 if test -n "$DSYMUTIL"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8671 $as_echo "$DSYMUTIL" >&6; }
8672 else
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8675 fi
8676
8677
8678 fi
8679 if test -z "$ac_cv_prog_DSYMUTIL"; then
8680 ac_ct_DSYMUTIL=$DSYMUTIL
8681 # Extract the first word of "dsymutil", so it can be a program name with args.
8682 set dummy dsymutil; ac_word=$2
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8684 $as_echo_n "checking for $ac_word... " >&6; }
8685 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8686 $as_echo_n "(cached) " >&6
8687 else
8688 if test -n "$ac_ct_DSYMUTIL"; then
8689 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8690 else
8691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8692 for as_dir in $PATH
8693 do
8694 IFS=$as_save_IFS
8695 test -z "$as_dir" && as_dir=.
8696 for ac_exec_ext in '' $ac_executable_extensions; do
8697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8698 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700 break 2
8701 fi
8702 done
8703 done
8704 IFS=$as_save_IFS
8705
8706 fi
8707 fi
8708 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8709 if test -n "$ac_ct_DSYMUTIL"; then
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8711 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8712 else
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8714 $as_echo "no" >&6; }
8715 fi
8716
8717 if test "x$ac_ct_DSYMUTIL" = x; then
8718 DSYMUTIL=":"
8719 else
8720 case $cross_compiling:$ac_tool_warned in
8721 yes:)
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8724 ac_tool_warned=yes ;;
8725 esac
8726 DSYMUTIL=$ac_ct_DSYMUTIL
8727 fi
8728 else
8729 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8730 fi
8731
8732 if test -n "$ac_tool_prefix"; then
8733 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8734 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8736 $as_echo_n "checking for $ac_word... " >&6; }
8737 if ${ac_cv_prog_NMEDIT+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 if test -n "$NMEDIT"; then
8741 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8742 else
8743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8744 for as_dir in $PATH
8745 do
8746 IFS=$as_save_IFS
8747 test -z "$as_dir" && as_dir=.
8748 for ac_exec_ext in '' $ac_executable_extensions; do
8749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8750 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8752 break 2
8753 fi
8754 done
8755 done
8756 IFS=$as_save_IFS
8757
8758 fi
8759 fi
8760 NMEDIT=$ac_cv_prog_NMEDIT
8761 if test -n "$NMEDIT"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8763 $as_echo "$NMEDIT" >&6; }
8764 else
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8766 $as_echo "no" >&6; }
8767 fi
8768
8769
8770 fi
8771 if test -z "$ac_cv_prog_NMEDIT"; then
8772 ac_ct_NMEDIT=$NMEDIT
8773 # Extract the first word of "nmedit", so it can be a program name with args.
8774 set dummy nmedit; ac_word=$2
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776 $as_echo_n "checking for $ac_word... " >&6; }
8777 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 if test -n "$ac_ct_NMEDIT"; then
8781 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8782 else
8783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784 for as_dir in $PATH
8785 do
8786 IFS=$as_save_IFS
8787 test -z "$as_dir" && as_dir=.
8788 for ac_exec_ext in '' $ac_executable_extensions; do
8789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8790 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 break 2
8793 fi
8794 done
8795 done
8796 IFS=$as_save_IFS
8797
8798 fi
8799 fi
8800 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8801 if test -n "$ac_ct_NMEDIT"; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8803 $as_echo "$ac_ct_NMEDIT" >&6; }
8804 else
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8806 $as_echo "no" >&6; }
8807 fi
8808
8809 if test "x$ac_ct_NMEDIT" = x; then
8810 NMEDIT=":"
8811 else
8812 case $cross_compiling:$ac_tool_warned in
8813 yes:)
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8816 ac_tool_warned=yes ;;
8817 esac
8818 NMEDIT=$ac_ct_NMEDIT
8819 fi
8820 else
8821 NMEDIT="$ac_cv_prog_NMEDIT"
8822 fi
8823
8824 if test -n "$ac_tool_prefix"; then
8825 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8826 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8828 $as_echo_n "checking for $ac_word... " >&6; }
8829 if ${ac_cv_prog_LIPO+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 if test -n "$LIPO"; then
8833 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8834 else
8835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8836 for as_dir in $PATH
8837 do
8838 IFS=$as_save_IFS
8839 test -z "$as_dir" && as_dir=.
8840 for ac_exec_ext in '' $ac_executable_extensions; do
8841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8842 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8844 break 2
8845 fi
8846 done
8847 done
8848 IFS=$as_save_IFS
8849
8850 fi
8851 fi
8852 LIPO=$ac_cv_prog_LIPO
8853 if test -n "$LIPO"; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8855 $as_echo "$LIPO" >&6; }
8856 else
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8858 $as_echo "no" >&6; }
8859 fi
8860
8861
8862 fi
8863 if test -z "$ac_cv_prog_LIPO"; then
8864 ac_ct_LIPO=$LIPO
8865 # Extract the first word of "lipo", so it can be a program name with args.
8866 set dummy lipo; ac_word=$2
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8868 $as_echo_n "checking for $ac_word... " >&6; }
8869 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8870 $as_echo_n "(cached) " >&6
8871 else
8872 if test -n "$ac_ct_LIPO"; then
8873 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8874 else
8875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8876 for as_dir in $PATH
8877 do
8878 IFS=$as_save_IFS
8879 test -z "$as_dir" && as_dir=.
8880 for ac_exec_ext in '' $ac_executable_extensions; do
8881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8882 ac_cv_prog_ac_ct_LIPO="lipo"
8883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8884 break 2
8885 fi
8886 done
8887 done
8888 IFS=$as_save_IFS
8889
8890 fi
8891 fi
8892 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8893 if test -n "$ac_ct_LIPO"; then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8895 $as_echo "$ac_ct_LIPO" >&6; }
8896 else
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8898 $as_echo "no" >&6; }
8899 fi
8900
8901 if test "x$ac_ct_LIPO" = x; then
8902 LIPO=":"
8903 else
8904 case $cross_compiling:$ac_tool_warned in
8905 yes:)
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8908 ac_tool_warned=yes ;;
8909 esac
8910 LIPO=$ac_ct_LIPO
8911 fi
8912 else
8913 LIPO="$ac_cv_prog_LIPO"
8914 fi
8915
8916 if test -n "$ac_tool_prefix"; then
8917 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8918 set dummy ${ac_tool_prefix}otool; ac_word=$2
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8920 $as_echo_n "checking for $ac_word... " >&6; }
8921 if ${ac_cv_prog_OTOOL+:} false; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 if test -n "$OTOOL"; then
8925 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8926 else
8927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8928 for as_dir in $PATH
8929 do
8930 IFS=$as_save_IFS
8931 test -z "$as_dir" && as_dir=.
8932 for ac_exec_ext in '' $ac_executable_extensions; do
8933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8934 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8936 break 2
8937 fi
8938 done
8939 done
8940 IFS=$as_save_IFS
8941
8942 fi
8943 fi
8944 OTOOL=$ac_cv_prog_OTOOL
8945 if test -n "$OTOOL"; then
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8947 $as_echo "$OTOOL" >&6; }
8948 else
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8950 $as_echo "no" >&6; }
8951 fi
8952
8953
8954 fi
8955 if test -z "$ac_cv_prog_OTOOL"; then
8956 ac_ct_OTOOL=$OTOOL
8957 # Extract the first word of "otool", so it can be a program name with args.
8958 set dummy otool; ac_word=$2
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8960 $as_echo_n "checking for $ac_word... " >&6; }
8961 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8962 $as_echo_n "(cached) " >&6
8963 else
8964 if test -n "$ac_ct_OTOOL"; then
8965 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8966 else
8967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8968 for as_dir in $PATH
8969 do
8970 IFS=$as_save_IFS
8971 test -z "$as_dir" && as_dir=.
8972 for ac_exec_ext in '' $ac_executable_extensions; do
8973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8974 ac_cv_prog_ac_ct_OTOOL="otool"
8975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8976 break 2
8977 fi
8978 done
8979 done
8980 IFS=$as_save_IFS
8981
8982 fi
8983 fi
8984 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8985 if test -n "$ac_ct_OTOOL"; then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8987 $as_echo "$ac_ct_OTOOL" >&6; }
8988 else
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
8991 fi
8992
8993 if test "x$ac_ct_OTOOL" = x; then
8994 OTOOL=":"
8995 else
8996 case $cross_compiling:$ac_tool_warned in
8997 yes:)
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9000 ac_tool_warned=yes ;;
9001 esac
9002 OTOOL=$ac_ct_OTOOL
9003 fi
9004 else
9005 OTOOL="$ac_cv_prog_OTOOL"
9006 fi
9007
9008 if test -n "$ac_tool_prefix"; then
9009 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9010 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9012 $as_echo_n "checking for $ac_word... " >&6; }
9013 if ${ac_cv_prog_OTOOL64+:} false; then :
9014 $as_echo_n "(cached) " >&6
9015 else
9016 if test -n "$OTOOL64"; then
9017 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9018 else
9019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9020 for as_dir in $PATH
9021 do
9022 IFS=$as_save_IFS
9023 test -z "$as_dir" && as_dir=.
9024 for ac_exec_ext in '' $ac_executable_extensions; do
9025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9026 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9028 break 2
9029 fi
9030 done
9031 done
9032 IFS=$as_save_IFS
9033
9034 fi
9035 fi
9036 OTOOL64=$ac_cv_prog_OTOOL64
9037 if test -n "$OTOOL64"; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9039 $as_echo "$OTOOL64" >&6; }
9040 else
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9042 $as_echo "no" >&6; }
9043 fi
9044
9045
9046 fi
9047 if test -z "$ac_cv_prog_OTOOL64"; then
9048 ac_ct_OTOOL64=$OTOOL64
9049 # Extract the first word of "otool64", so it can be a program name with args.
9050 set dummy otool64; ac_word=$2
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9052 $as_echo_n "checking for $ac_word... " >&6; }
9053 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9054 $as_echo_n "(cached) " >&6
9055 else
9056 if test -n "$ac_ct_OTOOL64"; then
9057 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9058 else
9059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9060 for as_dir in $PATH
9061 do
9062 IFS=$as_save_IFS
9063 test -z "$as_dir" && as_dir=.
9064 for ac_exec_ext in '' $ac_executable_extensions; do
9065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9066 ac_cv_prog_ac_ct_OTOOL64="otool64"
9067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9068 break 2
9069 fi
9070 done
9071 done
9072 IFS=$as_save_IFS
9073
9074 fi
9075 fi
9076 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9077 if test -n "$ac_ct_OTOOL64"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9079 $as_echo "$ac_ct_OTOOL64" >&6; }
9080 else
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9082 $as_echo "no" >&6; }
9083 fi
9084
9085 if test "x$ac_ct_OTOOL64" = x; then
9086 OTOOL64=":"
9087 else
9088 case $cross_compiling:$ac_tool_warned in
9089 yes:)
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9092 ac_tool_warned=yes ;;
9093 esac
9094 OTOOL64=$ac_ct_OTOOL64
9095 fi
9096 else
9097 OTOOL64="$ac_cv_prog_OTOOL64"
9098 fi
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9127 $as_echo_n "checking for -single_module linker flag... " >&6; }
9128 if ${lt_cv_apple_cc_single_mod+:} false; then :
9129 $as_echo_n "(cached) " >&6
9130 else
9131 lt_cv_apple_cc_single_mod=no
9132 if test -z "${LT_MULTI_MODULE}"; then
9133 # By default we will add the -single_module flag. You can override
9134 # by either setting the environment variable LT_MULTI_MODULE
9135 # non-empty at configure time, or by adding -multi_module to the
9136 # link flags.
9137 rm -rf libconftest.dylib*
9138 echo "int foo(void){return 1;}" > conftest.c
9139 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9140 -dynamiclib -Wl,-single_module conftest.c" >&5
9141 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9142 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9143 _lt_result=$?
9144 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9145 lt_cv_apple_cc_single_mod=yes
9146 else
9147 cat conftest.err >&5
9148 fi
9149 rm -rf libconftest.dylib*
9150 rm -f conftest.*
9151 fi
9152 fi
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9154 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9156 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9157 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9158 $as_echo_n "(cached) " >&6
9159 else
9160 lt_cv_ld_exported_symbols_list=no
9161 save_LDFLAGS=$LDFLAGS
9162 echo "_main" > conftest.sym
9163 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9164 if test x$gcc_no_link = xyes; then
9165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9166 fi
9167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9169
9170 int
9171 main ()
9172 {
9173
9174 ;
9175 return 0;
9176 }
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9179 lt_cv_ld_exported_symbols_list=yes
9180 else
9181 lt_cv_ld_exported_symbols_list=no
9182 fi
9183 rm -f core conftest.err conftest.$ac_objext \
9184 conftest$ac_exeext conftest.$ac_ext
9185 LDFLAGS="$save_LDFLAGS"
9186
9187 fi
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9189 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9191 $as_echo_n "checking for -force_load linker flag... " >&6; }
9192 if ${lt_cv_ld_force_load+:} false; then :
9193 $as_echo_n "(cached) " >&6
9194 else
9195 lt_cv_ld_force_load=no
9196 cat > conftest.c << _LT_EOF
9197 int forced_loaded() { return 2;}
9198 _LT_EOF
9199 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9200 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9201 echo "$AR cru libconftest.a conftest.o" >&5
9202 $AR cru libconftest.a conftest.o 2>&5
9203 cat > conftest.c << _LT_EOF
9204 int main() { return 0;}
9205 _LT_EOF
9206 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9207 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9208 _lt_result=$?
9209 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9210 lt_cv_ld_force_load=yes
9211 else
9212 cat conftest.err >&5
9213 fi
9214 rm -f conftest.err libconftest.a conftest conftest.c
9215 rm -rf conftest.dSYM
9216
9217 fi
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9219 $as_echo "$lt_cv_ld_force_load" >&6; }
9220 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9221 # build without first building modern cctools / linker.
9222 case $host_cpu-$host_os in
9223 *-rhapsody* | *-darwin1.[012])
9224 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9225 *-darwin1.*)
9226 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9227 *-darwin*)
9228 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9229 # deployment target is forced to an earlier version.
9230 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9231 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9232 ;;
9233 10.[012][,.]*)
9234 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9235 ;;
9236 *)
9237 ;;
9238 esac
9239 ;;
9240 esac
9241 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9242 _lt_dar_single_mod='$single_module'
9243 fi
9244 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9245 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9246 else
9247 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9248 fi
9249 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9250 _lt_dsymutil='~$DSYMUTIL $lib || :'
9251 else
9252 _lt_dsymutil=
9253 fi
9254 ;;
9255 esac
9256
9257 for ac_header in dlfcn.h
9258 do :
9259 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9260 "
9261 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9262 cat >>confdefs.h <<_ACEOF
9263 #define HAVE_DLFCN_H 1
9264 _ACEOF
9265
9266 fi
9267
9268 done
9269
9270
9271
9272
9273
9274 # Set options
9275
9276
9277
9278
9279 enable_win32_dll=no
9280
9281
9282 # Check whether --enable-shared was given.
9283 if test "${enable_shared+set}" = set; then :
9284 enableval=$enable_shared; p=${PACKAGE-default}
9285 case $enableval in
9286 yes) enable_shared=yes ;;
9287 no) enable_shared=no ;;
9288 *)
9289 enable_shared=no
9290 # Look at the argument we got. We use all the common list separators.
9291 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9292 for pkg in $enableval; do
9293 IFS="$lt_save_ifs"
9294 if test "X$pkg" = "X$p"; then
9295 enable_shared=yes
9296 fi
9297 done
9298 IFS="$lt_save_ifs"
9299 ;;
9300 esac
9301 else
9302 enable_shared=yes
9303 fi
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313 # Check whether --enable-static was given.
9314 if test "${enable_static+set}" = set; then :
9315 enableval=$enable_static; p=${PACKAGE-default}
9316 case $enableval in
9317 yes) enable_static=yes ;;
9318 no) enable_static=no ;;
9319 *)
9320 enable_static=no
9321 # Look at the argument we got. We use all the common list separators.
9322 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9323 for pkg in $enableval; do
9324 IFS="$lt_save_ifs"
9325 if test "X$pkg" = "X$p"; then
9326 enable_static=yes
9327 fi
9328 done
9329 IFS="$lt_save_ifs"
9330 ;;
9331 esac
9332 else
9333 enable_static=yes
9334 fi
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345 # Check whether --with-pic was given.
9346 if test "${with_pic+set}" = set; then :
9347 withval=$with_pic; pic_mode="$withval"
9348 else
9349 pic_mode=default
9350 fi
9351
9352
9353 test -z "$pic_mode" && pic_mode=default
9354
9355
9356
9357
9358
9359
9360
9361 # Check whether --enable-fast-install was given.
9362 if test "${enable_fast_install+set}" = set; then :
9363 enableval=$enable_fast_install; p=${PACKAGE-default}
9364 case $enableval in
9365 yes) enable_fast_install=yes ;;
9366 no) enable_fast_install=no ;;
9367 *)
9368 enable_fast_install=no
9369 # Look at the argument we got. We use all the common list separators.
9370 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9371 for pkg in $enableval; do
9372 IFS="$lt_save_ifs"
9373 if test "X$pkg" = "X$p"; then
9374 enable_fast_install=yes
9375 fi
9376 done
9377 IFS="$lt_save_ifs"
9378 ;;
9379 esac
9380 else
9381 enable_fast_install=yes
9382 fi
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394 # This can be used to rebuild libtool when needed
9395 LIBTOOL_DEPS="$ltmain"
9396
9397 # Always use our own libtool.
9398 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425 test -z "$LN_S" && LN_S="ln -s"
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440 if test -n "${ZSH_VERSION+set}" ; then
9441 setopt NO_GLOB_SUBST
9442 fi
9443
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9445 $as_echo_n "checking for objdir... " >&6; }
9446 if ${lt_cv_objdir+:} false; then :
9447 $as_echo_n "(cached) " >&6
9448 else
9449 rm -f .libs 2>/dev/null
9450 mkdir .libs 2>/dev/null
9451 if test -d .libs; then
9452 lt_cv_objdir=.libs
9453 else
9454 # MS-DOS does not allow filenames that begin with a dot.
9455 lt_cv_objdir=_libs
9456 fi
9457 rmdir .libs 2>/dev/null
9458 fi
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9460 $as_echo "$lt_cv_objdir" >&6; }
9461 objdir=$lt_cv_objdir
9462
9463
9464
9465
9466
9467 cat >>confdefs.h <<_ACEOF
9468 #define LT_OBJDIR "$lt_cv_objdir/"
9469 _ACEOF
9470
9471
9472
9473
9474 case $host_os in
9475 aix3*)
9476 # AIX sometimes has problems with the GCC collect2 program. For some
9477 # reason, if we set the COLLECT_NAMES environment variable, the problems
9478 # vanish in a puff of smoke.
9479 if test "X${COLLECT_NAMES+set}" != Xset; then
9480 COLLECT_NAMES=
9481 export COLLECT_NAMES
9482 fi
9483 ;;
9484 esac
9485
9486 # Global variables:
9487 ofile=libtool
9488 can_build_shared=yes
9489
9490 # All known linkers require a `.a' archive for static linking (except MSVC,
9491 # which needs '.lib').
9492 libext=a
9493
9494 with_gnu_ld="$lt_cv_prog_gnu_ld"
9495
9496 old_CC="$CC"
9497 old_CFLAGS="$CFLAGS"
9498
9499 # Set sane defaults for various variables
9500 test -z "$CC" && CC=cc
9501 test -z "$LTCC" && LTCC=$CC
9502 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9503 test -z "$LD" && LD=ld
9504 test -z "$ac_objext" && ac_objext=o
9505
9506 for cc_temp in $compiler""; do
9507 case $cc_temp in
9508 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9509 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9510 \-*) ;;
9511 *) break;;
9512 esac
9513 done
9514 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9515
9516
9517 # Only perform the check for file, if the check method requires it
9518 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9519 case $deplibs_check_method in
9520 file_magic*)
9521 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9523 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9524 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 case $MAGIC_CMD in
9528 [\\/*] | ?:[\\/]*)
9529 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9530 ;;
9531 *)
9532 lt_save_MAGIC_CMD="$MAGIC_CMD"
9533 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9534 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9535 for ac_dir in $ac_dummy; do
9536 IFS="$lt_save_ifs"
9537 test -z "$ac_dir" && ac_dir=.
9538 if test -f $ac_dir/${ac_tool_prefix}file; then
9539 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9540 if test -n "$file_magic_test_file"; then
9541 case $deplibs_check_method in
9542 "file_magic "*)
9543 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9544 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9545 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9546 $EGREP "$file_magic_regex" > /dev/null; then
9547 :
9548 else
9549 cat <<_LT_EOF 1>&2
9550
9551 *** Warning: the command libtool uses to detect shared libraries,
9552 *** $file_magic_cmd, produces output that libtool cannot recognize.
9553 *** The result is that libtool may fail to recognize shared libraries
9554 *** as such. This will affect the creation of libtool libraries that
9555 *** depend on shared libraries, but programs linked with such libtool
9556 *** libraries will work regardless of this problem. Nevertheless, you
9557 *** may want to report the problem to your system manager and/or to
9558 *** bug-libtool@gnu.org
9559
9560 _LT_EOF
9561 fi ;;
9562 esac
9563 fi
9564 break
9565 fi
9566 done
9567 IFS="$lt_save_ifs"
9568 MAGIC_CMD="$lt_save_MAGIC_CMD"
9569 ;;
9570 esac
9571 fi
9572
9573 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9574 if test -n "$MAGIC_CMD"; then
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9576 $as_echo "$MAGIC_CMD" >&6; }
9577 else
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9579 $as_echo "no" >&6; }
9580 fi
9581
9582
9583
9584
9585
9586 if test -z "$lt_cv_path_MAGIC_CMD"; then
9587 if test -n "$ac_tool_prefix"; then
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9589 $as_echo_n "checking for file... " >&6; }
9590 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9591 $as_echo_n "(cached) " >&6
9592 else
9593 case $MAGIC_CMD in
9594 [\\/*] | ?:[\\/]*)
9595 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9596 ;;
9597 *)
9598 lt_save_MAGIC_CMD="$MAGIC_CMD"
9599 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9600 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9601 for ac_dir in $ac_dummy; do
9602 IFS="$lt_save_ifs"
9603 test -z "$ac_dir" && ac_dir=.
9604 if test -f $ac_dir/file; then
9605 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9606 if test -n "$file_magic_test_file"; then
9607 case $deplibs_check_method in
9608 "file_magic "*)
9609 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9610 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9611 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9612 $EGREP "$file_magic_regex" > /dev/null; then
9613 :
9614 else
9615 cat <<_LT_EOF 1>&2
9616
9617 *** Warning: the command libtool uses to detect shared libraries,
9618 *** $file_magic_cmd, produces output that libtool cannot recognize.
9619 *** The result is that libtool may fail to recognize shared libraries
9620 *** as such. This will affect the creation of libtool libraries that
9621 *** depend on shared libraries, but programs linked with such libtool
9622 *** libraries will work regardless of this problem. Nevertheless, you
9623 *** may want to report the problem to your system manager and/or to
9624 *** bug-libtool@gnu.org
9625
9626 _LT_EOF
9627 fi ;;
9628 esac
9629 fi
9630 break
9631 fi
9632 done
9633 IFS="$lt_save_ifs"
9634 MAGIC_CMD="$lt_save_MAGIC_CMD"
9635 ;;
9636 esac
9637 fi
9638
9639 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9640 if test -n "$MAGIC_CMD"; then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9642 $as_echo "$MAGIC_CMD" >&6; }
9643 else
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9645 $as_echo "no" >&6; }
9646 fi
9647
9648
9649 else
9650 MAGIC_CMD=:
9651 fi
9652 fi
9653
9654 fi
9655 ;;
9656 esac
9657
9658 # Use C for the default configuration in the libtool script
9659
9660 lt_save_CC="$CC"
9661 ac_ext=c
9662 ac_cpp='$CPP $CPPFLAGS'
9663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9666
9667
9668 # Source file extension for C test sources.
9669 ac_ext=c
9670
9671 # Object file extension for compiled C test sources.
9672 objext=o
9673 objext=$objext
9674
9675 # Code to be used in simple compile tests
9676 lt_simple_compile_test_code="int some_variable = 0;"
9677
9678 # Code to be used in simple link tests
9679 lt_simple_link_test_code='int main(){return(0);}'
9680
9681
9682
9683
9684
9685
9686
9687 # If no C compiler was specified, use CC.
9688 LTCC=${LTCC-"$CC"}
9689
9690 # If no C compiler flags were specified, use CFLAGS.
9691 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9692
9693 # Allow CC to be a program name with arguments.
9694 compiler=$CC
9695
9696 # Save the default compiler, since it gets overwritten when the other
9697 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9698 compiler_DEFAULT=$CC
9699
9700 # save warnings/boilerplate of simple test code
9701 ac_outfile=conftest.$ac_objext
9702 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9703 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9704 _lt_compiler_boilerplate=`cat conftest.err`
9705 $RM conftest*
9706
9707 ac_outfile=conftest.$ac_objext
9708 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9709 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9710 _lt_linker_boilerplate=`cat conftest.err`
9711 $RM -r conftest*
9712
9713
9714 ## CAVEAT EMPTOR:
9715 ## There is no encapsulation within the following macros, do not change
9716 ## the running order or otherwise move them around unless you know exactly
9717 ## what you are doing...
9718 if test -n "$compiler"; then
9719
9720 lt_prog_compiler_no_builtin_flag=
9721
9722 if test "$GCC" = yes; then
9723 case $cc_basename in
9724 nvcc*)
9725 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9726 *)
9727 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9728 esac
9729
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9731 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9732 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 lt_cv_prog_compiler_rtti_exceptions=no
9736 ac_outfile=conftest.$ac_objext
9737 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9738 lt_compiler_flag="-fno-rtti -fno-exceptions"
9739 # Insert the option either (1) after the last *FLAGS variable, or
9740 # (2) before a word containing "conftest.", or (3) at the end.
9741 # Note that $ac_compile itself does not contain backslashes and begins
9742 # with a dollar sign (not a hyphen), so the echo should work correctly.
9743 # The option is referenced via a variable to avoid confusing sed.
9744 lt_compile=`echo "$ac_compile" | $SED \
9745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9747 -e 's:$: $lt_compiler_flag:'`
9748 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9749 (eval "$lt_compile" 2>conftest.err)
9750 ac_status=$?
9751 cat conftest.err >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 if (exit $ac_status) && test -s "$ac_outfile"; then
9754 # The compiler can only warn and ignore the option if not recognized
9755 # So say no if there are warnings other than the usual output.
9756 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9757 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9758 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9759 lt_cv_prog_compiler_rtti_exceptions=yes
9760 fi
9761 fi
9762 $RM conftest*
9763
9764 fi
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9766 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9767
9768 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9769 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9770 else
9771 :
9772 fi
9773
9774 fi
9775
9776
9777
9778
9779
9780
9781 lt_prog_compiler_wl=
9782 lt_prog_compiler_pic=
9783 lt_prog_compiler_static=
9784
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9786 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9787
9788 if test "$GCC" = yes; then
9789 lt_prog_compiler_wl='-Wl,'
9790 lt_prog_compiler_static='-static'
9791
9792 case $host_os in
9793 aix*)
9794 # All AIX code is PIC.
9795 if test "$host_cpu" = ia64; then
9796 # AIX 5 now supports IA64 processor
9797 lt_prog_compiler_static='-Bstatic'
9798 fi
9799 lt_prog_compiler_pic='-fPIC'
9800 ;;
9801
9802 amigaos*)
9803 case $host_cpu in
9804 powerpc)
9805 # see comment about AmigaOS4 .so support
9806 lt_prog_compiler_pic='-fPIC'
9807 ;;
9808 m68k)
9809 # FIXME: we need at least 68020 code to build shared libraries, but
9810 # adding the `-m68020' flag to GCC prevents building anything better,
9811 # like `-m68040'.
9812 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9813 ;;
9814 esac
9815 ;;
9816
9817 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9818 # PIC is the default for these OSes.
9819 ;;
9820
9821 mingw* | cygwin* | pw32* | os2* | cegcc*)
9822 # This hack is so that the source file can tell whether it is being
9823 # built for inclusion in a dll (and should export symbols for example).
9824 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9825 # (--disable-auto-import) libraries
9826 lt_prog_compiler_pic='-DDLL_EXPORT'
9827 ;;
9828
9829 darwin* | rhapsody*)
9830 # PIC is the default on this platform
9831 # Common symbols not allowed in MH_DYLIB files
9832 lt_prog_compiler_pic='-fno-common'
9833 ;;
9834
9835 haiku*)
9836 # PIC is the default for Haiku.
9837 # The "-static" flag exists, but is broken.
9838 lt_prog_compiler_static=
9839 ;;
9840
9841 hpux*)
9842 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9843 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9844 # sets the default TLS model and affects inlining.
9845 case $host_cpu in
9846 hppa*64*)
9847 # +Z the default
9848 ;;
9849 *)
9850 lt_prog_compiler_pic='-fPIC'
9851 ;;
9852 esac
9853 ;;
9854
9855 interix[3-9]*)
9856 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9857 # Instead, we relocate shared libraries at runtime.
9858 ;;
9859
9860 msdosdjgpp*)
9861 # Just because we use GCC doesn't mean we suddenly get shared libraries
9862 # on systems that don't support them.
9863 lt_prog_compiler_can_build_shared=no
9864 enable_shared=no
9865 ;;
9866
9867 *nto* | *qnx*)
9868 # QNX uses GNU C++, but need to define -shared option too, otherwise
9869 # it will coredump.
9870 lt_prog_compiler_pic='-fPIC -shared'
9871 ;;
9872
9873 sysv4*MP*)
9874 if test -d /usr/nec; then
9875 lt_prog_compiler_pic=-Kconform_pic
9876 fi
9877 ;;
9878
9879 *)
9880 lt_prog_compiler_pic='-fPIC'
9881 ;;
9882 esac
9883
9884 case $cc_basename in
9885 nvcc*) # Cuda Compiler Driver 2.2
9886 lt_prog_compiler_wl='-Xlinker '
9887 lt_prog_compiler_pic='-Xcompiler -fPIC'
9888 ;;
9889 esac
9890 else
9891 # PORTME Check for flag to pass linker flags through the system compiler.
9892 case $host_os in
9893 aix*)
9894 lt_prog_compiler_wl='-Wl,'
9895 if test "$host_cpu" = ia64; then
9896 # AIX 5 now supports IA64 processor
9897 lt_prog_compiler_static='-Bstatic'
9898 else
9899 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9900 fi
9901 ;;
9902
9903 mingw* | cygwin* | pw32* | os2* | cegcc*)
9904 # This hack is so that the source file can tell whether it is being
9905 # built for inclusion in a dll (and should export symbols for example).
9906 lt_prog_compiler_pic='-DDLL_EXPORT'
9907 ;;
9908
9909 hpux9* | hpux10* | hpux11*)
9910 lt_prog_compiler_wl='-Wl,'
9911 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9912 # not for PA HP-UX.
9913 case $host_cpu in
9914 hppa*64*|ia64*)
9915 # +Z the default
9916 ;;
9917 *)
9918 lt_prog_compiler_pic='+Z'
9919 ;;
9920 esac
9921 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9922 lt_prog_compiler_static='${wl}-a ${wl}archive'
9923 ;;
9924
9925 irix5* | irix6* | nonstopux*)
9926 lt_prog_compiler_wl='-Wl,'
9927 # PIC (with -KPIC) is the default.
9928 lt_prog_compiler_static='-non_shared'
9929 ;;
9930
9931 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9932 case $cc_basename in
9933 # old Intel for x86_64 which still supported -KPIC.
9934 ecc*)
9935 lt_prog_compiler_wl='-Wl,'
9936 lt_prog_compiler_pic='-KPIC'
9937 lt_prog_compiler_static='-static'
9938 ;;
9939 # icc used to be incompatible with GCC.
9940 # ICC 10 doesn't accept -KPIC any more.
9941 icc* | ifort*)
9942 lt_prog_compiler_wl='-Wl,'
9943 lt_prog_compiler_pic='-fPIC'
9944 lt_prog_compiler_static='-static'
9945 ;;
9946 # Lahey Fortran 8.1.
9947 lf95*)
9948 lt_prog_compiler_wl='-Wl,'
9949 lt_prog_compiler_pic='--shared'
9950 lt_prog_compiler_static='--static'
9951 ;;
9952 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9953 # Portland Group compilers (*not* the Pentium gcc compiler,
9954 # which looks to be a dead project)
9955 lt_prog_compiler_wl='-Wl,'
9956 lt_prog_compiler_pic='-fpic'
9957 lt_prog_compiler_static='-Bstatic'
9958 ;;
9959 ccc*)
9960 lt_prog_compiler_wl='-Wl,'
9961 # All Alpha code is PIC.
9962 lt_prog_compiler_static='-non_shared'
9963 ;;
9964 xl* | bgxl* | bgf* | mpixl*)
9965 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9966 lt_prog_compiler_wl='-Wl,'
9967 lt_prog_compiler_pic='-qpic'
9968 lt_prog_compiler_static='-qstaticlink'
9969 ;;
9970 *)
9971 case `$CC -V 2>&1 | sed 5q` in
9972 *Sun\ F* | *Sun*Fortran*)
9973 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9974 lt_prog_compiler_pic='-KPIC'
9975 lt_prog_compiler_static='-Bstatic'
9976 lt_prog_compiler_wl=''
9977 ;;
9978 *Sun\ C*)
9979 # Sun C 5.9
9980 lt_prog_compiler_pic='-KPIC'
9981 lt_prog_compiler_static='-Bstatic'
9982 lt_prog_compiler_wl='-Wl,'
9983 ;;
9984 esac
9985 ;;
9986 esac
9987 ;;
9988
9989 newsos6)
9990 lt_prog_compiler_pic='-KPIC'
9991 lt_prog_compiler_static='-Bstatic'
9992 ;;
9993
9994 *nto* | *qnx*)
9995 # QNX uses GNU C++, but need to define -shared option too, otherwise
9996 # it will coredump.
9997 lt_prog_compiler_pic='-fPIC -shared'
9998 ;;
9999
10000 osf3* | osf4* | osf5*)
10001 lt_prog_compiler_wl='-Wl,'
10002 # All OSF/1 code is PIC.
10003 lt_prog_compiler_static='-non_shared'
10004 ;;
10005
10006 rdos*)
10007 lt_prog_compiler_static='-non_shared'
10008 ;;
10009
10010 solaris*)
10011 lt_prog_compiler_pic='-KPIC'
10012 lt_prog_compiler_static='-Bstatic'
10013 case $cc_basename in
10014 f77* | f90* | f95*)
10015 lt_prog_compiler_wl='-Qoption ld ';;
10016 *)
10017 lt_prog_compiler_wl='-Wl,';;
10018 esac
10019 ;;
10020
10021 sunos4*)
10022 lt_prog_compiler_wl='-Qoption ld '
10023 lt_prog_compiler_pic='-PIC'
10024 lt_prog_compiler_static='-Bstatic'
10025 ;;
10026
10027 sysv4 | sysv4.2uw2* | sysv4.3*)
10028 lt_prog_compiler_wl='-Wl,'
10029 lt_prog_compiler_pic='-KPIC'
10030 lt_prog_compiler_static='-Bstatic'
10031 ;;
10032
10033 sysv4*MP*)
10034 if test -d /usr/nec ;then
10035 lt_prog_compiler_pic='-Kconform_pic'
10036 lt_prog_compiler_static='-Bstatic'
10037 fi
10038 ;;
10039
10040 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10041 lt_prog_compiler_wl='-Wl,'
10042 lt_prog_compiler_pic='-KPIC'
10043 lt_prog_compiler_static='-Bstatic'
10044 ;;
10045
10046 unicos*)
10047 lt_prog_compiler_wl='-Wl,'
10048 lt_prog_compiler_can_build_shared=no
10049 ;;
10050
10051 uts4*)
10052 lt_prog_compiler_pic='-pic'
10053 lt_prog_compiler_static='-Bstatic'
10054 ;;
10055
10056 *)
10057 lt_prog_compiler_can_build_shared=no
10058 ;;
10059 esac
10060 fi
10061
10062 case $host_os in
10063 # For platforms which do not support PIC, -DPIC is meaningless:
10064 *djgpp*)
10065 lt_prog_compiler_pic=
10066 ;;
10067 *)
10068 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10069 ;;
10070 esac
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10072 $as_echo "$lt_prog_compiler_pic" >&6; }
10073
10074
10075
10076
10077
10078
10079 #
10080 # Check to make sure the PIC flag actually works.
10081 #
10082 if test -n "$lt_prog_compiler_pic"; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10084 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10085 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 lt_cv_prog_compiler_pic_works=no
10089 ac_outfile=conftest.$ac_objext
10090 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10091 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10092 # Insert the option either (1) after the last *FLAGS variable, or
10093 # (2) before a word containing "conftest.", or (3) at the end.
10094 # Note that $ac_compile itself does not contain backslashes and begins
10095 # with a dollar sign (not a hyphen), so the echo should work correctly.
10096 # The option is referenced via a variable to avoid confusing sed.
10097 lt_compile=`echo "$ac_compile" | $SED \
10098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10100 -e 's:$: $lt_compiler_flag:'`
10101 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10102 (eval "$lt_compile" 2>conftest.err)
10103 ac_status=$?
10104 cat conftest.err >&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 if (exit $ac_status) && test -s "$ac_outfile"; then
10107 # The compiler can only warn and ignore the option if not recognized
10108 # So say no if there are warnings other than the usual output.
10109 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10110 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10111 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10112 lt_cv_prog_compiler_pic_works=yes
10113 fi
10114 fi
10115 $RM conftest*
10116
10117 fi
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10119 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10120
10121 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10122 case $lt_prog_compiler_pic in
10123 "" | " "*) ;;
10124 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10125 esac
10126 else
10127 lt_prog_compiler_pic=
10128 lt_prog_compiler_can_build_shared=no
10129 fi
10130
10131 fi
10132
10133
10134
10135
10136
10137
10138 #
10139 # Check to make sure the static flag actually works.
10140 #
10141 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10143 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10144 if ${lt_cv_prog_compiler_static_works+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 lt_cv_prog_compiler_static_works=no
10148 save_LDFLAGS="$LDFLAGS"
10149 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10150 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10151 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10152 # The linker can only warn and ignore the option if not recognized
10153 # So say no if there are warnings
10154 if test -s conftest.err; then
10155 # Append any errors to the config.log.
10156 cat conftest.err 1>&5
10157 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10158 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10159 if diff conftest.exp conftest.er2 >/dev/null; then
10160 lt_cv_prog_compiler_static_works=yes
10161 fi
10162 else
10163 lt_cv_prog_compiler_static_works=yes
10164 fi
10165 fi
10166 $RM -r conftest*
10167 LDFLAGS="$save_LDFLAGS"
10168
10169 fi
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10171 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10172
10173 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10174 :
10175 else
10176 lt_prog_compiler_static=
10177 fi
10178
10179
10180
10181
10182
10183
10184
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10186 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10187 if ${lt_cv_prog_compiler_c_o+:} false; then :
10188 $as_echo_n "(cached) " >&6
10189 else
10190 lt_cv_prog_compiler_c_o=no
10191 $RM -r conftest 2>/dev/null
10192 mkdir conftest
10193 cd conftest
10194 mkdir out
10195 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10196
10197 lt_compiler_flag="-o out/conftest2.$ac_objext"
10198 # Insert the option either (1) after the last *FLAGS variable, or
10199 # (2) before a word containing "conftest.", or (3) at the end.
10200 # Note that $ac_compile itself does not contain backslashes and begins
10201 # with a dollar sign (not a hyphen), so the echo should work correctly.
10202 lt_compile=`echo "$ac_compile" | $SED \
10203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10205 -e 's:$: $lt_compiler_flag:'`
10206 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10207 (eval "$lt_compile" 2>out/conftest.err)
10208 ac_status=$?
10209 cat out/conftest.err >&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10212 then
10213 # The compiler can only warn and ignore the option if not recognized
10214 # So say no if there are warnings
10215 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10216 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10217 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10218 lt_cv_prog_compiler_c_o=yes
10219 fi
10220 fi
10221 chmod u+w . 2>&5
10222 $RM conftest*
10223 # SGI C++ compiler will create directory out/ii_files/ for
10224 # template instantiation
10225 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10226 $RM out/* && rmdir out
10227 cd ..
10228 $RM -r conftest
10229 $RM conftest*
10230
10231 fi
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10233 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10234
10235
10236
10237
10238
10239
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10241 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10242 if ${lt_cv_prog_compiler_c_o+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 lt_cv_prog_compiler_c_o=no
10246 $RM -r conftest 2>/dev/null
10247 mkdir conftest
10248 cd conftest
10249 mkdir out
10250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10251
10252 lt_compiler_flag="-o out/conftest2.$ac_objext"
10253 # Insert the option either (1) after the last *FLAGS variable, or
10254 # (2) before a word containing "conftest.", or (3) at the end.
10255 # Note that $ac_compile itself does not contain backslashes and begins
10256 # with a dollar sign (not a hyphen), so the echo should work correctly.
10257 lt_compile=`echo "$ac_compile" | $SED \
10258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10260 -e 's:$: $lt_compiler_flag:'`
10261 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10262 (eval "$lt_compile" 2>out/conftest.err)
10263 ac_status=$?
10264 cat out/conftest.err >&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10267 then
10268 # The compiler can only warn and ignore the option if not recognized
10269 # So say no if there are warnings
10270 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10271 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10272 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10273 lt_cv_prog_compiler_c_o=yes
10274 fi
10275 fi
10276 chmod u+w . 2>&5
10277 $RM conftest*
10278 # SGI C++ compiler will create directory out/ii_files/ for
10279 # template instantiation
10280 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10281 $RM out/* && rmdir out
10282 cd ..
10283 $RM -r conftest
10284 $RM conftest*
10285
10286 fi
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10288 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10289
10290
10291
10292
10293 hard_links="nottested"
10294 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10295 # do not overwrite the value of need_locks provided by the user
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10297 $as_echo_n "checking if we can lock with hard links... " >&6; }
10298 hard_links=yes
10299 $RM conftest*
10300 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10301 touch conftest.a
10302 ln conftest.a conftest.b 2>&5 || hard_links=no
10303 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10305 $as_echo "$hard_links" >&6; }
10306 if test "$hard_links" = no; then
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10308 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10309 need_locks=warn
10310 fi
10311 else
10312 need_locks=no
10313 fi
10314
10315
10316
10317
10318
10319
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10321 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10322
10323 runpath_var=
10324 allow_undefined_flag=
10325 always_export_symbols=no
10326 archive_cmds=
10327 archive_expsym_cmds=
10328 compiler_needs_object=no
10329 enable_shared_with_static_runtimes=no
10330 export_dynamic_flag_spec=
10331 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10332 hardcode_automatic=no
10333 hardcode_direct=no
10334 hardcode_direct_absolute=no
10335 hardcode_libdir_flag_spec=
10336 hardcode_libdir_flag_spec_ld=
10337 hardcode_libdir_separator=
10338 hardcode_minus_L=no
10339 hardcode_shlibpath_var=unsupported
10340 inherit_rpath=no
10341 link_all_deplibs=unknown
10342 module_cmds=
10343 module_expsym_cmds=
10344 old_archive_from_new_cmds=
10345 old_archive_from_expsyms_cmds=
10346 thread_safe_flag_spec=
10347 whole_archive_flag_spec=
10348 # include_expsyms should be a list of space-separated symbols to be *always*
10349 # included in the symbol list
10350 include_expsyms=
10351 # exclude_expsyms can be an extended regexp of symbols to exclude
10352 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10353 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10354 # as well as any symbol that contains `d'.
10355 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10356 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10357 # platforms (ab)use it in PIC code, but their linkers get confused if
10358 # the symbol is explicitly referenced. Since portable code cannot
10359 # rely on this symbol name, it's probably fine to never include it in
10360 # preloaded symbol tables.
10361 # Exclude shared library initialization/finalization symbols.
10362 extract_expsyms_cmds=
10363
10364 case $host_os in
10365 cygwin* | mingw* | pw32* | cegcc*)
10366 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10367 # When not using gcc, we currently assume that we are using
10368 # Microsoft Visual C++.
10369 if test "$GCC" != yes; then
10370 with_gnu_ld=no
10371 fi
10372 ;;
10373 interix*)
10374 # we just hope/assume this is gcc and not c89 (= MSVC++)
10375 with_gnu_ld=yes
10376 ;;
10377 openbsd*)
10378 with_gnu_ld=no
10379 ;;
10380 esac
10381
10382 ld_shlibs=yes
10383
10384 # On some targets, GNU ld is compatible enough with the native linker
10385 # that we're better off using the native interface for both.
10386 lt_use_gnu_ld_interface=no
10387 if test "$with_gnu_ld" = yes; then
10388 case $host_os in
10389 aix*)
10390 # The AIX port of GNU ld has always aspired to compatibility
10391 # with the native linker. However, as the warning in the GNU ld
10392 # block says, versions before 2.19.5* couldn't really create working
10393 # shared libraries, regardless of the interface used.
10394 case `$LD -v 2>&1` in
10395 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10396 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10397 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10398 *)
10399 lt_use_gnu_ld_interface=yes
10400 ;;
10401 esac
10402 ;;
10403 *)
10404 lt_use_gnu_ld_interface=yes
10405 ;;
10406 esac
10407 fi
10408
10409 if test "$lt_use_gnu_ld_interface" = yes; then
10410 # If archive_cmds runs LD, not CC, wlarc should be empty
10411 wlarc='${wl}'
10412
10413 # Set some defaults for GNU ld with shared library support. These
10414 # are reset later if shared libraries are not supported. Putting them
10415 # here allows them to be overridden if necessary.
10416 runpath_var=LD_RUN_PATH
10417 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10418 export_dynamic_flag_spec='${wl}--export-dynamic'
10419 # ancient GNU ld didn't support --whole-archive et. al.
10420 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10421 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10422 else
10423 whole_archive_flag_spec=
10424 fi
10425 supports_anon_versioning=no
10426 case `$LD -v 2>&1` in
10427 *GNU\ gold*) supports_anon_versioning=yes ;;
10428 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10429 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10430 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10431 *\ 2.11.*) ;; # other 2.11 versions
10432 *) supports_anon_versioning=yes ;;
10433 esac
10434
10435 # See if GNU ld supports shared libraries.
10436 case $host_os in
10437 aix[3-9]*)
10438 # On AIX/PPC, the GNU linker is very broken
10439 if test "$host_cpu" != ia64; then
10440 ld_shlibs=no
10441 cat <<_LT_EOF 1>&2
10442
10443 *** Warning: the GNU linker, at least up to release 2.19, is reported
10444 *** to be unable to reliably create shared libraries on AIX.
10445 *** Therefore, libtool is disabling shared libraries support. If you
10446 *** really care for shared libraries, you may want to install binutils
10447 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10448 *** You will then need to restart the configuration process.
10449
10450 _LT_EOF
10451 fi
10452 ;;
10453
10454 amigaos*)
10455 case $host_cpu in
10456 powerpc)
10457 # see comment about AmigaOS4 .so support
10458 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10459 archive_expsym_cmds=''
10460 ;;
10461 m68k)
10462 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)'
10463 hardcode_libdir_flag_spec='-L$libdir'
10464 hardcode_minus_L=yes
10465 ;;
10466 esac
10467 ;;
10468
10469 beos*)
10470 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10471 allow_undefined_flag=unsupported
10472 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10473 # support --undefined. This deserves some investigation. FIXME
10474 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10475 else
10476 ld_shlibs=no
10477 fi
10478 ;;
10479
10480 cygwin* | mingw* | pw32* | cegcc*)
10481 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10482 # as there is no search path for DLLs.
10483 hardcode_libdir_flag_spec='-L$libdir'
10484 export_dynamic_flag_spec='${wl}--export-all-symbols'
10485 allow_undefined_flag=unsupported
10486 always_export_symbols=no
10487 enable_shared_with_static_runtimes=yes
10488 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10489
10490 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10492 # If the export-symbols file already is a .def file (1st line
10493 # is EXPORTS), use it as is; otherwise, prepend...
10494 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10495 cp $export_symbols $output_objdir/$soname.def;
10496 else
10497 echo EXPORTS > $output_objdir/$soname.def;
10498 cat $export_symbols >> $output_objdir/$soname.def;
10499 fi~
10500 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10501 else
10502 ld_shlibs=no
10503 fi
10504 ;;
10505
10506 haiku*)
10507 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10508 link_all_deplibs=yes
10509 ;;
10510
10511 interix[3-9]*)
10512 hardcode_direct=no
10513 hardcode_shlibpath_var=no
10514 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10515 export_dynamic_flag_spec='${wl}-E'
10516 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10517 # Instead, shared libraries are loaded at an image base (0x10000000 by
10518 # default) and relocated if they conflict, which is a slow very memory
10519 # consuming and fragmenting process. To avoid this, we pick a random,
10520 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10521 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10522 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10523 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'
10524 ;;
10525
10526 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10527 tmp_diet=no
10528 if test "$host_os" = linux-dietlibc; then
10529 case $cc_basename in
10530 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10531 esac
10532 fi
10533 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10534 && test "$tmp_diet" = no
10535 then
10536 tmp_addflag=' $pic_flag'
10537 tmp_sharedflag='-shared'
10538 case $cc_basename,$host_cpu in
10539 pgcc*) # Portland Group C compiler
10540 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'
10541 tmp_addflag=' $pic_flag'
10542 ;;
10543 pgf77* | pgf90* | pgf95* | pgfortran*)
10544 # Portland Group f77 and f90 compilers
10545 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'
10546 tmp_addflag=' $pic_flag -Mnomain' ;;
10547 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10548 tmp_addflag=' -i_dynamic' ;;
10549 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10550 tmp_addflag=' -i_dynamic -nofor_main' ;;
10551 ifc* | ifort*) # Intel Fortran compiler
10552 tmp_addflag=' -nofor_main' ;;
10553 lf95*) # Lahey Fortran 8.1
10554 whole_archive_flag_spec=
10555 tmp_sharedflag='--shared' ;;
10556 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10557 tmp_sharedflag='-qmkshrobj'
10558 tmp_addflag= ;;
10559 nvcc*) # Cuda Compiler Driver 2.2
10560 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'
10561 compiler_needs_object=yes
10562 ;;
10563 esac
10564 case `$CC -V 2>&1 | sed 5q` in
10565 *Sun\ C*) # Sun C 5.9
10566 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'
10567 compiler_needs_object=yes
10568 tmp_sharedflag='-G' ;;
10569 *Sun\ F*) # Sun Fortran 8.3
10570 tmp_sharedflag='-G' ;;
10571 esac
10572 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10573
10574 if test "x$supports_anon_versioning" = xyes; then
10575 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10576 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10577 echo "local: *; };" >> $output_objdir/$libname.ver~
10578 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10579 fi
10580
10581 case $cc_basename in
10582 xlf* | bgf* | bgxlf* | mpixlf*)
10583 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10584 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10585 hardcode_libdir_flag_spec=
10586 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10587 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10588 if test "x$supports_anon_versioning" = xyes; then
10589 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10590 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10591 echo "local: *; };" >> $output_objdir/$libname.ver~
10592 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10593 fi
10594 ;;
10595 esac
10596 else
10597 ld_shlibs=no
10598 fi
10599 ;;
10600
10601 netbsd*)
10602 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10603 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10604 wlarc=
10605 else
10606 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10607 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10608 fi
10609 ;;
10610
10611 solaris*)
10612 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10613 ld_shlibs=no
10614 cat <<_LT_EOF 1>&2
10615
10616 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10617 *** create shared libraries on Solaris systems. Therefore, libtool
10618 *** is disabling shared libraries support. We urge you to upgrade GNU
10619 *** binutils to release 2.9.1 or newer. Another option is to modify
10620 *** your PATH or compiler configuration so that the native linker is
10621 *** used, and then restart.
10622
10623 _LT_EOF
10624 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10625 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10626 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10627 else
10628 ld_shlibs=no
10629 fi
10630 ;;
10631
10632 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10633 case `$LD -v 2>&1` in
10634 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10635 ld_shlibs=no
10636 cat <<_LT_EOF 1>&2
10637
10638 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10639 *** reliably create shared libraries on SCO systems. Therefore, libtool
10640 *** is disabling shared libraries support. We urge you to upgrade GNU
10641 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10642 *** your PATH or compiler configuration so that the native linker is
10643 *** used, and then restart.
10644
10645 _LT_EOF
10646 ;;
10647 *)
10648 # For security reasons, it is highly recommended that you always
10649 # use absolute paths for naming shared libraries, and exclude the
10650 # DT_RUNPATH tag from executables and libraries. But doing so
10651 # requires that you compile everything twice, which is a pain.
10652 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10653 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10654 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10655 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10656 else
10657 ld_shlibs=no
10658 fi
10659 ;;
10660 esac
10661 ;;
10662
10663 sunos4*)
10664 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10665 wlarc=
10666 hardcode_direct=yes
10667 hardcode_shlibpath_var=no
10668 ;;
10669
10670 *)
10671 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10672 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10673 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10674 else
10675 ld_shlibs=no
10676 fi
10677 ;;
10678 esac
10679
10680 if test "$ld_shlibs" = no; then
10681 runpath_var=
10682 hardcode_libdir_flag_spec=
10683 export_dynamic_flag_spec=
10684 whole_archive_flag_spec=
10685 fi
10686 else
10687 # PORTME fill in a description of your system's linker (not GNU ld)
10688 case $host_os in
10689 aix3*)
10690 allow_undefined_flag=unsupported
10691 always_export_symbols=yes
10692 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'
10693 # Note: this linker hardcodes the directories in LIBPATH if there
10694 # are no directories specified by -L.
10695 hardcode_minus_L=yes
10696 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10697 # Neither direct hardcoding nor static linking is supported with a
10698 # broken collect2.
10699 hardcode_direct=unsupported
10700 fi
10701 ;;
10702
10703 aix[4-9]*)
10704 if test "$host_cpu" = ia64; then
10705 # On IA64, the linker does run time linking by default, so we don't
10706 # have to do anything special.
10707 aix_use_runtimelinking=no
10708 exp_sym_flag='-Bexport'
10709 no_entry_flag=""
10710 else
10711 # If we're using GNU nm, then we don't want the "-C" option.
10712 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10713 # Also, AIX nm treats weak defined symbols like other global
10714 # defined symbols, whereas GNU nm marks them as "W".
10715 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10716 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'
10717 else
10718 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'
10719 fi
10720 aix_use_runtimelinking=no
10721
10722 # Test if we are trying to use run time linking or normal
10723 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10724 # need to do runtime linking.
10725 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10726 for ld_flag in $LDFLAGS; do
10727 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10728 aix_use_runtimelinking=yes
10729 break
10730 fi
10731 done
10732 ;;
10733 esac
10734
10735 exp_sym_flag='-bexport'
10736 no_entry_flag='-bnoentry'
10737 fi
10738
10739 # When large executables or shared objects are built, AIX ld can
10740 # have problems creating the table of contents. If linking a library
10741 # or program results in "error TOC overflow" add -mminimal-toc to
10742 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10743 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10744
10745 archive_cmds=''
10746 hardcode_direct=yes
10747 hardcode_direct_absolute=yes
10748 hardcode_libdir_separator=':'
10749 link_all_deplibs=yes
10750 file_list_spec='${wl}-f,'
10751
10752 if test "$GCC" = yes; then
10753 case $host_os in aix4.[012]|aix4.[012].*)
10754 # We only want to do this on AIX 4.2 and lower, the check
10755 # below for broken collect2 doesn't work under 4.3+
10756 collect2name=`${CC} -print-prog-name=collect2`
10757 if test -f "$collect2name" &&
10758 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10759 then
10760 # We have reworked collect2
10761 :
10762 else
10763 # We have old collect2
10764 hardcode_direct=unsupported
10765 # It fails to find uninstalled libraries when the uninstalled
10766 # path is not listed in the libpath. Setting hardcode_minus_L
10767 # to unsupported forces relinking
10768 hardcode_minus_L=yes
10769 hardcode_libdir_flag_spec='-L$libdir'
10770 hardcode_libdir_separator=
10771 fi
10772 ;;
10773 esac
10774 shared_flag='-shared'
10775 if test "$aix_use_runtimelinking" = yes; then
10776 shared_flag="$shared_flag "'${wl}-G'
10777 fi
10778 else
10779 # not using gcc
10780 if test "$host_cpu" = ia64; then
10781 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10782 # chokes on -Wl,-G. The following line is correct:
10783 shared_flag='-G'
10784 else
10785 if test "$aix_use_runtimelinking" = yes; then
10786 shared_flag='${wl}-G'
10787 else
10788 shared_flag='${wl}-bM:SRE'
10789 fi
10790 fi
10791 fi
10792
10793 export_dynamic_flag_spec='${wl}-bexpall'
10794 # It seems that -bexpall does not export symbols beginning with
10795 # underscore (_), so it is better to generate a list of symbols to export.
10796 always_export_symbols=yes
10797 if test "$aix_use_runtimelinking" = yes; then
10798 # Warning - without using the other runtime loading flags (-brtl),
10799 # -berok will link without error, but may produce a broken library.
10800 allow_undefined_flag='-berok'
10801 # Determine the default libpath from the value encoded in an
10802 # empty executable.
10803 if test x$gcc_no_link = xyes; then
10804 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10805 fi
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10808
10809 int
10810 main ()
10811 {
10812
10813 ;
10814 return 0;
10815 }
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818
10819 lt_aix_libpath_sed='
10820 /Import File Strings/,/^$/ {
10821 /^0/ {
10822 s/^0 *\(.*\)$/\1/
10823 p
10824 }
10825 }'
10826 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10827 # Check for a 64-bit object if we didn't find anything.
10828 if test -z "$aix_libpath"; then
10829 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10830 fi
10831 fi
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10835
10836 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10837 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"
10838 else
10839 if test "$host_cpu" = ia64; then
10840 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10841 allow_undefined_flag="-z nodefs"
10842 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"
10843 else
10844 # Determine the default libpath from the value encoded in an
10845 # empty executable.
10846 if test x$gcc_no_link = xyes; then
10847 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10848 fi
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10851
10852 int
10853 main ()
10854 {
10855
10856 ;
10857 return 0;
10858 }
10859 _ACEOF
10860 if ac_fn_c_try_link "$LINENO"; then :
10861
10862 lt_aix_libpath_sed='
10863 /Import File Strings/,/^$/ {
10864 /^0/ {
10865 s/^0 *\(.*\)$/\1/
10866 p
10867 }
10868 }'
10869 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10870 # Check for a 64-bit object if we didn't find anything.
10871 if test -z "$aix_libpath"; then
10872 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10873 fi
10874 fi
10875 rm -f core conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10878
10879 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10880 # Warning - without using the other run time loading flags,
10881 # -berok will link without error, but may produce a broken library.
10882 no_undefined_flag=' ${wl}-bernotok'
10883 allow_undefined_flag=' ${wl}-berok'
10884 if test "$with_gnu_ld" = yes; then
10885 # We only use this code for GNU lds that support --whole-archive.
10886 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10887 else
10888 # Exported symbols can be pulled into shared objects from archives
10889 whole_archive_flag_spec='$convenience'
10890 fi
10891 archive_cmds_need_lc=yes
10892 # This is similar to how AIX traditionally builds its shared libraries.
10893 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'
10894 fi
10895 fi
10896 ;;
10897
10898 amigaos*)
10899 case $host_cpu in
10900 powerpc)
10901 # see comment about AmigaOS4 .so support
10902 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10903 archive_expsym_cmds=''
10904 ;;
10905 m68k)
10906 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)'
10907 hardcode_libdir_flag_spec='-L$libdir'
10908 hardcode_minus_L=yes
10909 ;;
10910 esac
10911 ;;
10912
10913 bsdi[45]*)
10914 export_dynamic_flag_spec=-rdynamic
10915 ;;
10916
10917 cygwin* | mingw* | pw32* | cegcc*)
10918 # When not using gcc, we currently assume that we are using
10919 # Microsoft Visual C++.
10920 # hardcode_libdir_flag_spec is actually meaningless, as there is
10921 # no search path for DLLs.
10922 hardcode_libdir_flag_spec=' '
10923 allow_undefined_flag=unsupported
10924 # Tell ltmain to make .lib files, not .a files.
10925 libext=lib
10926 # Tell ltmain to make .dll files, not .so files.
10927 shrext_cmds=".dll"
10928 # FIXME: Setting linknames here is a bad hack.
10929 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10930 # The linker will automatically build a .lib file if we build a DLL.
10931 old_archive_from_new_cmds='true'
10932 # FIXME: Should let the user specify the lib program.
10933 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10934 fix_srcfile_path='`cygpath -w "$srcfile"`'
10935 enable_shared_with_static_runtimes=yes
10936 ;;
10937
10938 darwin* | rhapsody*)
10939
10940
10941 archive_cmds_need_lc=no
10942 hardcode_direct=no
10943 hardcode_automatic=yes
10944 hardcode_shlibpath_var=unsupported
10945 if test "$lt_cv_ld_force_load" = "yes"; then
10946 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\"`'
10947 else
10948 whole_archive_flag_spec=''
10949 fi
10950 link_all_deplibs=yes
10951 allow_undefined_flag="$_lt_dar_allow_undefined"
10952 case $cc_basename in
10953 ifort*) _lt_dar_can_shared=yes ;;
10954 *) _lt_dar_can_shared=$GCC ;;
10955 esac
10956 if test "$_lt_dar_can_shared" = "yes"; then
10957 output_verbose_link_cmd=func_echo_all
10958 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10959 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10960 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10961 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}"
10962
10963 else
10964 ld_shlibs=no
10965 fi
10966
10967 ;;
10968
10969 dgux*)
10970 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10971 hardcode_libdir_flag_spec='-L$libdir'
10972 hardcode_shlibpath_var=no
10973 ;;
10974
10975 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10976 # support. Future versions do this automatically, but an explicit c++rt0.o
10977 # does not break anything, and helps significantly (at the cost of a little
10978 # extra space).
10979 freebsd2.2*)
10980 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10981 hardcode_libdir_flag_spec='-R$libdir'
10982 hardcode_direct=yes
10983 hardcode_shlibpath_var=no
10984 ;;
10985
10986 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10987 freebsd2.*)
10988 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10989 hardcode_direct=yes
10990 hardcode_minus_L=yes
10991 hardcode_shlibpath_var=no
10992 ;;
10993
10994 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10995 freebsd* | dragonfly*)
10996 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10997 hardcode_libdir_flag_spec='-R$libdir'
10998 hardcode_direct=yes
10999 hardcode_shlibpath_var=no
11000 ;;
11001
11002 hpux9*)
11003 if test "$GCC" = yes; then
11004 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'
11005 else
11006 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'
11007 fi
11008 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11009 hardcode_libdir_separator=:
11010 hardcode_direct=yes
11011
11012 # hardcode_minus_L: Not really in the search PATH,
11013 # but as the default location of the library.
11014 hardcode_minus_L=yes
11015 export_dynamic_flag_spec='${wl}-E'
11016 ;;
11017
11018 hpux10*)
11019 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11020 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11021 else
11022 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11023 fi
11024 if test "$with_gnu_ld" = no; then
11025 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11026 hardcode_libdir_flag_spec_ld='+b $libdir'
11027 hardcode_libdir_separator=:
11028 hardcode_direct=yes
11029 hardcode_direct_absolute=yes
11030 export_dynamic_flag_spec='${wl}-E'
11031 # hardcode_minus_L: Not really in the search PATH,
11032 # but as the default location of the library.
11033 hardcode_minus_L=yes
11034 fi
11035 ;;
11036
11037 hpux11*)
11038 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11039 case $host_cpu in
11040 hppa*64*)
11041 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11042 ;;
11043 ia64*)
11044 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11045 ;;
11046 *)
11047 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11048 ;;
11049 esac
11050 else
11051 case $host_cpu in
11052 hppa*64*)
11053 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11054 ;;
11055 ia64*)
11056 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11057 ;;
11058 *)
11059
11060 # Older versions of the 11.00 compiler do not understand -b yet
11061 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11063 $as_echo_n "checking if $CC understands -b... " >&6; }
11064 if ${lt_cv_prog_compiler__b+:} false; then :
11065 $as_echo_n "(cached) " >&6
11066 else
11067 lt_cv_prog_compiler__b=no
11068 save_LDFLAGS="$LDFLAGS"
11069 LDFLAGS="$LDFLAGS -b"
11070 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11071 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11072 # The linker can only warn and ignore the option if not recognized
11073 # So say no if there are warnings
11074 if test -s conftest.err; then
11075 # Append any errors to the config.log.
11076 cat conftest.err 1>&5
11077 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11078 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11079 if diff conftest.exp conftest.er2 >/dev/null; then
11080 lt_cv_prog_compiler__b=yes
11081 fi
11082 else
11083 lt_cv_prog_compiler__b=yes
11084 fi
11085 fi
11086 $RM -r conftest*
11087 LDFLAGS="$save_LDFLAGS"
11088
11089 fi
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11091 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11092
11093 if test x"$lt_cv_prog_compiler__b" = xyes; then
11094 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11095 else
11096 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11097 fi
11098
11099 ;;
11100 esac
11101 fi
11102 if test "$with_gnu_ld" = no; then
11103 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11104 hardcode_libdir_separator=:
11105
11106 case $host_cpu in
11107 hppa*64*|ia64*)
11108 hardcode_direct=no
11109 hardcode_shlibpath_var=no
11110 ;;
11111 *)
11112 hardcode_direct=yes
11113 hardcode_direct_absolute=yes
11114 export_dynamic_flag_spec='${wl}-E'
11115
11116 # hardcode_minus_L: Not really in the search PATH,
11117 # but as the default location of the library.
11118 hardcode_minus_L=yes
11119 ;;
11120 esac
11121 fi
11122 ;;
11123
11124 irix5* | irix6* | nonstopux*)
11125 if test "$GCC" = yes; then
11126 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'
11127 # Try to use the -exported_symbol ld option, if it does not
11128 # work, assume that -exports_file does not work either and
11129 # implicitly export all symbols.
11130 save_LDFLAGS="$LDFLAGS"
11131 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11132 if test x$gcc_no_link = xyes; then
11133 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11134 fi
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11137 int foo(void) {}
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11140 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'
11141
11142 fi
11143 rm -f core conftest.err conftest.$ac_objext \
11144 conftest$ac_exeext conftest.$ac_ext
11145 LDFLAGS="$save_LDFLAGS"
11146 else
11147 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'
11148 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'
11149 fi
11150 archive_cmds_need_lc='no'
11151 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11152 hardcode_libdir_separator=:
11153 inherit_rpath=yes
11154 link_all_deplibs=yes
11155 ;;
11156
11157 netbsd*)
11158 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11159 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11160 else
11161 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11162 fi
11163 hardcode_libdir_flag_spec='-R$libdir'
11164 hardcode_direct=yes
11165 hardcode_shlibpath_var=no
11166 ;;
11167
11168 newsos6)
11169 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11170 hardcode_direct=yes
11171 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11172 hardcode_libdir_separator=:
11173 hardcode_shlibpath_var=no
11174 ;;
11175
11176 *nto* | *qnx*)
11177 ;;
11178
11179 openbsd*)
11180 if test -f /usr/libexec/ld.so; then
11181 hardcode_direct=yes
11182 hardcode_shlibpath_var=no
11183 hardcode_direct_absolute=yes
11184 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11185 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11186 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11187 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11188 export_dynamic_flag_spec='${wl}-E'
11189 else
11190 case $host_os in
11191 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11192 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11193 hardcode_libdir_flag_spec='-R$libdir'
11194 ;;
11195 *)
11196 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11197 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11198 ;;
11199 esac
11200 fi
11201 else
11202 ld_shlibs=no
11203 fi
11204 ;;
11205
11206 os2*)
11207 hardcode_libdir_flag_spec='-L$libdir'
11208 hardcode_minus_L=yes
11209 allow_undefined_flag=unsupported
11210 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'
11211 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11212 ;;
11213
11214 osf3*)
11215 if test "$GCC" = yes; then
11216 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11217 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'
11218 else
11219 allow_undefined_flag=' -expect_unresolved \*'
11220 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'
11221 fi
11222 archive_cmds_need_lc='no'
11223 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11224 hardcode_libdir_separator=:
11225 ;;
11226
11227 osf4* | osf5*) # as osf3* with the addition of -msym flag
11228 if test "$GCC" = yes; then
11229 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11230 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'
11231 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11232 else
11233 allow_undefined_flag=' -expect_unresolved \*'
11234 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'
11235 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~
11236 $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'
11237
11238 # Both c and cxx compiler support -rpath directly
11239 hardcode_libdir_flag_spec='-rpath $libdir'
11240 fi
11241 archive_cmds_need_lc='no'
11242 hardcode_libdir_separator=:
11243 ;;
11244
11245 solaris*)
11246 no_undefined_flag=' -z defs'
11247 if test "$GCC" = yes; then
11248 wlarc='${wl}'
11249 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11250 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11251 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11252 else
11253 case `$CC -V 2>&1` in
11254 *"Compilers 5.0"*)
11255 wlarc=''
11256 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11257 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11258 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11259 ;;
11260 *)
11261 wlarc='${wl}'
11262 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11263 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11264 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11265 ;;
11266 esac
11267 fi
11268 hardcode_libdir_flag_spec='-R$libdir'
11269 hardcode_shlibpath_var=no
11270 case $host_os in
11271 solaris2.[0-5] | solaris2.[0-5].*) ;;
11272 *)
11273 # The compiler driver will combine and reorder linker options,
11274 # but understands `-z linker_flag'. GCC discards it without `$wl',
11275 # but is careful enough not to reorder.
11276 # Supported since Solaris 2.6 (maybe 2.5.1?)
11277 if test "$GCC" = yes; then
11278 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11279 else
11280 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11281 fi
11282 ;;
11283 esac
11284 link_all_deplibs=yes
11285 ;;
11286
11287 sunos4*)
11288 if test "x$host_vendor" = xsequent; then
11289 # Use $CC to link under sequent, because it throws in some extra .o
11290 # files that make .init and .fini sections work.
11291 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11292 else
11293 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11294 fi
11295 hardcode_libdir_flag_spec='-L$libdir'
11296 hardcode_direct=yes
11297 hardcode_minus_L=yes
11298 hardcode_shlibpath_var=no
11299 ;;
11300
11301 sysv4)
11302 case $host_vendor in
11303 sni)
11304 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11305 hardcode_direct=yes # is this really true???
11306 ;;
11307 siemens)
11308 ## LD is ld it makes a PLAMLIB
11309 ## CC just makes a GrossModule.
11310 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11311 reload_cmds='$CC -r -o $output$reload_objs'
11312 hardcode_direct=no
11313 ;;
11314 motorola)
11315 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11316 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11317 ;;
11318 esac
11319 runpath_var='LD_RUN_PATH'
11320 hardcode_shlibpath_var=no
11321 ;;
11322
11323 sysv4.3*)
11324 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11325 hardcode_shlibpath_var=no
11326 export_dynamic_flag_spec='-Bexport'
11327 ;;
11328
11329 sysv4*MP*)
11330 if test -d /usr/nec; then
11331 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11332 hardcode_shlibpath_var=no
11333 runpath_var=LD_RUN_PATH
11334 hardcode_runpath_var=yes
11335 ld_shlibs=yes
11336 fi
11337 ;;
11338
11339 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11340 no_undefined_flag='${wl}-z,text'
11341 archive_cmds_need_lc=no
11342 hardcode_shlibpath_var=no
11343 runpath_var='LD_RUN_PATH'
11344
11345 if test "$GCC" = yes; then
11346 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11347 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11348 else
11349 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11350 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11351 fi
11352 ;;
11353
11354 sysv5* | sco3.2v5* | sco5v6*)
11355 # Note: We can NOT use -z defs as we might desire, because we do not
11356 # link with -lc, and that would cause any symbols used from libc to
11357 # always be unresolved, which means just about no library would
11358 # ever link correctly. If we're not using GNU ld we use -z text
11359 # though, which does catch some bad symbols but isn't as heavy-handed
11360 # as -z defs.
11361 no_undefined_flag='${wl}-z,text'
11362 allow_undefined_flag='${wl}-z,nodefs'
11363 archive_cmds_need_lc=no
11364 hardcode_shlibpath_var=no
11365 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11366 hardcode_libdir_separator=':'
11367 link_all_deplibs=yes
11368 export_dynamic_flag_spec='${wl}-Bexport'
11369 runpath_var='LD_RUN_PATH'
11370
11371 if test "$GCC" = yes; then
11372 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11373 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11374 else
11375 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11376 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11377 fi
11378 ;;
11379
11380 uts4*)
11381 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11382 hardcode_libdir_flag_spec='-L$libdir'
11383 hardcode_shlibpath_var=no
11384 ;;
11385
11386 *)
11387 ld_shlibs=no
11388 ;;
11389 esac
11390
11391 if test x$host_vendor = xsni; then
11392 case $host in
11393 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11394 export_dynamic_flag_spec='${wl}-Blargedynsym'
11395 ;;
11396 esac
11397 fi
11398 fi
11399
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11401 $as_echo "$ld_shlibs" >&6; }
11402 test "$ld_shlibs" = no && can_build_shared=no
11403
11404 with_gnu_ld=$with_gnu_ld
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420 #
11421 # Do we need to explicitly link libc?
11422 #
11423 case "x$archive_cmds_need_lc" in
11424 x|xyes)
11425 # Assume -lc should be added
11426 archive_cmds_need_lc=yes
11427
11428 if test "$enable_shared" = yes && test "$GCC" = yes; then
11429 case $archive_cmds in
11430 *'~'*)
11431 # FIXME: we may have to deal with multi-command sequences.
11432 ;;
11433 '$CC '*)
11434 # Test whether the compiler implicitly links with -lc since on some
11435 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11436 # to ld, don't add -lc before -lgcc.
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11438 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11439 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 $RM conftest*
11443 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11444
11445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11446 (eval $ac_compile) 2>&5
11447 ac_status=$?
11448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11449 test $ac_status = 0; } 2>conftest.err; then
11450 soname=conftest
11451 lib=conftest
11452 libobjs=conftest.$ac_objext
11453 deplibs=
11454 wl=$lt_prog_compiler_wl
11455 pic_flag=$lt_prog_compiler_pic
11456 compiler_flags=-v
11457 linker_flags=-v
11458 verstring=
11459 output_objdir=.
11460 libname=conftest
11461 lt_save_allow_undefined_flag=$allow_undefined_flag
11462 allow_undefined_flag=
11463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11464 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11465 ac_status=$?
11466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11467 test $ac_status = 0; }
11468 then
11469 lt_cv_archive_cmds_need_lc=no
11470 else
11471 lt_cv_archive_cmds_need_lc=yes
11472 fi
11473 allow_undefined_flag=$lt_save_allow_undefined_flag
11474 else
11475 cat conftest.err 1>&5
11476 fi
11477 $RM conftest*
11478
11479 fi
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11481 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11482 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11483 ;;
11484 esac
11485 fi
11486 ;;
11487 esac
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11646 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11647
11648 if test "$GCC" = yes; then
11649 case $host_os in
11650 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11651 *) lt_awk_arg="/^libraries:/" ;;
11652 esac
11653 case $host_os in
11654 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11655 *) lt_sed_strip_eq="s,=/,/,g" ;;
11656 esac
11657 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11658 case $lt_search_path_spec in
11659 *\;*)
11660 # if the path contains ";" then we assume it to be the separator
11661 # otherwise default to the standard path separator (i.e. ":") - it is
11662 # assumed that no part of a normal pathname contains ";" but that should
11663 # okay in the real world where ";" in dirpaths is itself problematic.
11664 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11665 ;;
11666 *)
11667 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11668 ;;
11669 esac
11670 # Ok, now we have the path, separated by spaces, we can step through it
11671 # and add multilib dir if necessary.
11672 lt_tmp_lt_search_path_spec=
11673 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11674 for lt_sys_path in $lt_search_path_spec; do
11675 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11676 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11677 else
11678 test -d "$lt_sys_path" && \
11679 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11680 fi
11681 done
11682 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11683 BEGIN {RS=" "; FS="/|\n";} {
11684 lt_foo="";
11685 lt_count=0;
11686 for (lt_i = NF; lt_i > 0; lt_i--) {
11687 if ($lt_i != "" && $lt_i != ".") {
11688 if ($lt_i == "..") {
11689 lt_count++;
11690 } else {
11691 if (lt_count == 0) {
11692 lt_foo="/" $lt_i lt_foo;
11693 } else {
11694 lt_count--;
11695 }
11696 }
11697 }
11698 }
11699 if (lt_foo != "") { lt_freq[lt_foo]++; }
11700 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11701 }'`
11702 # AWK program above erroneously prepends '/' to C:/dos/paths
11703 # for these hosts.
11704 case $host_os in
11705 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11706 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11707 esac
11708 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11709 else
11710 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11711 fi
11712 library_names_spec=
11713 libname_spec='lib$name'
11714 soname_spec=
11715 shrext_cmds=".so"
11716 postinstall_cmds=
11717 postuninstall_cmds=
11718 finish_cmds=
11719 finish_eval=
11720 shlibpath_var=
11721 shlibpath_overrides_runpath=unknown
11722 version_type=none
11723 dynamic_linker="$host_os ld.so"
11724 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11725 need_lib_prefix=unknown
11726 hardcode_into_libs=no
11727
11728 # when you set need_version to no, make sure it does not cause -set_version
11729 # flags to be left without arguments
11730 need_version=unknown
11731
11732 case $host_os in
11733 aix3*)
11734 version_type=linux
11735 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11736 shlibpath_var=LIBPATH
11737
11738 # AIX 3 has no versioning support, so we append a major version to the name.
11739 soname_spec='${libname}${release}${shared_ext}$major'
11740 ;;
11741
11742 aix[4-9]*)
11743 version_type=linux
11744 need_lib_prefix=no
11745 need_version=no
11746 hardcode_into_libs=yes
11747 if test "$host_cpu" = ia64; then
11748 # AIX 5 supports IA64
11749 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11750 shlibpath_var=LD_LIBRARY_PATH
11751 else
11752 # With GCC up to 2.95.x, collect2 would create an import file
11753 # for dependence libraries. The import file would start with
11754 # the line `#! .'. This would cause the generated library to
11755 # depend on `.', always an invalid library. This was fixed in
11756 # development snapshots of GCC prior to 3.0.
11757 case $host_os in
11758 aix4 | aix4.[01] | aix4.[01].*)
11759 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11760 echo ' yes '
11761 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11762 :
11763 else
11764 can_build_shared=no
11765 fi
11766 ;;
11767 esac
11768 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11769 # soname into executable. Probably we can add versioning support to
11770 # collect2, so additional links can be useful in future.
11771 if test "$aix_use_runtimelinking" = yes; then
11772 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11773 # instead of lib<name>.a to let people know that these are not
11774 # typical AIX shared libraries.
11775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11776 else
11777 # We preserve .a as extension for shared libraries through AIX4.2
11778 # and later when we are not doing run time linking.
11779 library_names_spec='${libname}${release}.a $libname.a'
11780 soname_spec='${libname}${release}${shared_ext}$major'
11781 fi
11782 shlibpath_var=LIBPATH
11783 fi
11784 ;;
11785
11786 amigaos*)
11787 case $host_cpu in
11788 powerpc)
11789 # Since July 2007 AmigaOS4 officially supports .so libraries.
11790 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792 ;;
11793 m68k)
11794 library_names_spec='$libname.ixlibrary $libname.a'
11795 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11796 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'
11797 ;;
11798 esac
11799 ;;
11800
11801 beos*)
11802 library_names_spec='${libname}${shared_ext}'
11803 dynamic_linker="$host_os ld.so"
11804 shlibpath_var=LIBRARY_PATH
11805 ;;
11806
11807 bsdi[45]*)
11808 version_type=linux
11809 need_version=no
11810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11811 soname_spec='${libname}${release}${shared_ext}$major'
11812 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11813 shlibpath_var=LD_LIBRARY_PATH
11814 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11815 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11816 # the default ld.so.conf also contains /usr/contrib/lib and
11817 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11818 # libtool to hard-code these into programs
11819 ;;
11820
11821 cygwin* | mingw* | pw32* | cegcc*)
11822 version_type=windows
11823 shrext_cmds=".dll"
11824 need_version=no
11825 need_lib_prefix=no
11826
11827 case $GCC,$host_os in
11828 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11829 library_names_spec='$libname.dll.a'
11830 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11831 postinstall_cmds='base_file=`basename \${file}`~
11832 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11833 dldir=$destdir/`dirname \$dlpath`~
11834 test -d \$dldir || mkdir -p \$dldir~
11835 $install_prog $dir/$dlname \$dldir/$dlname~
11836 chmod a+x \$dldir/$dlname~
11837 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11838 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11839 fi'
11840 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11841 dlpath=$dir/\$dldll~
11842 $RM \$dlpath'
11843 shlibpath_overrides_runpath=yes
11844
11845 case $host_os in
11846 cygwin*)
11847 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11848 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11849
11850 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11851 ;;
11852 mingw* | cegcc*)
11853 # MinGW DLLs use traditional 'lib' prefix
11854 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11855 ;;
11856 pw32*)
11857 # pw32 DLLs use 'pw' prefix rather than 'lib'
11858 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11859 ;;
11860 esac
11861 ;;
11862
11863 *)
11864 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11865 ;;
11866 esac
11867 dynamic_linker='Win32 ld.exe'
11868 # FIXME: first we should search . and the directory the executable is in
11869 shlibpath_var=PATH
11870 ;;
11871
11872 darwin* | rhapsody*)
11873 dynamic_linker="$host_os dyld"
11874 version_type=darwin
11875 need_lib_prefix=no
11876 need_version=no
11877 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11878 soname_spec='${libname}${release}${major}$shared_ext'
11879 shlibpath_overrides_runpath=yes
11880 shlibpath_var=DYLD_LIBRARY_PATH
11881 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11882
11883 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11884 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11885 ;;
11886
11887 dgux*)
11888 version_type=linux
11889 need_lib_prefix=no
11890 need_version=no
11891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11892 soname_spec='${libname}${release}${shared_ext}$major'
11893 shlibpath_var=LD_LIBRARY_PATH
11894 ;;
11895
11896 freebsd* | dragonfly*)
11897 # DragonFly does not have aout. When/if they implement a new
11898 # versioning mechanism, adjust this.
11899 if test -x /usr/bin/objformat; then
11900 objformat=`/usr/bin/objformat`
11901 else
11902 case $host_os in
11903 freebsd[23].*) objformat=aout ;;
11904 *) objformat=elf ;;
11905 esac
11906 fi
11907 version_type=freebsd-$objformat
11908 case $version_type in
11909 freebsd-elf*)
11910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11911 need_version=no
11912 need_lib_prefix=no
11913 ;;
11914 freebsd-*)
11915 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11916 need_version=yes
11917 ;;
11918 esac
11919 shlibpath_var=LD_LIBRARY_PATH
11920 case $host_os in
11921 freebsd2.*)
11922 shlibpath_overrides_runpath=yes
11923 ;;
11924 freebsd3.[01]* | freebsdelf3.[01]*)
11925 shlibpath_overrides_runpath=yes
11926 hardcode_into_libs=yes
11927 ;;
11928 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11929 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11930 shlibpath_overrides_runpath=no
11931 hardcode_into_libs=yes
11932 ;;
11933 *) # from 4.6 on, and DragonFly
11934 shlibpath_overrides_runpath=yes
11935 hardcode_into_libs=yes
11936 ;;
11937 esac
11938 ;;
11939
11940 haiku*)
11941 version_type=linux
11942 need_lib_prefix=no
11943 need_version=no
11944 dynamic_linker="$host_os runtime_loader"
11945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11946 soname_spec='${libname}${release}${shared_ext}$major'
11947 shlibpath_var=LIBRARY_PATH
11948 shlibpath_overrides_runpath=yes
11949 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11950 hardcode_into_libs=yes
11951 ;;
11952
11953 hpux9* | hpux10* | hpux11*)
11954 # Give a soname corresponding to the major version so that dld.sl refuses to
11955 # link against other versions.
11956 version_type=sunos
11957 need_lib_prefix=no
11958 need_version=no
11959 case $host_cpu in
11960 ia64*)
11961 shrext_cmds='.so'
11962 hardcode_into_libs=yes
11963 dynamic_linker="$host_os dld.so"
11964 shlibpath_var=LD_LIBRARY_PATH
11965 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11967 soname_spec='${libname}${release}${shared_ext}$major'
11968 if test "X$HPUX_IA64_MODE" = X32; then
11969 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11970 else
11971 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11972 fi
11973 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11974 ;;
11975 hppa*64*)
11976 shrext_cmds='.sl'
11977 hardcode_into_libs=yes
11978 dynamic_linker="$host_os dld.sl"
11979 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11980 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11982 soname_spec='${libname}${release}${shared_ext}$major'
11983 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11984 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11985 ;;
11986 *)
11987 shrext_cmds='.sl'
11988 dynamic_linker="$host_os dld.sl"
11989 shlibpath_var=SHLIB_PATH
11990 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11992 soname_spec='${libname}${release}${shared_ext}$major'
11993 ;;
11994 esac
11995 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11996 postinstall_cmds='chmod 555 $lib'
11997 # or fails outright, so override atomically:
11998 install_override_mode=555
11999 ;;
12000
12001 interix[3-9]*)
12002 version_type=linux
12003 need_lib_prefix=no
12004 need_version=no
12005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12006 soname_spec='${libname}${release}${shared_ext}$major'
12007 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12008 shlibpath_var=LD_LIBRARY_PATH
12009 shlibpath_overrides_runpath=no
12010 hardcode_into_libs=yes
12011 ;;
12012
12013 irix5* | irix6* | nonstopux*)
12014 case $host_os in
12015 nonstopux*) version_type=nonstopux ;;
12016 *)
12017 if test "$lt_cv_prog_gnu_ld" = yes; then
12018 version_type=linux
12019 else
12020 version_type=irix
12021 fi ;;
12022 esac
12023 need_lib_prefix=no
12024 need_version=no
12025 soname_spec='${libname}${release}${shared_ext}$major'
12026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12027 case $host_os in
12028 irix5* | nonstopux*)
12029 libsuff= shlibsuff=
12030 ;;
12031 *)
12032 case $LD in # libtool.m4 will add one of these switches to LD
12033 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12034 libsuff= shlibsuff= libmagic=32-bit;;
12035 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12036 libsuff=32 shlibsuff=N32 libmagic=N32;;
12037 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12038 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12039 *) libsuff= shlibsuff= libmagic=never-match;;
12040 esac
12041 ;;
12042 esac
12043 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12044 shlibpath_overrides_runpath=no
12045 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12046 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12047 hardcode_into_libs=yes
12048 ;;
12049
12050 # No shared lib support for Linux oldld, aout, or coff.
12051 linux*oldld* | linux*aout* | linux*coff*)
12052 dynamic_linker=no
12053 ;;
12054
12055 # This must be Linux ELF.
12056
12057 # uclinux* changes (here and below) have been submitted to the libtool
12058 # project, but have not yet been accepted: they are GCC-local changes
12059 # for the time being. (See
12060 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12061 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12062 version_type=linux
12063 need_lib_prefix=no
12064 need_version=no
12065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12066 soname_spec='${libname}${release}${shared_ext}$major'
12067 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12068 shlibpath_var=LD_LIBRARY_PATH
12069 shlibpath_overrides_runpath=no
12070
12071 # Some binutils ld are patched to set DT_RUNPATH
12072 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12073 $as_echo_n "(cached) " >&6
12074 else
12075 lt_cv_shlibpath_overrides_runpath=no
12076 save_LDFLAGS=$LDFLAGS
12077 save_libdir=$libdir
12078 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12079 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12080 if test x$gcc_no_link = xyes; then
12081 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12082 fi
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12085
12086 int
12087 main ()
12088 {
12089
12090 ;
12091 return 0;
12092 }
12093 _ACEOF
12094 if ac_fn_c_try_link "$LINENO"; then :
12095 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12096 lt_cv_shlibpath_overrides_runpath=yes
12097 fi
12098 fi
12099 rm -f core conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 LDFLAGS=$save_LDFLAGS
12102 libdir=$save_libdir
12103
12104 fi
12105
12106 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12107
12108 # This implies no fast_install, which is unacceptable.
12109 # Some rework will be needed to allow for fast_install
12110 # before this can be enabled.
12111 hardcode_into_libs=yes
12112
12113 # Append ld.so.conf contents to the search path
12114 if test -f /etc/ld.so.conf; then
12115 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' ' '`
12116 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12117 fi
12118
12119 # We used to test for /lib/ld.so.1 and disable shared libraries on
12120 # powerpc, because MkLinux only supported shared libraries with the
12121 # GNU dynamic linker. Since this was broken with cross compilers,
12122 # most powerpc-linux boxes support dynamic linking these days and
12123 # people can always --disable-shared, the test was removed, and we
12124 # assume the GNU/Linux dynamic linker is in use.
12125 dynamic_linker='GNU/Linux ld.so'
12126 ;;
12127
12128 netbsd*)
12129 version_type=sunos
12130 need_lib_prefix=no
12131 need_version=no
12132 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12134 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12135 dynamic_linker='NetBSD (a.out) ld.so'
12136 else
12137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12138 soname_spec='${libname}${release}${shared_ext}$major'
12139 dynamic_linker='NetBSD ld.elf_so'
12140 fi
12141 shlibpath_var=LD_LIBRARY_PATH
12142 shlibpath_overrides_runpath=yes
12143 hardcode_into_libs=yes
12144 ;;
12145
12146 newsos6)
12147 version_type=linux
12148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12149 shlibpath_var=LD_LIBRARY_PATH
12150 shlibpath_overrides_runpath=yes
12151 ;;
12152
12153 *nto* | *qnx*)
12154 version_type=qnx
12155 need_lib_prefix=no
12156 need_version=no
12157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12158 soname_spec='${libname}${release}${shared_ext}$major'
12159 shlibpath_var=LD_LIBRARY_PATH
12160 shlibpath_overrides_runpath=no
12161 hardcode_into_libs=yes
12162 dynamic_linker='ldqnx.so'
12163 ;;
12164
12165 openbsd*)
12166 version_type=sunos
12167 sys_lib_dlsearch_path_spec="/usr/lib"
12168 need_lib_prefix=no
12169 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12170 case $host_os in
12171 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12172 *) need_version=no ;;
12173 esac
12174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12175 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12176 shlibpath_var=LD_LIBRARY_PATH
12177 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12178 case $host_os in
12179 openbsd2.[89] | openbsd2.[89].*)
12180 shlibpath_overrides_runpath=no
12181 ;;
12182 *)
12183 shlibpath_overrides_runpath=yes
12184 ;;
12185 esac
12186 else
12187 shlibpath_overrides_runpath=yes
12188 fi
12189 ;;
12190
12191 os2*)
12192 libname_spec='$name'
12193 shrext_cmds=".dll"
12194 need_lib_prefix=no
12195 library_names_spec='$libname${shared_ext} $libname.a'
12196 dynamic_linker='OS/2 ld.exe'
12197 shlibpath_var=LIBPATH
12198 ;;
12199
12200 osf3* | osf4* | osf5*)
12201 version_type=osf
12202 need_lib_prefix=no
12203 need_version=no
12204 soname_spec='${libname}${release}${shared_ext}$major'
12205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12206 shlibpath_var=LD_LIBRARY_PATH
12207 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12208 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12209 ;;
12210
12211 rdos*)
12212 dynamic_linker=no
12213 ;;
12214
12215 solaris*)
12216 version_type=linux
12217 need_lib_prefix=no
12218 need_version=no
12219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12220 soname_spec='${libname}${release}${shared_ext}$major'
12221 shlibpath_var=LD_LIBRARY_PATH
12222 shlibpath_overrides_runpath=yes
12223 hardcode_into_libs=yes
12224 # ldd complains unless libraries are executable
12225 postinstall_cmds='chmod +x $lib'
12226 ;;
12227
12228 sunos4*)
12229 version_type=sunos
12230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12231 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12232 shlibpath_var=LD_LIBRARY_PATH
12233 shlibpath_overrides_runpath=yes
12234 if test "$with_gnu_ld" = yes; then
12235 need_lib_prefix=no
12236 fi
12237 need_version=yes
12238 ;;
12239
12240 sysv4 | sysv4.3*)
12241 version_type=linux
12242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12243 soname_spec='${libname}${release}${shared_ext}$major'
12244 shlibpath_var=LD_LIBRARY_PATH
12245 case $host_vendor in
12246 sni)
12247 shlibpath_overrides_runpath=no
12248 need_lib_prefix=no
12249 runpath_var=LD_RUN_PATH
12250 ;;
12251 siemens)
12252 need_lib_prefix=no
12253 ;;
12254 motorola)
12255 need_lib_prefix=no
12256 need_version=no
12257 shlibpath_overrides_runpath=no
12258 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12259 ;;
12260 esac
12261 ;;
12262
12263 sysv4*MP*)
12264 if test -d /usr/nec ;then
12265 version_type=linux
12266 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12267 soname_spec='$libname${shared_ext}.$major'
12268 shlibpath_var=LD_LIBRARY_PATH
12269 fi
12270 ;;
12271
12272 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12273 version_type=freebsd-elf
12274 need_lib_prefix=no
12275 need_version=no
12276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12277 soname_spec='${libname}${release}${shared_ext}$major'
12278 shlibpath_var=LD_LIBRARY_PATH
12279 shlibpath_overrides_runpath=yes
12280 hardcode_into_libs=yes
12281 if test "$with_gnu_ld" = yes; then
12282 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12283 else
12284 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12285 case $host_os in
12286 sco3.2v5*)
12287 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12288 ;;
12289 esac
12290 fi
12291 sys_lib_dlsearch_path_spec='/usr/lib'
12292 ;;
12293
12294 tpf*)
12295 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12296 version_type=linux
12297 need_lib_prefix=no
12298 need_version=no
12299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12300 shlibpath_var=LD_LIBRARY_PATH
12301 shlibpath_overrides_runpath=no
12302 hardcode_into_libs=yes
12303 ;;
12304
12305 uts4*)
12306 version_type=linux
12307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12308 soname_spec='${libname}${release}${shared_ext}$major'
12309 shlibpath_var=LD_LIBRARY_PATH
12310 ;;
12311
12312 # Shared libraries for VwWorks, >= 7 only at this stage
12313 # and (fpic) still incompatible with "large" code models
12314 # in a few configurations. Only for RTP mode in any case,
12315 # and upon explicit request at configure time.
12316 vxworks7*)
12317 dynamic_linker=no
12318 case ${with_multisubdir}-${enable_shared} in
12319 *large*)
12320 ;;
12321 *mrtp*-yes)
12322 version_type=linux
12323 need_lib_prefix=no
12324 need_version=no
12325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12326 soname_spec='${libname}${release}${shared_ext}$major'
12327 dynamic_linker="$host_os module_loader"
12328 ;;
12329 esac
12330 ;;
12331 *)
12332 dynamic_linker=no
12333 ;;
12334 esac
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12336 $as_echo "$dynamic_linker" >&6; }
12337 test "$dynamic_linker" = no && can_build_shared=no
12338
12339 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12340 if test "$GCC" = yes; then
12341 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12342 fi
12343
12344 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12345 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12346 fi
12347 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12348 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12349 fi
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12443 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12444 hardcode_action=
12445 if test -n "$hardcode_libdir_flag_spec" ||
12446 test -n "$runpath_var" ||
12447 test "X$hardcode_automatic" = "Xyes" ; then
12448
12449 # We can hardcode non-existent directories.
12450 if test "$hardcode_direct" != no &&
12451 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12452 # have to relink, otherwise we might link with an installed library
12453 # when we should be linking with a yet-to-be-installed one
12454 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12455 test "$hardcode_minus_L" != no; then
12456 # Linking always hardcodes the temporary library directory.
12457 hardcode_action=relink
12458 else
12459 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12460 hardcode_action=immediate
12461 fi
12462 else
12463 # We cannot hardcode anything, or else we can only hardcode existing
12464 # directories.
12465 hardcode_action=unsupported
12466 fi
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12468 $as_echo "$hardcode_action" >&6; }
12469
12470 if test "$hardcode_action" = relink ||
12471 test "$inherit_rpath" = yes; then
12472 # Fast installation is not supported
12473 enable_fast_install=no
12474 elif test "$shlibpath_overrides_runpath" = yes ||
12475 test "$enable_shared" = no; then
12476 # Fast installation is not necessary
12477 enable_fast_install=needless
12478 fi
12479
12480
12481
12482
12483
12484
12485 if test "x$enable_dlopen" != xyes; then
12486 enable_dlopen=unknown
12487 enable_dlopen_self=unknown
12488 enable_dlopen_self_static=unknown
12489 else
12490 lt_cv_dlopen=no
12491 lt_cv_dlopen_libs=
12492
12493 case $host_os in
12494 beos*)
12495 lt_cv_dlopen="load_add_on"
12496 lt_cv_dlopen_libs=
12497 lt_cv_dlopen_self=yes
12498 ;;
12499
12500 mingw* | pw32* | cegcc*)
12501 lt_cv_dlopen="LoadLibrary"
12502 lt_cv_dlopen_libs=
12503 ;;
12504
12505 cygwin*)
12506 lt_cv_dlopen="dlopen"
12507 lt_cv_dlopen_libs=
12508 ;;
12509
12510 darwin*)
12511 # if libdl is installed we need to link against it
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12513 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12514 if ${ac_cv_lib_dl_dlopen+:} false; then :
12515 $as_echo_n "(cached) " >&6
12516 else
12517 ac_check_lib_save_LIBS=$LIBS
12518 LIBS="-ldl $LIBS"
12519 if test x$gcc_no_link = xyes; then
12520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12521 fi
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12524
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12528 #ifdef __cplusplus
12529 extern "C"
12530 #endif
12531 char dlopen ();
12532 int
12533 main ()
12534 {
12535 return dlopen ();
12536 ;
12537 return 0;
12538 }
12539 _ACEOF
12540 if ac_fn_c_try_link "$LINENO"; then :
12541 ac_cv_lib_dl_dlopen=yes
12542 else
12543 ac_cv_lib_dl_dlopen=no
12544 fi
12545 rm -f core conftest.err conftest.$ac_objext \
12546 conftest$ac_exeext conftest.$ac_ext
12547 LIBS=$ac_check_lib_save_LIBS
12548 fi
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12550 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12551 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12552 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12553 else
12554
12555 lt_cv_dlopen="dyld"
12556 lt_cv_dlopen_libs=
12557 lt_cv_dlopen_self=yes
12558
12559 fi
12560
12561 ;;
12562
12563 *)
12564 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12565 if test "x$ac_cv_func_shl_load" = xyes; then :
12566 lt_cv_dlopen="shl_load"
12567 else
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12569 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12570 if ${ac_cv_lib_dld_shl_load+:} false; then :
12571 $as_echo_n "(cached) " >&6
12572 else
12573 ac_check_lib_save_LIBS=$LIBS
12574 LIBS="-ldld $LIBS"
12575 if test x$gcc_no_link = xyes; then
12576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12577 fi
12578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12580
12581 /* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12584 #ifdef __cplusplus
12585 extern "C"
12586 #endif
12587 char shl_load ();
12588 int
12589 main ()
12590 {
12591 return shl_load ();
12592 ;
12593 return 0;
12594 }
12595 _ACEOF
12596 if ac_fn_c_try_link "$LINENO"; then :
12597 ac_cv_lib_dld_shl_load=yes
12598 else
12599 ac_cv_lib_dld_shl_load=no
12600 fi
12601 rm -f core conftest.err conftest.$ac_objext \
12602 conftest$ac_exeext conftest.$ac_ext
12603 LIBS=$ac_check_lib_save_LIBS
12604 fi
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12606 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12607 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12608 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12609 else
12610 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12611 if test "x$ac_cv_func_dlopen" = xyes; then :
12612 lt_cv_dlopen="dlopen"
12613 else
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12615 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12616 if ${ac_cv_lib_dl_dlopen+:} false; then :
12617 $as_echo_n "(cached) " >&6
12618 else
12619 ac_check_lib_save_LIBS=$LIBS
12620 LIBS="-ldl $LIBS"
12621 if test x$gcc_no_link = xyes; then
12622 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12623 fi
12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12626
12627 /* Override any GCC internal prototype to avoid an error.
12628 Use char because int might match the return type of a GCC
12629 builtin and then its argument prototype would still apply. */
12630 #ifdef __cplusplus
12631 extern "C"
12632 #endif
12633 char dlopen ();
12634 int
12635 main ()
12636 {
12637 return dlopen ();
12638 ;
12639 return 0;
12640 }
12641 _ACEOF
12642 if ac_fn_c_try_link "$LINENO"; then :
12643 ac_cv_lib_dl_dlopen=yes
12644 else
12645 ac_cv_lib_dl_dlopen=no
12646 fi
12647 rm -f core conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12649 LIBS=$ac_check_lib_save_LIBS
12650 fi
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12652 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12653 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12654 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12655 else
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12657 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12658 if ${ac_cv_lib_svld_dlopen+:} false; then :
12659 $as_echo_n "(cached) " >&6
12660 else
12661 ac_check_lib_save_LIBS=$LIBS
12662 LIBS="-lsvld $LIBS"
12663 if test x$gcc_no_link = xyes; then
12664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12665 fi
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12668
12669 /* Override any GCC internal prototype to avoid an error.
12670 Use char because int might match the return type of a GCC
12671 builtin and then its argument prototype would still apply. */
12672 #ifdef __cplusplus
12673 extern "C"
12674 #endif
12675 char dlopen ();
12676 int
12677 main ()
12678 {
12679 return dlopen ();
12680 ;
12681 return 0;
12682 }
12683 _ACEOF
12684 if ac_fn_c_try_link "$LINENO"; then :
12685 ac_cv_lib_svld_dlopen=yes
12686 else
12687 ac_cv_lib_svld_dlopen=no
12688 fi
12689 rm -f core conftest.err conftest.$ac_objext \
12690 conftest$ac_exeext conftest.$ac_ext
12691 LIBS=$ac_check_lib_save_LIBS
12692 fi
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12694 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12695 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12696 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12697 else
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12699 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12700 if ${ac_cv_lib_dld_dld_link+:} false; then :
12701 $as_echo_n "(cached) " >&6
12702 else
12703 ac_check_lib_save_LIBS=$LIBS
12704 LIBS="-ldld $LIBS"
12705 if test x$gcc_no_link = xyes; then
12706 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12707 fi
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710
12711 /* Override any GCC internal prototype to avoid an error.
12712 Use char because int might match the return type of a GCC
12713 builtin and then its argument prototype would still apply. */
12714 #ifdef __cplusplus
12715 extern "C"
12716 #endif
12717 char dld_link ();
12718 int
12719 main ()
12720 {
12721 return dld_link ();
12722 ;
12723 return 0;
12724 }
12725 _ACEOF
12726 if ac_fn_c_try_link "$LINENO"; then :
12727 ac_cv_lib_dld_dld_link=yes
12728 else
12729 ac_cv_lib_dld_dld_link=no
12730 fi
12731 rm -f core conftest.err conftest.$ac_objext \
12732 conftest$ac_exeext conftest.$ac_ext
12733 LIBS=$ac_check_lib_save_LIBS
12734 fi
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12736 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12737 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12738 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12739 fi
12740
12741
12742 fi
12743
12744
12745 fi
12746
12747
12748 fi
12749
12750
12751 fi
12752
12753
12754 fi
12755
12756 ;;
12757 esac
12758
12759 if test "x$lt_cv_dlopen" != xno; then
12760 enable_dlopen=yes
12761 else
12762 enable_dlopen=no
12763 fi
12764
12765 case $lt_cv_dlopen in
12766 dlopen)
12767 save_CPPFLAGS="$CPPFLAGS"
12768 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12769
12770 save_LDFLAGS="$LDFLAGS"
12771 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12772
12773 save_LIBS="$LIBS"
12774 LIBS="$lt_cv_dlopen_libs $LIBS"
12775
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12777 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12778 if ${lt_cv_dlopen_self+:} false; then :
12779 $as_echo_n "(cached) " >&6
12780 else
12781 if test "$cross_compiling" = yes; then :
12782 lt_cv_dlopen_self=cross
12783 else
12784 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12785 lt_status=$lt_dlunknown
12786 cat > conftest.$ac_ext <<_LT_EOF
12787 #line 12787 "configure"
12788 #include "confdefs.h"
12789
12790 #if HAVE_DLFCN_H
12791 #include <dlfcn.h>
12792 #endif
12793
12794 #include <stdio.h>
12795
12796 #ifdef RTLD_GLOBAL
12797 # define LT_DLGLOBAL RTLD_GLOBAL
12798 #else
12799 # ifdef DL_GLOBAL
12800 # define LT_DLGLOBAL DL_GLOBAL
12801 # else
12802 # define LT_DLGLOBAL 0
12803 # endif
12804 #endif
12805
12806 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12807 find out it does not work in some platform. */
12808 #ifndef LT_DLLAZY_OR_NOW
12809 # ifdef RTLD_LAZY
12810 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12811 # else
12812 # ifdef DL_LAZY
12813 # define LT_DLLAZY_OR_NOW DL_LAZY
12814 # else
12815 # ifdef RTLD_NOW
12816 # define LT_DLLAZY_OR_NOW RTLD_NOW
12817 # else
12818 # ifdef DL_NOW
12819 # define LT_DLLAZY_OR_NOW DL_NOW
12820 # else
12821 # define LT_DLLAZY_OR_NOW 0
12822 # endif
12823 # endif
12824 # endif
12825 # endif
12826 #endif
12827
12828 /* When -fvisbility=hidden is used, assume the code has been annotated
12829 correspondingly for the symbols needed. */
12830 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12831 void fnord () __attribute__((visibility("default")));
12832 #endif
12833
12834 void fnord () { int i=42; }
12835 int main ()
12836 {
12837 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12838 int status = $lt_dlunknown;
12839
12840 if (self)
12841 {
12842 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12843 else
12844 {
12845 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12846 else puts (dlerror ());
12847 }
12848 /* dlclose (self); */
12849 }
12850 else
12851 puts (dlerror ());
12852
12853 return status;
12854 }
12855 _LT_EOF
12856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12857 (eval $ac_link) 2>&5
12858 ac_status=$?
12859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12860 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12861 (./conftest; exit; ) >&5 2>/dev/null
12862 lt_status=$?
12863 case x$lt_status in
12864 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12865 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12866 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12867 esac
12868 else :
12869 # compilation failed
12870 lt_cv_dlopen_self=no
12871 fi
12872 fi
12873 rm -fr conftest*
12874
12875
12876 fi
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12878 $as_echo "$lt_cv_dlopen_self" >&6; }
12879
12880 if test "x$lt_cv_dlopen_self" = xyes; then
12881 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12883 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12884 if ${lt_cv_dlopen_self_static+:} false; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 if test "$cross_compiling" = yes; then :
12888 lt_cv_dlopen_self_static=cross
12889 else
12890 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12891 lt_status=$lt_dlunknown
12892 cat > conftest.$ac_ext <<_LT_EOF
12893 #line 12893 "configure"
12894 #include "confdefs.h"
12895
12896 #if HAVE_DLFCN_H
12897 #include <dlfcn.h>
12898 #endif
12899
12900 #include <stdio.h>
12901
12902 #ifdef RTLD_GLOBAL
12903 # define LT_DLGLOBAL RTLD_GLOBAL
12904 #else
12905 # ifdef DL_GLOBAL
12906 # define LT_DLGLOBAL DL_GLOBAL
12907 # else
12908 # define LT_DLGLOBAL 0
12909 # endif
12910 #endif
12911
12912 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12913 find out it does not work in some platform. */
12914 #ifndef LT_DLLAZY_OR_NOW
12915 # ifdef RTLD_LAZY
12916 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12917 # else
12918 # ifdef DL_LAZY
12919 # define LT_DLLAZY_OR_NOW DL_LAZY
12920 # else
12921 # ifdef RTLD_NOW
12922 # define LT_DLLAZY_OR_NOW RTLD_NOW
12923 # else
12924 # ifdef DL_NOW
12925 # define LT_DLLAZY_OR_NOW DL_NOW
12926 # else
12927 # define LT_DLLAZY_OR_NOW 0
12928 # endif
12929 # endif
12930 # endif
12931 # endif
12932 #endif
12933
12934 /* When -fvisbility=hidden is used, assume the code has been annotated
12935 correspondingly for the symbols needed. */
12936 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12937 void fnord () __attribute__((visibility("default")));
12938 #endif
12939
12940 void fnord () { int i=42; }
12941 int main ()
12942 {
12943 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12944 int status = $lt_dlunknown;
12945
12946 if (self)
12947 {
12948 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12949 else
12950 {
12951 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12952 else puts (dlerror ());
12953 }
12954 /* dlclose (self); */
12955 }
12956 else
12957 puts (dlerror ());
12958
12959 return status;
12960 }
12961 _LT_EOF
12962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12963 (eval $ac_link) 2>&5
12964 ac_status=$?
12965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12966 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12967 (./conftest; exit; ) >&5 2>/dev/null
12968 lt_status=$?
12969 case x$lt_status in
12970 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12971 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12972 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12973 esac
12974 else :
12975 # compilation failed
12976 lt_cv_dlopen_self_static=no
12977 fi
12978 fi
12979 rm -fr conftest*
12980
12981
12982 fi
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12984 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12985 fi
12986
12987 CPPFLAGS="$save_CPPFLAGS"
12988 LDFLAGS="$save_LDFLAGS"
12989 LIBS="$save_LIBS"
12990 ;;
12991 esac
12992
12993 case $lt_cv_dlopen_self in
12994 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12995 *) enable_dlopen_self=unknown ;;
12996 esac
12997
12998 case $lt_cv_dlopen_self_static in
12999 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13000 *) enable_dlopen_self_static=unknown ;;
13001 esac
13002 fi
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020 striplib=
13021 old_striplib=
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13023 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13024 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13025 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13026 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13028 $as_echo "yes" >&6; }
13029 else
13030 # FIXME - insert some real tests, host_os isn't really good enough
13031 case $host_os in
13032 darwin*)
13033 if test -n "$STRIP" ; then
13034 striplib="$STRIP -x"
13035 old_striplib="$STRIP -S"
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13037 $as_echo "yes" >&6; }
13038 else
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13040 $as_echo "no" >&6; }
13041 fi
13042 ;;
13043 *)
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13045 $as_echo "no" >&6; }
13046 ;;
13047 esac
13048 fi
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061 # Report which library types will actually be built
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13063 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13065 $as_echo "$can_build_shared" >&6; }
13066
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13068 $as_echo_n "checking whether to build shared libraries... " >&6; }
13069 test "$can_build_shared" = "no" && enable_shared=no
13070
13071 # On AIX, shared libraries and static libraries use the same namespace, and
13072 # are all built from PIC.
13073 case $host_os in
13074 aix3*)
13075 test "$enable_shared" = yes && enable_static=no
13076 if test -n "$RANLIB"; then
13077 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13078 postinstall_cmds='$RANLIB $lib'
13079 fi
13080 ;;
13081
13082 aix[4-9]*)
13083 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13084 test "$enable_shared" = yes && enable_static=no
13085 fi
13086 ;;
13087 esac
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13089 $as_echo "$enable_shared" >&6; }
13090
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13092 $as_echo_n "checking whether to build static libraries... " >&6; }
13093 # Make sure either enable_shared or enable_static is yes.
13094 test "$enable_shared" = yes || enable_static=yes
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13096 $as_echo "$enable_static" >&6; }
13097
13098
13099
13100
13101 fi
13102 ac_ext=c
13103 ac_cpp='$CPP $CPPFLAGS'
13104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13107
13108 CC="$lt_save_CC"
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122 ac_config_commands="$ac_config_commands libtool"
13123
13124
13125
13126
13127 # Only expand once:
13128
13129
13130 LIBM=
13131 case $host in
13132 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13133 # These system don't have libm, or don't need it
13134 ;;
13135 *-ncr-sysv4.3*)
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13137 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13138 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13139 $as_echo_n "(cached) " >&6
13140 else
13141 ac_check_lib_save_LIBS=$LIBS
13142 LIBS="-lmw $LIBS"
13143 if test x$gcc_no_link = xyes; then
13144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13145 fi
13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13148
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13152 #ifdef __cplusplus
13153 extern "C"
13154 #endif
13155 char _mwvalidcheckl ();
13156 int
13157 main ()
13158 {
13159 return _mwvalidcheckl ();
13160 ;
13161 return 0;
13162 }
13163 _ACEOF
13164 if ac_fn_c_try_link "$LINENO"; then :
13165 ac_cv_lib_mw__mwvalidcheckl=yes
13166 else
13167 ac_cv_lib_mw__mwvalidcheckl=no
13168 fi
13169 rm -f core conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13171 LIBS=$ac_check_lib_save_LIBS
13172 fi
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13174 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13175 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13176 LIBM="-lmw"
13177 fi
13178
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13180 $as_echo_n "checking for cos in -lm... " >&6; }
13181 if ${ac_cv_lib_m_cos+:} false; then :
13182 $as_echo_n "(cached) " >&6
13183 else
13184 ac_check_lib_save_LIBS=$LIBS
13185 LIBS="-lm $LIBS"
13186 if test x$gcc_no_link = xyes; then
13187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13188 fi
13189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13191
13192 /* Override any GCC internal prototype to avoid an error.
13193 Use char because int might match the return type of a GCC
13194 builtin and then its argument prototype would still apply. */
13195 #ifdef __cplusplus
13196 extern "C"
13197 #endif
13198 char cos ();
13199 int
13200 main ()
13201 {
13202 return cos ();
13203 ;
13204 return 0;
13205 }
13206 _ACEOF
13207 if ac_fn_c_try_link "$LINENO"; then :
13208 ac_cv_lib_m_cos=yes
13209 else
13210 ac_cv_lib_m_cos=no
13211 fi
13212 rm -f core conftest.err conftest.$ac_objext \
13213 conftest$ac_exeext conftest.$ac_ext
13214 LIBS=$ac_check_lib_save_LIBS
13215 fi
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13217 $as_echo "$ac_cv_lib_m_cos" >&6; }
13218 if test "x$ac_cv_lib_m_cos" = xyes; then :
13219 LIBM="$LIBM -lm"
13220 fi
13221
13222 ;;
13223 *)
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13225 $as_echo_n "checking for cos in -lm... " >&6; }
13226 if ${ac_cv_lib_m_cos+:} false; then :
13227 $as_echo_n "(cached) " >&6
13228 else
13229 ac_check_lib_save_LIBS=$LIBS
13230 LIBS="-lm $LIBS"
13231 if test x$gcc_no_link = xyes; then
13232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13233 fi
13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13236
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13240 #ifdef __cplusplus
13241 extern "C"
13242 #endif
13243 char cos ();
13244 int
13245 main ()
13246 {
13247 return cos ();
13248 ;
13249 return 0;
13250 }
13251 _ACEOF
13252 if ac_fn_c_try_link "$LINENO"; then :
13253 ac_cv_lib_m_cos=yes
13254 else
13255 ac_cv_lib_m_cos=no
13256 fi
13257 rm -f core conftest.err conftest.$ac_objext \
13258 conftest$ac_exeext conftest.$ac_ext
13259 LIBS=$ac_check_lib_save_LIBS
13260 fi
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13262 $as_echo "$ac_cv_lib_m_cos" >&6; }
13263 if test "x$ac_cv_lib_m_cos" = xyes; then :
13264 LIBM="-lm"
13265 fi
13266
13267 ;;
13268 esac
13269
13270
13271
13272
13273
13274 case $host in
13275 *-cygwin* | *-mingw*)
13276 # 'host' will be top-level target in the case of a target lib,
13277 # we must compare to with_cross_host to decide if this is a native
13278 # or cross-compiler and select where to install dlls appropriately.
13279 if test -n "$with_cross_host" &&
13280 test x"$with_cross_host" != x"no"; then
13281 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13282 else
13283 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13284 fi
13285 ;;
13286 *)
13287 lt_host_flags=
13288 ;;
13289 esac
13290
13291
13292
13293
13294
13295 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13296
13297 # We need gfortran to compile parts of the library
13298 #AC_PROG_FC(gfortran)
13299 FC="$GFORTRAN"
13300 ac_ext=${ac_fc_srcext-f}
13301 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13302 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13303 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13304 if test -n "$ac_tool_prefix"; then
13305 for ac_prog in gfortran
13306 do
13307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13310 $as_echo_n "checking for $ac_word... " >&6; }
13311 if ${ac_cv_prog_FC+:} false; then :
13312 $as_echo_n "(cached) " >&6
13313 else
13314 if test -n "$FC"; then
13315 ac_cv_prog_FC="$FC" # Let the user override the test.
13316 else
13317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13318 for as_dir in $PATH
13319 do
13320 IFS=$as_save_IFS
13321 test -z "$as_dir" && as_dir=.
13322 for ac_exec_ext in '' $ac_executable_extensions; do
13323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13324 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13326 break 2
13327 fi
13328 done
13329 done
13330 IFS=$as_save_IFS
13331
13332 fi
13333 fi
13334 FC=$ac_cv_prog_FC
13335 if test -n "$FC"; then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13337 $as_echo "$FC" >&6; }
13338 else
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13340 $as_echo "no" >&6; }
13341 fi
13342
13343
13344 test -n "$FC" && break
13345 done
13346 fi
13347 if test -z "$FC"; then
13348 ac_ct_FC=$FC
13349 for ac_prog in gfortran
13350 do
13351 # Extract the first word of "$ac_prog", so it can be a program name with args.
13352 set dummy $ac_prog; ac_word=$2
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13354 $as_echo_n "checking for $ac_word... " >&6; }
13355 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13356 $as_echo_n "(cached) " >&6
13357 else
13358 if test -n "$ac_ct_FC"; then
13359 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13360 else
13361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13362 for as_dir in $PATH
13363 do
13364 IFS=$as_save_IFS
13365 test -z "$as_dir" && as_dir=.
13366 for ac_exec_ext in '' $ac_executable_extensions; do
13367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13368 ac_cv_prog_ac_ct_FC="$ac_prog"
13369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13370 break 2
13371 fi
13372 done
13373 done
13374 IFS=$as_save_IFS
13375
13376 fi
13377 fi
13378 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13379 if test -n "$ac_ct_FC"; then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13381 $as_echo "$ac_ct_FC" >&6; }
13382 else
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13384 $as_echo "no" >&6; }
13385 fi
13386
13387
13388 test -n "$ac_ct_FC" && break
13389 done
13390
13391 if test "x$ac_ct_FC" = x; then
13392 FC=""
13393 else
13394 case $cross_compiling:$ac_tool_warned in
13395 yes:)
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13398 ac_tool_warned=yes ;;
13399 esac
13400 FC=$ac_ct_FC
13401 fi
13402 fi
13403
13404
13405 # Provide some information about the compiler.
13406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13407 set X $ac_compile
13408 ac_compiler=$2
13409 for ac_option in --version -v -V -qversion; do
13410 { { ac_try="$ac_compiler $ac_option >&5"
13411 case "(($ac_try" in
13412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13413 *) ac_try_echo=$ac_try;;
13414 esac
13415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13416 $as_echo "$ac_try_echo"; } >&5
13417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13418 ac_status=$?
13419 if test -s conftest.err; then
13420 sed '10a\
13421 ... rest of stderr output deleted ...
13422 10q' conftest.err >conftest.er1
13423 cat conftest.er1 >&5
13424 fi
13425 rm -f conftest.er1 conftest.err
13426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13427 test $ac_status = 0; }
13428 done
13429 rm -f a.out
13430
13431 # If we don't use `.F' as extension, the preprocessor is not run on the
13432 # input file. (Note that this only needs to work for GNU compilers.)
13433 ac_save_ext=$ac_ext
13434 ac_ext=F
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13436 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13437 if ${ac_cv_fc_compiler_gnu+:} false; then :
13438 $as_echo_n "(cached) " >&6
13439 else
13440 cat > conftest.$ac_ext <<_ACEOF
13441 program main
13442 #ifndef __GNUC__
13443 choke me
13444 #endif
13445
13446 end
13447 _ACEOF
13448 if ac_fn_fc_try_compile "$LINENO"; then :
13449 ac_compiler_gnu=yes
13450 else
13451 ac_compiler_gnu=no
13452 fi
13453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13454 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13455
13456 fi
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13458 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13459 ac_ext=$ac_save_ext
13460 ac_test_FCFLAGS=${FCFLAGS+set}
13461 ac_save_FCFLAGS=$FCFLAGS
13462 FCFLAGS=
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13464 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13465 if ${ac_cv_prog_fc_g+:} false; then :
13466 $as_echo_n "(cached) " >&6
13467 else
13468 FCFLAGS=-g
13469 cat > conftest.$ac_ext <<_ACEOF
13470 program main
13471
13472 end
13473 _ACEOF
13474 if ac_fn_fc_try_compile "$LINENO"; then :
13475 ac_cv_prog_fc_g=yes
13476 else
13477 ac_cv_prog_fc_g=no
13478 fi
13479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13480
13481 fi
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13483 $as_echo "$ac_cv_prog_fc_g" >&6; }
13484 if test "$ac_test_FCFLAGS" = set; then
13485 FCFLAGS=$ac_save_FCFLAGS
13486 elif test $ac_cv_prog_fc_g = yes; then
13487 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13488 FCFLAGS="-g -O2"
13489 else
13490 FCFLAGS="-g"
13491 fi
13492 else
13493 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13494 FCFLAGS="-O2"
13495 else
13496 FCFLAGS=
13497 fi
13498 fi
13499
13500 if test $ac_compiler_gnu = yes; then
13501 GFC=yes
13502 else
13503 GFC=
13504 fi
13505 ac_ext=c
13506 ac_cpp='$CPP $CPPFLAGS'
13507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13510
13511 ac_ext=${ac_fc_srcext-f}
13512 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13513 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13514 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13515
13516
13517 if test -z "$FC" || test "X$FC" = "Xno"; then
13518 _lt_disable_FC=yes
13519 fi
13520
13521 archive_cmds_need_lc_FC=no
13522 allow_undefined_flag_FC=
13523 always_export_symbols_FC=no
13524 archive_expsym_cmds_FC=
13525 export_dynamic_flag_spec_FC=
13526 hardcode_direct_FC=no
13527 hardcode_direct_absolute_FC=no
13528 hardcode_libdir_flag_spec_FC=
13529 hardcode_libdir_flag_spec_ld_FC=
13530 hardcode_libdir_separator_FC=
13531 hardcode_minus_L_FC=no
13532 hardcode_automatic_FC=no
13533 inherit_rpath_FC=no
13534 module_cmds_FC=
13535 module_expsym_cmds_FC=
13536 link_all_deplibs_FC=unknown
13537 old_archive_cmds_FC=$old_archive_cmds
13538 reload_flag_FC=$reload_flag
13539 reload_cmds_FC=$reload_cmds
13540 no_undefined_flag_FC=
13541 whole_archive_flag_spec_FC=
13542 enable_shared_with_static_runtimes_FC=no
13543
13544 # Source file extension for fc test sources.
13545 ac_ext=${ac_fc_srcext-f}
13546
13547 # Object file extension for compiled fc test sources.
13548 objext=o
13549 objext_FC=$objext
13550
13551 # No sense in running all these tests if we already determined that
13552 # the FC compiler isn't working. Some variables (like enable_shared)
13553 # are currently assumed to apply to all compilers on this platform,
13554 # and will be corrupted by setting them based on a non-working compiler.
13555 if test "$_lt_disable_FC" != yes; then
13556 # Code to be used in simple compile tests
13557 lt_simple_compile_test_code="\
13558 subroutine t
13559 return
13560 end
13561 "
13562
13563 # Code to be used in simple link tests
13564 lt_simple_link_test_code="\
13565 program t
13566 end
13567 "
13568
13569 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13570
13571
13572
13573
13574
13575
13576 # If no C compiler was specified, use CC.
13577 LTCC=${LTCC-"$CC"}
13578
13579 # If no C compiler flags were specified, use CFLAGS.
13580 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13581
13582 # Allow CC to be a program name with arguments.
13583 compiler=$CC
13584
13585
13586 # save warnings/boilerplate of simple test code
13587 ac_outfile=conftest.$ac_objext
13588 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13589 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13590 _lt_compiler_boilerplate=`cat conftest.err`
13591 $RM conftest*
13592
13593 ac_outfile=conftest.$ac_objext
13594 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13595 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13596 _lt_linker_boilerplate=`cat conftest.err`
13597 $RM -r conftest*
13598
13599
13600 # Allow CC to be a program name with arguments.
13601 lt_save_CC="$CC"
13602 lt_save_GCC=$GCC
13603 CC=${FC-"f95"}
13604 compiler=$CC
13605 GCC=$ac_cv_fc_compiler_gnu
13606
13607 compiler_FC=$CC
13608 for cc_temp in $compiler""; do
13609 case $cc_temp in
13610 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13611 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13612 \-*) ;;
13613 *) break;;
13614 esac
13615 done
13616 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13617
13618
13619 if test -n "$compiler"; then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13621 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13623 $as_echo "$can_build_shared" >&6; }
13624
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13626 $as_echo_n "checking whether to build shared libraries... " >&6; }
13627 test "$can_build_shared" = "no" && enable_shared=no
13628
13629 # On AIX, shared libraries and static libraries use the same namespace, and
13630 # are all built from PIC.
13631 case $host_os in
13632 aix3*)
13633 test "$enable_shared" = yes && enable_static=no
13634 if test -n "$RANLIB"; then
13635 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13636 postinstall_cmds='$RANLIB $lib'
13637 fi
13638 ;;
13639 aix[4-9]*)
13640 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13641 test "$enable_shared" = yes && enable_static=no
13642 fi
13643 ;;
13644 esac
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13646 $as_echo "$enable_shared" >&6; }
13647
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13649 $as_echo_n "checking whether to build static libraries... " >&6; }
13650 # Make sure either enable_shared or enable_static is yes.
13651 test "$enable_shared" = yes || enable_static=yes
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13653 $as_echo "$enable_static" >&6; }
13654
13655 GCC_FC="$ac_cv_fc_compiler_gnu"
13656 LD_FC="$LD"
13657
13658 ## CAVEAT EMPTOR:
13659 ## There is no encapsulation within the following macros, do not change
13660 ## the running order or otherwise move them around unless you know exactly
13661 ## what you are doing...
13662 # Dependencies to place before and after the object being linked:
13663 predep_objects_FC=
13664 postdep_objects_FC=
13665 predeps_FC=
13666 postdeps_FC=
13667 compiler_lib_search_path_FC=
13668
13669 cat > conftest.$ac_ext <<_LT_EOF
13670 subroutine foo
13671 implicit none
13672 integer a
13673 a=0
13674 return
13675 end
13676 _LT_EOF
13677
13678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13679 (eval $ac_compile) 2>&5
13680 ac_status=$?
13681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13682 test $ac_status = 0; }; then
13683 # Parse the compiler output and extract the necessary
13684 # objects, libraries and library flags.
13685
13686 # Sentinel used to keep track of whether or not we are before
13687 # the conftest object file.
13688 pre_test_object_deps_done=no
13689
13690 for p in `eval "$output_verbose_link_cmd"`; do
13691 case $p in
13692
13693 -L* | -R* | -l*)
13694 # Some compilers place space between "-{L,R}" and the path.
13695 # Remove the space.
13696 if test $p = "-L" ||
13697 test $p = "-R"; then
13698 prev=$p
13699 continue
13700 else
13701 prev=
13702 fi
13703
13704 if test "$pre_test_object_deps_done" = no; then
13705 case $p in
13706 -L* | -R*)
13707 # Internal compiler library paths should come after those
13708 # provided the user. The postdeps already come after the
13709 # user supplied libs so there is no need to process them.
13710 if test -z "$compiler_lib_search_path_FC"; then
13711 compiler_lib_search_path_FC="${prev}${p}"
13712 else
13713 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13714 fi
13715 ;;
13716 # The "-l" case would never come before the object being
13717 # linked, so don't bother handling this case.
13718 esac
13719 else
13720 if test -z "$postdeps_FC"; then
13721 postdeps_FC="${prev}${p}"
13722 else
13723 postdeps_FC="${postdeps_FC} ${prev}${p}"
13724 fi
13725 fi
13726 ;;
13727
13728 *.$objext)
13729 # This assumes that the test object file only shows up
13730 # once in the compiler output.
13731 if test "$p" = "conftest.$objext"; then
13732 pre_test_object_deps_done=yes
13733 continue
13734 fi
13735
13736 if test "$pre_test_object_deps_done" = no; then
13737 if test -z "$predep_objects_FC"; then
13738 predep_objects_FC="$p"
13739 else
13740 predep_objects_FC="$predep_objects_FC $p"
13741 fi
13742 else
13743 if test -z "$postdep_objects_FC"; then
13744 postdep_objects_FC="$p"
13745 else
13746 postdep_objects_FC="$postdep_objects_FC $p"
13747 fi
13748 fi
13749 ;;
13750
13751 *) ;; # Ignore the rest.
13752
13753 esac
13754 done
13755
13756 # Clean up.
13757 rm -f a.out a.exe
13758 else
13759 echo "libtool.m4: error: problem compiling FC test program"
13760 fi
13761
13762 $RM -f confest.$objext
13763
13764 # PORTME: override above test on systems where it is broken
13765
13766
13767 case " $postdeps_FC " in
13768 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13769 esac
13770 compiler_lib_search_dirs_FC=
13771 if test -n "${compiler_lib_search_path_FC}"; then
13772 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13773 fi
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805 lt_prog_compiler_wl_FC=
13806 lt_prog_compiler_pic_FC=
13807 lt_prog_compiler_static_FC=
13808
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13810 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13811
13812 if test "$GCC" = yes; then
13813 lt_prog_compiler_wl_FC='-Wl,'
13814 lt_prog_compiler_static_FC='-static'
13815
13816 case $host_os in
13817 aix*)
13818 # All AIX code is PIC.
13819 if test "$host_cpu" = ia64; then
13820 # AIX 5 now supports IA64 processor
13821 lt_prog_compiler_static_FC='-Bstatic'
13822 fi
13823 lt_prog_compiler_pic_FC='-fPIC'
13824 ;;
13825
13826 amigaos*)
13827 case $host_cpu in
13828 powerpc)
13829 # see comment about AmigaOS4 .so support
13830 lt_prog_compiler_pic_FC='-fPIC'
13831 ;;
13832 m68k)
13833 # FIXME: we need at least 68020 code to build shared libraries, but
13834 # adding the `-m68020' flag to GCC prevents building anything better,
13835 # like `-m68040'.
13836 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13837 ;;
13838 esac
13839 ;;
13840
13841 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13842 # PIC is the default for these OSes.
13843 ;;
13844
13845 mingw* | cygwin* | pw32* | os2* | cegcc*)
13846 # This hack is so that the source file can tell whether it is being
13847 # built for inclusion in a dll (and should export symbols for example).
13848 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13849 # (--disable-auto-import) libraries
13850 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13851 ;;
13852
13853 darwin* | rhapsody*)
13854 # PIC is the default on this platform
13855 # Common symbols not allowed in MH_DYLIB files
13856 lt_prog_compiler_pic_FC='-fno-common'
13857 ;;
13858
13859 haiku*)
13860 # PIC is the default for Haiku.
13861 # The "-static" flag exists, but is broken.
13862 lt_prog_compiler_static_FC=
13863 ;;
13864
13865 hpux*)
13866 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13867 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13868 # sets the default TLS model and affects inlining.
13869 case $host_cpu in
13870 hppa*64*)
13871 # +Z the default
13872 ;;
13873 *)
13874 lt_prog_compiler_pic_FC='-fPIC'
13875 ;;
13876 esac
13877 ;;
13878
13879 interix[3-9]*)
13880 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13881 # Instead, we relocate shared libraries at runtime.
13882 ;;
13883
13884 msdosdjgpp*)
13885 # Just because we use GCC doesn't mean we suddenly get shared libraries
13886 # on systems that don't support them.
13887 lt_prog_compiler_can_build_shared_FC=no
13888 enable_shared=no
13889 ;;
13890
13891 *nto* | *qnx*)
13892 # QNX uses GNU C++, but need to define -shared option too, otherwise
13893 # it will coredump.
13894 lt_prog_compiler_pic_FC='-fPIC -shared'
13895 ;;
13896
13897 sysv4*MP*)
13898 if test -d /usr/nec; then
13899 lt_prog_compiler_pic_FC=-Kconform_pic
13900 fi
13901 ;;
13902
13903 *)
13904 lt_prog_compiler_pic_FC='-fPIC'
13905 ;;
13906 esac
13907
13908 case $cc_basename in
13909 nvcc*) # Cuda Compiler Driver 2.2
13910 lt_prog_compiler_wl_FC='-Xlinker '
13911 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13912 ;;
13913 esac
13914 else
13915 # PORTME Check for flag to pass linker flags through the system compiler.
13916 case $host_os in
13917 aix*)
13918 lt_prog_compiler_wl_FC='-Wl,'
13919 if test "$host_cpu" = ia64; then
13920 # AIX 5 now supports IA64 processor
13921 lt_prog_compiler_static_FC='-Bstatic'
13922 else
13923 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13924 fi
13925 ;;
13926
13927 mingw* | cygwin* | pw32* | os2* | cegcc*)
13928 # This hack is so that the source file can tell whether it is being
13929 # built for inclusion in a dll (and should export symbols for example).
13930 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13931 ;;
13932
13933 hpux9* | hpux10* | hpux11*)
13934 lt_prog_compiler_wl_FC='-Wl,'
13935 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13936 # not for PA HP-UX.
13937 case $host_cpu in
13938 hppa*64*|ia64*)
13939 # +Z the default
13940 ;;
13941 *)
13942 lt_prog_compiler_pic_FC='+Z'
13943 ;;
13944 esac
13945 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13946 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13947 ;;
13948
13949 irix5* | irix6* | nonstopux*)
13950 lt_prog_compiler_wl_FC='-Wl,'
13951 # PIC (with -KPIC) is the default.
13952 lt_prog_compiler_static_FC='-non_shared'
13953 ;;
13954
13955 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13956 case $cc_basename in
13957 # old Intel for x86_64 which still supported -KPIC.
13958 ecc*)
13959 lt_prog_compiler_wl_FC='-Wl,'
13960 lt_prog_compiler_pic_FC='-KPIC'
13961 lt_prog_compiler_static_FC='-static'
13962 ;;
13963 # icc used to be incompatible with GCC.
13964 # ICC 10 doesn't accept -KPIC any more.
13965 icc* | ifort*)
13966 lt_prog_compiler_wl_FC='-Wl,'
13967 lt_prog_compiler_pic_FC='-fPIC'
13968 lt_prog_compiler_static_FC='-static'
13969 ;;
13970 # Lahey Fortran 8.1.
13971 lf95*)
13972 lt_prog_compiler_wl_FC='-Wl,'
13973 lt_prog_compiler_pic_FC='--shared'
13974 lt_prog_compiler_static_FC='--static'
13975 ;;
13976 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13977 # Portland Group compilers (*not* the Pentium gcc compiler,
13978 # which looks to be a dead project)
13979 lt_prog_compiler_wl_FC='-Wl,'
13980 lt_prog_compiler_pic_FC='-fpic'
13981 lt_prog_compiler_static_FC='-Bstatic'
13982 ;;
13983 ccc*)
13984 lt_prog_compiler_wl_FC='-Wl,'
13985 # All Alpha code is PIC.
13986 lt_prog_compiler_static_FC='-non_shared'
13987 ;;
13988 xl* | bgxl* | bgf* | mpixl*)
13989 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13990 lt_prog_compiler_wl_FC='-Wl,'
13991 lt_prog_compiler_pic_FC='-qpic'
13992 lt_prog_compiler_static_FC='-qstaticlink'
13993 ;;
13994 *)
13995 case `$CC -V 2>&1 | sed 5q` in
13996 *Sun\ F* | *Sun*Fortran*)
13997 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13998 lt_prog_compiler_pic_FC='-KPIC'
13999 lt_prog_compiler_static_FC='-Bstatic'
14000 lt_prog_compiler_wl_FC=''
14001 ;;
14002 *Sun\ C*)
14003 # Sun C 5.9
14004 lt_prog_compiler_pic_FC='-KPIC'
14005 lt_prog_compiler_static_FC='-Bstatic'
14006 lt_prog_compiler_wl_FC='-Wl,'
14007 ;;
14008 esac
14009 ;;
14010 esac
14011 ;;
14012
14013 newsos6)
14014 lt_prog_compiler_pic_FC='-KPIC'
14015 lt_prog_compiler_static_FC='-Bstatic'
14016 ;;
14017
14018 *nto* | *qnx*)
14019 # QNX uses GNU C++, but need to define -shared option too, otherwise
14020 # it will coredump.
14021 lt_prog_compiler_pic_FC='-fPIC -shared'
14022 ;;
14023
14024 osf3* | osf4* | osf5*)
14025 lt_prog_compiler_wl_FC='-Wl,'
14026 # All OSF/1 code is PIC.
14027 lt_prog_compiler_static_FC='-non_shared'
14028 ;;
14029
14030 rdos*)
14031 lt_prog_compiler_static_FC='-non_shared'
14032 ;;
14033
14034 solaris*)
14035 lt_prog_compiler_pic_FC='-KPIC'
14036 lt_prog_compiler_static_FC='-Bstatic'
14037 case $cc_basename in
14038 f77* | f90* | f95*)
14039 lt_prog_compiler_wl_FC='-Qoption ld ';;
14040 *)
14041 lt_prog_compiler_wl_FC='-Wl,';;
14042 esac
14043 ;;
14044
14045 sunos4*)
14046 lt_prog_compiler_wl_FC='-Qoption ld '
14047 lt_prog_compiler_pic_FC='-PIC'
14048 lt_prog_compiler_static_FC='-Bstatic'
14049 ;;
14050
14051 sysv4 | sysv4.2uw2* | sysv4.3*)
14052 lt_prog_compiler_wl_FC='-Wl,'
14053 lt_prog_compiler_pic_FC='-KPIC'
14054 lt_prog_compiler_static_FC='-Bstatic'
14055 ;;
14056
14057 sysv4*MP*)
14058 if test -d /usr/nec ;then
14059 lt_prog_compiler_pic_FC='-Kconform_pic'
14060 lt_prog_compiler_static_FC='-Bstatic'
14061 fi
14062 ;;
14063
14064 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14065 lt_prog_compiler_wl_FC='-Wl,'
14066 lt_prog_compiler_pic_FC='-KPIC'
14067 lt_prog_compiler_static_FC='-Bstatic'
14068 ;;
14069
14070 unicos*)
14071 lt_prog_compiler_wl_FC='-Wl,'
14072 lt_prog_compiler_can_build_shared_FC=no
14073 ;;
14074
14075 uts4*)
14076 lt_prog_compiler_pic_FC='-pic'
14077 lt_prog_compiler_static_FC='-Bstatic'
14078 ;;
14079
14080 *)
14081 lt_prog_compiler_can_build_shared_FC=no
14082 ;;
14083 esac
14084 fi
14085
14086 case $host_os in
14087 # For platforms which do not support PIC, -DPIC is meaningless:
14088 *djgpp*)
14089 lt_prog_compiler_pic_FC=
14090 ;;
14091 *)
14092 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14093 ;;
14094 esac
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14096 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14097
14098
14099
14100 #
14101 # Check to make sure the PIC flag actually works.
14102 #
14103 if test -n "$lt_prog_compiler_pic_FC"; then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14105 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14106 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 lt_cv_prog_compiler_pic_works_FC=no
14110 ac_outfile=conftest.$ac_objext
14111 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14112 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14113 # Insert the option either (1) after the last *FLAGS variable, or
14114 # (2) before a word containing "conftest.", or (3) at the end.
14115 # Note that $ac_compile itself does not contain backslashes and begins
14116 # with a dollar sign (not a hyphen), so the echo should work correctly.
14117 # The option is referenced via a variable to avoid confusing sed.
14118 lt_compile=`echo "$ac_compile" | $SED \
14119 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14121 -e 's:$: $lt_compiler_flag:'`
14122 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14123 (eval "$lt_compile" 2>conftest.err)
14124 ac_status=$?
14125 cat conftest.err >&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 if (exit $ac_status) && test -s "$ac_outfile"; then
14128 # The compiler can only warn and ignore the option if not recognized
14129 # So say no if there are warnings other than the usual output.
14130 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14131 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14132 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14133 lt_cv_prog_compiler_pic_works_FC=yes
14134 fi
14135 fi
14136 $RM conftest*
14137
14138 fi
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14140 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14141
14142 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14143 case $lt_prog_compiler_pic_FC in
14144 "" | " "*) ;;
14145 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14146 esac
14147 else
14148 lt_prog_compiler_pic_FC=
14149 lt_prog_compiler_can_build_shared_FC=no
14150 fi
14151
14152 fi
14153
14154
14155
14156 #
14157 # Check to make sure the static flag actually works.
14158 #
14159 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14161 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14162 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14163 $as_echo_n "(cached) " >&6
14164 else
14165 lt_cv_prog_compiler_static_works_FC=no
14166 save_LDFLAGS="$LDFLAGS"
14167 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14168 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14169 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14170 # The linker can only warn and ignore the option if not recognized
14171 # So say no if there are warnings
14172 if test -s conftest.err; then
14173 # Append any errors to the config.log.
14174 cat conftest.err 1>&5
14175 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14176 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14177 if diff conftest.exp conftest.er2 >/dev/null; then
14178 lt_cv_prog_compiler_static_works_FC=yes
14179 fi
14180 else
14181 lt_cv_prog_compiler_static_works_FC=yes
14182 fi
14183 fi
14184 $RM -r conftest*
14185 LDFLAGS="$save_LDFLAGS"
14186
14187 fi
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14189 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14190
14191 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14192 :
14193 else
14194 lt_prog_compiler_static_FC=
14195 fi
14196
14197
14198
14199
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14201 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14202 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 lt_cv_prog_compiler_c_o_FC=no
14206 $RM -r conftest 2>/dev/null
14207 mkdir conftest
14208 cd conftest
14209 mkdir out
14210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14211
14212 lt_compiler_flag="-o out/conftest2.$ac_objext"
14213 # Insert the option either (1) after the last *FLAGS variable, or
14214 # (2) before a word containing "conftest.", or (3) at the end.
14215 # Note that $ac_compile itself does not contain backslashes and begins
14216 # with a dollar sign (not a hyphen), so the echo should work correctly.
14217 lt_compile=`echo "$ac_compile" | $SED \
14218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14220 -e 's:$: $lt_compiler_flag:'`
14221 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14222 (eval "$lt_compile" 2>out/conftest.err)
14223 ac_status=$?
14224 cat out/conftest.err >&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14227 then
14228 # The compiler can only warn and ignore the option if not recognized
14229 # So say no if there are warnings
14230 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14231 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14232 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14233 lt_cv_prog_compiler_c_o_FC=yes
14234 fi
14235 fi
14236 chmod u+w . 2>&5
14237 $RM conftest*
14238 # SGI C++ compiler will create directory out/ii_files/ for
14239 # template instantiation
14240 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14241 $RM out/* && rmdir out
14242 cd ..
14243 $RM -r conftest
14244 $RM conftest*
14245
14246 fi
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14248 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14249
14250
14251
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14253 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14254 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 lt_cv_prog_compiler_c_o_FC=no
14258 $RM -r conftest 2>/dev/null
14259 mkdir conftest
14260 cd conftest
14261 mkdir out
14262 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14263
14264 lt_compiler_flag="-o out/conftest2.$ac_objext"
14265 # Insert the option either (1) after the last *FLAGS variable, or
14266 # (2) before a word containing "conftest.", or (3) at the end.
14267 # Note that $ac_compile itself does not contain backslashes and begins
14268 # with a dollar sign (not a hyphen), so the echo should work correctly.
14269 lt_compile=`echo "$ac_compile" | $SED \
14270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14272 -e 's:$: $lt_compiler_flag:'`
14273 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14274 (eval "$lt_compile" 2>out/conftest.err)
14275 ac_status=$?
14276 cat out/conftest.err >&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14279 then
14280 # The compiler can only warn and ignore the option if not recognized
14281 # So say no if there are warnings
14282 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14283 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14284 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14285 lt_cv_prog_compiler_c_o_FC=yes
14286 fi
14287 fi
14288 chmod u+w . 2>&5
14289 $RM conftest*
14290 # SGI C++ compiler will create directory out/ii_files/ for
14291 # template instantiation
14292 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14293 $RM out/* && rmdir out
14294 cd ..
14295 $RM -r conftest
14296 $RM conftest*
14297
14298 fi
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14300 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14301
14302
14303
14304
14305 hard_links="nottested"
14306 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14307 # do not overwrite the value of need_locks provided by the user
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14309 $as_echo_n "checking if we can lock with hard links... " >&6; }
14310 hard_links=yes
14311 $RM conftest*
14312 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14313 touch conftest.a
14314 ln conftest.a conftest.b 2>&5 || hard_links=no
14315 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14317 $as_echo "$hard_links" >&6; }
14318 if test "$hard_links" = no; then
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14320 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14321 need_locks=warn
14322 fi
14323 else
14324 need_locks=no
14325 fi
14326
14327
14328
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14330 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14331
14332 runpath_var=
14333 allow_undefined_flag_FC=
14334 always_export_symbols_FC=no
14335 archive_cmds_FC=
14336 archive_expsym_cmds_FC=
14337 compiler_needs_object_FC=no
14338 enable_shared_with_static_runtimes_FC=no
14339 export_dynamic_flag_spec_FC=
14340 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14341 hardcode_automatic_FC=no
14342 hardcode_direct_FC=no
14343 hardcode_direct_absolute_FC=no
14344 hardcode_libdir_flag_spec_FC=
14345 hardcode_libdir_flag_spec_ld_FC=
14346 hardcode_libdir_separator_FC=
14347 hardcode_minus_L_FC=no
14348 hardcode_shlibpath_var_FC=unsupported
14349 inherit_rpath_FC=no
14350 link_all_deplibs_FC=unknown
14351 module_cmds_FC=
14352 module_expsym_cmds_FC=
14353 old_archive_from_new_cmds_FC=
14354 old_archive_from_expsyms_cmds_FC=
14355 thread_safe_flag_spec_FC=
14356 whole_archive_flag_spec_FC=
14357 # include_expsyms should be a list of space-separated symbols to be *always*
14358 # included in the symbol list
14359 include_expsyms_FC=
14360 # exclude_expsyms can be an extended regexp of symbols to exclude
14361 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14362 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14363 # as well as any symbol that contains `d'.
14364 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14365 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14366 # platforms (ab)use it in PIC code, but their linkers get confused if
14367 # the symbol is explicitly referenced. Since portable code cannot
14368 # rely on this symbol name, it's probably fine to never include it in
14369 # preloaded symbol tables.
14370 # Exclude shared library initialization/finalization symbols.
14371 extract_expsyms_cmds=
14372
14373 case $host_os in
14374 cygwin* | mingw* | pw32* | cegcc*)
14375 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14376 # When not using gcc, we currently assume that we are using
14377 # Microsoft Visual C++.
14378 if test "$GCC" != yes; then
14379 with_gnu_ld=no
14380 fi
14381 ;;
14382 interix*)
14383 # we just hope/assume this is gcc and not c89 (= MSVC++)
14384 with_gnu_ld=yes
14385 ;;
14386 openbsd*)
14387 with_gnu_ld=no
14388 ;;
14389 esac
14390
14391 ld_shlibs_FC=yes
14392
14393 # On some targets, GNU ld is compatible enough with the native linker
14394 # that we're better off using the native interface for both.
14395 lt_use_gnu_ld_interface=no
14396 if test "$with_gnu_ld" = yes; then
14397 case $host_os in
14398 aix*)
14399 # The AIX port of GNU ld has always aspired to compatibility
14400 # with the native linker. However, as the warning in the GNU ld
14401 # block says, versions before 2.19.5* couldn't really create working
14402 # shared libraries, regardless of the interface used.
14403 case `$LD -v 2>&1` in
14404 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14405 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14406 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14407 *)
14408 lt_use_gnu_ld_interface=yes
14409 ;;
14410 esac
14411 ;;
14412 *)
14413 lt_use_gnu_ld_interface=yes
14414 ;;
14415 esac
14416 fi
14417
14418 if test "$lt_use_gnu_ld_interface" = yes; then
14419 # If archive_cmds runs LD, not CC, wlarc should be empty
14420 wlarc='${wl}'
14421
14422 # Set some defaults for GNU ld with shared library support. These
14423 # are reset later if shared libraries are not supported. Putting them
14424 # here allows them to be overridden if necessary.
14425 runpath_var=LD_RUN_PATH
14426 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14427 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14428 # ancient GNU ld didn't support --whole-archive et. al.
14429 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14430 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14431 else
14432 whole_archive_flag_spec_FC=
14433 fi
14434 supports_anon_versioning=no
14435 case `$LD -v 2>&1` in
14436 *GNU\ gold*) supports_anon_versioning=yes ;;
14437 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14438 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14439 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14440 *\ 2.11.*) ;; # other 2.11 versions
14441 *) supports_anon_versioning=yes ;;
14442 esac
14443
14444 # See if GNU ld supports shared libraries.
14445 case $host_os in
14446 aix[3-9]*)
14447 # On AIX/PPC, the GNU linker is very broken
14448 if test "$host_cpu" != ia64; then
14449 ld_shlibs_FC=no
14450 cat <<_LT_EOF 1>&2
14451
14452 *** Warning: the GNU linker, at least up to release 2.19, is reported
14453 *** to be unable to reliably create shared libraries on AIX.
14454 *** Therefore, libtool is disabling shared libraries support. If you
14455 *** really care for shared libraries, you may want to install binutils
14456 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14457 *** You will then need to restart the configuration process.
14458
14459 _LT_EOF
14460 fi
14461 ;;
14462
14463 amigaos*)
14464 case $host_cpu in
14465 powerpc)
14466 # see comment about AmigaOS4 .so support
14467 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14468 archive_expsym_cmds_FC=''
14469 ;;
14470 m68k)
14471 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)'
14472 hardcode_libdir_flag_spec_FC='-L$libdir'
14473 hardcode_minus_L_FC=yes
14474 ;;
14475 esac
14476 ;;
14477
14478 beos*)
14479 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14480 allow_undefined_flag_FC=unsupported
14481 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14482 # support --undefined. This deserves some investigation. FIXME
14483 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14484 else
14485 ld_shlibs_FC=no
14486 fi
14487 ;;
14488
14489 cygwin* | mingw* | pw32* | cegcc*)
14490 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14491 # as there is no search path for DLLs.
14492 hardcode_libdir_flag_spec_FC='-L$libdir'
14493 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14494 allow_undefined_flag_FC=unsupported
14495 always_export_symbols_FC=no
14496 enable_shared_with_static_runtimes_FC=yes
14497 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14498
14499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14500 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14501 # If the export-symbols file already is a .def file (1st line
14502 # is EXPORTS), use it as is; otherwise, prepend...
14503 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14504 cp $export_symbols $output_objdir/$soname.def;
14505 else
14506 echo EXPORTS > $output_objdir/$soname.def;
14507 cat $export_symbols >> $output_objdir/$soname.def;
14508 fi~
14509 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14510 else
14511 ld_shlibs_FC=no
14512 fi
14513 ;;
14514
14515 haiku*)
14516 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14517 link_all_deplibs_FC=yes
14518 ;;
14519
14520 interix[3-9]*)
14521 hardcode_direct_FC=no
14522 hardcode_shlibpath_var_FC=no
14523 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14524 export_dynamic_flag_spec_FC='${wl}-E'
14525 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14526 # Instead, shared libraries are loaded at an image base (0x10000000 by
14527 # default) and relocated if they conflict, which is a slow very memory
14528 # consuming and fragmenting process. To avoid this, we pick a random,
14529 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14530 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14531 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'
14532 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'
14533 ;;
14534
14535 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14536 tmp_diet=no
14537 if test "$host_os" = linux-dietlibc; then
14538 case $cc_basename in
14539 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14540 esac
14541 fi
14542 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14543 && test "$tmp_diet" = no
14544 then
14545 tmp_addflag=' $pic_flag'
14546 tmp_sharedflag='-shared'
14547 case $cc_basename,$host_cpu in
14548 pgcc*) # Portland Group C compiler
14549 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'
14550 tmp_addflag=' $pic_flag'
14551 ;;
14552 pgf77* | pgf90* | pgf95* | pgfortran*)
14553 # Portland Group f77 and f90 compilers
14554 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'
14555 tmp_addflag=' $pic_flag -Mnomain' ;;
14556 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14557 tmp_addflag=' -i_dynamic' ;;
14558 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14559 tmp_addflag=' -i_dynamic -nofor_main' ;;
14560 ifc* | ifort*) # Intel Fortran compiler
14561 tmp_addflag=' -nofor_main' ;;
14562 lf95*) # Lahey Fortran 8.1
14563 whole_archive_flag_spec_FC=
14564 tmp_sharedflag='--shared' ;;
14565 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14566 tmp_sharedflag='-qmkshrobj'
14567 tmp_addflag= ;;
14568 nvcc*) # Cuda Compiler Driver 2.2
14569 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'
14570 compiler_needs_object_FC=yes
14571 ;;
14572 esac
14573 case `$CC -V 2>&1 | sed 5q` in
14574 *Sun\ C*) # Sun C 5.9
14575 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'
14576 compiler_needs_object_FC=yes
14577 tmp_sharedflag='-G' ;;
14578 *Sun\ F*) # Sun Fortran 8.3
14579 tmp_sharedflag='-G' ;;
14580 esac
14581 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14582
14583 if test "x$supports_anon_versioning" = xyes; then
14584 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14585 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14586 echo "local: *; };" >> $output_objdir/$libname.ver~
14587 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14588 fi
14589
14590 case $cc_basename in
14591 xlf* | bgf* | bgxlf* | mpixlf*)
14592 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14593 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14594 hardcode_libdir_flag_spec_FC=
14595 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14596 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14597 if test "x$supports_anon_versioning" = xyes; then
14598 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14599 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14600 echo "local: *; };" >> $output_objdir/$libname.ver~
14601 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14602 fi
14603 ;;
14604 esac
14605 else
14606 ld_shlibs_FC=no
14607 fi
14608 ;;
14609
14610 netbsd*)
14611 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14612 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14613 wlarc=
14614 else
14615 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14616 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14617 fi
14618 ;;
14619
14620 solaris*)
14621 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14622 ld_shlibs_FC=no
14623 cat <<_LT_EOF 1>&2
14624
14625 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14626 *** create shared libraries on Solaris systems. Therefore, libtool
14627 *** is disabling shared libraries support. We urge you to upgrade GNU
14628 *** binutils to release 2.9.1 or newer. Another option is to modify
14629 *** your PATH or compiler configuration so that the native linker is
14630 *** used, and then restart.
14631
14632 _LT_EOF
14633 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14634 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14635 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14636 else
14637 ld_shlibs_FC=no
14638 fi
14639 ;;
14640
14641 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14642 case `$LD -v 2>&1` in
14643 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14644 ld_shlibs_FC=no
14645 cat <<_LT_EOF 1>&2
14646
14647 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14648 *** reliably create shared libraries on SCO systems. Therefore, libtool
14649 *** is disabling shared libraries support. We urge you to upgrade GNU
14650 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14651 *** your PATH or compiler configuration so that the native linker is
14652 *** used, and then restart.
14653
14654 _LT_EOF
14655 ;;
14656 *)
14657 # For security reasons, it is highly recommended that you always
14658 # use absolute paths for naming shared libraries, and exclude the
14659 # DT_RUNPATH tag from executables and libraries. But doing so
14660 # requires that you compile everything twice, which is a pain.
14661 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14662 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14663 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14664 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14665 else
14666 ld_shlibs_FC=no
14667 fi
14668 ;;
14669 esac
14670 ;;
14671
14672 sunos4*)
14673 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14674 wlarc=
14675 hardcode_direct_FC=yes
14676 hardcode_shlibpath_var_FC=no
14677 ;;
14678
14679 *)
14680 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14681 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14682 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14683 else
14684 ld_shlibs_FC=no
14685 fi
14686 ;;
14687 esac
14688
14689 if test "$ld_shlibs_FC" = no; then
14690 runpath_var=
14691 hardcode_libdir_flag_spec_FC=
14692 export_dynamic_flag_spec_FC=
14693 whole_archive_flag_spec_FC=
14694 fi
14695 else
14696 # PORTME fill in a description of your system's linker (not GNU ld)
14697 case $host_os in
14698 aix3*)
14699 allow_undefined_flag_FC=unsupported
14700 always_export_symbols_FC=yes
14701 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'
14702 # Note: this linker hardcodes the directories in LIBPATH if there
14703 # are no directories specified by -L.
14704 hardcode_minus_L_FC=yes
14705 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14706 # Neither direct hardcoding nor static linking is supported with a
14707 # broken collect2.
14708 hardcode_direct_FC=unsupported
14709 fi
14710 ;;
14711
14712 aix[4-9]*)
14713 if test "$host_cpu" = ia64; then
14714 # On IA64, the linker does run time linking by default, so we don't
14715 # have to do anything special.
14716 aix_use_runtimelinking=no
14717 exp_sym_flag='-Bexport'
14718 no_entry_flag=""
14719 else
14720 # If we're using GNU nm, then we don't want the "-C" option.
14721 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14722 # Also, AIX nm treats weak defined symbols like other global
14723 # defined symbols, whereas GNU nm marks them as "W".
14724 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14725 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'
14726 else
14727 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'
14728 fi
14729 aix_use_runtimelinking=no
14730
14731 # Test if we are trying to use run time linking or normal
14732 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14733 # need to do runtime linking.
14734 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14735 for ld_flag in $LDFLAGS; do
14736 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14737 aix_use_runtimelinking=yes
14738 break
14739 fi
14740 done
14741 ;;
14742 esac
14743
14744 exp_sym_flag='-bexport'
14745 no_entry_flag='-bnoentry'
14746 fi
14747
14748 # When large executables or shared objects are built, AIX ld can
14749 # have problems creating the table of contents. If linking a library
14750 # or program results in "error TOC overflow" add -mminimal-toc to
14751 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14752 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14753
14754 archive_cmds_FC=''
14755 hardcode_direct_FC=yes
14756 hardcode_direct_absolute_FC=yes
14757 hardcode_libdir_separator_FC=':'
14758 link_all_deplibs_FC=yes
14759 file_list_spec_FC='${wl}-f,'
14760
14761 if test "$GCC" = yes; then
14762 case $host_os in aix4.[012]|aix4.[012].*)
14763 # We only want to do this on AIX 4.2 and lower, the check
14764 # below for broken collect2 doesn't work under 4.3+
14765 collect2name=`${CC} -print-prog-name=collect2`
14766 if test -f "$collect2name" &&
14767 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14768 then
14769 # We have reworked collect2
14770 :
14771 else
14772 # We have old collect2
14773 hardcode_direct_FC=unsupported
14774 # It fails to find uninstalled libraries when the uninstalled
14775 # path is not listed in the libpath. Setting hardcode_minus_L
14776 # to unsupported forces relinking
14777 hardcode_minus_L_FC=yes
14778 hardcode_libdir_flag_spec_FC='-L$libdir'
14779 hardcode_libdir_separator_FC=
14780 fi
14781 ;;
14782 esac
14783 shared_flag='-shared'
14784 if test "$aix_use_runtimelinking" = yes; then
14785 shared_flag="$shared_flag "'${wl}-G'
14786 fi
14787 else
14788 # not using gcc
14789 if test "$host_cpu" = ia64; then
14790 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14791 # chokes on -Wl,-G. The following line is correct:
14792 shared_flag='-G'
14793 else
14794 if test "$aix_use_runtimelinking" = yes; then
14795 shared_flag='${wl}-G'
14796 else
14797 shared_flag='${wl}-bM:SRE'
14798 fi
14799 fi
14800 fi
14801
14802 export_dynamic_flag_spec_FC='${wl}-bexpall'
14803 # It seems that -bexpall does not export symbols beginning with
14804 # underscore (_), so it is better to generate a list of symbols to export.
14805 always_export_symbols_FC=yes
14806 if test "$aix_use_runtimelinking" = yes; then
14807 # Warning - without using the other runtime loading flags (-brtl),
14808 # -berok will link without error, but may produce a broken library.
14809 allow_undefined_flag_FC='-berok'
14810 # Determine the default libpath from the value encoded in an
14811 # empty executable.
14812 if test x$gcc_no_link = xyes; then
14813 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14814 fi
14815 cat > conftest.$ac_ext <<_ACEOF
14816 program main
14817
14818 end
14819 _ACEOF
14820 if ac_fn_fc_try_link "$LINENO"; then :
14821
14822 lt_aix_libpath_sed='
14823 /Import File Strings/,/^$/ {
14824 /^0/ {
14825 s/^0 *\(.*\)$/\1/
14826 p
14827 }
14828 }'
14829 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14830 # Check for a 64-bit object if we didn't find anything.
14831 if test -z "$aix_libpath"; then
14832 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14833 fi
14834 fi
14835 rm -f core conftest.err conftest.$ac_objext \
14836 conftest$ac_exeext conftest.$ac_ext
14837 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14838
14839 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14840 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"
14841 else
14842 if test "$host_cpu" = ia64; then
14843 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14844 allow_undefined_flag_FC="-z nodefs"
14845 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"
14846 else
14847 # Determine the default libpath from the value encoded in an
14848 # empty executable.
14849 if test x$gcc_no_link = xyes; then
14850 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14851 fi
14852 cat > conftest.$ac_ext <<_ACEOF
14853 program main
14854
14855 end
14856 _ACEOF
14857 if ac_fn_fc_try_link "$LINENO"; then :
14858
14859 lt_aix_libpath_sed='
14860 /Import File Strings/,/^$/ {
14861 /^0/ {
14862 s/^0 *\(.*\)$/\1/
14863 p
14864 }
14865 }'
14866 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14867 # Check for a 64-bit object if we didn't find anything.
14868 if test -z "$aix_libpath"; then
14869 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14870 fi
14871 fi
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14875
14876 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14877 # Warning - without using the other run time loading flags,
14878 # -berok will link without error, but may produce a broken library.
14879 no_undefined_flag_FC=' ${wl}-bernotok'
14880 allow_undefined_flag_FC=' ${wl}-berok'
14881 if test "$with_gnu_ld" = yes; then
14882 # We only use this code for GNU lds that support --whole-archive.
14883 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14884 else
14885 # Exported symbols can be pulled into shared objects from archives
14886 whole_archive_flag_spec_FC='$convenience'
14887 fi
14888 archive_cmds_need_lc_FC=yes
14889 # This is similar to how AIX traditionally builds its shared libraries.
14890 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'
14891 fi
14892 fi
14893 ;;
14894
14895 amigaos*)
14896 case $host_cpu in
14897 powerpc)
14898 # see comment about AmigaOS4 .so support
14899 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14900 archive_expsym_cmds_FC=''
14901 ;;
14902 m68k)
14903 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)'
14904 hardcode_libdir_flag_spec_FC='-L$libdir'
14905 hardcode_minus_L_FC=yes
14906 ;;
14907 esac
14908 ;;
14909
14910 bsdi[45]*)
14911 export_dynamic_flag_spec_FC=-rdynamic
14912 ;;
14913
14914 cygwin* | mingw* | pw32* | cegcc*)
14915 # When not using gcc, we currently assume that we are using
14916 # Microsoft Visual C++.
14917 # hardcode_libdir_flag_spec is actually meaningless, as there is
14918 # no search path for DLLs.
14919 hardcode_libdir_flag_spec_FC=' '
14920 allow_undefined_flag_FC=unsupported
14921 # Tell ltmain to make .lib files, not .a files.
14922 libext=lib
14923 # Tell ltmain to make .dll files, not .so files.
14924 shrext_cmds=".dll"
14925 # FIXME: Setting linknames here is a bad hack.
14926 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14927 # The linker will automatically build a .lib file if we build a DLL.
14928 old_archive_from_new_cmds_FC='true'
14929 # FIXME: Should let the user specify the lib program.
14930 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14931 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14932 enable_shared_with_static_runtimes_FC=yes
14933 ;;
14934
14935 darwin* | rhapsody*)
14936
14937
14938 archive_cmds_need_lc_FC=no
14939 hardcode_direct_FC=no
14940 hardcode_automatic_FC=yes
14941 hardcode_shlibpath_var_FC=unsupported
14942 if test "$lt_cv_ld_force_load" = "yes"; then
14943 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\"`'
14944 else
14945 whole_archive_flag_spec_FC=''
14946 fi
14947 link_all_deplibs_FC=yes
14948 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14949 case $cc_basename in
14950 ifort*) _lt_dar_can_shared=yes ;;
14951 *) _lt_dar_can_shared=$GCC ;;
14952 esac
14953 if test "$_lt_dar_can_shared" = "yes"; then
14954 output_verbose_link_cmd=func_echo_all
14955 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14956 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14957 archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14958 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}"
14959
14960 else
14961 ld_shlibs_FC=no
14962 fi
14963
14964 ;;
14965
14966 dgux*)
14967 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14968 hardcode_libdir_flag_spec_FC='-L$libdir'
14969 hardcode_shlibpath_var_FC=no
14970 ;;
14971
14972 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14973 # support. Future versions do this automatically, but an explicit c++rt0.o
14974 # does not break anything, and helps significantly (at the cost of a little
14975 # extra space).
14976 freebsd2.2*)
14977 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14978 hardcode_libdir_flag_spec_FC='-R$libdir'
14979 hardcode_direct_FC=yes
14980 hardcode_shlibpath_var_FC=no
14981 ;;
14982
14983 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14984 freebsd2.*)
14985 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14986 hardcode_direct_FC=yes
14987 hardcode_minus_L_FC=yes
14988 hardcode_shlibpath_var_FC=no
14989 ;;
14990
14991 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14992 freebsd* | dragonfly*)
14993 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14994 hardcode_libdir_flag_spec_FC='-R$libdir'
14995 hardcode_direct_FC=yes
14996 hardcode_shlibpath_var_FC=no
14997 ;;
14998
14999 hpux9*)
15000 if test "$GCC" = yes; then
15001 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'
15002 else
15003 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'
15004 fi
15005 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15006 hardcode_libdir_separator_FC=:
15007 hardcode_direct_FC=yes
15008
15009 # hardcode_minus_L: Not really in the search PATH,
15010 # but as the default location of the library.
15011 hardcode_minus_L_FC=yes
15012 export_dynamic_flag_spec_FC='${wl}-E'
15013 ;;
15014
15015 hpux10*)
15016 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15017 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15018 else
15019 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15020 fi
15021 if test "$with_gnu_ld" = no; then
15022 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15023 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15024 hardcode_libdir_separator_FC=:
15025 hardcode_direct_FC=yes
15026 hardcode_direct_absolute_FC=yes
15027 export_dynamic_flag_spec_FC='${wl}-E'
15028 # hardcode_minus_L: Not really in the search PATH,
15029 # but as the default location of the library.
15030 hardcode_minus_L_FC=yes
15031 fi
15032 ;;
15033
15034 hpux11*)
15035 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15036 case $host_cpu in
15037 hppa*64*)
15038 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15039 ;;
15040 ia64*)
15041 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15042 ;;
15043 *)
15044 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15045 ;;
15046 esac
15047 else
15048 case $host_cpu in
15049 hppa*64*)
15050 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15051 ;;
15052 ia64*)
15053 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15054 ;;
15055 *)
15056 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15057 ;;
15058 esac
15059 fi
15060 if test "$with_gnu_ld" = no; then
15061 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15062 hardcode_libdir_separator_FC=:
15063
15064 case $host_cpu in
15065 hppa*64*|ia64*)
15066 hardcode_direct_FC=no
15067 hardcode_shlibpath_var_FC=no
15068 ;;
15069 *)
15070 hardcode_direct_FC=yes
15071 hardcode_direct_absolute_FC=yes
15072 export_dynamic_flag_spec_FC='${wl}-E'
15073
15074 # hardcode_minus_L: Not really in the search PATH,
15075 # but as the default location of the library.
15076 hardcode_minus_L_FC=yes
15077 ;;
15078 esac
15079 fi
15080 ;;
15081
15082 irix5* | irix6* | nonstopux*)
15083 if test "$GCC" = yes; then
15084 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'
15085 # Try to use the -exported_symbol ld option, if it does not
15086 # work, assume that -exports_file does not work either and
15087 # implicitly export all symbols.
15088 save_LDFLAGS="$LDFLAGS"
15089 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15090 if test x$gcc_no_link = xyes; then
15091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15092 fi
15093 cat > conftest.$ac_ext <<_ACEOF
15094 int foo(void) {}
15095 _ACEOF
15096 if ac_fn_fc_try_link "$LINENO"; then :
15097 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'
15098
15099 fi
15100 rm -f core conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15102 LDFLAGS="$save_LDFLAGS"
15103 else
15104 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'
15105 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'
15106 fi
15107 archive_cmds_need_lc_FC='no'
15108 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15109 hardcode_libdir_separator_FC=:
15110 inherit_rpath_FC=yes
15111 link_all_deplibs_FC=yes
15112 ;;
15113
15114 netbsd*)
15115 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15116 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15117 else
15118 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15119 fi
15120 hardcode_libdir_flag_spec_FC='-R$libdir'
15121 hardcode_direct_FC=yes
15122 hardcode_shlibpath_var_FC=no
15123 ;;
15124
15125 newsos6)
15126 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15127 hardcode_direct_FC=yes
15128 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15129 hardcode_libdir_separator_FC=:
15130 hardcode_shlibpath_var_FC=no
15131 ;;
15132
15133 *nto* | *qnx*)
15134 ;;
15135
15136 openbsd*)
15137 if test -f /usr/libexec/ld.so; then
15138 hardcode_direct_FC=yes
15139 hardcode_shlibpath_var_FC=no
15140 hardcode_direct_absolute_FC=yes
15141 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15142 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15143 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15144 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15145 export_dynamic_flag_spec_FC='${wl}-E'
15146 else
15147 case $host_os in
15148 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15149 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15150 hardcode_libdir_flag_spec_FC='-R$libdir'
15151 ;;
15152 *)
15153 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15154 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15155 ;;
15156 esac
15157 fi
15158 else
15159 ld_shlibs_FC=no
15160 fi
15161 ;;
15162
15163 os2*)
15164 hardcode_libdir_flag_spec_FC='-L$libdir'
15165 hardcode_minus_L_FC=yes
15166 allow_undefined_flag_FC=unsupported
15167 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'
15168 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15169 ;;
15170
15171 osf3*)
15172 if test "$GCC" = yes; then
15173 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15174 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'
15175 else
15176 allow_undefined_flag_FC=' -expect_unresolved \*'
15177 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'
15178 fi
15179 archive_cmds_need_lc_FC='no'
15180 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15181 hardcode_libdir_separator_FC=:
15182 ;;
15183
15184 osf4* | osf5*) # as osf3* with the addition of -msym flag
15185 if test "$GCC" = yes; then
15186 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15187 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'
15188 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15189 else
15190 allow_undefined_flag_FC=' -expect_unresolved \*'
15191 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'
15192 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~
15193 $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'
15194
15195 # Both c and cxx compiler support -rpath directly
15196 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15197 fi
15198 archive_cmds_need_lc_FC='no'
15199 hardcode_libdir_separator_FC=:
15200 ;;
15201
15202 solaris*)
15203 no_undefined_flag_FC=' -z defs'
15204 if test "$GCC" = yes; then
15205 wlarc='${wl}'
15206 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15207 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15208 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15209 else
15210 case `$CC -V 2>&1` in
15211 *"Compilers 5.0"*)
15212 wlarc=''
15213 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15214 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15215 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15216 ;;
15217 *)
15218 wlarc='${wl}'
15219 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15220 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15221 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15222 ;;
15223 esac
15224 fi
15225 hardcode_libdir_flag_spec_FC='-R$libdir'
15226 hardcode_shlibpath_var_FC=no
15227 case $host_os in
15228 solaris2.[0-5] | solaris2.[0-5].*) ;;
15229 *)
15230 # The compiler driver will combine and reorder linker options,
15231 # but understands `-z linker_flag'. GCC discards it without `$wl',
15232 # but is careful enough not to reorder.
15233 # Supported since Solaris 2.6 (maybe 2.5.1?)
15234 if test "$GCC" = yes; then
15235 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15236 else
15237 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15238 fi
15239 ;;
15240 esac
15241 link_all_deplibs_FC=yes
15242 ;;
15243
15244 sunos4*)
15245 if test "x$host_vendor" = xsequent; then
15246 # Use $CC to link under sequent, because it throws in some extra .o
15247 # files that make .init and .fini sections work.
15248 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15249 else
15250 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15251 fi
15252 hardcode_libdir_flag_spec_FC='-L$libdir'
15253 hardcode_direct_FC=yes
15254 hardcode_minus_L_FC=yes
15255 hardcode_shlibpath_var_FC=no
15256 ;;
15257
15258 sysv4)
15259 case $host_vendor in
15260 sni)
15261 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15262 hardcode_direct_FC=yes # is this really true???
15263 ;;
15264 siemens)
15265 ## LD is ld it makes a PLAMLIB
15266 ## CC just makes a GrossModule.
15267 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15268 reload_cmds_FC='$CC -r -o $output$reload_objs'
15269 hardcode_direct_FC=no
15270 ;;
15271 motorola)
15272 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15273 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15274 ;;
15275 esac
15276 runpath_var='LD_RUN_PATH'
15277 hardcode_shlibpath_var_FC=no
15278 ;;
15279
15280 sysv4.3*)
15281 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15282 hardcode_shlibpath_var_FC=no
15283 export_dynamic_flag_spec_FC='-Bexport'
15284 ;;
15285
15286 sysv4*MP*)
15287 if test -d /usr/nec; then
15288 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15289 hardcode_shlibpath_var_FC=no
15290 runpath_var=LD_RUN_PATH
15291 hardcode_runpath_var=yes
15292 ld_shlibs_FC=yes
15293 fi
15294 ;;
15295
15296 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15297 no_undefined_flag_FC='${wl}-z,text'
15298 archive_cmds_need_lc_FC=no
15299 hardcode_shlibpath_var_FC=no
15300 runpath_var='LD_RUN_PATH'
15301
15302 if test "$GCC" = yes; then
15303 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15304 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15305 else
15306 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15307 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15308 fi
15309 ;;
15310
15311 sysv5* | sco3.2v5* | sco5v6*)
15312 # Note: We can NOT use -z defs as we might desire, because we do not
15313 # link with -lc, and that would cause any symbols used from libc to
15314 # always be unresolved, which means just about no library would
15315 # ever link correctly. If we're not using GNU ld we use -z text
15316 # though, which does catch some bad symbols but isn't as heavy-handed
15317 # as -z defs.
15318 no_undefined_flag_FC='${wl}-z,text'
15319 allow_undefined_flag_FC='${wl}-z,nodefs'
15320 archive_cmds_need_lc_FC=no
15321 hardcode_shlibpath_var_FC=no
15322 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15323 hardcode_libdir_separator_FC=':'
15324 link_all_deplibs_FC=yes
15325 export_dynamic_flag_spec_FC='${wl}-Bexport'
15326 runpath_var='LD_RUN_PATH'
15327
15328 if test "$GCC" = yes; then
15329 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15330 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15331 else
15332 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15333 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15334 fi
15335 ;;
15336
15337 uts4*)
15338 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15339 hardcode_libdir_flag_spec_FC='-L$libdir'
15340 hardcode_shlibpath_var_FC=no
15341 ;;
15342
15343 *)
15344 ld_shlibs_FC=no
15345 ;;
15346 esac
15347
15348 if test x$host_vendor = xsni; then
15349 case $host in
15350 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15351 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15352 ;;
15353 esac
15354 fi
15355 fi
15356
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15358 $as_echo "$ld_shlibs_FC" >&6; }
15359 test "$ld_shlibs_FC" = no && can_build_shared=no
15360
15361 with_gnu_ld_FC=$with_gnu_ld
15362
15363
15364
15365
15366
15367
15368 #
15369 # Do we need to explicitly link libc?
15370 #
15371 case "x$archive_cmds_need_lc_FC" in
15372 x|xyes)
15373 # Assume -lc should be added
15374 archive_cmds_need_lc_FC=yes
15375
15376 if test "$enable_shared" = yes && test "$GCC" = yes; then
15377 case $archive_cmds_FC in
15378 *'~'*)
15379 # FIXME: we may have to deal with multi-command sequences.
15380 ;;
15381 '$CC '*)
15382 # Test whether the compiler implicitly links with -lc since on some
15383 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15384 # to ld, don't add -lc before -lgcc.
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15386 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15387 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15388 $as_echo_n "(cached) " >&6
15389 else
15390 $RM conftest*
15391 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15392
15393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15394 (eval $ac_compile) 2>&5
15395 ac_status=$?
15396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15397 test $ac_status = 0; } 2>conftest.err; then
15398 soname=conftest
15399 lib=conftest
15400 libobjs=conftest.$ac_objext
15401 deplibs=
15402 wl=$lt_prog_compiler_wl_FC
15403 pic_flag=$lt_prog_compiler_pic_FC
15404 compiler_flags=-v
15405 linker_flags=-v
15406 verstring=
15407 output_objdir=.
15408 libname=conftest
15409 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15410 allow_undefined_flag_FC=
15411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15412 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15413 ac_status=$?
15414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15415 test $ac_status = 0; }
15416 then
15417 lt_cv_archive_cmds_need_lc_FC=no
15418 else
15419 lt_cv_archive_cmds_need_lc_FC=yes
15420 fi
15421 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15422 else
15423 cat conftest.err 1>&5
15424 fi
15425 $RM conftest*
15426
15427 fi
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15429 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15430 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15431 ;;
15432 esac
15433 fi
15434 ;;
15435 esac
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15501 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15502
15503 library_names_spec=
15504 libname_spec='lib$name'
15505 soname_spec=
15506 shrext_cmds=".so"
15507 postinstall_cmds=
15508 postuninstall_cmds=
15509 finish_cmds=
15510 finish_eval=
15511 shlibpath_var=
15512 shlibpath_overrides_runpath=unknown
15513 version_type=none
15514 dynamic_linker="$host_os ld.so"
15515 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15516 need_lib_prefix=unknown
15517 hardcode_into_libs=no
15518
15519 # when you set need_version to no, make sure it does not cause -set_version
15520 # flags to be left without arguments
15521 need_version=unknown
15522
15523 case $host_os in
15524 aix3*)
15525 version_type=linux
15526 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15527 shlibpath_var=LIBPATH
15528
15529 # AIX 3 has no versioning support, so we append a major version to the name.
15530 soname_spec='${libname}${release}${shared_ext}$major'
15531 ;;
15532
15533 aix[4-9]*)
15534 version_type=linux
15535 need_lib_prefix=no
15536 need_version=no
15537 hardcode_into_libs=yes
15538 if test "$host_cpu" = ia64; then
15539 # AIX 5 supports IA64
15540 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15541 shlibpath_var=LD_LIBRARY_PATH
15542 else
15543 # With GCC up to 2.95.x, collect2 would create an import file
15544 # for dependence libraries. The import file would start with
15545 # the line `#! .'. This would cause the generated library to
15546 # depend on `.', always an invalid library. This was fixed in
15547 # development snapshots of GCC prior to 3.0.
15548 case $host_os in
15549 aix4 | aix4.[01] | aix4.[01].*)
15550 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15551 echo ' yes '
15552 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15553 :
15554 else
15555 can_build_shared=no
15556 fi
15557 ;;
15558 esac
15559 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15560 # soname into executable. Probably we can add versioning support to
15561 # collect2, so additional links can be useful in future.
15562 if test "$aix_use_runtimelinking" = yes; then
15563 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15564 # instead of lib<name>.a to let people know that these are not
15565 # typical AIX shared libraries.
15566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15567 else
15568 # We preserve .a as extension for shared libraries through AIX4.2
15569 # and later when we are not doing run time linking.
15570 library_names_spec='${libname}${release}.a $libname.a'
15571 soname_spec='${libname}${release}${shared_ext}$major'
15572 fi
15573 shlibpath_var=LIBPATH
15574 fi
15575 ;;
15576
15577 amigaos*)
15578 case $host_cpu in
15579 powerpc)
15580 # Since July 2007 AmigaOS4 officially supports .so libraries.
15581 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15583 ;;
15584 m68k)
15585 library_names_spec='$libname.ixlibrary $libname.a'
15586 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15587 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'
15588 ;;
15589 esac
15590 ;;
15591
15592 beos*)
15593 library_names_spec='${libname}${shared_ext}'
15594 dynamic_linker="$host_os ld.so"
15595 shlibpath_var=LIBRARY_PATH
15596 ;;
15597
15598 bsdi[45]*)
15599 version_type=linux
15600 need_version=no
15601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15602 soname_spec='${libname}${release}${shared_ext}$major'
15603 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15604 shlibpath_var=LD_LIBRARY_PATH
15605 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15606 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15607 # the default ld.so.conf also contains /usr/contrib/lib and
15608 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15609 # libtool to hard-code these into programs
15610 ;;
15611
15612 cygwin* | mingw* | pw32* | cegcc*)
15613 version_type=windows
15614 shrext_cmds=".dll"
15615 need_version=no
15616 need_lib_prefix=no
15617
15618 case $GCC,$host_os in
15619 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15620 library_names_spec='$libname.dll.a'
15621 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15622 postinstall_cmds='base_file=`basename \${file}`~
15623 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15624 dldir=$destdir/`dirname \$dlpath`~
15625 test -d \$dldir || mkdir -p \$dldir~
15626 $install_prog $dir/$dlname \$dldir/$dlname~
15627 chmod a+x \$dldir/$dlname~
15628 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15629 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15630 fi'
15631 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15632 dlpath=$dir/\$dldll~
15633 $RM \$dlpath'
15634 shlibpath_overrides_runpath=yes
15635
15636 case $host_os in
15637 cygwin*)
15638 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15639 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15640
15641 ;;
15642 mingw* | cegcc*)
15643 # MinGW DLLs use traditional 'lib' prefix
15644 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15645 ;;
15646 pw32*)
15647 # pw32 DLLs use 'pw' prefix rather than 'lib'
15648 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15649 ;;
15650 esac
15651 ;;
15652
15653 *)
15654 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15655 ;;
15656 esac
15657 dynamic_linker='Win32 ld.exe'
15658 # FIXME: first we should search . and the directory the executable is in
15659 shlibpath_var=PATH
15660 ;;
15661
15662 darwin* | rhapsody*)
15663 dynamic_linker="$host_os dyld"
15664 version_type=darwin
15665 need_lib_prefix=no
15666 need_version=no
15667 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15668 soname_spec='${libname}${release}${major}$shared_ext'
15669 shlibpath_overrides_runpath=yes
15670 shlibpath_var=DYLD_LIBRARY_PATH
15671 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15672
15673 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15674 ;;
15675
15676 dgux*)
15677 version_type=linux
15678 need_lib_prefix=no
15679 need_version=no
15680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15681 soname_spec='${libname}${release}${shared_ext}$major'
15682 shlibpath_var=LD_LIBRARY_PATH
15683 ;;
15684
15685 freebsd* | dragonfly*)
15686 # DragonFly does not have aout. When/if they implement a new
15687 # versioning mechanism, adjust this.
15688 if test -x /usr/bin/objformat; then
15689 objformat=`/usr/bin/objformat`
15690 else
15691 case $host_os in
15692 freebsd[23].*) objformat=aout ;;
15693 *) objformat=elf ;;
15694 esac
15695 fi
15696 version_type=freebsd-$objformat
15697 case $version_type in
15698 freebsd-elf*)
15699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15700 need_version=no
15701 need_lib_prefix=no
15702 ;;
15703 freebsd-*)
15704 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15705 need_version=yes
15706 ;;
15707 esac
15708 shlibpath_var=LD_LIBRARY_PATH
15709 case $host_os in
15710 freebsd2.*)
15711 shlibpath_overrides_runpath=yes
15712 ;;
15713 freebsd3.[01]* | freebsdelf3.[01]*)
15714 shlibpath_overrides_runpath=yes
15715 hardcode_into_libs=yes
15716 ;;
15717 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15718 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15719 shlibpath_overrides_runpath=no
15720 hardcode_into_libs=yes
15721 ;;
15722 *) # from 4.6 on, and DragonFly
15723 shlibpath_overrides_runpath=yes
15724 hardcode_into_libs=yes
15725 ;;
15726 esac
15727 ;;
15728
15729 haiku*)
15730 version_type=linux
15731 need_lib_prefix=no
15732 need_version=no
15733 dynamic_linker="$host_os runtime_loader"
15734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15735 soname_spec='${libname}${release}${shared_ext}$major'
15736 shlibpath_var=LIBRARY_PATH
15737 shlibpath_overrides_runpath=yes
15738 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15739 hardcode_into_libs=yes
15740 ;;
15741
15742 hpux9* | hpux10* | hpux11*)
15743 # Give a soname corresponding to the major version so that dld.sl refuses to
15744 # link against other versions.
15745 version_type=sunos
15746 need_lib_prefix=no
15747 need_version=no
15748 case $host_cpu in
15749 ia64*)
15750 shrext_cmds='.so'
15751 hardcode_into_libs=yes
15752 dynamic_linker="$host_os dld.so"
15753 shlibpath_var=LD_LIBRARY_PATH
15754 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15756 soname_spec='${libname}${release}${shared_ext}$major'
15757 if test "X$HPUX_IA64_MODE" = X32; then
15758 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15759 else
15760 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15761 fi
15762 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15763 ;;
15764 hppa*64*)
15765 shrext_cmds='.sl'
15766 hardcode_into_libs=yes
15767 dynamic_linker="$host_os dld.sl"
15768 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15769 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15771 soname_spec='${libname}${release}${shared_ext}$major'
15772 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15773 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15774 ;;
15775 *)
15776 shrext_cmds='.sl'
15777 dynamic_linker="$host_os dld.sl"
15778 shlibpath_var=SHLIB_PATH
15779 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15781 soname_spec='${libname}${release}${shared_ext}$major'
15782 ;;
15783 esac
15784 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15785 postinstall_cmds='chmod 555 $lib'
15786 # or fails outright, so override atomically:
15787 install_override_mode=555
15788 ;;
15789
15790 interix[3-9]*)
15791 version_type=linux
15792 need_lib_prefix=no
15793 need_version=no
15794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15795 soname_spec='${libname}${release}${shared_ext}$major'
15796 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15797 shlibpath_var=LD_LIBRARY_PATH
15798 shlibpath_overrides_runpath=no
15799 hardcode_into_libs=yes
15800 ;;
15801
15802 irix5* | irix6* | nonstopux*)
15803 case $host_os in
15804 nonstopux*) version_type=nonstopux ;;
15805 *)
15806 if test "$lt_cv_prog_gnu_ld" = yes; then
15807 version_type=linux
15808 else
15809 version_type=irix
15810 fi ;;
15811 esac
15812 need_lib_prefix=no
15813 need_version=no
15814 soname_spec='${libname}${release}${shared_ext}$major'
15815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15816 case $host_os in
15817 irix5* | nonstopux*)
15818 libsuff= shlibsuff=
15819 ;;
15820 *)
15821 case $LD in # libtool.m4 will add one of these switches to LD
15822 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15823 libsuff= shlibsuff= libmagic=32-bit;;
15824 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15825 libsuff=32 shlibsuff=N32 libmagic=N32;;
15826 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15827 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15828 *) libsuff= shlibsuff= libmagic=never-match;;
15829 esac
15830 ;;
15831 esac
15832 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15833 shlibpath_overrides_runpath=no
15834 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15835 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15836 hardcode_into_libs=yes
15837 ;;
15838
15839 # No shared lib support for Linux oldld, aout, or coff.
15840 linux*oldld* | linux*aout* | linux*coff*)
15841 dynamic_linker=no
15842 ;;
15843
15844 # This must be Linux ELF.
15845
15846 # uclinux* changes (here and below) have been submitted to the libtool
15847 # project, but have not yet been accepted: they are GCC-local changes
15848 # for the time being. (See
15849 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15850 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15851 version_type=linux
15852 need_lib_prefix=no
15853 need_version=no
15854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15855 soname_spec='${libname}${release}${shared_ext}$major'
15856 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15857 shlibpath_var=LD_LIBRARY_PATH
15858 shlibpath_overrides_runpath=no
15859
15860 # Some binutils ld are patched to set DT_RUNPATH
15861 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15862 $as_echo_n "(cached) " >&6
15863 else
15864 lt_cv_shlibpath_overrides_runpath=no
15865 save_LDFLAGS=$LDFLAGS
15866 save_libdir=$libdir
15867 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15868 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15869 if test x$gcc_no_link = xyes; then
15870 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15871 fi
15872 cat > conftest.$ac_ext <<_ACEOF
15873 program main
15874
15875 end
15876 _ACEOF
15877 if ac_fn_fc_try_link "$LINENO"; then :
15878 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15879 lt_cv_shlibpath_overrides_runpath=yes
15880 fi
15881 fi
15882 rm -f core conftest.err conftest.$ac_objext \
15883 conftest$ac_exeext conftest.$ac_ext
15884 LDFLAGS=$save_LDFLAGS
15885 libdir=$save_libdir
15886
15887 fi
15888
15889 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15890
15891 # This implies no fast_install, which is unacceptable.
15892 # Some rework will be needed to allow for fast_install
15893 # before this can be enabled.
15894 hardcode_into_libs=yes
15895
15896 # Append ld.so.conf contents to the search path
15897 if test -f /etc/ld.so.conf; then
15898 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' ' '`
15899 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15900 fi
15901
15902 # We used to test for /lib/ld.so.1 and disable shared libraries on
15903 # powerpc, because MkLinux only supported shared libraries with the
15904 # GNU dynamic linker. Since this was broken with cross compilers,
15905 # most powerpc-linux boxes support dynamic linking these days and
15906 # people can always --disable-shared, the test was removed, and we
15907 # assume the GNU/Linux dynamic linker is in use.
15908 dynamic_linker='GNU/Linux ld.so'
15909 ;;
15910
15911 netbsd*)
15912 version_type=sunos
15913 need_lib_prefix=no
15914 need_version=no
15915 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15917 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15918 dynamic_linker='NetBSD (a.out) ld.so'
15919 else
15920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15921 soname_spec='${libname}${release}${shared_ext}$major'
15922 dynamic_linker='NetBSD ld.elf_so'
15923 fi
15924 shlibpath_var=LD_LIBRARY_PATH
15925 shlibpath_overrides_runpath=yes
15926 hardcode_into_libs=yes
15927 ;;
15928
15929 newsos6)
15930 version_type=linux
15931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15932 shlibpath_var=LD_LIBRARY_PATH
15933 shlibpath_overrides_runpath=yes
15934 ;;
15935
15936 *nto* | *qnx*)
15937 version_type=qnx
15938 need_lib_prefix=no
15939 need_version=no
15940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15941 soname_spec='${libname}${release}${shared_ext}$major'
15942 shlibpath_var=LD_LIBRARY_PATH
15943 shlibpath_overrides_runpath=no
15944 hardcode_into_libs=yes
15945 dynamic_linker='ldqnx.so'
15946 ;;
15947
15948 openbsd*)
15949 version_type=sunos
15950 sys_lib_dlsearch_path_spec="/usr/lib"
15951 need_lib_prefix=no
15952 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15953 case $host_os in
15954 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15955 *) need_version=no ;;
15956 esac
15957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15958 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15959 shlibpath_var=LD_LIBRARY_PATH
15960 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15961 case $host_os in
15962 openbsd2.[89] | openbsd2.[89].*)
15963 shlibpath_overrides_runpath=no
15964 ;;
15965 *)
15966 shlibpath_overrides_runpath=yes
15967 ;;
15968 esac
15969 else
15970 shlibpath_overrides_runpath=yes
15971 fi
15972 ;;
15973
15974 os2*)
15975 libname_spec='$name'
15976 shrext_cmds=".dll"
15977 need_lib_prefix=no
15978 library_names_spec='$libname${shared_ext} $libname.a'
15979 dynamic_linker='OS/2 ld.exe'
15980 shlibpath_var=LIBPATH
15981 ;;
15982
15983 osf3* | osf4* | osf5*)
15984 version_type=osf
15985 need_lib_prefix=no
15986 need_version=no
15987 soname_spec='${libname}${release}${shared_ext}$major'
15988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15989 shlibpath_var=LD_LIBRARY_PATH
15990 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15991 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15992 ;;
15993
15994 rdos*)
15995 dynamic_linker=no
15996 ;;
15997
15998 solaris*)
15999 version_type=linux
16000 need_lib_prefix=no
16001 need_version=no
16002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16003 soname_spec='${libname}${release}${shared_ext}$major'
16004 shlibpath_var=LD_LIBRARY_PATH
16005 shlibpath_overrides_runpath=yes
16006 hardcode_into_libs=yes
16007 # ldd complains unless libraries are executable
16008 postinstall_cmds='chmod +x $lib'
16009 ;;
16010
16011 sunos4*)
16012 version_type=sunos
16013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16014 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16015 shlibpath_var=LD_LIBRARY_PATH
16016 shlibpath_overrides_runpath=yes
16017 if test "$with_gnu_ld" = yes; then
16018 need_lib_prefix=no
16019 fi
16020 need_version=yes
16021 ;;
16022
16023 sysv4 | sysv4.3*)
16024 version_type=linux
16025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16026 soname_spec='${libname}${release}${shared_ext}$major'
16027 shlibpath_var=LD_LIBRARY_PATH
16028 case $host_vendor in
16029 sni)
16030 shlibpath_overrides_runpath=no
16031 need_lib_prefix=no
16032 runpath_var=LD_RUN_PATH
16033 ;;
16034 siemens)
16035 need_lib_prefix=no
16036 ;;
16037 motorola)
16038 need_lib_prefix=no
16039 need_version=no
16040 shlibpath_overrides_runpath=no
16041 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16042 ;;
16043 esac
16044 ;;
16045
16046 sysv4*MP*)
16047 if test -d /usr/nec ;then
16048 version_type=linux
16049 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16050 soname_spec='$libname${shared_ext}.$major'
16051 shlibpath_var=LD_LIBRARY_PATH
16052 fi
16053 ;;
16054
16055 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16056 version_type=freebsd-elf
16057 need_lib_prefix=no
16058 need_version=no
16059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16060 soname_spec='${libname}${release}${shared_ext}$major'
16061 shlibpath_var=LD_LIBRARY_PATH
16062 shlibpath_overrides_runpath=yes
16063 hardcode_into_libs=yes
16064 if test "$with_gnu_ld" = yes; then
16065 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16066 else
16067 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16068 case $host_os in
16069 sco3.2v5*)
16070 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16071 ;;
16072 esac
16073 fi
16074 sys_lib_dlsearch_path_spec='/usr/lib'
16075 ;;
16076
16077 tpf*)
16078 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16079 version_type=linux
16080 need_lib_prefix=no
16081 need_version=no
16082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16083 shlibpath_var=LD_LIBRARY_PATH
16084 shlibpath_overrides_runpath=no
16085 hardcode_into_libs=yes
16086 ;;
16087
16088 uts4*)
16089 version_type=linux
16090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16091 soname_spec='${libname}${release}${shared_ext}$major'
16092 shlibpath_var=LD_LIBRARY_PATH
16093 ;;
16094
16095 # Shared libraries for VwWorks, >= 7 only at this stage
16096 # and (fpic) still incompatible with "large" code models
16097 # in a few configurations. Only for RTP mode in any case,
16098 # and upon explicit request at configure time.
16099 vxworks7*)
16100 dynamic_linker=no
16101 case ${with_multisubdir}-${enable_shared} in
16102 *large*)
16103 ;;
16104 *mrtp*-yes)
16105 version_type=linux
16106 need_lib_prefix=no
16107 need_version=no
16108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16109 soname_spec='${libname}${release}${shared_ext}$major'
16110 dynamic_linker="$host_os module_loader"
16111 ;;
16112 esac
16113 ;;
16114 *)
16115 dynamic_linker=no
16116 ;;
16117 esac
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16119 $as_echo "$dynamic_linker" >&6; }
16120 test "$dynamic_linker" = no && can_build_shared=no
16121
16122 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16123 if test "$GCC" = yes; then
16124 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16125 fi
16126
16127 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16128 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16129 fi
16130 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16131 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16132 fi
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16173 hardcode_action_FC=
16174 if test -n "$hardcode_libdir_flag_spec_FC" ||
16175 test -n "$runpath_var_FC" ||
16176 test "X$hardcode_automatic_FC" = "Xyes" ; then
16177
16178 # We can hardcode non-existent directories.
16179 if test "$hardcode_direct_FC" != no &&
16180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16181 # have to relink, otherwise we might link with an installed library
16182 # when we should be linking with a yet-to-be-installed one
16183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16184 test "$hardcode_minus_L_FC" != no; then
16185 # Linking always hardcodes the temporary library directory.
16186 hardcode_action_FC=relink
16187 else
16188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16189 hardcode_action_FC=immediate
16190 fi
16191 else
16192 # We cannot hardcode anything, or else we can only hardcode existing
16193 # directories.
16194 hardcode_action_FC=unsupported
16195 fi
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16197 $as_echo "$hardcode_action_FC" >&6; }
16198
16199 if test "$hardcode_action_FC" = relink ||
16200 test "$inherit_rpath_FC" = yes; then
16201 # Fast installation is not supported
16202 enable_fast_install=no
16203 elif test "$shlibpath_overrides_runpath" = yes ||
16204 test "$enable_shared" = no; then
16205 # Fast installation is not necessary
16206 enable_fast_install=needless
16207 fi
16208
16209
16210
16211
16212
16213
16214
16215 fi # test -n "$compiler"
16216
16217 GCC=$lt_save_GCC
16218 CC="$lt_save_CC"
16219 fi # test "$_lt_disable_FC" != yes
16220
16221 ac_ext=c
16222 ac_cpp='$CPP $CPPFLAGS'
16223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16226
16227
16228
16229 # extra LD Flags which are required for targets
16230 case "${host}" in
16231 *-darwin*)
16232 # Darwin needs -single_module when linking libgfortran
16233 extra_ldflags_libgfortran=-Wl,-single_module
16234 ;;
16235 esac
16236
16237
16238 # We need a working compiler at that point, otherwise give a clear
16239 # error message and bail out.
16240
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16242 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16243 ac_ext=${ac_fc_srcext-f}
16244 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16245 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16246 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16247
16248 cat > conftest.$ac_ext <<_ACEOF
16249
16250 program foo
16251 real, parameter :: bar = sin (12.34 / 2.5)
16252 end program foo
16253 _ACEOF
16254 if ac_fn_fc_try_compile "$LINENO"; then :
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16256 $as_echo "yes" >&6; }
16257 else
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16259 $as_echo "no" >&6; }
16260 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16261
16262 fi
16263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16264 ac_ext=c
16265 ac_cpp='$CPP $CPPFLAGS'
16266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16269
16270
16271
16272 # Check whether --enable-largefile was given.
16273 if test "${enable_largefile+set}" = set; then :
16274 enableval=$enable_largefile;
16275 fi
16276
16277 if test "$enable_largefile" != no; then
16278
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16280 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16281 if ${ac_cv_sys_largefile_CC+:} false; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 ac_cv_sys_largefile_CC=no
16285 if test "$GCC" != yes; then
16286 ac_save_CC=$CC
16287 while :; do
16288 # IRIX 6.2 and later do not support large files by default,
16289 # so use the C compiler's -n32 option if that helps.
16290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16292 #include <sys/types.h>
16293 /* Check that off_t can represent 2**63 - 1 correctly.
16294 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16295 since some C++ compilers masquerading as C compilers
16296 incorrectly reject 9223372036854775807. */
16297 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16298 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16299 && LARGE_OFF_T % 2147483647 == 1)
16300 ? 1 : -1];
16301 int
16302 main ()
16303 {
16304
16305 ;
16306 return 0;
16307 }
16308 _ACEOF
16309 if ac_fn_c_try_compile "$LINENO"; then :
16310 break
16311 fi
16312 rm -f core conftest.err conftest.$ac_objext
16313 CC="$CC -n32"
16314 if ac_fn_c_try_compile "$LINENO"; then :
16315 ac_cv_sys_largefile_CC=' -n32'; break
16316 fi
16317 rm -f core conftest.err conftest.$ac_objext
16318 break
16319 done
16320 CC=$ac_save_CC
16321 rm -f conftest.$ac_ext
16322 fi
16323 fi
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16325 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16326 if test "$ac_cv_sys_largefile_CC" != no; then
16327 CC=$CC$ac_cv_sys_largefile_CC
16328 fi
16329
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16331 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16332 if ${ac_cv_sys_file_offset_bits+:} false; then :
16333 $as_echo_n "(cached) " >&6
16334 else
16335 while :; do
16336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16338 #include <sys/types.h>
16339 /* Check that off_t can represent 2**63 - 1 correctly.
16340 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16341 since some C++ compilers masquerading as C compilers
16342 incorrectly reject 9223372036854775807. */
16343 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16344 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16345 && LARGE_OFF_T % 2147483647 == 1)
16346 ? 1 : -1];
16347 int
16348 main ()
16349 {
16350
16351 ;
16352 return 0;
16353 }
16354 _ACEOF
16355 if ac_fn_c_try_compile "$LINENO"; then :
16356 ac_cv_sys_file_offset_bits=no; break
16357 fi
16358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16360 /* end confdefs.h. */
16361 #define _FILE_OFFSET_BITS 64
16362 #include <sys/types.h>
16363 /* Check that off_t can represent 2**63 - 1 correctly.
16364 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16365 since some C++ compilers masquerading as C compilers
16366 incorrectly reject 9223372036854775807. */
16367 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16368 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16369 && LARGE_OFF_T % 2147483647 == 1)
16370 ? 1 : -1];
16371 int
16372 main ()
16373 {
16374
16375 ;
16376 return 0;
16377 }
16378 _ACEOF
16379 if ac_fn_c_try_compile "$LINENO"; then :
16380 ac_cv_sys_file_offset_bits=64; break
16381 fi
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383 ac_cv_sys_file_offset_bits=unknown
16384 break
16385 done
16386 fi
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16388 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16389 case $ac_cv_sys_file_offset_bits in #(
16390 no | unknown) ;;
16391 *)
16392 cat >>confdefs.h <<_ACEOF
16393 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16394 _ACEOF
16395 ;;
16396 esac
16397 rm -rf conftest*
16398 if test $ac_cv_sys_file_offset_bits = unknown; then
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16400 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16401 if ${ac_cv_sys_large_files+:} false; then :
16402 $as_echo_n "(cached) " >&6
16403 else
16404 while :; do
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 #include <sys/types.h>
16408 /* Check that off_t can represent 2**63 - 1 correctly.
16409 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16410 since some C++ compilers masquerading as C compilers
16411 incorrectly reject 9223372036854775807. */
16412 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16413 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16414 && LARGE_OFF_T % 2147483647 == 1)
16415 ? 1 : -1];
16416 int
16417 main ()
16418 {
16419
16420 ;
16421 return 0;
16422 }
16423 _ACEOF
16424 if ac_fn_c_try_compile "$LINENO"; then :
16425 ac_cv_sys_large_files=no; break
16426 fi
16427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16430 #define _LARGE_FILES 1
16431 #include <sys/types.h>
16432 /* Check that off_t can represent 2**63 - 1 correctly.
16433 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16434 since some C++ compilers masquerading as C compilers
16435 incorrectly reject 9223372036854775807. */
16436 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16437 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16438 && LARGE_OFF_T % 2147483647 == 1)
16439 ? 1 : -1];
16440 int
16441 main ()
16442 {
16443
16444 ;
16445 return 0;
16446 }
16447 _ACEOF
16448 if ac_fn_c_try_compile "$LINENO"; then :
16449 ac_cv_sys_large_files=1; break
16450 fi
16451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16452 ac_cv_sys_large_files=unknown
16453 break
16454 done
16455 fi
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16457 $as_echo "$ac_cv_sys_large_files" >&6; }
16458 case $ac_cv_sys_large_files in #(
16459 no | unknown) ;;
16460 *)
16461 cat >>confdefs.h <<_ACEOF
16462 #define _LARGE_FILES $ac_cv_sys_large_files
16463 _ACEOF
16464 ;;
16465 esac
16466 rm -rf conftest*
16467 fi
16468
16469
16470 fi
16471
16472
16473 # Types
16474 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16475 if test "x$ac_cv_type_off_t" = xyes; then :
16476
16477 else
16478
16479 cat >>confdefs.h <<_ACEOF
16480 #define off_t long int
16481 _ACEOF
16482
16483 fi
16484
16485
16486 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16487 if test "x$ac_cv_type_intptr_t" = xyes; then :
16488
16489 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16490
16491 else
16492 for ac_type in 'int' 'long int' 'long long int'; do
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 $ac_includes_default
16496 int
16497 main ()
16498 {
16499 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16500 test_array [0] = 0;
16501 return test_array [0];
16502
16503 ;
16504 return 0;
16505 }
16506 _ACEOF
16507 if ac_fn_c_try_compile "$LINENO"; then :
16508
16509 cat >>confdefs.h <<_ACEOF
16510 #define intptr_t $ac_type
16511 _ACEOF
16512
16513 ac_type=
16514 fi
16515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16516 test -z "$ac_type" && break
16517 done
16518 fi
16519
16520
16521
16522 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16523 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16524
16525 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16526
16527 else
16528 for ac_type in 'unsigned int' 'unsigned long int' \
16529 'unsigned long long int'; do
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532 $ac_includes_default
16533 int
16534 main ()
16535 {
16536 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16537 test_array [0] = 0;
16538 return test_array [0];
16539
16540 ;
16541 return 0;
16542 }
16543 _ACEOF
16544 if ac_fn_c_try_compile "$LINENO"; then :
16545
16546 cat >>confdefs.h <<_ACEOF
16547 #define uintptr_t $ac_type
16548 _ACEOF
16549
16550 ac_type=
16551 fi
16552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16553 test -z "$ac_type" && break
16554 done
16555 fi
16556
16557
16558 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16559 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16560
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_PTRDIFF_T 1
16563 _ACEOF
16564
16565
16566 fi
16567
16568
16569 # check header files (we assume C89 is available, so don't check for that)
16570
16571
16572
16573 for ac_header in $ac_header_list
16574 do :
16575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16576 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16577 "
16578 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16579 cat >>confdefs.h <<_ACEOF
16580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16581 _ACEOF
16582
16583 fi
16584
16585 done
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16626
16627 acx_cv_header_stdint=stddef.h
16628 acx_cv_header_stdint_kind="(already complete)"
16629 for i in stdint.h $inttype_headers; do
16630 unset ac_cv_type_uintptr_t
16631 unset ac_cv_type_uintmax_t
16632 unset ac_cv_type_int_least32_t
16633 unset ac_cv_type_int_fast32_t
16634 unset ac_cv_type_uint64_t
16635 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16636 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16637 #include <$i>
16638 "
16639 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16640 acx_cv_header_stdint=$i
16641 else
16642 continue
16643 fi
16644
16645 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16646 #include <$i>
16647 "
16648 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16649
16650 else
16651 acx_cv_header_stdint_kind="(mostly complete)"
16652 fi
16653
16654 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16655 #include <$i>
16656 "
16657 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16658
16659 else
16660 acx_cv_header_stdint_kind="(mostly complete)"
16661 fi
16662
16663 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16664 #include <$i>
16665 "
16666 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16667
16668 else
16669 acx_cv_header_stdint_kind="(mostly complete)"
16670 fi
16671
16672 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16673 #include <$i>
16674 "
16675 if test "x$ac_cv_type_uint64_t" = xyes; then :
16676
16677 else
16678 acx_cv_header_stdint_kind="(lacks uint64_t)"
16679 fi
16680
16681 break
16682 done
16683 if test "$acx_cv_header_stdint" = stddef.h; then
16684 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16685 for i in stdint.h $inttype_headers; do
16686 unset ac_cv_type_uintptr_t
16687 unset ac_cv_type_uint32_t
16688 unset ac_cv_type_uint64_t
16689 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16690 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16691 #include <$i>
16692 "
16693 if test "x$ac_cv_type_uint32_t" = xyes; then :
16694 acx_cv_header_stdint=$i
16695 else
16696 continue
16697 fi
16698
16699 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16700 #include <$i>
16701 "
16702 if test "x$ac_cv_type_uint64_t" = xyes; then :
16703
16704 fi
16705
16706 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16707 #include <$i>
16708 "
16709 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16710
16711 fi
16712
16713 break
16714 done
16715 fi
16716 if test "$acx_cv_header_stdint" = stddef.h; then
16717 acx_cv_header_stdint_kind="(u_intXX_t style)"
16718 for i in sys/types.h $inttype_headers; do
16719 unset ac_cv_type_u_int32_t
16720 unset ac_cv_type_u_int64_t
16721 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16722 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16723 #include <$i>
16724 "
16725 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16726 acx_cv_header_stdint=$i
16727 else
16728 continue
16729 fi
16730
16731 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16732 #include <$i>
16733 "
16734 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16735
16736 fi
16737
16738 break
16739 done
16740 fi
16741 if test "$acx_cv_header_stdint" = stddef.h; then
16742 acx_cv_header_stdint_kind="(using manual detection)"
16743 fi
16744
16745 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16746 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16747 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16748 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16749 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16750
16751 # ----------------- Summarize what we found so far
16752
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16754 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16755
16756 case `$as_basename -- gstdint.h ||
16757 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16758 Xgstdint.h : 'X\(//\)$' \| \
16759 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16760 $as_echo X/gstdint.h |
16761 sed '/^.*\/\([^/][^/]*\)\/*$/{
16762 s//\1/
16763 q
16764 }
16765 /^X\/\(\/\/\)$/{
16766 s//\1/
16767 q
16768 }
16769 /^X\/\(\/\).*/{
16770 s//\1/
16771 q
16772 }
16773 s/.*/./; q'` in
16774 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16775 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16776 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16777 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16778 *) ;;
16779 esac
16780
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16782 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16783
16784 # ----------------- done included file, check C basic types --------
16785
16786 # Lacking an uintptr_t? Test size of void *
16787 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16788 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16791 # This bug is HP SR number 8606223364.
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16793 $as_echo_n "checking size of void *... " >&6; }
16794 if ${ac_cv_sizeof_void_p+:} false; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16798
16799 else
16800 if test "$ac_cv_type_void_p" = yes; then
16801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16803 as_fn_error 77 "cannot compute sizeof (void *)
16804 See \`config.log' for more details" "$LINENO" 5; }
16805 else
16806 ac_cv_sizeof_void_p=0
16807 fi
16808 fi
16809
16810 fi
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16812 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16813
16814
16815
16816 cat >>confdefs.h <<_ACEOF
16817 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16818 _ACEOF
16819
16820 ;;
16821 esac
16822
16823 # Lacking an uint64_t? Test size of long
16824 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16825 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16828 # This bug is HP SR number 8606223364.
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16830 $as_echo_n "checking size of long... " >&6; }
16831 if ${ac_cv_sizeof_long+:} false; then :
16832 $as_echo_n "(cached) " >&6
16833 else
16834 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16835
16836 else
16837 if test "$ac_cv_type_long" = yes; then
16838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16840 as_fn_error 77 "cannot compute sizeof (long)
16841 See \`config.log' for more details" "$LINENO" 5; }
16842 else
16843 ac_cv_sizeof_long=0
16844 fi
16845 fi
16846
16847 fi
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16849 $as_echo "$ac_cv_sizeof_long" >&6; }
16850
16851
16852
16853 cat >>confdefs.h <<_ACEOF
16854 #define SIZEOF_LONG $ac_cv_sizeof_long
16855 _ACEOF
16856
16857 ;;
16858 esac
16859
16860 if test $acx_cv_header_stdint = stddef.h; then
16861 # Lacking a good header? Test size of everything and deduce all types.
16862 # The cast to long int works around a bug in the HP C Compiler
16863 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16864 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16865 # This bug is HP SR number 8606223364.
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16867 $as_echo_n "checking size of int... " >&6; }
16868 if ${ac_cv_sizeof_int+:} false; then :
16869 $as_echo_n "(cached) " >&6
16870 else
16871 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16872
16873 else
16874 if test "$ac_cv_type_int" = yes; then
16875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16877 as_fn_error 77 "cannot compute sizeof (int)
16878 See \`config.log' for more details" "$LINENO" 5; }
16879 else
16880 ac_cv_sizeof_int=0
16881 fi
16882 fi
16883
16884 fi
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16886 $as_echo "$ac_cv_sizeof_int" >&6; }
16887
16888
16889
16890 cat >>confdefs.h <<_ACEOF
16891 #define SIZEOF_INT $ac_cv_sizeof_int
16892 _ACEOF
16893
16894
16895 # The cast to long int works around a bug in the HP C Compiler
16896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16898 # This bug is HP SR number 8606223364.
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16900 $as_echo_n "checking size of short... " >&6; }
16901 if ${ac_cv_sizeof_short+:} false; then :
16902 $as_echo_n "(cached) " >&6
16903 else
16904 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16905
16906 else
16907 if test "$ac_cv_type_short" = yes; then
16908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16910 as_fn_error 77 "cannot compute sizeof (short)
16911 See \`config.log' for more details" "$LINENO" 5; }
16912 else
16913 ac_cv_sizeof_short=0
16914 fi
16915 fi
16916
16917 fi
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16919 $as_echo "$ac_cv_sizeof_short" >&6; }
16920
16921
16922
16923 cat >>confdefs.h <<_ACEOF
16924 #define SIZEOF_SHORT $ac_cv_sizeof_short
16925 _ACEOF
16926
16927
16928 # The cast to long int works around a bug in the HP C Compiler
16929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16931 # This bug is HP SR number 8606223364.
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16933 $as_echo_n "checking size of char... " >&6; }
16934 if ${ac_cv_sizeof_char+:} false; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16937 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16938
16939 else
16940 if test "$ac_cv_type_char" = yes; then
16941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16943 as_fn_error 77 "cannot compute sizeof (char)
16944 See \`config.log' for more details" "$LINENO" 5; }
16945 else
16946 ac_cv_sizeof_char=0
16947 fi
16948 fi
16949
16950 fi
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16952 $as_echo "$ac_cv_sizeof_char" >&6; }
16953
16954
16955
16956 cat >>confdefs.h <<_ACEOF
16957 #define SIZEOF_CHAR $ac_cv_sizeof_char
16958 _ACEOF
16959
16960
16961
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16963 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16964 case "$ac_cv_sizeof_char" in
16965 1) acx_cv_type_int8_t=char ;;
16966 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
16967 esac
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16969 $as_echo "$acx_cv_type_int8_t" >&6; }
16970
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16972 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16973 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16974 2:*) acx_cv_type_int16_t=int ;;
16975 *:2) acx_cv_type_int16_t=short ;;
16976 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
16977 esac
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16979 $as_echo "$acx_cv_type_int16_t" >&6; }
16980
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16982 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16983 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16984 4:*) acx_cv_type_int32_t=int ;;
16985 *:4) acx_cv_type_int32_t=long ;;
16986 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
16987 esac
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16989 $as_echo "$acx_cv_type_int32_t" >&6; }
16990 fi
16991
16992 # These tests are here to make the output prettier
16993
16994 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16995 case "$ac_cv_sizeof_long" in
16996 8) acx_cv_type_int64_t=long ;;
16997 esac
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16999 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17001 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17002 fi
17003
17004 # Now we can use the above types
17005
17006 if test "$ac_cv_type_uintptr_t" != yes; then
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17008 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17009 case $ac_cv_sizeof_void_p in
17010 2) acx_cv_type_intptr_t=int16_t ;;
17011 4) acx_cv_type_intptr_t=int32_t ;;
17012 8) acx_cv_type_intptr_t=int64_t ;;
17013 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
17014 esac
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17016 $as_echo "$acx_cv_type_intptr_t" >&6; }
17017 fi
17018
17019 # ----------------- done all checks, emit header -------------
17020 ac_config_commands="$ac_config_commands gstdint.h"
17021
17022
17023
17024
17025 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17026 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
17027
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17030 _ACEOF
17031
17032
17033 fi
17034 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17035 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17036
17037 cat >>confdefs.h <<_ACEOF
17038 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17039 _ACEOF
17040
17041
17042 fi
17043 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17044 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17045
17046 cat >>confdefs.h <<_ACEOF
17047 #define HAVE_STRUCT_STAT_ST_RDEV 1
17048 _ACEOF
17049
17050
17051 fi
17052
17053
17054 case "${host}--x${with_newlib}" in
17055 mips*--xyes)
17056 hardwire_newlib=1;;
17057 nvptx*--xyes)
17058 hardwire_newlib=1;;
17059 esac
17060
17061 # Check for library functions.
17062 if test "${hardwire_newlib:-0}" -eq 1; then
17063 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17064 # may not work correctly, because the compiler may not be able to
17065 # link executables.
17066
17067 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17068
17069
17070 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17071
17072
17073 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17074
17075
17076 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17077
17078
17079 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17080
17081
17082 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17083
17084
17085 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17086
17087
17088 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17089
17090
17091 # At some point, we should differentiate between architectures
17092 # like x86, which have long double versions, and alpha/powerpc/etc.,
17093 # which don't. For the time being, punt.
17094 if test x"long_double_math_on_this_cpu" = x"yes"; then
17095
17096 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17097
17098 fi
17099 else
17100
17101
17102
17103 for ac_func in $ac_func_list
17104 do :
17105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17107 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17108 cat >>confdefs.h <<_ACEOF
17109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17110 _ACEOF
17111
17112 fi
17113 done
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228 fi
17229
17230 # Check strerror_r, cannot be above as versions with two and three arguments exist
17231
17232 ac_save_CFLAGS="$CFLAGS"
17233 CFLAGS="-Wimplicit-function-declaration -Werror"
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 #define _GNU_SOURCE 1
17237 #include <string.h>
17238 #include <locale.h>
17239 int
17240 main ()
17241 {
17242 char s[128]; strerror_r(5, s, 128);
17243 ;
17244 return 0;
17245 }
17246 _ACEOF
17247 if ac_fn_c_try_compile "$LINENO"; then :
17248
17249 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17250
17251 fi
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253 CFLAGS="$ac_save_CFLAGS"
17254
17255 ac_save_CFLAGS="$CFLAGS"
17256 CFLAGS="-Wimplicit-function-declaration -Werror"
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 #define _GNU_SOURCE 1
17260 #include <string.h>
17261 #include <locale.h>
17262 int
17263 main ()
17264 {
17265 char s[128]; strerror_r(5, s);
17266 ;
17267 return 0;
17268 }
17269 _ACEOF
17270 if ac_fn_c_try_compile "$LINENO"; then :
17271
17272 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17273
17274 fi
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276 CFLAGS="$ac_save_CFLAGS"
17277
17278
17279 # Check for C99 (and other IEEE) math functions
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17281 $as_echo_n "checking for sin in -lm... " >&6; }
17282 if ${ac_cv_lib_m_sin+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 ac_check_lib_save_LIBS=$LIBS
17286 LIBS="-lm $LIBS"
17287 if test x$gcc_no_link = xyes; then
17288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17289 fi
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17292
17293 /* Override any GCC internal prototype to avoid an error.
17294 Use char because int might match the return type of a GCC
17295 builtin and then its argument prototype would still apply. */
17296 #ifdef __cplusplus
17297 extern "C"
17298 #endif
17299 char sin ();
17300 int
17301 main ()
17302 {
17303 return sin ();
17304 ;
17305 return 0;
17306 }
17307 _ACEOF
17308 if ac_fn_c_try_link "$LINENO"; then :
17309 ac_cv_lib_m_sin=yes
17310 else
17311 ac_cv_lib_m_sin=no
17312 fi
17313 rm -f core conftest.err conftest.$ac_objext \
17314 conftest$ac_exeext conftest.$ac_ext
17315 LIBS=$ac_check_lib_save_LIBS
17316 fi
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17318 $as_echo "$ac_cv_lib_m_sin" >&6; }
17319 if test "x$ac_cv_lib_m_sin" = xyes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_LIBM 1
17322 _ACEOF
17323
17324 LIBS="-lm $LIBS"
17325
17326 fi
17327
17328
17329
17330
17331
17332
17333
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17335 $as_echo_n "checking for acosf... " >&6; }
17336 if ${gcc_cv_math_func_acosf+:} false; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17339 if test x$gcc_no_link = xyes; then
17340 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17341 fi
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344
17345 #ifdef HAVE_COMPLEX_H
17346 #include <complex.h>
17347 #endif
17348 #ifdef HAVE_MATH_H
17349 #include <math.h>
17350 #endif
17351
17352 int (*ptr)() = (int (*)())acosf;
17353
17354 int
17355 main ()
17356 {
17357 return 0;
17358 }
17359
17360 _ACEOF
17361 if ac_fn_c_try_link "$LINENO"; then :
17362 gcc_cv_math_func_acosf=yes
17363 else
17364 gcc_cv_math_func_acosf=no
17365 fi
17366 rm -f core conftest.err conftest.$ac_objext \
17367 conftest$ac_exeext conftest.$ac_ext
17368 fi
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17370 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17371 if test $gcc_cv_math_func_acosf = yes; then
17372
17373 cat >>confdefs.h <<_ACEOF
17374 #define HAVE_ACOSF 1
17375 _ACEOF
17376
17377 fi
17378
17379
17380
17381
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17383 $as_echo_n "checking for acos... " >&6; }
17384 if ${gcc_cv_math_func_acos+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 if test x$gcc_no_link = xyes; then
17388 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17389 fi
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392
17393 #ifdef HAVE_COMPLEX_H
17394 #include <complex.h>
17395 #endif
17396 #ifdef HAVE_MATH_H
17397 #include <math.h>
17398 #endif
17399
17400 int (*ptr)() = (int (*)())acos;
17401
17402 int
17403 main ()
17404 {
17405 return 0;
17406 }
17407
17408 _ACEOF
17409 if ac_fn_c_try_link "$LINENO"; then :
17410 gcc_cv_math_func_acos=yes
17411 else
17412 gcc_cv_math_func_acos=no
17413 fi
17414 rm -f core conftest.err conftest.$ac_objext \
17415 conftest$ac_exeext conftest.$ac_ext
17416 fi
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17418 $as_echo "$gcc_cv_math_func_acos" >&6; }
17419 if test $gcc_cv_math_func_acos = yes; then
17420
17421 cat >>confdefs.h <<_ACEOF
17422 #define HAVE_ACOS 1
17423 _ACEOF
17424
17425 fi
17426
17427
17428
17429
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17431 $as_echo_n "checking for acosl... " >&6; }
17432 if ${gcc_cv_math_func_acosl+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 if test x$gcc_no_link = xyes; then
17436 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17437 fi
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440
17441 #ifdef HAVE_COMPLEX_H
17442 #include <complex.h>
17443 #endif
17444 #ifdef HAVE_MATH_H
17445 #include <math.h>
17446 #endif
17447
17448 int (*ptr)() = (int (*)())acosl;
17449
17450 int
17451 main ()
17452 {
17453 return 0;
17454 }
17455
17456 _ACEOF
17457 if ac_fn_c_try_link "$LINENO"; then :
17458 gcc_cv_math_func_acosl=yes
17459 else
17460 gcc_cv_math_func_acosl=no
17461 fi
17462 rm -f core conftest.err conftest.$ac_objext \
17463 conftest$ac_exeext conftest.$ac_ext
17464 fi
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17466 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17467 if test $gcc_cv_math_func_acosl = yes; then
17468
17469 cat >>confdefs.h <<_ACEOF
17470 #define HAVE_ACOSL 1
17471 _ACEOF
17472
17473 fi
17474
17475
17476
17477
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17479 $as_echo_n "checking for acoshf... " >&6; }
17480 if ${gcc_cv_math_func_acoshf+:} false; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17483 if test x$gcc_no_link = xyes; then
17484 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17485 fi
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488
17489 #ifdef HAVE_COMPLEX_H
17490 #include <complex.h>
17491 #endif
17492 #ifdef HAVE_MATH_H
17493 #include <math.h>
17494 #endif
17495
17496 int (*ptr)() = (int (*)())acoshf;
17497
17498 int
17499 main ()
17500 {
17501 return 0;
17502 }
17503
17504 _ACEOF
17505 if ac_fn_c_try_link "$LINENO"; then :
17506 gcc_cv_math_func_acoshf=yes
17507 else
17508 gcc_cv_math_func_acoshf=no
17509 fi
17510 rm -f core conftest.err conftest.$ac_objext \
17511 conftest$ac_exeext conftest.$ac_ext
17512 fi
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17514 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17515 if test $gcc_cv_math_func_acoshf = yes; then
17516
17517 cat >>confdefs.h <<_ACEOF
17518 #define HAVE_ACOSHF 1
17519 _ACEOF
17520
17521 fi
17522
17523
17524
17525
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17527 $as_echo_n "checking for acosh... " >&6; }
17528 if ${gcc_cv_math_func_acosh+:} false; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17531 if test x$gcc_no_link = xyes; then
17532 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17533 fi
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17536
17537 #ifdef HAVE_COMPLEX_H
17538 #include <complex.h>
17539 #endif
17540 #ifdef HAVE_MATH_H
17541 #include <math.h>
17542 #endif
17543
17544 int (*ptr)() = (int (*)())acosh;
17545
17546 int
17547 main ()
17548 {
17549 return 0;
17550 }
17551
17552 _ACEOF
17553 if ac_fn_c_try_link "$LINENO"; then :
17554 gcc_cv_math_func_acosh=yes
17555 else
17556 gcc_cv_math_func_acosh=no
17557 fi
17558 rm -f core conftest.err conftest.$ac_objext \
17559 conftest$ac_exeext conftest.$ac_ext
17560 fi
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17562 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17563 if test $gcc_cv_math_func_acosh = yes; then
17564
17565 cat >>confdefs.h <<_ACEOF
17566 #define HAVE_ACOSH 1
17567 _ACEOF
17568
17569 fi
17570
17571
17572
17573
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17575 $as_echo_n "checking for acoshl... " >&6; }
17576 if ${gcc_cv_math_func_acoshl+:} false; then :
17577 $as_echo_n "(cached) " >&6
17578 else
17579 if test x$gcc_no_link = xyes; then
17580 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17581 fi
17582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17583 /* end confdefs.h. */
17584
17585 #ifdef HAVE_COMPLEX_H
17586 #include <complex.h>
17587 #endif
17588 #ifdef HAVE_MATH_H
17589 #include <math.h>
17590 #endif
17591
17592 int (*ptr)() = (int (*)())acoshl;
17593
17594 int
17595 main ()
17596 {
17597 return 0;
17598 }
17599
17600 _ACEOF
17601 if ac_fn_c_try_link "$LINENO"; then :
17602 gcc_cv_math_func_acoshl=yes
17603 else
17604 gcc_cv_math_func_acoshl=no
17605 fi
17606 rm -f core conftest.err conftest.$ac_objext \
17607 conftest$ac_exeext conftest.$ac_ext
17608 fi
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17610 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17611 if test $gcc_cv_math_func_acoshl = yes; then
17612
17613 cat >>confdefs.h <<_ACEOF
17614 #define HAVE_ACOSHL 1
17615 _ACEOF
17616
17617 fi
17618
17619
17620
17621
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17623 $as_echo_n "checking for asinf... " >&6; }
17624 if ${gcc_cv_math_func_asinf+:} false; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627 if test x$gcc_no_link = xyes; then
17628 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17629 fi
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17632
17633 #ifdef HAVE_COMPLEX_H
17634 #include <complex.h>
17635 #endif
17636 #ifdef HAVE_MATH_H
17637 #include <math.h>
17638 #endif
17639
17640 int (*ptr)() = (int (*)())asinf;
17641
17642 int
17643 main ()
17644 {
17645 return 0;
17646 }
17647
17648 _ACEOF
17649 if ac_fn_c_try_link "$LINENO"; then :
17650 gcc_cv_math_func_asinf=yes
17651 else
17652 gcc_cv_math_func_asinf=no
17653 fi
17654 rm -f core conftest.err conftest.$ac_objext \
17655 conftest$ac_exeext conftest.$ac_ext
17656 fi
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17658 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17659 if test $gcc_cv_math_func_asinf = yes; then
17660
17661 cat >>confdefs.h <<_ACEOF
17662 #define HAVE_ASINF 1
17663 _ACEOF
17664
17665 fi
17666
17667
17668
17669
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17671 $as_echo_n "checking for asin... " >&6; }
17672 if ${gcc_cv_math_func_asin+:} false; then :
17673 $as_echo_n "(cached) " >&6
17674 else
17675 if test x$gcc_no_link = xyes; then
17676 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17677 fi
17678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h. */
17680
17681 #ifdef HAVE_COMPLEX_H
17682 #include <complex.h>
17683 #endif
17684 #ifdef HAVE_MATH_H
17685 #include <math.h>
17686 #endif
17687
17688 int (*ptr)() = (int (*)())asin;
17689
17690 int
17691 main ()
17692 {
17693 return 0;
17694 }
17695
17696 _ACEOF
17697 if ac_fn_c_try_link "$LINENO"; then :
17698 gcc_cv_math_func_asin=yes
17699 else
17700 gcc_cv_math_func_asin=no
17701 fi
17702 rm -f core conftest.err conftest.$ac_objext \
17703 conftest$ac_exeext conftest.$ac_ext
17704 fi
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17706 $as_echo "$gcc_cv_math_func_asin" >&6; }
17707 if test $gcc_cv_math_func_asin = yes; then
17708
17709 cat >>confdefs.h <<_ACEOF
17710 #define HAVE_ASIN 1
17711 _ACEOF
17712
17713 fi
17714
17715
17716
17717
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17719 $as_echo_n "checking for asinl... " >&6; }
17720 if ${gcc_cv_math_func_asinl+:} false; then :
17721 $as_echo_n "(cached) " >&6
17722 else
17723 if test x$gcc_no_link = xyes; then
17724 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17725 fi
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728
17729 #ifdef HAVE_COMPLEX_H
17730 #include <complex.h>
17731 #endif
17732 #ifdef HAVE_MATH_H
17733 #include <math.h>
17734 #endif
17735
17736 int (*ptr)() = (int (*)())asinl;
17737
17738 int
17739 main ()
17740 {
17741 return 0;
17742 }
17743
17744 _ACEOF
17745 if ac_fn_c_try_link "$LINENO"; then :
17746 gcc_cv_math_func_asinl=yes
17747 else
17748 gcc_cv_math_func_asinl=no
17749 fi
17750 rm -f core conftest.err conftest.$ac_objext \
17751 conftest$ac_exeext conftest.$ac_ext
17752 fi
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17754 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17755 if test $gcc_cv_math_func_asinl = yes; then
17756
17757 cat >>confdefs.h <<_ACEOF
17758 #define HAVE_ASINL 1
17759 _ACEOF
17760
17761 fi
17762
17763
17764
17765
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17767 $as_echo_n "checking for asinhf... " >&6; }
17768 if ${gcc_cv_math_func_asinhf+:} false; then :
17769 $as_echo_n "(cached) " >&6
17770 else
17771 if test x$gcc_no_link = xyes; then
17772 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17773 fi
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17776
17777 #ifdef HAVE_COMPLEX_H
17778 #include <complex.h>
17779 #endif
17780 #ifdef HAVE_MATH_H
17781 #include <math.h>
17782 #endif
17783
17784 int (*ptr)() = (int (*)())asinhf;
17785
17786 int
17787 main ()
17788 {
17789 return 0;
17790 }
17791
17792 _ACEOF
17793 if ac_fn_c_try_link "$LINENO"; then :
17794 gcc_cv_math_func_asinhf=yes
17795 else
17796 gcc_cv_math_func_asinhf=no
17797 fi
17798 rm -f core conftest.err conftest.$ac_objext \
17799 conftest$ac_exeext conftest.$ac_ext
17800 fi
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17802 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17803 if test $gcc_cv_math_func_asinhf = yes; then
17804
17805 cat >>confdefs.h <<_ACEOF
17806 #define HAVE_ASINHF 1
17807 _ACEOF
17808
17809 fi
17810
17811
17812
17813
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17815 $as_echo_n "checking for asinh... " >&6; }
17816 if ${gcc_cv_math_func_asinh+:} false; then :
17817 $as_echo_n "(cached) " >&6
17818 else
17819 if test x$gcc_no_link = xyes; then
17820 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17821 fi
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824
17825 #ifdef HAVE_COMPLEX_H
17826 #include <complex.h>
17827 #endif
17828 #ifdef HAVE_MATH_H
17829 #include <math.h>
17830 #endif
17831
17832 int (*ptr)() = (int (*)())asinh;
17833
17834 int
17835 main ()
17836 {
17837 return 0;
17838 }
17839
17840 _ACEOF
17841 if ac_fn_c_try_link "$LINENO"; then :
17842 gcc_cv_math_func_asinh=yes
17843 else
17844 gcc_cv_math_func_asinh=no
17845 fi
17846 rm -f core conftest.err conftest.$ac_objext \
17847 conftest$ac_exeext conftest.$ac_ext
17848 fi
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17850 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17851 if test $gcc_cv_math_func_asinh = yes; then
17852
17853 cat >>confdefs.h <<_ACEOF
17854 #define HAVE_ASINH 1
17855 _ACEOF
17856
17857 fi
17858
17859
17860
17861
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17863 $as_echo_n "checking for asinhl... " >&6; }
17864 if ${gcc_cv_math_func_asinhl+:} false; then :
17865 $as_echo_n "(cached) " >&6
17866 else
17867 if test x$gcc_no_link = xyes; then
17868 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17869 fi
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17872
17873 #ifdef HAVE_COMPLEX_H
17874 #include <complex.h>
17875 #endif
17876 #ifdef HAVE_MATH_H
17877 #include <math.h>
17878 #endif
17879
17880 int (*ptr)() = (int (*)())asinhl;
17881
17882 int
17883 main ()
17884 {
17885 return 0;
17886 }
17887
17888 _ACEOF
17889 if ac_fn_c_try_link "$LINENO"; then :
17890 gcc_cv_math_func_asinhl=yes
17891 else
17892 gcc_cv_math_func_asinhl=no
17893 fi
17894 rm -f core conftest.err conftest.$ac_objext \
17895 conftest$ac_exeext conftest.$ac_ext
17896 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17898 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17899 if test $gcc_cv_math_func_asinhl = yes; then
17900
17901 cat >>confdefs.h <<_ACEOF
17902 #define HAVE_ASINHL 1
17903 _ACEOF
17904
17905 fi
17906
17907
17908
17909
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17911 $as_echo_n "checking for atan2f... " >&6; }
17912 if ${gcc_cv_math_func_atan2f+:} false; then :
17913 $as_echo_n "(cached) " >&6
17914 else
17915 if test x$gcc_no_link = xyes; then
17916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17917 fi
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17920
17921 #ifdef HAVE_COMPLEX_H
17922 #include <complex.h>
17923 #endif
17924 #ifdef HAVE_MATH_H
17925 #include <math.h>
17926 #endif
17927
17928 int (*ptr)() = (int (*)())atan2f;
17929
17930 int
17931 main ()
17932 {
17933 return 0;
17934 }
17935
17936 _ACEOF
17937 if ac_fn_c_try_link "$LINENO"; then :
17938 gcc_cv_math_func_atan2f=yes
17939 else
17940 gcc_cv_math_func_atan2f=no
17941 fi
17942 rm -f core conftest.err conftest.$ac_objext \
17943 conftest$ac_exeext conftest.$ac_ext
17944 fi
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17946 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17947 if test $gcc_cv_math_func_atan2f = yes; then
17948
17949 cat >>confdefs.h <<_ACEOF
17950 #define HAVE_ATAN2F 1
17951 _ACEOF
17952
17953 fi
17954
17955
17956
17957
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17959 $as_echo_n "checking for atan2... " >&6; }
17960 if ${gcc_cv_math_func_atan2+:} false; then :
17961 $as_echo_n "(cached) " >&6
17962 else
17963 if test x$gcc_no_link = xyes; then
17964 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17965 fi
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17968
17969 #ifdef HAVE_COMPLEX_H
17970 #include <complex.h>
17971 #endif
17972 #ifdef HAVE_MATH_H
17973 #include <math.h>
17974 #endif
17975
17976 int (*ptr)() = (int (*)())atan2;
17977
17978 int
17979 main ()
17980 {
17981 return 0;
17982 }
17983
17984 _ACEOF
17985 if ac_fn_c_try_link "$LINENO"; then :
17986 gcc_cv_math_func_atan2=yes
17987 else
17988 gcc_cv_math_func_atan2=no
17989 fi
17990 rm -f core conftest.err conftest.$ac_objext \
17991 conftest$ac_exeext conftest.$ac_ext
17992 fi
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17994 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17995 if test $gcc_cv_math_func_atan2 = yes; then
17996
17997 cat >>confdefs.h <<_ACEOF
17998 #define HAVE_ATAN2 1
17999 _ACEOF
18000
18001 fi
18002
18003
18004
18005
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18007 $as_echo_n "checking for atan2l... " >&6; }
18008 if ${gcc_cv_math_func_atan2l+:} false; then :
18009 $as_echo_n "(cached) " >&6
18010 else
18011 if test x$gcc_no_link = xyes; then
18012 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18013 fi
18014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18015 /* end confdefs.h. */
18016
18017 #ifdef HAVE_COMPLEX_H
18018 #include <complex.h>
18019 #endif
18020 #ifdef HAVE_MATH_H
18021 #include <math.h>
18022 #endif
18023
18024 int (*ptr)() = (int (*)())atan2l;
18025
18026 int
18027 main ()
18028 {
18029 return 0;
18030 }
18031
18032 _ACEOF
18033 if ac_fn_c_try_link "$LINENO"; then :
18034 gcc_cv_math_func_atan2l=yes
18035 else
18036 gcc_cv_math_func_atan2l=no
18037 fi
18038 rm -f core conftest.err conftest.$ac_objext \
18039 conftest$ac_exeext conftest.$ac_ext
18040 fi
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18042 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18043 if test $gcc_cv_math_func_atan2l = yes; then
18044
18045 cat >>confdefs.h <<_ACEOF
18046 #define HAVE_ATAN2L 1
18047 _ACEOF
18048
18049 fi
18050
18051
18052
18053
18054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18055 $as_echo_n "checking for atanf... " >&6; }
18056 if ${gcc_cv_math_func_atanf+:} false; then :
18057 $as_echo_n "(cached) " >&6
18058 else
18059 if test x$gcc_no_link = xyes; then
18060 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18061 fi
18062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18063 /* end confdefs.h. */
18064
18065 #ifdef HAVE_COMPLEX_H
18066 #include <complex.h>
18067 #endif
18068 #ifdef HAVE_MATH_H
18069 #include <math.h>
18070 #endif
18071
18072 int (*ptr)() = (int (*)())atanf;
18073
18074 int
18075 main ()
18076 {
18077 return 0;
18078 }
18079
18080 _ACEOF
18081 if ac_fn_c_try_link "$LINENO"; then :
18082 gcc_cv_math_func_atanf=yes
18083 else
18084 gcc_cv_math_func_atanf=no
18085 fi
18086 rm -f core conftest.err conftest.$ac_objext \
18087 conftest$ac_exeext conftest.$ac_ext
18088 fi
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18090 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18091 if test $gcc_cv_math_func_atanf = yes; then
18092
18093 cat >>confdefs.h <<_ACEOF
18094 #define HAVE_ATANF 1
18095 _ACEOF
18096
18097 fi
18098
18099
18100
18101
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18103 $as_echo_n "checking for atan... " >&6; }
18104 if ${gcc_cv_math_func_atan+:} false; then :
18105 $as_echo_n "(cached) " >&6
18106 else
18107 if test x$gcc_no_link = xyes; then
18108 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18109 fi
18110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18112
18113 #ifdef HAVE_COMPLEX_H
18114 #include <complex.h>
18115 #endif
18116 #ifdef HAVE_MATH_H
18117 #include <math.h>
18118 #endif
18119
18120 int (*ptr)() = (int (*)())atan;
18121
18122 int
18123 main ()
18124 {
18125 return 0;
18126 }
18127
18128 _ACEOF
18129 if ac_fn_c_try_link "$LINENO"; then :
18130 gcc_cv_math_func_atan=yes
18131 else
18132 gcc_cv_math_func_atan=no
18133 fi
18134 rm -f core conftest.err conftest.$ac_objext \
18135 conftest$ac_exeext conftest.$ac_ext
18136 fi
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18138 $as_echo "$gcc_cv_math_func_atan" >&6; }
18139 if test $gcc_cv_math_func_atan = yes; then
18140
18141 cat >>confdefs.h <<_ACEOF
18142 #define HAVE_ATAN 1
18143 _ACEOF
18144
18145 fi
18146
18147
18148
18149
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18151 $as_echo_n "checking for atanl... " >&6; }
18152 if ${gcc_cv_math_func_atanl+:} false; then :
18153 $as_echo_n "(cached) " >&6
18154 else
18155 if test x$gcc_no_link = xyes; then
18156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18157 fi
18158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18159 /* end confdefs.h. */
18160
18161 #ifdef HAVE_COMPLEX_H
18162 #include <complex.h>
18163 #endif
18164 #ifdef HAVE_MATH_H
18165 #include <math.h>
18166 #endif
18167
18168 int (*ptr)() = (int (*)())atanl;
18169
18170 int
18171 main ()
18172 {
18173 return 0;
18174 }
18175
18176 _ACEOF
18177 if ac_fn_c_try_link "$LINENO"; then :
18178 gcc_cv_math_func_atanl=yes
18179 else
18180 gcc_cv_math_func_atanl=no
18181 fi
18182 rm -f core conftest.err conftest.$ac_objext \
18183 conftest$ac_exeext conftest.$ac_ext
18184 fi
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18186 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18187 if test $gcc_cv_math_func_atanl = yes; then
18188
18189 cat >>confdefs.h <<_ACEOF
18190 #define HAVE_ATANL 1
18191 _ACEOF
18192
18193 fi
18194
18195
18196
18197
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18199 $as_echo_n "checking for atanhf... " >&6; }
18200 if ${gcc_cv_math_func_atanhf+:} false; then :
18201 $as_echo_n "(cached) " >&6
18202 else
18203 if test x$gcc_no_link = xyes; then
18204 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18205 fi
18206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18207 /* end confdefs.h. */
18208
18209 #ifdef HAVE_COMPLEX_H
18210 #include <complex.h>
18211 #endif
18212 #ifdef HAVE_MATH_H
18213 #include <math.h>
18214 #endif
18215
18216 int (*ptr)() = (int (*)())atanhf;
18217
18218 int
18219 main ()
18220 {
18221 return 0;
18222 }
18223
18224 _ACEOF
18225 if ac_fn_c_try_link "$LINENO"; then :
18226 gcc_cv_math_func_atanhf=yes
18227 else
18228 gcc_cv_math_func_atanhf=no
18229 fi
18230 rm -f core conftest.err conftest.$ac_objext \
18231 conftest$ac_exeext conftest.$ac_ext
18232 fi
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18234 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18235 if test $gcc_cv_math_func_atanhf = yes; then
18236
18237 cat >>confdefs.h <<_ACEOF
18238 #define HAVE_ATANHF 1
18239 _ACEOF
18240
18241 fi
18242
18243
18244
18245
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18247 $as_echo_n "checking for atanh... " >&6; }
18248 if ${gcc_cv_math_func_atanh+:} false; then :
18249 $as_echo_n "(cached) " >&6
18250 else
18251 if test x$gcc_no_link = xyes; then
18252 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18253 fi
18254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18255 /* end confdefs.h. */
18256
18257 #ifdef HAVE_COMPLEX_H
18258 #include <complex.h>
18259 #endif
18260 #ifdef HAVE_MATH_H
18261 #include <math.h>
18262 #endif
18263
18264 int (*ptr)() = (int (*)())atanh;
18265
18266 int
18267 main ()
18268 {
18269 return 0;
18270 }
18271
18272 _ACEOF
18273 if ac_fn_c_try_link "$LINENO"; then :
18274 gcc_cv_math_func_atanh=yes
18275 else
18276 gcc_cv_math_func_atanh=no
18277 fi
18278 rm -f core conftest.err conftest.$ac_objext \
18279 conftest$ac_exeext conftest.$ac_ext
18280 fi
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18282 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18283 if test $gcc_cv_math_func_atanh = yes; then
18284
18285 cat >>confdefs.h <<_ACEOF
18286 #define HAVE_ATANH 1
18287 _ACEOF
18288
18289 fi
18290
18291
18292
18293
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18295 $as_echo_n "checking for atanhl... " >&6; }
18296 if ${gcc_cv_math_func_atanhl+:} false; then :
18297 $as_echo_n "(cached) " >&6
18298 else
18299 if test x$gcc_no_link = xyes; then
18300 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18301 fi
18302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18303 /* end confdefs.h. */
18304
18305 #ifdef HAVE_COMPLEX_H
18306 #include <complex.h>
18307 #endif
18308 #ifdef HAVE_MATH_H
18309 #include <math.h>
18310 #endif
18311
18312 int (*ptr)() = (int (*)())atanhl;
18313
18314 int
18315 main ()
18316 {
18317 return 0;
18318 }
18319
18320 _ACEOF
18321 if ac_fn_c_try_link "$LINENO"; then :
18322 gcc_cv_math_func_atanhl=yes
18323 else
18324 gcc_cv_math_func_atanhl=no
18325 fi
18326 rm -f core conftest.err conftest.$ac_objext \
18327 conftest$ac_exeext conftest.$ac_ext
18328 fi
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18330 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18331 if test $gcc_cv_math_func_atanhl = yes; then
18332
18333 cat >>confdefs.h <<_ACEOF
18334 #define HAVE_ATANHL 1
18335 _ACEOF
18336
18337 fi
18338
18339
18340
18341
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18343 $as_echo_n "checking for cargf... " >&6; }
18344 if ${gcc_cv_math_func_cargf+:} false; then :
18345 $as_echo_n "(cached) " >&6
18346 else
18347 if test x$gcc_no_link = xyes; then
18348 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18349 fi
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352
18353 #ifdef HAVE_COMPLEX_H
18354 #include <complex.h>
18355 #endif
18356 #ifdef HAVE_MATH_H
18357 #include <math.h>
18358 #endif
18359
18360 int (*ptr)() = (int (*)())cargf;
18361
18362 int
18363 main ()
18364 {
18365 return 0;
18366 }
18367
18368 _ACEOF
18369 if ac_fn_c_try_link "$LINENO"; then :
18370 gcc_cv_math_func_cargf=yes
18371 else
18372 gcc_cv_math_func_cargf=no
18373 fi
18374 rm -f core conftest.err conftest.$ac_objext \
18375 conftest$ac_exeext conftest.$ac_ext
18376 fi
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18378 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18379 if test $gcc_cv_math_func_cargf = yes; then
18380
18381 cat >>confdefs.h <<_ACEOF
18382 #define HAVE_CARGF 1
18383 _ACEOF
18384
18385 fi
18386
18387
18388
18389
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18391 $as_echo_n "checking for carg... " >&6; }
18392 if ${gcc_cv_math_func_carg+:} false; then :
18393 $as_echo_n "(cached) " >&6
18394 else
18395 if test x$gcc_no_link = xyes; then
18396 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18397 fi
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18400
18401 #ifdef HAVE_COMPLEX_H
18402 #include <complex.h>
18403 #endif
18404 #ifdef HAVE_MATH_H
18405 #include <math.h>
18406 #endif
18407
18408 int (*ptr)() = (int (*)())carg;
18409
18410 int
18411 main ()
18412 {
18413 return 0;
18414 }
18415
18416 _ACEOF
18417 if ac_fn_c_try_link "$LINENO"; then :
18418 gcc_cv_math_func_carg=yes
18419 else
18420 gcc_cv_math_func_carg=no
18421 fi
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18424 fi
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18426 $as_echo "$gcc_cv_math_func_carg" >&6; }
18427 if test $gcc_cv_math_func_carg = yes; then
18428
18429 cat >>confdefs.h <<_ACEOF
18430 #define HAVE_CARG 1
18431 _ACEOF
18432
18433 fi
18434
18435
18436
18437
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18439 $as_echo_n "checking for cargl... " >&6; }
18440 if ${gcc_cv_math_func_cargl+:} false; then :
18441 $as_echo_n "(cached) " >&6
18442 else
18443 if test x$gcc_no_link = xyes; then
18444 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18445 fi
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18448
18449 #ifdef HAVE_COMPLEX_H
18450 #include <complex.h>
18451 #endif
18452 #ifdef HAVE_MATH_H
18453 #include <math.h>
18454 #endif
18455
18456 int (*ptr)() = (int (*)())cargl;
18457
18458 int
18459 main ()
18460 {
18461 return 0;
18462 }
18463
18464 _ACEOF
18465 if ac_fn_c_try_link "$LINENO"; then :
18466 gcc_cv_math_func_cargl=yes
18467 else
18468 gcc_cv_math_func_cargl=no
18469 fi
18470 rm -f core conftest.err conftest.$ac_objext \
18471 conftest$ac_exeext conftest.$ac_ext
18472 fi
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18474 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18475 if test $gcc_cv_math_func_cargl = yes; then
18476
18477 cat >>confdefs.h <<_ACEOF
18478 #define HAVE_CARGL 1
18479 _ACEOF
18480
18481 fi
18482
18483
18484
18485
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18487 $as_echo_n "checking for ceilf... " >&6; }
18488 if ${gcc_cv_math_func_ceilf+:} false; then :
18489 $as_echo_n "(cached) " >&6
18490 else
18491 if test x$gcc_no_link = xyes; then
18492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18493 fi
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496
18497 #ifdef HAVE_COMPLEX_H
18498 #include <complex.h>
18499 #endif
18500 #ifdef HAVE_MATH_H
18501 #include <math.h>
18502 #endif
18503
18504 int (*ptr)() = (int (*)())ceilf;
18505
18506 int
18507 main ()
18508 {
18509 return 0;
18510 }
18511
18512 _ACEOF
18513 if ac_fn_c_try_link "$LINENO"; then :
18514 gcc_cv_math_func_ceilf=yes
18515 else
18516 gcc_cv_math_func_ceilf=no
18517 fi
18518 rm -f core conftest.err conftest.$ac_objext \
18519 conftest$ac_exeext conftest.$ac_ext
18520 fi
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18522 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18523 if test $gcc_cv_math_func_ceilf = yes; then
18524
18525 cat >>confdefs.h <<_ACEOF
18526 #define HAVE_CEILF 1
18527 _ACEOF
18528
18529 fi
18530
18531
18532
18533
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18535 $as_echo_n "checking for ceil... " >&6; }
18536 if ${gcc_cv_math_func_ceil+:} false; then :
18537 $as_echo_n "(cached) " >&6
18538 else
18539 if test x$gcc_no_link = xyes; then
18540 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18541 fi
18542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18543 /* end confdefs.h. */
18544
18545 #ifdef HAVE_COMPLEX_H
18546 #include <complex.h>
18547 #endif
18548 #ifdef HAVE_MATH_H
18549 #include <math.h>
18550 #endif
18551
18552 int (*ptr)() = (int (*)())ceil;
18553
18554 int
18555 main ()
18556 {
18557 return 0;
18558 }
18559
18560 _ACEOF
18561 if ac_fn_c_try_link "$LINENO"; then :
18562 gcc_cv_math_func_ceil=yes
18563 else
18564 gcc_cv_math_func_ceil=no
18565 fi
18566 rm -f core conftest.err conftest.$ac_objext \
18567 conftest$ac_exeext conftest.$ac_ext
18568 fi
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18570 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18571 if test $gcc_cv_math_func_ceil = yes; then
18572
18573 cat >>confdefs.h <<_ACEOF
18574 #define HAVE_CEIL 1
18575 _ACEOF
18576
18577 fi
18578
18579
18580
18581
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18583 $as_echo_n "checking for ceill... " >&6; }
18584 if ${gcc_cv_math_func_ceill+:} false; then :
18585 $as_echo_n "(cached) " >&6
18586 else
18587 if test x$gcc_no_link = xyes; then
18588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18589 fi
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18592
18593 #ifdef HAVE_COMPLEX_H
18594 #include <complex.h>
18595 #endif
18596 #ifdef HAVE_MATH_H
18597 #include <math.h>
18598 #endif
18599
18600 int (*ptr)() = (int (*)())ceill;
18601
18602 int
18603 main ()
18604 {
18605 return 0;
18606 }
18607
18608 _ACEOF
18609 if ac_fn_c_try_link "$LINENO"; then :
18610 gcc_cv_math_func_ceill=yes
18611 else
18612 gcc_cv_math_func_ceill=no
18613 fi
18614 rm -f core conftest.err conftest.$ac_objext \
18615 conftest$ac_exeext conftest.$ac_ext
18616 fi
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18618 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18619 if test $gcc_cv_math_func_ceill = yes; then
18620
18621 cat >>confdefs.h <<_ACEOF
18622 #define HAVE_CEILL 1
18623 _ACEOF
18624
18625 fi
18626
18627
18628
18629
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18631 $as_echo_n "checking for copysignf... " >&6; }
18632 if ${gcc_cv_math_func_copysignf+:} false; then :
18633 $as_echo_n "(cached) " >&6
18634 else
18635 if test x$gcc_no_link = xyes; then
18636 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18637 fi
18638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640
18641 #ifdef HAVE_COMPLEX_H
18642 #include <complex.h>
18643 #endif
18644 #ifdef HAVE_MATH_H
18645 #include <math.h>
18646 #endif
18647
18648 int (*ptr)() = (int (*)())copysignf;
18649
18650 int
18651 main ()
18652 {
18653 return 0;
18654 }
18655
18656 _ACEOF
18657 if ac_fn_c_try_link "$LINENO"; then :
18658 gcc_cv_math_func_copysignf=yes
18659 else
18660 gcc_cv_math_func_copysignf=no
18661 fi
18662 rm -f core conftest.err conftest.$ac_objext \
18663 conftest$ac_exeext conftest.$ac_ext
18664 fi
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18666 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18667 if test $gcc_cv_math_func_copysignf = yes; then
18668
18669 cat >>confdefs.h <<_ACEOF
18670 #define HAVE_COPYSIGNF 1
18671 _ACEOF
18672
18673 fi
18674
18675
18676
18677
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18679 $as_echo_n "checking for copysign... " >&6; }
18680 if ${gcc_cv_math_func_copysign+:} false; then :
18681 $as_echo_n "(cached) " >&6
18682 else
18683 if test x$gcc_no_link = xyes; then
18684 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18685 fi
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688
18689 #ifdef HAVE_COMPLEX_H
18690 #include <complex.h>
18691 #endif
18692 #ifdef HAVE_MATH_H
18693 #include <math.h>
18694 #endif
18695
18696 int (*ptr)() = (int (*)())copysign;
18697
18698 int
18699 main ()
18700 {
18701 return 0;
18702 }
18703
18704 _ACEOF
18705 if ac_fn_c_try_link "$LINENO"; then :
18706 gcc_cv_math_func_copysign=yes
18707 else
18708 gcc_cv_math_func_copysign=no
18709 fi
18710 rm -f core conftest.err conftest.$ac_objext \
18711 conftest$ac_exeext conftest.$ac_ext
18712 fi
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18714 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18715 if test $gcc_cv_math_func_copysign = yes; then
18716
18717 cat >>confdefs.h <<_ACEOF
18718 #define HAVE_COPYSIGN 1
18719 _ACEOF
18720
18721 fi
18722
18723
18724
18725
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18727 $as_echo_n "checking for copysignl... " >&6; }
18728 if ${gcc_cv_math_func_copysignl+:} false; then :
18729 $as_echo_n "(cached) " >&6
18730 else
18731 if test x$gcc_no_link = xyes; then
18732 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18733 fi
18734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18735 /* end confdefs.h. */
18736
18737 #ifdef HAVE_COMPLEX_H
18738 #include <complex.h>
18739 #endif
18740 #ifdef HAVE_MATH_H
18741 #include <math.h>
18742 #endif
18743
18744 int (*ptr)() = (int (*)())copysignl;
18745
18746 int
18747 main ()
18748 {
18749 return 0;
18750 }
18751
18752 _ACEOF
18753 if ac_fn_c_try_link "$LINENO"; then :
18754 gcc_cv_math_func_copysignl=yes
18755 else
18756 gcc_cv_math_func_copysignl=no
18757 fi
18758 rm -f core conftest.err conftest.$ac_objext \
18759 conftest$ac_exeext conftest.$ac_ext
18760 fi
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18762 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18763 if test $gcc_cv_math_func_copysignl = yes; then
18764
18765 cat >>confdefs.h <<_ACEOF
18766 #define HAVE_COPYSIGNL 1
18767 _ACEOF
18768
18769 fi
18770
18771
18772
18773
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18775 $as_echo_n "checking for cosf... " >&6; }
18776 if ${gcc_cv_math_func_cosf+:} false; then :
18777 $as_echo_n "(cached) " >&6
18778 else
18779 if test x$gcc_no_link = xyes; then
18780 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18781 fi
18782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18784
18785 #ifdef HAVE_COMPLEX_H
18786 #include <complex.h>
18787 #endif
18788 #ifdef HAVE_MATH_H
18789 #include <math.h>
18790 #endif
18791
18792 int (*ptr)() = (int (*)())cosf;
18793
18794 int
18795 main ()
18796 {
18797 return 0;
18798 }
18799
18800 _ACEOF
18801 if ac_fn_c_try_link "$LINENO"; then :
18802 gcc_cv_math_func_cosf=yes
18803 else
18804 gcc_cv_math_func_cosf=no
18805 fi
18806 rm -f core conftest.err conftest.$ac_objext \
18807 conftest$ac_exeext conftest.$ac_ext
18808 fi
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18810 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18811 if test $gcc_cv_math_func_cosf = yes; then
18812
18813 cat >>confdefs.h <<_ACEOF
18814 #define HAVE_COSF 1
18815 _ACEOF
18816
18817 fi
18818
18819
18820
18821
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18823 $as_echo_n "checking for cos... " >&6; }
18824 if ${gcc_cv_math_func_cos+:} false; then :
18825 $as_echo_n "(cached) " >&6
18826 else
18827 if test x$gcc_no_link = xyes; then
18828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18829 fi
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832
18833 #ifdef HAVE_COMPLEX_H
18834 #include <complex.h>
18835 #endif
18836 #ifdef HAVE_MATH_H
18837 #include <math.h>
18838 #endif
18839
18840 int (*ptr)() = (int (*)())cos;
18841
18842 int
18843 main ()
18844 {
18845 return 0;
18846 }
18847
18848 _ACEOF
18849 if ac_fn_c_try_link "$LINENO"; then :
18850 gcc_cv_math_func_cos=yes
18851 else
18852 gcc_cv_math_func_cos=no
18853 fi
18854 rm -f core conftest.err conftest.$ac_objext \
18855 conftest$ac_exeext conftest.$ac_ext
18856 fi
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18858 $as_echo "$gcc_cv_math_func_cos" >&6; }
18859 if test $gcc_cv_math_func_cos = yes; then
18860
18861 cat >>confdefs.h <<_ACEOF
18862 #define HAVE_COS 1
18863 _ACEOF
18864
18865 fi
18866
18867
18868
18869
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18871 $as_echo_n "checking for cosl... " >&6; }
18872 if ${gcc_cv_math_func_cosl+:} false; then :
18873 $as_echo_n "(cached) " >&6
18874 else
18875 if test x$gcc_no_link = xyes; then
18876 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18877 fi
18878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18879 /* end confdefs.h. */
18880
18881 #ifdef HAVE_COMPLEX_H
18882 #include <complex.h>
18883 #endif
18884 #ifdef HAVE_MATH_H
18885 #include <math.h>
18886 #endif
18887
18888 int (*ptr)() = (int (*)())cosl;
18889
18890 int
18891 main ()
18892 {
18893 return 0;
18894 }
18895
18896 _ACEOF
18897 if ac_fn_c_try_link "$LINENO"; then :
18898 gcc_cv_math_func_cosl=yes
18899 else
18900 gcc_cv_math_func_cosl=no
18901 fi
18902 rm -f core conftest.err conftest.$ac_objext \
18903 conftest$ac_exeext conftest.$ac_ext
18904 fi
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18906 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18907 if test $gcc_cv_math_func_cosl = yes; then
18908
18909 cat >>confdefs.h <<_ACEOF
18910 #define HAVE_COSL 1
18911 _ACEOF
18912
18913 fi
18914
18915
18916
18917
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18919 $as_echo_n "checking for ccosf... " >&6; }
18920 if ${gcc_cv_math_func_ccosf+:} false; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18923 if test x$gcc_no_link = xyes; then
18924 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18925 fi
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928
18929 #ifdef HAVE_COMPLEX_H
18930 #include <complex.h>
18931 #endif
18932 #ifdef HAVE_MATH_H
18933 #include <math.h>
18934 #endif
18935
18936 int (*ptr)() = (int (*)())ccosf;
18937
18938 int
18939 main ()
18940 {
18941 return 0;
18942 }
18943
18944 _ACEOF
18945 if ac_fn_c_try_link "$LINENO"; then :
18946 gcc_cv_math_func_ccosf=yes
18947 else
18948 gcc_cv_math_func_ccosf=no
18949 fi
18950 rm -f core conftest.err conftest.$ac_objext \
18951 conftest$ac_exeext conftest.$ac_ext
18952 fi
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18954 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18955 if test $gcc_cv_math_func_ccosf = yes; then
18956
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_CCOSF 1
18959 _ACEOF
18960
18961 fi
18962
18963
18964
18965
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18967 $as_echo_n "checking for ccos... " >&6; }
18968 if ${gcc_cv_math_func_ccos+:} false; then :
18969 $as_echo_n "(cached) " >&6
18970 else
18971 if test x$gcc_no_link = xyes; then
18972 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18973 fi
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976
18977 #ifdef HAVE_COMPLEX_H
18978 #include <complex.h>
18979 #endif
18980 #ifdef HAVE_MATH_H
18981 #include <math.h>
18982 #endif
18983
18984 int (*ptr)() = (int (*)())ccos;
18985
18986 int
18987 main ()
18988 {
18989 return 0;
18990 }
18991
18992 _ACEOF
18993 if ac_fn_c_try_link "$LINENO"; then :
18994 gcc_cv_math_func_ccos=yes
18995 else
18996 gcc_cv_math_func_ccos=no
18997 fi
18998 rm -f core conftest.err conftest.$ac_objext \
18999 conftest$ac_exeext conftest.$ac_ext
19000 fi
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19002 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19003 if test $gcc_cv_math_func_ccos = yes; then
19004
19005 cat >>confdefs.h <<_ACEOF
19006 #define HAVE_CCOS 1
19007 _ACEOF
19008
19009 fi
19010
19011
19012
19013
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19015 $as_echo_n "checking for ccosl... " >&6; }
19016 if ${gcc_cv_math_func_ccosl+:} false; then :
19017 $as_echo_n "(cached) " >&6
19018 else
19019 if test x$gcc_no_link = xyes; then
19020 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19021 fi
19022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19023 /* end confdefs.h. */
19024
19025 #ifdef HAVE_COMPLEX_H
19026 #include <complex.h>
19027 #endif
19028 #ifdef HAVE_MATH_H
19029 #include <math.h>
19030 #endif
19031
19032 int (*ptr)() = (int (*)())ccosl;
19033
19034 int
19035 main ()
19036 {
19037 return 0;
19038 }
19039
19040 _ACEOF
19041 if ac_fn_c_try_link "$LINENO"; then :
19042 gcc_cv_math_func_ccosl=yes
19043 else
19044 gcc_cv_math_func_ccosl=no
19045 fi
19046 rm -f core conftest.err conftest.$ac_objext \
19047 conftest$ac_exeext conftest.$ac_ext
19048 fi
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19050 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19051 if test $gcc_cv_math_func_ccosl = yes; then
19052
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_CCOSL 1
19055 _ACEOF
19056
19057 fi
19058
19059
19060
19061
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19063 $as_echo_n "checking for coshf... " >&6; }
19064 if ${gcc_cv_math_func_coshf+:} false; then :
19065 $as_echo_n "(cached) " >&6
19066 else
19067 if test x$gcc_no_link = xyes; then
19068 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19069 fi
19070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19071 /* end confdefs.h. */
19072
19073 #ifdef HAVE_COMPLEX_H
19074 #include <complex.h>
19075 #endif
19076 #ifdef HAVE_MATH_H
19077 #include <math.h>
19078 #endif
19079
19080 int (*ptr)() = (int (*)())coshf;
19081
19082 int
19083 main ()
19084 {
19085 return 0;
19086 }
19087
19088 _ACEOF
19089 if ac_fn_c_try_link "$LINENO"; then :
19090 gcc_cv_math_func_coshf=yes
19091 else
19092 gcc_cv_math_func_coshf=no
19093 fi
19094 rm -f core conftest.err conftest.$ac_objext \
19095 conftest$ac_exeext conftest.$ac_ext
19096 fi
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19098 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19099 if test $gcc_cv_math_func_coshf = yes; then
19100
19101 cat >>confdefs.h <<_ACEOF
19102 #define HAVE_COSHF 1
19103 _ACEOF
19104
19105 fi
19106
19107
19108
19109
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19111 $as_echo_n "checking for cosh... " >&6; }
19112 if ${gcc_cv_math_func_cosh+:} false; then :
19113 $as_echo_n "(cached) " >&6
19114 else
19115 if test x$gcc_no_link = xyes; then
19116 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19117 fi
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120
19121 #ifdef HAVE_COMPLEX_H
19122 #include <complex.h>
19123 #endif
19124 #ifdef HAVE_MATH_H
19125 #include <math.h>
19126 #endif
19127
19128 int (*ptr)() = (int (*)())cosh;
19129
19130 int
19131 main ()
19132 {
19133 return 0;
19134 }
19135
19136 _ACEOF
19137 if ac_fn_c_try_link "$LINENO"; then :
19138 gcc_cv_math_func_cosh=yes
19139 else
19140 gcc_cv_math_func_cosh=no
19141 fi
19142 rm -f core conftest.err conftest.$ac_objext \
19143 conftest$ac_exeext conftest.$ac_ext
19144 fi
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19146 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19147 if test $gcc_cv_math_func_cosh = yes; then
19148
19149 cat >>confdefs.h <<_ACEOF
19150 #define HAVE_COSH 1
19151 _ACEOF
19152
19153 fi
19154
19155
19156
19157
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19159 $as_echo_n "checking for coshl... " >&6; }
19160 if ${gcc_cv_math_func_coshl+:} false; then :
19161 $as_echo_n "(cached) " >&6
19162 else
19163 if test x$gcc_no_link = xyes; then
19164 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19165 fi
19166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19168
19169 #ifdef HAVE_COMPLEX_H
19170 #include <complex.h>
19171 #endif
19172 #ifdef HAVE_MATH_H
19173 #include <math.h>
19174 #endif
19175
19176 int (*ptr)() = (int (*)())coshl;
19177
19178 int
19179 main ()
19180 {
19181 return 0;
19182 }
19183
19184 _ACEOF
19185 if ac_fn_c_try_link "$LINENO"; then :
19186 gcc_cv_math_func_coshl=yes
19187 else
19188 gcc_cv_math_func_coshl=no
19189 fi
19190 rm -f core conftest.err conftest.$ac_objext \
19191 conftest$ac_exeext conftest.$ac_ext
19192 fi
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19194 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19195 if test $gcc_cv_math_func_coshl = yes; then
19196
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_COSHL 1
19199 _ACEOF
19200
19201 fi
19202
19203
19204
19205
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19207 $as_echo_n "checking for ccoshf... " >&6; }
19208 if ${gcc_cv_math_func_ccoshf+:} false; then :
19209 $as_echo_n "(cached) " >&6
19210 else
19211 if test x$gcc_no_link = xyes; then
19212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19213 fi
19214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19215 /* end confdefs.h. */
19216
19217 #ifdef HAVE_COMPLEX_H
19218 #include <complex.h>
19219 #endif
19220 #ifdef HAVE_MATH_H
19221 #include <math.h>
19222 #endif
19223
19224 int (*ptr)() = (int (*)())ccoshf;
19225
19226 int
19227 main ()
19228 {
19229 return 0;
19230 }
19231
19232 _ACEOF
19233 if ac_fn_c_try_link "$LINENO"; then :
19234 gcc_cv_math_func_ccoshf=yes
19235 else
19236 gcc_cv_math_func_ccoshf=no
19237 fi
19238 rm -f core conftest.err conftest.$ac_objext \
19239 conftest$ac_exeext conftest.$ac_ext
19240 fi
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19242 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19243 if test $gcc_cv_math_func_ccoshf = yes; then
19244
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_CCOSHF 1
19247 _ACEOF
19248
19249 fi
19250
19251
19252
19253
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19255 $as_echo_n "checking for ccosh... " >&6; }
19256 if ${gcc_cv_math_func_ccosh+:} false; then :
19257 $as_echo_n "(cached) " >&6
19258 else
19259 if test x$gcc_no_link = xyes; then
19260 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19261 fi
19262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19263 /* end confdefs.h. */
19264
19265 #ifdef HAVE_COMPLEX_H
19266 #include <complex.h>
19267 #endif
19268 #ifdef HAVE_MATH_H
19269 #include <math.h>
19270 #endif
19271
19272 int (*ptr)() = (int (*)())ccosh;
19273
19274 int
19275 main ()
19276 {
19277 return 0;
19278 }
19279
19280 _ACEOF
19281 if ac_fn_c_try_link "$LINENO"; then :
19282 gcc_cv_math_func_ccosh=yes
19283 else
19284 gcc_cv_math_func_ccosh=no
19285 fi
19286 rm -f core conftest.err conftest.$ac_objext \
19287 conftest$ac_exeext conftest.$ac_ext
19288 fi
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19290 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19291 if test $gcc_cv_math_func_ccosh = yes; then
19292
19293 cat >>confdefs.h <<_ACEOF
19294 #define HAVE_CCOSH 1
19295 _ACEOF
19296
19297 fi
19298
19299
19300
19301
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19303 $as_echo_n "checking for ccoshl... " >&6; }
19304 if ${gcc_cv_math_func_ccoshl+:} false; then :
19305 $as_echo_n "(cached) " >&6
19306 else
19307 if test x$gcc_no_link = xyes; then
19308 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19309 fi
19310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19312
19313 #ifdef HAVE_COMPLEX_H
19314 #include <complex.h>
19315 #endif
19316 #ifdef HAVE_MATH_H
19317 #include <math.h>
19318 #endif
19319
19320 int (*ptr)() = (int (*)())ccoshl;
19321
19322 int
19323 main ()
19324 {
19325 return 0;
19326 }
19327
19328 _ACEOF
19329 if ac_fn_c_try_link "$LINENO"; then :
19330 gcc_cv_math_func_ccoshl=yes
19331 else
19332 gcc_cv_math_func_ccoshl=no
19333 fi
19334 rm -f core conftest.err conftest.$ac_objext \
19335 conftest$ac_exeext conftest.$ac_ext
19336 fi
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19338 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19339 if test $gcc_cv_math_func_ccoshl = yes; then
19340
19341 cat >>confdefs.h <<_ACEOF
19342 #define HAVE_CCOSHL 1
19343 _ACEOF
19344
19345 fi
19346
19347
19348
19349
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19351 $as_echo_n "checking for expf... " >&6; }
19352 if ${gcc_cv_math_func_expf+:} false; then :
19353 $as_echo_n "(cached) " >&6
19354 else
19355 if test x$gcc_no_link = xyes; then
19356 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19357 fi
19358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19360
19361 #ifdef HAVE_COMPLEX_H
19362 #include <complex.h>
19363 #endif
19364 #ifdef HAVE_MATH_H
19365 #include <math.h>
19366 #endif
19367
19368 int (*ptr)() = (int (*)())expf;
19369
19370 int
19371 main ()
19372 {
19373 return 0;
19374 }
19375
19376 _ACEOF
19377 if ac_fn_c_try_link "$LINENO"; then :
19378 gcc_cv_math_func_expf=yes
19379 else
19380 gcc_cv_math_func_expf=no
19381 fi
19382 rm -f core conftest.err conftest.$ac_objext \
19383 conftest$ac_exeext conftest.$ac_ext
19384 fi
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19386 $as_echo "$gcc_cv_math_func_expf" >&6; }
19387 if test $gcc_cv_math_func_expf = yes; then
19388
19389 cat >>confdefs.h <<_ACEOF
19390 #define HAVE_EXPF 1
19391 _ACEOF
19392
19393 fi
19394
19395
19396
19397
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19399 $as_echo_n "checking for exp... " >&6; }
19400 if ${gcc_cv_math_func_exp+:} false; then :
19401 $as_echo_n "(cached) " >&6
19402 else
19403 if test x$gcc_no_link = xyes; then
19404 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19405 fi
19406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19407 /* end confdefs.h. */
19408
19409 #ifdef HAVE_COMPLEX_H
19410 #include <complex.h>
19411 #endif
19412 #ifdef HAVE_MATH_H
19413 #include <math.h>
19414 #endif
19415
19416 int (*ptr)() = (int (*)())exp;
19417
19418 int
19419 main ()
19420 {
19421 return 0;
19422 }
19423
19424 _ACEOF
19425 if ac_fn_c_try_link "$LINENO"; then :
19426 gcc_cv_math_func_exp=yes
19427 else
19428 gcc_cv_math_func_exp=no
19429 fi
19430 rm -f core conftest.err conftest.$ac_objext \
19431 conftest$ac_exeext conftest.$ac_ext
19432 fi
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19434 $as_echo "$gcc_cv_math_func_exp" >&6; }
19435 if test $gcc_cv_math_func_exp = yes; then
19436
19437 cat >>confdefs.h <<_ACEOF
19438 #define HAVE_EXP 1
19439 _ACEOF
19440
19441 fi
19442
19443
19444
19445
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19447 $as_echo_n "checking for expl... " >&6; }
19448 if ${gcc_cv_math_func_expl+:} false; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19451 if test x$gcc_no_link = xyes; then
19452 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19453 fi
19454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19455 /* end confdefs.h. */
19456
19457 #ifdef HAVE_COMPLEX_H
19458 #include <complex.h>
19459 #endif
19460 #ifdef HAVE_MATH_H
19461 #include <math.h>
19462 #endif
19463
19464 int (*ptr)() = (int (*)())expl;
19465
19466 int
19467 main ()
19468 {
19469 return 0;
19470 }
19471
19472 _ACEOF
19473 if ac_fn_c_try_link "$LINENO"; then :
19474 gcc_cv_math_func_expl=yes
19475 else
19476 gcc_cv_math_func_expl=no
19477 fi
19478 rm -f core conftest.err conftest.$ac_objext \
19479 conftest$ac_exeext conftest.$ac_ext
19480 fi
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19482 $as_echo "$gcc_cv_math_func_expl" >&6; }
19483 if test $gcc_cv_math_func_expl = yes; then
19484
19485 cat >>confdefs.h <<_ACEOF
19486 #define HAVE_EXPL 1
19487 _ACEOF
19488
19489 fi
19490
19491
19492
19493
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19495 $as_echo_n "checking for cexpf... " >&6; }
19496 if ${gcc_cv_math_func_cexpf+:} false; then :
19497 $as_echo_n "(cached) " >&6
19498 else
19499 if test x$gcc_no_link = xyes; then
19500 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19501 fi
19502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19504
19505 #ifdef HAVE_COMPLEX_H
19506 #include <complex.h>
19507 #endif
19508 #ifdef HAVE_MATH_H
19509 #include <math.h>
19510 #endif
19511
19512 int (*ptr)() = (int (*)())cexpf;
19513
19514 int
19515 main ()
19516 {
19517 return 0;
19518 }
19519
19520 _ACEOF
19521 if ac_fn_c_try_link "$LINENO"; then :
19522 gcc_cv_math_func_cexpf=yes
19523 else
19524 gcc_cv_math_func_cexpf=no
19525 fi
19526 rm -f core conftest.err conftest.$ac_objext \
19527 conftest$ac_exeext conftest.$ac_ext
19528 fi
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19530 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19531 if test $gcc_cv_math_func_cexpf = yes; then
19532
19533 cat >>confdefs.h <<_ACEOF
19534 #define HAVE_CEXPF 1
19535 _ACEOF
19536
19537 fi
19538
19539
19540
19541
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19543 $as_echo_n "checking for cexp... " >&6; }
19544 if ${gcc_cv_math_func_cexp+:} false; then :
19545 $as_echo_n "(cached) " >&6
19546 else
19547 if test x$gcc_no_link = xyes; then
19548 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19549 fi
19550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19551 /* end confdefs.h. */
19552
19553 #ifdef HAVE_COMPLEX_H
19554 #include <complex.h>
19555 #endif
19556 #ifdef HAVE_MATH_H
19557 #include <math.h>
19558 #endif
19559
19560 int (*ptr)() = (int (*)())cexp;
19561
19562 int
19563 main ()
19564 {
19565 return 0;
19566 }
19567
19568 _ACEOF
19569 if ac_fn_c_try_link "$LINENO"; then :
19570 gcc_cv_math_func_cexp=yes
19571 else
19572 gcc_cv_math_func_cexp=no
19573 fi
19574 rm -f core conftest.err conftest.$ac_objext \
19575 conftest$ac_exeext conftest.$ac_ext
19576 fi
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19578 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19579 if test $gcc_cv_math_func_cexp = yes; then
19580
19581 cat >>confdefs.h <<_ACEOF
19582 #define HAVE_CEXP 1
19583 _ACEOF
19584
19585 fi
19586
19587
19588
19589
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19591 $as_echo_n "checking for cexpl... " >&6; }
19592 if ${gcc_cv_math_func_cexpl+:} false; then :
19593 $as_echo_n "(cached) " >&6
19594 else
19595 if test x$gcc_no_link = xyes; then
19596 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19597 fi
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600
19601 #ifdef HAVE_COMPLEX_H
19602 #include <complex.h>
19603 #endif
19604 #ifdef HAVE_MATH_H
19605 #include <math.h>
19606 #endif
19607
19608 int (*ptr)() = (int (*)())cexpl;
19609
19610 int
19611 main ()
19612 {
19613 return 0;
19614 }
19615
19616 _ACEOF
19617 if ac_fn_c_try_link "$LINENO"; then :
19618 gcc_cv_math_func_cexpl=yes
19619 else
19620 gcc_cv_math_func_cexpl=no
19621 fi
19622 rm -f core conftest.err conftest.$ac_objext \
19623 conftest$ac_exeext conftest.$ac_ext
19624 fi
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19626 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19627 if test $gcc_cv_math_func_cexpl = yes; then
19628
19629 cat >>confdefs.h <<_ACEOF
19630 #define HAVE_CEXPL 1
19631 _ACEOF
19632
19633 fi
19634
19635
19636
19637
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19639 $as_echo_n "checking for fabsf... " >&6; }
19640 if ${gcc_cv_math_func_fabsf+:} false; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19643 if test x$gcc_no_link = xyes; then
19644 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19645 fi
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648
19649 #ifdef HAVE_COMPLEX_H
19650 #include <complex.h>
19651 #endif
19652 #ifdef HAVE_MATH_H
19653 #include <math.h>
19654 #endif
19655
19656 int (*ptr)() = (int (*)())fabsf;
19657
19658 int
19659 main ()
19660 {
19661 return 0;
19662 }
19663
19664 _ACEOF
19665 if ac_fn_c_try_link "$LINENO"; then :
19666 gcc_cv_math_func_fabsf=yes
19667 else
19668 gcc_cv_math_func_fabsf=no
19669 fi
19670 rm -f core conftest.err conftest.$ac_objext \
19671 conftest$ac_exeext conftest.$ac_ext
19672 fi
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19674 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19675 if test $gcc_cv_math_func_fabsf = yes; then
19676
19677 cat >>confdefs.h <<_ACEOF
19678 #define HAVE_FABSF 1
19679 _ACEOF
19680
19681 fi
19682
19683
19684
19685
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19687 $as_echo_n "checking for fabs... " >&6; }
19688 if ${gcc_cv_math_func_fabs+:} false; then :
19689 $as_echo_n "(cached) " >&6
19690 else
19691 if test x$gcc_no_link = xyes; then
19692 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19693 fi
19694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19695 /* end confdefs.h. */
19696
19697 #ifdef HAVE_COMPLEX_H
19698 #include <complex.h>
19699 #endif
19700 #ifdef HAVE_MATH_H
19701 #include <math.h>
19702 #endif
19703
19704 int (*ptr)() = (int (*)())fabs;
19705
19706 int
19707 main ()
19708 {
19709 return 0;
19710 }
19711
19712 _ACEOF
19713 if ac_fn_c_try_link "$LINENO"; then :
19714 gcc_cv_math_func_fabs=yes
19715 else
19716 gcc_cv_math_func_fabs=no
19717 fi
19718 rm -f core conftest.err conftest.$ac_objext \
19719 conftest$ac_exeext conftest.$ac_ext
19720 fi
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19722 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19723 if test $gcc_cv_math_func_fabs = yes; then
19724
19725 cat >>confdefs.h <<_ACEOF
19726 #define HAVE_FABS 1
19727 _ACEOF
19728
19729 fi
19730
19731
19732
19733
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19735 $as_echo_n "checking for fabsl... " >&6; }
19736 if ${gcc_cv_math_func_fabsl+:} false; then :
19737 $as_echo_n "(cached) " >&6
19738 else
19739 if test x$gcc_no_link = xyes; then
19740 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19741 fi
19742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19743 /* end confdefs.h. */
19744
19745 #ifdef HAVE_COMPLEX_H
19746 #include <complex.h>
19747 #endif
19748 #ifdef HAVE_MATH_H
19749 #include <math.h>
19750 #endif
19751
19752 int (*ptr)() = (int (*)())fabsl;
19753
19754 int
19755 main ()
19756 {
19757 return 0;
19758 }
19759
19760 _ACEOF
19761 if ac_fn_c_try_link "$LINENO"; then :
19762 gcc_cv_math_func_fabsl=yes
19763 else
19764 gcc_cv_math_func_fabsl=no
19765 fi
19766 rm -f core conftest.err conftest.$ac_objext \
19767 conftest$ac_exeext conftest.$ac_ext
19768 fi
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19770 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19771 if test $gcc_cv_math_func_fabsl = yes; then
19772
19773 cat >>confdefs.h <<_ACEOF
19774 #define HAVE_FABSL 1
19775 _ACEOF
19776
19777 fi
19778
19779
19780
19781
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19783 $as_echo_n "checking for cabsf... " >&6; }
19784 if ${gcc_cv_math_func_cabsf+:} false; then :
19785 $as_echo_n "(cached) " >&6
19786 else
19787 if test x$gcc_no_link = xyes; then
19788 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19789 fi
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19792
19793 #ifdef HAVE_COMPLEX_H
19794 #include <complex.h>
19795 #endif
19796 #ifdef HAVE_MATH_H
19797 #include <math.h>
19798 #endif
19799
19800 int (*ptr)() = (int (*)())cabsf;
19801
19802 int
19803 main ()
19804 {
19805 return 0;
19806 }
19807
19808 _ACEOF
19809 if ac_fn_c_try_link "$LINENO"; then :
19810 gcc_cv_math_func_cabsf=yes
19811 else
19812 gcc_cv_math_func_cabsf=no
19813 fi
19814 rm -f core conftest.err conftest.$ac_objext \
19815 conftest$ac_exeext conftest.$ac_ext
19816 fi
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19818 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19819 if test $gcc_cv_math_func_cabsf = yes; then
19820
19821 cat >>confdefs.h <<_ACEOF
19822 #define HAVE_CABSF 1
19823 _ACEOF
19824
19825 fi
19826
19827
19828
19829
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19831 $as_echo_n "checking for cabs... " >&6; }
19832 if ${gcc_cv_math_func_cabs+:} false; then :
19833 $as_echo_n "(cached) " >&6
19834 else
19835 if test x$gcc_no_link = xyes; then
19836 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19837 fi
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840
19841 #ifdef HAVE_COMPLEX_H
19842 #include <complex.h>
19843 #endif
19844 #ifdef HAVE_MATH_H
19845 #include <math.h>
19846 #endif
19847
19848 int (*ptr)() = (int (*)())cabs;
19849
19850 int
19851 main ()
19852 {
19853 return 0;
19854 }
19855
19856 _ACEOF
19857 if ac_fn_c_try_link "$LINENO"; then :
19858 gcc_cv_math_func_cabs=yes
19859 else
19860 gcc_cv_math_func_cabs=no
19861 fi
19862 rm -f core conftest.err conftest.$ac_objext \
19863 conftest$ac_exeext conftest.$ac_ext
19864 fi
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19866 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19867 if test $gcc_cv_math_func_cabs = yes; then
19868
19869 cat >>confdefs.h <<_ACEOF
19870 #define HAVE_CABS 1
19871 _ACEOF
19872
19873 fi
19874
19875
19876
19877
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19879 $as_echo_n "checking for cabsl... " >&6; }
19880 if ${gcc_cv_math_func_cabsl+:} false; then :
19881 $as_echo_n "(cached) " >&6
19882 else
19883 if test x$gcc_no_link = xyes; then
19884 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19885 fi
19886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19887 /* end confdefs.h. */
19888
19889 #ifdef HAVE_COMPLEX_H
19890 #include <complex.h>
19891 #endif
19892 #ifdef HAVE_MATH_H
19893 #include <math.h>
19894 #endif
19895
19896 int (*ptr)() = (int (*)())cabsl;
19897
19898 int
19899 main ()
19900 {
19901 return 0;
19902 }
19903
19904 _ACEOF
19905 if ac_fn_c_try_link "$LINENO"; then :
19906 gcc_cv_math_func_cabsl=yes
19907 else
19908 gcc_cv_math_func_cabsl=no
19909 fi
19910 rm -f core conftest.err conftest.$ac_objext \
19911 conftest$ac_exeext conftest.$ac_ext
19912 fi
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19914 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19915 if test $gcc_cv_math_func_cabsl = yes; then
19916
19917 cat >>confdefs.h <<_ACEOF
19918 #define HAVE_CABSL 1
19919 _ACEOF
19920
19921 fi
19922
19923
19924
19925
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19927 $as_echo_n "checking for floorf... " >&6; }
19928 if ${gcc_cv_math_func_floorf+:} false; then :
19929 $as_echo_n "(cached) " >&6
19930 else
19931 if test x$gcc_no_link = xyes; then
19932 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19933 fi
19934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19935 /* end confdefs.h. */
19936
19937 #ifdef HAVE_COMPLEX_H
19938 #include <complex.h>
19939 #endif
19940 #ifdef HAVE_MATH_H
19941 #include <math.h>
19942 #endif
19943
19944 int (*ptr)() = (int (*)())floorf;
19945
19946 int
19947 main ()
19948 {
19949 return 0;
19950 }
19951
19952 _ACEOF
19953 if ac_fn_c_try_link "$LINENO"; then :
19954 gcc_cv_math_func_floorf=yes
19955 else
19956 gcc_cv_math_func_floorf=no
19957 fi
19958 rm -f core conftest.err conftest.$ac_objext \
19959 conftest$ac_exeext conftest.$ac_ext
19960 fi
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19962 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19963 if test $gcc_cv_math_func_floorf = yes; then
19964
19965 cat >>confdefs.h <<_ACEOF
19966 #define HAVE_FLOORF 1
19967 _ACEOF
19968
19969 fi
19970
19971
19972
19973
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19975 $as_echo_n "checking for floor... " >&6; }
19976 if ${gcc_cv_math_func_floor+:} false; then :
19977 $as_echo_n "(cached) " >&6
19978 else
19979 if test x$gcc_no_link = xyes; then
19980 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19981 fi
19982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19983 /* end confdefs.h. */
19984
19985 #ifdef HAVE_COMPLEX_H
19986 #include <complex.h>
19987 #endif
19988 #ifdef HAVE_MATH_H
19989 #include <math.h>
19990 #endif
19991
19992 int (*ptr)() = (int (*)())floor;
19993
19994 int
19995 main ()
19996 {
19997 return 0;
19998 }
19999
20000 _ACEOF
20001 if ac_fn_c_try_link "$LINENO"; then :
20002 gcc_cv_math_func_floor=yes
20003 else
20004 gcc_cv_math_func_floor=no
20005 fi
20006 rm -f core conftest.err conftest.$ac_objext \
20007 conftest$ac_exeext conftest.$ac_ext
20008 fi
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20010 $as_echo "$gcc_cv_math_func_floor" >&6; }
20011 if test $gcc_cv_math_func_floor = yes; then
20012
20013 cat >>confdefs.h <<_ACEOF
20014 #define HAVE_FLOOR 1
20015 _ACEOF
20016
20017 fi
20018
20019
20020
20021
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20023 $as_echo_n "checking for floorl... " >&6; }
20024 if ${gcc_cv_math_func_floorl+:} false; then :
20025 $as_echo_n "(cached) " >&6
20026 else
20027 if test x$gcc_no_link = xyes; then
20028 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20029 fi
20030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20032
20033 #ifdef HAVE_COMPLEX_H
20034 #include <complex.h>
20035 #endif
20036 #ifdef HAVE_MATH_H
20037 #include <math.h>
20038 #endif
20039
20040 int (*ptr)() = (int (*)())floorl;
20041
20042 int
20043 main ()
20044 {
20045 return 0;
20046 }
20047
20048 _ACEOF
20049 if ac_fn_c_try_link "$LINENO"; then :
20050 gcc_cv_math_func_floorl=yes
20051 else
20052 gcc_cv_math_func_floorl=no
20053 fi
20054 rm -f core conftest.err conftest.$ac_objext \
20055 conftest$ac_exeext conftest.$ac_ext
20056 fi
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20058 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20059 if test $gcc_cv_math_func_floorl = yes; then
20060
20061 cat >>confdefs.h <<_ACEOF
20062 #define HAVE_FLOORL 1
20063 _ACEOF
20064
20065 fi
20066
20067
20068
20069
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20071 $as_echo_n "checking for fmaf... " >&6; }
20072 if ${gcc_cv_math_func_fmaf+:} false; then :
20073 $as_echo_n "(cached) " >&6
20074 else
20075 if test x$gcc_no_link = xyes; then
20076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20077 fi
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20080
20081 #ifdef HAVE_COMPLEX_H
20082 #include <complex.h>
20083 #endif
20084 #ifdef HAVE_MATH_H
20085 #include <math.h>
20086 #endif
20087
20088 int (*ptr)() = (int (*)())fmaf;
20089
20090 int
20091 main ()
20092 {
20093 return 0;
20094 }
20095
20096 _ACEOF
20097 if ac_fn_c_try_link "$LINENO"; then :
20098 gcc_cv_math_func_fmaf=yes
20099 else
20100 gcc_cv_math_func_fmaf=no
20101 fi
20102 rm -f core conftest.err conftest.$ac_objext \
20103 conftest$ac_exeext conftest.$ac_ext
20104 fi
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20106 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20107 if test $gcc_cv_math_func_fmaf = yes; then
20108
20109 cat >>confdefs.h <<_ACEOF
20110 #define HAVE_FMAF 1
20111 _ACEOF
20112
20113 fi
20114
20115
20116
20117
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20119 $as_echo_n "checking for fma... " >&6; }
20120 if ${gcc_cv_math_func_fma+:} false; then :
20121 $as_echo_n "(cached) " >&6
20122 else
20123 if test x$gcc_no_link = xyes; then
20124 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20125 fi
20126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20127 /* end confdefs.h. */
20128
20129 #ifdef HAVE_COMPLEX_H
20130 #include <complex.h>
20131 #endif
20132 #ifdef HAVE_MATH_H
20133 #include <math.h>
20134 #endif
20135
20136 int (*ptr)() = (int (*)())fma;
20137
20138 int
20139 main ()
20140 {
20141 return 0;
20142 }
20143
20144 _ACEOF
20145 if ac_fn_c_try_link "$LINENO"; then :
20146 gcc_cv_math_func_fma=yes
20147 else
20148 gcc_cv_math_func_fma=no
20149 fi
20150 rm -f core conftest.err conftest.$ac_objext \
20151 conftest$ac_exeext conftest.$ac_ext
20152 fi
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20154 $as_echo "$gcc_cv_math_func_fma" >&6; }
20155 if test $gcc_cv_math_func_fma = yes; then
20156
20157 cat >>confdefs.h <<_ACEOF
20158 #define HAVE_FMA 1
20159 _ACEOF
20160
20161 fi
20162
20163
20164
20165
20166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20167 $as_echo_n "checking for fmal... " >&6; }
20168 if ${gcc_cv_math_func_fmal+:} false; then :
20169 $as_echo_n "(cached) " >&6
20170 else
20171 if test x$gcc_no_link = xyes; then
20172 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20173 fi
20174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20176
20177 #ifdef HAVE_COMPLEX_H
20178 #include <complex.h>
20179 #endif
20180 #ifdef HAVE_MATH_H
20181 #include <math.h>
20182 #endif
20183
20184 int (*ptr)() = (int (*)())fmal;
20185
20186 int
20187 main ()
20188 {
20189 return 0;
20190 }
20191
20192 _ACEOF
20193 if ac_fn_c_try_link "$LINENO"; then :
20194 gcc_cv_math_func_fmal=yes
20195 else
20196 gcc_cv_math_func_fmal=no
20197 fi
20198 rm -f core conftest.err conftest.$ac_objext \
20199 conftest$ac_exeext conftest.$ac_ext
20200 fi
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20202 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20203 if test $gcc_cv_math_func_fmal = yes; then
20204
20205 cat >>confdefs.h <<_ACEOF
20206 #define HAVE_FMAL 1
20207 _ACEOF
20208
20209 fi
20210
20211
20212
20213
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20215 $as_echo_n "checking for fmodf... " >&6; }
20216 if ${gcc_cv_math_func_fmodf+:} false; then :
20217 $as_echo_n "(cached) " >&6
20218 else
20219 if test x$gcc_no_link = xyes; then
20220 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20221 fi
20222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20224
20225 #ifdef HAVE_COMPLEX_H
20226 #include <complex.h>
20227 #endif
20228 #ifdef HAVE_MATH_H
20229 #include <math.h>
20230 #endif
20231
20232 int (*ptr)() = (int (*)())fmodf;
20233
20234 int
20235 main ()
20236 {
20237 return 0;
20238 }
20239
20240 _ACEOF
20241 if ac_fn_c_try_link "$LINENO"; then :
20242 gcc_cv_math_func_fmodf=yes
20243 else
20244 gcc_cv_math_func_fmodf=no
20245 fi
20246 rm -f core conftest.err conftest.$ac_objext \
20247 conftest$ac_exeext conftest.$ac_ext
20248 fi
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20250 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20251 if test $gcc_cv_math_func_fmodf = yes; then
20252
20253 cat >>confdefs.h <<_ACEOF
20254 #define HAVE_FMODF 1
20255 _ACEOF
20256
20257 fi
20258
20259
20260
20261
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20263 $as_echo_n "checking for fmod... " >&6; }
20264 if ${gcc_cv_math_func_fmod+:} false; then :
20265 $as_echo_n "(cached) " >&6
20266 else
20267 if test x$gcc_no_link = xyes; then
20268 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20269 fi
20270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h. */
20272
20273 #ifdef HAVE_COMPLEX_H
20274 #include <complex.h>
20275 #endif
20276 #ifdef HAVE_MATH_H
20277 #include <math.h>
20278 #endif
20279
20280 int (*ptr)() = (int (*)())fmod;
20281
20282 int
20283 main ()
20284 {
20285 return 0;
20286 }
20287
20288 _ACEOF
20289 if ac_fn_c_try_link "$LINENO"; then :
20290 gcc_cv_math_func_fmod=yes
20291 else
20292 gcc_cv_math_func_fmod=no
20293 fi
20294 rm -f core conftest.err conftest.$ac_objext \
20295 conftest$ac_exeext conftest.$ac_ext
20296 fi
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20298 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20299 if test $gcc_cv_math_func_fmod = yes; then
20300
20301 cat >>confdefs.h <<_ACEOF
20302 #define HAVE_FMOD 1
20303 _ACEOF
20304
20305 fi
20306
20307
20308
20309
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20311 $as_echo_n "checking for fmodl... " >&6; }
20312 if ${gcc_cv_math_func_fmodl+:} false; then :
20313 $as_echo_n "(cached) " >&6
20314 else
20315 if test x$gcc_no_link = xyes; then
20316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20317 fi
20318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h. */
20320
20321 #ifdef HAVE_COMPLEX_H
20322 #include <complex.h>
20323 #endif
20324 #ifdef HAVE_MATH_H
20325 #include <math.h>
20326 #endif
20327
20328 int (*ptr)() = (int (*)())fmodl;
20329
20330 int
20331 main ()
20332 {
20333 return 0;
20334 }
20335
20336 _ACEOF
20337 if ac_fn_c_try_link "$LINENO"; then :
20338 gcc_cv_math_func_fmodl=yes
20339 else
20340 gcc_cv_math_func_fmodl=no
20341 fi
20342 rm -f core conftest.err conftest.$ac_objext \
20343 conftest$ac_exeext conftest.$ac_ext
20344 fi
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20346 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20347 if test $gcc_cv_math_func_fmodl = yes; then
20348
20349 cat >>confdefs.h <<_ACEOF
20350 #define HAVE_FMODL 1
20351 _ACEOF
20352
20353 fi
20354
20355
20356
20357
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20359 $as_echo_n "checking for frexpf... " >&6; }
20360 if ${gcc_cv_math_func_frexpf+:} false; then :
20361 $as_echo_n "(cached) " >&6
20362 else
20363 if test x$gcc_no_link = xyes; then
20364 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20365 fi
20366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20367 /* end confdefs.h. */
20368
20369 #ifdef HAVE_COMPLEX_H
20370 #include <complex.h>
20371 #endif
20372 #ifdef HAVE_MATH_H
20373 #include <math.h>
20374 #endif
20375
20376 int (*ptr)() = (int (*)())frexpf;
20377
20378 int
20379 main ()
20380 {
20381 return 0;
20382 }
20383
20384 _ACEOF
20385 if ac_fn_c_try_link "$LINENO"; then :
20386 gcc_cv_math_func_frexpf=yes
20387 else
20388 gcc_cv_math_func_frexpf=no
20389 fi
20390 rm -f core conftest.err conftest.$ac_objext \
20391 conftest$ac_exeext conftest.$ac_ext
20392 fi
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20394 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20395 if test $gcc_cv_math_func_frexpf = yes; then
20396
20397 cat >>confdefs.h <<_ACEOF
20398 #define HAVE_FREXPF 1
20399 _ACEOF
20400
20401 fi
20402
20403
20404
20405
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20407 $as_echo_n "checking for frexp... " >&6; }
20408 if ${gcc_cv_math_func_frexp+:} false; then :
20409 $as_echo_n "(cached) " >&6
20410 else
20411 if test x$gcc_no_link = xyes; then
20412 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20413 fi
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20416
20417 #ifdef HAVE_COMPLEX_H
20418 #include <complex.h>
20419 #endif
20420 #ifdef HAVE_MATH_H
20421 #include <math.h>
20422 #endif
20423
20424 int (*ptr)() = (int (*)())frexp;
20425
20426 int
20427 main ()
20428 {
20429 return 0;
20430 }
20431
20432 _ACEOF
20433 if ac_fn_c_try_link "$LINENO"; then :
20434 gcc_cv_math_func_frexp=yes
20435 else
20436 gcc_cv_math_func_frexp=no
20437 fi
20438 rm -f core conftest.err conftest.$ac_objext \
20439 conftest$ac_exeext conftest.$ac_ext
20440 fi
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20442 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20443 if test $gcc_cv_math_func_frexp = yes; then
20444
20445 cat >>confdefs.h <<_ACEOF
20446 #define HAVE_FREXP 1
20447 _ACEOF
20448
20449 fi
20450
20451
20452
20453
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20455 $as_echo_n "checking for frexpl... " >&6; }
20456 if ${gcc_cv_math_func_frexpl+:} false; then :
20457 $as_echo_n "(cached) " >&6
20458 else
20459 if test x$gcc_no_link = xyes; then
20460 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20461 fi
20462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20463 /* end confdefs.h. */
20464
20465 #ifdef HAVE_COMPLEX_H
20466 #include <complex.h>
20467 #endif
20468 #ifdef HAVE_MATH_H
20469 #include <math.h>
20470 #endif
20471
20472 int (*ptr)() = (int (*)())frexpl;
20473
20474 int
20475 main ()
20476 {
20477 return 0;
20478 }
20479
20480 _ACEOF
20481 if ac_fn_c_try_link "$LINENO"; then :
20482 gcc_cv_math_func_frexpl=yes
20483 else
20484 gcc_cv_math_func_frexpl=no
20485 fi
20486 rm -f core conftest.err conftest.$ac_objext \
20487 conftest$ac_exeext conftest.$ac_ext
20488 fi
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20490 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20491 if test $gcc_cv_math_func_frexpl = yes; then
20492
20493 cat >>confdefs.h <<_ACEOF
20494 #define HAVE_FREXPL 1
20495 _ACEOF
20496
20497 fi
20498
20499
20500
20501
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20503 $as_echo_n "checking for hypotf... " >&6; }
20504 if ${gcc_cv_math_func_hypotf+:} false; then :
20505 $as_echo_n "(cached) " >&6
20506 else
20507 if test x$gcc_no_link = xyes; then
20508 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20509 fi
20510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20511 /* end confdefs.h. */
20512
20513 #ifdef HAVE_COMPLEX_H
20514 #include <complex.h>
20515 #endif
20516 #ifdef HAVE_MATH_H
20517 #include <math.h>
20518 #endif
20519
20520 int (*ptr)() = (int (*)())hypotf;
20521
20522 int
20523 main ()
20524 {
20525 return 0;
20526 }
20527
20528 _ACEOF
20529 if ac_fn_c_try_link "$LINENO"; then :
20530 gcc_cv_math_func_hypotf=yes
20531 else
20532 gcc_cv_math_func_hypotf=no
20533 fi
20534 rm -f core conftest.err conftest.$ac_objext \
20535 conftest$ac_exeext conftest.$ac_ext
20536 fi
20537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20538 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20539 if test $gcc_cv_math_func_hypotf = yes; then
20540
20541 cat >>confdefs.h <<_ACEOF
20542 #define HAVE_HYPOTF 1
20543 _ACEOF
20544
20545 fi
20546
20547
20548
20549
20550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20551 $as_echo_n "checking for hypot... " >&6; }
20552 if ${gcc_cv_math_func_hypot+:} false; then :
20553 $as_echo_n "(cached) " >&6
20554 else
20555 if test x$gcc_no_link = xyes; then
20556 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20557 fi
20558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20559 /* end confdefs.h. */
20560
20561 #ifdef HAVE_COMPLEX_H
20562 #include <complex.h>
20563 #endif
20564 #ifdef HAVE_MATH_H
20565 #include <math.h>
20566 #endif
20567
20568 int (*ptr)() = (int (*)())hypot;
20569
20570 int
20571 main ()
20572 {
20573 return 0;
20574 }
20575
20576 _ACEOF
20577 if ac_fn_c_try_link "$LINENO"; then :
20578 gcc_cv_math_func_hypot=yes
20579 else
20580 gcc_cv_math_func_hypot=no
20581 fi
20582 rm -f core conftest.err conftest.$ac_objext \
20583 conftest$ac_exeext conftest.$ac_ext
20584 fi
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20586 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20587 if test $gcc_cv_math_func_hypot = yes; then
20588
20589 cat >>confdefs.h <<_ACEOF
20590 #define HAVE_HYPOT 1
20591 _ACEOF
20592
20593 fi
20594
20595
20596
20597
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20599 $as_echo_n "checking for hypotl... " >&6; }
20600 if ${gcc_cv_math_func_hypotl+:} false; then :
20601 $as_echo_n "(cached) " >&6
20602 else
20603 if test x$gcc_no_link = xyes; then
20604 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20605 fi
20606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20608
20609 #ifdef HAVE_COMPLEX_H
20610 #include <complex.h>
20611 #endif
20612 #ifdef HAVE_MATH_H
20613 #include <math.h>
20614 #endif
20615
20616 int (*ptr)() = (int (*)())hypotl;
20617
20618 int
20619 main ()
20620 {
20621 return 0;
20622 }
20623
20624 _ACEOF
20625 if ac_fn_c_try_link "$LINENO"; then :
20626 gcc_cv_math_func_hypotl=yes
20627 else
20628 gcc_cv_math_func_hypotl=no
20629 fi
20630 rm -f core conftest.err conftest.$ac_objext \
20631 conftest$ac_exeext conftest.$ac_ext
20632 fi
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20634 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20635 if test $gcc_cv_math_func_hypotl = yes; then
20636
20637 cat >>confdefs.h <<_ACEOF
20638 #define HAVE_HYPOTL 1
20639 _ACEOF
20640
20641 fi
20642
20643
20644
20645
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20647 $as_echo_n "checking for ldexpf... " >&6; }
20648 if ${gcc_cv_math_func_ldexpf+:} false; then :
20649 $as_echo_n "(cached) " >&6
20650 else
20651 if test x$gcc_no_link = xyes; then
20652 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20653 fi
20654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20655 /* end confdefs.h. */
20656
20657 #ifdef HAVE_COMPLEX_H
20658 #include <complex.h>
20659 #endif
20660 #ifdef HAVE_MATH_H
20661 #include <math.h>
20662 #endif
20663
20664 int (*ptr)() = (int (*)())ldexpf;
20665
20666 int
20667 main ()
20668 {
20669 return 0;
20670 }
20671
20672 _ACEOF
20673 if ac_fn_c_try_link "$LINENO"; then :
20674 gcc_cv_math_func_ldexpf=yes
20675 else
20676 gcc_cv_math_func_ldexpf=no
20677 fi
20678 rm -f core conftest.err conftest.$ac_objext \
20679 conftest$ac_exeext conftest.$ac_ext
20680 fi
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20682 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20683 if test $gcc_cv_math_func_ldexpf = yes; then
20684
20685 cat >>confdefs.h <<_ACEOF
20686 #define HAVE_LDEXPF 1
20687 _ACEOF
20688
20689 fi
20690
20691
20692
20693
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20695 $as_echo_n "checking for ldexp... " >&6; }
20696 if ${gcc_cv_math_func_ldexp+:} false; then :
20697 $as_echo_n "(cached) " >&6
20698 else
20699 if test x$gcc_no_link = xyes; then
20700 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20701 fi
20702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20703 /* end confdefs.h. */
20704
20705 #ifdef HAVE_COMPLEX_H
20706 #include <complex.h>
20707 #endif
20708 #ifdef HAVE_MATH_H
20709 #include <math.h>
20710 #endif
20711
20712 int (*ptr)() = (int (*)())ldexp;
20713
20714 int
20715 main ()
20716 {
20717 return 0;
20718 }
20719
20720 _ACEOF
20721 if ac_fn_c_try_link "$LINENO"; then :
20722 gcc_cv_math_func_ldexp=yes
20723 else
20724 gcc_cv_math_func_ldexp=no
20725 fi
20726 rm -f core conftest.err conftest.$ac_objext \
20727 conftest$ac_exeext conftest.$ac_ext
20728 fi
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20730 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20731 if test $gcc_cv_math_func_ldexp = yes; then
20732
20733 cat >>confdefs.h <<_ACEOF
20734 #define HAVE_LDEXP 1
20735 _ACEOF
20736
20737 fi
20738
20739
20740
20741
20742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20743 $as_echo_n "checking for ldexpl... " >&6; }
20744 if ${gcc_cv_math_func_ldexpl+:} false; then :
20745 $as_echo_n "(cached) " >&6
20746 else
20747 if test x$gcc_no_link = xyes; then
20748 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20749 fi
20750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20751 /* end confdefs.h. */
20752
20753 #ifdef HAVE_COMPLEX_H
20754 #include <complex.h>
20755 #endif
20756 #ifdef HAVE_MATH_H
20757 #include <math.h>
20758 #endif
20759
20760 int (*ptr)() = (int (*)())ldexpl;
20761
20762 int
20763 main ()
20764 {
20765 return 0;
20766 }
20767
20768 _ACEOF
20769 if ac_fn_c_try_link "$LINENO"; then :
20770 gcc_cv_math_func_ldexpl=yes
20771 else
20772 gcc_cv_math_func_ldexpl=no
20773 fi
20774 rm -f core conftest.err conftest.$ac_objext \
20775 conftest$ac_exeext conftest.$ac_ext
20776 fi
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20778 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20779 if test $gcc_cv_math_func_ldexpl = yes; then
20780
20781 cat >>confdefs.h <<_ACEOF
20782 #define HAVE_LDEXPL 1
20783 _ACEOF
20784
20785 fi
20786
20787
20788
20789
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20791 $as_echo_n "checking for logf... " >&6; }
20792 if ${gcc_cv_math_func_logf+:} false; then :
20793 $as_echo_n "(cached) " >&6
20794 else
20795 if test x$gcc_no_link = xyes; then
20796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20797 fi
20798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20800
20801 #ifdef HAVE_COMPLEX_H
20802 #include <complex.h>
20803 #endif
20804 #ifdef HAVE_MATH_H
20805 #include <math.h>
20806 #endif
20807
20808 int (*ptr)() = (int (*)())logf;
20809
20810 int
20811 main ()
20812 {
20813 return 0;
20814 }
20815
20816 _ACEOF
20817 if ac_fn_c_try_link "$LINENO"; then :
20818 gcc_cv_math_func_logf=yes
20819 else
20820 gcc_cv_math_func_logf=no
20821 fi
20822 rm -f core conftest.err conftest.$ac_objext \
20823 conftest$ac_exeext conftest.$ac_ext
20824 fi
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20826 $as_echo "$gcc_cv_math_func_logf" >&6; }
20827 if test $gcc_cv_math_func_logf = yes; then
20828
20829 cat >>confdefs.h <<_ACEOF
20830 #define HAVE_LOGF 1
20831 _ACEOF
20832
20833 fi
20834
20835
20836
20837
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20839 $as_echo_n "checking for log... " >&6; }
20840 if ${gcc_cv_math_func_log+:} false; then :
20841 $as_echo_n "(cached) " >&6
20842 else
20843 if test x$gcc_no_link = xyes; then
20844 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20845 fi
20846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20847 /* end confdefs.h. */
20848
20849 #ifdef HAVE_COMPLEX_H
20850 #include <complex.h>
20851 #endif
20852 #ifdef HAVE_MATH_H
20853 #include <math.h>
20854 #endif
20855
20856 int (*ptr)() = (int (*)())log;
20857
20858 int
20859 main ()
20860 {
20861 return 0;
20862 }
20863
20864 _ACEOF
20865 if ac_fn_c_try_link "$LINENO"; then :
20866 gcc_cv_math_func_log=yes
20867 else
20868 gcc_cv_math_func_log=no
20869 fi
20870 rm -f core conftest.err conftest.$ac_objext \
20871 conftest$ac_exeext conftest.$ac_ext
20872 fi
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20874 $as_echo "$gcc_cv_math_func_log" >&6; }
20875 if test $gcc_cv_math_func_log = yes; then
20876
20877 cat >>confdefs.h <<_ACEOF
20878 #define HAVE_LOG 1
20879 _ACEOF
20880
20881 fi
20882
20883
20884
20885
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20887 $as_echo_n "checking for logl... " >&6; }
20888 if ${gcc_cv_math_func_logl+:} false; then :
20889 $as_echo_n "(cached) " >&6
20890 else
20891 if test x$gcc_no_link = xyes; then
20892 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20893 fi
20894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20895 /* end confdefs.h. */
20896
20897 #ifdef HAVE_COMPLEX_H
20898 #include <complex.h>
20899 #endif
20900 #ifdef HAVE_MATH_H
20901 #include <math.h>
20902 #endif
20903
20904 int (*ptr)() = (int (*)())logl;
20905
20906 int
20907 main ()
20908 {
20909 return 0;
20910 }
20911
20912 _ACEOF
20913 if ac_fn_c_try_link "$LINENO"; then :
20914 gcc_cv_math_func_logl=yes
20915 else
20916 gcc_cv_math_func_logl=no
20917 fi
20918 rm -f core conftest.err conftest.$ac_objext \
20919 conftest$ac_exeext conftest.$ac_ext
20920 fi
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20922 $as_echo "$gcc_cv_math_func_logl" >&6; }
20923 if test $gcc_cv_math_func_logl = yes; then
20924
20925 cat >>confdefs.h <<_ACEOF
20926 #define HAVE_LOGL 1
20927 _ACEOF
20928
20929 fi
20930
20931
20932
20933
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20935 $as_echo_n "checking for clogf... " >&6; }
20936 if ${gcc_cv_math_func_clogf+:} false; then :
20937 $as_echo_n "(cached) " >&6
20938 else
20939 if test x$gcc_no_link = xyes; then
20940 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20941 fi
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20944
20945 #ifdef HAVE_COMPLEX_H
20946 #include <complex.h>
20947 #endif
20948 #ifdef HAVE_MATH_H
20949 #include <math.h>
20950 #endif
20951
20952 int (*ptr)() = (int (*)())clogf;
20953
20954 int
20955 main ()
20956 {
20957 return 0;
20958 }
20959
20960 _ACEOF
20961 if ac_fn_c_try_link "$LINENO"; then :
20962 gcc_cv_math_func_clogf=yes
20963 else
20964 gcc_cv_math_func_clogf=no
20965 fi
20966 rm -f core conftest.err conftest.$ac_objext \
20967 conftest$ac_exeext conftest.$ac_ext
20968 fi
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20970 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20971 if test $gcc_cv_math_func_clogf = yes; then
20972
20973 cat >>confdefs.h <<_ACEOF
20974 #define HAVE_CLOGF 1
20975 _ACEOF
20976
20977 fi
20978
20979
20980
20981
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20983 $as_echo_n "checking for clog... " >&6; }
20984 if ${gcc_cv_math_func_clog+:} false; then :
20985 $as_echo_n "(cached) " >&6
20986 else
20987 if test x$gcc_no_link = xyes; then
20988 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20989 fi
20990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20992
20993 #ifdef HAVE_COMPLEX_H
20994 #include <complex.h>
20995 #endif
20996 #ifdef HAVE_MATH_H
20997 #include <math.h>
20998 #endif
20999
21000 int (*ptr)() = (int (*)())clog;
21001
21002 int
21003 main ()
21004 {
21005 return 0;
21006 }
21007
21008 _ACEOF
21009 if ac_fn_c_try_link "$LINENO"; then :
21010 gcc_cv_math_func_clog=yes
21011 else
21012 gcc_cv_math_func_clog=no
21013 fi
21014 rm -f core conftest.err conftest.$ac_objext \
21015 conftest$ac_exeext conftest.$ac_ext
21016 fi
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21018 $as_echo "$gcc_cv_math_func_clog" >&6; }
21019 if test $gcc_cv_math_func_clog = yes; then
21020
21021 cat >>confdefs.h <<_ACEOF
21022 #define HAVE_CLOG 1
21023 _ACEOF
21024
21025 fi
21026
21027
21028
21029
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21031 $as_echo_n "checking for clogl... " >&6; }
21032 if ${gcc_cv_math_func_clogl+:} false; then :
21033 $as_echo_n "(cached) " >&6
21034 else
21035 if test x$gcc_no_link = xyes; then
21036 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21037 fi
21038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040
21041 #ifdef HAVE_COMPLEX_H
21042 #include <complex.h>
21043 #endif
21044 #ifdef HAVE_MATH_H
21045 #include <math.h>
21046 #endif
21047
21048 int (*ptr)() = (int (*)())clogl;
21049
21050 int
21051 main ()
21052 {
21053 return 0;
21054 }
21055
21056 _ACEOF
21057 if ac_fn_c_try_link "$LINENO"; then :
21058 gcc_cv_math_func_clogl=yes
21059 else
21060 gcc_cv_math_func_clogl=no
21061 fi
21062 rm -f core conftest.err conftest.$ac_objext \
21063 conftest$ac_exeext conftest.$ac_ext
21064 fi
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21066 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21067 if test $gcc_cv_math_func_clogl = yes; then
21068
21069 cat >>confdefs.h <<_ACEOF
21070 #define HAVE_CLOGL 1
21071 _ACEOF
21072
21073 fi
21074
21075
21076
21077
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21079 $as_echo_n "checking for log10f... " >&6; }
21080 if ${gcc_cv_math_func_log10f+:} false; then :
21081 $as_echo_n "(cached) " >&6
21082 else
21083 if test x$gcc_no_link = xyes; then
21084 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21085 fi
21086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21087 /* end confdefs.h. */
21088
21089 #ifdef HAVE_COMPLEX_H
21090 #include <complex.h>
21091 #endif
21092 #ifdef HAVE_MATH_H
21093 #include <math.h>
21094 #endif
21095
21096 int (*ptr)() = (int (*)())log10f;
21097
21098 int
21099 main ()
21100 {
21101 return 0;
21102 }
21103
21104 _ACEOF
21105 if ac_fn_c_try_link "$LINENO"; then :
21106 gcc_cv_math_func_log10f=yes
21107 else
21108 gcc_cv_math_func_log10f=no
21109 fi
21110 rm -f core conftest.err conftest.$ac_objext \
21111 conftest$ac_exeext conftest.$ac_ext
21112 fi
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21114 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21115 if test $gcc_cv_math_func_log10f = yes; then
21116
21117 cat >>confdefs.h <<_ACEOF
21118 #define HAVE_LOG10F 1
21119 _ACEOF
21120
21121 fi
21122
21123
21124
21125
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21127 $as_echo_n "checking for log10... " >&6; }
21128 if ${gcc_cv_math_func_log10+:} false; then :
21129 $as_echo_n "(cached) " >&6
21130 else
21131 if test x$gcc_no_link = xyes; then
21132 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21133 fi
21134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21135 /* end confdefs.h. */
21136
21137 #ifdef HAVE_COMPLEX_H
21138 #include <complex.h>
21139 #endif
21140 #ifdef HAVE_MATH_H
21141 #include <math.h>
21142 #endif
21143
21144 int (*ptr)() = (int (*)())log10;
21145
21146 int
21147 main ()
21148 {
21149 return 0;
21150 }
21151
21152 _ACEOF
21153 if ac_fn_c_try_link "$LINENO"; then :
21154 gcc_cv_math_func_log10=yes
21155 else
21156 gcc_cv_math_func_log10=no
21157 fi
21158 rm -f core conftest.err conftest.$ac_objext \
21159 conftest$ac_exeext conftest.$ac_ext
21160 fi
21161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21162 $as_echo "$gcc_cv_math_func_log10" >&6; }
21163 if test $gcc_cv_math_func_log10 = yes; then
21164
21165 cat >>confdefs.h <<_ACEOF
21166 #define HAVE_LOG10 1
21167 _ACEOF
21168
21169 fi
21170
21171
21172
21173
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21175 $as_echo_n "checking for log10l... " >&6; }
21176 if ${gcc_cv_math_func_log10l+:} false; then :
21177 $as_echo_n "(cached) " >&6
21178 else
21179 if test x$gcc_no_link = xyes; then
21180 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21181 fi
21182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21183 /* end confdefs.h. */
21184
21185 #ifdef HAVE_COMPLEX_H
21186 #include <complex.h>
21187 #endif
21188 #ifdef HAVE_MATH_H
21189 #include <math.h>
21190 #endif
21191
21192 int (*ptr)() = (int (*)())log10l;
21193
21194 int
21195 main ()
21196 {
21197 return 0;
21198 }
21199
21200 _ACEOF
21201 if ac_fn_c_try_link "$LINENO"; then :
21202 gcc_cv_math_func_log10l=yes
21203 else
21204 gcc_cv_math_func_log10l=no
21205 fi
21206 rm -f core conftest.err conftest.$ac_objext \
21207 conftest$ac_exeext conftest.$ac_ext
21208 fi
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21210 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21211 if test $gcc_cv_math_func_log10l = yes; then
21212
21213 cat >>confdefs.h <<_ACEOF
21214 #define HAVE_LOG10L 1
21215 _ACEOF
21216
21217 fi
21218
21219
21220
21221
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21223 $as_echo_n "checking for clog10f... " >&6; }
21224 if ${gcc_cv_math_func_clog10f+:} false; then :
21225 $as_echo_n "(cached) " >&6
21226 else
21227 if test x$gcc_no_link = xyes; then
21228 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21229 fi
21230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h. */
21232
21233 #ifdef HAVE_COMPLEX_H
21234 #include <complex.h>
21235 #endif
21236 #ifdef HAVE_MATH_H
21237 #include <math.h>
21238 #endif
21239
21240 int (*ptr)() = (int (*)())clog10f;
21241
21242 int
21243 main ()
21244 {
21245 return 0;
21246 }
21247
21248 _ACEOF
21249 if ac_fn_c_try_link "$LINENO"; then :
21250 gcc_cv_math_func_clog10f=yes
21251 else
21252 gcc_cv_math_func_clog10f=no
21253 fi
21254 rm -f core conftest.err conftest.$ac_objext \
21255 conftest$ac_exeext conftest.$ac_ext
21256 fi
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21258 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21259 if test $gcc_cv_math_func_clog10f = yes; then
21260
21261 cat >>confdefs.h <<_ACEOF
21262 #define HAVE_CLOG10F 1
21263 _ACEOF
21264
21265 fi
21266
21267
21268
21269
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21271 $as_echo_n "checking for clog10... " >&6; }
21272 if ${gcc_cv_math_func_clog10+:} false; then :
21273 $as_echo_n "(cached) " >&6
21274 else
21275 if test x$gcc_no_link = xyes; then
21276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21277 fi
21278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21279 /* end confdefs.h. */
21280
21281 #ifdef HAVE_COMPLEX_H
21282 #include <complex.h>
21283 #endif
21284 #ifdef HAVE_MATH_H
21285 #include <math.h>
21286 #endif
21287
21288 int (*ptr)() = (int (*)())clog10;
21289
21290 int
21291 main ()
21292 {
21293 return 0;
21294 }
21295
21296 _ACEOF
21297 if ac_fn_c_try_link "$LINENO"; then :
21298 gcc_cv_math_func_clog10=yes
21299 else
21300 gcc_cv_math_func_clog10=no
21301 fi
21302 rm -f core conftest.err conftest.$ac_objext \
21303 conftest$ac_exeext conftest.$ac_ext
21304 fi
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21306 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21307 if test $gcc_cv_math_func_clog10 = yes; then
21308
21309 cat >>confdefs.h <<_ACEOF
21310 #define HAVE_CLOG10 1
21311 _ACEOF
21312
21313 fi
21314
21315
21316
21317
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21319 $as_echo_n "checking for clog10l... " >&6; }
21320 if ${gcc_cv_math_func_clog10l+:} false; then :
21321 $as_echo_n "(cached) " >&6
21322 else
21323 if test x$gcc_no_link = xyes; then
21324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21325 fi
21326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h. */
21328
21329 #ifdef HAVE_COMPLEX_H
21330 #include <complex.h>
21331 #endif
21332 #ifdef HAVE_MATH_H
21333 #include <math.h>
21334 #endif
21335
21336 int (*ptr)() = (int (*)())clog10l;
21337
21338 int
21339 main ()
21340 {
21341 return 0;
21342 }
21343
21344 _ACEOF
21345 if ac_fn_c_try_link "$LINENO"; then :
21346 gcc_cv_math_func_clog10l=yes
21347 else
21348 gcc_cv_math_func_clog10l=no
21349 fi
21350 rm -f core conftest.err conftest.$ac_objext \
21351 conftest$ac_exeext conftest.$ac_ext
21352 fi
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21354 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21355 if test $gcc_cv_math_func_clog10l = yes; then
21356
21357 cat >>confdefs.h <<_ACEOF
21358 #define HAVE_CLOG10L 1
21359 _ACEOF
21360
21361 fi
21362
21363
21364
21365
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21367 $as_echo_n "checking for nextafterf... " >&6; }
21368 if ${gcc_cv_math_func_nextafterf+:} false; then :
21369 $as_echo_n "(cached) " >&6
21370 else
21371 if test x$gcc_no_link = xyes; then
21372 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21373 fi
21374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21375 /* end confdefs.h. */
21376
21377 #ifdef HAVE_COMPLEX_H
21378 #include <complex.h>
21379 #endif
21380 #ifdef HAVE_MATH_H
21381 #include <math.h>
21382 #endif
21383
21384 int (*ptr)() = (int (*)())nextafterf;
21385
21386 int
21387 main ()
21388 {
21389 return 0;
21390 }
21391
21392 _ACEOF
21393 if ac_fn_c_try_link "$LINENO"; then :
21394 gcc_cv_math_func_nextafterf=yes
21395 else
21396 gcc_cv_math_func_nextafterf=no
21397 fi
21398 rm -f core conftest.err conftest.$ac_objext \
21399 conftest$ac_exeext conftest.$ac_ext
21400 fi
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21402 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21403 if test $gcc_cv_math_func_nextafterf = yes; then
21404
21405 cat >>confdefs.h <<_ACEOF
21406 #define HAVE_NEXTAFTERF 1
21407 _ACEOF
21408
21409 fi
21410
21411
21412
21413
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21415 $as_echo_n "checking for nextafter... " >&6; }
21416 if ${gcc_cv_math_func_nextafter+:} false; then :
21417 $as_echo_n "(cached) " >&6
21418 else
21419 if test x$gcc_no_link = xyes; then
21420 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21421 fi
21422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21423 /* end confdefs.h. */
21424
21425 #ifdef HAVE_COMPLEX_H
21426 #include <complex.h>
21427 #endif
21428 #ifdef HAVE_MATH_H
21429 #include <math.h>
21430 #endif
21431
21432 int (*ptr)() = (int (*)())nextafter;
21433
21434 int
21435 main ()
21436 {
21437 return 0;
21438 }
21439
21440 _ACEOF
21441 if ac_fn_c_try_link "$LINENO"; then :
21442 gcc_cv_math_func_nextafter=yes
21443 else
21444 gcc_cv_math_func_nextafter=no
21445 fi
21446 rm -f core conftest.err conftest.$ac_objext \
21447 conftest$ac_exeext conftest.$ac_ext
21448 fi
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21450 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21451 if test $gcc_cv_math_func_nextafter = yes; then
21452
21453 cat >>confdefs.h <<_ACEOF
21454 #define HAVE_NEXTAFTER 1
21455 _ACEOF
21456
21457 fi
21458
21459
21460
21461
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21463 $as_echo_n "checking for nextafterl... " >&6; }
21464 if ${gcc_cv_math_func_nextafterl+:} false; then :
21465 $as_echo_n "(cached) " >&6
21466 else
21467 if test x$gcc_no_link = xyes; then
21468 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21469 fi
21470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21471 /* end confdefs.h. */
21472
21473 #ifdef HAVE_COMPLEX_H
21474 #include <complex.h>
21475 #endif
21476 #ifdef HAVE_MATH_H
21477 #include <math.h>
21478 #endif
21479
21480 int (*ptr)() = (int (*)())nextafterl;
21481
21482 int
21483 main ()
21484 {
21485 return 0;
21486 }
21487
21488 _ACEOF
21489 if ac_fn_c_try_link "$LINENO"; then :
21490 gcc_cv_math_func_nextafterl=yes
21491 else
21492 gcc_cv_math_func_nextafterl=no
21493 fi
21494 rm -f core conftest.err conftest.$ac_objext \
21495 conftest$ac_exeext conftest.$ac_ext
21496 fi
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21498 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21499 if test $gcc_cv_math_func_nextafterl = yes; then
21500
21501 cat >>confdefs.h <<_ACEOF
21502 #define HAVE_NEXTAFTERL 1
21503 _ACEOF
21504
21505 fi
21506
21507
21508
21509
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21511 $as_echo_n "checking for powf... " >&6; }
21512 if ${gcc_cv_math_func_powf+:} false; then :
21513 $as_echo_n "(cached) " >&6
21514 else
21515 if test x$gcc_no_link = xyes; then
21516 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21517 fi
21518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21519 /* end confdefs.h. */
21520
21521 #ifdef HAVE_COMPLEX_H
21522 #include <complex.h>
21523 #endif
21524 #ifdef HAVE_MATH_H
21525 #include <math.h>
21526 #endif
21527
21528 int (*ptr)() = (int (*)())powf;
21529
21530 int
21531 main ()
21532 {
21533 return 0;
21534 }
21535
21536 _ACEOF
21537 if ac_fn_c_try_link "$LINENO"; then :
21538 gcc_cv_math_func_powf=yes
21539 else
21540 gcc_cv_math_func_powf=no
21541 fi
21542 rm -f core conftest.err conftest.$ac_objext \
21543 conftest$ac_exeext conftest.$ac_ext
21544 fi
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21546 $as_echo "$gcc_cv_math_func_powf" >&6; }
21547 if test $gcc_cv_math_func_powf = yes; then
21548
21549 cat >>confdefs.h <<_ACEOF
21550 #define HAVE_POWF 1
21551 _ACEOF
21552
21553 fi
21554
21555
21556
21557
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21559 $as_echo_n "checking for pow... " >&6; }
21560 if ${gcc_cv_math_func_pow+:} false; then :
21561 $as_echo_n "(cached) " >&6
21562 else
21563 if test x$gcc_no_link = xyes; then
21564 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21565 fi
21566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21567 /* end confdefs.h. */
21568
21569 #ifdef HAVE_COMPLEX_H
21570 #include <complex.h>
21571 #endif
21572 #ifdef HAVE_MATH_H
21573 #include <math.h>
21574 #endif
21575
21576 int (*ptr)() = (int (*)())pow;
21577
21578 int
21579 main ()
21580 {
21581 return 0;
21582 }
21583
21584 _ACEOF
21585 if ac_fn_c_try_link "$LINENO"; then :
21586 gcc_cv_math_func_pow=yes
21587 else
21588 gcc_cv_math_func_pow=no
21589 fi
21590 rm -f core conftest.err conftest.$ac_objext \
21591 conftest$ac_exeext conftest.$ac_ext
21592 fi
21593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21594 $as_echo "$gcc_cv_math_func_pow" >&6; }
21595 if test $gcc_cv_math_func_pow = yes; then
21596
21597 cat >>confdefs.h <<_ACEOF
21598 #define HAVE_POW 1
21599 _ACEOF
21600
21601 fi
21602
21603
21604
21605
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21607 $as_echo_n "checking for cpowf... " >&6; }
21608 if ${gcc_cv_math_func_cpowf+:} false; then :
21609 $as_echo_n "(cached) " >&6
21610 else
21611 if test x$gcc_no_link = xyes; then
21612 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21613 fi
21614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21615 /* end confdefs.h. */
21616
21617 #ifdef HAVE_COMPLEX_H
21618 #include <complex.h>
21619 #endif
21620 #ifdef HAVE_MATH_H
21621 #include <math.h>
21622 #endif
21623
21624 int (*ptr)() = (int (*)())cpowf;
21625
21626 int
21627 main ()
21628 {
21629 return 0;
21630 }
21631
21632 _ACEOF
21633 if ac_fn_c_try_link "$LINENO"; then :
21634 gcc_cv_math_func_cpowf=yes
21635 else
21636 gcc_cv_math_func_cpowf=no
21637 fi
21638 rm -f core conftest.err conftest.$ac_objext \
21639 conftest$ac_exeext conftest.$ac_ext
21640 fi
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21642 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21643 if test $gcc_cv_math_func_cpowf = yes; then
21644
21645 cat >>confdefs.h <<_ACEOF
21646 #define HAVE_CPOWF 1
21647 _ACEOF
21648
21649 fi
21650
21651
21652
21653
21654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21655 $as_echo_n "checking for cpow... " >&6; }
21656 if ${gcc_cv_math_func_cpow+:} false; then :
21657 $as_echo_n "(cached) " >&6
21658 else
21659 if test x$gcc_no_link = xyes; then
21660 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21661 fi
21662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21663 /* end confdefs.h. */
21664
21665 #ifdef HAVE_COMPLEX_H
21666 #include <complex.h>
21667 #endif
21668 #ifdef HAVE_MATH_H
21669 #include <math.h>
21670 #endif
21671
21672 int (*ptr)() = (int (*)())cpow;
21673
21674 int
21675 main ()
21676 {
21677 return 0;
21678 }
21679
21680 _ACEOF
21681 if ac_fn_c_try_link "$LINENO"; then :
21682 gcc_cv_math_func_cpow=yes
21683 else
21684 gcc_cv_math_func_cpow=no
21685 fi
21686 rm -f core conftest.err conftest.$ac_objext \
21687 conftest$ac_exeext conftest.$ac_ext
21688 fi
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21690 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21691 if test $gcc_cv_math_func_cpow = yes; then
21692
21693 cat >>confdefs.h <<_ACEOF
21694 #define HAVE_CPOW 1
21695 _ACEOF
21696
21697 fi
21698
21699
21700
21701
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21703 $as_echo_n "checking for cpowl... " >&6; }
21704 if ${gcc_cv_math_func_cpowl+:} false; then :
21705 $as_echo_n "(cached) " >&6
21706 else
21707 if test x$gcc_no_link = xyes; then
21708 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21709 fi
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21712
21713 #ifdef HAVE_COMPLEX_H
21714 #include <complex.h>
21715 #endif
21716 #ifdef HAVE_MATH_H
21717 #include <math.h>
21718 #endif
21719
21720 int (*ptr)() = (int (*)())cpowl;
21721
21722 int
21723 main ()
21724 {
21725 return 0;
21726 }
21727
21728 _ACEOF
21729 if ac_fn_c_try_link "$LINENO"; then :
21730 gcc_cv_math_func_cpowl=yes
21731 else
21732 gcc_cv_math_func_cpowl=no
21733 fi
21734 rm -f core conftest.err conftest.$ac_objext \
21735 conftest$ac_exeext conftest.$ac_ext
21736 fi
21737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21738 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21739 if test $gcc_cv_math_func_cpowl = yes; then
21740
21741 cat >>confdefs.h <<_ACEOF
21742 #define HAVE_CPOWL 1
21743 _ACEOF
21744
21745 fi
21746
21747
21748
21749
21750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21751 $as_echo_n "checking for roundf... " >&6; }
21752 if ${gcc_cv_math_func_roundf+:} false; then :
21753 $as_echo_n "(cached) " >&6
21754 else
21755 if test x$gcc_no_link = xyes; then
21756 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21757 fi
21758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21759 /* end confdefs.h. */
21760
21761 #ifdef HAVE_COMPLEX_H
21762 #include <complex.h>
21763 #endif
21764 #ifdef HAVE_MATH_H
21765 #include <math.h>
21766 #endif
21767
21768 int (*ptr)() = (int (*)())roundf;
21769
21770 int
21771 main ()
21772 {
21773 return 0;
21774 }
21775
21776 _ACEOF
21777 if ac_fn_c_try_link "$LINENO"; then :
21778 gcc_cv_math_func_roundf=yes
21779 else
21780 gcc_cv_math_func_roundf=no
21781 fi
21782 rm -f core conftest.err conftest.$ac_objext \
21783 conftest$ac_exeext conftest.$ac_ext
21784 fi
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21786 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21787 if test $gcc_cv_math_func_roundf = yes; then
21788
21789 cat >>confdefs.h <<_ACEOF
21790 #define HAVE_ROUNDF 1
21791 _ACEOF
21792
21793 fi
21794
21795
21796
21797
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21799 $as_echo_n "checking for round... " >&6; }
21800 if ${gcc_cv_math_func_round+:} false; then :
21801 $as_echo_n "(cached) " >&6
21802 else
21803 if test x$gcc_no_link = xyes; then
21804 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21805 fi
21806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21807 /* end confdefs.h. */
21808
21809 #ifdef HAVE_COMPLEX_H
21810 #include <complex.h>
21811 #endif
21812 #ifdef HAVE_MATH_H
21813 #include <math.h>
21814 #endif
21815
21816 int (*ptr)() = (int (*)())round;
21817
21818 int
21819 main ()
21820 {
21821 return 0;
21822 }
21823
21824 _ACEOF
21825 if ac_fn_c_try_link "$LINENO"; then :
21826 gcc_cv_math_func_round=yes
21827 else
21828 gcc_cv_math_func_round=no
21829 fi
21830 rm -f core conftest.err conftest.$ac_objext \
21831 conftest$ac_exeext conftest.$ac_ext
21832 fi
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21834 $as_echo "$gcc_cv_math_func_round" >&6; }
21835 if test $gcc_cv_math_func_round = yes; then
21836
21837 cat >>confdefs.h <<_ACEOF
21838 #define HAVE_ROUND 1
21839 _ACEOF
21840
21841 fi
21842
21843
21844
21845
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21847 $as_echo_n "checking for roundl... " >&6; }
21848 if ${gcc_cv_math_func_roundl+:} false; then :
21849 $as_echo_n "(cached) " >&6
21850 else
21851 if test x$gcc_no_link = xyes; then
21852 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21853 fi
21854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21855 /* end confdefs.h. */
21856
21857 #ifdef HAVE_COMPLEX_H
21858 #include <complex.h>
21859 #endif
21860 #ifdef HAVE_MATH_H
21861 #include <math.h>
21862 #endif
21863
21864 int (*ptr)() = (int (*)())roundl;
21865
21866 int
21867 main ()
21868 {
21869 return 0;
21870 }
21871
21872 _ACEOF
21873 if ac_fn_c_try_link "$LINENO"; then :
21874 gcc_cv_math_func_roundl=yes
21875 else
21876 gcc_cv_math_func_roundl=no
21877 fi
21878 rm -f core conftest.err conftest.$ac_objext \
21879 conftest$ac_exeext conftest.$ac_ext
21880 fi
21881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21882 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21883 if test $gcc_cv_math_func_roundl = yes; then
21884
21885 cat >>confdefs.h <<_ACEOF
21886 #define HAVE_ROUNDL 1
21887 _ACEOF
21888
21889 fi
21890
21891
21892
21893
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21895 $as_echo_n "checking for lroundf... " >&6; }
21896 if ${gcc_cv_math_func_lroundf+:} false; then :
21897 $as_echo_n "(cached) " >&6
21898 else
21899 if test x$gcc_no_link = xyes; then
21900 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21901 fi
21902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21903 /* end confdefs.h. */
21904
21905 #ifdef HAVE_COMPLEX_H
21906 #include <complex.h>
21907 #endif
21908 #ifdef HAVE_MATH_H
21909 #include <math.h>
21910 #endif
21911
21912 int (*ptr)() = (int (*)())lroundf;
21913
21914 int
21915 main ()
21916 {
21917 return 0;
21918 }
21919
21920 _ACEOF
21921 if ac_fn_c_try_link "$LINENO"; then :
21922 gcc_cv_math_func_lroundf=yes
21923 else
21924 gcc_cv_math_func_lroundf=no
21925 fi
21926 rm -f core conftest.err conftest.$ac_objext \
21927 conftest$ac_exeext conftest.$ac_ext
21928 fi
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21930 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21931 if test $gcc_cv_math_func_lroundf = yes; then
21932
21933 cat >>confdefs.h <<_ACEOF
21934 #define HAVE_LROUNDF 1
21935 _ACEOF
21936
21937 fi
21938
21939
21940
21941
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21943 $as_echo_n "checking for lround... " >&6; }
21944 if ${gcc_cv_math_func_lround+:} false; then :
21945 $as_echo_n "(cached) " >&6
21946 else
21947 if test x$gcc_no_link = xyes; then
21948 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21949 fi
21950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21951 /* end confdefs.h. */
21952
21953 #ifdef HAVE_COMPLEX_H
21954 #include <complex.h>
21955 #endif
21956 #ifdef HAVE_MATH_H
21957 #include <math.h>
21958 #endif
21959
21960 int (*ptr)() = (int (*)())lround;
21961
21962 int
21963 main ()
21964 {
21965 return 0;
21966 }
21967
21968 _ACEOF
21969 if ac_fn_c_try_link "$LINENO"; then :
21970 gcc_cv_math_func_lround=yes
21971 else
21972 gcc_cv_math_func_lround=no
21973 fi
21974 rm -f core conftest.err conftest.$ac_objext \
21975 conftest$ac_exeext conftest.$ac_ext
21976 fi
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21978 $as_echo "$gcc_cv_math_func_lround" >&6; }
21979 if test $gcc_cv_math_func_lround = yes; then
21980
21981 cat >>confdefs.h <<_ACEOF
21982 #define HAVE_LROUND 1
21983 _ACEOF
21984
21985 fi
21986
21987
21988
21989
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21991 $as_echo_n "checking for lroundl... " >&6; }
21992 if ${gcc_cv_math_func_lroundl+:} false; then :
21993 $as_echo_n "(cached) " >&6
21994 else
21995 if test x$gcc_no_link = xyes; then
21996 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21997 fi
21998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21999 /* end confdefs.h. */
22000
22001 #ifdef HAVE_COMPLEX_H
22002 #include <complex.h>
22003 #endif
22004 #ifdef HAVE_MATH_H
22005 #include <math.h>
22006 #endif
22007
22008 int (*ptr)() = (int (*)())lroundl;
22009
22010 int
22011 main ()
22012 {
22013 return 0;
22014 }
22015
22016 _ACEOF
22017 if ac_fn_c_try_link "$LINENO"; then :
22018 gcc_cv_math_func_lroundl=yes
22019 else
22020 gcc_cv_math_func_lroundl=no
22021 fi
22022 rm -f core conftest.err conftest.$ac_objext \
22023 conftest$ac_exeext conftest.$ac_ext
22024 fi
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22026 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22027 if test $gcc_cv_math_func_lroundl = yes; then
22028
22029 cat >>confdefs.h <<_ACEOF
22030 #define HAVE_LROUNDL 1
22031 _ACEOF
22032
22033 fi
22034
22035
22036
22037
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22039 $as_echo_n "checking for llroundf... " >&6; }
22040 if ${gcc_cv_math_func_llroundf+:} false; then :
22041 $as_echo_n "(cached) " >&6
22042 else
22043 if test x$gcc_no_link = xyes; then
22044 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22045 fi
22046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22047 /* end confdefs.h. */
22048
22049 #ifdef HAVE_COMPLEX_H
22050 #include <complex.h>
22051 #endif
22052 #ifdef HAVE_MATH_H
22053 #include <math.h>
22054 #endif
22055
22056 int (*ptr)() = (int (*)())llroundf;
22057
22058 int
22059 main ()
22060 {
22061 return 0;
22062 }
22063
22064 _ACEOF
22065 if ac_fn_c_try_link "$LINENO"; then :
22066 gcc_cv_math_func_llroundf=yes
22067 else
22068 gcc_cv_math_func_llroundf=no
22069 fi
22070 rm -f core conftest.err conftest.$ac_objext \
22071 conftest$ac_exeext conftest.$ac_ext
22072 fi
22073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22074 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22075 if test $gcc_cv_math_func_llroundf = yes; then
22076
22077 cat >>confdefs.h <<_ACEOF
22078 #define HAVE_LLROUNDF 1
22079 _ACEOF
22080
22081 fi
22082
22083
22084
22085
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22087 $as_echo_n "checking for llround... " >&6; }
22088 if ${gcc_cv_math_func_llround+:} false; then :
22089 $as_echo_n "(cached) " >&6
22090 else
22091 if test x$gcc_no_link = xyes; then
22092 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22093 fi
22094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22095 /* end confdefs.h. */
22096
22097 #ifdef HAVE_COMPLEX_H
22098 #include <complex.h>
22099 #endif
22100 #ifdef HAVE_MATH_H
22101 #include <math.h>
22102 #endif
22103
22104 int (*ptr)() = (int (*)())llround;
22105
22106 int
22107 main ()
22108 {
22109 return 0;
22110 }
22111
22112 _ACEOF
22113 if ac_fn_c_try_link "$LINENO"; then :
22114 gcc_cv_math_func_llround=yes
22115 else
22116 gcc_cv_math_func_llround=no
22117 fi
22118 rm -f core conftest.err conftest.$ac_objext \
22119 conftest$ac_exeext conftest.$ac_ext
22120 fi
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22122 $as_echo "$gcc_cv_math_func_llround" >&6; }
22123 if test $gcc_cv_math_func_llround = yes; then
22124
22125 cat >>confdefs.h <<_ACEOF
22126 #define HAVE_LLROUND 1
22127 _ACEOF
22128
22129 fi
22130
22131
22132
22133
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22135 $as_echo_n "checking for llroundl... " >&6; }
22136 if ${gcc_cv_math_func_llroundl+:} false; then :
22137 $as_echo_n "(cached) " >&6
22138 else
22139 if test x$gcc_no_link = xyes; then
22140 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22141 fi
22142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22143 /* end confdefs.h. */
22144
22145 #ifdef HAVE_COMPLEX_H
22146 #include <complex.h>
22147 #endif
22148 #ifdef HAVE_MATH_H
22149 #include <math.h>
22150 #endif
22151
22152 int (*ptr)() = (int (*)())llroundl;
22153
22154 int
22155 main ()
22156 {
22157 return 0;
22158 }
22159
22160 _ACEOF
22161 if ac_fn_c_try_link "$LINENO"; then :
22162 gcc_cv_math_func_llroundl=yes
22163 else
22164 gcc_cv_math_func_llroundl=no
22165 fi
22166 rm -f core conftest.err conftest.$ac_objext \
22167 conftest$ac_exeext conftest.$ac_ext
22168 fi
22169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22170 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22171 if test $gcc_cv_math_func_llroundl = yes; then
22172
22173 cat >>confdefs.h <<_ACEOF
22174 #define HAVE_LLROUNDL 1
22175 _ACEOF
22176
22177 fi
22178
22179
22180
22181
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22183 $as_echo_n "checking for scalbnf... " >&6; }
22184 if ${gcc_cv_math_func_scalbnf+:} false; then :
22185 $as_echo_n "(cached) " >&6
22186 else
22187 if test x$gcc_no_link = xyes; then
22188 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22189 fi
22190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22191 /* end confdefs.h. */
22192
22193 #ifdef HAVE_COMPLEX_H
22194 #include <complex.h>
22195 #endif
22196 #ifdef HAVE_MATH_H
22197 #include <math.h>
22198 #endif
22199
22200 int (*ptr)() = (int (*)())scalbnf;
22201
22202 int
22203 main ()
22204 {
22205 return 0;
22206 }
22207
22208 _ACEOF
22209 if ac_fn_c_try_link "$LINENO"; then :
22210 gcc_cv_math_func_scalbnf=yes
22211 else
22212 gcc_cv_math_func_scalbnf=no
22213 fi
22214 rm -f core conftest.err conftest.$ac_objext \
22215 conftest$ac_exeext conftest.$ac_ext
22216 fi
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22218 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22219 if test $gcc_cv_math_func_scalbnf = yes; then
22220
22221 cat >>confdefs.h <<_ACEOF
22222 #define HAVE_SCALBNF 1
22223 _ACEOF
22224
22225 fi
22226
22227
22228
22229
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22231 $as_echo_n "checking for scalbn... " >&6; }
22232 if ${gcc_cv_math_func_scalbn+:} false; then :
22233 $as_echo_n "(cached) " >&6
22234 else
22235 if test x$gcc_no_link = xyes; then
22236 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22237 fi
22238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22239 /* end confdefs.h. */
22240
22241 #ifdef HAVE_COMPLEX_H
22242 #include <complex.h>
22243 #endif
22244 #ifdef HAVE_MATH_H
22245 #include <math.h>
22246 #endif
22247
22248 int (*ptr)() = (int (*)())scalbn;
22249
22250 int
22251 main ()
22252 {
22253 return 0;
22254 }
22255
22256 _ACEOF
22257 if ac_fn_c_try_link "$LINENO"; then :
22258 gcc_cv_math_func_scalbn=yes
22259 else
22260 gcc_cv_math_func_scalbn=no
22261 fi
22262 rm -f core conftest.err conftest.$ac_objext \
22263 conftest$ac_exeext conftest.$ac_ext
22264 fi
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22266 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22267 if test $gcc_cv_math_func_scalbn = yes; then
22268
22269 cat >>confdefs.h <<_ACEOF
22270 #define HAVE_SCALBN 1
22271 _ACEOF
22272
22273 fi
22274
22275
22276
22277
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22279 $as_echo_n "checking for scalbnl... " >&6; }
22280 if ${gcc_cv_math_func_scalbnl+:} false; then :
22281 $as_echo_n "(cached) " >&6
22282 else
22283 if test x$gcc_no_link = xyes; then
22284 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22285 fi
22286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22287 /* end confdefs.h. */
22288
22289 #ifdef HAVE_COMPLEX_H
22290 #include <complex.h>
22291 #endif
22292 #ifdef HAVE_MATH_H
22293 #include <math.h>
22294 #endif
22295
22296 int (*ptr)() = (int (*)())scalbnl;
22297
22298 int
22299 main ()
22300 {
22301 return 0;
22302 }
22303
22304 _ACEOF
22305 if ac_fn_c_try_link "$LINENO"; then :
22306 gcc_cv_math_func_scalbnl=yes
22307 else
22308 gcc_cv_math_func_scalbnl=no
22309 fi
22310 rm -f core conftest.err conftest.$ac_objext \
22311 conftest$ac_exeext conftest.$ac_ext
22312 fi
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22314 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22315 if test $gcc_cv_math_func_scalbnl = yes; then
22316
22317 cat >>confdefs.h <<_ACEOF
22318 #define HAVE_SCALBNL 1
22319 _ACEOF
22320
22321 fi
22322
22323
22324
22325
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22327 $as_echo_n "checking for sinf... " >&6; }
22328 if ${gcc_cv_math_func_sinf+:} false; then :
22329 $as_echo_n "(cached) " >&6
22330 else
22331 if test x$gcc_no_link = xyes; then
22332 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22333 fi
22334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22335 /* end confdefs.h. */
22336
22337 #ifdef HAVE_COMPLEX_H
22338 #include <complex.h>
22339 #endif
22340 #ifdef HAVE_MATH_H
22341 #include <math.h>
22342 #endif
22343
22344 int (*ptr)() = (int (*)())sinf;
22345
22346 int
22347 main ()
22348 {
22349 return 0;
22350 }
22351
22352 _ACEOF
22353 if ac_fn_c_try_link "$LINENO"; then :
22354 gcc_cv_math_func_sinf=yes
22355 else
22356 gcc_cv_math_func_sinf=no
22357 fi
22358 rm -f core conftest.err conftest.$ac_objext \
22359 conftest$ac_exeext conftest.$ac_ext
22360 fi
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22362 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22363 if test $gcc_cv_math_func_sinf = yes; then
22364
22365 cat >>confdefs.h <<_ACEOF
22366 #define HAVE_SINF 1
22367 _ACEOF
22368
22369 fi
22370
22371
22372
22373
22374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22375 $as_echo_n "checking for sin... " >&6; }
22376 if ${gcc_cv_math_func_sin+:} false; then :
22377 $as_echo_n "(cached) " >&6
22378 else
22379 if test x$gcc_no_link = xyes; then
22380 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22381 fi
22382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22383 /* end confdefs.h. */
22384
22385 #ifdef HAVE_COMPLEX_H
22386 #include <complex.h>
22387 #endif
22388 #ifdef HAVE_MATH_H
22389 #include <math.h>
22390 #endif
22391
22392 int (*ptr)() = (int (*)())sin;
22393
22394 int
22395 main ()
22396 {
22397 return 0;
22398 }
22399
22400 _ACEOF
22401 if ac_fn_c_try_link "$LINENO"; then :
22402 gcc_cv_math_func_sin=yes
22403 else
22404 gcc_cv_math_func_sin=no
22405 fi
22406 rm -f core conftest.err conftest.$ac_objext \
22407 conftest$ac_exeext conftest.$ac_ext
22408 fi
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22410 $as_echo "$gcc_cv_math_func_sin" >&6; }
22411 if test $gcc_cv_math_func_sin = yes; then
22412
22413 cat >>confdefs.h <<_ACEOF
22414 #define HAVE_SIN 1
22415 _ACEOF
22416
22417 fi
22418
22419
22420
22421
22422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22423 $as_echo_n "checking for sinl... " >&6; }
22424 if ${gcc_cv_math_func_sinl+:} false; then :
22425 $as_echo_n "(cached) " >&6
22426 else
22427 if test x$gcc_no_link = xyes; then
22428 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22429 fi
22430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22431 /* end confdefs.h. */
22432
22433 #ifdef HAVE_COMPLEX_H
22434 #include <complex.h>
22435 #endif
22436 #ifdef HAVE_MATH_H
22437 #include <math.h>
22438 #endif
22439
22440 int (*ptr)() = (int (*)())sinl;
22441
22442 int
22443 main ()
22444 {
22445 return 0;
22446 }
22447
22448 _ACEOF
22449 if ac_fn_c_try_link "$LINENO"; then :
22450 gcc_cv_math_func_sinl=yes
22451 else
22452 gcc_cv_math_func_sinl=no
22453 fi
22454 rm -f core conftest.err conftest.$ac_objext \
22455 conftest$ac_exeext conftest.$ac_ext
22456 fi
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22458 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22459 if test $gcc_cv_math_func_sinl = yes; then
22460
22461 cat >>confdefs.h <<_ACEOF
22462 #define HAVE_SINL 1
22463 _ACEOF
22464
22465 fi
22466
22467
22468
22469
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22471 $as_echo_n "checking for csinf... " >&6; }
22472 if ${gcc_cv_math_func_csinf+:} false; then :
22473 $as_echo_n "(cached) " >&6
22474 else
22475 if test x$gcc_no_link = xyes; then
22476 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22477 fi
22478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22479 /* end confdefs.h. */
22480
22481 #ifdef HAVE_COMPLEX_H
22482 #include <complex.h>
22483 #endif
22484 #ifdef HAVE_MATH_H
22485 #include <math.h>
22486 #endif
22487
22488 int (*ptr)() = (int (*)())csinf;
22489
22490 int
22491 main ()
22492 {
22493 return 0;
22494 }
22495
22496 _ACEOF
22497 if ac_fn_c_try_link "$LINENO"; then :
22498 gcc_cv_math_func_csinf=yes
22499 else
22500 gcc_cv_math_func_csinf=no
22501 fi
22502 rm -f core conftest.err conftest.$ac_objext \
22503 conftest$ac_exeext conftest.$ac_ext
22504 fi
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22506 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22507 if test $gcc_cv_math_func_csinf = yes; then
22508
22509 cat >>confdefs.h <<_ACEOF
22510 #define HAVE_CSINF 1
22511 _ACEOF
22512
22513 fi
22514
22515
22516
22517
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22519 $as_echo_n "checking for csin... " >&6; }
22520 if ${gcc_cv_math_func_csin+:} false; then :
22521 $as_echo_n "(cached) " >&6
22522 else
22523 if test x$gcc_no_link = xyes; then
22524 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22525 fi
22526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22527 /* end confdefs.h. */
22528
22529 #ifdef HAVE_COMPLEX_H
22530 #include <complex.h>
22531 #endif
22532 #ifdef HAVE_MATH_H
22533 #include <math.h>
22534 #endif
22535
22536 int (*ptr)() = (int (*)())csin;
22537
22538 int
22539 main ()
22540 {
22541 return 0;
22542 }
22543
22544 _ACEOF
22545 if ac_fn_c_try_link "$LINENO"; then :
22546 gcc_cv_math_func_csin=yes
22547 else
22548 gcc_cv_math_func_csin=no
22549 fi
22550 rm -f core conftest.err conftest.$ac_objext \
22551 conftest$ac_exeext conftest.$ac_ext
22552 fi
22553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22554 $as_echo "$gcc_cv_math_func_csin" >&6; }
22555 if test $gcc_cv_math_func_csin = yes; then
22556
22557 cat >>confdefs.h <<_ACEOF
22558 #define HAVE_CSIN 1
22559 _ACEOF
22560
22561 fi
22562
22563
22564
22565
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22567 $as_echo_n "checking for csinl... " >&6; }
22568 if ${gcc_cv_math_func_csinl+:} false; then :
22569 $as_echo_n "(cached) " >&6
22570 else
22571 if test x$gcc_no_link = xyes; then
22572 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22573 fi
22574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22575 /* end confdefs.h. */
22576
22577 #ifdef HAVE_COMPLEX_H
22578 #include <complex.h>
22579 #endif
22580 #ifdef HAVE_MATH_H
22581 #include <math.h>
22582 #endif
22583
22584 int (*ptr)() = (int (*)())csinl;
22585
22586 int
22587 main ()
22588 {
22589 return 0;
22590 }
22591
22592 _ACEOF
22593 if ac_fn_c_try_link "$LINENO"; then :
22594 gcc_cv_math_func_csinl=yes
22595 else
22596 gcc_cv_math_func_csinl=no
22597 fi
22598 rm -f core conftest.err conftest.$ac_objext \
22599 conftest$ac_exeext conftest.$ac_ext
22600 fi
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22602 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22603 if test $gcc_cv_math_func_csinl = yes; then
22604
22605 cat >>confdefs.h <<_ACEOF
22606 #define HAVE_CSINL 1
22607 _ACEOF
22608
22609 fi
22610
22611
22612
22613
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22615 $as_echo_n "checking for sinhf... " >&6; }
22616 if ${gcc_cv_math_func_sinhf+:} false; then :
22617 $as_echo_n "(cached) " >&6
22618 else
22619 if test x$gcc_no_link = xyes; then
22620 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22621 fi
22622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22623 /* end confdefs.h. */
22624
22625 #ifdef HAVE_COMPLEX_H
22626 #include <complex.h>
22627 #endif
22628 #ifdef HAVE_MATH_H
22629 #include <math.h>
22630 #endif
22631
22632 int (*ptr)() = (int (*)())sinhf;
22633
22634 int
22635 main ()
22636 {
22637 return 0;
22638 }
22639
22640 _ACEOF
22641 if ac_fn_c_try_link "$LINENO"; then :
22642 gcc_cv_math_func_sinhf=yes
22643 else
22644 gcc_cv_math_func_sinhf=no
22645 fi
22646 rm -f core conftest.err conftest.$ac_objext \
22647 conftest$ac_exeext conftest.$ac_ext
22648 fi
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22650 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22651 if test $gcc_cv_math_func_sinhf = yes; then
22652
22653 cat >>confdefs.h <<_ACEOF
22654 #define HAVE_SINHF 1
22655 _ACEOF
22656
22657 fi
22658
22659
22660
22661
22662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22663 $as_echo_n "checking for sinh... " >&6; }
22664 if ${gcc_cv_math_func_sinh+:} false; then :
22665 $as_echo_n "(cached) " >&6
22666 else
22667 if test x$gcc_no_link = xyes; then
22668 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22669 fi
22670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22671 /* end confdefs.h. */
22672
22673 #ifdef HAVE_COMPLEX_H
22674 #include <complex.h>
22675 #endif
22676 #ifdef HAVE_MATH_H
22677 #include <math.h>
22678 #endif
22679
22680 int (*ptr)() = (int (*)())sinh;
22681
22682 int
22683 main ()
22684 {
22685 return 0;
22686 }
22687
22688 _ACEOF
22689 if ac_fn_c_try_link "$LINENO"; then :
22690 gcc_cv_math_func_sinh=yes
22691 else
22692 gcc_cv_math_func_sinh=no
22693 fi
22694 rm -f core conftest.err conftest.$ac_objext \
22695 conftest$ac_exeext conftest.$ac_ext
22696 fi
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22698 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22699 if test $gcc_cv_math_func_sinh = yes; then
22700
22701 cat >>confdefs.h <<_ACEOF
22702 #define HAVE_SINH 1
22703 _ACEOF
22704
22705 fi
22706
22707
22708
22709
22710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22711 $as_echo_n "checking for sinhl... " >&6; }
22712 if ${gcc_cv_math_func_sinhl+:} false; then :
22713 $as_echo_n "(cached) " >&6
22714 else
22715 if test x$gcc_no_link = xyes; then
22716 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22717 fi
22718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h. */
22720
22721 #ifdef HAVE_COMPLEX_H
22722 #include <complex.h>
22723 #endif
22724 #ifdef HAVE_MATH_H
22725 #include <math.h>
22726 #endif
22727
22728 int (*ptr)() = (int (*)())sinhl;
22729
22730 int
22731 main ()
22732 {
22733 return 0;
22734 }
22735
22736 _ACEOF
22737 if ac_fn_c_try_link "$LINENO"; then :
22738 gcc_cv_math_func_sinhl=yes
22739 else
22740 gcc_cv_math_func_sinhl=no
22741 fi
22742 rm -f core conftest.err conftest.$ac_objext \
22743 conftest$ac_exeext conftest.$ac_ext
22744 fi
22745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22746 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22747 if test $gcc_cv_math_func_sinhl = yes; then
22748
22749 cat >>confdefs.h <<_ACEOF
22750 #define HAVE_SINHL 1
22751 _ACEOF
22752
22753 fi
22754
22755
22756
22757
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22759 $as_echo_n "checking for csinhf... " >&6; }
22760 if ${gcc_cv_math_func_csinhf+:} false; then :
22761 $as_echo_n "(cached) " >&6
22762 else
22763 if test x$gcc_no_link = xyes; then
22764 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22765 fi
22766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22767 /* end confdefs.h. */
22768
22769 #ifdef HAVE_COMPLEX_H
22770 #include <complex.h>
22771 #endif
22772 #ifdef HAVE_MATH_H
22773 #include <math.h>
22774 #endif
22775
22776 int (*ptr)() = (int (*)())csinhf;
22777
22778 int
22779 main ()
22780 {
22781 return 0;
22782 }
22783
22784 _ACEOF
22785 if ac_fn_c_try_link "$LINENO"; then :
22786 gcc_cv_math_func_csinhf=yes
22787 else
22788 gcc_cv_math_func_csinhf=no
22789 fi
22790 rm -f core conftest.err conftest.$ac_objext \
22791 conftest$ac_exeext conftest.$ac_ext
22792 fi
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22794 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22795 if test $gcc_cv_math_func_csinhf = yes; then
22796
22797 cat >>confdefs.h <<_ACEOF
22798 #define HAVE_CSINHF 1
22799 _ACEOF
22800
22801 fi
22802
22803
22804
22805
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22807 $as_echo_n "checking for csinh... " >&6; }
22808 if ${gcc_cv_math_func_csinh+:} false; then :
22809 $as_echo_n "(cached) " >&6
22810 else
22811 if test x$gcc_no_link = xyes; then
22812 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22813 fi
22814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22815 /* end confdefs.h. */
22816
22817 #ifdef HAVE_COMPLEX_H
22818 #include <complex.h>
22819 #endif
22820 #ifdef HAVE_MATH_H
22821 #include <math.h>
22822 #endif
22823
22824 int (*ptr)() = (int (*)())csinh;
22825
22826 int
22827 main ()
22828 {
22829 return 0;
22830 }
22831
22832 _ACEOF
22833 if ac_fn_c_try_link "$LINENO"; then :
22834 gcc_cv_math_func_csinh=yes
22835 else
22836 gcc_cv_math_func_csinh=no
22837 fi
22838 rm -f core conftest.err conftest.$ac_objext \
22839 conftest$ac_exeext conftest.$ac_ext
22840 fi
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22842 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22843 if test $gcc_cv_math_func_csinh = yes; then
22844
22845 cat >>confdefs.h <<_ACEOF
22846 #define HAVE_CSINH 1
22847 _ACEOF
22848
22849 fi
22850
22851
22852
22853
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22855 $as_echo_n "checking for csinhl... " >&6; }
22856 if ${gcc_cv_math_func_csinhl+:} false; then :
22857 $as_echo_n "(cached) " >&6
22858 else
22859 if test x$gcc_no_link = xyes; then
22860 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22861 fi
22862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22863 /* end confdefs.h. */
22864
22865 #ifdef HAVE_COMPLEX_H
22866 #include <complex.h>
22867 #endif
22868 #ifdef HAVE_MATH_H
22869 #include <math.h>
22870 #endif
22871
22872 int (*ptr)() = (int (*)())csinhl;
22873
22874 int
22875 main ()
22876 {
22877 return 0;
22878 }
22879
22880 _ACEOF
22881 if ac_fn_c_try_link "$LINENO"; then :
22882 gcc_cv_math_func_csinhl=yes
22883 else
22884 gcc_cv_math_func_csinhl=no
22885 fi
22886 rm -f core conftest.err conftest.$ac_objext \
22887 conftest$ac_exeext conftest.$ac_ext
22888 fi
22889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22890 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22891 if test $gcc_cv_math_func_csinhl = yes; then
22892
22893 cat >>confdefs.h <<_ACEOF
22894 #define HAVE_CSINHL 1
22895 _ACEOF
22896
22897 fi
22898
22899
22900
22901
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22903 $as_echo_n "checking for sqrtf... " >&6; }
22904 if ${gcc_cv_math_func_sqrtf+:} false; then :
22905 $as_echo_n "(cached) " >&6
22906 else
22907 if test x$gcc_no_link = xyes; then
22908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22909 fi
22910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22911 /* end confdefs.h. */
22912
22913 #ifdef HAVE_COMPLEX_H
22914 #include <complex.h>
22915 #endif
22916 #ifdef HAVE_MATH_H
22917 #include <math.h>
22918 #endif
22919
22920 int (*ptr)() = (int (*)())sqrtf;
22921
22922 int
22923 main ()
22924 {
22925 return 0;
22926 }
22927
22928 _ACEOF
22929 if ac_fn_c_try_link "$LINENO"; then :
22930 gcc_cv_math_func_sqrtf=yes
22931 else
22932 gcc_cv_math_func_sqrtf=no
22933 fi
22934 rm -f core conftest.err conftest.$ac_objext \
22935 conftest$ac_exeext conftest.$ac_ext
22936 fi
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22938 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22939 if test $gcc_cv_math_func_sqrtf = yes; then
22940
22941 cat >>confdefs.h <<_ACEOF
22942 #define HAVE_SQRTF 1
22943 _ACEOF
22944
22945 fi
22946
22947
22948
22949
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22951 $as_echo_n "checking for sqrt... " >&6; }
22952 if ${gcc_cv_math_func_sqrt+:} false; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22955 if test x$gcc_no_link = xyes; then
22956 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22957 fi
22958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22959 /* end confdefs.h. */
22960
22961 #ifdef HAVE_COMPLEX_H
22962 #include <complex.h>
22963 #endif
22964 #ifdef HAVE_MATH_H
22965 #include <math.h>
22966 #endif
22967
22968 int (*ptr)() = (int (*)())sqrt;
22969
22970 int
22971 main ()
22972 {
22973 return 0;
22974 }
22975
22976 _ACEOF
22977 if ac_fn_c_try_link "$LINENO"; then :
22978 gcc_cv_math_func_sqrt=yes
22979 else
22980 gcc_cv_math_func_sqrt=no
22981 fi
22982 rm -f core conftest.err conftest.$ac_objext \
22983 conftest$ac_exeext conftest.$ac_ext
22984 fi
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22986 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22987 if test $gcc_cv_math_func_sqrt = yes; then
22988
22989 cat >>confdefs.h <<_ACEOF
22990 #define HAVE_SQRT 1
22991 _ACEOF
22992
22993 fi
22994
22995
22996
22997
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22999 $as_echo_n "checking for sqrtl... " >&6; }
23000 if ${gcc_cv_math_func_sqrtl+:} false; then :
23001 $as_echo_n "(cached) " >&6
23002 else
23003 if test x$gcc_no_link = xyes; then
23004 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23005 fi
23006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23007 /* end confdefs.h. */
23008
23009 #ifdef HAVE_COMPLEX_H
23010 #include <complex.h>
23011 #endif
23012 #ifdef HAVE_MATH_H
23013 #include <math.h>
23014 #endif
23015
23016 int (*ptr)() = (int (*)())sqrtl;
23017
23018 int
23019 main ()
23020 {
23021 return 0;
23022 }
23023
23024 _ACEOF
23025 if ac_fn_c_try_link "$LINENO"; then :
23026 gcc_cv_math_func_sqrtl=yes
23027 else
23028 gcc_cv_math_func_sqrtl=no
23029 fi
23030 rm -f core conftest.err conftest.$ac_objext \
23031 conftest$ac_exeext conftest.$ac_ext
23032 fi
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23034 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23035 if test $gcc_cv_math_func_sqrtl = yes; then
23036
23037 cat >>confdefs.h <<_ACEOF
23038 #define HAVE_SQRTL 1
23039 _ACEOF
23040
23041 fi
23042
23043
23044
23045
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23047 $as_echo_n "checking for csqrtf... " >&6; }
23048 if ${gcc_cv_math_func_csqrtf+:} false; then :
23049 $as_echo_n "(cached) " >&6
23050 else
23051 if test x$gcc_no_link = xyes; then
23052 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23053 fi
23054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23055 /* end confdefs.h. */
23056
23057 #ifdef HAVE_COMPLEX_H
23058 #include <complex.h>
23059 #endif
23060 #ifdef HAVE_MATH_H
23061 #include <math.h>
23062 #endif
23063
23064 int (*ptr)() = (int (*)())csqrtf;
23065
23066 int
23067 main ()
23068 {
23069 return 0;
23070 }
23071
23072 _ACEOF
23073 if ac_fn_c_try_link "$LINENO"; then :
23074 gcc_cv_math_func_csqrtf=yes
23075 else
23076 gcc_cv_math_func_csqrtf=no
23077 fi
23078 rm -f core conftest.err conftest.$ac_objext \
23079 conftest$ac_exeext conftest.$ac_ext
23080 fi
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23082 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23083 if test $gcc_cv_math_func_csqrtf = yes; then
23084
23085 cat >>confdefs.h <<_ACEOF
23086 #define HAVE_CSQRTF 1
23087 _ACEOF
23088
23089 fi
23090
23091
23092
23093
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23095 $as_echo_n "checking for csqrt... " >&6; }
23096 if ${gcc_cv_math_func_csqrt+:} false; then :
23097 $as_echo_n "(cached) " >&6
23098 else
23099 if test x$gcc_no_link = xyes; then
23100 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23101 fi
23102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23103 /* end confdefs.h. */
23104
23105 #ifdef HAVE_COMPLEX_H
23106 #include <complex.h>
23107 #endif
23108 #ifdef HAVE_MATH_H
23109 #include <math.h>
23110 #endif
23111
23112 int (*ptr)() = (int (*)())csqrt;
23113
23114 int
23115 main ()
23116 {
23117 return 0;
23118 }
23119
23120 _ACEOF
23121 if ac_fn_c_try_link "$LINENO"; then :
23122 gcc_cv_math_func_csqrt=yes
23123 else
23124 gcc_cv_math_func_csqrt=no
23125 fi
23126 rm -f core conftest.err conftest.$ac_objext \
23127 conftest$ac_exeext conftest.$ac_ext
23128 fi
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23130 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23131 if test $gcc_cv_math_func_csqrt = yes; then
23132
23133 cat >>confdefs.h <<_ACEOF
23134 #define HAVE_CSQRT 1
23135 _ACEOF
23136
23137 fi
23138
23139
23140
23141
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23143 $as_echo_n "checking for csqrtl... " >&6; }
23144 if ${gcc_cv_math_func_csqrtl+:} false; then :
23145 $as_echo_n "(cached) " >&6
23146 else
23147 if test x$gcc_no_link = xyes; then
23148 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23149 fi
23150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 /* end confdefs.h. */
23152
23153 #ifdef HAVE_COMPLEX_H
23154 #include <complex.h>
23155 #endif
23156 #ifdef HAVE_MATH_H
23157 #include <math.h>
23158 #endif
23159
23160 int (*ptr)() = (int (*)())csqrtl;
23161
23162 int
23163 main ()
23164 {
23165 return 0;
23166 }
23167
23168 _ACEOF
23169 if ac_fn_c_try_link "$LINENO"; then :
23170 gcc_cv_math_func_csqrtl=yes
23171 else
23172 gcc_cv_math_func_csqrtl=no
23173 fi
23174 rm -f core conftest.err conftest.$ac_objext \
23175 conftest$ac_exeext conftest.$ac_ext
23176 fi
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23178 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23179 if test $gcc_cv_math_func_csqrtl = yes; then
23180
23181 cat >>confdefs.h <<_ACEOF
23182 #define HAVE_CSQRTL 1
23183 _ACEOF
23184
23185 fi
23186
23187
23188
23189
23190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23191 $as_echo_n "checking for tanf... " >&6; }
23192 if ${gcc_cv_math_func_tanf+:} false; then :
23193 $as_echo_n "(cached) " >&6
23194 else
23195 if test x$gcc_no_link = xyes; then
23196 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23197 fi
23198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23199 /* end confdefs.h. */
23200
23201 #ifdef HAVE_COMPLEX_H
23202 #include <complex.h>
23203 #endif
23204 #ifdef HAVE_MATH_H
23205 #include <math.h>
23206 #endif
23207
23208 int (*ptr)() = (int (*)())tanf;
23209
23210 int
23211 main ()
23212 {
23213 return 0;
23214 }
23215
23216 _ACEOF
23217 if ac_fn_c_try_link "$LINENO"; then :
23218 gcc_cv_math_func_tanf=yes
23219 else
23220 gcc_cv_math_func_tanf=no
23221 fi
23222 rm -f core conftest.err conftest.$ac_objext \
23223 conftest$ac_exeext conftest.$ac_ext
23224 fi
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23226 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23227 if test $gcc_cv_math_func_tanf = yes; then
23228
23229 cat >>confdefs.h <<_ACEOF
23230 #define HAVE_TANF 1
23231 _ACEOF
23232
23233 fi
23234
23235
23236
23237
23238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23239 $as_echo_n "checking for tan... " >&6; }
23240 if ${gcc_cv_math_func_tan+:} false; then :
23241 $as_echo_n "(cached) " >&6
23242 else
23243 if test x$gcc_no_link = xyes; then
23244 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23245 fi
23246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23247 /* end confdefs.h. */
23248
23249 #ifdef HAVE_COMPLEX_H
23250 #include <complex.h>
23251 #endif
23252 #ifdef HAVE_MATH_H
23253 #include <math.h>
23254 #endif
23255
23256 int (*ptr)() = (int (*)())tan;
23257
23258 int
23259 main ()
23260 {
23261 return 0;
23262 }
23263
23264 _ACEOF
23265 if ac_fn_c_try_link "$LINENO"; then :
23266 gcc_cv_math_func_tan=yes
23267 else
23268 gcc_cv_math_func_tan=no
23269 fi
23270 rm -f core conftest.err conftest.$ac_objext \
23271 conftest$ac_exeext conftest.$ac_ext
23272 fi
23273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23274 $as_echo "$gcc_cv_math_func_tan" >&6; }
23275 if test $gcc_cv_math_func_tan = yes; then
23276
23277 cat >>confdefs.h <<_ACEOF
23278 #define HAVE_TAN 1
23279 _ACEOF
23280
23281 fi
23282
23283
23284
23285
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23287 $as_echo_n "checking for tanl... " >&6; }
23288 if ${gcc_cv_math_func_tanl+:} false; then :
23289 $as_echo_n "(cached) " >&6
23290 else
23291 if test x$gcc_no_link = xyes; then
23292 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23293 fi
23294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23295 /* end confdefs.h. */
23296
23297 #ifdef HAVE_COMPLEX_H
23298 #include <complex.h>
23299 #endif
23300 #ifdef HAVE_MATH_H
23301 #include <math.h>
23302 #endif
23303
23304 int (*ptr)() = (int (*)())tanl;
23305
23306 int
23307 main ()
23308 {
23309 return 0;
23310 }
23311
23312 _ACEOF
23313 if ac_fn_c_try_link "$LINENO"; then :
23314 gcc_cv_math_func_tanl=yes
23315 else
23316 gcc_cv_math_func_tanl=no
23317 fi
23318 rm -f core conftest.err conftest.$ac_objext \
23319 conftest$ac_exeext conftest.$ac_ext
23320 fi
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23322 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23323 if test $gcc_cv_math_func_tanl = yes; then
23324
23325 cat >>confdefs.h <<_ACEOF
23326 #define HAVE_TANL 1
23327 _ACEOF
23328
23329 fi
23330
23331
23332
23333
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23335 $as_echo_n "checking for ctanf... " >&6; }
23336 if ${gcc_cv_math_func_ctanf+:} false; then :
23337 $as_echo_n "(cached) " >&6
23338 else
23339 if test x$gcc_no_link = xyes; then
23340 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23341 fi
23342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23343 /* end confdefs.h. */
23344
23345 #ifdef HAVE_COMPLEX_H
23346 #include <complex.h>
23347 #endif
23348 #ifdef HAVE_MATH_H
23349 #include <math.h>
23350 #endif
23351
23352 int (*ptr)() = (int (*)())ctanf;
23353
23354 int
23355 main ()
23356 {
23357 return 0;
23358 }
23359
23360 _ACEOF
23361 if ac_fn_c_try_link "$LINENO"; then :
23362 gcc_cv_math_func_ctanf=yes
23363 else
23364 gcc_cv_math_func_ctanf=no
23365 fi
23366 rm -f core conftest.err conftest.$ac_objext \
23367 conftest$ac_exeext conftest.$ac_ext
23368 fi
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23370 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23371 if test $gcc_cv_math_func_ctanf = yes; then
23372
23373 cat >>confdefs.h <<_ACEOF
23374 #define HAVE_CTANF 1
23375 _ACEOF
23376
23377 fi
23378
23379
23380
23381
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23383 $as_echo_n "checking for ctan... " >&6; }
23384 if ${gcc_cv_math_func_ctan+:} false; then :
23385 $as_echo_n "(cached) " >&6
23386 else
23387 if test x$gcc_no_link = xyes; then
23388 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23389 fi
23390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23391 /* end confdefs.h. */
23392
23393 #ifdef HAVE_COMPLEX_H
23394 #include <complex.h>
23395 #endif
23396 #ifdef HAVE_MATH_H
23397 #include <math.h>
23398 #endif
23399
23400 int (*ptr)() = (int (*)())ctan;
23401
23402 int
23403 main ()
23404 {
23405 return 0;
23406 }
23407
23408 _ACEOF
23409 if ac_fn_c_try_link "$LINENO"; then :
23410 gcc_cv_math_func_ctan=yes
23411 else
23412 gcc_cv_math_func_ctan=no
23413 fi
23414 rm -f core conftest.err conftest.$ac_objext \
23415 conftest$ac_exeext conftest.$ac_ext
23416 fi
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23418 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23419 if test $gcc_cv_math_func_ctan = yes; then
23420
23421 cat >>confdefs.h <<_ACEOF
23422 #define HAVE_CTAN 1
23423 _ACEOF
23424
23425 fi
23426
23427
23428
23429
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23431 $as_echo_n "checking for ctanl... " >&6; }
23432 if ${gcc_cv_math_func_ctanl+:} false; then :
23433 $as_echo_n "(cached) " >&6
23434 else
23435 if test x$gcc_no_link = xyes; then
23436 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23437 fi
23438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23439 /* end confdefs.h. */
23440
23441 #ifdef HAVE_COMPLEX_H
23442 #include <complex.h>
23443 #endif
23444 #ifdef HAVE_MATH_H
23445 #include <math.h>
23446 #endif
23447
23448 int (*ptr)() = (int (*)())ctanl;
23449
23450 int
23451 main ()
23452 {
23453 return 0;
23454 }
23455
23456 _ACEOF
23457 if ac_fn_c_try_link "$LINENO"; then :
23458 gcc_cv_math_func_ctanl=yes
23459 else
23460 gcc_cv_math_func_ctanl=no
23461 fi
23462 rm -f core conftest.err conftest.$ac_objext \
23463 conftest$ac_exeext conftest.$ac_ext
23464 fi
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23466 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23467 if test $gcc_cv_math_func_ctanl = yes; then
23468
23469 cat >>confdefs.h <<_ACEOF
23470 #define HAVE_CTANL 1
23471 _ACEOF
23472
23473 fi
23474
23475
23476
23477
23478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23479 $as_echo_n "checking for tanhf... " >&6; }
23480 if ${gcc_cv_math_func_tanhf+:} false; then :
23481 $as_echo_n "(cached) " >&6
23482 else
23483 if test x$gcc_no_link = xyes; then
23484 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23485 fi
23486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23487 /* end confdefs.h. */
23488
23489 #ifdef HAVE_COMPLEX_H
23490 #include <complex.h>
23491 #endif
23492 #ifdef HAVE_MATH_H
23493 #include <math.h>
23494 #endif
23495
23496 int (*ptr)() = (int (*)())tanhf;
23497
23498 int
23499 main ()
23500 {
23501 return 0;
23502 }
23503
23504 _ACEOF
23505 if ac_fn_c_try_link "$LINENO"; then :
23506 gcc_cv_math_func_tanhf=yes
23507 else
23508 gcc_cv_math_func_tanhf=no
23509 fi
23510 rm -f core conftest.err conftest.$ac_objext \
23511 conftest$ac_exeext conftest.$ac_ext
23512 fi
23513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23514 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23515 if test $gcc_cv_math_func_tanhf = yes; then
23516
23517 cat >>confdefs.h <<_ACEOF
23518 #define HAVE_TANHF 1
23519 _ACEOF
23520
23521 fi
23522
23523
23524
23525
23526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23527 $as_echo_n "checking for tanh... " >&6; }
23528 if ${gcc_cv_math_func_tanh+:} false; then :
23529 $as_echo_n "(cached) " >&6
23530 else
23531 if test x$gcc_no_link = xyes; then
23532 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23533 fi
23534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23535 /* end confdefs.h. */
23536
23537 #ifdef HAVE_COMPLEX_H
23538 #include <complex.h>
23539 #endif
23540 #ifdef HAVE_MATH_H
23541 #include <math.h>
23542 #endif
23543
23544 int (*ptr)() = (int (*)())tanh;
23545
23546 int
23547 main ()
23548 {
23549 return 0;
23550 }
23551
23552 _ACEOF
23553 if ac_fn_c_try_link "$LINENO"; then :
23554 gcc_cv_math_func_tanh=yes
23555 else
23556 gcc_cv_math_func_tanh=no
23557 fi
23558 rm -f core conftest.err conftest.$ac_objext \
23559 conftest$ac_exeext conftest.$ac_ext
23560 fi
23561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23562 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23563 if test $gcc_cv_math_func_tanh = yes; then
23564
23565 cat >>confdefs.h <<_ACEOF
23566 #define HAVE_TANH 1
23567 _ACEOF
23568
23569 fi
23570
23571
23572
23573
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23575 $as_echo_n "checking for tanhl... " >&6; }
23576 if ${gcc_cv_math_func_tanhl+:} false; then :
23577 $as_echo_n "(cached) " >&6
23578 else
23579 if test x$gcc_no_link = xyes; then
23580 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23581 fi
23582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23583 /* end confdefs.h. */
23584
23585 #ifdef HAVE_COMPLEX_H
23586 #include <complex.h>
23587 #endif
23588 #ifdef HAVE_MATH_H
23589 #include <math.h>
23590 #endif
23591
23592 int (*ptr)() = (int (*)())tanhl;
23593
23594 int
23595 main ()
23596 {
23597 return 0;
23598 }
23599
23600 _ACEOF
23601 if ac_fn_c_try_link "$LINENO"; then :
23602 gcc_cv_math_func_tanhl=yes
23603 else
23604 gcc_cv_math_func_tanhl=no
23605 fi
23606 rm -f core conftest.err conftest.$ac_objext \
23607 conftest$ac_exeext conftest.$ac_ext
23608 fi
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23610 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23611 if test $gcc_cv_math_func_tanhl = yes; then
23612
23613 cat >>confdefs.h <<_ACEOF
23614 #define HAVE_TANHL 1
23615 _ACEOF
23616
23617 fi
23618
23619
23620
23621
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23623 $as_echo_n "checking for ctanhf... " >&6; }
23624 if ${gcc_cv_math_func_ctanhf+:} false; then :
23625 $as_echo_n "(cached) " >&6
23626 else
23627 if test x$gcc_no_link = xyes; then
23628 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23629 fi
23630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23631 /* end confdefs.h. */
23632
23633 #ifdef HAVE_COMPLEX_H
23634 #include <complex.h>
23635 #endif
23636 #ifdef HAVE_MATH_H
23637 #include <math.h>
23638 #endif
23639
23640 int (*ptr)() = (int (*)())ctanhf;
23641
23642 int
23643 main ()
23644 {
23645 return 0;
23646 }
23647
23648 _ACEOF
23649 if ac_fn_c_try_link "$LINENO"; then :
23650 gcc_cv_math_func_ctanhf=yes
23651 else
23652 gcc_cv_math_func_ctanhf=no
23653 fi
23654 rm -f core conftest.err conftest.$ac_objext \
23655 conftest$ac_exeext conftest.$ac_ext
23656 fi
23657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23658 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23659 if test $gcc_cv_math_func_ctanhf = yes; then
23660
23661 cat >>confdefs.h <<_ACEOF
23662 #define HAVE_CTANHF 1
23663 _ACEOF
23664
23665 fi
23666
23667
23668
23669
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23671 $as_echo_n "checking for ctanh... " >&6; }
23672 if ${gcc_cv_math_func_ctanh+:} false; then :
23673 $as_echo_n "(cached) " >&6
23674 else
23675 if test x$gcc_no_link = xyes; then
23676 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23677 fi
23678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23679 /* end confdefs.h. */
23680
23681 #ifdef HAVE_COMPLEX_H
23682 #include <complex.h>
23683 #endif
23684 #ifdef HAVE_MATH_H
23685 #include <math.h>
23686 #endif
23687
23688 int (*ptr)() = (int (*)())ctanh;
23689
23690 int
23691 main ()
23692 {
23693 return 0;
23694 }
23695
23696 _ACEOF
23697 if ac_fn_c_try_link "$LINENO"; then :
23698 gcc_cv_math_func_ctanh=yes
23699 else
23700 gcc_cv_math_func_ctanh=no
23701 fi
23702 rm -f core conftest.err conftest.$ac_objext \
23703 conftest$ac_exeext conftest.$ac_ext
23704 fi
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23706 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23707 if test $gcc_cv_math_func_ctanh = yes; then
23708
23709 cat >>confdefs.h <<_ACEOF
23710 #define HAVE_CTANH 1
23711 _ACEOF
23712
23713 fi
23714
23715
23716
23717
23718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23719 $as_echo_n "checking for ctanhl... " >&6; }
23720 if ${gcc_cv_math_func_ctanhl+:} false; then :
23721 $as_echo_n "(cached) " >&6
23722 else
23723 if test x$gcc_no_link = xyes; then
23724 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23725 fi
23726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23727 /* end confdefs.h. */
23728
23729 #ifdef HAVE_COMPLEX_H
23730 #include <complex.h>
23731 #endif
23732 #ifdef HAVE_MATH_H
23733 #include <math.h>
23734 #endif
23735
23736 int (*ptr)() = (int (*)())ctanhl;
23737
23738 int
23739 main ()
23740 {
23741 return 0;
23742 }
23743
23744 _ACEOF
23745 if ac_fn_c_try_link "$LINENO"; then :
23746 gcc_cv_math_func_ctanhl=yes
23747 else
23748 gcc_cv_math_func_ctanhl=no
23749 fi
23750 rm -f core conftest.err conftest.$ac_objext \
23751 conftest$ac_exeext conftest.$ac_ext
23752 fi
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23754 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23755 if test $gcc_cv_math_func_ctanhl = yes; then
23756
23757 cat >>confdefs.h <<_ACEOF
23758 #define HAVE_CTANHL 1
23759 _ACEOF
23760
23761 fi
23762
23763
23764
23765
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23767 $as_echo_n "checking for truncf... " >&6; }
23768 if ${gcc_cv_math_func_truncf+:} false; then :
23769 $as_echo_n "(cached) " >&6
23770 else
23771 if test x$gcc_no_link = xyes; then
23772 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23773 fi
23774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23776
23777 #ifdef HAVE_COMPLEX_H
23778 #include <complex.h>
23779 #endif
23780 #ifdef HAVE_MATH_H
23781 #include <math.h>
23782 #endif
23783
23784 int (*ptr)() = (int (*)())truncf;
23785
23786 int
23787 main ()
23788 {
23789 return 0;
23790 }
23791
23792 _ACEOF
23793 if ac_fn_c_try_link "$LINENO"; then :
23794 gcc_cv_math_func_truncf=yes
23795 else
23796 gcc_cv_math_func_truncf=no
23797 fi
23798 rm -f core conftest.err conftest.$ac_objext \
23799 conftest$ac_exeext conftest.$ac_ext
23800 fi
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23802 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23803 if test $gcc_cv_math_func_truncf = yes; then
23804
23805 cat >>confdefs.h <<_ACEOF
23806 #define HAVE_TRUNCF 1
23807 _ACEOF
23808
23809 fi
23810
23811
23812
23813
23814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23815 $as_echo_n "checking for trunc... " >&6; }
23816 if ${gcc_cv_math_func_trunc+:} false; then :
23817 $as_echo_n "(cached) " >&6
23818 else
23819 if test x$gcc_no_link = xyes; then
23820 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23821 fi
23822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23823 /* end confdefs.h. */
23824
23825 #ifdef HAVE_COMPLEX_H
23826 #include <complex.h>
23827 #endif
23828 #ifdef HAVE_MATH_H
23829 #include <math.h>
23830 #endif
23831
23832 int (*ptr)() = (int (*)())trunc;
23833
23834 int
23835 main ()
23836 {
23837 return 0;
23838 }
23839
23840 _ACEOF
23841 if ac_fn_c_try_link "$LINENO"; then :
23842 gcc_cv_math_func_trunc=yes
23843 else
23844 gcc_cv_math_func_trunc=no
23845 fi
23846 rm -f core conftest.err conftest.$ac_objext \
23847 conftest$ac_exeext conftest.$ac_ext
23848 fi
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23850 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23851 if test $gcc_cv_math_func_trunc = yes; then
23852
23853 cat >>confdefs.h <<_ACEOF
23854 #define HAVE_TRUNC 1
23855 _ACEOF
23856
23857 fi
23858
23859
23860
23861
23862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23863 $as_echo_n "checking for truncl... " >&6; }
23864 if ${gcc_cv_math_func_truncl+:} false; then :
23865 $as_echo_n "(cached) " >&6
23866 else
23867 if test x$gcc_no_link = xyes; then
23868 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23869 fi
23870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23871 /* end confdefs.h. */
23872
23873 #ifdef HAVE_COMPLEX_H
23874 #include <complex.h>
23875 #endif
23876 #ifdef HAVE_MATH_H
23877 #include <math.h>
23878 #endif
23879
23880 int (*ptr)() = (int (*)())truncl;
23881
23882 int
23883 main ()
23884 {
23885 return 0;
23886 }
23887
23888 _ACEOF
23889 if ac_fn_c_try_link "$LINENO"; then :
23890 gcc_cv_math_func_truncl=yes
23891 else
23892 gcc_cv_math_func_truncl=no
23893 fi
23894 rm -f core conftest.err conftest.$ac_objext \
23895 conftest$ac_exeext conftest.$ac_ext
23896 fi
23897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23898 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23899 if test $gcc_cv_math_func_truncl = yes; then
23900
23901 cat >>confdefs.h <<_ACEOF
23902 #define HAVE_TRUNCL 1
23903 _ACEOF
23904
23905 fi
23906
23907
23908
23909
23910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23911 $as_echo_n "checking for erff... " >&6; }
23912 if ${gcc_cv_math_func_erff+:} false; then :
23913 $as_echo_n "(cached) " >&6
23914 else
23915 if test x$gcc_no_link = xyes; then
23916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23917 fi
23918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23919 /* end confdefs.h. */
23920
23921 #ifdef HAVE_COMPLEX_H
23922 #include <complex.h>
23923 #endif
23924 #ifdef HAVE_MATH_H
23925 #include <math.h>
23926 #endif
23927
23928 int (*ptr)() = (int (*)())erff;
23929
23930 int
23931 main ()
23932 {
23933 return 0;
23934 }
23935
23936 _ACEOF
23937 if ac_fn_c_try_link "$LINENO"; then :
23938 gcc_cv_math_func_erff=yes
23939 else
23940 gcc_cv_math_func_erff=no
23941 fi
23942 rm -f core conftest.err conftest.$ac_objext \
23943 conftest$ac_exeext conftest.$ac_ext
23944 fi
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23946 $as_echo "$gcc_cv_math_func_erff" >&6; }
23947 if test $gcc_cv_math_func_erff = yes; then
23948
23949 cat >>confdefs.h <<_ACEOF
23950 #define HAVE_ERFF 1
23951 _ACEOF
23952
23953 fi
23954
23955
23956
23957
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23959 $as_echo_n "checking for erf... " >&6; }
23960 if ${gcc_cv_math_func_erf+:} false; then :
23961 $as_echo_n "(cached) " >&6
23962 else
23963 if test x$gcc_no_link = xyes; then
23964 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23965 fi
23966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23967 /* end confdefs.h. */
23968
23969 #ifdef HAVE_COMPLEX_H
23970 #include <complex.h>
23971 #endif
23972 #ifdef HAVE_MATH_H
23973 #include <math.h>
23974 #endif
23975
23976 int (*ptr)() = (int (*)())erf;
23977
23978 int
23979 main ()
23980 {
23981 return 0;
23982 }
23983
23984 _ACEOF
23985 if ac_fn_c_try_link "$LINENO"; then :
23986 gcc_cv_math_func_erf=yes
23987 else
23988 gcc_cv_math_func_erf=no
23989 fi
23990 rm -f core conftest.err conftest.$ac_objext \
23991 conftest$ac_exeext conftest.$ac_ext
23992 fi
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23994 $as_echo "$gcc_cv_math_func_erf" >&6; }
23995 if test $gcc_cv_math_func_erf = yes; then
23996
23997 cat >>confdefs.h <<_ACEOF
23998 #define HAVE_ERF 1
23999 _ACEOF
24000
24001 fi
24002
24003
24004
24005
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24007 $as_echo_n "checking for erfcf... " >&6; }
24008 if ${gcc_cv_math_func_erfcf+:} false; then :
24009 $as_echo_n "(cached) " >&6
24010 else
24011 if test x$gcc_no_link = xyes; then
24012 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24013 fi
24014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24015 /* end confdefs.h. */
24016
24017 #ifdef HAVE_COMPLEX_H
24018 #include <complex.h>
24019 #endif
24020 #ifdef HAVE_MATH_H
24021 #include <math.h>
24022 #endif
24023
24024 int (*ptr)() = (int (*)())erfcf;
24025
24026 int
24027 main ()
24028 {
24029 return 0;
24030 }
24031
24032 _ACEOF
24033 if ac_fn_c_try_link "$LINENO"; then :
24034 gcc_cv_math_func_erfcf=yes
24035 else
24036 gcc_cv_math_func_erfcf=no
24037 fi
24038 rm -f core conftest.err conftest.$ac_objext \
24039 conftest$ac_exeext conftest.$ac_ext
24040 fi
24041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24042 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24043 if test $gcc_cv_math_func_erfcf = yes; then
24044
24045 cat >>confdefs.h <<_ACEOF
24046 #define HAVE_ERFCF 1
24047 _ACEOF
24048
24049 fi
24050
24051
24052
24053
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24055 $as_echo_n "checking for erfc... " >&6; }
24056 if ${gcc_cv_math_func_erfc+:} false; then :
24057 $as_echo_n "(cached) " >&6
24058 else
24059 if test x$gcc_no_link = xyes; then
24060 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24061 fi
24062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24063 /* end confdefs.h. */
24064
24065 #ifdef HAVE_COMPLEX_H
24066 #include <complex.h>
24067 #endif
24068 #ifdef HAVE_MATH_H
24069 #include <math.h>
24070 #endif
24071
24072 int (*ptr)() = (int (*)())erfc;
24073
24074 int
24075 main ()
24076 {
24077 return 0;
24078 }
24079
24080 _ACEOF
24081 if ac_fn_c_try_link "$LINENO"; then :
24082 gcc_cv_math_func_erfc=yes
24083 else
24084 gcc_cv_math_func_erfc=no
24085 fi
24086 rm -f core conftest.err conftest.$ac_objext \
24087 conftest$ac_exeext conftest.$ac_ext
24088 fi
24089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24090 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24091 if test $gcc_cv_math_func_erfc = yes; then
24092
24093 cat >>confdefs.h <<_ACEOF
24094 #define HAVE_ERFC 1
24095 _ACEOF
24096
24097 fi
24098
24099
24100
24101
24102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24103 $as_echo_n "checking for erfcl... " >&6; }
24104 if ${gcc_cv_math_func_erfcl+:} false; then :
24105 $as_echo_n "(cached) " >&6
24106 else
24107 if test x$gcc_no_link = xyes; then
24108 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24109 fi
24110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h. */
24112
24113 #ifdef HAVE_COMPLEX_H
24114 #include <complex.h>
24115 #endif
24116 #ifdef HAVE_MATH_H
24117 #include <math.h>
24118 #endif
24119
24120 int (*ptr)() = (int (*)())erfcl;
24121
24122 int
24123 main ()
24124 {
24125 return 0;
24126 }
24127
24128 _ACEOF
24129 if ac_fn_c_try_link "$LINENO"; then :
24130 gcc_cv_math_func_erfcl=yes
24131 else
24132 gcc_cv_math_func_erfcl=no
24133 fi
24134 rm -f core conftest.err conftest.$ac_objext \
24135 conftest$ac_exeext conftest.$ac_ext
24136 fi
24137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24138 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24139 if test $gcc_cv_math_func_erfcl = yes; then
24140
24141 cat >>confdefs.h <<_ACEOF
24142 #define HAVE_ERFCL 1
24143 _ACEOF
24144
24145 fi
24146
24147
24148
24149
24150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24151 $as_echo_n "checking for j0f... " >&6; }
24152 if ${gcc_cv_math_func_j0f+:} false; then :
24153 $as_echo_n "(cached) " >&6
24154 else
24155 if test x$gcc_no_link = xyes; then
24156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24157 fi
24158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24159 /* end confdefs.h. */
24160
24161 #ifdef HAVE_COMPLEX_H
24162 #include <complex.h>
24163 #endif
24164 #ifdef HAVE_MATH_H
24165 #include <math.h>
24166 #endif
24167
24168 int (*ptr)() = (int (*)())j0f;
24169
24170 int
24171 main ()
24172 {
24173 return 0;
24174 }
24175
24176 _ACEOF
24177 if ac_fn_c_try_link "$LINENO"; then :
24178 gcc_cv_math_func_j0f=yes
24179 else
24180 gcc_cv_math_func_j0f=no
24181 fi
24182 rm -f core conftest.err conftest.$ac_objext \
24183 conftest$ac_exeext conftest.$ac_ext
24184 fi
24185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24186 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24187 if test $gcc_cv_math_func_j0f = yes; then
24188
24189 cat >>confdefs.h <<_ACEOF
24190 #define HAVE_J0F 1
24191 _ACEOF
24192
24193 fi
24194
24195
24196
24197
24198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24199 $as_echo_n "checking for j0... " >&6; }
24200 if ${gcc_cv_math_func_j0+:} false; then :
24201 $as_echo_n "(cached) " >&6
24202 else
24203 if test x$gcc_no_link = xyes; then
24204 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24205 fi
24206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24207 /* end confdefs.h. */
24208
24209 #ifdef HAVE_COMPLEX_H
24210 #include <complex.h>
24211 #endif
24212 #ifdef HAVE_MATH_H
24213 #include <math.h>
24214 #endif
24215
24216 int (*ptr)() = (int (*)())j0;
24217
24218 int
24219 main ()
24220 {
24221 return 0;
24222 }
24223
24224 _ACEOF
24225 if ac_fn_c_try_link "$LINENO"; then :
24226 gcc_cv_math_func_j0=yes
24227 else
24228 gcc_cv_math_func_j0=no
24229 fi
24230 rm -f core conftest.err conftest.$ac_objext \
24231 conftest$ac_exeext conftest.$ac_ext
24232 fi
24233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24234 $as_echo "$gcc_cv_math_func_j0" >&6; }
24235 if test $gcc_cv_math_func_j0 = yes; then
24236
24237 cat >>confdefs.h <<_ACEOF
24238 #define HAVE_J0 1
24239 _ACEOF
24240
24241 fi
24242
24243
24244
24245
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24247 $as_echo_n "checking for j1f... " >&6; }
24248 if ${gcc_cv_math_func_j1f+:} false; then :
24249 $as_echo_n "(cached) " >&6
24250 else
24251 if test x$gcc_no_link = xyes; then
24252 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24253 fi
24254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24255 /* end confdefs.h. */
24256
24257 #ifdef HAVE_COMPLEX_H
24258 #include <complex.h>
24259 #endif
24260 #ifdef HAVE_MATH_H
24261 #include <math.h>
24262 #endif
24263
24264 int (*ptr)() = (int (*)())j1f;
24265
24266 int
24267 main ()
24268 {
24269 return 0;
24270 }
24271
24272 _ACEOF
24273 if ac_fn_c_try_link "$LINENO"; then :
24274 gcc_cv_math_func_j1f=yes
24275 else
24276 gcc_cv_math_func_j1f=no
24277 fi
24278 rm -f core conftest.err conftest.$ac_objext \
24279 conftest$ac_exeext conftest.$ac_ext
24280 fi
24281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24282 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24283 if test $gcc_cv_math_func_j1f = yes; then
24284
24285 cat >>confdefs.h <<_ACEOF
24286 #define HAVE_J1F 1
24287 _ACEOF
24288
24289 fi
24290
24291
24292
24293
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24295 $as_echo_n "checking for j1... " >&6; }
24296 if ${gcc_cv_math_func_j1+:} false; then :
24297 $as_echo_n "(cached) " >&6
24298 else
24299 if test x$gcc_no_link = xyes; then
24300 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24301 fi
24302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24303 /* end confdefs.h. */
24304
24305 #ifdef HAVE_COMPLEX_H
24306 #include <complex.h>
24307 #endif
24308 #ifdef HAVE_MATH_H
24309 #include <math.h>
24310 #endif
24311
24312 int (*ptr)() = (int (*)())j1;
24313
24314 int
24315 main ()
24316 {
24317 return 0;
24318 }
24319
24320 _ACEOF
24321 if ac_fn_c_try_link "$LINENO"; then :
24322 gcc_cv_math_func_j1=yes
24323 else
24324 gcc_cv_math_func_j1=no
24325 fi
24326 rm -f core conftest.err conftest.$ac_objext \
24327 conftest$ac_exeext conftest.$ac_ext
24328 fi
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24330 $as_echo "$gcc_cv_math_func_j1" >&6; }
24331 if test $gcc_cv_math_func_j1 = yes; then
24332
24333 cat >>confdefs.h <<_ACEOF
24334 #define HAVE_J1 1
24335 _ACEOF
24336
24337 fi
24338
24339
24340
24341
24342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24343 $as_echo_n "checking for jnf... " >&6; }
24344 if ${gcc_cv_math_func_jnf+:} false; then :
24345 $as_echo_n "(cached) " >&6
24346 else
24347 if test x$gcc_no_link = xyes; then
24348 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24349 fi
24350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24351 /* end confdefs.h. */
24352
24353 #ifdef HAVE_COMPLEX_H
24354 #include <complex.h>
24355 #endif
24356 #ifdef HAVE_MATH_H
24357 #include <math.h>
24358 #endif
24359
24360 int (*ptr)() = (int (*)())jnf;
24361
24362 int
24363 main ()
24364 {
24365 return 0;
24366 }
24367
24368 _ACEOF
24369 if ac_fn_c_try_link "$LINENO"; then :
24370 gcc_cv_math_func_jnf=yes
24371 else
24372 gcc_cv_math_func_jnf=no
24373 fi
24374 rm -f core conftest.err conftest.$ac_objext \
24375 conftest$ac_exeext conftest.$ac_ext
24376 fi
24377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24378 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24379 if test $gcc_cv_math_func_jnf = yes; then
24380
24381 cat >>confdefs.h <<_ACEOF
24382 #define HAVE_JNF 1
24383 _ACEOF
24384
24385 fi
24386
24387
24388
24389
24390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24391 $as_echo_n "checking for jn... " >&6; }
24392 if ${gcc_cv_math_func_jn+:} false; then :
24393 $as_echo_n "(cached) " >&6
24394 else
24395 if test x$gcc_no_link = xyes; then
24396 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24397 fi
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24400
24401 #ifdef HAVE_COMPLEX_H
24402 #include <complex.h>
24403 #endif
24404 #ifdef HAVE_MATH_H
24405 #include <math.h>
24406 #endif
24407
24408 int (*ptr)() = (int (*)())jn;
24409
24410 int
24411 main ()
24412 {
24413 return 0;
24414 }
24415
24416 _ACEOF
24417 if ac_fn_c_try_link "$LINENO"; then :
24418 gcc_cv_math_func_jn=yes
24419 else
24420 gcc_cv_math_func_jn=no
24421 fi
24422 rm -f core conftest.err conftest.$ac_objext \
24423 conftest$ac_exeext conftest.$ac_ext
24424 fi
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24426 $as_echo "$gcc_cv_math_func_jn" >&6; }
24427 if test $gcc_cv_math_func_jn = yes; then
24428
24429 cat >>confdefs.h <<_ACEOF
24430 #define HAVE_JN 1
24431 _ACEOF
24432
24433 fi
24434
24435
24436
24437
24438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24439 $as_echo_n "checking for jnl... " >&6; }
24440 if ${gcc_cv_math_func_jnl+:} false; then :
24441 $as_echo_n "(cached) " >&6
24442 else
24443 if test x$gcc_no_link = xyes; then
24444 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24445 fi
24446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24447 /* end confdefs.h. */
24448
24449 #ifdef HAVE_COMPLEX_H
24450 #include <complex.h>
24451 #endif
24452 #ifdef HAVE_MATH_H
24453 #include <math.h>
24454 #endif
24455
24456 int (*ptr)() = (int (*)())jnl;
24457
24458 int
24459 main ()
24460 {
24461 return 0;
24462 }
24463
24464 _ACEOF
24465 if ac_fn_c_try_link "$LINENO"; then :
24466 gcc_cv_math_func_jnl=yes
24467 else
24468 gcc_cv_math_func_jnl=no
24469 fi
24470 rm -f core conftest.err conftest.$ac_objext \
24471 conftest$ac_exeext conftest.$ac_ext
24472 fi
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24474 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24475 if test $gcc_cv_math_func_jnl = yes; then
24476
24477 cat >>confdefs.h <<_ACEOF
24478 #define HAVE_JNL 1
24479 _ACEOF
24480
24481 fi
24482
24483
24484
24485
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24487 $as_echo_n "checking for y0f... " >&6; }
24488 if ${gcc_cv_math_func_y0f+:} false; then :
24489 $as_echo_n "(cached) " >&6
24490 else
24491 if test x$gcc_no_link = xyes; then
24492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24493 fi
24494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24495 /* end confdefs.h. */
24496
24497 #ifdef HAVE_COMPLEX_H
24498 #include <complex.h>
24499 #endif
24500 #ifdef HAVE_MATH_H
24501 #include <math.h>
24502 #endif
24503
24504 int (*ptr)() = (int (*)())y0f;
24505
24506 int
24507 main ()
24508 {
24509 return 0;
24510 }
24511
24512 _ACEOF
24513 if ac_fn_c_try_link "$LINENO"; then :
24514 gcc_cv_math_func_y0f=yes
24515 else
24516 gcc_cv_math_func_y0f=no
24517 fi
24518 rm -f core conftest.err conftest.$ac_objext \
24519 conftest$ac_exeext conftest.$ac_ext
24520 fi
24521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24522 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24523 if test $gcc_cv_math_func_y0f = yes; then
24524
24525 cat >>confdefs.h <<_ACEOF
24526 #define HAVE_Y0F 1
24527 _ACEOF
24528
24529 fi
24530
24531
24532
24533
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24535 $as_echo_n "checking for y0... " >&6; }
24536 if ${gcc_cv_math_func_y0+:} false; then :
24537 $as_echo_n "(cached) " >&6
24538 else
24539 if test x$gcc_no_link = xyes; then
24540 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24541 fi
24542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24543 /* end confdefs.h. */
24544
24545 #ifdef HAVE_COMPLEX_H
24546 #include <complex.h>
24547 #endif
24548 #ifdef HAVE_MATH_H
24549 #include <math.h>
24550 #endif
24551
24552 int (*ptr)() = (int (*)())y0;
24553
24554 int
24555 main ()
24556 {
24557 return 0;
24558 }
24559
24560 _ACEOF
24561 if ac_fn_c_try_link "$LINENO"; then :
24562 gcc_cv_math_func_y0=yes
24563 else
24564 gcc_cv_math_func_y0=no
24565 fi
24566 rm -f core conftest.err conftest.$ac_objext \
24567 conftest$ac_exeext conftest.$ac_ext
24568 fi
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24570 $as_echo "$gcc_cv_math_func_y0" >&6; }
24571 if test $gcc_cv_math_func_y0 = yes; then
24572
24573 cat >>confdefs.h <<_ACEOF
24574 #define HAVE_Y0 1
24575 _ACEOF
24576
24577 fi
24578
24579
24580
24581
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24583 $as_echo_n "checking for y1f... " >&6; }
24584 if ${gcc_cv_math_func_y1f+:} false; then :
24585 $as_echo_n "(cached) " >&6
24586 else
24587 if test x$gcc_no_link = xyes; then
24588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24589 fi
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592
24593 #ifdef HAVE_COMPLEX_H
24594 #include <complex.h>
24595 #endif
24596 #ifdef HAVE_MATH_H
24597 #include <math.h>
24598 #endif
24599
24600 int (*ptr)() = (int (*)())y1f;
24601
24602 int
24603 main ()
24604 {
24605 return 0;
24606 }
24607
24608 _ACEOF
24609 if ac_fn_c_try_link "$LINENO"; then :
24610 gcc_cv_math_func_y1f=yes
24611 else
24612 gcc_cv_math_func_y1f=no
24613 fi
24614 rm -f core conftest.err conftest.$ac_objext \
24615 conftest$ac_exeext conftest.$ac_ext
24616 fi
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24618 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24619 if test $gcc_cv_math_func_y1f = yes; then
24620
24621 cat >>confdefs.h <<_ACEOF
24622 #define HAVE_Y1F 1
24623 _ACEOF
24624
24625 fi
24626
24627
24628
24629
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24631 $as_echo_n "checking for y1... " >&6; }
24632 if ${gcc_cv_math_func_y1+:} false; then :
24633 $as_echo_n "(cached) " >&6
24634 else
24635 if test x$gcc_no_link = xyes; then
24636 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24637 fi
24638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24639 /* end confdefs.h. */
24640
24641 #ifdef HAVE_COMPLEX_H
24642 #include <complex.h>
24643 #endif
24644 #ifdef HAVE_MATH_H
24645 #include <math.h>
24646 #endif
24647
24648 int (*ptr)() = (int (*)())y1;
24649
24650 int
24651 main ()
24652 {
24653 return 0;
24654 }
24655
24656 _ACEOF
24657 if ac_fn_c_try_link "$LINENO"; then :
24658 gcc_cv_math_func_y1=yes
24659 else
24660 gcc_cv_math_func_y1=no
24661 fi
24662 rm -f core conftest.err conftest.$ac_objext \
24663 conftest$ac_exeext conftest.$ac_ext
24664 fi
24665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24666 $as_echo "$gcc_cv_math_func_y1" >&6; }
24667 if test $gcc_cv_math_func_y1 = yes; then
24668
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_Y1 1
24671 _ACEOF
24672
24673 fi
24674
24675
24676
24677
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24679 $as_echo_n "checking for ynf... " >&6; }
24680 if ${gcc_cv_math_func_ynf+:} false; then :
24681 $as_echo_n "(cached) " >&6
24682 else
24683 if test x$gcc_no_link = xyes; then
24684 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24685 fi
24686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24687 /* end confdefs.h. */
24688
24689 #ifdef HAVE_COMPLEX_H
24690 #include <complex.h>
24691 #endif
24692 #ifdef HAVE_MATH_H
24693 #include <math.h>
24694 #endif
24695
24696 int (*ptr)() = (int (*)())ynf;
24697
24698 int
24699 main ()
24700 {
24701 return 0;
24702 }
24703
24704 _ACEOF
24705 if ac_fn_c_try_link "$LINENO"; then :
24706 gcc_cv_math_func_ynf=yes
24707 else
24708 gcc_cv_math_func_ynf=no
24709 fi
24710 rm -f core conftest.err conftest.$ac_objext \
24711 conftest$ac_exeext conftest.$ac_ext
24712 fi
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24714 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24715 if test $gcc_cv_math_func_ynf = yes; then
24716
24717 cat >>confdefs.h <<_ACEOF
24718 #define HAVE_YNF 1
24719 _ACEOF
24720
24721 fi
24722
24723
24724
24725
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24727 $as_echo_n "checking for yn... " >&6; }
24728 if ${gcc_cv_math_func_yn+:} false; then :
24729 $as_echo_n "(cached) " >&6
24730 else
24731 if test x$gcc_no_link = xyes; then
24732 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24733 fi
24734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24735 /* end confdefs.h. */
24736
24737 #ifdef HAVE_COMPLEX_H
24738 #include <complex.h>
24739 #endif
24740 #ifdef HAVE_MATH_H
24741 #include <math.h>
24742 #endif
24743
24744 int (*ptr)() = (int (*)())yn;
24745
24746 int
24747 main ()
24748 {
24749 return 0;
24750 }
24751
24752 _ACEOF
24753 if ac_fn_c_try_link "$LINENO"; then :
24754 gcc_cv_math_func_yn=yes
24755 else
24756 gcc_cv_math_func_yn=no
24757 fi
24758 rm -f core conftest.err conftest.$ac_objext \
24759 conftest$ac_exeext conftest.$ac_ext
24760 fi
24761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24762 $as_echo "$gcc_cv_math_func_yn" >&6; }
24763 if test $gcc_cv_math_func_yn = yes; then
24764
24765 cat >>confdefs.h <<_ACEOF
24766 #define HAVE_YN 1
24767 _ACEOF
24768
24769 fi
24770
24771
24772
24773
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24775 $as_echo_n "checking for ynl... " >&6; }
24776 if ${gcc_cv_math_func_ynl+:} false; then :
24777 $as_echo_n "(cached) " >&6
24778 else
24779 if test x$gcc_no_link = xyes; then
24780 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24781 fi
24782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24783 /* end confdefs.h. */
24784
24785 #ifdef HAVE_COMPLEX_H
24786 #include <complex.h>
24787 #endif
24788 #ifdef HAVE_MATH_H
24789 #include <math.h>
24790 #endif
24791
24792 int (*ptr)() = (int (*)())ynl;
24793
24794 int
24795 main ()
24796 {
24797 return 0;
24798 }
24799
24800 _ACEOF
24801 if ac_fn_c_try_link "$LINENO"; then :
24802 gcc_cv_math_func_ynl=yes
24803 else
24804 gcc_cv_math_func_ynl=no
24805 fi
24806 rm -f core conftest.err conftest.$ac_objext \
24807 conftest$ac_exeext conftest.$ac_ext
24808 fi
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24810 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24811 if test $gcc_cv_math_func_ynl = yes; then
24812
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE_YNL 1
24815 _ACEOF
24816
24817 fi
24818
24819
24820
24821
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24823 $as_echo_n "checking for tgamma... " >&6; }
24824 if ${gcc_cv_math_func_tgamma+:} false; then :
24825 $as_echo_n "(cached) " >&6
24826 else
24827 if test x$gcc_no_link = xyes; then
24828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24829 fi
24830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24831 /* end confdefs.h. */
24832
24833 #ifdef HAVE_COMPLEX_H
24834 #include <complex.h>
24835 #endif
24836 #ifdef HAVE_MATH_H
24837 #include <math.h>
24838 #endif
24839
24840 int (*ptr)() = (int (*)())tgamma;
24841
24842 int
24843 main ()
24844 {
24845 return 0;
24846 }
24847
24848 _ACEOF
24849 if ac_fn_c_try_link "$LINENO"; then :
24850 gcc_cv_math_func_tgamma=yes
24851 else
24852 gcc_cv_math_func_tgamma=no
24853 fi
24854 rm -f core conftest.err conftest.$ac_objext \
24855 conftest$ac_exeext conftest.$ac_ext
24856 fi
24857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24858 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24859 if test $gcc_cv_math_func_tgamma = yes; then
24860
24861 cat >>confdefs.h <<_ACEOF
24862 #define HAVE_TGAMMA 1
24863 _ACEOF
24864
24865 fi
24866
24867
24868
24869
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24871 $as_echo_n "checking for tgammaf... " >&6; }
24872 if ${gcc_cv_math_func_tgammaf+:} false; then :
24873 $as_echo_n "(cached) " >&6
24874 else
24875 if test x$gcc_no_link = xyes; then
24876 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24877 fi
24878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24879 /* end confdefs.h. */
24880
24881 #ifdef HAVE_COMPLEX_H
24882 #include <complex.h>
24883 #endif
24884 #ifdef HAVE_MATH_H
24885 #include <math.h>
24886 #endif
24887
24888 int (*ptr)() = (int (*)())tgammaf;
24889
24890 int
24891 main ()
24892 {
24893 return 0;
24894 }
24895
24896 _ACEOF
24897 if ac_fn_c_try_link "$LINENO"; then :
24898 gcc_cv_math_func_tgammaf=yes
24899 else
24900 gcc_cv_math_func_tgammaf=no
24901 fi
24902 rm -f core conftest.err conftest.$ac_objext \
24903 conftest$ac_exeext conftest.$ac_ext
24904 fi
24905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24906 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24907 if test $gcc_cv_math_func_tgammaf = yes; then
24908
24909 cat >>confdefs.h <<_ACEOF
24910 #define HAVE_TGAMMAF 1
24911 _ACEOF
24912
24913 fi
24914
24915
24916
24917
24918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24919 $as_echo_n "checking for lgamma... " >&6; }
24920 if ${gcc_cv_math_func_lgamma+:} false; then :
24921 $as_echo_n "(cached) " >&6
24922 else
24923 if test x$gcc_no_link = xyes; then
24924 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24925 fi
24926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24927 /* end confdefs.h. */
24928
24929 #ifdef HAVE_COMPLEX_H
24930 #include <complex.h>
24931 #endif
24932 #ifdef HAVE_MATH_H
24933 #include <math.h>
24934 #endif
24935
24936 int (*ptr)() = (int (*)())lgamma;
24937
24938 int
24939 main ()
24940 {
24941 return 0;
24942 }
24943
24944 _ACEOF
24945 if ac_fn_c_try_link "$LINENO"; then :
24946 gcc_cv_math_func_lgamma=yes
24947 else
24948 gcc_cv_math_func_lgamma=no
24949 fi
24950 rm -f core conftest.err conftest.$ac_objext \
24951 conftest$ac_exeext conftest.$ac_ext
24952 fi
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24954 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24955 if test $gcc_cv_math_func_lgamma = yes; then
24956
24957 cat >>confdefs.h <<_ACEOF
24958 #define HAVE_LGAMMA 1
24959 _ACEOF
24960
24961 fi
24962
24963
24964
24965
24966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24967 $as_echo_n "checking for lgammaf... " >&6; }
24968 if ${gcc_cv_math_func_lgammaf+:} false; then :
24969 $as_echo_n "(cached) " >&6
24970 else
24971 if test x$gcc_no_link = xyes; then
24972 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24973 fi
24974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24975 /* end confdefs.h. */
24976
24977 #ifdef HAVE_COMPLEX_H
24978 #include <complex.h>
24979 #endif
24980 #ifdef HAVE_MATH_H
24981 #include <math.h>
24982 #endif
24983
24984 int (*ptr)() = (int (*)())lgammaf;
24985
24986 int
24987 main ()
24988 {
24989 return 0;
24990 }
24991
24992 _ACEOF
24993 if ac_fn_c_try_link "$LINENO"; then :
24994 gcc_cv_math_func_lgammaf=yes
24995 else
24996 gcc_cv_math_func_lgammaf=no
24997 fi
24998 rm -f core conftest.err conftest.$ac_objext \
24999 conftest$ac_exeext conftest.$ac_ext
25000 fi
25001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25002 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25003 if test $gcc_cv_math_func_lgammaf = yes; then
25004
25005 cat >>confdefs.h <<_ACEOF
25006 #define HAVE_LGAMMAF 1
25007 _ACEOF
25008
25009 fi
25010
25011
25012 # Check for GFORTRAN_C99_1.1 funcs
25013
25014
25015
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25017 $as_echo_n "checking for cacos... " >&6; }
25018 if ${gcc_cv_math_func_cacos+:} false; then :
25019 $as_echo_n "(cached) " >&6
25020 else
25021 if test x$gcc_no_link = xyes; then
25022 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25023 fi
25024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25025 /* end confdefs.h. */
25026
25027 #ifdef HAVE_COMPLEX_H
25028 #include <complex.h>
25029 #endif
25030 #ifdef HAVE_MATH_H
25031 #include <math.h>
25032 #endif
25033
25034 int (*ptr)() = (int (*)())cacos;
25035
25036 int
25037 main ()
25038 {
25039 return 0;
25040 }
25041
25042 _ACEOF
25043 if ac_fn_c_try_link "$LINENO"; then :
25044 gcc_cv_math_func_cacos=yes
25045 else
25046 gcc_cv_math_func_cacos=no
25047 fi
25048 rm -f core conftest.err conftest.$ac_objext \
25049 conftest$ac_exeext conftest.$ac_ext
25050 fi
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25052 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25053 if test $gcc_cv_math_func_cacos = yes; then
25054
25055 cat >>confdefs.h <<_ACEOF
25056 #define HAVE_CACOS 1
25057 _ACEOF
25058
25059 fi
25060
25061
25062
25063
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25065 $as_echo_n "checking for cacosf... " >&6; }
25066 if ${gcc_cv_math_func_cacosf+:} false; then :
25067 $as_echo_n "(cached) " >&6
25068 else
25069 if test x$gcc_no_link = xyes; then
25070 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25071 fi
25072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25073 /* end confdefs.h. */
25074
25075 #ifdef HAVE_COMPLEX_H
25076 #include <complex.h>
25077 #endif
25078 #ifdef HAVE_MATH_H
25079 #include <math.h>
25080 #endif
25081
25082 int (*ptr)() = (int (*)())cacosf;
25083
25084 int
25085 main ()
25086 {
25087 return 0;
25088 }
25089
25090 _ACEOF
25091 if ac_fn_c_try_link "$LINENO"; then :
25092 gcc_cv_math_func_cacosf=yes
25093 else
25094 gcc_cv_math_func_cacosf=no
25095 fi
25096 rm -f core conftest.err conftest.$ac_objext \
25097 conftest$ac_exeext conftest.$ac_ext
25098 fi
25099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25100 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25101 if test $gcc_cv_math_func_cacosf = yes; then
25102
25103 cat >>confdefs.h <<_ACEOF
25104 #define HAVE_CACOSF 1
25105 _ACEOF
25106
25107 fi
25108
25109
25110
25111
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25113 $as_echo_n "checking for cacosh... " >&6; }
25114 if ${gcc_cv_math_func_cacosh+:} false; then :
25115 $as_echo_n "(cached) " >&6
25116 else
25117 if test x$gcc_no_link = xyes; then
25118 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25119 fi
25120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25121 /* end confdefs.h. */
25122
25123 #ifdef HAVE_COMPLEX_H
25124 #include <complex.h>
25125 #endif
25126 #ifdef HAVE_MATH_H
25127 #include <math.h>
25128 #endif
25129
25130 int (*ptr)() = (int (*)())cacosh;
25131
25132 int
25133 main ()
25134 {
25135 return 0;
25136 }
25137
25138 _ACEOF
25139 if ac_fn_c_try_link "$LINENO"; then :
25140 gcc_cv_math_func_cacosh=yes
25141 else
25142 gcc_cv_math_func_cacosh=no
25143 fi
25144 rm -f core conftest.err conftest.$ac_objext \
25145 conftest$ac_exeext conftest.$ac_ext
25146 fi
25147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25148 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25149 if test $gcc_cv_math_func_cacosh = yes; then
25150
25151 cat >>confdefs.h <<_ACEOF
25152 #define HAVE_CACOSH 1
25153 _ACEOF
25154
25155 fi
25156
25157
25158
25159
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25161 $as_echo_n "checking for cacoshf... " >&6; }
25162 if ${gcc_cv_math_func_cacoshf+:} false; then :
25163 $as_echo_n "(cached) " >&6
25164 else
25165 if test x$gcc_no_link = xyes; then
25166 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25167 fi
25168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25169 /* end confdefs.h. */
25170
25171 #ifdef HAVE_COMPLEX_H
25172 #include <complex.h>
25173 #endif
25174 #ifdef HAVE_MATH_H
25175 #include <math.h>
25176 #endif
25177
25178 int (*ptr)() = (int (*)())cacoshf;
25179
25180 int
25181 main ()
25182 {
25183 return 0;
25184 }
25185
25186 _ACEOF
25187 if ac_fn_c_try_link "$LINENO"; then :
25188 gcc_cv_math_func_cacoshf=yes
25189 else
25190 gcc_cv_math_func_cacoshf=no
25191 fi
25192 rm -f core conftest.err conftest.$ac_objext \
25193 conftest$ac_exeext conftest.$ac_ext
25194 fi
25195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25196 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25197 if test $gcc_cv_math_func_cacoshf = yes; then
25198
25199 cat >>confdefs.h <<_ACEOF
25200 #define HAVE_CACOSHF 1
25201 _ACEOF
25202
25203 fi
25204
25205
25206
25207
25208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25209 $as_echo_n "checking for cacoshl... " >&6; }
25210 if ${gcc_cv_math_func_cacoshl+:} false; then :
25211 $as_echo_n "(cached) " >&6
25212 else
25213 if test x$gcc_no_link = xyes; then
25214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25215 fi
25216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25217 /* end confdefs.h. */
25218
25219 #ifdef HAVE_COMPLEX_H
25220 #include <complex.h>
25221 #endif
25222 #ifdef HAVE_MATH_H
25223 #include <math.h>
25224 #endif
25225
25226 int (*ptr)() = (int (*)())cacoshl;
25227
25228 int
25229 main ()
25230 {
25231 return 0;
25232 }
25233
25234 _ACEOF
25235 if ac_fn_c_try_link "$LINENO"; then :
25236 gcc_cv_math_func_cacoshl=yes
25237 else
25238 gcc_cv_math_func_cacoshl=no
25239 fi
25240 rm -f core conftest.err conftest.$ac_objext \
25241 conftest$ac_exeext conftest.$ac_ext
25242 fi
25243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25244 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25245 if test $gcc_cv_math_func_cacoshl = yes; then
25246
25247 cat >>confdefs.h <<_ACEOF
25248 #define HAVE_CACOSHL 1
25249 _ACEOF
25250
25251 fi
25252
25253
25254
25255
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25257 $as_echo_n "checking for cacosl... " >&6; }
25258 if ${gcc_cv_math_func_cacosl+:} false; then :
25259 $as_echo_n "(cached) " >&6
25260 else
25261 if test x$gcc_no_link = xyes; then
25262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25263 fi
25264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25265 /* end confdefs.h. */
25266
25267 #ifdef HAVE_COMPLEX_H
25268 #include <complex.h>
25269 #endif
25270 #ifdef HAVE_MATH_H
25271 #include <math.h>
25272 #endif
25273
25274 int (*ptr)() = (int (*)())cacosl;
25275
25276 int
25277 main ()
25278 {
25279 return 0;
25280 }
25281
25282 _ACEOF
25283 if ac_fn_c_try_link "$LINENO"; then :
25284 gcc_cv_math_func_cacosl=yes
25285 else
25286 gcc_cv_math_func_cacosl=no
25287 fi
25288 rm -f core conftest.err conftest.$ac_objext \
25289 conftest$ac_exeext conftest.$ac_ext
25290 fi
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25292 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25293 if test $gcc_cv_math_func_cacosl = yes; then
25294
25295 cat >>confdefs.h <<_ACEOF
25296 #define HAVE_CACOSL 1
25297 _ACEOF
25298
25299 fi
25300
25301
25302
25303
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25305 $as_echo_n "checking for casin... " >&6; }
25306 if ${gcc_cv_math_func_casin+:} false; then :
25307 $as_echo_n "(cached) " >&6
25308 else
25309 if test x$gcc_no_link = xyes; then
25310 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25311 fi
25312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25313 /* end confdefs.h. */
25314
25315 #ifdef HAVE_COMPLEX_H
25316 #include <complex.h>
25317 #endif
25318 #ifdef HAVE_MATH_H
25319 #include <math.h>
25320 #endif
25321
25322 int (*ptr)() = (int (*)())casin;
25323
25324 int
25325 main ()
25326 {
25327 return 0;
25328 }
25329
25330 _ACEOF
25331 if ac_fn_c_try_link "$LINENO"; then :
25332 gcc_cv_math_func_casin=yes
25333 else
25334 gcc_cv_math_func_casin=no
25335 fi
25336 rm -f core conftest.err conftest.$ac_objext \
25337 conftest$ac_exeext conftest.$ac_ext
25338 fi
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25340 $as_echo "$gcc_cv_math_func_casin" >&6; }
25341 if test $gcc_cv_math_func_casin = yes; then
25342
25343 cat >>confdefs.h <<_ACEOF
25344 #define HAVE_CASIN 1
25345 _ACEOF
25346
25347 fi
25348
25349
25350
25351
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25353 $as_echo_n "checking for casinf... " >&6; }
25354 if ${gcc_cv_math_func_casinf+:} false; then :
25355 $as_echo_n "(cached) " >&6
25356 else
25357 if test x$gcc_no_link = xyes; then
25358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25359 fi
25360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25361 /* end confdefs.h. */
25362
25363 #ifdef HAVE_COMPLEX_H
25364 #include <complex.h>
25365 #endif
25366 #ifdef HAVE_MATH_H
25367 #include <math.h>
25368 #endif
25369
25370 int (*ptr)() = (int (*)())casinf;
25371
25372 int
25373 main ()
25374 {
25375 return 0;
25376 }
25377
25378 _ACEOF
25379 if ac_fn_c_try_link "$LINENO"; then :
25380 gcc_cv_math_func_casinf=yes
25381 else
25382 gcc_cv_math_func_casinf=no
25383 fi
25384 rm -f core conftest.err conftest.$ac_objext \
25385 conftest$ac_exeext conftest.$ac_ext
25386 fi
25387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25388 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25389 if test $gcc_cv_math_func_casinf = yes; then
25390
25391 cat >>confdefs.h <<_ACEOF
25392 #define HAVE_CASINF 1
25393 _ACEOF
25394
25395 fi
25396
25397
25398
25399
25400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25401 $as_echo_n "checking for casinh... " >&6; }
25402 if ${gcc_cv_math_func_casinh+:} false; then :
25403 $as_echo_n "(cached) " >&6
25404 else
25405 if test x$gcc_no_link = xyes; then
25406 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25407 fi
25408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25409 /* end confdefs.h. */
25410
25411 #ifdef HAVE_COMPLEX_H
25412 #include <complex.h>
25413 #endif
25414 #ifdef HAVE_MATH_H
25415 #include <math.h>
25416 #endif
25417
25418 int (*ptr)() = (int (*)())casinh;
25419
25420 int
25421 main ()
25422 {
25423 return 0;
25424 }
25425
25426 _ACEOF
25427 if ac_fn_c_try_link "$LINENO"; then :
25428 gcc_cv_math_func_casinh=yes
25429 else
25430 gcc_cv_math_func_casinh=no
25431 fi
25432 rm -f core conftest.err conftest.$ac_objext \
25433 conftest$ac_exeext conftest.$ac_ext
25434 fi
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25436 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25437 if test $gcc_cv_math_func_casinh = yes; then
25438
25439 cat >>confdefs.h <<_ACEOF
25440 #define HAVE_CASINH 1
25441 _ACEOF
25442
25443 fi
25444
25445
25446
25447
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25449 $as_echo_n "checking for casinhf... " >&6; }
25450 if ${gcc_cv_math_func_casinhf+:} false; then :
25451 $as_echo_n "(cached) " >&6
25452 else
25453 if test x$gcc_no_link = xyes; then
25454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25455 fi
25456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25457 /* end confdefs.h. */
25458
25459 #ifdef HAVE_COMPLEX_H
25460 #include <complex.h>
25461 #endif
25462 #ifdef HAVE_MATH_H
25463 #include <math.h>
25464 #endif
25465
25466 int (*ptr)() = (int (*)())casinhf;
25467
25468 int
25469 main ()
25470 {
25471 return 0;
25472 }
25473
25474 _ACEOF
25475 if ac_fn_c_try_link "$LINENO"; then :
25476 gcc_cv_math_func_casinhf=yes
25477 else
25478 gcc_cv_math_func_casinhf=no
25479 fi
25480 rm -f core conftest.err conftest.$ac_objext \
25481 conftest$ac_exeext conftest.$ac_ext
25482 fi
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25484 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25485 if test $gcc_cv_math_func_casinhf = yes; then
25486
25487 cat >>confdefs.h <<_ACEOF
25488 #define HAVE_CASINHF 1
25489 _ACEOF
25490
25491 fi
25492
25493
25494
25495
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25497 $as_echo_n "checking for casinhl... " >&6; }
25498 if ${gcc_cv_math_func_casinhl+:} false; then :
25499 $as_echo_n "(cached) " >&6
25500 else
25501 if test x$gcc_no_link = xyes; then
25502 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25503 fi
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25506
25507 #ifdef HAVE_COMPLEX_H
25508 #include <complex.h>
25509 #endif
25510 #ifdef HAVE_MATH_H
25511 #include <math.h>
25512 #endif
25513
25514 int (*ptr)() = (int (*)())casinhl;
25515
25516 int
25517 main ()
25518 {
25519 return 0;
25520 }
25521
25522 _ACEOF
25523 if ac_fn_c_try_link "$LINENO"; then :
25524 gcc_cv_math_func_casinhl=yes
25525 else
25526 gcc_cv_math_func_casinhl=no
25527 fi
25528 rm -f core conftest.err conftest.$ac_objext \
25529 conftest$ac_exeext conftest.$ac_ext
25530 fi
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25532 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25533 if test $gcc_cv_math_func_casinhl = yes; then
25534
25535 cat >>confdefs.h <<_ACEOF
25536 #define HAVE_CASINHL 1
25537 _ACEOF
25538
25539 fi
25540
25541
25542
25543
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25545 $as_echo_n "checking for casinl... " >&6; }
25546 if ${gcc_cv_math_func_casinl+:} false; then :
25547 $as_echo_n "(cached) " >&6
25548 else
25549 if test x$gcc_no_link = xyes; then
25550 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25551 fi
25552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25553 /* end confdefs.h. */
25554
25555 #ifdef HAVE_COMPLEX_H
25556 #include <complex.h>
25557 #endif
25558 #ifdef HAVE_MATH_H
25559 #include <math.h>
25560 #endif
25561
25562 int (*ptr)() = (int (*)())casinl;
25563
25564 int
25565 main ()
25566 {
25567 return 0;
25568 }
25569
25570 _ACEOF
25571 if ac_fn_c_try_link "$LINENO"; then :
25572 gcc_cv_math_func_casinl=yes
25573 else
25574 gcc_cv_math_func_casinl=no
25575 fi
25576 rm -f core conftest.err conftest.$ac_objext \
25577 conftest$ac_exeext conftest.$ac_ext
25578 fi
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25580 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25581 if test $gcc_cv_math_func_casinl = yes; then
25582
25583 cat >>confdefs.h <<_ACEOF
25584 #define HAVE_CASINL 1
25585 _ACEOF
25586
25587 fi
25588
25589
25590
25591
25592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25593 $as_echo_n "checking for catan... " >&6; }
25594 if ${gcc_cv_math_func_catan+:} false; then :
25595 $as_echo_n "(cached) " >&6
25596 else
25597 if test x$gcc_no_link = xyes; then
25598 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25599 fi
25600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25601 /* end confdefs.h. */
25602
25603 #ifdef HAVE_COMPLEX_H
25604 #include <complex.h>
25605 #endif
25606 #ifdef HAVE_MATH_H
25607 #include <math.h>
25608 #endif
25609
25610 int (*ptr)() = (int (*)())catan;
25611
25612 int
25613 main ()
25614 {
25615 return 0;
25616 }
25617
25618 _ACEOF
25619 if ac_fn_c_try_link "$LINENO"; then :
25620 gcc_cv_math_func_catan=yes
25621 else
25622 gcc_cv_math_func_catan=no
25623 fi
25624 rm -f core conftest.err conftest.$ac_objext \
25625 conftest$ac_exeext conftest.$ac_ext
25626 fi
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25628 $as_echo "$gcc_cv_math_func_catan" >&6; }
25629 if test $gcc_cv_math_func_catan = yes; then
25630
25631 cat >>confdefs.h <<_ACEOF
25632 #define HAVE_CATAN 1
25633 _ACEOF
25634
25635 fi
25636
25637
25638
25639
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25641 $as_echo_n "checking for catanf... " >&6; }
25642 if ${gcc_cv_math_func_catanf+:} false; then :
25643 $as_echo_n "(cached) " >&6
25644 else
25645 if test x$gcc_no_link = xyes; then
25646 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25647 fi
25648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25649 /* end confdefs.h. */
25650
25651 #ifdef HAVE_COMPLEX_H
25652 #include <complex.h>
25653 #endif
25654 #ifdef HAVE_MATH_H
25655 #include <math.h>
25656 #endif
25657
25658 int (*ptr)() = (int (*)())catanf;
25659
25660 int
25661 main ()
25662 {
25663 return 0;
25664 }
25665
25666 _ACEOF
25667 if ac_fn_c_try_link "$LINENO"; then :
25668 gcc_cv_math_func_catanf=yes
25669 else
25670 gcc_cv_math_func_catanf=no
25671 fi
25672 rm -f core conftest.err conftest.$ac_objext \
25673 conftest$ac_exeext conftest.$ac_ext
25674 fi
25675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25676 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25677 if test $gcc_cv_math_func_catanf = yes; then
25678
25679 cat >>confdefs.h <<_ACEOF
25680 #define HAVE_CATANF 1
25681 _ACEOF
25682
25683 fi
25684
25685
25686
25687
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25689 $as_echo_n "checking for catanh... " >&6; }
25690 if ${gcc_cv_math_func_catanh+:} false; then :
25691 $as_echo_n "(cached) " >&6
25692 else
25693 if test x$gcc_no_link = xyes; then
25694 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25695 fi
25696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25697 /* end confdefs.h. */
25698
25699 #ifdef HAVE_COMPLEX_H
25700 #include <complex.h>
25701 #endif
25702 #ifdef HAVE_MATH_H
25703 #include <math.h>
25704 #endif
25705
25706 int (*ptr)() = (int (*)())catanh;
25707
25708 int
25709 main ()
25710 {
25711 return 0;
25712 }
25713
25714 _ACEOF
25715 if ac_fn_c_try_link "$LINENO"; then :
25716 gcc_cv_math_func_catanh=yes
25717 else
25718 gcc_cv_math_func_catanh=no
25719 fi
25720 rm -f core conftest.err conftest.$ac_objext \
25721 conftest$ac_exeext conftest.$ac_ext
25722 fi
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25724 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25725 if test $gcc_cv_math_func_catanh = yes; then
25726
25727 cat >>confdefs.h <<_ACEOF
25728 #define HAVE_CATANH 1
25729 _ACEOF
25730
25731 fi
25732
25733
25734
25735
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25737 $as_echo_n "checking for catanhf... " >&6; }
25738 if ${gcc_cv_math_func_catanhf+:} false; then :
25739 $as_echo_n "(cached) " >&6
25740 else
25741 if test x$gcc_no_link = xyes; then
25742 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25743 fi
25744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25745 /* end confdefs.h. */
25746
25747 #ifdef HAVE_COMPLEX_H
25748 #include <complex.h>
25749 #endif
25750 #ifdef HAVE_MATH_H
25751 #include <math.h>
25752 #endif
25753
25754 int (*ptr)() = (int (*)())catanhf;
25755
25756 int
25757 main ()
25758 {
25759 return 0;
25760 }
25761
25762 _ACEOF
25763 if ac_fn_c_try_link "$LINENO"; then :
25764 gcc_cv_math_func_catanhf=yes
25765 else
25766 gcc_cv_math_func_catanhf=no
25767 fi
25768 rm -f core conftest.err conftest.$ac_objext \
25769 conftest$ac_exeext conftest.$ac_ext
25770 fi
25771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25772 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25773 if test $gcc_cv_math_func_catanhf = yes; then
25774
25775 cat >>confdefs.h <<_ACEOF
25776 #define HAVE_CATANHF 1
25777 _ACEOF
25778
25779 fi
25780
25781
25782
25783
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25785 $as_echo_n "checking for catanhl... " >&6; }
25786 if ${gcc_cv_math_func_catanhl+:} false; then :
25787 $as_echo_n "(cached) " >&6
25788 else
25789 if test x$gcc_no_link = xyes; then
25790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25791 fi
25792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25793 /* end confdefs.h. */
25794
25795 #ifdef HAVE_COMPLEX_H
25796 #include <complex.h>
25797 #endif
25798 #ifdef HAVE_MATH_H
25799 #include <math.h>
25800 #endif
25801
25802 int (*ptr)() = (int (*)())catanhl;
25803
25804 int
25805 main ()
25806 {
25807 return 0;
25808 }
25809
25810 _ACEOF
25811 if ac_fn_c_try_link "$LINENO"; then :
25812 gcc_cv_math_func_catanhl=yes
25813 else
25814 gcc_cv_math_func_catanhl=no
25815 fi
25816 rm -f core conftest.err conftest.$ac_objext \
25817 conftest$ac_exeext conftest.$ac_ext
25818 fi
25819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25820 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25821 if test $gcc_cv_math_func_catanhl = yes; then
25822
25823 cat >>confdefs.h <<_ACEOF
25824 #define HAVE_CATANHL 1
25825 _ACEOF
25826
25827 fi
25828
25829
25830
25831
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25833 $as_echo_n "checking for catanl... " >&6; }
25834 if ${gcc_cv_math_func_catanl+:} false; then :
25835 $as_echo_n "(cached) " >&6
25836 else
25837 if test x$gcc_no_link = xyes; then
25838 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25839 fi
25840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25841 /* end confdefs.h. */
25842
25843 #ifdef HAVE_COMPLEX_H
25844 #include <complex.h>
25845 #endif
25846 #ifdef HAVE_MATH_H
25847 #include <math.h>
25848 #endif
25849
25850 int (*ptr)() = (int (*)())catanl;
25851
25852 int
25853 main ()
25854 {
25855 return 0;
25856 }
25857
25858 _ACEOF
25859 if ac_fn_c_try_link "$LINENO"; then :
25860 gcc_cv_math_func_catanl=yes
25861 else
25862 gcc_cv_math_func_catanl=no
25863 fi
25864 rm -f core conftest.err conftest.$ac_objext \
25865 conftest$ac_exeext conftest.$ac_ext
25866 fi
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25868 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25869 if test $gcc_cv_math_func_catanl = yes; then
25870
25871 cat >>confdefs.h <<_ACEOF
25872 #define HAVE_CATANL 1
25873 _ACEOF
25874
25875 fi
25876
25877
25878 # For POWER, check the ieee128 math functions
25879
25880 if test "x$have_real_17" = "xyes"; then
25881
25882 cat >>confdefs.h <<_ACEOF
25883 #define HAVE_REAL_17 1
25884 _ACEOF
25885
25886
25887
25888
25889
25890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25891 $as_echo_n "checking for __acoshieee128... " >&6; }
25892 if ${gcc_cv_math_func___acoshieee128+:} false; then :
25893 $as_echo_n "(cached) " >&6
25894 else
25895 if test x$gcc_no_link = xyes; then
25896 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25897 fi
25898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25899 /* end confdefs.h. */
25900
25901 _Float128 __acoshieee128 (_Float128);
25902 _Float128 (*ptr)(_Float128) = __acoshieee128;
25903
25904 int
25905 main ()
25906 {
25907 return 0;
25908 }
25909
25910 _ACEOF
25911 if ac_fn_c_try_link "$LINENO"; then :
25912 gcc_cv_math_func___acoshieee128=yes
25913 else
25914 gcc_cv_math_func___acoshieee128=no
25915 fi
25916 rm -f core conftest.err conftest.$ac_objext \
25917 conftest$ac_exeext conftest.$ac_ext
25918 fi
25919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25920 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25921 if test $gcc_cv_math_func___acoshieee128 = yes; then
25922
25923 cat >>confdefs.h <<_ACEOF
25924 #define HAVE___ACOSHIEEE128 1
25925 _ACEOF
25926
25927 fi
25928
25929
25930
25931
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25933 $as_echo_n "checking for __acosieee128... " >&6; }
25934 if ${gcc_cv_math_func___acosieee128+:} false; then :
25935 $as_echo_n "(cached) " >&6
25936 else
25937 if test x$gcc_no_link = xyes; then
25938 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25939 fi
25940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25941 /* end confdefs.h. */
25942
25943 _Float128 __acosieee128 (_Float128);
25944 _Float128 (*ptr)(_Float128) = __acosieee128;
25945
25946 int
25947 main ()
25948 {
25949 return 0;
25950 }
25951
25952 _ACEOF
25953 if ac_fn_c_try_link "$LINENO"; then :
25954 gcc_cv_math_func___acosieee128=yes
25955 else
25956 gcc_cv_math_func___acosieee128=no
25957 fi
25958 rm -f core conftest.err conftest.$ac_objext \
25959 conftest$ac_exeext conftest.$ac_ext
25960 fi
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25962 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25963 if test $gcc_cv_math_func___acosieee128 = yes; then
25964
25965 cat >>confdefs.h <<_ACEOF
25966 #define HAVE___ACOSIEEE128 1
25967 _ACEOF
25968
25969 fi
25970
25971
25972
25973
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25975 $as_echo_n "checking for __asinhieee128... " >&6; }
25976 if ${gcc_cv_math_func___asinhieee128+:} false; then :
25977 $as_echo_n "(cached) " >&6
25978 else
25979 if test x$gcc_no_link = xyes; then
25980 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25981 fi
25982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25983 /* end confdefs.h. */
25984
25985 _Float128 __asinhieee128 (_Float128);
25986 _Float128 (*ptr)(_Float128) = __asinhieee128;
25987
25988 int
25989 main ()
25990 {
25991 return 0;
25992 }
25993
25994 _ACEOF
25995 if ac_fn_c_try_link "$LINENO"; then :
25996 gcc_cv_math_func___asinhieee128=yes
25997 else
25998 gcc_cv_math_func___asinhieee128=no
25999 fi
26000 rm -f core conftest.err conftest.$ac_objext \
26001 conftest$ac_exeext conftest.$ac_ext
26002 fi
26003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26004 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26005 if test $gcc_cv_math_func___asinhieee128 = yes; then
26006
26007 cat >>confdefs.h <<_ACEOF
26008 #define HAVE___ASINHIEEE128 1
26009 _ACEOF
26010
26011 fi
26012
26013
26014
26015
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26017 $as_echo_n "checking for __asinieee128... " >&6; }
26018 if ${gcc_cv_math_func___asinieee128+:} false; then :
26019 $as_echo_n "(cached) " >&6
26020 else
26021 if test x$gcc_no_link = xyes; then
26022 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26023 fi
26024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26025 /* end confdefs.h. */
26026
26027 _Float128 __asinieee128 (_Float128);
26028 _Float128 (*ptr)(_Float128) = __asinieee128;
26029
26030 int
26031 main ()
26032 {
26033 return 0;
26034 }
26035
26036 _ACEOF
26037 if ac_fn_c_try_link "$LINENO"; then :
26038 gcc_cv_math_func___asinieee128=yes
26039 else
26040 gcc_cv_math_func___asinieee128=no
26041 fi
26042 rm -f core conftest.err conftest.$ac_objext \
26043 conftest$ac_exeext conftest.$ac_ext
26044 fi
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26046 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26047 if test $gcc_cv_math_func___asinieee128 = yes; then
26048
26049 cat >>confdefs.h <<_ACEOF
26050 #define HAVE___ASINIEEE128 1
26051 _ACEOF
26052
26053 fi
26054
26055
26056
26057
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26059 $as_echo_n "checking for __atan2ieee128... " >&6; }
26060 if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26061 $as_echo_n "(cached) " >&6
26062 else
26063 if test x$gcc_no_link = xyes; then
26064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26065 fi
26066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26067 /* end confdefs.h. */
26068
26069 _Float128 __atan2ieee128 (_Float128);
26070 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26071
26072 int
26073 main ()
26074 {
26075 return 0;
26076 }
26077
26078 _ACEOF
26079 if ac_fn_c_try_link "$LINENO"; then :
26080 gcc_cv_math_func___atan2ieee128=yes
26081 else
26082 gcc_cv_math_func___atan2ieee128=no
26083 fi
26084 rm -f core conftest.err conftest.$ac_objext \
26085 conftest$ac_exeext conftest.$ac_ext
26086 fi
26087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26088 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26089 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26090
26091 cat >>confdefs.h <<_ACEOF
26092 #define HAVE___ATAN2IEEE128 1
26093 _ACEOF
26094
26095 fi
26096
26097
26098
26099
26100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26101 $as_echo_n "checking for __atanhieee128... " >&6; }
26102 if ${gcc_cv_math_func___atanhieee128+:} false; then :
26103 $as_echo_n "(cached) " >&6
26104 else
26105 if test x$gcc_no_link = xyes; then
26106 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26107 fi
26108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26109 /* end confdefs.h. */
26110
26111 _Float128 __atanhieee128 (_Float128);
26112 _Float128 (*ptr)(_Float128) = __atanhieee128;
26113
26114 int
26115 main ()
26116 {
26117 return 0;
26118 }
26119
26120 _ACEOF
26121 if ac_fn_c_try_link "$LINENO"; then :
26122 gcc_cv_math_func___atanhieee128=yes
26123 else
26124 gcc_cv_math_func___atanhieee128=no
26125 fi
26126 rm -f core conftest.err conftest.$ac_objext \
26127 conftest$ac_exeext conftest.$ac_ext
26128 fi
26129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26130 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26131 if test $gcc_cv_math_func___atanhieee128 = yes; then
26132
26133 cat >>confdefs.h <<_ACEOF
26134 #define HAVE___ATANHIEEE128 1
26135 _ACEOF
26136
26137 fi
26138
26139
26140
26141
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26143 $as_echo_n "checking for __atanieee128... " >&6; }
26144 if ${gcc_cv_math_func___atanieee128+:} false; then :
26145 $as_echo_n "(cached) " >&6
26146 else
26147 if test x$gcc_no_link = xyes; then
26148 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26149 fi
26150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26151 /* end confdefs.h. */
26152
26153 _Float128 __atanieee128 (_Float128);
26154 _Float128 (*ptr)(_Float128) = __atanieee128;
26155
26156 int
26157 main ()
26158 {
26159 return 0;
26160 }
26161
26162 _ACEOF
26163 if ac_fn_c_try_link "$LINENO"; then :
26164 gcc_cv_math_func___atanieee128=yes
26165 else
26166 gcc_cv_math_func___atanieee128=no
26167 fi
26168 rm -f core conftest.err conftest.$ac_objext \
26169 conftest$ac_exeext conftest.$ac_ext
26170 fi
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26172 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26173 if test $gcc_cv_math_func___atanieee128 = yes; then
26174
26175 cat >>confdefs.h <<_ACEOF
26176 #define HAVE___ATANIEEE128 1
26177 _ACEOF
26178
26179 fi
26180
26181
26182
26183
26184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26185 $as_echo_n "checking for __coshieee128... " >&6; }
26186 if ${gcc_cv_math_func___coshieee128+:} false; then :
26187 $as_echo_n "(cached) " >&6
26188 else
26189 if test x$gcc_no_link = xyes; then
26190 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26191 fi
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26194
26195 _Float128 __coshieee128 (_Float128);
26196 _Float128 (*ptr)(_Float128) = __coshieee128;
26197
26198 int
26199 main ()
26200 {
26201 return 0;
26202 }
26203
26204 _ACEOF
26205 if ac_fn_c_try_link "$LINENO"; then :
26206 gcc_cv_math_func___coshieee128=yes
26207 else
26208 gcc_cv_math_func___coshieee128=no
26209 fi
26210 rm -f core conftest.err conftest.$ac_objext \
26211 conftest$ac_exeext conftest.$ac_ext
26212 fi
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26214 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26215 if test $gcc_cv_math_func___coshieee128 = yes; then
26216
26217 cat >>confdefs.h <<_ACEOF
26218 #define HAVE___COSHIEEE128 1
26219 _ACEOF
26220
26221 fi
26222
26223
26224
26225
26226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26227 $as_echo_n "checking for __cosieee128... " >&6; }
26228 if ${gcc_cv_math_func___cosieee128+:} false; then :
26229 $as_echo_n "(cached) " >&6
26230 else
26231 if test x$gcc_no_link = xyes; then
26232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26233 fi
26234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26235 /* end confdefs.h. */
26236
26237 _Float128 __cosieee128 (_Float128);
26238 _Float128 (*ptr)(_Float128) = __cosieee128;
26239
26240 int
26241 main ()
26242 {
26243 return 0;
26244 }
26245
26246 _ACEOF
26247 if ac_fn_c_try_link "$LINENO"; then :
26248 gcc_cv_math_func___cosieee128=yes
26249 else
26250 gcc_cv_math_func___cosieee128=no
26251 fi
26252 rm -f core conftest.err conftest.$ac_objext \
26253 conftest$ac_exeext conftest.$ac_ext
26254 fi
26255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26256 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26257 if test $gcc_cv_math_func___cosieee128 = yes; then
26258
26259 cat >>confdefs.h <<_ACEOF
26260 #define HAVE___COSIEEE128 1
26261 _ACEOF
26262
26263 fi
26264
26265
26266
26267
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26269 $as_echo_n "checking for __erfieee128... " >&6; }
26270 if ${gcc_cv_math_func___erfieee128+:} false; then :
26271 $as_echo_n "(cached) " >&6
26272 else
26273 if test x$gcc_no_link = xyes; then
26274 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26275 fi
26276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26277 /* end confdefs.h. */
26278
26279 _Float128 __erfieee128 (_Float128);
26280 _Float128 (*ptr)(_Float128) = __erfieee128;
26281
26282 int
26283 main ()
26284 {
26285 return 0;
26286 }
26287
26288 _ACEOF
26289 if ac_fn_c_try_link "$LINENO"; then :
26290 gcc_cv_math_func___erfieee128=yes
26291 else
26292 gcc_cv_math_func___erfieee128=no
26293 fi
26294 rm -f core conftest.err conftest.$ac_objext \
26295 conftest$ac_exeext conftest.$ac_ext
26296 fi
26297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26298 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26299 if test $gcc_cv_math_func___erfieee128 = yes; then
26300
26301 cat >>confdefs.h <<_ACEOF
26302 #define HAVE___ERFIEEE128 1
26303 _ACEOF
26304
26305 fi
26306
26307
26308
26309
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26311 $as_echo_n "checking for __expieee128... " >&6; }
26312 if ${gcc_cv_math_func___expieee128+:} false; then :
26313 $as_echo_n "(cached) " >&6
26314 else
26315 if test x$gcc_no_link = xyes; then
26316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26317 fi
26318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26319 /* end confdefs.h. */
26320
26321 _Float128 __expieee128 (_Float128);
26322 _Float128 (*ptr)(_Float128) = __expieee128;
26323
26324 int
26325 main ()
26326 {
26327 return 0;
26328 }
26329
26330 _ACEOF
26331 if ac_fn_c_try_link "$LINENO"; then :
26332 gcc_cv_math_func___expieee128=yes
26333 else
26334 gcc_cv_math_func___expieee128=no
26335 fi
26336 rm -f core conftest.err conftest.$ac_objext \
26337 conftest$ac_exeext conftest.$ac_ext
26338 fi
26339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26340 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26341 if test $gcc_cv_math_func___expieee128 = yes; then
26342
26343 cat >>confdefs.h <<_ACEOF
26344 #define HAVE___EXPIEEE128 1
26345 _ACEOF
26346
26347 fi
26348
26349
26350
26351
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26353 $as_echo_n "checking for __fabsieee128... " >&6; }
26354 if ${gcc_cv_math_func___fabsieee128+:} false; then :
26355 $as_echo_n "(cached) " >&6
26356 else
26357 if test x$gcc_no_link = xyes; then
26358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26359 fi
26360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26361 /* end confdefs.h. */
26362
26363 _Float128 __fabsieee128 (_Float128);
26364 _Float128 (*ptr)(_Float128) = __fabsieee128;
26365
26366 int
26367 main ()
26368 {
26369 return 0;
26370 }
26371
26372 _ACEOF
26373 if ac_fn_c_try_link "$LINENO"; then :
26374 gcc_cv_math_func___fabsieee128=yes
26375 else
26376 gcc_cv_math_func___fabsieee128=no
26377 fi
26378 rm -f core conftest.err conftest.$ac_objext \
26379 conftest$ac_exeext conftest.$ac_ext
26380 fi
26381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26382 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26383 if test $gcc_cv_math_func___fabsieee128 = yes; then
26384
26385 cat >>confdefs.h <<_ACEOF
26386 #define HAVE___FABSIEEE128 1
26387 _ACEOF
26388
26389 fi
26390
26391
26392
26393
26394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26395 $as_echo_n "checking for __jnieee128... " >&6; }
26396 if ${gcc_cv_math_func___jnieee128+:} false; then :
26397 $as_echo_n "(cached) " >&6
26398 else
26399 if test x$gcc_no_link = xyes; then
26400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26401 fi
26402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26403 /* end confdefs.h. */
26404
26405 _Float128 __jnieee128 (_Float128);
26406 _Float128 (*ptr)(_Float128) = __jnieee128;
26407
26408 int
26409 main ()
26410 {
26411 return 0;
26412 }
26413
26414 _ACEOF
26415 if ac_fn_c_try_link "$LINENO"; then :
26416 gcc_cv_math_func___jnieee128=yes
26417 else
26418 gcc_cv_math_func___jnieee128=no
26419 fi
26420 rm -f core conftest.err conftest.$ac_objext \
26421 conftest$ac_exeext conftest.$ac_ext
26422 fi
26423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26424 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26425 if test $gcc_cv_math_func___jnieee128 = yes; then
26426
26427 cat >>confdefs.h <<_ACEOF
26428 #define HAVE___JNIEEE128 1
26429 _ACEOF
26430
26431 fi
26432
26433
26434
26435
26436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26437 $as_echo_n "checking for __log10ieee128... " >&6; }
26438 if ${gcc_cv_math_func___log10ieee128+:} false; then :
26439 $as_echo_n "(cached) " >&6
26440 else
26441 if test x$gcc_no_link = xyes; then
26442 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26443 fi
26444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26445 /* end confdefs.h. */
26446
26447 _Float128 __log10ieee128 (_Float128);
26448 _Float128 (*ptr)(_Float128) = __log10ieee128;
26449
26450 int
26451 main ()
26452 {
26453 return 0;
26454 }
26455
26456 _ACEOF
26457 if ac_fn_c_try_link "$LINENO"; then :
26458 gcc_cv_math_func___log10ieee128=yes
26459 else
26460 gcc_cv_math_func___log10ieee128=no
26461 fi
26462 rm -f core conftest.err conftest.$ac_objext \
26463 conftest$ac_exeext conftest.$ac_ext
26464 fi
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26466 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26467 if test $gcc_cv_math_func___log10ieee128 = yes; then
26468
26469 cat >>confdefs.h <<_ACEOF
26470 #define HAVE___LOG10IEEE128 1
26471 _ACEOF
26472
26473 fi
26474
26475
26476
26477
26478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26479 $as_echo_n "checking for __logieee128... " >&6; }
26480 if ${gcc_cv_math_func___logieee128+:} false; then :
26481 $as_echo_n "(cached) " >&6
26482 else
26483 if test x$gcc_no_link = xyes; then
26484 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26485 fi
26486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26487 /* end confdefs.h. */
26488
26489 _Float128 __logieee128 (_Float128);
26490 _Float128 (*ptr)(_Float128) = __logieee128;
26491
26492 int
26493 main ()
26494 {
26495 return 0;
26496 }
26497
26498 _ACEOF
26499 if ac_fn_c_try_link "$LINENO"; then :
26500 gcc_cv_math_func___logieee128=yes
26501 else
26502 gcc_cv_math_func___logieee128=no
26503 fi
26504 rm -f core conftest.err conftest.$ac_objext \
26505 conftest$ac_exeext conftest.$ac_ext
26506 fi
26507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26508 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26509 if test $gcc_cv_math_func___logieee128 = yes; then
26510
26511 cat >>confdefs.h <<_ACEOF
26512 #define HAVE___LOGIEEE128 1
26513 _ACEOF
26514
26515 fi
26516
26517
26518
26519
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26521 $as_echo_n "checking for __powieee128... " >&6; }
26522 if ${gcc_cv_math_func___powieee128+:} false; then :
26523 $as_echo_n "(cached) " >&6
26524 else
26525 if test x$gcc_no_link = xyes; then
26526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26527 fi
26528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26529 /* end confdefs.h. */
26530
26531 _Float128 __powieee128 (_Float128);
26532 _Float128 (*ptr)(_Float128) = __powieee128;
26533
26534 int
26535 main ()
26536 {
26537 return 0;
26538 }
26539
26540 _ACEOF
26541 if ac_fn_c_try_link "$LINENO"; then :
26542 gcc_cv_math_func___powieee128=yes
26543 else
26544 gcc_cv_math_func___powieee128=no
26545 fi
26546 rm -f core conftest.err conftest.$ac_objext \
26547 conftest$ac_exeext conftest.$ac_ext
26548 fi
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26550 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26551 if test $gcc_cv_math_func___powieee128 = yes; then
26552
26553 cat >>confdefs.h <<_ACEOF
26554 #define HAVE___POWIEEE128 1
26555 _ACEOF
26556
26557 fi
26558
26559
26560
26561
26562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26563 $as_echo_n "checking for __sinhieee128... " >&6; }
26564 if ${gcc_cv_math_func___sinhieee128+:} false; then :
26565 $as_echo_n "(cached) " >&6
26566 else
26567 if test x$gcc_no_link = xyes; then
26568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26569 fi
26570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26571 /* end confdefs.h. */
26572
26573 _Float128 __sinhieee128 (_Float128);
26574 _Float128 (*ptr)(_Float128) = __sinhieee128;
26575
26576 int
26577 main ()
26578 {
26579 return 0;
26580 }
26581
26582 _ACEOF
26583 if ac_fn_c_try_link "$LINENO"; then :
26584 gcc_cv_math_func___sinhieee128=yes
26585 else
26586 gcc_cv_math_func___sinhieee128=no
26587 fi
26588 rm -f core conftest.err conftest.$ac_objext \
26589 conftest$ac_exeext conftest.$ac_ext
26590 fi
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26592 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26593 if test $gcc_cv_math_func___sinhieee128 = yes; then
26594
26595 cat >>confdefs.h <<_ACEOF
26596 #define HAVE___SINHIEEE128 1
26597 _ACEOF
26598
26599 fi
26600
26601
26602
26603
26604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26605 $as_echo_n "checking for __sinieee128... " >&6; }
26606 if ${gcc_cv_math_func___sinieee128+:} false; then :
26607 $as_echo_n "(cached) " >&6
26608 else
26609 if test x$gcc_no_link = xyes; then
26610 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26611 fi
26612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26613 /* end confdefs.h. */
26614
26615 _Float128 __sinieee128 (_Float128);
26616 _Float128 (*ptr)(_Float128) = __sinieee128;
26617
26618 int
26619 main ()
26620 {
26621 return 0;
26622 }
26623
26624 _ACEOF
26625 if ac_fn_c_try_link "$LINENO"; then :
26626 gcc_cv_math_func___sinieee128=yes
26627 else
26628 gcc_cv_math_func___sinieee128=no
26629 fi
26630 rm -f core conftest.err conftest.$ac_objext \
26631 conftest$ac_exeext conftest.$ac_ext
26632 fi
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26634 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26635 if test $gcc_cv_math_func___sinieee128 = yes; then
26636
26637 cat >>confdefs.h <<_ACEOF
26638 #define HAVE___SINIEEE128 1
26639 _ACEOF
26640
26641 fi
26642
26643
26644
26645
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26647 $as_echo_n "checking for __sqrtieee128... " >&6; }
26648 if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26649 $as_echo_n "(cached) " >&6
26650 else
26651 if test x$gcc_no_link = xyes; then
26652 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26653 fi
26654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26655 /* end confdefs.h. */
26656
26657 _Float128 __sqrtieee128 (_Float128);
26658 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26659
26660 int
26661 main ()
26662 {
26663 return 0;
26664 }
26665
26666 _ACEOF
26667 if ac_fn_c_try_link "$LINENO"; then :
26668 gcc_cv_math_func___sqrtieee128=yes
26669 else
26670 gcc_cv_math_func___sqrtieee128=no
26671 fi
26672 rm -f core conftest.err conftest.$ac_objext \
26673 conftest$ac_exeext conftest.$ac_ext
26674 fi
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26676 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26677 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26678
26679 cat >>confdefs.h <<_ACEOF
26680 #define HAVE___SQRTIEEE128 1
26681 _ACEOF
26682
26683 fi
26684
26685
26686
26687
26688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26689 $as_echo_n "checking for __tanhieee128... " >&6; }
26690 if ${gcc_cv_math_func___tanhieee128+:} false; then :
26691 $as_echo_n "(cached) " >&6
26692 else
26693 if test x$gcc_no_link = xyes; then
26694 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26695 fi
26696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26697 /* end confdefs.h. */
26698
26699 _Float128 __tanhieee128 (_Float128);
26700 _Float128 (*ptr)(_Float128) = __tanhieee128;
26701
26702 int
26703 main ()
26704 {
26705 return 0;
26706 }
26707
26708 _ACEOF
26709 if ac_fn_c_try_link "$LINENO"; then :
26710 gcc_cv_math_func___tanhieee128=yes
26711 else
26712 gcc_cv_math_func___tanhieee128=no
26713 fi
26714 rm -f core conftest.err conftest.$ac_objext \
26715 conftest$ac_exeext conftest.$ac_ext
26716 fi
26717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26718 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26719 if test $gcc_cv_math_func___tanhieee128 = yes; then
26720
26721 cat >>confdefs.h <<_ACEOF
26722 #define HAVE___TANHIEEE128 1
26723 _ACEOF
26724
26725 fi
26726
26727
26728
26729
26730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26731 $as_echo_n "checking for __tanieee128... " >&6; }
26732 if ${gcc_cv_math_func___tanieee128+:} false; then :
26733 $as_echo_n "(cached) " >&6
26734 else
26735 if test x$gcc_no_link = xyes; then
26736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26737 fi
26738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26739 /* end confdefs.h. */
26740
26741 _Float128 __tanieee128 (_Float128);
26742 _Float128 (*ptr)(_Float128) = __tanieee128;
26743
26744 int
26745 main ()
26746 {
26747 return 0;
26748 }
26749
26750 _ACEOF
26751 if ac_fn_c_try_link "$LINENO"; then :
26752 gcc_cv_math_func___tanieee128=yes
26753 else
26754 gcc_cv_math_func___tanieee128=no
26755 fi
26756 rm -f core conftest.err conftest.$ac_objext \
26757 conftest$ac_exeext conftest.$ac_ext
26758 fi
26759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26760 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26761 if test $gcc_cv_math_func___tanieee128 = yes; then
26762
26763 cat >>confdefs.h <<_ACEOF
26764 #define HAVE___TANIEEE128 1
26765 _ACEOF
26766
26767 fi
26768
26769
26770
26771
26772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26773 $as_echo_n "checking for __ynieee128... " >&6; }
26774 if ${gcc_cv_math_func___ynieee128+:} false; then :
26775 $as_echo_n "(cached) " >&6
26776 else
26777 if test x$gcc_no_link = xyes; then
26778 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26779 fi
26780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26781 /* end confdefs.h. */
26782
26783 _Float128 __ynieee128 (_Float128);
26784 _Float128 (*ptr)(_Float128) = __ynieee128;
26785
26786 int
26787 main ()
26788 {
26789 return 0;
26790 }
26791
26792 _ACEOF
26793 if ac_fn_c_try_link "$LINENO"; then :
26794 gcc_cv_math_func___ynieee128=yes
26795 else
26796 gcc_cv_math_func___ynieee128=no
26797 fi
26798 rm -f core conftest.err conftest.$ac_objext \
26799 conftest$ac_exeext conftest.$ac_ext
26800 fi
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26802 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26803 if test $gcc_cv_math_func___ynieee128 = yes; then
26804
26805 cat >>confdefs.h <<_ACEOF
26806 #define HAVE___YNIEEE128 1
26807 _ACEOF
26808
26809 fi
26810
26811 fi
26812
26813 # On AIX, clog is present in libm as __clog
26814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26815 $as_echo_n "checking for __clog in -lm... " >&6; }
26816 if ${ac_cv_lib_m___clog+:} false; then :
26817 $as_echo_n "(cached) " >&6
26818 else
26819 ac_check_lib_save_LIBS=$LIBS
26820 LIBS="-lm $LIBS"
26821 if test x$gcc_no_link = xyes; then
26822 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26823 fi
26824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26825 /* end confdefs.h. */
26826
26827 /* Override any GCC internal prototype to avoid an error.
26828 Use char because int might match the return type of a GCC
26829 builtin and then its argument prototype would still apply. */
26830 #ifdef __cplusplus
26831 extern "C"
26832 #endif
26833 char __clog ();
26834 int
26835 main ()
26836 {
26837 return __clog ();
26838 ;
26839 return 0;
26840 }
26841 _ACEOF
26842 if ac_fn_c_try_link "$LINENO"; then :
26843 ac_cv_lib_m___clog=yes
26844 else
26845 ac_cv_lib_m___clog=no
26846 fi
26847 rm -f core conftest.err conftest.$ac_objext \
26848 conftest$ac_exeext conftest.$ac_ext
26849 LIBS=$ac_check_lib_save_LIBS
26850 fi
26851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26852 $as_echo "$ac_cv_lib_m___clog" >&6; }
26853 if test "x$ac_cv_lib_m___clog" = xyes; then :
26854
26855 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26856
26857 fi
26858
26859
26860
26861
26862 if test $gcc_cv_math_func_copysign = no; then
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26864 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26865 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26866 $as_echo_n "(cached) " >&6
26867 else
26868 if test x$gcc_no_link = xyes; then
26869 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26870 fi
26871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26872 /* end confdefs.h. */
26873
26874 double
26875 copysign_fallback (double x, double y)
26876 {
26877 return __builtin_copysign (x, y);
26878 }
26879
26880 int
26881 main ()
26882 {
26883 return 0;
26884 }
26885
26886 _ACEOF
26887 if ac_fn_c_try_link "$LINENO"; then :
26888 gcc_cv_math_inline_builtin_copysign=yes
26889 else
26890 gcc_cv_math_inline_builtin_copysign=no
26891 fi
26892 rm -f core conftest.err conftest.$ac_objext \
26893 conftest$ac_exeext conftest.$ac_ext
26894 fi
26895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26896 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26897 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26898
26899 cat >>confdefs.h <<_ACEOF
26900 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26901 _ACEOF
26902
26903 fi
26904 fi
26905
26906
26907 if test $gcc_cv_math_func_copysignl = no; then
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26909 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26910 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
26911 $as_echo_n "(cached) " >&6
26912 else
26913 if test x$gcc_no_link = xyes; then
26914 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26915 fi
26916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26917 /* end confdefs.h. */
26918
26919 long double
26920 copysignl_fallback (long double x, long double y)
26921 {
26922 return __builtin_copysignl (x, y);
26923 }
26924
26925 int
26926 main ()
26927 {
26928 return 0;
26929 }
26930
26931 _ACEOF
26932 if ac_fn_c_try_link "$LINENO"; then :
26933 gcc_cv_math_inline_builtin_copysignl=yes
26934 else
26935 gcc_cv_math_inline_builtin_copysignl=no
26936 fi
26937 rm -f core conftest.err conftest.$ac_objext \
26938 conftest$ac_exeext conftest.$ac_ext
26939 fi
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26941 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26942 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26943
26944 cat >>confdefs.h <<_ACEOF
26945 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26946 _ACEOF
26947
26948 fi
26949 fi
26950
26951
26952 if test $gcc_cv_math_func_fabs = no; then
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26954 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26955 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
26956 $as_echo_n "(cached) " >&6
26957 else
26958 if test x$gcc_no_link = xyes; then
26959 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26960 fi
26961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26962 /* end confdefs.h. */
26963
26964 double
26965 fabs_fallback (double x)
26966 {
26967 return __builtin_fabs (x);
26968 }
26969
26970 int
26971 main ()
26972 {
26973 return 0;
26974 }
26975
26976 _ACEOF
26977 if ac_fn_c_try_link "$LINENO"; then :
26978 gcc_cv_math_inline_builtin_fabs=yes
26979 else
26980 gcc_cv_math_inline_builtin_fabs=no
26981 fi
26982 rm -f core conftest.err conftest.$ac_objext \
26983 conftest$ac_exeext conftest.$ac_ext
26984 fi
26985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26986 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26987 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26988
26989 cat >>confdefs.h <<_ACEOF
26990 #define HAVE_INLINE_BUILTIN_FABS 1
26991 _ACEOF
26992
26993 fi
26994 fi
26995
26996
26997 if test $gcc_cv_math_func_fabsl = no; then
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
26999 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27000 if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
27001 $as_echo_n "(cached) " >&6
27002 else
27003 if test x$gcc_no_link = xyes; then
27004 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27005 fi
27006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27007 /* end confdefs.h. */
27008
27009 long double
27010 fabsl_fallback (long double x)
27011 {
27012 return __builtin_fabsl (x);
27013 }
27014
27015 int
27016 main ()
27017 {
27018 return 0;
27019 }
27020
27021 _ACEOF
27022 if ac_fn_c_try_link "$LINENO"; then :
27023 gcc_cv_math_inline_builtin_fabsl=yes
27024 else
27025 gcc_cv_math_inline_builtin_fabsl=no
27026 fi
27027 rm -f core conftest.err conftest.$ac_objext \
27028 conftest$ac_exeext conftest.$ac_ext
27029 fi
27030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27031 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27032 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27033
27034 cat >>confdefs.h <<_ACEOF
27035 #define HAVE_INLINE_BUILTIN_FABSL 1
27036 _ACEOF
27037
27038 fi
27039 fi
27040
27041
27042
27043
27044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27045 $as_echo_n "checking for acosf128... " >&6; }
27046 if ${gcc_cv_math_func_acosf128+:} false; then :
27047 $as_echo_n "(cached) " >&6
27048 else
27049 if test x$gcc_no_link = xyes; then
27050 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27051 fi
27052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27053 /* end confdefs.h. */
27054
27055 #ifdef HAVE_COMPLEX_H
27056 #include <complex.h>
27057 #endif
27058 #ifdef HAVE_MATH_H
27059 #include <math.h>
27060 #endif
27061
27062 int (*ptr)() = (int (*)())acosf128;
27063
27064 int
27065 main ()
27066 {
27067 return 0;
27068 }
27069
27070 _ACEOF
27071 if ac_fn_c_try_link "$LINENO"; then :
27072 gcc_cv_math_func_acosf128=yes
27073 else
27074 gcc_cv_math_func_acosf128=no
27075 fi
27076 rm -f core conftest.err conftest.$ac_objext \
27077 conftest$ac_exeext conftest.$ac_ext
27078 fi
27079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27080 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27081 if test $gcc_cv_math_func_acosf128 = yes; then
27082
27083 cat >>confdefs.h <<_ACEOF
27084 #define HAVE_ACOSF128 1
27085 _ACEOF
27086
27087 fi
27088
27089
27090
27091
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27093 $as_echo_n "checking for acoshf128... " >&6; }
27094 if ${gcc_cv_math_func_acoshf128+:} false; then :
27095 $as_echo_n "(cached) " >&6
27096 else
27097 if test x$gcc_no_link = xyes; then
27098 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27099 fi
27100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27101 /* end confdefs.h. */
27102
27103 #ifdef HAVE_COMPLEX_H
27104 #include <complex.h>
27105 #endif
27106 #ifdef HAVE_MATH_H
27107 #include <math.h>
27108 #endif
27109
27110 int (*ptr)() = (int (*)())acoshf128;
27111
27112 int
27113 main ()
27114 {
27115 return 0;
27116 }
27117
27118 _ACEOF
27119 if ac_fn_c_try_link "$LINENO"; then :
27120 gcc_cv_math_func_acoshf128=yes
27121 else
27122 gcc_cv_math_func_acoshf128=no
27123 fi
27124 rm -f core conftest.err conftest.$ac_objext \
27125 conftest$ac_exeext conftest.$ac_ext
27126 fi
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27128 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27129 if test $gcc_cv_math_func_acoshf128 = yes; then
27130
27131 cat >>confdefs.h <<_ACEOF
27132 #define HAVE_ACOSHF128 1
27133 _ACEOF
27134
27135 fi
27136
27137
27138
27139
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27141 $as_echo_n "checking for asinf128... " >&6; }
27142 if ${gcc_cv_math_func_asinf128+:} false; then :
27143 $as_echo_n "(cached) " >&6
27144 else
27145 if test x$gcc_no_link = xyes; then
27146 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27147 fi
27148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27149 /* end confdefs.h. */
27150
27151 #ifdef HAVE_COMPLEX_H
27152 #include <complex.h>
27153 #endif
27154 #ifdef HAVE_MATH_H
27155 #include <math.h>
27156 #endif
27157
27158 int (*ptr)() = (int (*)())asinf128;
27159
27160 int
27161 main ()
27162 {
27163 return 0;
27164 }
27165
27166 _ACEOF
27167 if ac_fn_c_try_link "$LINENO"; then :
27168 gcc_cv_math_func_asinf128=yes
27169 else
27170 gcc_cv_math_func_asinf128=no
27171 fi
27172 rm -f core conftest.err conftest.$ac_objext \
27173 conftest$ac_exeext conftest.$ac_ext
27174 fi
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27176 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27177 if test $gcc_cv_math_func_asinf128 = yes; then
27178
27179 cat >>confdefs.h <<_ACEOF
27180 #define HAVE_ASINF128 1
27181 _ACEOF
27182
27183 fi
27184
27185
27186
27187
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27189 $as_echo_n "checking for asinhf128... " >&6; }
27190 if ${gcc_cv_math_func_asinhf128+:} false; then :
27191 $as_echo_n "(cached) " >&6
27192 else
27193 if test x$gcc_no_link = xyes; then
27194 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27195 fi
27196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27197 /* end confdefs.h. */
27198
27199 #ifdef HAVE_COMPLEX_H
27200 #include <complex.h>
27201 #endif
27202 #ifdef HAVE_MATH_H
27203 #include <math.h>
27204 #endif
27205
27206 int (*ptr)() = (int (*)())asinhf128;
27207
27208 int
27209 main ()
27210 {
27211 return 0;
27212 }
27213
27214 _ACEOF
27215 if ac_fn_c_try_link "$LINENO"; then :
27216 gcc_cv_math_func_asinhf128=yes
27217 else
27218 gcc_cv_math_func_asinhf128=no
27219 fi
27220 rm -f core conftest.err conftest.$ac_objext \
27221 conftest$ac_exeext conftest.$ac_ext
27222 fi
27223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27224 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27225 if test $gcc_cv_math_func_asinhf128 = yes; then
27226
27227 cat >>confdefs.h <<_ACEOF
27228 #define HAVE_ASINHF128 1
27229 _ACEOF
27230
27231 fi
27232
27233
27234
27235
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27237 $as_echo_n "checking for atan2f128... " >&6; }
27238 if ${gcc_cv_math_func_atan2f128+:} false; then :
27239 $as_echo_n "(cached) " >&6
27240 else
27241 if test x$gcc_no_link = xyes; then
27242 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27243 fi
27244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27245 /* end confdefs.h. */
27246
27247 #ifdef HAVE_COMPLEX_H
27248 #include <complex.h>
27249 #endif
27250 #ifdef HAVE_MATH_H
27251 #include <math.h>
27252 #endif
27253
27254 int (*ptr)() = (int (*)())atan2f128;
27255
27256 int
27257 main ()
27258 {
27259 return 0;
27260 }
27261
27262 _ACEOF
27263 if ac_fn_c_try_link "$LINENO"; then :
27264 gcc_cv_math_func_atan2f128=yes
27265 else
27266 gcc_cv_math_func_atan2f128=no
27267 fi
27268 rm -f core conftest.err conftest.$ac_objext \
27269 conftest$ac_exeext conftest.$ac_ext
27270 fi
27271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27272 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27273 if test $gcc_cv_math_func_atan2f128 = yes; then
27274
27275 cat >>confdefs.h <<_ACEOF
27276 #define HAVE_ATAN2F128 1
27277 _ACEOF
27278
27279 fi
27280
27281
27282
27283
27284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27285 $as_echo_n "checking for atanf128... " >&6; }
27286 if ${gcc_cv_math_func_atanf128+:} false; then :
27287 $as_echo_n "(cached) " >&6
27288 else
27289 if test x$gcc_no_link = xyes; then
27290 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27291 fi
27292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27293 /* end confdefs.h. */
27294
27295 #ifdef HAVE_COMPLEX_H
27296 #include <complex.h>
27297 #endif
27298 #ifdef HAVE_MATH_H
27299 #include <math.h>
27300 #endif
27301
27302 int (*ptr)() = (int (*)())atanf128;
27303
27304 int
27305 main ()
27306 {
27307 return 0;
27308 }
27309
27310 _ACEOF
27311 if ac_fn_c_try_link "$LINENO"; then :
27312 gcc_cv_math_func_atanf128=yes
27313 else
27314 gcc_cv_math_func_atanf128=no
27315 fi
27316 rm -f core conftest.err conftest.$ac_objext \
27317 conftest$ac_exeext conftest.$ac_ext
27318 fi
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27320 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27321 if test $gcc_cv_math_func_atanf128 = yes; then
27322
27323 cat >>confdefs.h <<_ACEOF
27324 #define HAVE_ATANF128 1
27325 _ACEOF
27326
27327 fi
27328
27329
27330
27331
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27333 $as_echo_n "checking for atanhf128... " >&6; }
27334 if ${gcc_cv_math_func_atanhf128+:} false; then :
27335 $as_echo_n "(cached) " >&6
27336 else
27337 if test x$gcc_no_link = xyes; then
27338 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27339 fi
27340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27341 /* end confdefs.h. */
27342
27343 #ifdef HAVE_COMPLEX_H
27344 #include <complex.h>
27345 #endif
27346 #ifdef HAVE_MATH_H
27347 #include <math.h>
27348 #endif
27349
27350 int (*ptr)() = (int (*)())atanhf128;
27351
27352 int
27353 main ()
27354 {
27355 return 0;
27356 }
27357
27358 _ACEOF
27359 if ac_fn_c_try_link "$LINENO"; then :
27360 gcc_cv_math_func_atanhf128=yes
27361 else
27362 gcc_cv_math_func_atanhf128=no
27363 fi
27364 rm -f core conftest.err conftest.$ac_objext \
27365 conftest$ac_exeext conftest.$ac_ext
27366 fi
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27368 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27369 if test $gcc_cv_math_func_atanhf128 = yes; then
27370
27371 cat >>confdefs.h <<_ACEOF
27372 #define HAVE_ATANHF128 1
27373 _ACEOF
27374
27375 fi
27376
27377
27378
27379
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27381 $as_echo_n "checking for cargf128... " >&6; }
27382 if ${gcc_cv_math_func_cargf128+:} false; then :
27383 $as_echo_n "(cached) " >&6
27384 else
27385 if test x$gcc_no_link = xyes; then
27386 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27387 fi
27388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27389 /* end confdefs.h. */
27390
27391 #ifdef HAVE_COMPLEX_H
27392 #include <complex.h>
27393 #endif
27394 #ifdef HAVE_MATH_H
27395 #include <math.h>
27396 #endif
27397
27398 int (*ptr)() = (int (*)())cargf128;
27399
27400 int
27401 main ()
27402 {
27403 return 0;
27404 }
27405
27406 _ACEOF
27407 if ac_fn_c_try_link "$LINENO"; then :
27408 gcc_cv_math_func_cargf128=yes
27409 else
27410 gcc_cv_math_func_cargf128=no
27411 fi
27412 rm -f core conftest.err conftest.$ac_objext \
27413 conftest$ac_exeext conftest.$ac_ext
27414 fi
27415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27416 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27417 if test $gcc_cv_math_func_cargf128 = yes; then
27418
27419 cat >>confdefs.h <<_ACEOF
27420 #define HAVE_CARGF128 1
27421 _ACEOF
27422
27423 fi
27424
27425
27426
27427
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27429 $as_echo_n "checking for ceilf128... " >&6; }
27430 if ${gcc_cv_math_func_ceilf128+:} false; then :
27431 $as_echo_n "(cached) " >&6
27432 else
27433 if test x$gcc_no_link = xyes; then
27434 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27435 fi
27436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27437 /* end confdefs.h. */
27438
27439 #ifdef HAVE_COMPLEX_H
27440 #include <complex.h>
27441 #endif
27442 #ifdef HAVE_MATH_H
27443 #include <math.h>
27444 #endif
27445
27446 int (*ptr)() = (int (*)())ceilf128;
27447
27448 int
27449 main ()
27450 {
27451 return 0;
27452 }
27453
27454 _ACEOF
27455 if ac_fn_c_try_link "$LINENO"; then :
27456 gcc_cv_math_func_ceilf128=yes
27457 else
27458 gcc_cv_math_func_ceilf128=no
27459 fi
27460 rm -f core conftest.err conftest.$ac_objext \
27461 conftest$ac_exeext conftest.$ac_ext
27462 fi
27463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27464 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27465 if test $gcc_cv_math_func_ceilf128 = yes; then
27466
27467 cat >>confdefs.h <<_ACEOF
27468 #define HAVE_CEILF128 1
27469 _ACEOF
27470
27471 fi
27472
27473
27474
27475
27476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27477 $as_echo_n "checking for copysignf128... " >&6; }
27478 if ${gcc_cv_math_func_copysignf128+:} false; then :
27479 $as_echo_n "(cached) " >&6
27480 else
27481 if test x$gcc_no_link = xyes; then
27482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27483 fi
27484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27485 /* end confdefs.h. */
27486
27487 #ifdef HAVE_COMPLEX_H
27488 #include <complex.h>
27489 #endif
27490 #ifdef HAVE_MATH_H
27491 #include <math.h>
27492 #endif
27493
27494 int (*ptr)() = (int (*)())copysignf128;
27495
27496 int
27497 main ()
27498 {
27499 return 0;
27500 }
27501
27502 _ACEOF
27503 if ac_fn_c_try_link "$LINENO"; then :
27504 gcc_cv_math_func_copysignf128=yes
27505 else
27506 gcc_cv_math_func_copysignf128=no
27507 fi
27508 rm -f core conftest.err conftest.$ac_objext \
27509 conftest$ac_exeext conftest.$ac_ext
27510 fi
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27512 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27513 if test $gcc_cv_math_func_copysignf128 = yes; then
27514
27515 cat >>confdefs.h <<_ACEOF
27516 #define HAVE_COPYSIGNF128 1
27517 _ACEOF
27518
27519 fi
27520
27521
27522
27523
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27525 $as_echo_n "checking for cosf128... " >&6; }
27526 if ${gcc_cv_math_func_cosf128+:} false; then :
27527 $as_echo_n "(cached) " >&6
27528 else
27529 if test x$gcc_no_link = xyes; then
27530 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27531 fi
27532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27533 /* end confdefs.h. */
27534
27535 #ifdef HAVE_COMPLEX_H
27536 #include <complex.h>
27537 #endif
27538 #ifdef HAVE_MATH_H
27539 #include <math.h>
27540 #endif
27541
27542 int (*ptr)() = (int (*)())cosf128;
27543
27544 int
27545 main ()
27546 {
27547 return 0;
27548 }
27549
27550 _ACEOF
27551 if ac_fn_c_try_link "$LINENO"; then :
27552 gcc_cv_math_func_cosf128=yes
27553 else
27554 gcc_cv_math_func_cosf128=no
27555 fi
27556 rm -f core conftest.err conftest.$ac_objext \
27557 conftest$ac_exeext conftest.$ac_ext
27558 fi
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27560 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27561 if test $gcc_cv_math_func_cosf128 = yes; then
27562
27563 cat >>confdefs.h <<_ACEOF
27564 #define HAVE_COSF128 1
27565 _ACEOF
27566
27567 fi
27568
27569
27570
27571
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27573 $as_echo_n "checking for ccosf128... " >&6; }
27574 if ${gcc_cv_math_func_ccosf128+:} false; then :
27575 $as_echo_n "(cached) " >&6
27576 else
27577 if test x$gcc_no_link = xyes; then
27578 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27579 fi
27580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27581 /* end confdefs.h. */
27582
27583 #ifdef HAVE_COMPLEX_H
27584 #include <complex.h>
27585 #endif
27586 #ifdef HAVE_MATH_H
27587 #include <math.h>
27588 #endif
27589
27590 int (*ptr)() = (int (*)())ccosf128;
27591
27592 int
27593 main ()
27594 {
27595 return 0;
27596 }
27597
27598 _ACEOF
27599 if ac_fn_c_try_link "$LINENO"; then :
27600 gcc_cv_math_func_ccosf128=yes
27601 else
27602 gcc_cv_math_func_ccosf128=no
27603 fi
27604 rm -f core conftest.err conftest.$ac_objext \
27605 conftest$ac_exeext conftest.$ac_ext
27606 fi
27607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27608 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27609 if test $gcc_cv_math_func_ccosf128 = yes; then
27610
27611 cat >>confdefs.h <<_ACEOF
27612 #define HAVE_CCOSF128 1
27613 _ACEOF
27614
27615 fi
27616
27617
27618
27619
27620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27621 $as_echo_n "checking for coshf128... " >&6; }
27622 if ${gcc_cv_math_func_coshf128+:} false; then :
27623 $as_echo_n "(cached) " >&6
27624 else
27625 if test x$gcc_no_link = xyes; then
27626 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27627 fi
27628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27629 /* end confdefs.h. */
27630
27631 #ifdef HAVE_COMPLEX_H
27632 #include <complex.h>
27633 #endif
27634 #ifdef HAVE_MATH_H
27635 #include <math.h>
27636 #endif
27637
27638 int (*ptr)() = (int (*)())coshf128;
27639
27640 int
27641 main ()
27642 {
27643 return 0;
27644 }
27645
27646 _ACEOF
27647 if ac_fn_c_try_link "$LINENO"; then :
27648 gcc_cv_math_func_coshf128=yes
27649 else
27650 gcc_cv_math_func_coshf128=no
27651 fi
27652 rm -f core conftest.err conftest.$ac_objext \
27653 conftest$ac_exeext conftest.$ac_ext
27654 fi
27655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27656 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27657 if test $gcc_cv_math_func_coshf128 = yes; then
27658
27659 cat >>confdefs.h <<_ACEOF
27660 #define HAVE_COSHF128 1
27661 _ACEOF
27662
27663 fi
27664
27665
27666
27667
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27669 $as_echo_n "checking for ccoshf128... " >&6; }
27670 if ${gcc_cv_math_func_ccoshf128+:} false; then :
27671 $as_echo_n "(cached) " >&6
27672 else
27673 if test x$gcc_no_link = xyes; then
27674 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27675 fi
27676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27677 /* end confdefs.h. */
27678
27679 #ifdef HAVE_COMPLEX_H
27680 #include <complex.h>
27681 #endif
27682 #ifdef HAVE_MATH_H
27683 #include <math.h>
27684 #endif
27685
27686 int (*ptr)() = (int (*)())ccoshf128;
27687
27688 int
27689 main ()
27690 {
27691 return 0;
27692 }
27693
27694 _ACEOF
27695 if ac_fn_c_try_link "$LINENO"; then :
27696 gcc_cv_math_func_ccoshf128=yes
27697 else
27698 gcc_cv_math_func_ccoshf128=no
27699 fi
27700 rm -f core conftest.err conftest.$ac_objext \
27701 conftest$ac_exeext conftest.$ac_ext
27702 fi
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27704 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27705 if test $gcc_cv_math_func_ccoshf128 = yes; then
27706
27707 cat >>confdefs.h <<_ACEOF
27708 #define HAVE_CCOSHF128 1
27709 _ACEOF
27710
27711 fi
27712
27713
27714
27715
27716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27717 $as_echo_n "checking for expf128... " >&6; }
27718 if ${gcc_cv_math_func_expf128+:} false; then :
27719 $as_echo_n "(cached) " >&6
27720 else
27721 if test x$gcc_no_link = xyes; then
27722 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27723 fi
27724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27725 /* end confdefs.h. */
27726
27727 #ifdef HAVE_COMPLEX_H
27728 #include <complex.h>
27729 #endif
27730 #ifdef HAVE_MATH_H
27731 #include <math.h>
27732 #endif
27733
27734 int (*ptr)() = (int (*)())expf128;
27735
27736 int
27737 main ()
27738 {
27739 return 0;
27740 }
27741
27742 _ACEOF
27743 if ac_fn_c_try_link "$LINENO"; then :
27744 gcc_cv_math_func_expf128=yes
27745 else
27746 gcc_cv_math_func_expf128=no
27747 fi
27748 rm -f core conftest.err conftest.$ac_objext \
27749 conftest$ac_exeext conftest.$ac_ext
27750 fi
27751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27752 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27753 if test $gcc_cv_math_func_expf128 = yes; then
27754
27755 cat >>confdefs.h <<_ACEOF
27756 #define HAVE_EXPF128 1
27757 _ACEOF
27758
27759 fi
27760
27761
27762
27763
27764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27765 $as_echo_n "checking for cexpf128... " >&6; }
27766 if ${gcc_cv_math_func_cexpf128+:} false; then :
27767 $as_echo_n "(cached) " >&6
27768 else
27769 if test x$gcc_no_link = xyes; then
27770 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27771 fi
27772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27773 /* end confdefs.h. */
27774
27775 #ifdef HAVE_COMPLEX_H
27776 #include <complex.h>
27777 #endif
27778 #ifdef HAVE_MATH_H
27779 #include <math.h>
27780 #endif
27781
27782 int (*ptr)() = (int (*)())cexpf128;
27783
27784 int
27785 main ()
27786 {
27787 return 0;
27788 }
27789
27790 _ACEOF
27791 if ac_fn_c_try_link "$LINENO"; then :
27792 gcc_cv_math_func_cexpf128=yes
27793 else
27794 gcc_cv_math_func_cexpf128=no
27795 fi
27796 rm -f core conftest.err conftest.$ac_objext \
27797 conftest$ac_exeext conftest.$ac_ext
27798 fi
27799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27800 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27801 if test $gcc_cv_math_func_cexpf128 = yes; then
27802
27803 cat >>confdefs.h <<_ACEOF
27804 #define HAVE_CEXPF128 1
27805 _ACEOF
27806
27807 fi
27808
27809
27810
27811
27812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27813 $as_echo_n "checking for fabsf128... " >&6; }
27814 if ${gcc_cv_math_func_fabsf128+:} false; then :
27815 $as_echo_n "(cached) " >&6
27816 else
27817 if test x$gcc_no_link = xyes; then
27818 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27819 fi
27820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27821 /* end confdefs.h. */
27822
27823 #ifdef HAVE_COMPLEX_H
27824 #include <complex.h>
27825 #endif
27826 #ifdef HAVE_MATH_H
27827 #include <math.h>
27828 #endif
27829
27830 int (*ptr)() = (int (*)())fabsf128;
27831
27832 int
27833 main ()
27834 {
27835 return 0;
27836 }
27837
27838 _ACEOF
27839 if ac_fn_c_try_link "$LINENO"; then :
27840 gcc_cv_math_func_fabsf128=yes
27841 else
27842 gcc_cv_math_func_fabsf128=no
27843 fi
27844 rm -f core conftest.err conftest.$ac_objext \
27845 conftest$ac_exeext conftest.$ac_ext
27846 fi
27847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27848 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27849 if test $gcc_cv_math_func_fabsf128 = yes; then
27850
27851 cat >>confdefs.h <<_ACEOF
27852 #define HAVE_FABSF128 1
27853 _ACEOF
27854
27855 fi
27856
27857
27858
27859
27860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27861 $as_echo_n "checking for cabsf128... " >&6; }
27862 if ${gcc_cv_math_func_cabsf128+:} false; then :
27863 $as_echo_n "(cached) " >&6
27864 else
27865 if test x$gcc_no_link = xyes; then
27866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27867 fi
27868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27869 /* end confdefs.h. */
27870
27871 #ifdef HAVE_COMPLEX_H
27872 #include <complex.h>
27873 #endif
27874 #ifdef HAVE_MATH_H
27875 #include <math.h>
27876 #endif
27877
27878 int (*ptr)() = (int (*)())cabsf128;
27879
27880 int
27881 main ()
27882 {
27883 return 0;
27884 }
27885
27886 _ACEOF
27887 if ac_fn_c_try_link "$LINENO"; then :
27888 gcc_cv_math_func_cabsf128=yes
27889 else
27890 gcc_cv_math_func_cabsf128=no
27891 fi
27892 rm -f core conftest.err conftest.$ac_objext \
27893 conftest$ac_exeext conftest.$ac_ext
27894 fi
27895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27896 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27897 if test $gcc_cv_math_func_cabsf128 = yes; then
27898
27899 cat >>confdefs.h <<_ACEOF
27900 #define HAVE_CABSF128 1
27901 _ACEOF
27902
27903 fi
27904
27905
27906
27907
27908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27909 $as_echo_n "checking for floorf128... " >&6; }
27910 if ${gcc_cv_math_func_floorf128+:} false; then :
27911 $as_echo_n "(cached) " >&6
27912 else
27913 if test x$gcc_no_link = xyes; then
27914 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27915 fi
27916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27917 /* end confdefs.h. */
27918
27919 #ifdef HAVE_COMPLEX_H
27920 #include <complex.h>
27921 #endif
27922 #ifdef HAVE_MATH_H
27923 #include <math.h>
27924 #endif
27925
27926 int (*ptr)() = (int (*)())floorf128;
27927
27928 int
27929 main ()
27930 {
27931 return 0;
27932 }
27933
27934 _ACEOF
27935 if ac_fn_c_try_link "$LINENO"; then :
27936 gcc_cv_math_func_floorf128=yes
27937 else
27938 gcc_cv_math_func_floorf128=no
27939 fi
27940 rm -f core conftest.err conftest.$ac_objext \
27941 conftest$ac_exeext conftest.$ac_ext
27942 fi
27943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27944 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27945 if test $gcc_cv_math_func_floorf128 = yes; then
27946
27947 cat >>confdefs.h <<_ACEOF
27948 #define HAVE_FLOORF128 1
27949 _ACEOF
27950
27951 fi
27952
27953
27954
27955
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27957 $as_echo_n "checking for fmaf128... " >&6; }
27958 if ${gcc_cv_math_func_fmaf128+:} false; then :
27959 $as_echo_n "(cached) " >&6
27960 else
27961 if test x$gcc_no_link = xyes; then
27962 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27963 fi
27964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27965 /* end confdefs.h. */
27966
27967 #ifdef HAVE_COMPLEX_H
27968 #include <complex.h>
27969 #endif
27970 #ifdef HAVE_MATH_H
27971 #include <math.h>
27972 #endif
27973
27974 int (*ptr)() = (int (*)())fmaf128;
27975
27976 int
27977 main ()
27978 {
27979 return 0;
27980 }
27981
27982 _ACEOF
27983 if ac_fn_c_try_link "$LINENO"; then :
27984 gcc_cv_math_func_fmaf128=yes
27985 else
27986 gcc_cv_math_func_fmaf128=no
27987 fi
27988 rm -f core conftest.err conftest.$ac_objext \
27989 conftest$ac_exeext conftest.$ac_ext
27990 fi
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
27992 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
27993 if test $gcc_cv_math_func_fmaf128 = yes; then
27994
27995 cat >>confdefs.h <<_ACEOF
27996 #define HAVE_FMAF128 1
27997 _ACEOF
27998
27999 fi
28000
28001
28002
28003
28004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28005 $as_echo_n "checking for fmodf128... " >&6; }
28006 if ${gcc_cv_math_func_fmodf128+:} false; then :
28007 $as_echo_n "(cached) " >&6
28008 else
28009 if test x$gcc_no_link = xyes; then
28010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28011 fi
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28014
28015 #ifdef HAVE_COMPLEX_H
28016 #include <complex.h>
28017 #endif
28018 #ifdef HAVE_MATH_H
28019 #include <math.h>
28020 #endif
28021
28022 int (*ptr)() = (int (*)())fmodf128;
28023
28024 int
28025 main ()
28026 {
28027 return 0;
28028 }
28029
28030 _ACEOF
28031 if ac_fn_c_try_link "$LINENO"; then :
28032 gcc_cv_math_func_fmodf128=yes
28033 else
28034 gcc_cv_math_func_fmodf128=no
28035 fi
28036 rm -f core conftest.err conftest.$ac_objext \
28037 conftest$ac_exeext conftest.$ac_ext
28038 fi
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28040 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28041 if test $gcc_cv_math_func_fmodf128 = yes; then
28042
28043 cat >>confdefs.h <<_ACEOF
28044 #define HAVE_FMODF128 1
28045 _ACEOF
28046
28047 fi
28048
28049
28050
28051
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28053 $as_echo_n "checking for frexpf128... " >&6; }
28054 if ${gcc_cv_math_func_frexpf128+:} false; then :
28055 $as_echo_n "(cached) " >&6
28056 else
28057 if test x$gcc_no_link = xyes; then
28058 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28059 fi
28060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28061 /* end confdefs.h. */
28062
28063 #ifdef HAVE_COMPLEX_H
28064 #include <complex.h>
28065 #endif
28066 #ifdef HAVE_MATH_H
28067 #include <math.h>
28068 #endif
28069
28070 int (*ptr)() = (int (*)())frexpf128;
28071
28072 int
28073 main ()
28074 {
28075 return 0;
28076 }
28077
28078 _ACEOF
28079 if ac_fn_c_try_link "$LINENO"; then :
28080 gcc_cv_math_func_frexpf128=yes
28081 else
28082 gcc_cv_math_func_frexpf128=no
28083 fi
28084 rm -f core conftest.err conftest.$ac_objext \
28085 conftest$ac_exeext conftest.$ac_ext
28086 fi
28087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28088 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28089 if test $gcc_cv_math_func_frexpf128 = yes; then
28090
28091 cat >>confdefs.h <<_ACEOF
28092 #define HAVE_FREXPF128 1
28093 _ACEOF
28094
28095 fi
28096
28097
28098
28099
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28101 $as_echo_n "checking for hypotf128... " >&6; }
28102 if ${gcc_cv_math_func_hypotf128+:} false; then :
28103 $as_echo_n "(cached) " >&6
28104 else
28105 if test x$gcc_no_link = xyes; then
28106 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28107 fi
28108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28109 /* end confdefs.h. */
28110
28111 #ifdef HAVE_COMPLEX_H
28112 #include <complex.h>
28113 #endif
28114 #ifdef HAVE_MATH_H
28115 #include <math.h>
28116 #endif
28117
28118 int (*ptr)() = (int (*)())hypotf128;
28119
28120 int
28121 main ()
28122 {
28123 return 0;
28124 }
28125
28126 _ACEOF
28127 if ac_fn_c_try_link "$LINENO"; then :
28128 gcc_cv_math_func_hypotf128=yes
28129 else
28130 gcc_cv_math_func_hypotf128=no
28131 fi
28132 rm -f core conftest.err conftest.$ac_objext \
28133 conftest$ac_exeext conftest.$ac_ext
28134 fi
28135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28136 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28137 if test $gcc_cv_math_func_hypotf128 = yes; then
28138
28139 cat >>confdefs.h <<_ACEOF
28140 #define HAVE_HYPOTF128 1
28141 _ACEOF
28142
28143 fi
28144
28145
28146
28147
28148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28149 $as_echo_n "checking for ldexpf128... " >&6; }
28150 if ${gcc_cv_math_func_ldexpf128+:} false; then :
28151 $as_echo_n "(cached) " >&6
28152 else
28153 if test x$gcc_no_link = xyes; then
28154 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28155 fi
28156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28157 /* end confdefs.h. */
28158
28159 #ifdef HAVE_COMPLEX_H
28160 #include <complex.h>
28161 #endif
28162 #ifdef HAVE_MATH_H
28163 #include <math.h>
28164 #endif
28165
28166 int (*ptr)() = (int (*)())ldexpf128;
28167
28168 int
28169 main ()
28170 {
28171 return 0;
28172 }
28173
28174 _ACEOF
28175 if ac_fn_c_try_link "$LINENO"; then :
28176 gcc_cv_math_func_ldexpf128=yes
28177 else
28178 gcc_cv_math_func_ldexpf128=no
28179 fi
28180 rm -f core conftest.err conftest.$ac_objext \
28181 conftest$ac_exeext conftest.$ac_ext
28182 fi
28183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28184 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28185 if test $gcc_cv_math_func_ldexpf128 = yes; then
28186
28187 cat >>confdefs.h <<_ACEOF
28188 #define HAVE_LDEXPF128 1
28189 _ACEOF
28190
28191 fi
28192
28193
28194
28195
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28197 $as_echo_n "checking for logf128... " >&6; }
28198 if ${gcc_cv_math_func_logf128+:} false; then :
28199 $as_echo_n "(cached) " >&6
28200 else
28201 if test x$gcc_no_link = xyes; then
28202 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28203 fi
28204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28205 /* end confdefs.h. */
28206
28207 #ifdef HAVE_COMPLEX_H
28208 #include <complex.h>
28209 #endif
28210 #ifdef HAVE_MATH_H
28211 #include <math.h>
28212 #endif
28213
28214 int (*ptr)() = (int (*)())logf128;
28215
28216 int
28217 main ()
28218 {
28219 return 0;
28220 }
28221
28222 _ACEOF
28223 if ac_fn_c_try_link "$LINENO"; then :
28224 gcc_cv_math_func_logf128=yes
28225 else
28226 gcc_cv_math_func_logf128=no
28227 fi
28228 rm -f core conftest.err conftest.$ac_objext \
28229 conftest$ac_exeext conftest.$ac_ext
28230 fi
28231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28232 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28233 if test $gcc_cv_math_func_logf128 = yes; then
28234
28235 cat >>confdefs.h <<_ACEOF
28236 #define HAVE_LOGF128 1
28237 _ACEOF
28238
28239 fi
28240
28241
28242
28243
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28245 $as_echo_n "checking for clogf128... " >&6; }
28246 if ${gcc_cv_math_func_clogf128+:} false; then :
28247 $as_echo_n "(cached) " >&6
28248 else
28249 if test x$gcc_no_link = xyes; then
28250 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28251 fi
28252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28253 /* end confdefs.h. */
28254
28255 #ifdef HAVE_COMPLEX_H
28256 #include <complex.h>
28257 #endif
28258 #ifdef HAVE_MATH_H
28259 #include <math.h>
28260 #endif
28261
28262 int (*ptr)() = (int (*)())clogf128;
28263
28264 int
28265 main ()
28266 {
28267 return 0;
28268 }
28269
28270 _ACEOF
28271 if ac_fn_c_try_link "$LINENO"; then :
28272 gcc_cv_math_func_clogf128=yes
28273 else
28274 gcc_cv_math_func_clogf128=no
28275 fi
28276 rm -f core conftest.err conftest.$ac_objext \
28277 conftest$ac_exeext conftest.$ac_ext
28278 fi
28279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28280 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28281 if test $gcc_cv_math_func_clogf128 = yes; then
28282
28283 cat >>confdefs.h <<_ACEOF
28284 #define HAVE_CLOGF128 1
28285 _ACEOF
28286
28287 fi
28288
28289
28290
28291
28292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28293 $as_echo_n "checking for log10f128... " >&6; }
28294 if ${gcc_cv_math_func_log10f128+:} false; then :
28295 $as_echo_n "(cached) " >&6
28296 else
28297 if test x$gcc_no_link = xyes; then
28298 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28299 fi
28300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28301 /* end confdefs.h. */
28302
28303 #ifdef HAVE_COMPLEX_H
28304 #include <complex.h>
28305 #endif
28306 #ifdef HAVE_MATH_H
28307 #include <math.h>
28308 #endif
28309
28310 int (*ptr)() = (int (*)())log10f128;
28311
28312 int
28313 main ()
28314 {
28315 return 0;
28316 }
28317
28318 _ACEOF
28319 if ac_fn_c_try_link "$LINENO"; then :
28320 gcc_cv_math_func_log10f128=yes
28321 else
28322 gcc_cv_math_func_log10f128=no
28323 fi
28324 rm -f core conftest.err conftest.$ac_objext \
28325 conftest$ac_exeext conftest.$ac_ext
28326 fi
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28328 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28329 if test $gcc_cv_math_func_log10f128 = yes; then
28330
28331 cat >>confdefs.h <<_ACEOF
28332 #define HAVE_LOG10F128 1
28333 _ACEOF
28334
28335 fi
28336
28337
28338
28339
28340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28341 $as_echo_n "checking for clog10f128... " >&6; }
28342 if ${gcc_cv_math_func_clog10f128+:} false; then :
28343 $as_echo_n "(cached) " >&6
28344 else
28345 if test x$gcc_no_link = xyes; then
28346 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28347 fi
28348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28349 /* end confdefs.h. */
28350
28351 #ifdef HAVE_COMPLEX_H
28352 #include <complex.h>
28353 #endif
28354 #ifdef HAVE_MATH_H
28355 #include <math.h>
28356 #endif
28357
28358 int (*ptr)() = (int (*)())clog10f128;
28359
28360 int
28361 main ()
28362 {
28363 return 0;
28364 }
28365
28366 _ACEOF
28367 if ac_fn_c_try_link "$LINENO"; then :
28368 gcc_cv_math_func_clog10f128=yes
28369 else
28370 gcc_cv_math_func_clog10f128=no
28371 fi
28372 rm -f core conftest.err conftest.$ac_objext \
28373 conftest$ac_exeext conftest.$ac_ext
28374 fi
28375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28376 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28377 if test $gcc_cv_math_func_clog10f128 = yes; then
28378
28379 cat >>confdefs.h <<_ACEOF
28380 #define HAVE_CLOG10F128 1
28381 _ACEOF
28382
28383 fi
28384
28385
28386
28387
28388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28389 $as_echo_n "checking for nextafterf128... " >&6; }
28390 if ${gcc_cv_math_func_nextafterf128+:} false; then :
28391 $as_echo_n "(cached) " >&6
28392 else
28393 if test x$gcc_no_link = xyes; then
28394 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28395 fi
28396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28398
28399 #ifdef HAVE_COMPLEX_H
28400 #include <complex.h>
28401 #endif
28402 #ifdef HAVE_MATH_H
28403 #include <math.h>
28404 #endif
28405
28406 int (*ptr)() = (int (*)())nextafterf128;
28407
28408 int
28409 main ()
28410 {
28411 return 0;
28412 }
28413
28414 _ACEOF
28415 if ac_fn_c_try_link "$LINENO"; then :
28416 gcc_cv_math_func_nextafterf128=yes
28417 else
28418 gcc_cv_math_func_nextafterf128=no
28419 fi
28420 rm -f core conftest.err conftest.$ac_objext \
28421 conftest$ac_exeext conftest.$ac_ext
28422 fi
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28424 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28425 if test $gcc_cv_math_func_nextafterf128 = yes; then
28426
28427 cat >>confdefs.h <<_ACEOF
28428 #define HAVE_NEXTAFTERF128 1
28429 _ACEOF
28430
28431 fi
28432
28433
28434
28435
28436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28437 $as_echo_n "checking for powf128... " >&6; }
28438 if ${gcc_cv_math_func_powf128+:} false; then :
28439 $as_echo_n "(cached) " >&6
28440 else
28441 if test x$gcc_no_link = xyes; then
28442 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28443 fi
28444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28445 /* end confdefs.h. */
28446
28447 #ifdef HAVE_COMPLEX_H
28448 #include <complex.h>
28449 #endif
28450 #ifdef HAVE_MATH_H
28451 #include <math.h>
28452 #endif
28453
28454 int (*ptr)() = (int (*)())powf128;
28455
28456 int
28457 main ()
28458 {
28459 return 0;
28460 }
28461
28462 _ACEOF
28463 if ac_fn_c_try_link "$LINENO"; then :
28464 gcc_cv_math_func_powf128=yes
28465 else
28466 gcc_cv_math_func_powf128=no
28467 fi
28468 rm -f core conftest.err conftest.$ac_objext \
28469 conftest$ac_exeext conftest.$ac_ext
28470 fi
28471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28472 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28473 if test $gcc_cv_math_func_powf128 = yes; then
28474
28475 cat >>confdefs.h <<_ACEOF
28476 #define HAVE_POWF128 1
28477 _ACEOF
28478
28479 fi
28480
28481
28482
28483
28484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28485 $as_echo_n "checking for cpowf128... " >&6; }
28486 if ${gcc_cv_math_func_cpowf128+:} false; then :
28487 $as_echo_n "(cached) " >&6
28488 else
28489 if test x$gcc_no_link = xyes; then
28490 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28491 fi
28492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28493 /* end confdefs.h. */
28494
28495 #ifdef HAVE_COMPLEX_H
28496 #include <complex.h>
28497 #endif
28498 #ifdef HAVE_MATH_H
28499 #include <math.h>
28500 #endif
28501
28502 int (*ptr)() = (int (*)())cpowf128;
28503
28504 int
28505 main ()
28506 {
28507 return 0;
28508 }
28509
28510 _ACEOF
28511 if ac_fn_c_try_link "$LINENO"; then :
28512 gcc_cv_math_func_cpowf128=yes
28513 else
28514 gcc_cv_math_func_cpowf128=no
28515 fi
28516 rm -f core conftest.err conftest.$ac_objext \
28517 conftest$ac_exeext conftest.$ac_ext
28518 fi
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28520 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28521 if test $gcc_cv_math_func_cpowf128 = yes; then
28522
28523 cat >>confdefs.h <<_ACEOF
28524 #define HAVE_CPOWF128 1
28525 _ACEOF
28526
28527 fi
28528
28529
28530
28531
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28533 $as_echo_n "checking for roundf128... " >&6; }
28534 if ${gcc_cv_math_func_roundf128+:} false; then :
28535 $as_echo_n "(cached) " >&6
28536 else
28537 if test x$gcc_no_link = xyes; then
28538 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28539 fi
28540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28541 /* end confdefs.h. */
28542
28543 #ifdef HAVE_COMPLEX_H
28544 #include <complex.h>
28545 #endif
28546 #ifdef HAVE_MATH_H
28547 #include <math.h>
28548 #endif
28549
28550 int (*ptr)() = (int (*)())roundf128;
28551
28552 int
28553 main ()
28554 {
28555 return 0;
28556 }
28557
28558 _ACEOF
28559 if ac_fn_c_try_link "$LINENO"; then :
28560 gcc_cv_math_func_roundf128=yes
28561 else
28562 gcc_cv_math_func_roundf128=no
28563 fi
28564 rm -f core conftest.err conftest.$ac_objext \
28565 conftest$ac_exeext conftest.$ac_ext
28566 fi
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28568 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28569 if test $gcc_cv_math_func_roundf128 = yes; then
28570
28571 cat >>confdefs.h <<_ACEOF
28572 #define HAVE_ROUNDF128 1
28573 _ACEOF
28574
28575 fi
28576
28577
28578
28579
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28581 $as_echo_n "checking for lroundf128... " >&6; }
28582 if ${gcc_cv_math_func_lroundf128+:} false; then :
28583 $as_echo_n "(cached) " >&6
28584 else
28585 if test x$gcc_no_link = xyes; then
28586 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28587 fi
28588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28589 /* end confdefs.h. */
28590
28591 #ifdef HAVE_COMPLEX_H
28592 #include <complex.h>
28593 #endif
28594 #ifdef HAVE_MATH_H
28595 #include <math.h>
28596 #endif
28597
28598 int (*ptr)() = (int (*)())lroundf128;
28599
28600 int
28601 main ()
28602 {
28603 return 0;
28604 }
28605
28606 _ACEOF
28607 if ac_fn_c_try_link "$LINENO"; then :
28608 gcc_cv_math_func_lroundf128=yes
28609 else
28610 gcc_cv_math_func_lroundf128=no
28611 fi
28612 rm -f core conftest.err conftest.$ac_objext \
28613 conftest$ac_exeext conftest.$ac_ext
28614 fi
28615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28616 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28617 if test $gcc_cv_math_func_lroundf128 = yes; then
28618
28619 cat >>confdefs.h <<_ACEOF
28620 #define HAVE_LROUNDF128 1
28621 _ACEOF
28622
28623 fi
28624
28625
28626
28627
28628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28629 $as_echo_n "checking for llroundf128... " >&6; }
28630 if ${gcc_cv_math_func_llroundf128+:} false; then :
28631 $as_echo_n "(cached) " >&6
28632 else
28633 if test x$gcc_no_link = xyes; then
28634 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28635 fi
28636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28637 /* end confdefs.h. */
28638
28639 #ifdef HAVE_COMPLEX_H
28640 #include <complex.h>
28641 #endif
28642 #ifdef HAVE_MATH_H
28643 #include <math.h>
28644 #endif
28645
28646 int (*ptr)() = (int (*)())llroundf128;
28647
28648 int
28649 main ()
28650 {
28651 return 0;
28652 }
28653
28654 _ACEOF
28655 if ac_fn_c_try_link "$LINENO"; then :
28656 gcc_cv_math_func_llroundf128=yes
28657 else
28658 gcc_cv_math_func_llroundf128=no
28659 fi
28660 rm -f core conftest.err conftest.$ac_objext \
28661 conftest$ac_exeext conftest.$ac_ext
28662 fi
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28664 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28665 if test $gcc_cv_math_func_llroundf128 = yes; then
28666
28667 cat >>confdefs.h <<_ACEOF
28668 #define HAVE_LLROUNDF128 1
28669 _ACEOF
28670
28671 fi
28672
28673
28674
28675
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28677 $as_echo_n "checking for scalbnf128... " >&6; }
28678 if ${gcc_cv_math_func_scalbnf128+:} false; then :
28679 $as_echo_n "(cached) " >&6
28680 else
28681 if test x$gcc_no_link = xyes; then
28682 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28683 fi
28684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28685 /* end confdefs.h. */
28686
28687 #ifdef HAVE_COMPLEX_H
28688 #include <complex.h>
28689 #endif
28690 #ifdef HAVE_MATH_H
28691 #include <math.h>
28692 #endif
28693
28694 int (*ptr)() = (int (*)())scalbnf128;
28695
28696 int
28697 main ()
28698 {
28699 return 0;
28700 }
28701
28702 _ACEOF
28703 if ac_fn_c_try_link "$LINENO"; then :
28704 gcc_cv_math_func_scalbnf128=yes
28705 else
28706 gcc_cv_math_func_scalbnf128=no
28707 fi
28708 rm -f core conftest.err conftest.$ac_objext \
28709 conftest$ac_exeext conftest.$ac_ext
28710 fi
28711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28712 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28713 if test $gcc_cv_math_func_scalbnf128 = yes; then
28714
28715 cat >>confdefs.h <<_ACEOF
28716 #define HAVE_SCALBNF128 1
28717 _ACEOF
28718
28719 fi
28720
28721
28722
28723
28724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28725 $as_echo_n "checking for sinf128... " >&6; }
28726 if ${gcc_cv_math_func_sinf128+:} false; then :
28727 $as_echo_n "(cached) " >&6
28728 else
28729 if test x$gcc_no_link = xyes; then
28730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28731 fi
28732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28733 /* end confdefs.h. */
28734
28735 #ifdef HAVE_COMPLEX_H
28736 #include <complex.h>
28737 #endif
28738 #ifdef HAVE_MATH_H
28739 #include <math.h>
28740 #endif
28741
28742 int (*ptr)() = (int (*)())sinf128;
28743
28744 int
28745 main ()
28746 {
28747 return 0;
28748 }
28749
28750 _ACEOF
28751 if ac_fn_c_try_link "$LINENO"; then :
28752 gcc_cv_math_func_sinf128=yes
28753 else
28754 gcc_cv_math_func_sinf128=no
28755 fi
28756 rm -f core conftest.err conftest.$ac_objext \
28757 conftest$ac_exeext conftest.$ac_ext
28758 fi
28759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28760 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28761 if test $gcc_cv_math_func_sinf128 = yes; then
28762
28763 cat >>confdefs.h <<_ACEOF
28764 #define HAVE_SINF128 1
28765 _ACEOF
28766
28767 fi
28768
28769
28770
28771
28772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28773 $as_echo_n "checking for csinf128... " >&6; }
28774 if ${gcc_cv_math_func_csinf128+:} false; then :
28775 $as_echo_n "(cached) " >&6
28776 else
28777 if test x$gcc_no_link = xyes; then
28778 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28779 fi
28780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28781 /* end confdefs.h. */
28782
28783 #ifdef HAVE_COMPLEX_H
28784 #include <complex.h>
28785 #endif
28786 #ifdef HAVE_MATH_H
28787 #include <math.h>
28788 #endif
28789
28790 int (*ptr)() = (int (*)())csinf128;
28791
28792 int
28793 main ()
28794 {
28795 return 0;
28796 }
28797
28798 _ACEOF
28799 if ac_fn_c_try_link "$LINENO"; then :
28800 gcc_cv_math_func_csinf128=yes
28801 else
28802 gcc_cv_math_func_csinf128=no
28803 fi
28804 rm -f core conftest.err conftest.$ac_objext \
28805 conftest$ac_exeext conftest.$ac_ext
28806 fi
28807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28808 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28809 if test $gcc_cv_math_func_csinf128 = yes; then
28810
28811 cat >>confdefs.h <<_ACEOF
28812 #define HAVE_CSINF128 1
28813 _ACEOF
28814
28815 fi
28816
28817
28818
28819
28820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28821 $as_echo_n "checking for sinhf128... " >&6; }
28822 if ${gcc_cv_math_func_sinhf128+:} false; then :
28823 $as_echo_n "(cached) " >&6
28824 else
28825 if test x$gcc_no_link = xyes; then
28826 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28827 fi
28828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h. */
28830
28831 #ifdef HAVE_COMPLEX_H
28832 #include <complex.h>
28833 #endif
28834 #ifdef HAVE_MATH_H
28835 #include <math.h>
28836 #endif
28837
28838 int (*ptr)() = (int (*)())sinhf128;
28839
28840 int
28841 main ()
28842 {
28843 return 0;
28844 }
28845
28846 _ACEOF
28847 if ac_fn_c_try_link "$LINENO"; then :
28848 gcc_cv_math_func_sinhf128=yes
28849 else
28850 gcc_cv_math_func_sinhf128=no
28851 fi
28852 rm -f core conftest.err conftest.$ac_objext \
28853 conftest$ac_exeext conftest.$ac_ext
28854 fi
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28856 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28857 if test $gcc_cv_math_func_sinhf128 = yes; then
28858
28859 cat >>confdefs.h <<_ACEOF
28860 #define HAVE_SINHF128 1
28861 _ACEOF
28862
28863 fi
28864
28865
28866
28867
28868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28869 $as_echo_n "checking for csinhf128... " >&6; }
28870 if ${gcc_cv_math_func_csinhf128+:} false; then :
28871 $as_echo_n "(cached) " >&6
28872 else
28873 if test x$gcc_no_link = xyes; then
28874 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28875 fi
28876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28877 /* end confdefs.h. */
28878
28879 #ifdef HAVE_COMPLEX_H
28880 #include <complex.h>
28881 #endif
28882 #ifdef HAVE_MATH_H
28883 #include <math.h>
28884 #endif
28885
28886 int (*ptr)() = (int (*)())csinhf128;
28887
28888 int
28889 main ()
28890 {
28891 return 0;
28892 }
28893
28894 _ACEOF
28895 if ac_fn_c_try_link "$LINENO"; then :
28896 gcc_cv_math_func_csinhf128=yes
28897 else
28898 gcc_cv_math_func_csinhf128=no
28899 fi
28900 rm -f core conftest.err conftest.$ac_objext \
28901 conftest$ac_exeext conftest.$ac_ext
28902 fi
28903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28904 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28905 if test $gcc_cv_math_func_csinhf128 = yes; then
28906
28907 cat >>confdefs.h <<_ACEOF
28908 #define HAVE_CSINHF128 1
28909 _ACEOF
28910
28911 fi
28912
28913
28914
28915
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28917 $as_echo_n "checking for sqrtf128... " >&6; }
28918 if ${gcc_cv_math_func_sqrtf128+:} false; then :
28919 $as_echo_n "(cached) " >&6
28920 else
28921 if test x$gcc_no_link = xyes; then
28922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28923 fi
28924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28925 /* end confdefs.h. */
28926
28927 #ifdef HAVE_COMPLEX_H
28928 #include <complex.h>
28929 #endif
28930 #ifdef HAVE_MATH_H
28931 #include <math.h>
28932 #endif
28933
28934 int (*ptr)() = (int (*)())sqrtf128;
28935
28936 int
28937 main ()
28938 {
28939 return 0;
28940 }
28941
28942 _ACEOF
28943 if ac_fn_c_try_link "$LINENO"; then :
28944 gcc_cv_math_func_sqrtf128=yes
28945 else
28946 gcc_cv_math_func_sqrtf128=no
28947 fi
28948 rm -f core conftest.err conftest.$ac_objext \
28949 conftest$ac_exeext conftest.$ac_ext
28950 fi
28951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28952 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28953 if test $gcc_cv_math_func_sqrtf128 = yes; then
28954
28955 cat >>confdefs.h <<_ACEOF
28956 #define HAVE_SQRTF128 1
28957 _ACEOF
28958
28959 fi
28960
28961
28962
28963
28964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28965 $as_echo_n "checking for csqrtf128... " >&6; }
28966 if ${gcc_cv_math_func_csqrtf128+:} false; then :
28967 $as_echo_n "(cached) " >&6
28968 else
28969 if test x$gcc_no_link = xyes; then
28970 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28971 fi
28972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28973 /* end confdefs.h. */
28974
28975 #ifdef HAVE_COMPLEX_H
28976 #include <complex.h>
28977 #endif
28978 #ifdef HAVE_MATH_H
28979 #include <math.h>
28980 #endif
28981
28982 int (*ptr)() = (int (*)())csqrtf128;
28983
28984 int
28985 main ()
28986 {
28987 return 0;
28988 }
28989
28990 _ACEOF
28991 if ac_fn_c_try_link "$LINENO"; then :
28992 gcc_cv_math_func_csqrtf128=yes
28993 else
28994 gcc_cv_math_func_csqrtf128=no
28995 fi
28996 rm -f core conftest.err conftest.$ac_objext \
28997 conftest$ac_exeext conftest.$ac_ext
28998 fi
28999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29000 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29001 if test $gcc_cv_math_func_csqrtf128 = yes; then
29002
29003 cat >>confdefs.h <<_ACEOF
29004 #define HAVE_CSQRTF128 1
29005 _ACEOF
29006
29007 fi
29008
29009
29010
29011
29012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29013 $as_echo_n "checking for tanf128... " >&6; }
29014 if ${gcc_cv_math_func_tanf128+:} false; then :
29015 $as_echo_n "(cached) " >&6
29016 else
29017 if test x$gcc_no_link = xyes; then
29018 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29019 fi
29020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29021 /* end confdefs.h. */
29022
29023 #ifdef HAVE_COMPLEX_H
29024 #include <complex.h>
29025 #endif
29026 #ifdef HAVE_MATH_H
29027 #include <math.h>
29028 #endif
29029
29030 int (*ptr)() = (int (*)())tanf128;
29031
29032 int
29033 main ()
29034 {
29035 return 0;
29036 }
29037
29038 _ACEOF
29039 if ac_fn_c_try_link "$LINENO"; then :
29040 gcc_cv_math_func_tanf128=yes
29041 else
29042 gcc_cv_math_func_tanf128=no
29043 fi
29044 rm -f core conftest.err conftest.$ac_objext \
29045 conftest$ac_exeext conftest.$ac_ext
29046 fi
29047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29048 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29049 if test $gcc_cv_math_func_tanf128 = yes; then
29050
29051 cat >>confdefs.h <<_ACEOF
29052 #define HAVE_TANF128 1
29053 _ACEOF
29054
29055 fi
29056
29057
29058
29059
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29061 $as_echo_n "checking for ctanf128... " >&6; }
29062 if ${gcc_cv_math_func_ctanf128+:} false; then :
29063 $as_echo_n "(cached) " >&6
29064 else
29065 if test x$gcc_no_link = xyes; then
29066 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29067 fi
29068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29069 /* end confdefs.h. */
29070
29071 #ifdef HAVE_COMPLEX_H
29072 #include <complex.h>
29073 #endif
29074 #ifdef HAVE_MATH_H
29075 #include <math.h>
29076 #endif
29077
29078 int (*ptr)() = (int (*)())ctanf128;
29079
29080 int
29081 main ()
29082 {
29083 return 0;
29084 }
29085
29086 _ACEOF
29087 if ac_fn_c_try_link "$LINENO"; then :
29088 gcc_cv_math_func_ctanf128=yes
29089 else
29090 gcc_cv_math_func_ctanf128=no
29091 fi
29092 rm -f core conftest.err conftest.$ac_objext \
29093 conftest$ac_exeext conftest.$ac_ext
29094 fi
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29096 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29097 if test $gcc_cv_math_func_ctanf128 = yes; then
29098
29099 cat >>confdefs.h <<_ACEOF
29100 #define HAVE_CTANF128 1
29101 _ACEOF
29102
29103 fi
29104
29105
29106
29107
29108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29109 $as_echo_n "checking for tanhf128... " >&6; }
29110 if ${gcc_cv_math_func_tanhf128+:} false; then :
29111 $as_echo_n "(cached) " >&6
29112 else
29113 if test x$gcc_no_link = xyes; then
29114 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29115 fi
29116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29117 /* end confdefs.h. */
29118
29119 #ifdef HAVE_COMPLEX_H
29120 #include <complex.h>
29121 #endif
29122 #ifdef HAVE_MATH_H
29123 #include <math.h>
29124 #endif
29125
29126 int (*ptr)() = (int (*)())tanhf128;
29127
29128 int
29129 main ()
29130 {
29131 return 0;
29132 }
29133
29134 _ACEOF
29135 if ac_fn_c_try_link "$LINENO"; then :
29136 gcc_cv_math_func_tanhf128=yes
29137 else
29138 gcc_cv_math_func_tanhf128=no
29139 fi
29140 rm -f core conftest.err conftest.$ac_objext \
29141 conftest$ac_exeext conftest.$ac_ext
29142 fi
29143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29144 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29145 if test $gcc_cv_math_func_tanhf128 = yes; then
29146
29147 cat >>confdefs.h <<_ACEOF
29148 #define HAVE_TANHF128 1
29149 _ACEOF
29150
29151 fi
29152
29153
29154
29155
29156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29157 $as_echo_n "checking for ctanhf128... " >&6; }
29158 if ${gcc_cv_math_func_ctanhf128+:} false; then :
29159 $as_echo_n "(cached) " >&6
29160 else
29161 if test x$gcc_no_link = xyes; then
29162 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29163 fi
29164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29165 /* end confdefs.h. */
29166
29167 #ifdef HAVE_COMPLEX_H
29168 #include <complex.h>
29169 #endif
29170 #ifdef HAVE_MATH_H
29171 #include <math.h>
29172 #endif
29173
29174 int (*ptr)() = (int (*)())ctanhf128;
29175
29176 int
29177 main ()
29178 {
29179 return 0;
29180 }
29181
29182 _ACEOF
29183 if ac_fn_c_try_link "$LINENO"; then :
29184 gcc_cv_math_func_ctanhf128=yes
29185 else
29186 gcc_cv_math_func_ctanhf128=no
29187 fi
29188 rm -f core conftest.err conftest.$ac_objext \
29189 conftest$ac_exeext conftest.$ac_ext
29190 fi
29191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29192 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29193 if test $gcc_cv_math_func_ctanhf128 = yes; then
29194
29195 cat >>confdefs.h <<_ACEOF
29196 #define HAVE_CTANHF128 1
29197 _ACEOF
29198
29199 fi
29200
29201
29202
29203
29204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29205 $as_echo_n "checking for truncf128... " >&6; }
29206 if ${gcc_cv_math_func_truncf128+:} false; then :
29207 $as_echo_n "(cached) " >&6
29208 else
29209 if test x$gcc_no_link = xyes; then
29210 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29211 fi
29212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29213 /* end confdefs.h. */
29214
29215 #ifdef HAVE_COMPLEX_H
29216 #include <complex.h>
29217 #endif
29218 #ifdef HAVE_MATH_H
29219 #include <math.h>
29220 #endif
29221
29222 int (*ptr)() = (int (*)())truncf128;
29223
29224 int
29225 main ()
29226 {
29227 return 0;
29228 }
29229
29230 _ACEOF
29231 if ac_fn_c_try_link "$LINENO"; then :
29232 gcc_cv_math_func_truncf128=yes
29233 else
29234 gcc_cv_math_func_truncf128=no
29235 fi
29236 rm -f core conftest.err conftest.$ac_objext \
29237 conftest$ac_exeext conftest.$ac_ext
29238 fi
29239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29240 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29241 if test $gcc_cv_math_func_truncf128 = yes; then
29242
29243 cat >>confdefs.h <<_ACEOF
29244 #define HAVE_TRUNCF128 1
29245 _ACEOF
29246
29247 fi
29248
29249
29250
29251
29252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29253 $as_echo_n "checking for erff128... " >&6; }
29254 if ${gcc_cv_math_func_erff128+:} false; then :
29255 $as_echo_n "(cached) " >&6
29256 else
29257 if test x$gcc_no_link = xyes; then
29258 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29259 fi
29260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29261 /* end confdefs.h. */
29262
29263 #ifdef HAVE_COMPLEX_H
29264 #include <complex.h>
29265 #endif
29266 #ifdef HAVE_MATH_H
29267 #include <math.h>
29268 #endif
29269
29270 int (*ptr)() = (int (*)())erff128;
29271
29272 int
29273 main ()
29274 {
29275 return 0;
29276 }
29277
29278 _ACEOF
29279 if ac_fn_c_try_link "$LINENO"; then :
29280 gcc_cv_math_func_erff128=yes
29281 else
29282 gcc_cv_math_func_erff128=no
29283 fi
29284 rm -f core conftest.err conftest.$ac_objext \
29285 conftest$ac_exeext conftest.$ac_ext
29286 fi
29287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29288 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29289 if test $gcc_cv_math_func_erff128 = yes; then
29290
29291 cat >>confdefs.h <<_ACEOF
29292 #define HAVE_ERFF128 1
29293 _ACEOF
29294
29295 fi
29296
29297
29298
29299
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29301 $as_echo_n "checking for erfcf128... " >&6; }
29302 if ${gcc_cv_math_func_erfcf128+:} false; then :
29303 $as_echo_n "(cached) " >&6
29304 else
29305 if test x$gcc_no_link = xyes; then
29306 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29307 fi
29308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29309 /* end confdefs.h. */
29310
29311 #ifdef HAVE_COMPLEX_H
29312 #include <complex.h>
29313 #endif
29314 #ifdef HAVE_MATH_H
29315 #include <math.h>
29316 #endif
29317
29318 int (*ptr)() = (int (*)())erfcf128;
29319
29320 int
29321 main ()
29322 {
29323 return 0;
29324 }
29325
29326 _ACEOF
29327 if ac_fn_c_try_link "$LINENO"; then :
29328 gcc_cv_math_func_erfcf128=yes
29329 else
29330 gcc_cv_math_func_erfcf128=no
29331 fi
29332 rm -f core conftest.err conftest.$ac_objext \
29333 conftest$ac_exeext conftest.$ac_ext
29334 fi
29335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29336 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29337 if test $gcc_cv_math_func_erfcf128 = yes; then
29338
29339 cat >>confdefs.h <<_ACEOF
29340 #define HAVE_ERFCF128 1
29341 _ACEOF
29342
29343 fi
29344
29345
29346
29347
29348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29349 $as_echo_n "checking for j0f128... " >&6; }
29350 if ${gcc_cv_math_func_j0f128+:} false; then :
29351 $as_echo_n "(cached) " >&6
29352 else
29353 if test x$gcc_no_link = xyes; then
29354 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29355 fi
29356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29357 /* end confdefs.h. */
29358
29359 #ifdef HAVE_COMPLEX_H
29360 #include <complex.h>
29361 #endif
29362 #ifdef HAVE_MATH_H
29363 #include <math.h>
29364 #endif
29365
29366 int (*ptr)() = (int (*)())j0f128;
29367
29368 int
29369 main ()
29370 {
29371 return 0;
29372 }
29373
29374 _ACEOF
29375 if ac_fn_c_try_link "$LINENO"; then :
29376 gcc_cv_math_func_j0f128=yes
29377 else
29378 gcc_cv_math_func_j0f128=no
29379 fi
29380 rm -f core conftest.err conftest.$ac_objext \
29381 conftest$ac_exeext conftest.$ac_ext
29382 fi
29383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29384 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29385 if test $gcc_cv_math_func_j0f128 = yes; then
29386
29387 cat >>confdefs.h <<_ACEOF
29388 #define HAVE_J0F128 1
29389 _ACEOF
29390
29391 fi
29392
29393
29394
29395
29396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29397 $as_echo_n "checking for j1f128... " >&6; }
29398 if ${gcc_cv_math_func_j1f128+:} false; then :
29399 $as_echo_n "(cached) " >&6
29400 else
29401 if test x$gcc_no_link = xyes; then
29402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29403 fi
29404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29405 /* end confdefs.h. */
29406
29407 #ifdef HAVE_COMPLEX_H
29408 #include <complex.h>
29409 #endif
29410 #ifdef HAVE_MATH_H
29411 #include <math.h>
29412 #endif
29413
29414 int (*ptr)() = (int (*)())j1f128;
29415
29416 int
29417 main ()
29418 {
29419 return 0;
29420 }
29421
29422 _ACEOF
29423 if ac_fn_c_try_link "$LINENO"; then :
29424 gcc_cv_math_func_j1f128=yes
29425 else
29426 gcc_cv_math_func_j1f128=no
29427 fi
29428 rm -f core conftest.err conftest.$ac_objext \
29429 conftest$ac_exeext conftest.$ac_ext
29430 fi
29431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29432 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29433 if test $gcc_cv_math_func_j1f128 = yes; then
29434
29435 cat >>confdefs.h <<_ACEOF
29436 #define HAVE_J1F128 1
29437 _ACEOF
29438
29439 fi
29440
29441
29442
29443
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29445 $as_echo_n "checking for jnf128... " >&6; }
29446 if ${gcc_cv_math_func_jnf128+:} false; then :
29447 $as_echo_n "(cached) " >&6
29448 else
29449 if test x$gcc_no_link = xyes; then
29450 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29451 fi
29452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29453 /* end confdefs.h. */
29454
29455 #ifdef HAVE_COMPLEX_H
29456 #include <complex.h>
29457 #endif
29458 #ifdef HAVE_MATH_H
29459 #include <math.h>
29460 #endif
29461
29462 int (*ptr)() = (int (*)())jnf128;
29463
29464 int
29465 main ()
29466 {
29467 return 0;
29468 }
29469
29470 _ACEOF
29471 if ac_fn_c_try_link "$LINENO"; then :
29472 gcc_cv_math_func_jnf128=yes
29473 else
29474 gcc_cv_math_func_jnf128=no
29475 fi
29476 rm -f core conftest.err conftest.$ac_objext \
29477 conftest$ac_exeext conftest.$ac_ext
29478 fi
29479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29480 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29481 if test $gcc_cv_math_func_jnf128 = yes; then
29482
29483 cat >>confdefs.h <<_ACEOF
29484 #define HAVE_JNF128 1
29485 _ACEOF
29486
29487 fi
29488
29489
29490
29491
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29493 $as_echo_n "checking for y0f128... " >&6; }
29494 if ${gcc_cv_math_func_y0f128+:} false; then :
29495 $as_echo_n "(cached) " >&6
29496 else
29497 if test x$gcc_no_link = xyes; then
29498 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29499 fi
29500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29501 /* end confdefs.h. */
29502
29503 #ifdef HAVE_COMPLEX_H
29504 #include <complex.h>
29505 #endif
29506 #ifdef HAVE_MATH_H
29507 #include <math.h>
29508 #endif
29509
29510 int (*ptr)() = (int (*)())y0f128;
29511
29512 int
29513 main ()
29514 {
29515 return 0;
29516 }
29517
29518 _ACEOF
29519 if ac_fn_c_try_link "$LINENO"; then :
29520 gcc_cv_math_func_y0f128=yes
29521 else
29522 gcc_cv_math_func_y0f128=no
29523 fi
29524 rm -f core conftest.err conftest.$ac_objext \
29525 conftest$ac_exeext conftest.$ac_ext
29526 fi
29527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29528 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29529 if test $gcc_cv_math_func_y0f128 = yes; then
29530
29531 cat >>confdefs.h <<_ACEOF
29532 #define HAVE_Y0F128 1
29533 _ACEOF
29534
29535 fi
29536
29537
29538
29539
29540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29541 $as_echo_n "checking for y1f128... " >&6; }
29542 if ${gcc_cv_math_func_y1f128+:} false; then :
29543 $as_echo_n "(cached) " >&6
29544 else
29545 if test x$gcc_no_link = xyes; then
29546 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29547 fi
29548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29549 /* end confdefs.h. */
29550
29551 #ifdef HAVE_COMPLEX_H
29552 #include <complex.h>
29553 #endif
29554 #ifdef HAVE_MATH_H
29555 #include <math.h>
29556 #endif
29557
29558 int (*ptr)() = (int (*)())y1f128;
29559
29560 int
29561 main ()
29562 {
29563 return 0;
29564 }
29565
29566 _ACEOF
29567 if ac_fn_c_try_link "$LINENO"; then :
29568 gcc_cv_math_func_y1f128=yes
29569 else
29570 gcc_cv_math_func_y1f128=no
29571 fi
29572 rm -f core conftest.err conftest.$ac_objext \
29573 conftest$ac_exeext conftest.$ac_ext
29574 fi
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29576 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29577 if test $gcc_cv_math_func_y1f128 = yes; then
29578
29579 cat >>confdefs.h <<_ACEOF
29580 #define HAVE_Y1F128 1
29581 _ACEOF
29582
29583 fi
29584
29585
29586
29587
29588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29589 $as_echo_n "checking for ynf128... " >&6; }
29590 if ${gcc_cv_math_func_ynf128+:} false; then :
29591 $as_echo_n "(cached) " >&6
29592 else
29593 if test x$gcc_no_link = xyes; then
29594 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29595 fi
29596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29597 /* end confdefs.h. */
29598
29599 #ifdef HAVE_COMPLEX_H
29600 #include <complex.h>
29601 #endif
29602 #ifdef HAVE_MATH_H
29603 #include <math.h>
29604 #endif
29605
29606 int (*ptr)() = (int (*)())ynf128;
29607
29608 int
29609 main ()
29610 {
29611 return 0;
29612 }
29613
29614 _ACEOF
29615 if ac_fn_c_try_link "$LINENO"; then :
29616 gcc_cv_math_func_ynf128=yes
29617 else
29618 gcc_cv_math_func_ynf128=no
29619 fi
29620 rm -f core conftest.err conftest.$ac_objext \
29621 conftest$ac_exeext conftest.$ac_ext
29622 fi
29623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29624 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29625 if test $gcc_cv_math_func_ynf128 = yes; then
29626
29627 cat >>confdefs.h <<_ACEOF
29628 #define HAVE_YNF128 1
29629 _ACEOF
29630
29631 fi
29632
29633
29634
29635
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29637 $as_echo_n "checking for tgammaf128... " >&6; }
29638 if ${gcc_cv_math_func_tgammaf128+:} false; then :
29639 $as_echo_n "(cached) " >&6
29640 else
29641 if test x$gcc_no_link = xyes; then
29642 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29643 fi
29644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29645 /* end confdefs.h. */
29646
29647 #ifdef HAVE_COMPLEX_H
29648 #include <complex.h>
29649 #endif
29650 #ifdef HAVE_MATH_H
29651 #include <math.h>
29652 #endif
29653
29654 int (*ptr)() = (int (*)())tgammaf128;
29655
29656 int
29657 main ()
29658 {
29659 return 0;
29660 }
29661
29662 _ACEOF
29663 if ac_fn_c_try_link "$LINENO"; then :
29664 gcc_cv_math_func_tgammaf128=yes
29665 else
29666 gcc_cv_math_func_tgammaf128=no
29667 fi
29668 rm -f core conftest.err conftest.$ac_objext \
29669 conftest$ac_exeext conftest.$ac_ext
29670 fi
29671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29672 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29673 if test $gcc_cv_math_func_tgammaf128 = yes; then
29674
29675 cat >>confdefs.h <<_ACEOF
29676 #define HAVE_TGAMMAF128 1
29677 _ACEOF
29678
29679 fi
29680
29681
29682
29683
29684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29685 $as_echo_n "checking for lgammaf128... " >&6; }
29686 if ${gcc_cv_math_func_lgammaf128+:} false; then :
29687 $as_echo_n "(cached) " >&6
29688 else
29689 if test x$gcc_no_link = xyes; then
29690 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29691 fi
29692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29693 /* end confdefs.h. */
29694
29695 #ifdef HAVE_COMPLEX_H
29696 #include <complex.h>
29697 #endif
29698 #ifdef HAVE_MATH_H
29699 #include <math.h>
29700 #endif
29701
29702 int (*ptr)() = (int (*)())lgammaf128;
29703
29704 int
29705 main ()
29706 {
29707 return 0;
29708 }
29709
29710 _ACEOF
29711 if ac_fn_c_try_link "$LINENO"; then :
29712 gcc_cv_math_func_lgammaf128=yes
29713 else
29714 gcc_cv_math_func_lgammaf128=no
29715 fi
29716 rm -f core conftest.err conftest.$ac_objext \
29717 conftest$ac_exeext conftest.$ac_ext
29718 fi
29719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29720 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29721 if test $gcc_cv_math_func_lgammaf128 = yes; then
29722
29723 cat >>confdefs.h <<_ACEOF
29724 #define HAVE_LGAMMAF128 1
29725 _ACEOF
29726
29727 fi
29728
29729
29730
29731
29732
29733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29734 $as_echo_n "checking for cacosf128... " >&6; }
29735 if ${gcc_cv_math_func_cacosf128+:} false; then :
29736 $as_echo_n "(cached) " >&6
29737 else
29738 if test x$gcc_no_link = xyes; then
29739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29740 fi
29741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29742 /* end confdefs.h. */
29743
29744 #ifdef HAVE_COMPLEX_H
29745 #include <complex.h>
29746 #endif
29747 #ifdef HAVE_MATH_H
29748 #include <math.h>
29749 #endif
29750
29751 int (*ptr)() = (int (*)())cacosf128;
29752
29753 int
29754 main ()
29755 {
29756 return 0;
29757 }
29758
29759 _ACEOF
29760 if ac_fn_c_try_link "$LINENO"; then :
29761 gcc_cv_math_func_cacosf128=yes
29762 else
29763 gcc_cv_math_func_cacosf128=no
29764 fi
29765 rm -f core conftest.err conftest.$ac_objext \
29766 conftest$ac_exeext conftest.$ac_ext
29767 fi
29768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29769 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29770 if test $gcc_cv_math_func_cacosf128 = yes; then
29771
29772 cat >>confdefs.h <<_ACEOF
29773 #define HAVE_CACOSF128 1
29774 _ACEOF
29775
29776 fi
29777
29778
29779
29780
29781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29782 $as_echo_n "checking for cacoshf128... " >&6; }
29783 if ${gcc_cv_math_func_cacoshf128+:} false; then :
29784 $as_echo_n "(cached) " >&6
29785 else
29786 if test x$gcc_no_link = xyes; then
29787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29788 fi
29789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29790 /* end confdefs.h. */
29791
29792 #ifdef HAVE_COMPLEX_H
29793 #include <complex.h>
29794 #endif
29795 #ifdef HAVE_MATH_H
29796 #include <math.h>
29797 #endif
29798
29799 int (*ptr)() = (int (*)())cacoshf128;
29800
29801 int
29802 main ()
29803 {
29804 return 0;
29805 }
29806
29807 _ACEOF
29808 if ac_fn_c_try_link "$LINENO"; then :
29809 gcc_cv_math_func_cacoshf128=yes
29810 else
29811 gcc_cv_math_func_cacoshf128=no
29812 fi
29813 rm -f core conftest.err conftest.$ac_objext \
29814 conftest$ac_exeext conftest.$ac_ext
29815 fi
29816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29817 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29818 if test $gcc_cv_math_func_cacoshf128 = yes; then
29819
29820 cat >>confdefs.h <<_ACEOF
29821 #define HAVE_CACOSHF128 1
29822 _ACEOF
29823
29824 fi
29825
29826
29827
29828
29829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29830 $as_echo_n "checking for casinf128... " >&6; }
29831 if ${gcc_cv_math_func_casinf128+:} false; then :
29832 $as_echo_n "(cached) " >&6
29833 else
29834 if test x$gcc_no_link = xyes; then
29835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29836 fi
29837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29838 /* end confdefs.h. */
29839
29840 #ifdef HAVE_COMPLEX_H
29841 #include <complex.h>
29842 #endif
29843 #ifdef HAVE_MATH_H
29844 #include <math.h>
29845 #endif
29846
29847 int (*ptr)() = (int (*)())casinf128;
29848
29849 int
29850 main ()
29851 {
29852 return 0;
29853 }
29854
29855 _ACEOF
29856 if ac_fn_c_try_link "$LINENO"; then :
29857 gcc_cv_math_func_casinf128=yes
29858 else
29859 gcc_cv_math_func_casinf128=no
29860 fi
29861 rm -f core conftest.err conftest.$ac_objext \
29862 conftest$ac_exeext conftest.$ac_ext
29863 fi
29864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29865 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29866 if test $gcc_cv_math_func_casinf128 = yes; then
29867
29868 cat >>confdefs.h <<_ACEOF
29869 #define HAVE_CASINF128 1
29870 _ACEOF
29871
29872 fi
29873
29874
29875
29876
29877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29878 $as_echo_n "checking for casinhf128... " >&6; }
29879 if ${gcc_cv_math_func_casinhf128+:} false; then :
29880 $as_echo_n "(cached) " >&6
29881 else
29882 if test x$gcc_no_link = xyes; then
29883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29884 fi
29885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29886 /* end confdefs.h. */
29887
29888 #ifdef HAVE_COMPLEX_H
29889 #include <complex.h>
29890 #endif
29891 #ifdef HAVE_MATH_H
29892 #include <math.h>
29893 #endif
29894
29895 int (*ptr)() = (int (*)())casinhf128;
29896
29897 int
29898 main ()
29899 {
29900 return 0;
29901 }
29902
29903 _ACEOF
29904 if ac_fn_c_try_link "$LINENO"; then :
29905 gcc_cv_math_func_casinhf128=yes
29906 else
29907 gcc_cv_math_func_casinhf128=no
29908 fi
29909 rm -f core conftest.err conftest.$ac_objext \
29910 conftest$ac_exeext conftest.$ac_ext
29911 fi
29912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29913 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29914 if test $gcc_cv_math_func_casinhf128 = yes; then
29915
29916 cat >>confdefs.h <<_ACEOF
29917 #define HAVE_CASINHF128 1
29918 _ACEOF
29919
29920 fi
29921
29922
29923
29924
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29926 $as_echo_n "checking for catanf128... " >&6; }
29927 if ${gcc_cv_math_func_catanf128+:} false; then :
29928 $as_echo_n "(cached) " >&6
29929 else
29930 if test x$gcc_no_link = xyes; then
29931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29932 fi
29933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29934 /* end confdefs.h. */
29935
29936 #ifdef HAVE_COMPLEX_H
29937 #include <complex.h>
29938 #endif
29939 #ifdef HAVE_MATH_H
29940 #include <math.h>
29941 #endif
29942
29943 int (*ptr)() = (int (*)())catanf128;
29944
29945 int
29946 main ()
29947 {
29948 return 0;
29949 }
29950
29951 _ACEOF
29952 if ac_fn_c_try_link "$LINENO"; then :
29953 gcc_cv_math_func_catanf128=yes
29954 else
29955 gcc_cv_math_func_catanf128=no
29956 fi
29957 rm -f core conftest.err conftest.$ac_objext \
29958 conftest$ac_exeext conftest.$ac_ext
29959 fi
29960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29961 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29962 if test $gcc_cv_math_func_catanf128 = yes; then
29963
29964 cat >>confdefs.h <<_ACEOF
29965 #define HAVE_CATANF128 1
29966 _ACEOF
29967
29968 fi
29969
29970
29971
29972
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29974 $as_echo_n "checking for catanhf128... " >&6; }
29975 if ${gcc_cv_math_func_catanhf128+:} false; then :
29976 $as_echo_n "(cached) " >&6
29977 else
29978 if test x$gcc_no_link = xyes; then
29979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29980 fi
29981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29982 /* end confdefs.h. */
29983
29984 #ifdef HAVE_COMPLEX_H
29985 #include <complex.h>
29986 #endif
29987 #ifdef HAVE_MATH_H
29988 #include <math.h>
29989 #endif
29990
29991 int (*ptr)() = (int (*)())catanhf128;
29992
29993 int
29994 main ()
29995 {
29996 return 0;
29997 }
29998
29999 _ACEOF
30000 if ac_fn_c_try_link "$LINENO"; then :
30001 gcc_cv_math_func_catanhf128=yes
30002 else
30003 gcc_cv_math_func_catanhf128=no
30004 fi
30005 rm -f core conftest.err conftest.$ac_objext \
30006 conftest$ac_exeext conftest.$ac_ext
30007 fi
30008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30009 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30010 if test $gcc_cv_math_func_catanhf128 = yes; then
30011
30012 cat >>confdefs.h <<_ACEOF
30013 #define HAVE_CATANHF128 1
30014 _ACEOF
30015
30016 fi
30017
30018
30019 # Check whether the system has a working stat()
30020
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30022 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30023 if ${libgfor_cv_have_working_stat+:} false; then :
30024 $as_echo_n "(cached) " >&6
30025 else
30026
30027 if test "$cross_compiling" = yes; then :
30028
30029 case "${target}" in
30030 *mingw*) libgfor_cv_have_working_stat=no ;;
30031 *) libgfor_cv_have_working_stat=yes;;
30032 esac
30033 else
30034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30035 /* end confdefs.h. */
30036
30037 #include <stdio.h>
30038 #include <sys/types.h>
30039 #include <sys/stat.h>
30040 #include <unistd.h>
30041
30042 int main ()
30043 {
30044 FILE *f, *g;
30045 struct stat st1, st2;
30046
30047 f = fopen ("foo", "w");
30048 g = fopen ("bar", "w");
30049 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30050 return 1;
30051 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30052 return 1;
30053 fclose(f);
30054 fclose(g);
30055 return 0;
30056 }
30057 _ACEOF
30058 if ac_fn_c_try_run "$LINENO"; then :
30059 libgfor_cv_have_working_stat=yes
30060 else
30061 libgfor_cv_have_working_stat=no
30062 fi
30063 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30064 conftest.$ac_objext conftest.beam conftest.$ac_ext
30065 fi
30066
30067 fi
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30069 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30070 if test x"$libgfor_cv_have_working_stat" = xyes; then
30071
30072 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30073
30074 fi
30075
30076 # Check whether __mingw_snprintf() is present
30077
30078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30079 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30080 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
30081 $as_echo_n "(cached) " >&6
30082 else
30083
30084 if test x$gcc_no_link = xyes; then
30085 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30086 fi
30087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30088 /* end confdefs.h. */
30089
30090 #include <stdio.h>
30091 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30092
30093 int
30094 main ()
30095 {
30096
30097 __mingw_snprintf (NULL, 0, "%d\n", 1);
30098
30099 ;
30100 return 0;
30101 }
30102 _ACEOF
30103 if ac_fn_c_try_link "$LINENO"; then :
30104 eval "libgfor_cv_have_mingw_snprintf=yes"
30105 else
30106 eval "libgfor_cv_have_mingw_snprintf=no"
30107 fi
30108 rm -f core conftest.err conftest.$ac_objext \
30109 conftest$ac_exeext conftest.$ac_ext
30110
30111 fi
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30113 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30114 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
30115
30116 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30117
30118 fi
30119
30120
30121 have_iec_60559_libc_support=no
30122 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30123 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then
30124 have_iec_60559_libc_support=yes
30125 fi
30126
30127 # Check whether libquadmath should be used
30128 # Check whether --enable-libquadmath-support was given.
30129 if test "${enable_libquadmath_support+set}" = set; then :
30130 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
30131 else
30132 if test "x$have_iec_60559_libc_support" = xyes; then
30133 ENABLE_LIBQUADMATH_SUPPORT=default
30134 else
30135 ENABLE_LIBQUADMATH_SUPPORT=yes
30136 fi
30137 fi
30138
30139 enable_libquadmath_support=
30140 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30141 enable_libquadmath_support=no
30142 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30143 enable_libquadmath_support=default
30144 fi
30145
30146 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30147 # and have_iec_60559_libc_support.
30148
30149 LIBQUADSPEC=
30150 LIBQUADLIB=
30151 LIBQUADLIB_DEP=
30152 LIBQUADINCLUDE=
30153 USE_IEC_60559=no
30154
30155 if test "x$enable_libquadmath_support" != xno; then
30156
30157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30158 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30159 if ${libgfor_cv_have_float128+:} false; then :
30160 $as_echo_n "(cached) " >&6
30161 else
30162
30163 if test x$gcc_no_link = xyes; then
30164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30165 /* end confdefs.h. */
30166
30167 _Float128 foo (_Float128 x)
30168 {
30169 _Complex _Float128 z1, z2;
30170
30171 z1 = x;
30172 z2 = x / 7.F128;
30173 z2 /= z1;
30174
30175 return (_Float128) z2;
30176 }
30177
30178 _Float128 bar (_Float128 x)
30179 {
30180 return x * __builtin_huge_valf128 ();
30181 }
30182
30183 __float128 baz (__float128 x)
30184 {
30185 return x * __builtin_huge_valf128 ();
30186 }
30187
30188 int
30189 main ()
30190 {
30191
30192 foo (1.2F128);
30193 bar (1.2F128);
30194 baz (1.2F128);
30195 foo (1.2Q);
30196 bar (1.2Q);
30197 baz (1.2Q);
30198
30199 ;
30200 return 0;
30201 }
30202 _ACEOF
30203 if ac_fn_c_try_compile "$LINENO"; then :
30204
30205 libgfor_cv_have_float128=yes
30206
30207 else
30208
30209 libgfor_cv_have_float128=no
30210
30211 fi
30212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30213 else
30214 if test x$gcc_no_link = xyes; then
30215 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30216 fi
30217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30218 /* end confdefs.h. */
30219
30220 _Float128 foo (_Float128 x)
30221 {
30222 _Complex _Float128 z1, z2;
30223
30224 z1 = x;
30225 z2 = x / 7.F128;
30226 z2 /= z1;
30227
30228 return (_Float128) z2;
30229 }
30230
30231 _Float128 bar (_Float128 x)
30232 {
30233 return x * __builtin_huge_valf128 ();
30234 }
30235
30236 __float128 baz (__float128 x)
30237 {
30238 return x * __builtin_huge_valf128 ();
30239 }
30240
30241 int
30242 main ()
30243 {
30244
30245 foo (1.2F128);
30246 bar (1.2F128);
30247 baz (1.2F128);
30248 foo (1.2Q);
30249 bar (1.2Q);
30250 baz (1.2Q);
30251
30252 ;
30253 return 0;
30254 }
30255 _ACEOF
30256 if ac_fn_c_try_link "$LINENO"; then :
30257
30258 libgfor_cv_have_float128=yes
30259
30260 else
30261
30262 libgfor_cv_have_float128=no
30263
30264 fi
30265 rm -f core conftest.err conftest.$ac_objext \
30266 conftest$ac_exeext conftest.$ac_ext
30267 fi
30268 fi
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30270 $as_echo "$libgfor_cv_have_float128" >&6; }
30271
30272 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then
30273 USE_IEC_60559=yes
30274 fi
30275
30276
30277 if test "x$libgfor_cv_have_float128" = xyes; then
30278 if test "x$USE_IEC_60559" = xyes; then
30279
30280 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30281
30282 fi
30283
30284 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30285
30286
30287 ac_xsave_c_werror_flag=$ac_c_werror_flag
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30289 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30290 if ${libgfor_cv_have_as_needed+:} false; then :
30291 $as_echo_n "(cached) " >&6
30292 else
30293
30294 # Test for native Solaris options first.
30295 # No whitespace after -z to pass it through -Wl.
30296 libgfor_cv_as_needed_option="-zignore"
30297 libgfor_cv_no_as_needed_option="-zrecord"
30298 save_LDFLAGS="$LDFLAGS"
30299 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30300 libgfor_cv_have_as_needed=no
30301
30302 ac_c_werror_flag=yes
30303 if test x$gcc_no_link = xyes; then
30304 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30305 fi
30306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30307 /* end confdefs.h. */
30308
30309 int
30310 main ()
30311 {
30312
30313 ;
30314 return 0;
30315 }
30316 _ACEOF
30317 if ac_fn_c_try_link "$LINENO"; then :
30318 libgfor_cv_have_as_needed=yes
30319 else
30320 libgfor_cv_have_as_needed=no
30321 fi
30322 rm -f core conftest.err conftest.$ac_objext \
30323 conftest$ac_exeext conftest.$ac_ext
30324 LDFLAGS="$save_LDFLAGS"
30325 if test "x$libgfor_cv_have_as_needed" = xno; then
30326 libgfor_cv_as_needed_option="--as-needed"
30327 libgfor_cv_no_as_needed_option="--no-as-needed"
30328 save_LDFLAGS="$LDFLAGS"
30329 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30330 libgfor_cv_have_as_needed=no
30331
30332 ac_c_werror_flag=yes
30333 if test x$gcc_no_link = xyes; then
30334 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30335 fi
30336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30337 /* end confdefs.h. */
30338
30339 int
30340 main ()
30341 {
30342
30343 ;
30344 return 0;
30345 }
30346 _ACEOF
30347 if ac_fn_c_try_link "$LINENO"; then :
30348 libgfor_cv_have_as_needed=yes
30349 else
30350 libgfor_cv_have_as_needed=no
30351 fi
30352 rm -f core conftest.err conftest.$ac_objext \
30353 conftest$ac_exeext conftest.$ac_ext
30354 LDFLAGS="$save_LDFLAGS"
30355 fi
30356 ac_c_werror_flag=$ac_xsave_c_werror_flag
30357
30358 fi
30359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30360 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30361
30362 touch conftest1.$ac_objext conftest2.$ac_objext
30363 LQUADMATH=-lquadmath
30364 $FC -static-libgfortran -### -o conftest \
30365 conftest1.$ac_objext -lgfortran conftest2.$ac_objext 2>&1 >/dev/null \
30366 | grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30367 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30368 conftest.cmd >/dev/null 2>&1; then
30369 LQUADMATH="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30370 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30371 conftest.cmd >/dev/null 2>&1; then
30372 LQUADMATH="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30373 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30374 conftest.cmd >/dev/null 2>&1; then
30375 LQUADMATH="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30376 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30377 conftest.cmd >/dev/null 2>&1; then
30378 LQUADMATH="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30379 fi
30380 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest conftest.cmd
30381
30382 if test "x$libgfor_cv_have_as_needed" = xyes; then
30383 if test "x$USE_IEC_60559" = xyes; then
30384 LIBQUADSPEC="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30385 else
30386 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30387 fi
30388 else
30389 LIBQUADSPEC="$LQUADMATH"
30390 fi
30391 if test "x$USE_IEC_60559" != xyes; then
30392 if test -f ../libquadmath/libquadmath.la; then
30393 LIBQUADLIB=../libquadmath/libquadmath.la
30394 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
30395 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
30396 else
30397 LIBQUADLIB="-lquadmath"
30398 fi
30399 fi
30400 else
30401 USE_IEC_60559=no
30402 fi
30403 fi
30404
30405
30406
30407
30408
30409
30410
30411
30412 # Check for GNU libc feenableexcept
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30414 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30415 if ${ac_cv_lib_m_feenableexcept+:} false; then :
30416 $as_echo_n "(cached) " >&6
30417 else
30418 ac_check_lib_save_LIBS=$LIBS
30419 LIBS="-lm $LIBS"
30420 if test x$gcc_no_link = xyes; then
30421 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30422 fi
30423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30424 /* end confdefs.h. */
30425
30426 /* Override any GCC internal prototype to avoid an error.
30427 Use char because int might match the return type of a GCC
30428 builtin and then its argument prototype would still apply. */
30429 #ifdef __cplusplus
30430 extern "C"
30431 #endif
30432 char feenableexcept ();
30433 int
30434 main ()
30435 {
30436 return feenableexcept ();
30437 ;
30438 return 0;
30439 }
30440 _ACEOF
30441 if ac_fn_c_try_link "$LINENO"; then :
30442 ac_cv_lib_m_feenableexcept=yes
30443 else
30444 ac_cv_lib_m_feenableexcept=no
30445 fi
30446 rm -f core conftest.err conftest.$ac_objext \
30447 conftest$ac_exeext conftest.$ac_ext
30448 LIBS=$ac_check_lib_save_LIBS
30449 fi
30450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30451 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30452 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
30453 have_feenableexcept=yes
30454 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30455
30456 fi
30457
30458
30459 # At least for glibc, clock_gettime is in librt. But don't
30460 # pull that in if it still doesn't give us the function we want. This
30461 # test is copied from libgomp, and modified to not link in -lrt as
30462 # libgfortran calls clock_gettime via a weak reference if it's found
30463 # in librt.
30464 if test "$ac_cv_func_clock_gettime" = no; then
30465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30466 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30467 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
30468 $as_echo_n "(cached) " >&6
30469 else
30470 ac_check_lib_save_LIBS=$LIBS
30471 LIBS="-lrt $LIBS"
30472 if test x$gcc_no_link = xyes; then
30473 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30474 fi
30475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30476 /* end confdefs.h. */
30477
30478 /* Override any GCC internal prototype to avoid an error.
30479 Use char because int might match the return type of a GCC
30480 builtin and then its argument prototype would still apply. */
30481 #ifdef __cplusplus
30482 extern "C"
30483 #endif
30484 char clock_gettime ();
30485 int
30486 main ()
30487 {
30488 return clock_gettime ();
30489 ;
30490 return 0;
30491 }
30492 _ACEOF
30493 if ac_fn_c_try_link "$LINENO"; then :
30494 ac_cv_lib_rt_clock_gettime=yes
30495 else
30496 ac_cv_lib_rt_clock_gettime=no
30497 fi
30498 rm -f core conftest.err conftest.$ac_objext \
30499 conftest$ac_exeext conftest.$ac_ext
30500 LIBS=$ac_check_lib_save_LIBS
30501 fi
30502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30503 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30504 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
30505
30506 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30507
30508 fi
30509
30510 fi
30511
30512 # Check for SysV fpsetmask
30513
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30515 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30516 if ${libgfor_cv_have_fpsetmask+:} false; then :
30517 $as_echo_n "(cached) " >&6
30518 else
30519
30520 if test x$gcc_no_link = xyes; then
30521 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30522 fi
30523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30524 /* end confdefs.h. */
30525
30526 #if HAVE_FLOATINGPOINT_H
30527 # include <floatingpoint.h>
30528 #endif /* HAVE_FLOATINGPOINT_H */
30529 #if HAVE_IEEEFP_H
30530 # include <ieeefp.h>
30531 #endif /* HAVE_IEEEFP_H */
30532 int
30533 main ()
30534 {
30535 fpsetmask(0);
30536 ;
30537 return 0;
30538 }
30539 _ACEOF
30540 if ac_fn_c_try_link "$LINENO"; then :
30541 eval "libgfor_cv_have_fpsetmask=yes"
30542 else
30543 eval "libgfor_cv_have_fpsetmask=no"
30544 fi
30545 rm -f core conftest.err conftest.$ac_objext \
30546 conftest$ac_exeext conftest.$ac_ext
30547
30548 fi
30549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30550 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30551 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
30552 have_fpsetmask=yes
30553
30554 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30555
30556 fi
30557
30558 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
30559 #ifdef HAVE_IEEEFP_H
30560 #include <ieeefp.h>
30561 #endif
30562 #include <math.h>
30563
30564 "
30565 if test "x$ac_cv_type_fp_except" = xyes; then :
30566
30567 cat >>confdefs.h <<_ACEOF
30568 #define HAVE_FP_EXCEPT 1
30569 _ACEOF
30570
30571
30572 fi
30573 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30574 #ifdef HAVE_IEEEFP_H
30575 #include <ieeefp.h>
30576 #endif
30577 #include <math.h>
30578
30579 "
30580 if test "x$ac_cv_type_fp_except_t" = xyes; then :
30581
30582 cat >>confdefs.h <<_ACEOF
30583 #define HAVE_FP_EXCEPT_T 1
30584 _ACEOF
30585
30586
30587 fi
30588
30589 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30590 #ifdef HAVE_IEEEFP_H
30591 #include <ieeefp.h>
30592 #endif
30593 #include <math.h>
30594
30595 "
30596 if test "x$ac_cv_type_fp_rnd" = xyes; then :
30597
30598 cat >>confdefs.h <<_ACEOF
30599 #define HAVE_FP_RND 1
30600 _ACEOF
30601
30602
30603 fi
30604 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30605 #ifdef HAVE_IEEEFP_H
30606 #include <ieeefp.h>
30607 #endif
30608 #include <math.h>
30609
30610 "
30611 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
30612
30613 cat >>confdefs.h <<_ACEOF
30614 #define HAVE_FP_RND_T 1
30615 _ACEOF
30616
30617
30618 fi
30619
30620
30621 # Check whether we have fpsetsticky or fpresetsticky
30622 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30623 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
30624 have_fpsetsticky=yes
30625 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30626
30627 fi
30628
30629 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30630 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
30631 have_fpresetsticky=yes
30632 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30633
30634 fi
30635
30636
30637 # Check for AIX fp_trap and fp_enable
30638 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30639 if test "x$ac_cv_func_fp_trap" = xyes; then :
30640 have_fp_trap=yes
30641 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30642
30643 fi
30644
30645 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30646 if test "x$ac_cv_func_fp_enable" = xyes; then :
30647 have_fp_enable=yes
30648 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30649
30650 fi
30651
30652
30653 # Check if _SOFT_FLOAT is defined
30654
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30656 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30657 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
30658 $as_echo_n "(cached) " >&6
30659 else
30660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30661 /* end confdefs.h. */
30662
30663 int
30664 main ()
30665 {
30666
30667 #ifdef _SOFT_FLOAT
30668 int ok;
30669 #else
30670 choke me
30671 #endif
30672
30673 ;
30674 return 0;
30675 }
30676 _ACEOF
30677 if ac_fn_c_try_compile "$LINENO"; then :
30678 ac_cv_defined__SOFT_FLOAT=yes
30679 else
30680 ac_cv_defined__SOFT_FLOAT=no
30681 fi
30682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30683 fi
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30685 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30686 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30687 have_soft_float=yes
30688 fi
30689
30690 # Runs configure.host to set up necessary host-dependent shell variables.
30691 # We then display a message about it, and propagate them through the
30692 # build chain.
30693 . ${srcdir}/configure.host
30694 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30695 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30696 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30697 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30698 FPU_HOST_HEADER=config/${fpu_host}.h
30699
30700
30701 # Whether we will build the IEEE modules
30702 if test x${ieee_support} = xyes; then
30703 IEEE_SUPPORT_TRUE=
30704 IEEE_SUPPORT_FALSE='#'
30705 else
30706 IEEE_SUPPORT_TRUE='#'
30707 IEEE_SUPPORT_FALSE=
30708 fi
30709
30710
30711
30712 # Some targets require additional compiler options for IEEE compatibility.
30713 IEEE_FLAGS="${ieee_flags}"
30714
30715
30716 # Conditionalize the makefile for this target machine.
30717 tmake_file_=
30718 for f in ${tmake_file}
30719 do
30720 if test -f ${srcdir}/config/$f
30721 then
30722 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
30723 fi
30724 done
30725 tmake_file="${tmake_file_}"
30726
30727
30728
30729 # Check for POSIX getpwuid_r
30730 #
30731 # There are two versions of getpwuid_r, the POSIX one with 5
30732 # arguments, and another one with 4 arguments used by at least HP-UX
30733 # 10.2.
30734 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30736 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30737 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
30738 $as_echo_n "(cached) " >&6
30739 else
30740
30741 if test x$gcc_no_link = xyes; then
30742 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30743 fi
30744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30745 /* end confdefs.h. */
30746
30747 #include <stdio.h>
30748 #include <sys/types.h>
30749 #include <pwd.h>
30750 int
30751 main ()
30752 {
30753
30754 getpwuid_r(0, NULL, NULL, 0, NULL);
30755
30756 ;
30757 return 0;
30758 }
30759 _ACEOF
30760 if ac_fn_c_try_link "$LINENO"; then :
30761 libgfor_cv_posix_getpwuid_r="yes"
30762 else
30763 libgfor_cv_posix_getpwuid_r="no"
30764 fi
30765 rm -f core conftest.err conftest.$ac_objext \
30766 conftest$ac_exeext conftest.$ac_ext
30767 fi
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30769 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30770 fi
30771 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30772
30773 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30774
30775 fi
30776
30777
30778 # Check out attribute support.
30779
30780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30781 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30782 if ${libgfor_cv_have_attribute_visibility+:} false; then :
30783 $as_echo_n "(cached) " >&6
30784 else
30785
30786 save_CFLAGS="$CFLAGS"
30787 CFLAGS="$CFLAGS -Werror"
30788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30789 /* end confdefs.h. */
30790 void __attribute__((visibility("hidden"))) foo(void) { }
30791 int
30792 main ()
30793 {
30794
30795 ;
30796 return 0;
30797 }
30798 _ACEOF
30799 if ac_fn_c_try_compile "$LINENO"; then :
30800 libgfor_cv_have_attribute_visibility=yes
30801 else
30802 libgfor_cv_have_attribute_visibility=no
30803 fi
30804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30805 CFLAGS="$save_CFLAGS"
30806 fi
30807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30808 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30809 if test $libgfor_cv_have_attribute_visibility = yes; then
30810
30811 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30812
30813 fi
30814
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30816 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30817 if ${libgfor_cv_have_attribute_alias+:} false; then :
30818 $as_echo_n "(cached) " >&6
30819 else
30820
30821 if test x$gcc_no_link = xyes; then
30822 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30823 fi
30824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30825 /* end confdefs.h. */
30826
30827 void foo(void) { }
30828 extern void bar(void) __attribute__((alias("foo")));
30829 int
30830 main ()
30831 {
30832 bar();
30833 ;
30834 return 0;
30835 }
30836 _ACEOF
30837 if ac_fn_c_try_link "$LINENO"; then :
30838 libgfor_cv_have_attribute_alias=yes
30839 else
30840 libgfor_cv_have_attribute_alias=no
30841 fi
30842 rm -f core conftest.err conftest.$ac_objext \
30843 conftest$ac_exeext conftest.$ac_ext
30844 fi
30845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30846 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30847 if test $libgfor_cv_have_attribute_alias = yes; then
30848
30849 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30850
30851 fi
30852
30853 # Check out atomic builtins support.
30854
30855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30856 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30857 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
30858 $as_echo_n "(cached) " >&6
30859 else
30860
30861 if test x$gcc_no_link = xyes; then
30862 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30863 fi
30864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30865 /* end confdefs.h. */
30866 int foovar = 0;
30867 int
30868 main ()
30869 {
30870
30871 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30872 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30873 ;
30874 return 0;
30875 }
30876 _ACEOF
30877 if ac_fn_c_try_link "$LINENO"; then :
30878 libgfor_cv_have_atomic_fetch_add=yes
30879 else
30880 libgfor_cv_have_atomic_fetch_add=no
30881 fi
30882 rm -f core conftest.err conftest.$ac_objext \
30883 conftest$ac_exeext conftest.$ac_ext
30884 fi
30885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30886 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30887 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30888
30889 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30890
30891 fi
30892
30893 # Check out #pragma weak.
30894
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30896 $as_echo_n "checking whether pragma weak works... " >&6; }
30897 if ${libgfor_cv_have_pragma_weak+:} false; then :
30898 $as_echo_n "(cached) " >&6
30899 else
30900
30901 gfor_save_CFLAGS="$CFLAGS"
30902 CFLAGS="$CFLAGS -Wunknown-pragmas"
30903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30904 /* end confdefs.h. */
30905
30906 void foo (void);
30907 #pragma weak foo
30908
30909 int
30910 main ()
30911 {
30912 if (foo) foo ();
30913 ;
30914 return 0;
30915 }
30916 _ACEOF
30917 if ac_fn_c_try_compile "$LINENO"; then :
30918 libgfor_cv_have_pragma_weak=yes
30919 else
30920 libgfor_cv_have_pragma_weak=no
30921 fi
30922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30923 fi
30924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30925 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30926 if test $libgfor_cv_have_pragma_weak = yes; then
30927
30928 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30929
30930 fi
30931 case "$host" in
30932 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
30933
30934 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30935
30936 ;;
30937 esac
30938
30939 # Check out weakref support.
30940
30941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30942 $as_echo_n "checking whether the target supports weakref... " >&6; }
30943 if ${libgfor_cv_have_weakref+:} false; then :
30944 $as_echo_n "(cached) " >&6
30945 else
30946
30947 save_CFLAGS="$CFLAGS"
30948 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
30949 if test x$gcc_no_link = xyes; then
30950 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30951 fi
30952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30953 /* end confdefs.h. */
30954
30955 static int mytoto (int) __attribute__((__weakref__("toto")));
30956
30957 int
30958 main ()
30959 {
30960 return (mytoto != 0);
30961 ;
30962 return 0;
30963 }
30964 _ACEOF
30965 if ac_fn_c_try_link "$LINENO"; then :
30966 libgfor_cv_have_weakref=yes
30967 else
30968 libgfor_cv_have_weakref=no
30969 fi
30970 rm -f core conftest.err conftest.$ac_objext \
30971 conftest$ac_exeext conftest.$ac_ext
30972 CFLAGS="$save_CFLAGS"
30973 fi
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30975 $as_echo "$libgfor_cv_have_weakref" >&6; }
30976 if test $libgfor_cv_have_weakref = yes; then
30977
30978 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30979
30980 fi
30981
30982 # Various other checks on target
30983
30984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
30985 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
30986 if ${libgfor_cv_have_unlink_open_file+:} false; then :
30987 $as_echo_n "(cached) " >&6
30988 else
30989
30990 if test "$cross_compiling" = yes; then :
30991
30992 case "${target}" in
30993 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
30994 *) libgfor_cv_have_unlink_open_file=yes;;
30995 esac
30996 else
30997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30998 /* end confdefs.h. */
30999
31000 #include <errno.h>
31001 #include <fcntl.h>
31002 #include <unistd.h>
31003 #include <sys/stat.h>
31004
31005 int main ()
31006 {
31007 int fd;
31008
31009 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31010 if (fd <= 0)
31011 return 0;
31012 if (unlink ("testfile") == -1)
31013 return 1;
31014 write (fd, "This is a test\n", 15);
31015 close (fd);
31016
31017 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31018 return 0;
31019 else
31020 return 1;
31021 }
31022 _ACEOF
31023 if ac_fn_c_try_run "$LINENO"; then :
31024 libgfor_cv_have_unlink_open_file=yes
31025 else
31026 libgfor_cv_have_unlink_open_file=no
31027 fi
31028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31029 conftest.$ac_objext conftest.beam conftest.$ac_ext
31030 fi
31031
31032 fi
31033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31034 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31035 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
31036
31037 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31038
31039 fi
31040
31041 # Check whether line terminator is LF or CRLF
31042
31043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31044 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31045 if ${libgfor_cv_have_crlf+:} false; then :
31046 $as_echo_n "(cached) " >&6
31047 else
31048
31049 if test "$cross_compiling" = yes; then :
31050
31051 case "${target}" in
31052 *mingw*) libgfor_cv_have_crlf=yes ;;
31053 *) libgfor_cv_have_crlf=no;;
31054 esac
31055 else
31056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h. */
31058
31059 /* This test program should exit with status 0 if system uses a CRLF as
31060 line terminator, and status 1 otherwise.
31061 Since it is used to check for mingw systems, and should return 0 in any
31062 other case, in case of a failure we will not use CRLF. */
31063 #include <sys/stat.h>
31064 #include <stdlib.h>
31065 #include <fcntl.h>
31066 #include <stdio.h>
31067
31068 int main ()
31069 {
31070 #ifndef O_BINARY
31071 exit(1);
31072 #else
31073 int fd, bytes;
31074 char buff[5];
31075
31076 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31077 if (fd < 0)
31078 exit(1);
31079 if (write (fd, "\n", 1) < 0)
31080 perror ("write");
31081
31082 close (fd);
31083
31084 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31085 exit(1);
31086 bytes = read (fd, buff, 5);
31087 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31088 exit(0);
31089 else
31090 exit(1);
31091 #endif
31092 }
31093 _ACEOF
31094 if ac_fn_c_try_run "$LINENO"; then :
31095 libgfor_cv_have_crlf=yes
31096 else
31097 libgfor_cv_have_crlf=no
31098 fi
31099 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31100 conftest.$ac_objext conftest.beam conftest.$ac_ext
31101 fi
31102
31103 fi
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31105 $as_echo "$libgfor_cv_have_crlf" >&6; }
31106 if test x"$libgfor_cv_have_crlf" = xyes; then
31107
31108 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31109
31110 fi
31111
31112 # Check whether we support AVX extensions
31113
31114 ac_save_CFLAGS="$CFLAGS"
31115 CFLAGS="-O2 -mavx"
31116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h. */
31118
31119 void _mm256_zeroall (void)
31120 {
31121 __builtin_ia32_vzeroall ();
31122 }
31123 int
31124 main ()
31125 {
31126
31127 ;
31128 return 0;
31129 }
31130 _ACEOF
31131 if ac_fn_c_try_compile "$LINENO"; then :
31132
31133 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31134
31135 fi
31136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31137 CFLAGS="$ac_save_CFLAGS"
31138
31139
31140 # Check whether we support AVX2 extensions
31141
31142 ac_save_CFLAGS="$CFLAGS"
31143 CFLAGS="-O2 -mavx2"
31144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31145 /* end confdefs.h. */
31146
31147 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31148 __v4di
31149 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31150 {
31151 return __builtin_ia32_andnotsi256 (__X, __Y);
31152 }
31153 int
31154 main ()
31155 {
31156
31157 ;
31158 return 0;
31159 }
31160 _ACEOF
31161 if ac_fn_c_try_compile "$LINENO"; then :
31162
31163 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31164
31165 fi
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167 CFLAGS="$ac_save_CFLAGS"
31168
31169
31170 # Check whether we support AVX512f extensions
31171
31172 ac_save_CFLAGS="$CFLAGS"
31173 CFLAGS="-O2 -mavx512f"
31174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31175 /* end confdefs.h. */
31176
31177 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31178 __m512d _mm512_add (__m512d a)
31179 {
31180 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31181 /* For -m64/-mx32 also verify that code will work even if
31182 the target uses call saved zmm16+ and needs to emit
31183 unwind info for them (e.g. on mingw). See PR79127. */
31184 #ifdef __x86_64__
31185 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31186 #endif
31187 return b;
31188 }
31189 int
31190 main ()
31191 {
31192
31193 ;
31194 return 0;
31195 }
31196 _ACEOF
31197 if ac_fn_c_try_compile "$LINENO"; then :
31198
31199 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31200
31201 fi
31202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31203 CFLAGS="$ac_save_CFLAGS"
31204
31205
31206 # Check for FMA3 extensions
31207
31208 ac_save_CFLAGS="$CFLAGS"
31209 CFLAGS="-O2 -mfma -mno-fma4"
31210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31211 /* end confdefs.h. */
31212
31213 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31214 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31215 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31216 {
31217 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31218 (__v4sf)__B,
31219 (__v4sf)__C);
31220 }
31221 int
31222 main ()
31223 {
31224
31225 ;
31226 return 0;
31227 }
31228 _ACEOF
31229 if ac_fn_c_try_compile "$LINENO"; then :
31230
31231 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31232
31233 fi
31234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31235 CFLAGS="$ac_save_CFLAGS"
31236
31237
31238 # Check for FMA4 extensions
31239
31240 ac_save_CFLAGS="$CFLAGS"
31241 CFLAGS="-O2 -mfma4 -mno-fma"
31242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31243 /* end confdefs.h. */
31244
31245 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31246 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31247 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31248 {
31249 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31250 (__v4sf)__B,
31251 (__v4sf)__C);
31252 }
31253 int
31254 main ()
31255 {
31256
31257 ;
31258 return 0;
31259 }
31260 _ACEOF
31261 if ac_fn_c_try_compile "$LINENO"; then :
31262
31263 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31264
31265 fi
31266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31267 CFLAGS="$ac_save_CFLAGS"
31268
31269
31270 # Check if AVX128 works
31271
31272 ac_save_CFLAGS="$CFLAGS"
31273 CFLAGS="-O2 -mavx -mprefer-avx128"
31274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31275 /* end confdefs.h. */
31276
31277 void foo()
31278 {
31279 }
31280 int
31281 main ()
31282 {
31283
31284 ;
31285 return 0;
31286 }
31287 _ACEOF
31288 if ac_fn_c_try_compile "$LINENO"; then :
31289
31290 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31291
31292 if true; then
31293 HAVE_AVX128_TRUE=
31294 HAVE_AVX128_FALSE='#'
31295 else
31296 HAVE_AVX128_TRUE='#'
31297 HAVE_AVX128_FALSE=
31298 fi
31299
31300 else
31301 if false; then
31302 HAVE_AVX128_TRUE=
31303 HAVE_AVX128_FALSE='#'
31304 else
31305 HAVE_AVX128_TRUE='#'
31306 HAVE_AVX128_FALSE=
31307 fi
31308
31309 fi
31310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311 CFLAGS="$ac_save_CFLAGS"
31312
31313
31314 # Determine what GCC version number to use in filesystem paths.
31315
31316 get_gcc_base_ver="cat"
31317
31318 # Check whether --with-gcc-major-version-only was given.
31319 if test "${with_gcc_major_version_only+set}" = set; then :
31320 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
31321 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
31322 fi
31323
31324 fi
31325
31326
31327
31328
31329 cat >confcache <<\_ACEOF
31330 # This file is a shell script that caches the results of configure
31331 # tests run on this system so they can be shared between configure
31332 # scripts and configure runs, see configure's option --config-cache.
31333 # It is not useful on other systems. If it contains results you don't
31334 # want to keep, you may remove or edit it.
31335 #
31336 # config.status only pays attention to the cache file if you give it
31337 # the --recheck option to rerun configure.
31338 #
31339 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31340 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31341 # following values.
31342
31343 _ACEOF
31344
31345 # The following way of writing the cache mishandles newlines in values,
31346 # but we know of no workaround that is simple, portable, and efficient.
31347 # So, we kill variables containing newlines.
31348 # Ultrix sh set writes to stderr and can't be redirected directly,
31349 # and sets the high bit in the cache file unless we assign to the vars.
31350 (
31351 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31352 eval ac_val=\$$ac_var
31353 case $ac_val in #(
31354 *${as_nl}*)
31355 case $ac_var in #(
31356 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31357 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31358 esac
31359 case $ac_var in #(
31360 _ | IFS | as_nl) ;; #(
31361 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31362 *) { eval $ac_var=; unset $ac_var;} ;;
31363 esac ;;
31364 esac
31365 done
31366
31367 (set) 2>&1 |
31368 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31369 *${as_nl}ac_space=\ *)
31370 # `set' does not quote correctly, so add quotes: double-quote
31371 # substitution turns \\\\ into \\, and sed turns \\ into \.
31372 sed -n \
31373 "s/'/'\\\\''/g;
31374 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31375 ;; #(
31376 *)
31377 # `set' quotes correctly as required by POSIX, so do not add quotes.
31378 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31379 ;;
31380 esac |
31381 sort
31382 ) |
31383 sed '
31384 /^ac_cv_env_/b end
31385 t clear
31386 :clear
31387 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31388 t end
31389 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31390 :end' >>confcache
31391 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31392 if test -w "$cache_file"; then
31393 if test "x$cache_file" != "x/dev/null"; then
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31395 $as_echo "$as_me: updating cache $cache_file" >&6;}
31396 if test ! -f "$cache_file" || test -h "$cache_file"; then
31397 cat confcache >"$cache_file"
31398 else
31399 case $cache_file in #(
31400 */* | ?:*)
31401 mv -f confcache "$cache_file"$$ &&
31402 mv -f "$cache_file"$$ "$cache_file" ;; #(
31403 *)
31404 mv -f confcache "$cache_file" ;;
31405 esac
31406 fi
31407 fi
31408 else
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31410 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31411 fi
31412 fi
31413 rm -f confcache
31414
31415 if test ${multilib} = yes; then
31416 multilib_arg="--enable-multilib"
31417 else
31418 multilib_arg=
31419 fi
31420
31421 # Write our Makefile and spec file.
31422 ac_config_files="$ac_config_files Makefile libgfortran.spec"
31423
31424 cat >confcache <<\_ACEOF
31425 # This file is a shell script that caches the results of configure
31426 # tests run on this system so they can be shared between configure
31427 # scripts and configure runs, see configure's option --config-cache.
31428 # It is not useful on other systems. If it contains results you don't
31429 # want to keep, you may remove or edit it.
31430 #
31431 # config.status only pays attention to the cache file if you give it
31432 # the --recheck option to rerun configure.
31433 #
31434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31436 # following values.
31437
31438 _ACEOF
31439
31440 # The following way of writing the cache mishandles newlines in values,
31441 # but we know of no workaround that is simple, portable, and efficient.
31442 # So, we kill variables containing newlines.
31443 # Ultrix sh set writes to stderr and can't be redirected directly,
31444 # and sets the high bit in the cache file unless we assign to the vars.
31445 (
31446 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31447 eval ac_val=\$$ac_var
31448 case $ac_val in #(
31449 *${as_nl}*)
31450 case $ac_var in #(
31451 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31453 esac
31454 case $ac_var in #(
31455 _ | IFS | as_nl) ;; #(
31456 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31457 *) { eval $ac_var=; unset $ac_var;} ;;
31458 esac ;;
31459 esac
31460 done
31461
31462 (set) 2>&1 |
31463 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31464 *${as_nl}ac_space=\ *)
31465 # `set' does not quote correctly, so add quotes: double-quote
31466 # substitution turns \\\\ into \\, and sed turns \\ into \.
31467 sed -n \
31468 "s/'/'\\\\''/g;
31469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31470 ;; #(
31471 *)
31472 # `set' quotes correctly as required by POSIX, so do not add quotes.
31473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31474 ;;
31475 esac |
31476 sort
31477 ) |
31478 sed '
31479 /^ac_cv_env_/b end
31480 t clear
31481 :clear
31482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31483 t end
31484 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31485 :end' >>confcache
31486 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31487 if test -w "$cache_file"; then
31488 if test "x$cache_file" != "x/dev/null"; then
31489 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31490 $as_echo "$as_me: updating cache $cache_file" >&6;}
31491 if test ! -f "$cache_file" || test -h "$cache_file"; then
31492 cat confcache >"$cache_file"
31493 else
31494 case $cache_file in #(
31495 */* | ?:*)
31496 mv -f confcache "$cache_file"$$ &&
31497 mv -f "$cache_file"$$ "$cache_file" ;; #(
31498 *)
31499 mv -f confcache "$cache_file" ;;
31500 esac
31501 fi
31502 fi
31503 else
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31505 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31506 fi
31507 fi
31508 rm -f confcache
31509
31510 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31511 # Let make expand exec_prefix.
31512 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31513
31514 DEFS=-DHAVE_CONFIG_H
31515
31516 ac_libobjs=
31517 ac_ltlibobjs=
31518 U=
31519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31520 # 1. Remove the extension, and $U if already installed.
31521 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31522 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31523 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31524 # will be set to the directory where LIBOBJS objects are built.
31525 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31526 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31527 done
31528 LIBOBJS=$ac_libobjs
31529
31530 LTLIBOBJS=$ac_ltlibobjs
31531
31532
31533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31534 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31535 if test -n "$am_sleep_pid"; then
31536 # Hide warnings about reused PIDs.
31537 wait $am_sleep_pid 2>/dev/null
31538 fi
31539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31540 $as_echo "done" >&6; }
31541 if test -n "$EXEEXT"; then
31542 am__EXEEXT_TRUE=
31543 am__EXEEXT_FALSE='#'
31544 else
31545 am__EXEEXT_TRUE='#'
31546 am__EXEEXT_FALSE=
31547 fi
31548
31549 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31550 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31552 fi
31553 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31554 as_fn_error $? "conditional \"AMDEP\" was never defined.
31555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31556 fi
31557 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31558 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31560 fi
31561 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31562 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31564 fi
31565 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31566 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
31567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31568 fi
31569 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31570 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31572 fi
31573 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31574 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31576 fi
31577 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31578 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31580 fi
31581 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31582 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
31583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31584 fi
31585 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31586 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
31587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31588 fi
31589 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31590 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
31591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31592 fi
31593 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31594 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31596 fi
31597 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31598 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31600 fi
31601
31602 : "${CONFIG_STATUS=./config.status}"
31603 ac_write_fail=0
31604 ac_clean_files_save=$ac_clean_files
31605 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31607 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31608 as_write_fail=0
31609 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31610 #! $SHELL
31611 # Generated by $as_me.
31612 # Run this file to recreate the current configuration.
31613 # Compiler output produced by configure, useful for debugging
31614 # configure, is in config.log if it exists.
31615
31616 debug=false
31617 ac_cs_recheck=false
31618 ac_cs_silent=false
31619
31620 SHELL=\${CONFIG_SHELL-$SHELL}
31621 export SHELL
31622 _ASEOF
31623 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31624 ## -------------------- ##
31625 ## M4sh Initialization. ##
31626 ## -------------------- ##
31627
31628 # Be more Bourne compatible
31629 DUALCASE=1; export DUALCASE # for MKS sh
31630 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31631 emulate sh
31632 NULLCMD=:
31633 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31634 # is contrary to our usage. Disable this feature.
31635 alias -g '${1+"$@"}'='"$@"'
31636 setopt NO_GLOB_SUBST
31637 else
31638 case `(set -o) 2>/dev/null` in #(
31639 *posix*) :
31640 set -o posix ;; #(
31641 *) :
31642 ;;
31643 esac
31644 fi
31645
31646
31647 as_nl='
31648 '
31649 export as_nl
31650 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31651 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31654 # Prefer a ksh shell builtin over an external printf program on Solaris,
31655 # but without wasting forks for bash or zsh.
31656 if test -z "$BASH_VERSION$ZSH_VERSION" \
31657 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31658 as_echo='print -r --'
31659 as_echo_n='print -rn --'
31660 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31661 as_echo='printf %s\n'
31662 as_echo_n='printf %s'
31663 else
31664 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31665 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31666 as_echo_n='/usr/ucb/echo -n'
31667 else
31668 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31669 as_echo_n_body='eval
31670 arg=$1;
31671 case $arg in #(
31672 *"$as_nl"*)
31673 expr "X$arg" : "X\\(.*\\)$as_nl";
31674 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31675 esac;
31676 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31677 '
31678 export as_echo_n_body
31679 as_echo_n='sh -c $as_echo_n_body as_echo'
31680 fi
31681 export as_echo_body
31682 as_echo='sh -c $as_echo_body as_echo'
31683 fi
31684
31685 # The user is always right.
31686 if test "${PATH_SEPARATOR+set}" != set; then
31687 PATH_SEPARATOR=:
31688 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31689 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31690 PATH_SEPARATOR=';'
31691 }
31692 fi
31693
31694
31695 # IFS
31696 # We need space, tab and new line, in precisely that order. Quoting is
31697 # there to prevent editors from complaining about space-tab.
31698 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31699 # splitting by setting IFS to empty value.)
31700 IFS=" "" $as_nl"
31701
31702 # Find who we are. Look in the path if we contain no directory separator.
31703 as_myself=
31704 case $0 in #((
31705 *[\\/]* ) as_myself=$0 ;;
31706 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31707 for as_dir in $PATH
31708 do
31709 IFS=$as_save_IFS
31710 test -z "$as_dir" && as_dir=.
31711 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31712 done
31713 IFS=$as_save_IFS
31714
31715 ;;
31716 esac
31717 # We did not find ourselves, most probably we were run as `sh COMMAND'
31718 # in which case we are not to be found in the path.
31719 if test "x$as_myself" = x; then
31720 as_myself=$0
31721 fi
31722 if test ! -f "$as_myself"; then
31723 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31724 exit 1
31725 fi
31726
31727 # Unset variables that we do not need and which cause bugs (e.g. in
31728 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31729 # suppresses any "Segmentation fault" message there. '((' could
31730 # trigger a bug in pdksh 5.2.14.
31731 for as_var in BASH_ENV ENV MAIL MAILPATH
31732 do eval test x\${$as_var+set} = xset \
31733 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31734 done
31735 PS1='$ '
31736 PS2='> '
31737 PS4='+ '
31738
31739 # NLS nuisances.
31740 LC_ALL=C
31741 export LC_ALL
31742 LANGUAGE=C
31743 export LANGUAGE
31744
31745 # CDPATH.
31746 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31747
31748
31749 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31750 # ----------------------------------------
31751 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31752 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31753 # script with STATUS, using 1 if that was 0.
31754 as_fn_error ()
31755 {
31756 as_status=$1; test $as_status -eq 0 && as_status=1
31757 if test "$4"; then
31758 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31759 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31760 fi
31761 $as_echo "$as_me: error: $2" >&2
31762 as_fn_exit $as_status
31763 } # as_fn_error
31764
31765
31766 # as_fn_set_status STATUS
31767 # -----------------------
31768 # Set $? to STATUS, without forking.
31769 as_fn_set_status ()
31770 {
31771 return $1
31772 } # as_fn_set_status
31773
31774 # as_fn_exit STATUS
31775 # -----------------
31776 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31777 as_fn_exit ()
31778 {
31779 set +e
31780 as_fn_set_status $1
31781 exit $1
31782 } # as_fn_exit
31783
31784 # as_fn_unset VAR
31785 # ---------------
31786 # Portably unset VAR.
31787 as_fn_unset ()
31788 {
31789 { eval $1=; unset $1;}
31790 }
31791 as_unset=as_fn_unset
31792 # as_fn_append VAR VALUE
31793 # ----------------------
31794 # Append the text in VALUE to the end of the definition contained in VAR. Take
31795 # advantage of any shell optimizations that allow amortized linear growth over
31796 # repeated appends, instead of the typical quadratic growth present in naive
31797 # implementations.
31798 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31799 eval 'as_fn_append ()
31800 {
31801 eval $1+=\$2
31802 }'
31803 else
31804 as_fn_append ()
31805 {
31806 eval $1=\$$1\$2
31807 }
31808 fi # as_fn_append
31809
31810 # as_fn_arith ARG...
31811 # ------------------
31812 # Perform arithmetic evaluation on the ARGs, and store the result in the
31813 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31814 # must be portable across $(()) and expr.
31815 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31816 eval 'as_fn_arith ()
31817 {
31818 as_val=$(( $* ))
31819 }'
31820 else
31821 as_fn_arith ()
31822 {
31823 as_val=`expr "$@" || test $? -eq 1`
31824 }
31825 fi # as_fn_arith
31826
31827
31828 if expr a : '\(a\)' >/dev/null 2>&1 &&
31829 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31830 as_expr=expr
31831 else
31832 as_expr=false
31833 fi
31834
31835 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31836 as_basename=basename
31837 else
31838 as_basename=false
31839 fi
31840
31841 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31842 as_dirname=dirname
31843 else
31844 as_dirname=false
31845 fi
31846
31847 as_me=`$as_basename -- "$0" ||
31848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31849 X"$0" : 'X\(//\)$' \| \
31850 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31851 $as_echo X/"$0" |
31852 sed '/^.*\/\([^/][^/]*\)\/*$/{
31853 s//\1/
31854 q
31855 }
31856 /^X\/\(\/\/\)$/{
31857 s//\1/
31858 q
31859 }
31860 /^X\/\(\/\).*/{
31861 s//\1/
31862 q
31863 }
31864 s/.*/./; q'`
31865
31866 # Avoid depending upon Character Ranges.
31867 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31868 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31869 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31870 as_cr_digits='0123456789'
31871 as_cr_alnum=$as_cr_Letters$as_cr_digits
31872
31873 ECHO_C= ECHO_N= ECHO_T=
31874 case `echo -n x` in #(((((
31875 -n*)
31876 case `echo 'xy\c'` in
31877 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
31878 xy) ECHO_C='\c';;
31879 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
31880 ECHO_T=' ';;
31881 esac;;
31882 *)
31883 ECHO_N='-n';;
31884 esac
31885
31886 rm -f conf$$ conf$$.exe conf$$.file
31887 if test -d conf$$.dir; then
31888 rm -f conf$$.dir/conf$$.file
31889 else
31890 rm -f conf$$.dir
31891 mkdir conf$$.dir 2>/dev/null
31892 fi
31893 if (echo >conf$$.file) 2>/dev/null; then
31894 if ln -s conf$$.file conf$$ 2>/dev/null; then
31895 as_ln_s='ln -s'
31896 # ... but there are two gotchas:
31897 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31898 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31899 # In both cases, we have to default to `cp -pR'.
31900 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31901 as_ln_s='cp -pR'
31902 elif ln conf$$.file conf$$ 2>/dev/null; then
31903 as_ln_s=ln
31904 else
31905 as_ln_s='cp -pR'
31906 fi
31907 else
31908 as_ln_s='cp -pR'
31909 fi
31910 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31911 rmdir conf$$.dir 2>/dev/null
31912
31913
31914 # as_fn_mkdir_p
31915 # -------------
31916 # Create "$as_dir" as a directory, including parents if necessary.
31917 as_fn_mkdir_p ()
31918 {
31919
31920 case $as_dir in #(
31921 -*) as_dir=./$as_dir;;
31922 esac
31923 test -d "$as_dir" || eval $as_mkdir_p || {
31924 as_dirs=
31925 while :; do
31926 case $as_dir in #(
31927 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31928 *) as_qdir=$as_dir;;
31929 esac
31930 as_dirs="'$as_qdir' $as_dirs"
31931 as_dir=`$as_dirname -- "$as_dir" ||
31932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31933 X"$as_dir" : 'X\(//\)[^/]' \| \
31934 X"$as_dir" : 'X\(//\)$' \| \
31935 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31936 $as_echo X"$as_dir" |
31937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31938 s//\1/
31939 q
31940 }
31941 /^X\(\/\/\)[^/].*/{
31942 s//\1/
31943 q
31944 }
31945 /^X\(\/\/\)$/{
31946 s//\1/
31947 q
31948 }
31949 /^X\(\/\).*/{
31950 s//\1/
31951 q
31952 }
31953 s/.*/./; q'`
31954 test -d "$as_dir" && break
31955 done
31956 test -z "$as_dirs" || eval "mkdir $as_dirs"
31957 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31958
31959
31960 } # as_fn_mkdir_p
31961 if mkdir -p . 2>/dev/null; then
31962 as_mkdir_p='mkdir -p "$as_dir"'
31963 else
31964 test -d ./-p && rmdir ./-p
31965 as_mkdir_p=false
31966 fi
31967
31968
31969 # as_fn_executable_p FILE
31970 # -----------------------
31971 # Test if FILE is an executable regular file.
31972 as_fn_executable_p ()
31973 {
31974 test -f "$1" && test -x "$1"
31975 } # as_fn_executable_p
31976 as_test_x='test -x'
31977 as_executable_p=as_fn_executable_p
31978
31979 # Sed expression to map a string onto a valid CPP name.
31980 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31981
31982 # Sed expression to map a string onto a valid variable name.
31983 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31984
31985
31986 exec 6>&1
31987 ## ----------------------------------- ##
31988 ## Main body of $CONFIG_STATUS script. ##
31989 ## ----------------------------------- ##
31990 _ASEOF
31991 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
31992
31993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31994 # Save the log message, to keep $0 and so on meaningful, and to
31995 # report actual input values of CONFIG_FILES etc. instead of their
31996 # values after options handling.
31997 ac_log="
31998 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
31999 generated by GNU Autoconf 2.69. Invocation command line was
32000
32001 CONFIG_FILES = $CONFIG_FILES
32002 CONFIG_HEADERS = $CONFIG_HEADERS
32003 CONFIG_LINKS = $CONFIG_LINKS
32004 CONFIG_COMMANDS = $CONFIG_COMMANDS
32005 $ $0 $@
32006
32007 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32008 "
32009
32010 _ACEOF
32011
32012 case $ac_config_files in *"
32013 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32014 esac
32015
32016 case $ac_config_headers in *"
32017 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32018 esac
32019
32020
32021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32022 # Files that config.status was made for.
32023 config_files="$ac_config_files"
32024 config_headers="$ac_config_headers"
32025 config_commands="$ac_config_commands"
32026
32027 _ACEOF
32028
32029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32030 ac_cs_usage="\
32031 \`$as_me' instantiates files and other configuration actions
32032 from templates according to the current configuration. Unless the files
32033 and actions are specified as TAGs, all are instantiated by default.
32034
32035 Usage: $0 [OPTION]... [TAG]...
32036
32037 -h, --help print this help, then exit
32038 -V, --version print version number and configuration settings, then exit
32039 --config print configuration, then exit
32040 -q, --quiet, --silent
32041 do not print progress messages
32042 -d, --debug don't remove temporary files
32043 --recheck update $as_me by reconfiguring in the same conditions
32044 --file=FILE[:TEMPLATE]
32045 instantiate the configuration file FILE
32046 --header=FILE[:TEMPLATE]
32047 instantiate the configuration header FILE
32048
32049 Configuration files:
32050 $config_files
32051
32052 Configuration headers:
32053 $config_headers
32054
32055 Configuration commands:
32056 $config_commands
32057
32058 Report bugs to the package provider.
32059 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32060 General help using GNU software: <http://www.gnu.org/gethelp/>."
32061
32062 _ACEOF
32063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32064 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32065 ac_cs_version="\\
32066 GNU Fortran Runtime Library config.status 0.3
32067 configured by $0, generated by GNU Autoconf 2.69,
32068 with options \\"\$ac_cs_config\\"
32069
32070 Copyright (C) 2012 Free Software Foundation, Inc.
32071 This config.status script is free software; the Free Software Foundation
32072 gives unlimited permission to copy, distribute and modify it."
32073
32074 ac_pwd='$ac_pwd'
32075 srcdir='$srcdir'
32076 INSTALL='$INSTALL'
32077 MKDIR_P='$MKDIR_P'
32078 AWK='$AWK'
32079 test -n "\$AWK" || AWK=awk
32080 _ACEOF
32081
32082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32083 # The default lists apply if the user does not specify any file.
32084 ac_need_defaults=:
32085 while test $# != 0
32086 do
32087 case $1 in
32088 --*=?*)
32089 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32090 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32091 ac_shift=:
32092 ;;
32093 --*=)
32094 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32095 ac_optarg=
32096 ac_shift=:
32097 ;;
32098 *)
32099 ac_option=$1
32100 ac_optarg=$2
32101 ac_shift=shift
32102 ;;
32103 esac
32104
32105 case $ac_option in
32106 # Handling of the options.
32107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32108 ac_cs_recheck=: ;;
32109 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32110 $as_echo "$ac_cs_version"; exit ;;
32111 --config | --confi | --conf | --con | --co | --c )
32112 $as_echo "$ac_cs_config"; exit ;;
32113 --debug | --debu | --deb | --de | --d | -d )
32114 debug=: ;;
32115 --file | --fil | --fi | --f )
32116 $ac_shift
32117 case $ac_optarg in
32118 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32119 '') as_fn_error $? "missing file argument" ;;
32120 esac
32121 as_fn_append CONFIG_FILES " '$ac_optarg'"
32122 ac_need_defaults=false;;
32123 --header | --heade | --head | --hea )
32124 $ac_shift
32125 case $ac_optarg in
32126 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32127 esac
32128 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32129 ac_need_defaults=false;;
32130 --he | --h)
32131 # Conflict between --help and --header
32132 as_fn_error $? "ambiguous option: \`$1'
32133 Try \`$0 --help' for more information.";;
32134 --help | --hel | -h )
32135 $as_echo "$ac_cs_usage"; exit ;;
32136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32137 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32138 ac_cs_silent=: ;;
32139
32140 # This is an error.
32141 -*) as_fn_error $? "unrecognized option: \`$1'
32142 Try \`$0 --help' for more information." ;;
32143
32144 *) as_fn_append ac_config_targets " $1"
32145 ac_need_defaults=false ;;
32146
32147 esac
32148 shift
32149 done
32150
32151 ac_configure_extra_args=
32152
32153 if $ac_cs_silent; then
32154 exec 6>/dev/null
32155 ac_configure_extra_args="$ac_configure_extra_args --silent"
32156 fi
32157
32158 _ACEOF
32159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32160 if \$ac_cs_recheck; then
32161 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32162 shift
32163 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32164 CONFIG_SHELL='$SHELL'
32165 export CONFIG_SHELL
32166 exec "\$@"
32167 fi
32168
32169 _ACEOF
32170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32171 exec 5>>config.log
32172 {
32173 echo
32174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32175 ## Running $as_me. ##
32176 _ASBOX
32177 $as_echo "$ac_log"
32178 } >&5
32179
32180 _ACEOF
32181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32182 #
32183 # INIT-COMMANDS
32184 #
32185
32186 srcdir="$srcdir"
32187 host="$host"
32188 target="$target"
32189 with_multisubdir="$with_multisubdir"
32190 with_multisrctop="$with_multisrctop"
32191 with_target_subdir="$with_target_subdir"
32192 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32193 multi_basedir="$multi_basedir"
32194 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32195 CC="$CC"
32196 CXX="$CXX"
32197 GFORTRAN="$GFORTRAN"
32198 GDC="$GDC"
32199 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32200
32201
32202 # The HP-UX ksh and POSIX shell print the target directory to stdout
32203 # if CDPATH is set.
32204 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32205
32206 sed_quote_subst='$sed_quote_subst'
32207 double_quote_subst='$double_quote_subst'
32208 delay_variable_subst='$delay_variable_subst'
32209 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32210 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32211 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32212 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32213 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32214 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32215 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32216 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32217 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32218 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32219 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32220 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32221 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32222 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32223 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32224 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32225 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32226 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32227 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32228 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32229 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32230 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32231 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32232 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32233 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32234 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32235 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32236 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32237 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32238 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32239 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32240 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32241 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32242 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32243 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32244 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32245 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32246 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32247 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32248 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32249 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32250 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32251 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32252 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32253 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32254 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32255 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32256 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32257 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
32258 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32259 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32260 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32261 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32262 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32263 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32264 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32265 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32266 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32267 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32268 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32269 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32270 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32271 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32272 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32273 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32274 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32275 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32276 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32277 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32278 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32279 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32280 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32281 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32282 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32283 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32284 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32285 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32286 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32287 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32288 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32289 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32290 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32291 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32292 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32293 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32294 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32295 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32296 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32297 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32298 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32299 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32300 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32301 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32302 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32303 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32304 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32305 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32306 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32307 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32308 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32309 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32310 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32311 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32312 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32313 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32314 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32315 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32316 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32317 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32318 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32319 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32320 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32321 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32322 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32323 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32324 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32325 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32326 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32327 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32328 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32329 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32330 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32331 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32332 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32333 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32334 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32335 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32336 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32337 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32338 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32339 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32340 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32341 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32342 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32343 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32344 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32345 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32346 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32347 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32348 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32349 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32350 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32351 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32352 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32353 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32354 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32355 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32356 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32357 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32358 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32359 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32360 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32361 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32362 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32363 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32364 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32365 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32366 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32367 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32368 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32369 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32370 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32371 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32372 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32373 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32374 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32375 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32376 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32377 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32378 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32379 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32380 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32381 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32382 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32383 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32384
32385 LTCC='$LTCC'
32386 LTCFLAGS='$LTCFLAGS'
32387 compiler='$compiler_DEFAULT'
32388
32389 # A function that is used when there is no print builtin or printf.
32390 func_fallback_echo ()
32391 {
32392 eval 'cat <<_LTECHO_EOF
32393 \$1
32394 _LTECHO_EOF'
32395 }
32396
32397 # Quote evaled strings.
32398 for var in SED \
32399 GREP \
32400 EGREP \
32401 FGREP \
32402 SHELL \
32403 ECHO \
32404 LD \
32405 NM \
32406 LN_S \
32407 lt_SP2NL \
32408 lt_NL2SP \
32409 reload_flag \
32410 OBJDUMP \
32411 deplibs_check_method \
32412 file_magic_cmd \
32413 AR \
32414 AR_FLAGS \
32415 STRIP \
32416 RANLIB \
32417 CC \
32418 CFLAGS \
32419 compiler \
32420 lt_cv_sys_global_symbol_pipe \
32421 lt_cv_sys_global_symbol_to_cdecl \
32422 lt_cv_sys_global_symbol_to_c_name_address \
32423 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32424 lt_prog_compiler_no_builtin_flag \
32425 lt_prog_compiler_wl \
32426 lt_prog_compiler_pic \
32427 lt_prog_compiler_static \
32428 lt_cv_prog_compiler_c_o \
32429 need_locks \
32430 DSYMUTIL \
32431 NMEDIT \
32432 LIPO \
32433 OTOOL \
32434 OTOOL64 \
32435 shrext_cmds \
32436 export_dynamic_flag_spec \
32437 whole_archive_flag_spec \
32438 compiler_needs_object \
32439 with_gnu_ld \
32440 allow_undefined_flag \
32441 no_undefined_flag \
32442 hardcode_libdir_flag_spec \
32443 hardcode_libdir_flag_spec_ld \
32444 hardcode_libdir_separator \
32445 fix_srcfile_path \
32446 exclude_expsyms \
32447 include_expsyms \
32448 file_list_spec \
32449 variables_saved_for_relink \
32450 libname_spec \
32451 library_names_spec \
32452 soname_spec \
32453 install_override_mode \
32454 finish_eval \
32455 old_striplib \
32456 striplib \
32457 compiler_lib_search_dirs \
32458 predep_objects \
32459 postdep_objects \
32460 predeps \
32461 postdeps \
32462 compiler_lib_search_path \
32463 LD_FC \
32464 reload_flag_FC \
32465 compiler_FC \
32466 lt_prog_compiler_no_builtin_flag_FC \
32467 lt_prog_compiler_wl_FC \
32468 lt_prog_compiler_pic_FC \
32469 lt_prog_compiler_static_FC \
32470 lt_cv_prog_compiler_c_o_FC \
32471 export_dynamic_flag_spec_FC \
32472 whole_archive_flag_spec_FC \
32473 compiler_needs_object_FC \
32474 with_gnu_ld_FC \
32475 allow_undefined_flag_FC \
32476 no_undefined_flag_FC \
32477 hardcode_libdir_flag_spec_FC \
32478 hardcode_libdir_flag_spec_ld_FC \
32479 hardcode_libdir_separator_FC \
32480 fix_srcfile_path_FC \
32481 exclude_expsyms_FC \
32482 include_expsyms_FC \
32483 file_list_spec_FC \
32484 compiler_lib_search_dirs_FC \
32485 predep_objects_FC \
32486 postdep_objects_FC \
32487 predeps_FC \
32488 postdeps_FC \
32489 compiler_lib_search_path_FC; do
32490 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32491 *[\\\\\\\`\\"\\\$]*)
32492 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32493 ;;
32494 *)
32495 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32496 ;;
32497 esac
32498 done
32499
32500 # Double-quote double-evaled strings.
32501 for var in reload_cmds \
32502 old_postinstall_cmds \
32503 old_postuninstall_cmds \
32504 old_archive_cmds \
32505 extract_expsyms_cmds \
32506 old_archive_from_new_cmds \
32507 old_archive_from_expsyms_cmds \
32508 archive_cmds \
32509 archive_expsym_cmds \
32510 module_cmds \
32511 module_expsym_cmds \
32512 export_symbols_cmds \
32513 prelink_cmds \
32514 postinstall_cmds \
32515 postuninstall_cmds \
32516 finish_cmds \
32517 sys_lib_search_path_spec \
32518 sys_lib_dlsearch_path_spec \
32519 reload_cmds_FC \
32520 old_archive_cmds_FC \
32521 old_archive_from_new_cmds_FC \
32522 old_archive_from_expsyms_cmds_FC \
32523 archive_cmds_FC \
32524 archive_expsym_cmds_FC \
32525 module_cmds_FC \
32526 module_expsym_cmds_FC \
32527 export_symbols_cmds_FC \
32528 prelink_cmds_FC; do
32529 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32530 *[\\\\\\\`\\"\\\$]*)
32531 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32532 ;;
32533 *)
32534 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32535 ;;
32536 esac
32537 done
32538
32539 ac_aux_dir='$ac_aux_dir'
32540 xsi_shell='$xsi_shell'
32541 lt_shell_append='$lt_shell_append'
32542
32543 # See if we are running on zsh, and set the options which allow our
32544 # commands through without removal of \ escapes INIT.
32545 if test -n "\${ZSH_VERSION+set}" ; then
32546 setopt NO_GLOB_SUBST
32547 fi
32548
32549
32550 PACKAGE='$PACKAGE'
32551 VERSION='$VERSION'
32552 TIMESTAMP='$TIMESTAMP'
32553 RM='$RM'
32554 ofile='$ofile'
32555
32556
32557
32558
32559
32560
32561 GCC="$GCC"
32562 CC="$CC"
32563 acx_cv_header_stdint="$acx_cv_header_stdint"
32564 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32565 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32566 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32567 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32568 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32569 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32570 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32571 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32572 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32573 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32574 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32575 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32576 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32577
32578
32579 _ACEOF
32580
32581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32582
32583 # Handling of arguments.
32584 for ac_config_target in $ac_config_targets
32585 do
32586 case $ac_config_target in
32587 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32588 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
32589 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32590 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32591 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
32592 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32593 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
32594
32595 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32596 esac
32597 done
32598
32599
32600 # If the user did not use the arguments to specify the items to instantiate,
32601 # then the envvar interface is used. Set only those that are not.
32602 # We use the long form for the default assignment because of an extremely
32603 # bizarre bug on SunOS 4.1.3.
32604 if $ac_need_defaults; then
32605 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32606 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32607 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32608 fi
32609
32610 # Have a temporary directory for convenience. Make it in the build tree
32611 # simply because there is no reason against having it here, and in addition,
32612 # creating and moving files from /tmp can sometimes cause problems.
32613 # Hook for its removal unless debugging.
32614 # Note that there is a small window in which the directory will not be cleaned:
32615 # after its creation but before its name has been assigned to `$tmp'.
32616 $debug ||
32617 {
32618 tmp= ac_tmp=
32619 trap 'exit_status=$?
32620 : "${ac_tmp:=$tmp}"
32621 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32622 ' 0
32623 trap 'as_fn_exit 1' 1 2 13 15
32624 }
32625 # Create a (secure) tmp directory for tmp files.
32626
32627 {
32628 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32629 test -d "$tmp"
32630 } ||
32631 {
32632 tmp=./conf$$-$RANDOM
32633 (umask 077 && mkdir "$tmp")
32634 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32635 ac_tmp=$tmp
32636
32637 # Set up the scripts for CONFIG_FILES section.
32638 # No need to generate them if there are no CONFIG_FILES.
32639 # This happens for instance with `./config.status config.h'.
32640 if test -n "$CONFIG_FILES"; then
32641
32642
32643 ac_cr=`echo X | tr X '\015'`
32644 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32645 # But we know of no other shell where ac_cr would be empty at this
32646 # point, so we can use a bashism as a fallback.
32647 if test "x$ac_cr" = x; then
32648 eval ac_cr=\$\'\\r\'
32649 fi
32650 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32651 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32652 ac_cs_awk_cr='\\r'
32653 else
32654 ac_cs_awk_cr=$ac_cr
32655 fi
32656
32657 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32658 _ACEOF
32659
32660
32661 {
32662 echo "cat >conf$$subs.awk <<_ACEOF" &&
32663 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32664 echo "_ACEOF"
32665 } >conf$$subs.sh ||
32666 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32667 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32668 ac_delim='%!_!# '
32669 for ac_last_try in false false false false false :; do
32670 . ./conf$$subs.sh ||
32671 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32672
32673 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32674 if test $ac_delim_n = $ac_delim_num; then
32675 break
32676 elif $ac_last_try; then
32677 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32678 else
32679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32680 fi
32681 done
32682 rm -f conf$$subs.sh
32683
32684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32685 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
32686 _ACEOF
32687 sed -n '
32688 h
32689 s/^/S["/; s/!.*/"]=/
32690 p
32691 g
32692 s/^[^!]*!//
32693 :repl
32694 t repl
32695 s/'"$ac_delim"'$//
32696 t delim
32697 :nl
32698 h
32699 s/\(.\{148\}\)..*/\1/
32700 t more1
32701 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32702 p
32703 n
32704 b repl
32705 :more1
32706 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32707 p
32708 g
32709 s/.\{148\}//
32710 t nl
32711 :delim
32712 h
32713 s/\(.\{148\}\)..*/\1/
32714 t more2
32715 s/["\\]/\\&/g; s/^/"/; s/$/"/
32716 p
32717 b
32718 :more2
32719 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32720 p
32721 g
32722 s/.\{148\}//
32723 t delim
32724 ' <conf$$subs.awk | sed '
32725 /^[^""]/{
32726 N
32727 s/\n//
32728 }
32729 ' >>$CONFIG_STATUS || ac_write_fail=1
32730 rm -f conf$$subs.awk
32731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32732 _ACAWK
32733 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
32734 for (key in S) S_is_set[key] = 1
32735 FS = "\a"
32736
32737 }
32738 {
32739 line = $ 0
32740 nfields = split(line, field, "@")
32741 substed = 0
32742 len = length(field[1])
32743 for (i = 2; i < nfields; i++) {
32744 key = field[i]
32745 keylen = length(key)
32746 if (S_is_set[key]) {
32747 value = S[key]
32748 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32749 len += length(value) + length(field[++i])
32750 substed = 1
32751 } else
32752 len += 1 + keylen
32753 }
32754
32755 print line
32756 }
32757
32758 _ACAWK
32759 _ACEOF
32760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32761 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32762 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32763 else
32764 cat
32765 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
32766 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32767 _ACEOF
32768
32769 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32770 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32771 # trailing colons and then remove the whole line if VPATH becomes empty
32772 # (actually we leave an empty line to preserve line numbers).
32773 if test "x$srcdir" = x.; then
32774 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32775 h
32776 s///
32777 s/^/:/
32778 s/[ ]*$/:/
32779 s/:\$(srcdir):/:/g
32780 s/:\${srcdir}:/:/g
32781 s/:@srcdir@:/:/g
32782 s/^:*//
32783 s/:*$//
32784 x
32785 s/\(=[ ]*\).*/\1/
32786 G
32787 s/\n//
32788 s/^[^=]*=[ ]*$//
32789 }'
32790 fi
32791
32792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32793 fi # test -n "$CONFIG_FILES"
32794
32795 # Set up the scripts for CONFIG_HEADERS section.
32796 # No need to generate them if there are no CONFIG_HEADERS.
32797 # This happens for instance with `./config.status Makefile'.
32798 if test -n "$CONFIG_HEADERS"; then
32799 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
32800 BEGIN {
32801 _ACEOF
32802
32803 # Transform confdefs.h into an awk script `defines.awk', embedded as
32804 # here-document in config.status, that substitutes the proper values into
32805 # config.h.in to produce config.h.
32806
32807 # Create a delimiter string that does not exist in confdefs.h, to ease
32808 # handling of long lines.
32809 ac_delim='%!_!# '
32810 for ac_last_try in false false :; do
32811 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32812 if test -z "$ac_tt"; then
32813 break
32814 elif $ac_last_try; then
32815 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32816 else
32817 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32818 fi
32819 done
32820
32821 # For the awk script, D is an array of macro values keyed by name,
32822 # likewise P contains macro parameters if any. Preserve backslash
32823 # newline sequences.
32824
32825 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32826 sed -n '
32827 s/.\{148\}/&'"$ac_delim"'/g
32828 t rset
32829 :rset
32830 s/^[ ]*#[ ]*define[ ][ ]*/ /
32831 t def
32832 d
32833 :def
32834 s/\\$//
32835 t bsnl
32836 s/["\\]/\\&/g
32837 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32838 D["\1"]=" \3"/p
32839 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32840 d
32841 :bsnl
32842 s/["\\]/\\&/g
32843 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32844 D["\1"]=" \3\\\\\\n"\\/p
32845 t cont
32846 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32847 t cont
32848 d
32849 :cont
32850 n
32851 s/.\{148\}/&'"$ac_delim"'/g
32852 t clear
32853 :clear
32854 s/\\$//
32855 t bsnlc
32856 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32857 d
32858 :bsnlc
32859 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32860 b cont
32861 ' <confdefs.h | sed '
32862 s/'"$ac_delim"'/"\\\
32863 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32864
32865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32866 for (key in D) D_is_set[key] = 1
32867 FS = "\a"
32868 }
32869 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32870 line = \$ 0
32871 split(line, arg, " ")
32872 if (arg[1] == "#") {
32873 defundef = arg[2]
32874 mac1 = arg[3]
32875 } else {
32876 defundef = substr(arg[1], 2)
32877 mac1 = arg[2]
32878 }
32879 split(mac1, mac2, "(") #)
32880 macro = mac2[1]
32881 prefix = substr(line, 1, index(line, defundef) - 1)
32882 if (D_is_set[macro]) {
32883 # Preserve the white space surrounding the "#".
32884 print prefix "define", macro P[macro] D[macro]
32885 next
32886 } else {
32887 # Replace #undef with comments. This is necessary, for example,
32888 # in the case of _POSIX_SOURCE, which is predefined and required
32889 # on some systems where configure will not decide to define it.
32890 if (defundef == "undef") {
32891 print "/*", prefix defundef, macro, "*/"
32892 next
32893 }
32894 }
32895 }
32896 { print }
32897 _ACAWK
32898 _ACEOF
32899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32900 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32901 fi # test -n "$CONFIG_HEADERS"
32902
32903
32904 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32905 shift
32906 for ac_tag
32907 do
32908 case $ac_tag in
32909 :[FHLC]) ac_mode=$ac_tag; continue;;
32910 esac
32911 case $ac_mode$ac_tag in
32912 :[FHL]*:*);;
32913 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
32914 :[FH]-) ac_tag=-:-;;
32915 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32916 esac
32917 ac_save_IFS=$IFS
32918 IFS=:
32919 set x $ac_tag
32920 IFS=$ac_save_IFS
32921 shift
32922 ac_file=$1
32923 shift
32924
32925 case $ac_mode in
32926 :L) ac_source=$1;;
32927 :[FH])
32928 ac_file_inputs=
32929 for ac_f
32930 do
32931 case $ac_f in
32932 -) ac_f="$ac_tmp/stdin";;
32933 *) # Look for the file first in the build tree, then in the source tree
32934 # (if the path is not absolute). The absolute path cannot be DOS-style,
32935 # because $ac_f cannot contain `:'.
32936 test -f "$ac_f" ||
32937 case $ac_f in
32938 [\\/$]*) false;;
32939 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32940 esac ||
32941 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32942 esac
32943 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32944 as_fn_append ac_file_inputs " '$ac_f'"
32945 done
32946
32947 # Let's still pretend it is `configure' which instantiates (i.e., don't
32948 # use $as_me), people would be surprised to read:
32949 # /* config.h. Generated by config.status. */
32950 configure_input='Generated from '`
32951 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32952 `' by configure.'
32953 if test x"$ac_file" != x-; then
32954 configure_input="$ac_file. $configure_input"
32955 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32956 $as_echo "$as_me: creating $ac_file" >&6;}
32957 fi
32958 # Neutralize special characters interpreted by sed in replacement strings.
32959 case $configure_input in #(
32960 *\&* | *\|* | *\\* )
32961 ac_sed_conf_input=`$as_echo "$configure_input" |
32962 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32963 *) ac_sed_conf_input=$configure_input;;
32964 esac
32965
32966 case $ac_tag in
32967 *:-:* | *:-) cat >"$ac_tmp/stdin" \
32968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
32969 esac
32970 ;;
32971 esac
32972
32973 ac_dir=`$as_dirname -- "$ac_file" ||
32974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32975 X"$ac_file" : 'X\(//\)[^/]' \| \
32976 X"$ac_file" : 'X\(//\)$' \| \
32977 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32978 $as_echo X"$ac_file" |
32979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32980 s//\1/
32981 q
32982 }
32983 /^X\(\/\/\)[^/].*/{
32984 s//\1/
32985 q
32986 }
32987 /^X\(\/\/\)$/{
32988 s//\1/
32989 q
32990 }
32991 /^X\(\/\).*/{
32992 s//\1/
32993 q
32994 }
32995 s/.*/./; q'`
32996 as_dir="$ac_dir"; as_fn_mkdir_p
32997 ac_builddir=.
32998
32999 case "$ac_dir" in
33000 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33001 *)
33002 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33003 # A ".." for each directory in $ac_dir_suffix.
33004 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33005 case $ac_top_builddir_sub in
33006 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33007 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33008 esac ;;
33009 esac
33010 ac_abs_top_builddir=$ac_pwd
33011 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33012 # for backward compatibility:
33013 ac_top_builddir=$ac_top_build_prefix
33014
33015 case $srcdir in
33016 .) # We are building in place.
33017 ac_srcdir=.
33018 ac_top_srcdir=$ac_top_builddir_sub
33019 ac_abs_top_srcdir=$ac_pwd ;;
33020 [\\/]* | ?:[\\/]* ) # Absolute name.
33021 ac_srcdir=$srcdir$ac_dir_suffix;
33022 ac_top_srcdir=$srcdir
33023 ac_abs_top_srcdir=$srcdir ;;
33024 *) # Relative name.
33025 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33026 ac_top_srcdir=$ac_top_build_prefix$srcdir
33027 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33028 esac
33029 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33030
33031
33032 case $ac_mode in
33033 :F)
33034 #
33035 # CONFIG_FILE
33036 #
33037
33038 case $INSTALL in
33039 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33040 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33041 esac
33042 ac_MKDIR_P=$MKDIR_P
33043 case $MKDIR_P in
33044 [\\/$]* | ?:[\\/]* ) ;;
33045 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33046 esac
33047 _ACEOF
33048
33049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33050 # If the template does not know about datarootdir, expand it.
33051 # FIXME: This hack should be removed a few years after 2.60.
33052 ac_datarootdir_hack=; ac_datarootdir_seen=
33053 ac_sed_dataroot='
33054 /datarootdir/ {
33055 p
33056 q
33057 }
33058 /@datadir@/p
33059 /@docdir@/p
33060 /@infodir@/p
33061 /@localedir@/p
33062 /@mandir@/p'
33063 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33064 *datarootdir*) ac_datarootdir_seen=yes;;
33065 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33067 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33068 _ACEOF
33069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33070 ac_datarootdir_hack='
33071 s&@datadir@&$datadir&g
33072 s&@docdir@&$docdir&g
33073 s&@infodir@&$infodir&g
33074 s&@localedir@&$localedir&g
33075 s&@mandir@&$mandir&g
33076 s&\\\${datarootdir}&$datarootdir&g' ;;
33077 esac
33078 _ACEOF
33079
33080 # Neutralize VPATH when `$srcdir' = `.'.
33081 # Shell code in configure.ac might set extrasub.
33082 # FIXME: do we really want to maintain this feature?
33083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33084 ac_sed_extra="$ac_vpsub
33085 $extrasub
33086 _ACEOF
33087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33088 :t
33089 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33090 s|@configure_input@|$ac_sed_conf_input|;t t
33091 s&@top_builddir@&$ac_top_builddir_sub&;t t
33092 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33093 s&@srcdir@&$ac_srcdir&;t t
33094 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33095 s&@top_srcdir@&$ac_top_srcdir&;t t
33096 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33097 s&@builddir@&$ac_builddir&;t t
33098 s&@abs_builddir@&$ac_abs_builddir&;t t
33099 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33100 s&@INSTALL@&$ac_INSTALL&;t t
33101 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33102 $ac_datarootdir_hack
33103 "
33104 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33105 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33106
33107 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33108 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33109 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33110 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33112 which seems to be undefined. Please make sure it is defined" >&5
33113 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33114 which seems to be undefined. Please make sure it is defined" >&2;}
33115
33116 rm -f "$ac_tmp/stdin"
33117 case $ac_file in
33118 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33119 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33120 esac \
33121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33122 ;;
33123 :H)
33124 #
33125 # CONFIG_HEADER
33126 #
33127 if test x"$ac_file" != x-; then
33128 {
33129 $as_echo "/* $configure_input */" \
33130 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33131 } >"$ac_tmp/config.h" \
33132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33133 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33134 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33135 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33136 else
33137 rm -f "$ac_file"
33138 mv "$ac_tmp/config.h" "$ac_file" \
33139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33140 fi
33141 else
33142 $as_echo "/* $configure_input */" \
33143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33144 || as_fn_error $? "could not create -" "$LINENO" 5
33145 fi
33146 # Compute "$ac_file"'s index in $config_headers.
33147 _am_arg="$ac_file"
33148 _am_stamp_count=1
33149 for _am_header in $config_headers :; do
33150 case $_am_header in
33151 $_am_arg | $_am_arg:* )
33152 break ;;
33153 * )
33154 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33155 esac
33156 done
33157 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33158 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33159 X"$_am_arg" : 'X\(//\)[^/]' \| \
33160 X"$_am_arg" : 'X\(//\)$' \| \
33161 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33162 $as_echo X"$_am_arg" |
33163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33164 s//\1/
33165 q
33166 }
33167 /^X\(\/\/\)[^/].*/{
33168 s//\1/
33169 q
33170 }
33171 /^X\(\/\/\)$/{
33172 s//\1/
33173 q
33174 }
33175 /^X\(\/\).*/{
33176 s//\1/
33177 q
33178 }
33179 s/.*/./; q'`/stamp-h$_am_stamp_count
33180 ;;
33181
33182 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33183 $as_echo "$as_me: executing $ac_file commands" >&6;}
33184 ;;
33185 esac
33186
33187
33188 case $ac_file$ac_mode in
33189 "default-1":C)
33190 # Only add multilib support code if we just rebuilt the top-level
33191 # Makefile.
33192 case " $CONFIG_FILES " in
33193 *" Makefile "*)
33194 ac_file=Makefile . ${multi_basedir}/config-ml.in
33195 ;;
33196 esac ;;
33197 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33198 # Older Autoconf quotes --file arguments for eval, but not when files
33199 # are listed without --file. Let's play safe and only enable the eval
33200 # if we detect the quoting.
33201 case $CONFIG_FILES in
33202 *\'*) eval set x "$CONFIG_FILES" ;;
33203 *) set x $CONFIG_FILES ;;
33204 esac
33205 shift
33206 for mf
33207 do
33208 # Strip MF so we end up with the name of the file.
33209 mf=`echo "$mf" | sed -e 's/:.*$//'`
33210 # Check whether this is an Automake generated Makefile or not.
33211 # We used to match only the files named 'Makefile.in', but
33212 # some people rename them; so instead we look at the file content.
33213 # Grep'ing the first line is not enough: some people post-process
33214 # each Makefile.in and add a new line on top of each file to say so.
33215 # Grep'ing the whole file is not good either: AIX grep has a line
33216 # limit of 2048, but all sed's we know have understand at least 4000.
33217 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33218 dirpart=`$as_dirname -- "$mf" ||
33219 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33220 X"$mf" : 'X\(//\)[^/]' \| \
33221 X"$mf" : 'X\(//\)$' \| \
33222 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33223 $as_echo X"$mf" |
33224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33225 s//\1/
33226 q
33227 }
33228 /^X\(\/\/\)[^/].*/{
33229 s//\1/
33230 q
33231 }
33232 /^X\(\/\/\)$/{
33233 s//\1/
33234 q
33235 }
33236 /^X\(\/\).*/{
33237 s//\1/
33238 q
33239 }
33240 s/.*/./; q'`
33241 else
33242 continue
33243 fi
33244 # Extract the definition of DEPDIR, am__include, and am__quote
33245 # from the Makefile without running 'make'.
33246 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33247 test -z "$DEPDIR" && continue
33248 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33249 test -z "$am__include" && continue
33250 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33251 # Find all dependency output files, they are included files with
33252 # $(DEPDIR) in their names. We invoke sed twice because it is the
33253 # simplest approach to changing $(DEPDIR) to its actual value in the
33254 # expansion.
33255 for file in `sed -n "
33256 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33257 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33258 # Make sure the directory exists.
33259 test -f "$dirpart/$file" && continue
33260 fdir=`$as_dirname -- "$file" ||
33261 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33262 X"$file" : 'X\(//\)[^/]' \| \
33263 X"$file" : 'X\(//\)$' \| \
33264 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33265 $as_echo X"$file" |
33266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33267 s//\1/
33268 q
33269 }
33270 /^X\(\/\/\)[^/].*/{
33271 s//\1/
33272 q
33273 }
33274 /^X\(\/\/\)$/{
33275 s//\1/
33276 q
33277 }
33278 /^X\(\/\).*/{
33279 s//\1/
33280 q
33281 }
33282 s/.*/./; q'`
33283 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33284 # echo "creating $dirpart/$file"
33285 echo '# dummy' > "$dirpart/$file"
33286 done
33287 done
33288 }
33289 ;;
33290 "libtool":C)
33291
33292 # See if we are running on zsh, and set the options which allow our
33293 # commands through without removal of \ escapes.
33294 if test -n "${ZSH_VERSION+set}" ; then
33295 setopt NO_GLOB_SUBST
33296 fi
33297
33298 cfgfile="${ofile}T"
33299 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33300 $RM "$cfgfile"
33301
33302 cat <<_LT_EOF >> "$cfgfile"
33303 #! $SHELL
33304
33305 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33306 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33307 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33308 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33309 #
33310 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33311 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33312 # Written by Gordon Matzigkeit, 1996
33313 #
33314 # This file is part of GNU Libtool.
33315 #
33316 # GNU Libtool is free software; you can redistribute it and/or
33317 # modify it under the terms of the GNU General Public License as
33318 # published by the Free Software Foundation; either version 2 of
33319 # the License, or (at your option) any later version.
33320 #
33321 # As a special exception to the GNU General Public License,
33322 # if you distribute this file as part of a program or library that
33323 # is built using GNU Libtool, you may include this file under the
33324 # same distribution terms that you use for the rest of that program.
33325 #
33326 # GNU Libtool is distributed in the hope that it will be useful,
33327 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33328 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33329 # GNU General Public License for more details.
33330 #
33331 # You should have received a copy of the GNU General Public License
33332 # along with GNU Libtool; see the file COPYING. If not, a copy
33333 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33334 # obtained by writing to the Free Software Foundation, Inc.,
33335 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33336
33337
33338 # The names of the tagged configurations supported by this script.
33339 available_tags="FC "
33340
33341 # ### BEGIN LIBTOOL CONFIG
33342
33343 # A sed program that does not truncate output.
33344 SED=$lt_SED
33345
33346 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33347 Xsed="\$SED -e 1s/^X//"
33348
33349 # A grep program that handles long lines.
33350 GREP=$lt_GREP
33351
33352 # An ERE matcher.
33353 EGREP=$lt_EGREP
33354
33355 # A literal string matcher.
33356 FGREP=$lt_FGREP
33357
33358 # Shell to use when invoking shell scripts.
33359 SHELL=$lt_SHELL
33360
33361 # An echo program that protects backslashes.
33362 ECHO=$lt_ECHO
33363
33364 # Which release of libtool.m4 was used?
33365 macro_version=$macro_version
33366 macro_revision=$macro_revision
33367
33368 # Whether or not to build shared libraries.
33369 build_libtool_libs=$enable_shared
33370
33371 # Whether or not to build static libraries.
33372 build_old_libs=$enable_static
33373
33374 # What type of objects to build.
33375 pic_mode=$pic_mode
33376
33377 # Whether or not to optimize for fast installation.
33378 fast_install=$enable_fast_install
33379
33380 # The host system.
33381 host_alias=$host_alias
33382 host=$host
33383 host_os=$host_os
33384
33385 # The build system.
33386 build_alias=$build_alias
33387 build=$build
33388 build_os=$build_os
33389
33390 # A BSD- or MS-compatible name lister.
33391 NM=$lt_NM
33392
33393 # Whether we need soft or hard links.
33394 LN_S=$lt_LN_S
33395
33396 # What is the maximum length of a command?
33397 max_cmd_len=$max_cmd_len
33398
33399 # Object file suffix (normally "o").
33400 objext=$ac_objext
33401
33402 # Executable file suffix (normally "").
33403 exeext=$exeext
33404
33405 # whether the shell understands "unset".
33406 lt_unset=$lt_unset
33407
33408 # turn spaces into newlines.
33409 SP2NL=$lt_lt_SP2NL
33410
33411 # turn newlines into spaces.
33412 NL2SP=$lt_lt_NL2SP
33413
33414 # An object symbol dumper.
33415 OBJDUMP=$lt_OBJDUMP
33416
33417 # Method to check whether dependent libraries are shared objects.
33418 deplibs_check_method=$lt_deplibs_check_method
33419
33420 # Command to use when deplibs_check_method == "file_magic".
33421 file_magic_cmd=$lt_file_magic_cmd
33422
33423 # The archiver.
33424 AR=$lt_AR
33425 AR_FLAGS=$lt_AR_FLAGS
33426
33427 # A symbol stripping program.
33428 STRIP=$lt_STRIP
33429
33430 # Commands used to install an old-style archive.
33431 RANLIB=$lt_RANLIB
33432 old_postinstall_cmds=$lt_old_postinstall_cmds
33433 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33434
33435 # Whether to use a lock for old archive extraction.
33436 lock_old_archive_extraction=$lock_old_archive_extraction
33437
33438 # A C compiler.
33439 LTCC=$lt_CC
33440
33441 # LTCC compiler flags.
33442 LTCFLAGS=$lt_CFLAGS
33443
33444 # Take the output of nm and produce a listing of raw symbols and C names.
33445 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33446
33447 # Transform the output of nm in a proper C declaration.
33448 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33449
33450 # Transform the output of nm in a C name address pair.
33451 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33452
33453 # Transform the output of nm in a C name address pair when lib prefix is needed.
33454 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33455
33456 # The name of the directory that contains temporary libtool files.
33457 objdir=$objdir
33458
33459 # Used to examine libraries when file_magic_cmd begins with "file".
33460 MAGIC_CMD=$MAGIC_CMD
33461
33462 # Must we lock files when doing compilation?
33463 need_locks=$lt_need_locks
33464
33465 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33466 DSYMUTIL=$lt_DSYMUTIL
33467
33468 # Tool to change global to local symbols on Mac OS X.
33469 NMEDIT=$lt_NMEDIT
33470
33471 # Tool to manipulate fat objects and archives on Mac OS X.
33472 LIPO=$lt_LIPO
33473
33474 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33475 OTOOL=$lt_OTOOL
33476
33477 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33478 OTOOL64=$lt_OTOOL64
33479
33480 # Old archive suffix (normally "a").
33481 libext=$libext
33482
33483 # Shared library suffix (normally ".so").
33484 shrext_cmds=$lt_shrext_cmds
33485
33486 # The commands to extract the exported symbol list from a shared archive.
33487 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33488
33489 # Variables whose values should be saved in libtool wrapper scripts and
33490 # restored at link time.
33491 variables_saved_for_relink=$lt_variables_saved_for_relink
33492
33493 # Do we need the "lib" prefix for modules?
33494 need_lib_prefix=$need_lib_prefix
33495
33496 # Do we need a version for libraries?
33497 need_version=$need_version
33498
33499 # Library versioning type.
33500 version_type=$version_type
33501
33502 # Shared library runtime path variable.
33503 runpath_var=$runpath_var
33504
33505 # Shared library path variable.
33506 shlibpath_var=$shlibpath_var
33507
33508 # Is shlibpath searched before the hard-coded library search path?
33509 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33510
33511 # Format of library name prefix.
33512 libname_spec=$lt_libname_spec
33513
33514 # List of archive names. First name is the real one, the rest are links.
33515 # The last name is the one that the linker finds with -lNAME
33516 library_names_spec=$lt_library_names_spec
33517
33518 # The coded name of the library, if different from the real name.
33519 soname_spec=$lt_soname_spec
33520
33521 # Permission mode override for installation of shared libraries.
33522 install_override_mode=$lt_install_override_mode
33523
33524 # Command to use after installation of a shared archive.
33525 postinstall_cmds=$lt_postinstall_cmds
33526
33527 # Command to use after uninstallation of a shared archive.
33528 postuninstall_cmds=$lt_postuninstall_cmds
33529
33530 # Commands used to finish a libtool library installation in a directory.
33531 finish_cmds=$lt_finish_cmds
33532
33533 # As "finish_cmds", except a single script fragment to be evaled but
33534 # not shown.
33535 finish_eval=$lt_finish_eval
33536
33537 # Whether we should hardcode library paths into libraries.
33538 hardcode_into_libs=$hardcode_into_libs
33539
33540 # Compile-time system search path for libraries.
33541 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33542
33543 # Run-time system search path for libraries.
33544 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33545
33546 # Whether dlopen is supported.
33547 dlopen_support=$enable_dlopen
33548
33549 # Whether dlopen of programs is supported.
33550 dlopen_self=$enable_dlopen_self
33551
33552 # Whether dlopen of statically linked programs is supported.
33553 dlopen_self_static=$enable_dlopen_self_static
33554
33555 # Commands to strip libraries.
33556 old_striplib=$lt_old_striplib
33557 striplib=$lt_striplib
33558
33559
33560 # The linker used to build libraries.
33561 LD=$lt_LD
33562
33563 # How to create reloadable object files.
33564 reload_flag=$lt_reload_flag
33565 reload_cmds=$lt_reload_cmds
33566
33567 # Commands used to build an old-style archive.
33568 old_archive_cmds=$lt_old_archive_cmds
33569
33570 # A language specific compiler.
33571 CC=$lt_compiler
33572
33573 # Is the compiler the GNU compiler?
33574 with_gcc=$GCC
33575
33576 # Compiler flag to turn off builtin functions.
33577 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33578
33579 # How to pass a linker flag through the compiler.
33580 wl=$lt_lt_prog_compiler_wl
33581
33582 # Additional compiler flags for building library objects.
33583 pic_flag=$lt_lt_prog_compiler_pic
33584
33585 # Compiler flag to prevent dynamic linking.
33586 link_static_flag=$lt_lt_prog_compiler_static
33587
33588 # Does compiler simultaneously support -c and -o options?
33589 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33590
33591 # Whether or not to add -lc for building shared libraries.
33592 build_libtool_need_lc=$archive_cmds_need_lc
33593
33594 # Whether or not to disallow shared libs when runtime libs are static.
33595 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33596
33597 # Compiler flag to allow reflexive dlopens.
33598 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33599
33600 # Compiler flag to generate shared objects directly from archives.
33601 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33602
33603 # Whether the compiler copes with passing no objects directly.
33604 compiler_needs_object=$lt_compiler_needs_object
33605
33606 # Create an old-style archive from a shared archive.
33607 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33608
33609 # Create a temporary old-style archive to link instead of a shared archive.
33610 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33611
33612 # Commands used to build a shared archive.
33613 archive_cmds=$lt_archive_cmds
33614 archive_expsym_cmds=$lt_archive_expsym_cmds
33615
33616 # Commands used to build a loadable module if different from building
33617 # a shared archive.
33618 module_cmds=$lt_module_cmds
33619 module_expsym_cmds=$lt_module_expsym_cmds
33620
33621 # Whether we are building with GNU ld or not.
33622 with_gnu_ld=$lt_with_gnu_ld
33623
33624 # Flag that allows shared libraries with undefined symbols to be built.
33625 allow_undefined_flag=$lt_allow_undefined_flag
33626
33627 # Flag that enforces no undefined symbols.
33628 no_undefined_flag=$lt_no_undefined_flag
33629
33630 # Flag to hardcode \$libdir into a binary during linking.
33631 # This must work even if \$libdir does not exist
33632 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33633
33634 # If ld is used when linking, flag to hardcode \$libdir into a binary
33635 # during linking. This must work even if \$libdir does not exist.
33636 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33637
33638 # Whether we need a single "-rpath" flag with a separated argument.
33639 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33640
33641 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33642 # DIR into the resulting binary.
33643 hardcode_direct=$hardcode_direct
33644
33645 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33646 # DIR into the resulting binary and the resulting library dependency is
33647 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33648 # library is relocated.
33649 hardcode_direct_absolute=$hardcode_direct_absolute
33650
33651 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33652 # into the resulting binary.
33653 hardcode_minus_L=$hardcode_minus_L
33654
33655 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33656 # into the resulting binary.
33657 hardcode_shlibpath_var=$hardcode_shlibpath_var
33658
33659 # Set to "yes" if building a shared library automatically hardcodes DIR
33660 # into the library and all subsequent libraries and executables linked
33661 # against it.
33662 hardcode_automatic=$hardcode_automatic
33663
33664 # Set to yes if linker adds runtime paths of dependent libraries
33665 # to runtime path list.
33666 inherit_rpath=$inherit_rpath
33667
33668 # Whether libtool must link a program against all its dependency libraries.
33669 link_all_deplibs=$link_all_deplibs
33670
33671 # Fix the shell variable \$srcfile for the compiler.
33672 fix_srcfile_path=$lt_fix_srcfile_path
33673
33674 # Set to "yes" if exported symbols are required.
33675 always_export_symbols=$always_export_symbols
33676
33677 # The commands to list exported symbols.
33678 export_symbols_cmds=$lt_export_symbols_cmds
33679
33680 # Symbols that should not be listed in the preloaded symbols.
33681 exclude_expsyms=$lt_exclude_expsyms
33682
33683 # Symbols that must always be exported.
33684 include_expsyms=$lt_include_expsyms
33685
33686 # Commands necessary for linking programs (against libraries) with templates.
33687 prelink_cmds=$lt_prelink_cmds
33688
33689 # Specify filename containing input files.
33690 file_list_spec=$lt_file_list_spec
33691
33692 # How to hardcode a shared library path into an executable.
33693 hardcode_action=$hardcode_action
33694
33695 # The directories searched by this compiler when creating a shared library.
33696 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33697
33698 # Dependencies to place before and after the objects being linked to
33699 # create a shared library.
33700 predep_objects=$lt_predep_objects
33701 postdep_objects=$lt_postdep_objects
33702 predeps=$lt_predeps
33703 postdeps=$lt_postdeps
33704
33705 # The library search path used internally by the compiler when linking
33706 # a shared library.
33707 compiler_lib_search_path=$lt_compiler_lib_search_path
33708
33709 # ### END LIBTOOL CONFIG
33710
33711 _LT_EOF
33712
33713 case $host_os in
33714 aix3*)
33715 cat <<\_LT_EOF >> "$cfgfile"
33716 # AIX sometimes has problems with the GCC collect2 program. For some
33717 # reason, if we set the COLLECT_NAMES environment variable, the problems
33718 # vanish in a puff of smoke.
33719 if test "X${COLLECT_NAMES+set}" != Xset; then
33720 COLLECT_NAMES=
33721 export COLLECT_NAMES
33722 fi
33723 _LT_EOF
33724 ;;
33725 esac
33726
33727
33728 ltmain="$ac_aux_dir/ltmain.sh"
33729
33730
33731 # We use sed instead of cat because bash on DJGPP gets confused if
33732 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33733 # text mode, it properly converts lines to CR/LF. This bash problem
33734 # is reportedly fixed, but why not run on old versions too?
33735 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33736 || (rm -f "$cfgfile"; exit 1)
33737
33738 case $xsi_shell in
33739 yes)
33740 cat << \_LT_EOF >> "$cfgfile"
33741
33742 # func_dirname file append nondir_replacement
33743 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33744 # otherwise set result to NONDIR_REPLACEMENT.
33745 func_dirname ()
33746 {
33747 case ${1} in
33748 */*) func_dirname_result="${1%/*}${2}" ;;
33749 * ) func_dirname_result="${3}" ;;
33750 esac
33751 }
33752
33753 # func_basename file
33754 func_basename ()
33755 {
33756 func_basename_result="${1##*/}"
33757 }
33758
33759 # func_dirname_and_basename file append nondir_replacement
33760 # perform func_basename and func_dirname in a single function
33761 # call:
33762 # dirname: Compute the dirname of FILE. If nonempty,
33763 # add APPEND to the result, otherwise set result
33764 # to NONDIR_REPLACEMENT.
33765 # value returned in "$func_dirname_result"
33766 # basename: Compute filename of FILE.
33767 # value retuned in "$func_basename_result"
33768 # Implementation must be kept synchronized with func_dirname
33769 # and func_basename. For efficiency, we do not delegate to
33770 # those functions but instead duplicate the functionality here.
33771 func_dirname_and_basename ()
33772 {
33773 case ${1} in
33774 */*) func_dirname_result="${1%/*}${2}" ;;
33775 * ) func_dirname_result="${3}" ;;
33776 esac
33777 func_basename_result="${1##*/}"
33778 }
33779
33780 # func_stripname prefix suffix name
33781 # strip PREFIX and SUFFIX off of NAME.
33782 # PREFIX and SUFFIX must not contain globbing or regex special
33783 # characters, hashes, percent signs, but SUFFIX may contain a leading
33784 # dot (in which case that matches only a dot).
33785 func_stripname ()
33786 {
33787 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33788 # positional parameters, so assign one to ordinary parameter first.
33789 func_stripname_result=${3}
33790 func_stripname_result=${func_stripname_result#"${1}"}
33791 func_stripname_result=${func_stripname_result%"${2}"}
33792 }
33793
33794 # func_opt_split
33795 func_opt_split ()
33796 {
33797 func_opt_split_opt=${1%%=*}
33798 func_opt_split_arg=${1#*=}
33799 }
33800
33801 # func_lo2o object
33802 func_lo2o ()
33803 {
33804 case ${1} in
33805 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33806 *) func_lo2o_result=${1} ;;
33807 esac
33808 }
33809
33810 # func_xform libobj-or-source
33811 func_xform ()
33812 {
33813 func_xform_result=${1%.*}.lo
33814 }
33815
33816 # func_arith arithmetic-term...
33817 func_arith ()
33818 {
33819 func_arith_result=$(( $* ))
33820 }
33821
33822 # func_len string
33823 # STRING may not start with a hyphen.
33824 func_len ()
33825 {
33826 func_len_result=${#1}
33827 }
33828
33829 _LT_EOF
33830 ;;
33831 *) # Bourne compatible functions.
33832 cat << \_LT_EOF >> "$cfgfile"
33833
33834 # func_dirname file append nondir_replacement
33835 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33836 # otherwise set result to NONDIR_REPLACEMENT.
33837 func_dirname ()
33838 {
33839 # Extract subdirectory from the argument.
33840 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
33841 if test "X$func_dirname_result" = "X${1}"; then
33842 func_dirname_result="${3}"
33843 else
33844 func_dirname_result="$func_dirname_result${2}"
33845 fi
33846 }
33847
33848 # func_basename file
33849 func_basename ()
33850 {
33851 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
33852 }
33853
33854
33855 # func_stripname prefix suffix name
33856 # strip PREFIX and SUFFIX off of NAME.
33857 # PREFIX and SUFFIX must not contain globbing or regex special
33858 # characters, hashes, percent signs, but SUFFIX may contain a leading
33859 # dot (in which case that matches only a dot).
33860 # func_strip_suffix prefix name
33861 func_stripname ()
33862 {
33863 case ${2} in
33864 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33865 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33866 esac
33867 }
33868
33869 # sed scripts:
33870 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33871 my_sed_long_arg='1s/^-[^=]*=//'
33872
33873 # func_opt_split
33874 func_opt_split ()
33875 {
33876 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33877 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33878 }
33879
33880 # func_lo2o object
33881 func_lo2o ()
33882 {
33883 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
33884 }
33885
33886 # func_xform libobj-or-source
33887 func_xform ()
33888 {
33889 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33890 }
33891
33892 # func_arith arithmetic-term...
33893 func_arith ()
33894 {
33895 func_arith_result=`expr "$@"`
33896 }
33897
33898 # func_len string
33899 # STRING may not start with a hyphen.
33900 func_len ()
33901 {
33902 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33903 }
33904
33905 _LT_EOF
33906 esac
33907
33908 case $lt_shell_append in
33909 yes)
33910 cat << \_LT_EOF >> "$cfgfile"
33911
33912 # func_append var value
33913 # Append VALUE to the end of shell variable VAR.
33914 func_append ()
33915 {
33916 eval "$1+=\$2"
33917 }
33918 _LT_EOF
33919 ;;
33920 *)
33921 cat << \_LT_EOF >> "$cfgfile"
33922
33923 # func_append var value
33924 # Append VALUE to the end of shell variable VAR.
33925 func_append ()
33926 {
33927 eval "$1=\$$1\$2"
33928 }
33929
33930 _LT_EOF
33931 ;;
33932 esac
33933
33934
33935 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33936 || (rm -f "$cfgfile"; exit 1)
33937
33938 mv -f "$cfgfile" "$ofile" ||
33939 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33940 chmod +x "$ofile"
33941
33942
33943 cat <<_LT_EOF >> "$ofile"
33944
33945 # ### BEGIN LIBTOOL TAG CONFIG: FC
33946
33947 # The linker used to build libraries.
33948 LD=$lt_LD_FC
33949
33950 # How to create reloadable object files.
33951 reload_flag=$lt_reload_flag_FC
33952 reload_cmds=$lt_reload_cmds_FC
33953
33954 # Commands used to build an old-style archive.
33955 old_archive_cmds=$lt_old_archive_cmds_FC
33956
33957 # A language specific compiler.
33958 CC=$lt_compiler_FC
33959
33960 # Is the compiler the GNU compiler?
33961 with_gcc=$GCC_FC
33962
33963 # Compiler flag to turn off builtin functions.
33964 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33965
33966 # How to pass a linker flag through the compiler.
33967 wl=$lt_lt_prog_compiler_wl_FC
33968
33969 # Additional compiler flags for building library objects.
33970 pic_flag=$lt_lt_prog_compiler_pic_FC
33971
33972 # Compiler flag to prevent dynamic linking.
33973 link_static_flag=$lt_lt_prog_compiler_static_FC
33974
33975 # Does compiler simultaneously support -c and -o options?
33976 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33977
33978 # Whether or not to add -lc for building shared libraries.
33979 build_libtool_need_lc=$archive_cmds_need_lc_FC
33980
33981 # Whether or not to disallow shared libs when runtime libs are static.
33982 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33983
33984 # Compiler flag to allow reflexive dlopens.
33985 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
33986
33987 # Compiler flag to generate shared objects directly from archives.
33988 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
33989
33990 # Whether the compiler copes with passing no objects directly.
33991 compiler_needs_object=$lt_compiler_needs_object_FC
33992
33993 # Create an old-style archive from a shared archive.
33994 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
33995
33996 # Create a temporary old-style archive to link instead of a shared archive.
33997 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
33998
33999 # Commands used to build a shared archive.
34000 archive_cmds=$lt_archive_cmds_FC
34001 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34002
34003 # Commands used to build a loadable module if different from building
34004 # a shared archive.
34005 module_cmds=$lt_module_cmds_FC
34006 module_expsym_cmds=$lt_module_expsym_cmds_FC
34007
34008 # Whether we are building with GNU ld or not.
34009 with_gnu_ld=$lt_with_gnu_ld_FC
34010
34011 # Flag that allows shared libraries with undefined symbols to be built.
34012 allow_undefined_flag=$lt_allow_undefined_flag_FC
34013
34014 # Flag that enforces no undefined symbols.
34015 no_undefined_flag=$lt_no_undefined_flag_FC
34016
34017 # Flag to hardcode \$libdir into a binary during linking.
34018 # This must work even if \$libdir does not exist
34019 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34020
34021 # If ld is used when linking, flag to hardcode \$libdir into a binary
34022 # during linking. This must work even if \$libdir does not exist.
34023 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34024
34025 # Whether we need a single "-rpath" flag with a separated argument.
34026 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34027
34028 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34029 # DIR into the resulting binary.
34030 hardcode_direct=$hardcode_direct_FC
34031
34032 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34033 # DIR into the resulting binary and the resulting library dependency is
34034 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34035 # library is relocated.
34036 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34037
34038 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34039 # into the resulting binary.
34040 hardcode_minus_L=$hardcode_minus_L_FC
34041
34042 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34043 # into the resulting binary.
34044 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34045
34046 # Set to "yes" if building a shared library automatically hardcodes DIR
34047 # into the library and all subsequent libraries and executables linked
34048 # against it.
34049 hardcode_automatic=$hardcode_automatic_FC
34050
34051 # Set to yes if linker adds runtime paths of dependent libraries
34052 # to runtime path list.
34053 inherit_rpath=$inherit_rpath_FC
34054
34055 # Whether libtool must link a program against all its dependency libraries.
34056 link_all_deplibs=$link_all_deplibs_FC
34057
34058 # Fix the shell variable \$srcfile for the compiler.
34059 fix_srcfile_path=$lt_fix_srcfile_path_FC
34060
34061 # Set to "yes" if exported symbols are required.
34062 always_export_symbols=$always_export_symbols_FC
34063
34064 # The commands to list exported symbols.
34065 export_symbols_cmds=$lt_export_symbols_cmds_FC
34066
34067 # Symbols that should not be listed in the preloaded symbols.
34068 exclude_expsyms=$lt_exclude_expsyms_FC
34069
34070 # Symbols that must always be exported.
34071 include_expsyms=$lt_include_expsyms_FC
34072
34073 # Commands necessary for linking programs (against libraries) with templates.
34074 prelink_cmds=$lt_prelink_cmds_FC
34075
34076 # Specify filename containing input files.
34077 file_list_spec=$lt_file_list_spec_FC
34078
34079 # How to hardcode a shared library path into an executable.
34080 hardcode_action=$hardcode_action_FC
34081
34082 # The directories searched by this compiler when creating a shared library.
34083 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34084
34085 # Dependencies to place before and after the objects being linked to
34086 # create a shared library.
34087 predep_objects=$lt_predep_objects_FC
34088 postdep_objects=$lt_postdep_objects_FC
34089 predeps=$lt_predeps_FC
34090 postdeps=$lt_postdeps_FC
34091
34092 # The library search path used internally by the compiler when linking
34093 # a shared library.
34094 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34095
34096 # ### END LIBTOOL TAG CONFIG: FC
34097 _LT_EOF
34098
34099 ;;
34100 "gstdint.h":C)
34101 if test "$GCC" = yes; then
34102 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34103 else
34104 echo "/* generated for $CC */" > tmp-stdint.h
34105 fi
34106
34107 sed 's/^ *//' >> tmp-stdint.h <<EOF
34108
34109 #ifndef GCC_GENERATED_STDINT_H
34110 #define GCC_GENERATED_STDINT_H 1
34111
34112 #include <sys/types.h>
34113 EOF
34114
34115 if test "$acx_cv_header_stdint" != stdint.h; then
34116 echo "#include <stddef.h>" >> tmp-stdint.h
34117 fi
34118 if test "$acx_cv_header_stdint" != stddef.h; then
34119 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34120 fi
34121
34122 sed 's/^ *//' >> tmp-stdint.h <<EOF
34123 /* glibc uses these symbols as guards to prevent redefinitions. */
34124 #ifdef __int8_t_defined
34125 #define _INT8_T
34126 #define _INT16_T
34127 #define _INT32_T
34128 #endif
34129 #ifdef __uint32_t_defined
34130 #define _UINT32_T
34131 #endif
34132
34133 EOF
34134
34135 # ----------------- done header, emit basic int types -------------
34136 if test "$acx_cv_header_stdint" = stddef.h; then
34137 sed 's/^ *//' >> tmp-stdint.h <<EOF
34138
34139 #ifndef _UINT8_T
34140 #define _UINT8_T
34141 #ifndef __uint8_t_defined
34142 #define __uint8_t_defined
34143 #ifndef uint8_t
34144 typedef unsigned $acx_cv_type_int8_t uint8_t;
34145 #endif
34146 #endif
34147 #endif
34148
34149 #ifndef _UINT16_T
34150 #define _UINT16_T
34151 #ifndef __uint16_t_defined
34152 #define __uint16_t_defined
34153 #ifndef uint16_t
34154 typedef unsigned $acx_cv_type_int16_t uint16_t;
34155 #endif
34156 #endif
34157 #endif
34158
34159 #ifndef _UINT32_T
34160 #define _UINT32_T
34161 #ifndef __uint32_t_defined
34162 #define __uint32_t_defined
34163 #ifndef uint32_t
34164 typedef unsigned $acx_cv_type_int32_t uint32_t;
34165 #endif
34166 #endif
34167 #endif
34168
34169 #ifndef _INT8_T
34170 #define _INT8_T
34171 #ifndef __int8_t_defined
34172 #define __int8_t_defined
34173 #ifndef int8_t
34174 typedef $acx_cv_type_int8_t int8_t;
34175 #endif
34176 #endif
34177 #endif
34178
34179 #ifndef _INT16_T
34180 #define _INT16_T
34181 #ifndef __int16_t_defined
34182 #define __int16_t_defined
34183 #ifndef int16_t
34184 typedef $acx_cv_type_int16_t int16_t;
34185 #endif
34186 #endif
34187 #endif
34188
34189 #ifndef _INT32_T
34190 #define _INT32_T
34191 #ifndef __int32_t_defined
34192 #define __int32_t_defined
34193 #ifndef int32_t
34194 typedef $acx_cv_type_int32_t int32_t;
34195 #endif
34196 #endif
34197 #endif
34198 EOF
34199 elif test "$ac_cv_type_u_int32_t" = yes; then
34200 sed 's/^ *//' >> tmp-stdint.h <<EOF
34201
34202 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34203 #ifndef _INT8_T
34204 #define _INT8_T
34205 #endif
34206 #ifndef _INT16_T
34207 #define _INT16_T
34208 #endif
34209 #ifndef _INT32_T
34210 #define _INT32_T
34211 #endif
34212
34213 #ifndef _UINT8_T
34214 #define _UINT8_T
34215 #ifndef __uint8_t_defined
34216 #define __uint8_t_defined
34217 #ifndef uint8_t
34218 typedef u_int8_t uint8_t;
34219 #endif
34220 #endif
34221 #endif
34222
34223 #ifndef _UINT16_T
34224 #define _UINT16_T
34225 #ifndef __uint16_t_defined
34226 #define __uint16_t_defined
34227 #ifndef uint16_t
34228 typedef u_int16_t uint16_t;
34229 #endif
34230 #endif
34231 #endif
34232
34233 #ifndef _UINT32_T
34234 #define _UINT32_T
34235 #ifndef __uint32_t_defined
34236 #define __uint32_t_defined
34237 #ifndef uint32_t
34238 typedef u_int32_t uint32_t;
34239 #endif
34240 #endif
34241 #endif
34242 EOF
34243 else
34244 sed 's/^ *//' >> tmp-stdint.h <<EOF
34245
34246 /* Some systems have guard macros to prevent redefinitions, define them. */
34247 #ifndef _INT8_T
34248 #define _INT8_T
34249 #endif
34250 #ifndef _INT16_T
34251 #define _INT16_T
34252 #endif
34253 #ifndef _INT32_T
34254 #define _INT32_T
34255 #endif
34256 #ifndef _UINT8_T
34257 #define _UINT8_T
34258 #endif
34259 #ifndef _UINT16_T
34260 #define _UINT16_T
34261 #endif
34262 #ifndef _UINT32_T
34263 #define _UINT32_T
34264 #endif
34265 EOF
34266 fi
34267
34268 # ------------- done basic int types, emit int64_t types ------------
34269 if test "$ac_cv_type_uint64_t" = yes; then
34270 sed 's/^ *//' >> tmp-stdint.h <<EOF
34271
34272 /* system headers have good uint64_t and int64_t */
34273 #ifndef _INT64_T
34274 #define _INT64_T
34275 #endif
34276 #ifndef _UINT64_T
34277 #define _UINT64_T
34278 #endif
34279 EOF
34280 elif test "$ac_cv_type_u_int64_t" = yes; then
34281 sed 's/^ *//' >> tmp-stdint.h <<EOF
34282
34283 /* system headers have an u_int64_t (and int64_t) */
34284 #ifndef _INT64_T
34285 #define _INT64_T
34286 #endif
34287 #ifndef _UINT64_T
34288 #define _UINT64_T
34289 #ifndef __uint64_t_defined
34290 #define __uint64_t_defined
34291 #ifndef uint64_t
34292 typedef u_int64_t uint64_t;
34293 #endif
34294 #endif
34295 #endif
34296 EOF
34297 elif test -n "$acx_cv_type_int64_t"; then
34298 sed 's/^ *//' >> tmp-stdint.h <<EOF
34299
34300 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34301 #ifndef _INT64_T
34302 #define _INT64_T
34303 #ifndef int64_t
34304 typedef $acx_cv_type_int64_t int64_t;
34305 #endif
34306 #endif
34307 #ifndef _UINT64_T
34308 #define _UINT64_T
34309 #ifndef __uint64_t_defined
34310 #define __uint64_t_defined
34311 #ifndef uint64_t
34312 typedef unsigned $acx_cv_type_int64_t uint64_t;
34313 #endif
34314 #endif
34315 #endif
34316 EOF
34317 else
34318 sed 's/^ *//' >> tmp-stdint.h <<EOF
34319
34320 /* some common heuristics for int64_t, using compiler-specific tests */
34321 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34322 #ifndef _INT64_T
34323 #define _INT64_T
34324 #ifndef __int64_t_defined
34325 #ifndef int64_t
34326 typedef long long int64_t;
34327 #endif
34328 #endif
34329 #endif
34330 #ifndef _UINT64_T
34331 #define _UINT64_T
34332 #ifndef uint64_t
34333 typedef unsigned long long uint64_t;
34334 #endif
34335 #endif
34336
34337 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34338 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34339 does not implement __extension__. But that compiler doesn't define
34340 __GNUC_MINOR__. */
34341 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34342 # define __extension__
34343 # endif
34344
34345 # ifndef _INT64_T
34346 # define _INT64_T
34347 # ifndef int64_t
34348 __extension__ typedef long long int64_t;
34349 # endif
34350 # endif
34351 # ifndef _UINT64_T
34352 # define _UINT64_T
34353 # ifndef uint64_t
34354 __extension__ typedef unsigned long long uint64_t;
34355 # endif
34356 # endif
34357
34358 #elif !defined __STRICT_ANSI__
34359 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34360
34361 # ifndef _INT64_T
34362 # define _INT64_T
34363 # ifndef int64_t
34364 typedef __int64 int64_t;
34365 # endif
34366 # endif
34367 # ifndef _UINT64_T
34368 # define _UINT64_T
34369 # ifndef uint64_t
34370 typedef unsigned __int64 uint64_t;
34371 # endif
34372 # endif
34373 # endif /* compiler */
34374
34375 #endif /* ANSI version */
34376 EOF
34377 fi
34378
34379 # ------------- done int64_t types, emit intptr types ------------
34380 if test "$ac_cv_type_uintptr_t" != yes; then
34381 sed 's/^ *//' >> tmp-stdint.h <<EOF
34382
34383 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34384 #ifndef __uintptr_t_defined
34385 #ifndef uintptr_t
34386 typedef u$acx_cv_type_intptr_t uintptr_t;
34387 #endif
34388 #endif
34389 #ifndef __intptr_t_defined
34390 #ifndef intptr_t
34391 typedef $acx_cv_type_intptr_t intptr_t;
34392 #endif
34393 #endif
34394 EOF
34395 fi
34396
34397 # ------------- done intptr types, emit int_least types ------------
34398 if test "$ac_cv_type_int_least32_t" != yes; then
34399 sed 's/^ *//' >> tmp-stdint.h <<EOF
34400
34401 /* Define int_least types */
34402 typedef int8_t int_least8_t;
34403 typedef int16_t int_least16_t;
34404 typedef int32_t int_least32_t;
34405 #ifdef _INT64_T
34406 typedef int64_t int_least64_t;
34407 #endif
34408
34409 typedef uint8_t uint_least8_t;
34410 typedef uint16_t uint_least16_t;
34411 typedef uint32_t uint_least32_t;
34412 #ifdef _UINT64_T
34413 typedef uint64_t uint_least64_t;
34414 #endif
34415 EOF
34416 fi
34417
34418 # ------------- done intptr types, emit int_fast types ------------
34419 if test "$ac_cv_type_int_fast32_t" != yes; then
34420 sed 's/^ *//' >> tmp-stdint.h <<EOF
34421
34422 /* Define int_fast types. short is often slow */
34423 typedef int8_t int_fast8_t;
34424 typedef int int_fast16_t;
34425 typedef int32_t int_fast32_t;
34426 #ifdef _INT64_T
34427 typedef int64_t int_fast64_t;
34428 #endif
34429
34430 typedef uint8_t uint_fast8_t;
34431 typedef unsigned int uint_fast16_t;
34432 typedef uint32_t uint_fast32_t;
34433 #ifdef _UINT64_T
34434 typedef uint64_t uint_fast64_t;
34435 #endif
34436 EOF
34437 fi
34438
34439 if test "$ac_cv_type_uintmax_t" != yes; then
34440 sed 's/^ *//' >> tmp-stdint.h <<EOF
34441
34442 /* Define intmax based on what we found */
34443 #ifndef intmax_t
34444 #ifdef _INT64_T
34445 typedef int64_t intmax_t;
34446 #else
34447 typedef long intmax_t;
34448 #endif
34449 #endif
34450 #ifndef uintmax_t
34451 #ifdef _UINT64_T
34452 typedef uint64_t uintmax_t;
34453 #else
34454 typedef unsigned long uintmax_t;
34455 #endif
34456 #endif
34457 EOF
34458 fi
34459
34460 sed 's/^ *//' >> tmp-stdint.h <<EOF
34461
34462 #endif /* GCC_GENERATED_STDINT_H */
34463 EOF
34464
34465 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
34466 rm -f tmp-stdint.h
34467 else
34468 mv -f tmp-stdint.h gstdint.h
34469 fi
34470
34471 ;;
34472
34473 esac
34474 done # for ac_tag
34475
34476
34477 as_fn_exit 0
34478 _ACEOF
34479 ac_clean_files=$ac_clean_files_save
34480
34481 test $ac_write_fail = 0 ||
34482 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34483
34484
34485 # configure is writing to config.log, and then calls config.status.
34486 # config.status does its own redirection, appending to config.log.
34487 # Unfortunately, on DOS this fails, as config.log is still kept open
34488 # by configure, so config.status won't be able to write to it; its
34489 # output is simply discarded. So we exec the FD to /dev/null,
34490 # effectively closing config.log, so it can be properly (re)opened and
34491 # appended to by config.status. When coming back to configure, we
34492 # need to make the FD available again.
34493 if test "$no_create" != yes; then
34494 ac_cs_success=:
34495 ac_config_status_args=
34496 test "$silent" = yes &&
34497 ac_config_status_args="$ac_config_status_args --quiet"
34498 exec 5>/dev/null
34499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34500 exec 5>>config.log
34501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34502 # would make configure fail if this is the last instruction.
34503 $ac_cs_success || as_fn_exit 1
34504 fi
34505 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34507 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34508 fi
34509