]> gcc.gnu.org Git - gcc.git/blob - libgfortran/configure
fortran, libgfortran: Avoid using libquadmath for glibc 2.26+
[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 onestep
759 onestep_FALSE
760 onestep_TRUE
761 target_subdir
762 host_subdir
763 build_subdir
764 build_libsubdir
765 build_os
766 build_vendor
767 build_cpu
768 build
769 target_alias
770 host_alias
771 build_alias
772 LIBS
773 ECHO_T
774 ECHO_N
775 ECHO_C
776 DEFS
777 mandir
778 localedir
779 libdir
780 psdir
781 pdfdir
782 dvidir
783 htmldir
784 infodir
785 docdir
786 oldincludedir
787 includedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 with_build_libsubdir
811 enable_version_specific_runtime_libs
812 enable_intermodule
813 enable_silent_rules
814 enable_maintainer_mode
815 enable_multilib
816 enable_dependency_tracking
817 with_toolexeclibdir
818 enable_cet
819 enable_symvers
820 with_gnu_ld
821 enable_shared
822 enable_static
823 with_pic
824 enable_fast_install
825 enable_libtool_lock
826 enable_largefile
827 enable_libquadmath_support
828 with_gcc_major_version_only
829 '
830 ac_precious_vars='build_alias
831 host_alias
832 target_alias
833 CC
834 CFLAGS
835 LDFLAGS
836 LIBS
837 CPPFLAGS
838 CPP
839 FC
840 FCFLAGS'
841
842
843 # Initialize some variables set by options.
844 ac_init_help=
845 ac_init_version=false
846 ac_unrecognized_opts=
847 ac_unrecognized_sep=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
850 cache_file=/dev/null
851 exec_prefix=NONE
852 no_create=
853 no_recursion=
854 prefix=NONE
855 program_prefix=NONE
856 program_suffix=NONE
857 program_transform_name=s,x,x,
858 silent=
859 site=
860 srcdir=
861 verbose=
862 x_includes=NONE
863 x_libraries=NONE
864
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir='${exec_prefix}/bin'
872 sbindir='${exec_prefix}/sbin'
873 libexecdir='${exec_prefix}/libexec'
874 datarootdir='${prefix}/share'
875 datadir='${datarootdir}'
876 sysconfdir='${prefix}/etc'
877 sharedstatedir='${prefix}/com'
878 localstatedir='${prefix}/var'
879 includedir='${prefix}/include'
880 oldincludedir='/usr/include'
881 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
882 infodir='${datarootdir}/info'
883 htmldir='${docdir}'
884 dvidir='${docdir}'
885 pdfdir='${docdir}'
886 psdir='${docdir}'
887 libdir='${exec_prefix}/lib'
888 localedir='${datarootdir}/locale'
889 mandir='${datarootdir}/man'
890
891 ac_prev=
892 ac_dashdash=
893 for ac_option
894 do
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\$ac_option
898 ac_prev=
899 continue
900 fi
901
902 case $ac_option in
903 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 *=) ac_optarg= ;;
905 *) ac_optarg=yes ;;
906 esac
907
908 # Accept the important Cygnus configure options, so we can diagnose typos.
909
910 case $ac_dashdash$ac_option in
911 --)
912 ac_dashdash=yes ;;
913
914 -bindir | --bindir | --bindi | --bind | --bin | --bi)
915 ac_prev=bindir ;;
916 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
917 bindir=$ac_optarg ;;
918
919 -build | --build | --buil | --bui | --bu)
920 ac_prev=build_alias ;;
921 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
922 build_alias=$ac_optarg ;;
923
924 -cache-file | --cache-file | --cache-fil | --cache-fi \
925 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
926 ac_prev=cache_file ;;
927 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
928 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
929 cache_file=$ac_optarg ;;
930
931 --config-cache | -C)
932 cache_file=config.cache ;;
933
934 -datadir | --datadir | --datadi | --datad)
935 ac_prev=datadir ;;
936 -datadir=* | --datadir=* | --datadi=* | --datad=*)
937 datadir=$ac_optarg ;;
938
939 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
940 | --dataroo | --dataro | --datar)
941 ac_prev=datarootdir ;;
942 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
943 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
944 datarootdir=$ac_optarg ;;
945
946 -disable-* | --disable-*)
947 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
950 as_fn_error $? "invalid feature name: $ac_useropt"
951 ac_useropt_orig=$ac_useropt
952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
954 *"
955 "enable_$ac_useropt"
956 "*) ;;
957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep=', ';;
959 esac
960 eval enable_$ac_useropt=no ;;
961
962 -docdir | --docdir | --docdi | --doc | --do)
963 ac_prev=docdir ;;
964 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965 docdir=$ac_optarg ;;
966
967 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
968 ac_prev=dvidir ;;
969 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970 dvidir=$ac_optarg ;;
971
972 -enable-* | --enable-*)
973 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976 as_fn_error $? "invalid feature name: $ac_useropt"
977 ac_useropt_orig=$ac_useropt
978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
980 *"
981 "enable_$ac_useropt"
982 "*) ;;
983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep=', ';;
985 esac
986 eval enable_$ac_useropt=\$ac_optarg ;;
987
988 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
989 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
990 | --exec | --exe | --ex)
991 ac_prev=exec_prefix ;;
992 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
993 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
994 | --exec=* | --exe=* | --ex=*)
995 exec_prefix=$ac_optarg ;;
996
997 -gas | --gas | --ga | --g)
998 # Obsolete; use --with-gas.
999 with_gas=yes ;;
1000
1001 -help | --help | --hel | --he | -h)
1002 ac_init_help=long ;;
1003 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1004 ac_init_help=recursive ;;
1005 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1006 ac_init_help=short ;;
1007
1008 -host | --host | --hos | --ho)
1009 ac_prev=host_alias ;;
1010 -host=* | --host=* | --hos=* | --ho=*)
1011 host_alias=$ac_optarg ;;
1012
1013 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1014 ac_prev=htmldir ;;
1015 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1016 | --ht=*)
1017 htmldir=$ac_optarg ;;
1018
1019 -includedir | --includedir | --includedi | --included | --include \
1020 | --includ | --inclu | --incl | --inc)
1021 ac_prev=includedir ;;
1022 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1023 | --includ=* | --inclu=* | --incl=* | --inc=*)
1024 includedir=$ac_optarg ;;
1025
1026 -infodir | --infodir | --infodi | --infod | --info | --inf)
1027 ac_prev=infodir ;;
1028 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1029 infodir=$ac_optarg ;;
1030
1031 -libdir | --libdir | --libdi | --libd)
1032 ac_prev=libdir ;;
1033 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1034 libdir=$ac_optarg ;;
1035
1036 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1037 | --libexe | --libex | --libe)
1038 ac_prev=libexecdir ;;
1039 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1040 | --libexe=* | --libex=* | --libe=*)
1041 libexecdir=$ac_optarg ;;
1042
1043 -localedir | --localedir | --localedi | --localed | --locale)
1044 ac_prev=localedir ;;
1045 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1046 localedir=$ac_optarg ;;
1047
1048 -localstatedir | --localstatedir | --localstatedi | --localstated \
1049 | --localstate | --localstat | --localsta | --localst | --locals)
1050 ac_prev=localstatedir ;;
1051 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1052 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1053 localstatedir=$ac_optarg ;;
1054
1055 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1056 ac_prev=mandir ;;
1057 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1058 mandir=$ac_optarg ;;
1059
1060 -nfp | --nfp | --nf)
1061 # Obsolete; use --without-fp.
1062 with_fp=no ;;
1063
1064 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1065 | --no-cr | --no-c | -n)
1066 no_create=yes ;;
1067
1068 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1069 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1070 no_recursion=yes ;;
1071
1072 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1073 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1074 | --oldin | --oldi | --old | --ol | --o)
1075 ac_prev=oldincludedir ;;
1076 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1077 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1078 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1079 oldincludedir=$ac_optarg ;;
1080
1081 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1082 ac_prev=prefix ;;
1083 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1084 prefix=$ac_optarg ;;
1085
1086 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1087 | --program-pre | --program-pr | --program-p)
1088 ac_prev=program_prefix ;;
1089 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1090 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1091 program_prefix=$ac_optarg ;;
1092
1093 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1094 | --program-suf | --program-su | --program-s)
1095 ac_prev=program_suffix ;;
1096 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1097 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1098 program_suffix=$ac_optarg ;;
1099
1100 -program-transform-name | --program-transform-name \
1101 | --program-transform-nam | --program-transform-na \
1102 | --program-transform-n | --program-transform- \
1103 | --program-transform | --program-transfor \
1104 | --program-transfo | --program-transf \
1105 | --program-trans | --program-tran \
1106 | --progr-tra | --program-tr | --program-t)
1107 ac_prev=program_transform_name ;;
1108 -program-transform-name=* | --program-transform-name=* \
1109 | --program-transform-nam=* | --program-transform-na=* \
1110 | --program-transform-n=* | --program-transform-=* \
1111 | --program-transform=* | --program-transfor=* \
1112 | --program-transfo=* | --program-transf=* \
1113 | --program-trans=* | --program-tran=* \
1114 | --progr-tra=* | --program-tr=* | --program-t=*)
1115 program_transform_name=$ac_optarg ;;
1116
1117 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1118 ac_prev=pdfdir ;;
1119 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1120 pdfdir=$ac_optarg ;;
1121
1122 -psdir | --psdir | --psdi | --psd | --ps)
1123 ac_prev=psdir ;;
1124 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1125 psdir=$ac_optarg ;;
1126
1127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1128 | -silent | --silent | --silen | --sile | --sil)
1129 silent=yes ;;
1130
1131 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 ac_prev=sbindir ;;
1133 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1134 | --sbi=* | --sb=*)
1135 sbindir=$ac_optarg ;;
1136
1137 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1138 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1139 | --sharedst | --shareds | --shared | --share | --shar \
1140 | --sha | --sh)
1141 ac_prev=sharedstatedir ;;
1142 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1143 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1144 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1145 | --sha=* | --sh=*)
1146 sharedstatedir=$ac_optarg ;;
1147
1148 -site | --site | --sit)
1149 ac_prev=site ;;
1150 -site=* | --site=* | --sit=*)
1151 site=$ac_optarg ;;
1152
1153 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 ac_prev=srcdir ;;
1155 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1156 srcdir=$ac_optarg ;;
1157
1158 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1159 | --syscon | --sysco | --sysc | --sys | --sy)
1160 ac_prev=sysconfdir ;;
1161 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1162 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1163 sysconfdir=$ac_optarg ;;
1164
1165 -target | --target | --targe | --targ | --tar | --ta | --t)
1166 ac_prev=target_alias ;;
1167 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1168 target_alias=$ac_optarg ;;
1169
1170 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 verbose=yes ;;
1172
1173 -version | --version | --versio | --versi | --vers | -V)
1174 ac_init_version=: ;;
1175
1176 -with-* | --with-*)
1177 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 as_fn_error $? "invalid package name: $ac_useropt"
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1184 *"
1185 "with_$ac_useropt"
1186 "*) ;;
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1189 esac
1190 eval with_$ac_useropt=\$ac_optarg ;;
1191
1192 -without-* | --without-*)
1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196 as_fn_error $? "invalid package name: $ac_useropt"
1197 ac_useropt_orig=$ac_useropt
1198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1200 *"
1201 "with_$ac_useropt"
1202 "*) ;;
1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep=', ';;
1205 esac
1206 eval with_$ac_useropt=no ;;
1207
1208 --x)
1209 # Obsolete; use --with-x.
1210 with_x=yes ;;
1211
1212 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1213 | --x-incl | --x-inc | --x-in | --x-i)
1214 ac_prev=x_includes ;;
1215 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1216 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1217 x_includes=$ac_optarg ;;
1218
1219 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1220 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1221 ac_prev=x_libraries ;;
1222 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1223 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1224 x_libraries=$ac_optarg ;;
1225
1226 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information"
1228 ;;
1229
1230 *=*)
1231 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' | [0-9]* | *[!_$as_cr_alnum]* )
1235 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1236 esac
1237 eval $ac_envvar=\$ac_optarg
1238 export $ac_envvar ;;
1239
1240 *)
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246 ;;
1247
1248 esac
1249 done
1250
1251 if test -n "$ac_prev"; then
1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error $? "missing argument to $ac_option"
1254 fi
1255
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1258 no) ;;
1259 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261 esac
1262 fi
1263
1264 # Check all directory arguments for consistency.
1265 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1269 do
1270 eval ac_val=\$$ac_var
1271 # Remove trailing slashes.
1272 case $ac_val in
1273 */ )
1274 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\$ac_val;;
1276 esac
1277 # Be sure to have absolute directory names.
1278 case $ac_val in
1279 [\\/$]* | ?:[\\/]* ) continue;;
1280 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281 esac
1282 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283 done
1284
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1288 build=$build_alias
1289 host=$host_alias
1290 target=$target_alias
1291
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x; then
1294 if test "x$build_alias" = x; then
1295 cross_compiling=maybe
1296 elif test "x$build_alias" != "x$host_alias"; then
1297 cross_compiling=yes
1298 fi
1299 fi
1300
1301 ac_tool_prefix=
1302 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1303
1304 test "$silent" = yes && exec 6>/dev/null
1305
1306
1307 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di=`ls -di .` &&
1309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $? "working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $? "pwd does not report name of working directory"
1313
1314
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1326 s//\1/
1327 q
1328 }
1329 /^X\(\/\/\)[^/].*/{
1330 s//\1/
1331 q
1332 }
1333 /^X\(\/\/\)$/{
1334 s//\1/
1335 q
1336 }
1337 /^X\(\/\).*/{
1338 s//\1/
1339 q
1340 }
1341 s/.*/./; q'`
1342 srcdir=$ac_confdir
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 srcdir=..
1345 fi
1346 else
1347 ac_srcdir_defaulted=no
1348 fi
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1351 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1352 fi
1353 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 ac_abs_confdir=`(
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 pwd)`
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 srcdir=.
1360 fi
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1364 case $srcdir in
1365 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 esac
1367 for ac_var in $ac_precious_vars; do
1368 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_${ac_var}_value=\$${ac_var}
1370 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1372 done
1373
1374 #
1375 # Report the --help message.
1376 #
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1380 cat <<_ACEOF
1381 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1382
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1384
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1387
1388 Defaults for the options are specified in brackets.
1389
1390 Configuration:
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 [PREFIX]
1406
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1411
1412 For better control, use the options below.
1413
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1434 _ACEOF
1435
1436 cat <<\_ACEOF
1437
1438 Program names:
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1442
1443 System types:
1444 --build=BUILD configure for building on BUILD [guessed]
1445 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1446 --target=TARGET configure for building compilers for TARGET [HOST]
1447 _ACEOF
1448 fi
1449
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1453 esac
1454 cat <<\_ACEOF
1455
1456 Optional Features:
1457 --disable-option-checking ignore unrecognized --enable/--with options
1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1460 --enable-version-specific-runtime-libs
1461 specify that runtime libraries should be installed
1462 in a compiler-specific directory
1463 --enable-intermodule build the library in one step
1464 --enable-silent-rules less verbose build output (undo: "make V=1")
1465 --disable-silent-rules verbose build output (undo: "make V=0")
1466 --enable-maintainer-mode
1467 enable make rules and dependencies not useful (and
1468 sometimes confusing) to the casual installer
1469 --enable-multilib build many library versions (default)
1470 --enable-dependency-tracking
1471 do not reject slow dependency extractors
1472 --disable-dependency-tracking
1473 speeds up one-time build
1474 --enable-cet enable Intel CET in target libraries [default=auto]
1475 --disable-symvers disable symbol versioning for libgfortran
1476 --enable-shared[=PKGS] build shared libraries [default=yes]
1477 --enable-static[=PKGS] build static libraries [default=yes]
1478 --enable-fast-install[=PKGS]
1479 optimize for fast installation [default=yes]
1480 --disable-libtool-lock avoid locking (might break parallel builds)
1481 --disable-largefile omit support for large files
1482 --disable-libquadmath-support
1483 disable libquadmath support for Fortran
1484
1485 Optional Packages:
1486 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1487 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1488 --with-build-libsubdir=DIR Directory where to find libraries for build system
1489 --with-toolexeclibdir=DIR
1490 install libraries built with a cross compiler within
1491 DIR
1492 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1493 --with-pic try to use only PIC/non-PIC objects [default=use
1494 both]
1495 --with-gcc-major-version-only
1496 use only GCC major number in filesystem paths
1497
1498 Some influential environment variables:
1499 CC C compiler command
1500 CFLAGS C compiler flags
1501 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1502 nonstandard directory <lib dir>
1503 LIBS libraries to pass to the linker, e.g. -l<library>
1504 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1505 you have headers in a nonstandard directory <include dir>
1506 CPP C preprocessor
1507 FC Fortran compiler command
1508 FCFLAGS Fortran compiler flags
1509
1510 Use these variables to override the choices made by `configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1512
1513 Report bugs to the package provider.
1514 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1515 General help using GNU software: <http://www.gnu.org/gethelp/>.
1516 _ACEOF
1517 ac_status=$?
1518 fi
1519
1520 if test "$ac_init_help" = "recursive"; then
1521 # If there are subdirs, report their specific --help.
1522 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1523 test -d "$ac_dir" ||
1524 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1525 continue
1526 ac_builddir=.
1527
1528 case "$ac_dir" in
1529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530 *)
1531 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1532 # A ".." for each directory in $ac_dir_suffix.
1533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1534 case $ac_top_builddir_sub in
1535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 esac ;;
1538 esac
1539 ac_abs_top_builddir=$ac_pwd
1540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541 # for backward compatibility:
1542 ac_top_builddir=$ac_top_build_prefix
1543
1544 case $srcdir in
1545 .) # We are building in place.
1546 ac_srcdir=.
1547 ac_top_srcdir=$ac_top_builddir_sub
1548 ac_abs_top_srcdir=$ac_pwd ;;
1549 [\\/]* | ?:[\\/]* ) # Absolute name.
1550 ac_srcdir=$srcdir$ac_dir_suffix;
1551 ac_top_srcdir=$srcdir
1552 ac_abs_top_srcdir=$srcdir ;;
1553 *) # Relative name.
1554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555 ac_top_srcdir=$ac_top_build_prefix$srcdir
1556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557 esac
1558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559
1560 cd "$ac_dir" || { ac_status=$?; continue; }
1561 # Check for guested configure.
1562 if test -f "$ac_srcdir/configure.gnu"; then
1563 echo &&
1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565 elif test -f "$ac_srcdir/configure"; then
1566 echo &&
1567 $SHELL "$ac_srcdir/configure" --help=recursive
1568 else
1569 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 fi || ac_status=$?
1571 cd "$ac_pwd" || { ac_status=$?; break; }
1572 done
1573 fi
1574
1575 test -n "$ac_init_help" && exit $ac_status
1576 if $ac_init_version; then
1577 cat <<\_ACEOF
1578 GNU Fortran Runtime Library configure 0.3
1579 generated by GNU Autoconf 2.69
1580
1581 Copyright (C) 2012 Free Software Foundation, Inc.
1582 This configure script is free software; the Free Software Foundation
1583 gives unlimited permission to copy, distribute and modify it.
1584 _ACEOF
1585 exit
1586 fi
1587
1588 ## ------------------------ ##
1589 ## Autoconf initialization. ##
1590 ## ------------------------ ##
1591
1592 # ac_fn_c_try_compile LINENO
1593 # --------------------------
1594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1595 ac_fn_c_try_compile ()
1596 {
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 rm -f conftest.$ac_objext
1599 if { { ac_try="$ac_compile"
1600 case "(($ac_try" in
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1603 esac
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_compile") 2>conftest.err
1607 ac_status=$?
1608 if test -s conftest.err; then
1609 grep -v '^ *+' conftest.err >conftest.er1
1610 cat conftest.er1 >&5
1611 mv -f conftest.er1 conftest.err
1612 fi
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && {
1615 test -z "$ac_c_werror_flag" ||
1616 test ! -s conftest.err
1617 } && test -s conftest.$ac_objext; then :
1618 ac_retval=0
1619 else
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1622
1623 ac_retval=1
1624 fi
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status $ac_retval
1627
1628 } # ac_fn_c_try_compile
1629
1630 # ac_fn_c_try_cpp LINENO
1631 # ----------------------
1632 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_c_try_cpp ()
1634 {
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 if { { ac_try="$ac_cpp conftest.$ac_ext"
1637 case "(($ac_try" in
1638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1640 esac
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1644 ac_status=$?
1645 if test -s conftest.err; then
1646 grep -v '^ *+' conftest.err >conftest.er1
1647 cat conftest.er1 >&5
1648 mv -f conftest.er1 conftest.err
1649 fi
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } > conftest.i && {
1652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1654 }; then :
1655 ac_retval=0
1656 else
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1659
1660 ac_retval=1
1661 fi
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status $ac_retval
1664
1665 } # ac_fn_c_try_cpp
1666
1667 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1668 # -------------------------------------------------------
1669 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1670 # the include files in INCLUDES and setting the cache variable VAR
1671 # accordingly.
1672 ac_fn_c_check_header_mongrel ()
1673 {
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if eval \${$3+:} false; then :
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if eval \${$3+:} false; then :
1679 $as_echo_n "(cached) " >&6
1680 fi
1681 eval ac_res=\$$3
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1684 else
1685 # Is the header compilable?
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1687 $as_echo_n "checking $2 usability... " >&6; }
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1690 $4
1691 #include <$2>
1692 _ACEOF
1693 if ac_fn_c_try_compile "$LINENO"; then :
1694 ac_header_compiler=yes
1695 else
1696 ac_header_compiler=no
1697 fi
1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1700 $as_echo "$ac_header_compiler" >&6; }
1701
1702 # Is the header present?
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1704 $as_echo_n "checking $2 presence... " >&6; }
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1707 #include <$2>
1708 _ACEOF
1709 if ac_fn_c_try_cpp "$LINENO"; then :
1710 ac_header_preproc=yes
1711 else
1712 ac_header_preproc=no
1713 fi
1714 rm -f conftest.err conftest.i conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1716 $as_echo "$ac_header_preproc" >&6; }
1717
1718 # So? What about this header?
1719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1720 yes:no: )
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1722 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1724 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1725 ;;
1726 no:yes:* )
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1728 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1730 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1732 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1734 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1736 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1737 ;;
1738 esac
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval \${$3+:} false; then :
1742 $as_echo_n "(cached) " >&6
1743 else
1744 eval "$3=\$ac_header_compiler"
1745 fi
1746 eval ac_res=\$$3
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 $as_echo "$ac_res" >&6; }
1749 fi
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751
1752 } # ac_fn_c_check_header_mongrel
1753
1754 # ac_fn_c_try_run LINENO
1755 # ----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1757 # that executables *can* be run.
1758 ac_fn_c_try_run ()
1759 {
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_link"
1762 case "(($ac_try" in
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1765 esac
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>&5
1769 ac_status=$?
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1772 { { case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_try") 2>&5
1779 ac_status=$?
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; }; }; then :
1782 ac_retval=0
1783 else
1784 $as_echo "$as_me: program exited with status $ac_status" >&5
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1787
1788 ac_retval=$ac_status
1789 fi
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1793
1794 } # ac_fn_c_try_run
1795
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1801 {
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1807 else
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1810 $4
1811 #include <$2>
1812 _ACEOF
1813 if ac_fn_c_try_compile "$LINENO"; then :
1814 eval "$3=yes"
1815 else
1816 eval "$3=no"
1817 fi
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 fi
1820 eval ac_res=\$$3
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824
1825 } # ac_fn_c_check_header_compile
1826
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 ac_fn_c_try_link ()
1831 {
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1842 ac_status=$?
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1847 fi
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 test -x conftest$ac_exeext
1855 }; then :
1856 ac_retval=0
1857 else
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1860
1861 ac_retval=1
1862 fi
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status $ac_retval
1870
1871 } # ac_fn_c_try_link
1872
1873 # ac_fn_c_check_func LINENO FUNC VAR
1874 # ----------------------------------
1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1876 ac_fn_c_check_func ()
1877 {
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \${$3+:} false; then :
1882 $as_echo_n "(cached) " >&6
1883 else
1884 if test x$gcc_no_link = xyes; then
1885 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1886 fi
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1889 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1891 #define $2 innocuous_$2
1892
1893 /* System header to define __stub macros and hopefully few prototypes,
1894 which can conflict with char $2 (); below.
1895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1896 <limits.h> exists even on freestanding compilers. */
1897
1898 #ifdef __STDC__
1899 # include <limits.h>
1900 #else
1901 # include <assert.h>
1902 #endif
1903
1904 #undef $2
1905
1906 /* Override any GCC internal prototype to avoid an error.
1907 Use char because int might match the return type of a GCC
1908 builtin and then its argument prototype would still apply. */
1909 #ifdef __cplusplus
1910 extern "C"
1911 #endif
1912 char $2 ();
1913 /* The GNU C library defines this for functions which it implements
1914 to always fail with ENOSYS. Some functions are actually named
1915 something starting with __ and the normal name is an alias. */
1916 #if defined __stub_$2 || defined __stub___$2
1917 choke me
1918 #endif
1919
1920 int
1921 main ()
1922 {
1923 return $2 ();
1924 ;
1925 return 0;
1926 }
1927 _ACEOF
1928 if ac_fn_c_try_link "$LINENO"; then :
1929 eval "$3=yes"
1930 else
1931 eval "$3=no"
1932 fi
1933 rm -f core conftest.err conftest.$ac_objext \
1934 conftest$ac_exeext conftest.$ac_ext
1935 fi
1936 eval ac_res=\$$3
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940
1941 } # ac_fn_c_check_func
1942
1943 # ac_fn_fc_try_compile LINENO
1944 # ---------------------------
1945 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1946 ac_fn_fc_try_compile ()
1947 {
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 rm -f conftest.$ac_objext
1950 if { { ac_try="$ac_compile"
1951 case "(($ac_try" in
1952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;;
1954 esac
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_compile") 2>conftest.err
1958 ac_status=$?
1959 if test -s conftest.err; then
1960 grep -v '^ *+' conftest.err >conftest.er1
1961 cat conftest.er1 >&5
1962 mv -f conftest.er1 conftest.err
1963 fi
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } && {
1966 test -z "$ac_fc_werror_flag" ||
1967 test ! -s conftest.err
1968 } && test -s conftest.$ac_objext; then :
1969 ac_retval=0
1970 else
1971 $as_echo "$as_me: failed program was:" >&5
1972 sed 's/^/| /' conftest.$ac_ext >&5
1973
1974 ac_retval=1
1975 fi
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 as_fn_set_status $ac_retval
1978
1979 } # ac_fn_fc_try_compile
1980
1981 # ac_fn_fc_try_link LINENO
1982 # ------------------------
1983 # Try to link conftest.$ac_ext, and return whether this succeeded.
1984 ac_fn_fc_try_link ()
1985 {
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 rm -f conftest.$ac_objext conftest$ac_exeext
1988 if { { ac_try="$ac_link"
1989 case "(($ac_try" in
1990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1991 *) ac_try_echo=$ac_try;;
1992 esac
1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994 $as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_link") 2>conftest.err
1996 ac_status=$?
1997 if test -s conftest.err; then
1998 grep -v '^ *+' conftest.err >conftest.er1
1999 cat conftest.er1 >&5
2000 mv -f conftest.er1 conftest.err
2001 fi
2002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2003 test $ac_status = 0; } && {
2004 test -z "$ac_fc_werror_flag" ||
2005 test ! -s conftest.err
2006 } && test -s conftest$ac_exeext && {
2007 test "$cross_compiling" = yes ||
2008 test -x conftest$ac_exeext
2009 }; then :
2010 ac_retval=0
2011 else
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2014
2015 ac_retval=1
2016 fi
2017 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2018 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2019 # interfere with the next link command; also delete a directory that is
2020 # left behind by Apple's compiler. We do this before executing the actions.
2021 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 as_fn_set_status $ac_retval
2024
2025 } # ac_fn_fc_try_link
2026
2027 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2028 # -------------------------------------------
2029 # Tests whether TYPE exists after having included INCLUDES, setting cache
2030 # variable VAR accordingly.
2031 ac_fn_c_check_type ()
2032 {
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035 $as_echo_n "checking for $2... " >&6; }
2036 if eval \${$3+:} false; then :
2037 $as_echo_n "(cached) " >&6
2038 else
2039 eval "$3=no"
2040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2041 /* end confdefs.h. */
2042 $4
2043 int
2044 main ()
2045 {
2046 if (sizeof ($2))
2047 return 0;
2048 ;
2049 return 0;
2050 }
2051 _ACEOF
2052 if ac_fn_c_try_compile "$LINENO"; then :
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2055 $4
2056 int
2057 main ()
2058 {
2059 if (sizeof (($2)))
2060 return 0;
2061 ;
2062 return 0;
2063 }
2064 _ACEOF
2065 if ac_fn_c_try_compile "$LINENO"; then :
2066
2067 else
2068 eval "$3=yes"
2069 fi
2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071 fi
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 fi
2074 eval ac_res=\$$3
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078
2079 } # ac_fn_c_check_type
2080
2081 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2082 # --------------------------------------------
2083 # Tries to find the compile-time value of EXPR in a program that includes
2084 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2085 # computed
2086 ac_fn_c_compute_int ()
2087 {
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 if test "$cross_compiling" = yes; then
2090 # Depending upon the size, compute the lo and hi bounds.
2091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092 /* end confdefs.h. */
2093 $4
2094 int
2095 main ()
2096 {
2097 static int test_array [1 - 2 * !(($2) >= 0)];
2098 test_array [0] = 0;
2099 return test_array [0];
2100
2101 ;
2102 return 0;
2103 }
2104 _ACEOF
2105 if ac_fn_c_try_compile "$LINENO"; then :
2106 ac_lo=0 ac_mid=0
2107 while :; do
2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2110 $4
2111 int
2112 main ()
2113 {
2114 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2115 test_array [0] = 0;
2116 return test_array [0];
2117
2118 ;
2119 return 0;
2120 }
2121 _ACEOF
2122 if ac_fn_c_try_compile "$LINENO"; then :
2123 ac_hi=$ac_mid; break
2124 else
2125 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2126 if test $ac_lo -le $ac_mid; then
2127 ac_lo= ac_hi=
2128 break
2129 fi
2130 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2131 fi
2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133 done
2134 else
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 $4
2138 int
2139 main ()
2140 {
2141 static int test_array [1 - 2 * !(($2) < 0)];
2142 test_array [0] = 0;
2143 return test_array [0];
2144
2145 ;
2146 return 0;
2147 }
2148 _ACEOF
2149 if ac_fn_c_try_compile "$LINENO"; then :
2150 ac_hi=-1 ac_mid=-1
2151 while :; do
2152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2154 $4
2155 int
2156 main ()
2157 {
2158 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2159 test_array [0] = 0;
2160 return test_array [0];
2161
2162 ;
2163 return 0;
2164 }
2165 _ACEOF
2166 if ac_fn_c_try_compile "$LINENO"; then :
2167 ac_lo=$ac_mid; break
2168 else
2169 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2170 if test $ac_mid -le $ac_hi; then
2171 ac_lo= ac_hi=
2172 break
2173 fi
2174 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2175 fi
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 done
2178 else
2179 ac_lo= ac_hi=
2180 fi
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 fi
2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 # Binary search between lo and hi bounds.
2185 while test "x$ac_lo" != "x$ac_hi"; do
2186 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2189 $4
2190 int
2191 main ()
2192 {
2193 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2194 test_array [0] = 0;
2195 return test_array [0];
2196
2197 ;
2198 return 0;
2199 }
2200 _ACEOF
2201 if ac_fn_c_try_compile "$LINENO"; then :
2202 ac_hi=$ac_mid
2203 else
2204 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2205 fi
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2207 done
2208 case $ac_lo in #((
2209 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2210 '') ac_retval=1 ;;
2211 esac
2212 else
2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2215 $4
2216 static long int longval () { return $2; }
2217 static unsigned long int ulongval () { return $2; }
2218 #include <stdio.h>
2219 #include <stdlib.h>
2220 int
2221 main ()
2222 {
2223
2224 FILE *f = fopen ("conftest.val", "w");
2225 if (! f)
2226 return 1;
2227 if (($2) < 0)
2228 {
2229 long int i = longval ();
2230 if (i != ($2))
2231 return 1;
2232 fprintf (f, "%ld", i);
2233 }
2234 else
2235 {
2236 unsigned long int i = ulongval ();
2237 if (i != ($2))
2238 return 1;
2239 fprintf (f, "%lu", i);
2240 }
2241 /* Do not output a trailing newline, as this causes \r\n confusion
2242 on some platforms. */
2243 return ferror (f) || fclose (f) != 0;
2244
2245 ;
2246 return 0;
2247 }
2248 _ACEOF
2249 if ac_fn_c_try_run "$LINENO"; then :
2250 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2251 else
2252 ac_retval=1
2253 fi
2254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2255 conftest.$ac_objext conftest.beam conftest.$ac_ext
2256 rm -f conftest.val
2257
2258 fi
2259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2260 as_fn_set_status $ac_retval
2261
2262 } # ac_fn_c_compute_int
2263
2264 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2265 # ----------------------------------------------------
2266 # Tries to find if the field MEMBER exists in type AGGR, after including
2267 # INCLUDES, setting cache variable VAR accordingly.
2268 ac_fn_c_check_member ()
2269 {
2270 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2272 $as_echo_n "checking for $2.$3... " >&6; }
2273 if eval \${$4+:} false; then :
2274 $as_echo_n "(cached) " >&6
2275 else
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2278 $5
2279 int
2280 main ()
2281 {
2282 static $2 ac_aggr;
2283 if (ac_aggr.$3)
2284 return 0;
2285 ;
2286 return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 eval "$4=yes"
2291 else
2292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2293 /* end confdefs.h. */
2294 $5
2295 int
2296 main ()
2297 {
2298 static $2 ac_aggr;
2299 if (sizeof ac_aggr.$3)
2300 return 0;
2301 ;
2302 return 0;
2303 }
2304 _ACEOF
2305 if ac_fn_c_try_compile "$LINENO"; then :
2306 eval "$4=yes"
2307 else
2308 eval "$4=no"
2309 fi
2310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2311 fi
2312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2313 fi
2314 eval ac_res=\$$4
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316 $as_echo "$ac_res" >&6; }
2317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2318
2319 } # ac_fn_c_check_member
2320 cat >config.log <<_ACEOF
2321 This file contains any messages produced by compilers while
2322 running configure, to aid debugging if configure makes a mistake.
2323
2324 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2325 generated by GNU Autoconf 2.69. Invocation command line was
2326
2327 $ $0 $@
2328
2329 _ACEOF
2330 exec 5>>config.log
2331 {
2332 cat <<_ASUNAME
2333 ## --------- ##
2334 ## Platform. ##
2335 ## --------- ##
2336
2337 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2338 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2339 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2340 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2341 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2342
2343 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2344 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2345
2346 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2347 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2348 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2349 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2350 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2351 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2352 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2353
2354 _ASUNAME
2355
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 for as_dir in $PATH
2358 do
2359 IFS=$as_save_IFS
2360 test -z "$as_dir" && as_dir=.
2361 $as_echo "PATH: $as_dir"
2362 done
2363 IFS=$as_save_IFS
2364
2365 } >&5
2366
2367 cat >&5 <<_ACEOF
2368
2369
2370 ## ----------- ##
2371 ## Core tests. ##
2372 ## ----------- ##
2373
2374 _ACEOF
2375
2376
2377 # Keep a trace of the command line.
2378 # Strip out --no-create and --no-recursion so they do not pile up.
2379 # Strip out --silent because we don't want to record it for future runs.
2380 # Also quote any args containing shell meta-characters.
2381 # Make two passes to allow for proper duplicate-argument suppression.
2382 ac_configure_args=
2383 ac_configure_args0=
2384 ac_configure_args1=
2385 ac_must_keep_next=false
2386 for ac_pass in 1 2
2387 do
2388 for ac_arg
2389 do
2390 case $ac_arg in
2391 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2392 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2393 | -silent | --silent | --silen | --sile | --sil)
2394 continue ;;
2395 *\'*)
2396 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2397 esac
2398 case $ac_pass in
2399 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2400 2)
2401 as_fn_append ac_configure_args1 " '$ac_arg'"
2402 if test $ac_must_keep_next = true; then
2403 ac_must_keep_next=false # Got value, back to normal.
2404 else
2405 case $ac_arg in
2406 *=* | --config-cache | -C | -disable-* | --disable-* \
2407 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2408 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2409 | -with-* | --with-* | -without-* | --without-* | --x)
2410 case "$ac_configure_args0 " in
2411 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2412 esac
2413 ;;
2414 -* ) ac_must_keep_next=true ;;
2415 esac
2416 fi
2417 as_fn_append ac_configure_args " '$ac_arg'"
2418 ;;
2419 esac
2420 done
2421 done
2422 { ac_configure_args0=; unset ac_configure_args0;}
2423 { ac_configure_args1=; unset ac_configure_args1;}
2424
2425 # When interrupted or exit'd, cleanup temporary files, and complete
2426 # config.log. We remove comments because anyway the quotes in there
2427 # would cause problems or look ugly.
2428 # WARNING: Use '\'' to represent an apostrophe within the trap.
2429 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2430 trap 'exit_status=$?
2431 # Save into config.log some information that might help in debugging.
2432 {
2433 echo
2434
2435 $as_echo "## ---------------- ##
2436 ## Cache variables. ##
2437 ## ---------------- ##"
2438 echo
2439 # The following way of writing the cache mishandles newlines in values,
2440 (
2441 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2442 eval ac_val=\$$ac_var
2443 case $ac_val in #(
2444 *${as_nl}*)
2445 case $ac_var in #(
2446 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2447 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2448 esac
2449 case $ac_var in #(
2450 _ | IFS | as_nl) ;; #(
2451 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2452 *) { eval $ac_var=; unset $ac_var;} ;;
2453 esac ;;
2454 esac
2455 done
2456 (set) 2>&1 |
2457 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2458 *${as_nl}ac_space=\ *)
2459 sed -n \
2460 "s/'\''/'\''\\\\'\'''\''/g;
2461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2462 ;; #(
2463 *)
2464 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2465 ;;
2466 esac |
2467 sort
2468 )
2469 echo
2470
2471 $as_echo "## ----------------- ##
2472 ## Output variables. ##
2473 ## ----------------- ##"
2474 echo
2475 for ac_var in $ac_subst_vars
2476 do
2477 eval ac_val=\$$ac_var
2478 case $ac_val in
2479 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2480 esac
2481 $as_echo "$ac_var='\''$ac_val'\''"
2482 done | sort
2483 echo
2484
2485 if test -n "$ac_subst_files"; then
2486 $as_echo "## ------------------- ##
2487 ## File substitutions. ##
2488 ## ------------------- ##"
2489 echo
2490 for ac_var in $ac_subst_files
2491 do
2492 eval ac_val=\$$ac_var
2493 case $ac_val in
2494 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2495 esac
2496 $as_echo "$ac_var='\''$ac_val'\''"
2497 done | sort
2498 echo
2499 fi
2500
2501 if test -s confdefs.h; then
2502 $as_echo "## ----------- ##
2503 ## confdefs.h. ##
2504 ## ----------- ##"
2505 echo
2506 cat confdefs.h
2507 echo
2508 fi
2509 test "$ac_signal" != 0 &&
2510 $as_echo "$as_me: caught signal $ac_signal"
2511 $as_echo "$as_me: exit $exit_status"
2512 } >&5
2513 rm -f core *.core core.conftest.* &&
2514 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2515 exit $exit_status
2516 ' 0
2517 for ac_signal in 1 2 13 15; do
2518 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2519 done
2520 ac_signal=0
2521
2522 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2523 rm -f -r conftest* confdefs.h
2524
2525 $as_echo "/* confdefs.h */" > confdefs.h
2526
2527 # Predefined preprocessor variables.
2528
2529 cat >>confdefs.h <<_ACEOF
2530 #define PACKAGE_NAME "$PACKAGE_NAME"
2531 _ACEOF
2532
2533 cat >>confdefs.h <<_ACEOF
2534 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2535 _ACEOF
2536
2537 cat >>confdefs.h <<_ACEOF
2538 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2539 _ACEOF
2540
2541 cat >>confdefs.h <<_ACEOF
2542 #define PACKAGE_STRING "$PACKAGE_STRING"
2543 _ACEOF
2544
2545 cat >>confdefs.h <<_ACEOF
2546 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2547 _ACEOF
2548
2549 cat >>confdefs.h <<_ACEOF
2550 #define PACKAGE_URL "$PACKAGE_URL"
2551 _ACEOF
2552
2553
2554 # Let the site file select an alternate cache file if it wants to.
2555 # Prefer an explicitly selected file to automatically selected ones.
2556 ac_site_file1=NONE
2557 ac_site_file2=NONE
2558 if test -n "$CONFIG_SITE"; then
2559 # We do not want a PATH search for config.site.
2560 case $CONFIG_SITE in #((
2561 -*) ac_site_file1=./$CONFIG_SITE;;
2562 */*) ac_site_file1=$CONFIG_SITE;;
2563 *) ac_site_file1=./$CONFIG_SITE;;
2564 esac
2565 elif test "x$prefix" != xNONE; then
2566 ac_site_file1=$prefix/share/config.site
2567 ac_site_file2=$prefix/etc/config.site
2568 else
2569 ac_site_file1=$ac_default_prefix/share/config.site
2570 ac_site_file2=$ac_default_prefix/etc/config.site
2571 fi
2572 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2573 do
2574 test "x$ac_site_file" = xNONE && continue
2575 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2577 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2578 sed 's/^/| /' "$ac_site_file" >&5
2579 . "$ac_site_file" \
2580 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 as_fn_error $? "failed to load site script $ac_site_file
2583 See \`config.log' for more details" "$LINENO" 5; }
2584 fi
2585 done
2586
2587 if test -r "$cache_file"; then
2588 # Some versions of bash will fail to source /dev/null (special files
2589 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2590 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2592 $as_echo "$as_me: loading cache $cache_file" >&6;}
2593 case $cache_file in
2594 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2595 *) . "./$cache_file";;
2596 esac
2597 fi
2598 else
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2600 $as_echo "$as_me: creating cache $cache_file" >&6;}
2601 >$cache_file
2602 fi
2603
2604 as_fn_append ac_header_list " unistd.h"
2605 as_fn_append ac_header_list " sys/random.h"
2606 as_fn_append ac_header_list " sys/time.h"
2607 as_fn_append ac_header_list " sys/times.h"
2608 as_fn_append ac_header_list " sys/resource.h"
2609 as_fn_append ac_header_list " sys/types.h"
2610 as_fn_append ac_header_list " sys/stat.h"
2611 as_fn_append ac_header_list " sys/uio.h"
2612 as_fn_append ac_header_list " sys/wait.h"
2613 as_fn_append ac_header_list " floatingpoint.h"
2614 as_fn_append ac_header_list " ieeefp.h"
2615 as_fn_append ac_header_list " fenv.h"
2616 as_fn_append ac_header_list " fptrap.h"
2617 as_fn_append ac_header_list " fpxcp.h"
2618 as_fn_append ac_header_list " pwd.h"
2619 as_fn_append ac_header_list " complex.h"
2620 as_fn_append ac_header_list " xlocale.h"
2621 as_fn_append ac_func_list " getrusage"
2622 as_fn_append ac_func_list " times"
2623 as_fn_append ac_func_list " mkstemp"
2624 as_fn_append ac_func_list " strtof"
2625 as_fn_append ac_func_list " strtold"
2626 as_fn_append ac_func_list " snprintf"
2627 as_fn_append ac_func_list " ftruncate"
2628 as_fn_append ac_func_list " chsize"
2629 as_fn_append ac_func_list " chdir"
2630 as_fn_append ac_func_list " getentropy"
2631 as_fn_append ac_func_list " getlogin"
2632 as_fn_append ac_func_list " gethostname"
2633 as_fn_append ac_func_list " kill"
2634 as_fn_append ac_func_list " link"
2635 as_fn_append ac_func_list " symlink"
2636 as_fn_append ac_func_list " sleep"
2637 as_fn_append ac_func_list " ttyname"
2638 as_fn_append ac_func_list " sigaction"
2639 as_fn_append ac_func_list " waitpid"
2640 as_fn_append ac_func_list " alarm"
2641 as_fn_append ac_func_list " access"
2642 as_fn_append ac_func_list " fork"
2643 as_fn_append ac_func_list " posix_spawn"
2644 as_fn_append ac_func_list " setmode"
2645 as_fn_append ac_func_list " fcntl"
2646 as_fn_append ac_func_list " writev"
2647 as_fn_append ac_func_list " gettimeofday"
2648 as_fn_append ac_func_list " stat"
2649 as_fn_append ac_func_list " fstat"
2650 as_fn_append ac_func_list " lstat"
2651 as_fn_append ac_func_list " getpwuid"
2652 as_fn_append ac_func_list " vsnprintf"
2653 as_fn_append ac_func_list " dup"
2654 as_fn_append ac_func_list " getcwd"
2655 as_fn_append ac_func_list " localtime_r"
2656 as_fn_append ac_func_list " gmtime_r"
2657 as_fn_append ac_func_list " getpwuid_r"
2658 as_fn_append ac_func_list " ttyname_r"
2659 as_fn_append ac_func_list " clock_gettime"
2660 as_fn_append ac_func_list " getgid"
2661 as_fn_append ac_func_list " getpid"
2662 as_fn_append ac_func_list " getuid"
2663 as_fn_append ac_func_list " geteuid"
2664 as_fn_append ac_func_list " umask"
2665 as_fn_append ac_func_list " getegid"
2666 as_fn_append ac_func_list " secure_getenv"
2667 as_fn_append ac_func_list " __secure_getenv"
2668 as_fn_append ac_func_list " mkostemp"
2669 as_fn_append ac_func_list " strnlen"
2670 as_fn_append ac_func_list " strndup"
2671 as_fn_append ac_func_list " newlocale"
2672 as_fn_append ac_func_list " freelocale"
2673 as_fn_append ac_func_list " uselocale"
2674 as_fn_append ac_func_list " strerror_l"
2675 as_fn_append ac_func_list " strtof128"
2676 as_fn_append ac_func_list " strfromf128"
2677 as_fn_append ac_header_list " math.h"
2678 # Check that the precious variables saved in the cache have kept the same
2679 # value.
2680 ac_cache_corrupted=false
2681 for ac_var in $ac_precious_vars; do
2682 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2683 eval ac_new_set=\$ac_env_${ac_var}_set
2684 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2685 eval ac_new_val=\$ac_env_${ac_var}_value
2686 case $ac_old_set,$ac_new_set in
2687 set,)
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2689 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2690 ac_cache_corrupted=: ;;
2691 ,set)
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2693 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2694 ac_cache_corrupted=: ;;
2695 ,);;
2696 *)
2697 if test "x$ac_old_val" != "x$ac_new_val"; then
2698 # differences in whitespace do not lead to failure.
2699 ac_old_val_w=`echo x $ac_old_val`
2700 ac_new_val_w=`echo x $ac_new_val`
2701 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2703 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2704 ac_cache_corrupted=:
2705 else
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2707 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2708 eval $ac_var=\$ac_old_val
2709 fi
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2711 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2713 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2714 fi;;
2715 esac
2716 # Pass precious variables to config.status.
2717 if test "$ac_new_set" = set; then
2718 case $ac_new_val in
2719 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2720 *) ac_arg=$ac_var=$ac_new_val ;;
2721 esac
2722 case " $ac_configure_args " in
2723 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2724 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2725 esac
2726 fi
2727 done
2728 if $ac_cache_corrupted; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2732 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2733 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2734 fi
2735 ## -------------------- ##
2736 ## Main body of script. ##
2737 ## -------------------- ##
2738
2739 ac_ext=c
2740 ac_cpp='$CPP $CPPFLAGS'
2741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2744
2745
2746
2747
2748
2749 ac_config_headers="$ac_config_headers config.h"
2750
2751 ac_aux_dir=
2752 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2753 if test -f "$ac_dir/install-sh"; then
2754 ac_aux_dir=$ac_dir
2755 ac_install_sh="$ac_aux_dir/install-sh -c"
2756 break
2757 elif test -f "$ac_dir/install.sh"; then
2758 ac_aux_dir=$ac_dir
2759 ac_install_sh="$ac_aux_dir/install.sh -c"
2760 break
2761 elif test -f "$ac_dir/shtool"; then
2762 ac_aux_dir=$ac_dir
2763 ac_install_sh="$ac_aux_dir/shtool install -c"
2764 break
2765 fi
2766 done
2767 if test -z "$ac_aux_dir"; then
2768 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2769 fi
2770
2771 # These three variables are undocumented and unsupported,
2772 # and are intended to be withdrawn in a future Autoconf release.
2773 # They can cause serious problems if a builder's source tree is in a directory
2774 # whose full name contains unusual characters.
2775 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2776 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2777 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2778
2779
2780 # Make sure we can run config.sub.
2781 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2782 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2783
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2785 $as_echo_n "checking build system type... " >&6; }
2786 if ${ac_cv_build+:} false; then :
2787 $as_echo_n "(cached) " >&6
2788 else
2789 ac_build_alias=$build_alias
2790 test "x$ac_build_alias" = x &&
2791 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2792 test "x$ac_build_alias" = x &&
2793 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2794 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2795 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2796
2797 fi
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2799 $as_echo "$ac_cv_build" >&6; }
2800 case $ac_cv_build in
2801 *-*-*) ;;
2802 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2803 esac
2804 build=$ac_cv_build
2805 ac_save_IFS=$IFS; IFS='-'
2806 set x $ac_cv_build
2807 shift
2808 build_cpu=$1
2809 build_vendor=$2
2810 shift; shift
2811 # Remember, the first character of IFS is used to create $*,
2812 # except with old shells:
2813 build_os=$*
2814 IFS=$ac_save_IFS
2815 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2816
2817
2818 case ${build_alias} in
2819 "") build_noncanonical=${build} ;;
2820 *) build_noncanonical=${build_alias} ;;
2821 esac
2822
2823 case ${host_alias} in
2824 "") host_noncanonical=${build_noncanonical} ;;
2825 *) host_noncanonical=${host_alias} ;;
2826 esac
2827
2828 case ${target_alias} in
2829 "") target_noncanonical=${host_noncanonical} ;;
2830 *) target_noncanonical=${target_alias} ;;
2831 esac
2832
2833
2834 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2835 # have matching libraries, they should use host libraries: Makefile.tpl
2836 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2837 # However, they still use the build modules, because the corresponding
2838 # host modules (e.g. bison) are only built for the host when bootstrap
2839 # finishes. So:
2840 # - build_subdir is where we find build modules, and never changes.
2841 # - build_libsubdir is where we find build libraries, and can be overridden.
2842
2843 # Prefix 'build-' so this never conflicts with target_subdir.
2844 build_subdir="build-${build_noncanonical}"
2845
2846 # Check whether --with-build-libsubdir was given.
2847 if test "${with_build_libsubdir+set}" = set; then :
2848 withval=$with_build_libsubdir; build_libsubdir="$withval"
2849 else
2850 build_libsubdir="$build_subdir"
2851 fi
2852
2853 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2854 if ( test $srcdir = . && test -d gcc ) \
2855 || test -d $srcdir/../host-${host_noncanonical}; then
2856 host_subdir="host-${host_noncanonical}"
2857 else
2858 host_subdir=.
2859 fi
2860 # No prefix.
2861 target_subdir=${target_noncanonical}
2862
2863
2864 # -------
2865 # Options
2866 # -------
2867
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2869 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2870 # Check whether --enable-version-specific-runtime-libs was given.
2871 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2872 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2873 yes) version_specific_libs=yes ;;
2874 no) version_specific_libs=no ;;
2875 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2876 esac
2877 else
2878 version_specific_libs=no
2879 fi
2880
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2882 $as_echo "$version_specific_libs" >&6; }
2883
2884 # Build with intermodule optimisations
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2886 $as_echo_n "checking for --enable-intermodule... " >&6; }
2887 # Check whether --enable-intermodule was given.
2888 if test "${enable_intermodule+set}" = set; then :
2889 enableval=$enable_intermodule; case "$enable_intermodule" in
2890 yes) onestep="-onestep";;
2891 *) onestep="";;
2892 esac
2893 else
2894 onestep=""
2895 fi
2896
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2898 $as_echo "$enable_intermodule" >&6; }
2899 if test x$onestep = x-onestep; then
2900 onestep_TRUE=
2901 onestep_FALSE='#'
2902 else
2903 onestep_TRUE='#'
2904 onestep_FALSE=
2905 fi
2906
2907
2908
2909 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2910 #
2911 # You will slowly go insane if you do not grok the following fact: when
2912 # building this library, the top-level /target/ becomes the library's /host/.
2913 #
2914 # configure then causes --target to default to --host, exactly like any
2915 # other package using autoconf. Therefore, 'target' and 'host' will
2916 # always be the same. This makes sense both for native and cross compilers
2917 # just think about it for a little while. :-)
2918 #
2919 # Also, if this library is being configured as part of a cross compiler, the
2920 # top-level configure script will pass the "real" host as $with_cross_host.
2921 #
2922 # Do not delete or change the following two lines. For why, see
2923 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2925 $as_echo_n "checking host system type... " >&6; }
2926 if ${ac_cv_host+:} false; then :
2927 $as_echo_n "(cached) " >&6
2928 else
2929 if test "x$host_alias" = x; then
2930 ac_cv_host=$ac_cv_build
2931 else
2932 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2933 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2934 fi
2935
2936 fi
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2938 $as_echo "$ac_cv_host" >&6; }
2939 case $ac_cv_host in
2940 *-*-*) ;;
2941 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2942 esac
2943 host=$ac_cv_host
2944 ac_save_IFS=$IFS; IFS='-'
2945 set x $ac_cv_host
2946 shift
2947 host_cpu=$1
2948 host_vendor=$2
2949 shift; shift
2950 # Remember, the first character of IFS is used to create $*,
2951 # except with old shells:
2952 host_os=$*
2953 IFS=$ac_save_IFS
2954 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2955
2956
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2958 $as_echo_n "checking target system type... " >&6; }
2959 if ${ac_cv_target+:} false; then :
2960 $as_echo_n "(cached) " >&6
2961 else
2962 if test "x$target_alias" = x; then
2963 ac_cv_target=$ac_cv_host
2964 else
2965 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2966 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2967 fi
2968
2969 fi
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2971 $as_echo "$ac_cv_target" >&6; }
2972 case $ac_cv_target in
2973 *-*-*) ;;
2974 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2975 esac
2976 target=$ac_cv_target
2977 ac_save_IFS=$IFS; IFS='-'
2978 set x $ac_cv_target
2979 shift
2980 target_cpu=$1
2981 target_vendor=$2
2982 shift; shift
2983 # Remember, the first character of IFS is used to create $*,
2984 # except with old shells:
2985 target_os=$*
2986 IFS=$ac_save_IFS
2987 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2988
2989
2990 # The aliases save the names the user supplied, while $host etc.
2991 # will get canonicalized.
2992 test -n "$target_alias" &&
2993 test "$program_prefix$program_suffix$program_transform_name" = \
2994 NONENONEs,x,x, &&
2995 program_prefix=${target_alias}-
2996
2997
2998
2999
3000 target_alias=${target_alias-$host_alias}
3001
3002
3003 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3004 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3005 # 1.9.6: minimum required version
3006 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3007 # of other PACKAGE_* variables will, however, and there's nothing
3008 # we can do about that; they come from AC_INIT).
3009 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3010 # file in the top srcdir, etc, etc), so stop complaining.
3011 # no-dist: we don't want 'dist' and related rules.
3012 # -Wall: turns on all automake warnings...
3013 # -Wno-portability: ...except this one, since GNU make is required.
3014 am__api_version='1.15'
3015
3016 # Find a good install program. We prefer a C program (faster),
3017 # so one script is as good as another. But avoid the broken or
3018 # incompatible versions:
3019 # SysV /etc/install, /usr/sbin/install
3020 # SunOS /usr/etc/install
3021 # IRIX /sbin/install
3022 # AIX /bin/install
3023 # AmigaOS /C/install, which installs bootblocks on floppy discs
3024 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3025 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3026 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3027 # OS/2's system install, which has a completely different semantic
3028 # ./install, which can be erroneously created by make from ./install.sh.
3029 # Reject install programs that cannot install multiple files.
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3031 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3032 if test -z "$INSTALL"; then
3033 if ${ac_cv_path_install+:} false; then :
3034 $as_echo_n "(cached) " >&6
3035 else
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH
3038 do
3039 IFS=$as_save_IFS
3040 test -z "$as_dir" && as_dir=.
3041 # Account for people who put trailing slashes in PATH elements.
3042 case $as_dir/ in #((
3043 ./ | .// | /[cC]/* | \
3044 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3045 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3046 /usr/ucb/* ) ;;
3047 *)
3048 # OSF1 and SCO ODT 3.0 have their own names for install.
3049 # Don't use installbsd from OSF since it installs stuff as root
3050 # by default.
3051 for ac_prog in ginstall scoinst install; do
3052 for ac_exec_ext in '' $ac_executable_extensions; do
3053 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3054 if test $ac_prog = install &&
3055 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3056 # AIX install. It has an incompatible calling convention.
3057 :
3058 elif test $ac_prog = install &&
3059 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3060 # program-specific install script used by HP pwplus--don't use.
3061 :
3062 else
3063 rm -rf conftest.one conftest.two conftest.dir
3064 echo one > conftest.one
3065 echo two > conftest.two
3066 mkdir conftest.dir
3067 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3068 test -s conftest.one && test -s conftest.two &&
3069 test -s conftest.dir/conftest.one &&
3070 test -s conftest.dir/conftest.two
3071 then
3072 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3073 break 3
3074 fi
3075 fi
3076 fi
3077 done
3078 done
3079 ;;
3080 esac
3081
3082 done
3083 IFS=$as_save_IFS
3084
3085 rm -rf conftest.one conftest.two conftest.dir
3086
3087 fi
3088 if test "${ac_cv_path_install+set}" = set; then
3089 INSTALL=$ac_cv_path_install
3090 else
3091 # As a last resort, use the slow shell script. Don't cache a
3092 # value for INSTALL within a source directory, because that will
3093 # break other packages using the cache if that directory is
3094 # removed, or if the value is a relative name.
3095 INSTALL=$ac_install_sh
3096 fi
3097 fi
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3099 $as_echo "$INSTALL" >&6; }
3100
3101 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3102 # It thinks the first close brace ends the variable substitution.
3103 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3104
3105 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3106
3107 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3108
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3110 $as_echo_n "checking whether build environment is sane... " >&6; }
3111 # Reject unsafe characters in $srcdir or the absolute working directory
3112 # name. Accept space and tab only in the latter.
3113 am_lf='
3114 '
3115 case `pwd` in
3116 *[\\\"\#\$\&\'\`$am_lf]*)
3117 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3118 esac
3119 case $srcdir in
3120 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3121 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3122 esac
3123
3124 # Do 'set' in a subshell so we don't clobber the current shell's
3125 # arguments. Must try -L first in case configure is actually a
3126 # symlink; some systems play weird games with the mod time of symlinks
3127 # (eg FreeBSD returns the mod time of the symlink's containing
3128 # directory).
3129 if (
3130 am_has_slept=no
3131 for am_try in 1 2; do
3132 echo "timestamp, slept: $am_has_slept" > conftest.file
3133 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3134 if test "$*" = "X"; then
3135 # -L didn't work.
3136 set X `ls -t "$srcdir/configure" conftest.file`
3137 fi
3138 if test "$*" != "X $srcdir/configure conftest.file" \
3139 && test "$*" != "X conftest.file $srcdir/configure"; then
3140
3141 # If neither matched, then we have a broken ls. This can happen
3142 # if, for instance, CONFIG_SHELL is bash and it inherits a
3143 # broken ls alias from the environment. This has actually
3144 # happened. Such a system could not be considered "sane".
3145 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3146 alias in your environment" "$LINENO" 5
3147 fi
3148 if test "$2" = conftest.file || test $am_try -eq 2; then
3149 break
3150 fi
3151 # Just in case.
3152 sleep 1
3153 am_has_slept=yes
3154 done
3155 test "$2" = conftest.file
3156 )
3157 then
3158 # Ok.
3159 :
3160 else
3161 as_fn_error $? "newly created file is older than distributed files!
3162 Check your system clock" "$LINENO" 5
3163 fi
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3165 $as_echo "yes" >&6; }
3166 # If we didn't sleep, we still need to ensure time stamps of config.status and
3167 # generated files are strictly newer.
3168 am_sleep_pid=
3169 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3170 ( sleep 1 ) &
3171 am_sleep_pid=$!
3172 fi
3173
3174 rm -f conftest.file
3175
3176 test "$program_prefix" != NONE &&
3177 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3178 # Use a double $ so make ignores it.
3179 test "$program_suffix" != NONE &&
3180 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3181 # Double any \ or $.
3182 # By default was `s,x,x', remove it if useless.
3183 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3184 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3185
3186 # Expand $ac_aux_dir to an absolute path.
3187 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3188
3189 if test x"${MISSING+set}" != xset; then
3190 case $am_aux_dir in
3191 *\ * | *\ *)
3192 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3193 *)
3194 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3195 esac
3196 fi
3197 # Use eval to expand $SHELL
3198 if eval "$MISSING --is-lightweight"; then
3199 am_missing_run="$MISSING "
3200 else
3201 am_missing_run=
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3203 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3204 fi
3205
3206 if test x"${install_sh+set}" != xset; then
3207 case $am_aux_dir in
3208 *\ * | *\ *)
3209 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3210 *)
3211 install_sh="\${SHELL} $am_aux_dir/install-sh"
3212 esac
3213 fi
3214
3215 # Installed binaries are usually stripped using 'strip' when the user
3216 # run "make install-strip". However 'strip' might not be the right
3217 # tool to use in cross-compilation environments, therefore Automake
3218 # will honor the 'STRIP' environment variable to overrule this program.
3219 if test "$cross_compiling" != no; then
3220 if test -n "$ac_tool_prefix"; then
3221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3222 set dummy ${ac_tool_prefix}strip; ac_word=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_STRIP+:} false; then :
3226 $as_echo_n "(cached) " >&6
3227 else
3228 if test -n "$STRIP"; then
3229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3230 else
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 for as_dir in $PATH
3233 do
3234 IFS=$as_save_IFS
3235 test -z "$as_dir" && as_dir=.
3236 for ac_exec_ext in '' $ac_executable_extensions; do
3237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3238 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 break 2
3241 fi
3242 done
3243 done
3244 IFS=$as_save_IFS
3245
3246 fi
3247 fi
3248 STRIP=$ac_cv_prog_STRIP
3249 if test -n "$STRIP"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3251 $as_echo "$STRIP" >&6; }
3252 else
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3255 fi
3256
3257
3258 fi
3259 if test -z "$ac_cv_prog_STRIP"; then
3260 ac_ct_STRIP=$STRIP
3261 # Extract the first word of "strip", so it can be a program name with args.
3262 set dummy strip; ac_word=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3266 $as_echo_n "(cached) " >&6
3267 else
3268 if test -n "$ac_ct_STRIP"; then
3269 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3270 else
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 for as_dir in $PATH
3273 do
3274 IFS=$as_save_IFS
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_ac_ct_STRIP="strip"
3279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 break 2
3281 fi
3282 done
3283 done
3284 IFS=$as_save_IFS
3285
3286 fi
3287 fi
3288 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3289 if test -n "$ac_ct_STRIP"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3291 $as_echo "$ac_ct_STRIP" >&6; }
3292 else
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3295 fi
3296
3297 if test "x$ac_ct_STRIP" = x; then
3298 STRIP=":"
3299 else
3300 case $cross_compiling:$ac_tool_warned in
3301 yes:)
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3304 ac_tool_warned=yes ;;
3305 esac
3306 STRIP=$ac_ct_STRIP
3307 fi
3308 else
3309 STRIP="$ac_cv_prog_STRIP"
3310 fi
3311
3312 fi
3313 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3314
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3316 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3317 if test -z "$MKDIR_P"; then
3318 if ${ac_cv_path_mkdir+:} false; then :
3319 $as_echo_n "(cached) " >&6
3320 else
3321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3323 do
3324 IFS=$as_save_IFS
3325 test -z "$as_dir" && as_dir=.
3326 for ac_prog in mkdir gmkdir; do
3327 for ac_exec_ext in '' $ac_executable_extensions; do
3328 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3329 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3330 'mkdir (GNU coreutils) '* | \
3331 'mkdir (coreutils) '* | \
3332 'mkdir (fileutils) '4.1*)
3333 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3334 break 3;;
3335 esac
3336 done
3337 done
3338 done
3339 IFS=$as_save_IFS
3340
3341 fi
3342
3343 test -d ./--version && rmdir ./--version
3344 if test "${ac_cv_path_mkdir+set}" = set; then
3345 MKDIR_P="$ac_cv_path_mkdir -p"
3346 else
3347 # As a last resort, use the slow shell script. Don't cache a
3348 # value for MKDIR_P within a source directory, because that will
3349 # break other packages using the cache if that directory is
3350 # removed, or if the value is a relative name.
3351 MKDIR_P="$ac_install_sh -d"
3352 fi
3353 fi
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3355 $as_echo "$MKDIR_P" >&6; }
3356
3357 for ac_prog in gawk mawk nawk awk
3358 do
3359 # Extract the first word of "$ac_prog", so it can be a program name with args.
3360 set dummy $ac_prog; ac_word=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if ${ac_cv_prog_AWK+:} false; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 if test -n "$AWK"; then
3367 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3368 else
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 for as_dir in $PATH
3371 do
3372 IFS=$as_save_IFS
3373 test -z "$as_dir" && as_dir=.
3374 for ac_exec_ext in '' $ac_executable_extensions; do
3375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376 ac_cv_prog_AWK="$ac_prog"
3377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 break 2
3379 fi
3380 done
3381 done
3382 IFS=$as_save_IFS
3383
3384 fi
3385 fi
3386 AWK=$ac_cv_prog_AWK
3387 if test -n "$AWK"; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3389 $as_echo "$AWK" >&6; }
3390 else
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3393 fi
3394
3395
3396 test -n "$AWK" && break
3397 done
3398
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3400 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3401 set x ${MAKE-make}
3402 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3403 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3404 $as_echo_n "(cached) " >&6
3405 else
3406 cat >conftest.make <<\_ACEOF
3407 SHELL = /bin/sh
3408 all:
3409 @echo '@@@%%%=$(MAKE)=@@@%%%'
3410 _ACEOF
3411 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3412 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3413 *@@@%%%=?*=@@@%%%*)
3414 eval ac_cv_prog_make_${ac_make}_set=yes;;
3415 *)
3416 eval ac_cv_prog_make_${ac_make}_set=no;;
3417 esac
3418 rm -f conftest.make
3419 fi
3420 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3422 $as_echo "yes" >&6; }
3423 SET_MAKE=
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427 SET_MAKE="MAKE=${MAKE-make}"
3428 fi
3429
3430 rm -rf .tst 2>/dev/null
3431 mkdir .tst 2>/dev/null
3432 if test -d .tst; then
3433 am__leading_dot=.
3434 else
3435 am__leading_dot=_
3436 fi
3437 rmdir .tst 2>/dev/null
3438
3439 # Check whether --enable-silent-rules was given.
3440 if test "${enable_silent_rules+set}" = set; then :
3441 enableval=$enable_silent_rules;
3442 fi
3443
3444 case $enable_silent_rules in # (((
3445 yes) AM_DEFAULT_VERBOSITY=0;;
3446 no) AM_DEFAULT_VERBOSITY=1;;
3447 *) AM_DEFAULT_VERBOSITY=1;;
3448 esac
3449 am_make=${MAKE-make}
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3451 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3452 if ${am_cv_make_support_nested_variables+:} false; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 if $as_echo 'TRUE=$(BAR$(V))
3456 BAR0=false
3457 BAR1=true
3458 V=1
3459 am__doit:
3460 @$(TRUE)
3461 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3462 am_cv_make_support_nested_variables=yes
3463 else
3464 am_cv_make_support_nested_variables=no
3465 fi
3466 fi
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3468 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3469 if test $am_cv_make_support_nested_variables = yes; then
3470 AM_V='$(V)'
3471 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3472 else
3473 AM_V=$AM_DEFAULT_VERBOSITY
3474 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3475 fi
3476 AM_BACKSLASH='\'
3477
3478 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3479 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3480 # is not polluted with repeated "-I."
3481 am__isrc=' -I$(srcdir)'
3482 # test to see if srcdir already configured
3483 if test -f $srcdir/config.status; then
3484 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3485 fi
3486 fi
3487
3488 # test whether we have cygpath
3489 if test -z "$CYGPATH_W"; then
3490 if (cygpath --version) >/dev/null 2>/dev/null; then
3491 CYGPATH_W='cygpath -w'
3492 else
3493 CYGPATH_W=echo
3494 fi
3495 fi
3496
3497
3498 # Define the identity of the package.
3499 PACKAGE='libgfortran'
3500 VERSION='0.3'
3501
3502
3503 # Some tools Automake needs.
3504
3505 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3506
3507
3508 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3509
3510
3511 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3512
3513
3514 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3515
3516
3517 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3518
3519 # For better backward compatibility. To be removed once Automake 1.9.x
3520 # dies out for good. For more background, see:
3521 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3522 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3523 mkdir_p='$(MKDIR_P)'
3524
3525 # We need awk for the "check" target (and possibly the TAP driver). The
3526 # system "awk" is bad on some platforms.
3527 # Always define AMTAR for backward compatibility. Yes, it's still used
3528 # in the wild :-( We should find a proper way to deprecate it ...
3529 AMTAR='$${TAR-tar}'
3530
3531
3532 # We'll loop over all known methods to create a tar archive until one works.
3533 _am_tools='gnutar pax cpio none'
3534
3535 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3536
3537
3538
3539
3540
3541
3542 # POSIX will say in a future version that running "rm -f" with no argument
3543 # is OK; and we want to be able to make that assumption in our Makefile
3544 # recipes. So use an aggressive probe to check that the usage we want is
3545 # actually supported "in the wild" to an acceptable degree.
3546 # See automake bug#10828.
3547 # To make any issue more visible, cause the running configure to be aborted
3548 # by default if the 'rm' program in use doesn't match our expectations; the
3549 # user can still override this though.
3550 if rm -f && rm -fr && rm -rf; then : OK; else
3551 cat >&2 <<'END'
3552 Oops!
3553
3554 Your 'rm' program seems unable to run without file operands specified
3555 on the command line, even when the '-f' option is present. This is contrary
3556 to the behaviour of most rm programs out there, and not conforming with
3557 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3558
3559 Please tell bug-automake@gnu.org about your system, including the value
3560 of your $PATH and any error possibly output before this message. This
3561 can help us improve future automake versions.
3562
3563 END
3564 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3565 echo 'Configuration will proceed anyway, since you have set the' >&2
3566 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3567 echo >&2
3568 else
3569 cat >&2 <<'END'
3570 Aborting the configuration process, to ensure you take notice of the issue.
3571
3572 You can download and install GNU coreutils to get an 'rm' implementation
3573 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3574
3575 If you want to complete the configuration process using your problematic
3576 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3577 to "yes", and re-run configure.
3578
3579 END
3580 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3581 fi
3582 fi
3583
3584
3585
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3587 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3588 # Check whether --enable-maintainer-mode was given.
3589 if test "${enable_maintainer_mode+set}" = set; then :
3590 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3591 else
3592 USE_MAINTAINER_MODE=no
3593 fi
3594
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3596 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3597 if test $USE_MAINTAINER_MODE = yes; then
3598 MAINTAINER_MODE_TRUE=
3599 MAINTAINER_MODE_FALSE='#'
3600 else
3601 MAINTAINER_MODE_TRUE='#'
3602 MAINTAINER_MODE_FALSE=
3603 fi
3604
3605 MAINT=$MAINTAINER_MODE_TRUE
3606
3607
3608 # Default to --enable-multilib
3609 # Check whether --enable-multilib was given.
3610 if test "${enable_multilib+set}" = set; then :
3611 enableval=$enable_multilib; case "$enableval" in
3612 yes) multilib=yes ;;
3613 no) multilib=no ;;
3614 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3615 esac
3616 else
3617 multilib=yes
3618 fi
3619
3620
3621 # We may get other options which we leave undocumented:
3622 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3623 # See config-ml.in if you want the gory details.
3624
3625 if test "$srcdir" = "."; then
3626 if test "$with_target_subdir" != "."; then
3627 multi_basedir="$srcdir/$with_multisrctop../.."
3628 else
3629 multi_basedir="$srcdir/$with_multisrctop.."
3630 fi
3631 else
3632 multi_basedir="$srcdir/.."
3633 fi
3634
3635
3636 # Even if the default multilib is not a cross compilation,
3637 # it may be that some of the other multilibs are.
3638 if test $cross_compiling = no && test $multilib = yes \
3639 && test "x${with_multisubdir}" != x ; then
3640 cross_compiling=maybe
3641 fi
3642
3643 ac_config_commands="$ac_config_commands default-1"
3644
3645
3646 # Handy for debugging:
3647 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3648
3649 # Are we being configured with some form of cross compiler?
3650 # NB: We don't actually need to know this just now, but when, say, a test
3651 # suite is included, we'll have to know.
3652 if test "$build" != "$host"; then
3653 LIBGFOR_IS_NATIVE=false
3654
3655 else
3656 LIBGFOR_IS_NATIVE=true
3657 fi
3658
3659 DEPDIR="${am__leading_dot}deps"
3660
3661 ac_config_commands="$ac_config_commands depfiles"
3662
3663
3664 am_make=${MAKE-make}
3665 cat > confinc << 'END'
3666 am__doit:
3667 @echo this is the am__doit target
3668 .PHONY: am__doit
3669 END
3670 # If we don't find an include directive, just comment out the code.
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3672 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3673 am__include="#"
3674 am__quote=
3675 _am_result=none
3676 # First try GNU make style include.
3677 echo "include confinc" > confmf
3678 # Ignore all kinds of additional output from 'make'.
3679 case `$am_make -s -f confmf 2> /dev/null` in #(
3680 *the\ am__doit\ target*)
3681 am__include=include
3682 am__quote=
3683 _am_result=GNU
3684 ;;
3685 esac
3686 # Now try BSD make style include.
3687 if test "$am__include" = "#"; then
3688 echo '.include "confinc"' > confmf
3689 case `$am_make -s -f confmf 2> /dev/null` in #(
3690 *the\ am__doit\ target*)
3691 am__include=.include
3692 am__quote="\""
3693 _am_result=BSD
3694 ;;
3695 esac
3696 fi
3697
3698
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3700 $as_echo "$_am_result" >&6; }
3701 rm -f confinc confmf
3702
3703 # Check whether --enable-dependency-tracking was given.
3704 if test "${enable_dependency_tracking+set}" = set; then :
3705 enableval=$enable_dependency_tracking;
3706 fi
3707
3708 if test "x$enable_dependency_tracking" != xno; then
3709 am_depcomp="$ac_aux_dir/depcomp"
3710 AMDEPBACKSLASH='\'
3711 am__nodep='_no'
3712 fi
3713 if test "x$enable_dependency_tracking" != xno; then
3714 AMDEP_TRUE=
3715 AMDEP_FALSE='#'
3716 else
3717 AMDEP_TRUE='#'
3718 AMDEP_FALSE=
3719 fi
3720
3721
3722 ac_ext=c
3723 ac_cpp='$CPP $CPPFLAGS'
3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_CC+:} false; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3740 do
3741 IFS=$as_save_IFS
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 break 2
3748 fi
3749 done
3750 done
3751 IFS=$as_save_IFS
3752
3753 fi
3754 fi
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3762 fi
3763
3764
3765 fi
3766 if test -z "$ac_cv_prog_CC"; then
3767 ac_ct_CC=$CC
3768 # Extract the first word of "gcc", so it can be a program name with args.
3769 set dummy gcc; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$ac_ct_CC"; then
3776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3777 else
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3780 do
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_CC="gcc"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3788 fi
3789 done
3790 done
3791 IFS=$as_save_IFS
3792
3793 fi
3794 fi
3795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3796 if test -n "$ac_ct_CC"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3798 $as_echo "$ac_ct_CC" >&6; }
3799 else
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3802 fi
3803
3804 if test "x$ac_ct_CC" = x; then
3805 CC=""
3806 else
3807 case $cross_compiling:$ac_tool_warned in
3808 yes:)
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3811 ac_tool_warned=yes ;;
3812 esac
3813 CC=$ac_ct_CC
3814 fi
3815 else
3816 CC="$ac_cv_prog_CC"
3817 fi
3818
3819 if test -z "$CC"; then
3820 if test -n "$ac_tool_prefix"; then
3821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3822 set dummy ${ac_tool_prefix}cc; ac_word=$2
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3824 $as_echo_n "checking for $ac_word... " >&6; }
3825 if ${ac_cv_prog_CC+:} false; then :
3826 $as_echo_n "(cached) " >&6
3827 else
3828 if test -n "$CC"; then
3829 ac_cv_prog_CC="$CC" # Let the user override the test.
3830 else
3831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3832 for as_dir in $PATH
3833 do
3834 IFS=$as_save_IFS
3835 test -z "$as_dir" && as_dir=.
3836 for ac_exec_ext in '' $ac_executable_extensions; do
3837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3838 ac_cv_prog_CC="${ac_tool_prefix}cc"
3839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 break 2
3841 fi
3842 done
3843 done
3844 IFS=$as_save_IFS
3845
3846 fi
3847 fi
3848 CC=$ac_cv_prog_CC
3849 if test -n "$CC"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851 $as_echo "$CC" >&6; }
3852 else
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854 $as_echo "no" >&6; }
3855 fi
3856
3857
3858 fi
3859 fi
3860 if test -z "$CC"; then
3861 # Extract the first word of "cc", so it can be a program name with args.
3862 set dummy cc; ac_word=$2
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3864 $as_echo_n "checking for $ac_word... " >&6; }
3865 if ${ac_cv_prog_CC+:} false; then :
3866 $as_echo_n "(cached) " >&6
3867 else
3868 if test -n "$CC"; then
3869 ac_cv_prog_CC="$CC" # Let the user override the test.
3870 else
3871 ac_prog_rejected=no
3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 for as_dir in $PATH
3874 do
3875 IFS=$as_save_IFS
3876 test -z "$as_dir" && as_dir=.
3877 for ac_exec_ext in '' $ac_executable_extensions; do
3878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3880 ac_prog_rejected=yes
3881 continue
3882 fi
3883 ac_cv_prog_CC="cc"
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3886 fi
3887 done
3888 done
3889 IFS=$as_save_IFS
3890
3891 if test $ac_prog_rejected = yes; then
3892 # We found a bogon in the path, so make sure we never use it.
3893 set dummy $ac_cv_prog_CC
3894 shift
3895 if test $# != 0; then
3896 # We chose a different compiler from the bogus one.
3897 # However, it has the same basename, so the bogon will be chosen
3898 # first if we set CC to just the basename; use the full file name.
3899 shift
3900 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3901 fi
3902 fi
3903 fi
3904 fi
3905 CC=$ac_cv_prog_CC
3906 if test -n "$CC"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3908 $as_echo "$CC" >&6; }
3909 else
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3912 fi
3913
3914
3915 fi
3916 if test -z "$CC"; then
3917 if test -n "$ac_tool_prefix"; then
3918 for ac_prog in cl.exe
3919 do
3920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if ${ac_cv_prog_CC+:} false; then :
3925 $as_echo_n "(cached) " >&6
3926 else
3927 if test -n "$CC"; then
3928 ac_cv_prog_CC="$CC" # Let the user override the test.
3929 else
3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931 for as_dir in $PATH
3932 do
3933 IFS=$as_save_IFS
3934 test -z "$as_dir" && as_dir=.
3935 for ac_exec_ext in '' $ac_executable_extensions; do
3936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3937 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 break 2
3940 fi
3941 done
3942 done
3943 IFS=$as_save_IFS
3944
3945 fi
3946 fi
3947 CC=$ac_cv_prog_CC
3948 if test -n "$CC"; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3950 $as_echo "$CC" >&6; }
3951 else
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3954 fi
3955
3956
3957 test -n "$CC" && break
3958 done
3959 fi
3960 if test -z "$CC"; then
3961 ac_ct_CC=$CC
3962 for ac_prog in cl.exe
3963 do
3964 # Extract the first word of "$ac_prog", so it can be a program name with args.
3965 set dummy $ac_prog; ac_word=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3969 $as_echo_n "(cached) " >&6
3970 else
3971 if test -n "$ac_ct_CC"; then
3972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3973 else
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 for as_dir in $PATH
3976 do
3977 IFS=$as_save_IFS
3978 test -z "$as_dir" && as_dir=.
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3981 ac_cv_prog_ac_ct_CC="$ac_prog"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 break 2
3984 fi
3985 done
3986 done
3987 IFS=$as_save_IFS
3988
3989 fi
3990 fi
3991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3992 if test -n "$ac_ct_CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3994 $as_echo "$ac_ct_CC" >&6; }
3995 else
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
3998 fi
3999
4000
4001 test -n "$ac_ct_CC" && break
4002 done
4003
4004 if test "x$ac_ct_CC" = x; then
4005 CC=""
4006 else
4007 case $cross_compiling:$ac_tool_warned in
4008 yes:)
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4011 ac_tool_warned=yes ;;
4012 esac
4013 CC=$ac_ct_CC
4014 fi
4015 fi
4016
4017 fi
4018
4019
4020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4022 as_fn_error $? "no acceptable C compiler found in \$PATH
4023 See \`config.log' for more details" "$LINENO" 5; }
4024
4025 # Provide some information about the compiler.
4026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4027 set X $ac_compile
4028 ac_compiler=$2
4029 for ac_option in --version -v -V -qversion; do
4030 { { ac_try="$ac_compiler $ac_option >&5"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4038 ac_status=$?
4039 if test -s conftest.err; then
4040 sed '10a\
4041 ... rest of stderr output deleted ...
4042 10q' conftest.err >conftest.er1
4043 cat conftest.er1 >&5
4044 fi
4045 rm -f conftest.er1 conftest.err
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }
4048 done
4049
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4052 #include <stdio.h>
4053 int
4054 main ()
4055 {
4056 printf ("hello world\n");
4057 ;
4058 return 0;
4059 }
4060 _ACEOF
4061 # FIXME: Cleanup?
4062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4063 (eval $ac_link) 2>&5
4064 ac_status=$?
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; then :
4067 gcc_no_link=no
4068 else
4069 gcc_no_link=yes
4070 fi
4071 if test x$gcc_no_link = xyes; then
4072 # Setting cross_compile will disable run tests; it will
4073 # also disable AC_CHECK_FILE but that's generally
4074 # correct if we can't link.
4075 cross_compiling=yes
4076 EXEEXT=
4077 else
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4080
4081 int
4082 main ()
4083 {
4084
4085 ;
4086 return 0;
4087 }
4088 _ACEOF
4089 ac_clean_files_save=$ac_clean_files
4090 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4091 # Try to create an executable without -o first, disregard a.out.
4092 # It will help us diagnose broken compilers, and finding out an intuition
4093 # of exeext.
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4095 $as_echo_n "checking whether the C compiler works... " >&6; }
4096 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4097
4098 # The possible output files:
4099 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4100
4101 ac_rmfiles=
4102 for ac_file in $ac_files
4103 do
4104 case $ac_file in
4105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4106 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4107 esac
4108 done
4109 rm -f $ac_rmfiles
4110
4111 if { { ac_try="$ac_link_default"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_link_default") 2>&5
4119 ac_status=$?
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4123 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4124 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4125 # so that the user can short-circuit this test for compilers unknown to
4126 # Autoconf.
4127 for ac_file in $ac_files ''
4128 do
4129 test -f "$ac_file" || continue
4130 case $ac_file in
4131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4132 ;;
4133 [ab].out )
4134 # We found the default executable, but exeext='' is most
4135 # certainly right.
4136 break;;
4137 *.* )
4138 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4139 then :; else
4140 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 fi
4142 # We set ac_cv_exeext here because the later test for it is not
4143 # safe: cross compilers may not add the suffix if given an `-o'
4144 # argument, so we may need to know it at that point already.
4145 # Even if this section looks crufty: it has the advantage of
4146 # actually working.
4147 break;;
4148 * )
4149 break;;
4150 esac
4151 done
4152 test "$ac_cv_exeext" = no && ac_cv_exeext=
4153
4154 else
4155 ac_file=''
4156 fi
4157 if test -z "$ac_file"; then :
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4160 $as_echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.$ac_ext >&5
4162
4163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 as_fn_error 77 "C compiler cannot create executables
4166 See \`config.log' for more details" "$LINENO" 5; }
4167 else
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4169 $as_echo "yes" >&6; }
4170 fi
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4172 $as_echo_n "checking for C compiler default output file name... " >&6; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4174 $as_echo "$ac_file" >&6; }
4175 ac_exeext=$ac_cv_exeext
4176
4177 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4178 ac_clean_files=$ac_clean_files_save
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4180 $as_echo_n "checking for suffix of executables... " >&6; }
4181 if { { ac_try="$ac_link"
4182 case "(($ac_try" in
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4185 esac
4186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187 $as_echo "$ac_try_echo"; } >&5
4188 (eval "$ac_link") 2>&5
4189 ac_status=$?
4190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191 test $ac_status = 0; }; then :
4192 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4193 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4194 # work properly (i.e., refer to `conftest.exe'), while it won't with
4195 # `rm'.
4196 for ac_file in conftest.exe conftest conftest.*; do
4197 test -f "$ac_file" || continue
4198 case $ac_file in
4199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4200 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4201 break;;
4202 * ) break;;
4203 esac
4204 done
4205 else
4206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4209 See \`config.log' for more details" "$LINENO" 5; }
4210 fi
4211 rm -f conftest conftest$ac_cv_exeext
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4213 $as_echo "$ac_cv_exeext" >&6; }
4214
4215 rm -f conftest.$ac_ext
4216 EXEEXT=$ac_cv_exeext
4217 ac_exeext=$EXEEXT
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220 #include <stdio.h>
4221 int
4222 main ()
4223 {
4224 FILE *f = fopen ("conftest.out", "w");
4225 return ferror (f) || fclose (f) != 0;
4226
4227 ;
4228 return 0;
4229 }
4230 _ACEOF
4231 ac_clean_files="$ac_clean_files conftest.out"
4232 # Check that the compiler produces executables we can run. If not, either
4233 # the compiler is broken, or we cross compile.
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4235 $as_echo_n "checking whether we are cross compiling... " >&6; }
4236 if test "$cross_compiling" != yes; then
4237 { { ac_try="$ac_link"
4238 case "(($ac_try" in
4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4241 esac
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_link") 2>&5
4245 ac_status=$?
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }
4248 if { ac_try='./conftest$ac_cv_exeext'
4249 { { case "(($ac_try" in
4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4251 *) ac_try_echo=$ac_try;;
4252 esac
4253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4254 $as_echo "$ac_try_echo"; } >&5
4255 (eval "$ac_try") 2>&5
4256 ac_status=$?
4257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4258 test $ac_status = 0; }; }; then
4259 cross_compiling=no
4260 else
4261 if test "$cross_compiling" = maybe; then
4262 cross_compiling=yes
4263 else
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error $? "cannot run C compiled programs.
4267 If you meant to cross compile, use \`--host'.
4268 See \`config.log' for more details" "$LINENO" 5; }
4269 fi
4270 fi
4271 fi
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4273 $as_echo "$cross_compiling" >&6; }
4274
4275 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4276 ac_clean_files=$ac_clean_files_save
4277 fi
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4279 $as_echo_n "checking for suffix of object files... " >&6; }
4280 if ${ac_cv_objext+:} false; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4285
4286 int
4287 main ()
4288 {
4289
4290 ;
4291 return 0;
4292 }
4293 _ACEOF
4294 rm -f conftest.o conftest.obj
4295 if { { ac_try="$ac_compile"
4296 case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4299 esac
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_compile") 2>&5
4303 ac_status=$?
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; }; then :
4306 for ac_file in conftest.o conftest.obj conftest.*; do
4307 test -f "$ac_file" || continue;
4308 case $ac_file in
4309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4310 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4311 break;;
4312 esac
4313 done
4314 else
4315 $as_echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.$ac_ext >&5
4317
4318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error $? "cannot compute suffix of object files: cannot compile
4321 See \`config.log' for more details" "$LINENO" 5; }
4322 fi
4323 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4324 fi
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4326 $as_echo "$ac_cv_objext" >&6; }
4327 OBJEXT=$ac_cv_objext
4328 ac_objext=$OBJEXT
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4330 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4331 if ${ac_cv_c_compiler_gnu+:} false; then :
4332 $as_echo_n "(cached) " >&6
4333 else
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4336
4337 int
4338 main ()
4339 {
4340 #ifndef __GNUC__
4341 choke me
4342 #endif
4343
4344 ;
4345 return 0;
4346 }
4347 _ACEOF
4348 if ac_fn_c_try_compile "$LINENO"; then :
4349 ac_compiler_gnu=yes
4350 else
4351 ac_compiler_gnu=no
4352 fi
4353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4355
4356 fi
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4358 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4359 if test $ac_compiler_gnu = yes; then
4360 GCC=yes
4361 else
4362 GCC=
4363 fi
4364 ac_test_CFLAGS=${CFLAGS+set}
4365 ac_save_CFLAGS=$CFLAGS
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4367 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4368 if ${ac_cv_prog_cc_g+:} false; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 ac_save_c_werror_flag=$ac_c_werror_flag
4372 ac_c_werror_flag=yes
4373 ac_cv_prog_cc_g=no
4374 CFLAGS="-g"
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4377
4378 int
4379 main ()
4380 {
4381
4382 ;
4383 return 0;
4384 }
4385 _ACEOF
4386 if ac_fn_c_try_compile "$LINENO"; then :
4387 ac_cv_prog_cc_g=yes
4388 else
4389 CFLAGS=""
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4392
4393 int
4394 main ()
4395 {
4396
4397 ;
4398 return 0;
4399 }
4400 _ACEOF
4401 if ac_fn_c_try_compile "$LINENO"; then :
4402
4403 else
4404 ac_c_werror_flag=$ac_save_c_werror_flag
4405 CFLAGS="-g"
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4408
4409 int
4410 main ()
4411 {
4412
4413 ;
4414 return 0;
4415 }
4416 _ACEOF
4417 if ac_fn_c_try_compile "$LINENO"; then :
4418 ac_cv_prog_cc_g=yes
4419 fi
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421 fi
4422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4423 fi
4424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 ac_c_werror_flag=$ac_save_c_werror_flag
4426 fi
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4428 $as_echo "$ac_cv_prog_cc_g" >&6; }
4429 if test "$ac_test_CFLAGS" = set; then
4430 CFLAGS=$ac_save_CFLAGS
4431 elif test $ac_cv_prog_cc_g = yes; then
4432 if test "$GCC" = yes; then
4433 CFLAGS="-g -O2"
4434 else
4435 CFLAGS="-g"
4436 fi
4437 else
4438 if test "$GCC" = yes; then
4439 CFLAGS="-O2"
4440 else
4441 CFLAGS=
4442 fi
4443 fi
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4445 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4446 if ${ac_cv_prog_cc_c89+:} false; then :
4447 $as_echo_n "(cached) " >&6
4448 else
4449 ac_cv_prog_cc_c89=no
4450 ac_save_CC=$CC
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4453 #include <stdarg.h>
4454 #include <stdio.h>
4455 struct stat;
4456 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4457 struct buf { int x; };
4458 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4459 static char *e (p, i)
4460 char **p;
4461 int i;
4462 {
4463 return p[i];
4464 }
4465 static char *f (char * (*g) (char **, int), char **p, ...)
4466 {
4467 char *s;
4468 va_list v;
4469 va_start (v,p);
4470 s = g (p, va_arg (v,int));
4471 va_end (v);
4472 return s;
4473 }
4474
4475 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4476 function prototypes and stuff, but not '\xHH' hex character constants.
4477 These don't provoke an error unfortunately, instead are silently treated
4478 as 'x'. The following induces an error, until -std is added to get
4479 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4480 array size at least. It's necessary to write '\x00'==0 to get something
4481 that's true only with -std. */
4482 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4483
4484 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4485 inside strings and character constants. */
4486 #define FOO(x) 'x'
4487 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4488
4489 int test (int i, double x);
4490 struct s1 {int (*f) (int a);};
4491 struct s2 {int (*f) (double a);};
4492 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4493 int argc;
4494 char **argv;
4495 int
4496 main ()
4497 {
4498 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4499 ;
4500 return 0;
4501 }
4502 _ACEOF
4503 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4504 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4505 do
4506 CC="$ac_save_CC $ac_arg"
4507 if ac_fn_c_try_compile "$LINENO"; then :
4508 ac_cv_prog_cc_c89=$ac_arg
4509 fi
4510 rm -f core conftest.err conftest.$ac_objext
4511 test "x$ac_cv_prog_cc_c89" != "xno" && break
4512 done
4513 rm -f conftest.$ac_ext
4514 CC=$ac_save_CC
4515
4516 fi
4517 # AC_CACHE_VAL
4518 case "x$ac_cv_prog_cc_c89" in
4519 x)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4521 $as_echo "none needed" >&6; } ;;
4522 xno)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4524 $as_echo "unsupported" >&6; } ;;
4525 *)
4526 CC="$CC $ac_cv_prog_cc_c89"
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4528 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4529 esac
4530 if test "x$ac_cv_prog_cc_c89" != xno; then :
4531
4532 fi
4533
4534 ac_ext=c
4535 ac_cpp='$CPP $CPPFLAGS'
4536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4539
4540 ac_ext=c
4541 ac_cpp='$CPP $CPPFLAGS'
4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4546 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4547 if ${am_cv_prog_cc_c_o+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4552
4553 int
4554 main ()
4555 {
4556
4557 ;
4558 return 0;
4559 }
4560 _ACEOF
4561 # Make sure it works both with $CC and with simple cc.
4562 # Following AC_PROG_CC_C_O, we do the test twice because some
4563 # compilers refuse to overwrite an existing .o file with -o,
4564 # though they will create one.
4565 am_cv_prog_cc_c_o=yes
4566 for am_i in 1 2; do
4567 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4568 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4569 ac_status=$?
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } \
4572 && test -f conftest2.$ac_objext; then
4573 : OK
4574 else
4575 am_cv_prog_cc_c_o=no
4576 break
4577 fi
4578 done
4579 rm -f core conftest*
4580 unset am_i
4581 fi
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4583 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4584 if test "$am_cv_prog_cc_c_o" != yes; then
4585 # Losing compiler, so override with the script.
4586 # FIXME: It is wrong to rewrite CC.
4587 # But if we don't then we get into trouble of one sort or another.
4588 # A longer-term fix would be to have automake use am__CC in this case,
4589 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4590 CC="$am_aux_dir/compile $CC"
4591 fi
4592 ac_ext=c
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597
4598
4599 depcc="$CC" am_compiler_list=
4600
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4602 $as_echo_n "checking dependency style of $depcc... " >&6; }
4603 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4607 # We make a subdir and do the tests there. Otherwise we can end up
4608 # making bogus files that we don't know about and never remove. For
4609 # instance it was reported that on HP-UX the gcc test will end up
4610 # making a dummy file named 'D' -- because '-MD' means "put the output
4611 # in D".
4612 rm -rf conftest.dir
4613 mkdir conftest.dir
4614 # Copy depcomp to subdir because otherwise we won't find it if we're
4615 # using a relative directory.
4616 cp "$am_depcomp" conftest.dir
4617 cd conftest.dir
4618 # We will build objects and dependencies in a subdirectory because
4619 # it helps to detect inapplicable dependency modes. For instance
4620 # both Tru64's cc and ICC support -MD to output dependencies as a
4621 # side effect of compilation, but ICC will put the dependencies in
4622 # the current directory while Tru64 will put them in the object
4623 # directory.
4624 mkdir sub
4625
4626 am_cv_CC_dependencies_compiler_type=none
4627 if test "$am_compiler_list" = ""; then
4628 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4629 fi
4630 am__universal=false
4631 case " $depcc " in #(
4632 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4633 esac
4634
4635 for depmode in $am_compiler_list; do
4636 # Setup a source with many dependencies, because some compilers
4637 # like to wrap large dependency lists on column 80 (with \), and
4638 # we should not choose a depcomp mode which is confused by this.
4639 #
4640 # We need to recreate these files for each test, as the compiler may
4641 # overwrite some of them when testing with obscure command lines.
4642 # This happens at least with the AIX C compiler.
4643 : > sub/conftest.c
4644 for i in 1 2 3 4 5 6; do
4645 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4646 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4647 # Solaris 10 /bin/sh.
4648 echo '/* dummy */' > sub/conftst$i.h
4649 done
4650 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4651
4652 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4653 # mode. It turns out that the SunPro C++ compiler does not properly
4654 # handle '-M -o', and we need to detect this. Also, some Intel
4655 # versions had trouble with output in subdirs.
4656 am__obj=sub/conftest.${OBJEXT-o}
4657 am__minus_obj="-o $am__obj"
4658 case $depmode in
4659 gcc)
4660 # This depmode causes a compiler race in universal mode.
4661 test "$am__universal" = false || continue
4662 ;;
4663 nosideeffect)
4664 # After this tag, mechanisms are not by side-effect, so they'll
4665 # only be used when explicitly requested.
4666 if test "x$enable_dependency_tracking" = xyes; then
4667 continue
4668 else
4669 break
4670 fi
4671 ;;
4672 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4673 # This compiler won't grok '-c -o', but also, the minuso test has
4674 # not run yet. These depmodes are late enough in the game, and
4675 # so weak that their functioning should not be impacted.
4676 am__obj=conftest.${OBJEXT-o}
4677 am__minus_obj=
4678 ;;
4679 none) break ;;
4680 esac
4681 if depmode=$depmode \
4682 source=sub/conftest.c object=$am__obj \
4683 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4684 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4685 >/dev/null 2>conftest.err &&
4686 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4687 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4688 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4689 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4690 # icc doesn't choke on unknown options, it will just issue warnings
4691 # or remarks (even with -Werror). So we grep stderr for any message
4692 # that says an option was ignored or not supported.
4693 # When given -MP, icc 7.0 and 7.1 complain thusly:
4694 # icc: Command line warning: ignoring option '-M'; no argument required
4695 # The diagnosis changed in icc 8.0:
4696 # icc: Command line remark: option '-MP' not supported
4697 if (grep 'ignoring option' conftest.err ||
4698 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4699 am_cv_CC_dependencies_compiler_type=$depmode
4700 break
4701 fi
4702 fi
4703 done
4704
4705 cd ..
4706 rm -rf conftest.dir
4707 else
4708 am_cv_CC_dependencies_compiler_type=none
4709 fi
4710
4711 fi
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4713 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4714 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4715
4716 if
4717 test "x$enable_dependency_tracking" != xno \
4718 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4719 am__fastdepCC_TRUE=
4720 am__fastdepCC_FALSE='#'
4721 else
4722 am__fastdepCC_TRUE='#'
4723 am__fastdepCC_FALSE=
4724 fi
4725
4726
4727
4728 ac_ext=c
4729 ac_cpp='$CPP $CPPFLAGS'
4730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4734 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4735 # On Suns, sometimes $CPP names a directory.
4736 if test -n "$CPP" && test -d "$CPP"; then
4737 CPP=
4738 fi
4739 if test -z "$CPP"; then
4740 if ${ac_cv_prog_CPP+:} false; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 # Double quotes because CPP needs to be expanded
4744 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4745 do
4746 ac_preproc_ok=false
4747 for ac_c_preproc_warn_flag in '' yes
4748 do
4749 # Use a header file that comes with gcc, so configuring glibc
4750 # with a fresh cross-compiler works.
4751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4752 # <limits.h> exists even on freestanding compilers.
4753 # On the NeXT, cc -E runs the code through the compiler's parser,
4754 # not just through cpp. "Syntax error" is here to catch this case.
4755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4757 #ifdef __STDC__
4758 # include <limits.h>
4759 #else
4760 # include <assert.h>
4761 #endif
4762 Syntax error
4763 _ACEOF
4764 if ac_fn_c_try_cpp "$LINENO"; then :
4765
4766 else
4767 # Broken: fails on valid input.
4768 continue
4769 fi
4770 rm -f conftest.err conftest.i conftest.$ac_ext
4771
4772 # OK, works on sane cases. Now check whether nonexistent headers
4773 # can be detected and how.
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4776 #include <ac_nonexistent.h>
4777 _ACEOF
4778 if ac_fn_c_try_cpp "$LINENO"; then :
4779 # Broken: success on invalid input.
4780 continue
4781 else
4782 # Passes both tests.
4783 ac_preproc_ok=:
4784 break
4785 fi
4786 rm -f conftest.err conftest.i conftest.$ac_ext
4787
4788 done
4789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4790 rm -f conftest.i conftest.err conftest.$ac_ext
4791 if $ac_preproc_ok; then :
4792 break
4793 fi
4794
4795 done
4796 ac_cv_prog_CPP=$CPP
4797
4798 fi
4799 CPP=$ac_cv_prog_CPP
4800 else
4801 ac_cv_prog_CPP=$CPP
4802 fi
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4804 $as_echo "$CPP" >&6; }
4805 ac_preproc_ok=false
4806 for ac_c_preproc_warn_flag in '' yes
4807 do
4808 # Use a header file that comes with gcc, so configuring glibc
4809 # with a fresh cross-compiler works.
4810 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4811 # <limits.h> exists even on freestanding compilers.
4812 # On the NeXT, cc -E runs the code through the compiler's parser,
4813 # not just through cpp. "Syntax error" is here to catch this case.
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4816 #ifdef __STDC__
4817 # include <limits.h>
4818 #else
4819 # include <assert.h>
4820 #endif
4821 Syntax error
4822 _ACEOF
4823 if ac_fn_c_try_cpp "$LINENO"; then :
4824
4825 else
4826 # Broken: fails on valid input.
4827 continue
4828 fi
4829 rm -f conftest.err conftest.i conftest.$ac_ext
4830
4831 # OK, works on sane cases. Now check whether nonexistent headers
4832 # can be detected and how.
4833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834 /* end confdefs.h. */
4835 #include <ac_nonexistent.h>
4836 _ACEOF
4837 if ac_fn_c_try_cpp "$LINENO"; then :
4838 # Broken: success on invalid input.
4839 continue
4840 else
4841 # Passes both tests.
4842 ac_preproc_ok=:
4843 break
4844 fi
4845 rm -f conftest.err conftest.i conftest.$ac_ext
4846
4847 done
4848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4849 rm -f conftest.i conftest.err conftest.$ac_ext
4850 if $ac_preproc_ok; then :
4851
4852 else
4853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4855 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4856 See \`config.log' for more details" "$LINENO" 5; }
4857 fi
4858
4859 ac_ext=c
4860 ac_cpp='$CPP $CPPFLAGS'
4861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4864
4865
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4867 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4868 if ${ac_cv_path_GREP+:} false; then :
4869 $as_echo_n "(cached) " >&6
4870 else
4871 if test -z "$GREP"; then
4872 ac_path_GREP_found=false
4873 # Loop through the user's path and test for each of PROGNAME-LIST
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4876 do
4877 IFS=$as_save_IFS
4878 test -z "$as_dir" && as_dir=.
4879 for ac_prog in grep ggrep; do
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4882 as_fn_executable_p "$ac_path_GREP" || continue
4883 # Check for GNU ac_path_GREP and select it if it is found.
4884 # Check for GNU $ac_path_GREP
4885 case `"$ac_path_GREP" --version 2>&1` in
4886 *GNU*)
4887 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4888 *)
4889 ac_count=0
4890 $as_echo_n 0123456789 >"conftest.in"
4891 while :
4892 do
4893 cat "conftest.in" "conftest.in" >"conftest.tmp"
4894 mv "conftest.tmp" "conftest.in"
4895 cp "conftest.in" "conftest.nl"
4896 $as_echo 'GREP' >> "conftest.nl"
4897 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4898 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4899 as_fn_arith $ac_count + 1 && ac_count=$as_val
4900 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4901 # Best one so far, save it but keep looking for a better one
4902 ac_cv_path_GREP="$ac_path_GREP"
4903 ac_path_GREP_max=$ac_count
4904 fi
4905 # 10*(2^10) chars as input seems more than enough
4906 test $ac_count -gt 10 && break
4907 done
4908 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4909 esac
4910
4911 $ac_path_GREP_found && break 3
4912 done
4913 done
4914 done
4915 IFS=$as_save_IFS
4916 if test -z "$ac_cv_path_GREP"; then
4917 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4918 fi
4919 else
4920 ac_cv_path_GREP=$GREP
4921 fi
4922
4923 fi
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4925 $as_echo "$ac_cv_path_GREP" >&6; }
4926 GREP="$ac_cv_path_GREP"
4927
4928
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4930 $as_echo_n "checking for egrep... " >&6; }
4931 if ${ac_cv_path_EGREP+:} false; then :
4932 $as_echo_n "(cached) " >&6
4933 else
4934 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4935 then ac_cv_path_EGREP="$GREP -E"
4936 else
4937 if test -z "$EGREP"; then
4938 ac_path_EGREP_found=false
4939 # Loop through the user's path and test for each of PROGNAME-LIST
4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4942 do
4943 IFS=$as_save_IFS
4944 test -z "$as_dir" && as_dir=.
4945 for ac_prog in egrep; do
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4948 as_fn_executable_p "$ac_path_EGREP" || continue
4949 # Check for GNU ac_path_EGREP and select it if it is found.
4950 # Check for GNU $ac_path_EGREP
4951 case `"$ac_path_EGREP" --version 2>&1` in
4952 *GNU*)
4953 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4954 *)
4955 ac_count=0
4956 $as_echo_n 0123456789 >"conftest.in"
4957 while :
4958 do
4959 cat "conftest.in" "conftest.in" >"conftest.tmp"
4960 mv "conftest.tmp" "conftest.in"
4961 cp "conftest.in" "conftest.nl"
4962 $as_echo 'EGREP' >> "conftest.nl"
4963 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4964 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4965 as_fn_arith $ac_count + 1 && ac_count=$as_val
4966 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4967 # Best one so far, save it but keep looking for a better one
4968 ac_cv_path_EGREP="$ac_path_EGREP"
4969 ac_path_EGREP_max=$ac_count
4970 fi
4971 # 10*(2^10) chars as input seems more than enough
4972 test $ac_count -gt 10 && break
4973 done
4974 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4975 esac
4976
4977 $ac_path_EGREP_found && break 3
4978 done
4979 done
4980 done
4981 IFS=$as_save_IFS
4982 if test -z "$ac_cv_path_EGREP"; then
4983 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4984 fi
4985 else
4986 ac_cv_path_EGREP=$EGREP
4987 fi
4988
4989 fi
4990 fi
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4992 $as_echo "$ac_cv_path_EGREP" >&6; }
4993 EGREP="$ac_cv_path_EGREP"
4994
4995
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4997 $as_echo_n "checking for ANSI C header files... " >&6; }
4998 if ${ac_cv_header_stdc+:} false; then :
4999 $as_echo_n "(cached) " >&6
5000 else
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5003 #include <stdlib.h>
5004 #include <stdarg.h>
5005 #include <string.h>
5006 #include <float.h>
5007
5008 int
5009 main ()
5010 {
5011
5012 ;
5013 return 0;
5014 }
5015 _ACEOF
5016 if ac_fn_c_try_compile "$LINENO"; then :
5017 ac_cv_header_stdc=yes
5018 else
5019 ac_cv_header_stdc=no
5020 fi
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022
5023 if test $ac_cv_header_stdc = yes; then
5024 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5027 #include <string.h>
5028
5029 _ACEOF
5030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5031 $EGREP "memchr" >/dev/null 2>&1; then :
5032
5033 else
5034 ac_cv_header_stdc=no
5035 fi
5036 rm -f conftest*
5037
5038 fi
5039
5040 if test $ac_cv_header_stdc = yes; then
5041 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5044 #include <stdlib.h>
5045
5046 _ACEOF
5047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5048 $EGREP "free" >/dev/null 2>&1; then :
5049
5050 else
5051 ac_cv_header_stdc=no
5052 fi
5053 rm -f conftest*
5054
5055 fi
5056
5057 if test $ac_cv_header_stdc = yes; then
5058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5059 if test "$cross_compiling" = yes; then :
5060 :
5061 else
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5064 #include <ctype.h>
5065 #include <stdlib.h>
5066 #if ((' ' & 0x0FF) == 0x020)
5067 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5068 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5069 #else
5070 # define ISLOWER(c) \
5071 (('a' <= (c) && (c) <= 'i') \
5072 || ('j' <= (c) && (c) <= 'r') \
5073 || ('s' <= (c) && (c) <= 'z'))
5074 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5075 #endif
5076
5077 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5078 int
5079 main ()
5080 {
5081 int i;
5082 for (i = 0; i < 256; i++)
5083 if (XOR (islower (i), ISLOWER (i))
5084 || toupper (i) != TOUPPER (i))
5085 return 2;
5086 return 0;
5087 }
5088 _ACEOF
5089 if ac_fn_c_try_run "$LINENO"; then :
5090
5091 else
5092 ac_cv_header_stdc=no
5093 fi
5094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5095 conftest.$ac_objext conftest.beam conftest.$ac_ext
5096 fi
5097
5098 fi
5099 fi
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5101 $as_echo "$ac_cv_header_stdc" >&6; }
5102 if test $ac_cv_header_stdc = yes; then
5103
5104 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5105
5106 fi
5107
5108 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5109 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5110 inttypes.h stdint.h unistd.h
5111 do :
5112 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5113 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5114 "
5115 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5116 cat >>confdefs.h <<_ACEOF
5117 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5118 _ACEOF
5119
5120 fi
5121
5122 done
5123
5124
5125
5126 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5127 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5128 MINIX=yes
5129 else
5130 MINIX=
5131 fi
5132
5133
5134 if test "$MINIX" = yes; then
5135
5136 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5137
5138
5139 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5140
5141
5142 $as_echo "#define _MINIX 1" >>confdefs.h
5143
5144 fi
5145
5146
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5148 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5149 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154
5155 # define __EXTENSIONS__ 1
5156 $ac_includes_default
5157 int
5158 main ()
5159 {
5160
5161 ;
5162 return 0;
5163 }
5164 _ACEOF
5165 if ac_fn_c_try_compile "$LINENO"; then :
5166 ac_cv_safe_to_define___extensions__=yes
5167 else
5168 ac_cv_safe_to_define___extensions__=no
5169 fi
5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5171 fi
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5173 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5174 test $ac_cv_safe_to_define___extensions__ = yes &&
5175 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5176
5177 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5178
5179 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5180
5181 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5182
5183 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5184
5185
5186
5187
5188 # Check whether --with-toolexeclibdir was given.
5189 if test "${with_toolexeclibdir+set}" = set; then :
5190 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5191 /)
5192 ;;
5193 */)
5194 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5195 ;;
5196 esac
5197 else
5198 with_toolexeclibdir=no
5199 fi
5200
5201
5202
5203 # Calculate toolexeclibdir
5204 # Also toolexecdir, though it's only used in toolexeclibdir
5205 case ${version_specific_libs} in
5206 yes)
5207 # Need the gcc compiler version to know where to install libraries
5208 # and header files if --enable-version-specific-runtime-libs option
5209 # is selected.
5210 toolexecdir='$(libdir)/gcc/$(target_alias)'
5211 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5212 ;;
5213 no)
5214 if test -n "$with_cross_host" &&
5215 test x"$with_cross_host" != x"no"; then
5216 # Install a library built with a cross compiler in tooldir, not libdir.
5217 toolexecdir='$(exec_prefix)/$(target_alias)'
5218 case ${with_toolexeclibdir} in
5219 no)
5220 toolexeclibdir='$(toolexecdir)/lib'
5221 ;;
5222 *)
5223 toolexeclibdir=${with_toolexeclibdir}
5224 ;;
5225 esac
5226 else
5227 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5228 toolexeclibdir='$(libdir)'
5229 fi
5230 multi_os_directory=`$CC -print-multi-os-directory`
5231 case $multi_os_directory in
5232 .) ;; # Avoid trailing /.
5233 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5234 esac
5235 ;;
5236 esac
5237
5238
5239
5240 # Create a spec file, so that compile/link tests don't fail
5241 test -f libgfortran.spec || touch libgfortran.spec
5242
5243 ac_ext=c
5244 ac_cpp='$CPP $CPPFLAGS'
5245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5248
5249 # Check the compiler.
5250 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5251 # We must force CC to /not/ be precious variables; otherwise
5252 # the wrong, non-multilib-adjusted value will be used in multilibs.
5253 # As a side effect, we have to subst CFLAGS ourselves.
5254
5255
5256
5257 ac_ext=c
5258 ac_cpp='$CPP $CPPFLAGS'
5259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5262 if test -n "$ac_tool_prefix"; then
5263 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5264 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_CC+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$CC"; then
5271 ac_cv_prog_CC="$CC" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5275 do
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5283 fi
5284 done
5285 done
5286 IFS=$as_save_IFS
5287
5288 fi
5289 fi
5290 CC=$ac_cv_prog_CC
5291 if test -n "$CC"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5293 $as_echo "$CC" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5297 fi
5298
5299
5300 fi
5301 if test -z "$ac_cv_prog_CC"; then
5302 ac_ct_CC=$CC
5303 # Extract the first word of "gcc", so it can be a program name with args.
5304 set dummy gcc; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -n "$ac_ct_CC"; then
5311 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5312 else
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 for as_dir in $PATH
5315 do
5316 IFS=$as_save_IFS
5317 test -z "$as_dir" && as_dir=.
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_ac_ct_CC="gcc"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 break 2
5323 fi
5324 done
5325 done
5326 IFS=$as_save_IFS
5327
5328 fi
5329 fi
5330 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5331 if test -n "$ac_ct_CC"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5333 $as_echo "$ac_ct_CC" >&6; }
5334 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5337 fi
5338
5339 if test "x$ac_ct_CC" = x; then
5340 CC=""
5341 else
5342 case $cross_compiling:$ac_tool_warned in
5343 yes:)
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346 ac_tool_warned=yes ;;
5347 esac
5348 CC=$ac_ct_CC
5349 fi
5350 else
5351 CC="$ac_cv_prog_CC"
5352 fi
5353
5354 if test -z "$CC"; then
5355 if test -n "$ac_tool_prefix"; then
5356 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5357 set dummy ${ac_tool_prefix}cc; ac_word=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_CC+:} false; then :
5361 $as_echo_n "(cached) " >&6
5362 else
5363 if test -n "$CC"; then
5364 ac_cv_prog_CC="$CC" # Let the user override the test.
5365 else
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 for as_dir in $PATH
5368 do
5369 IFS=$as_save_IFS
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_CC="${ac_tool_prefix}cc"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 break 2
5376 fi
5377 done
5378 done
5379 IFS=$as_save_IFS
5380
5381 fi
5382 fi
5383 CC=$ac_cv_prog_CC
5384 if test -n "$CC"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5386 $as_echo "$CC" >&6; }
5387 else
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5390 fi
5391
5392
5393 fi
5394 fi
5395 if test -z "$CC"; then
5396 # Extract the first word of "cc", so it can be a program name with args.
5397 set dummy cc; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_CC+:} false; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 if test -n "$CC"; then
5404 ac_cv_prog_CC="$CC" # Let the user override the test.
5405 else
5406 ac_prog_rejected=no
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 for as_dir in $PATH
5409 do
5410 IFS=$as_save_IFS
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5415 ac_prog_rejected=yes
5416 continue
5417 fi
5418 ac_cv_prog_CC="cc"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5421 fi
5422 done
5423 done
5424 IFS=$as_save_IFS
5425
5426 if test $ac_prog_rejected = yes; then
5427 # We found a bogon in the path, so make sure we never use it.
5428 set dummy $ac_cv_prog_CC
5429 shift
5430 if test $# != 0; then
5431 # We chose a different compiler from the bogus one.
5432 # However, it has the same basename, so the bogon will be chosen
5433 # first if we set CC to just the basename; use the full file name.
5434 shift
5435 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5436 fi
5437 fi
5438 fi
5439 fi
5440 CC=$ac_cv_prog_CC
5441 if test -n "$CC"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5443 $as_echo "$CC" >&6; }
5444 else
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5447 fi
5448
5449
5450 fi
5451 if test -z "$CC"; then
5452 if test -n "$ac_tool_prefix"; then
5453 for ac_prog in cl.exe
5454 do
5455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_CC+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if test -n "$CC"; then
5463 ac_cv_prog_CC="$CC" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5467 do
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5475 fi
5476 done
5477 done
5478 IFS=$as_save_IFS
5479
5480 fi
5481 fi
5482 CC=$ac_cv_prog_CC
5483 if test -n "$CC"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5485 $as_echo "$CC" >&6; }
5486 else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5489 fi
5490
5491
5492 test -n "$CC" && break
5493 done
5494 fi
5495 if test -z "$CC"; then
5496 ac_ct_CC=$CC
5497 for ac_prog in cl.exe
5498 do
5499 # Extract the first word of "$ac_prog", so it can be a program name with args.
5500 set dummy $ac_prog; ac_word=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5504 $as_echo_n "(cached) " >&6
5505 else
5506 if test -n "$ac_ct_CC"; then
5507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5508 else
5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 for as_dir in $PATH
5511 do
5512 IFS=$as_save_IFS
5513 test -z "$as_dir" && as_dir=.
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_ac_ct_CC="$ac_prog"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 break 2
5519 fi
5520 done
5521 done
5522 IFS=$as_save_IFS
5523
5524 fi
5525 fi
5526 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5527 if test -n "$ac_ct_CC"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5529 $as_echo "$ac_ct_CC" >&6; }
5530 else
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5533 fi
5534
5535
5536 test -n "$ac_ct_CC" && break
5537 done
5538
5539 if test "x$ac_ct_CC" = x; then
5540 CC=""
5541 else
5542 case $cross_compiling:$ac_tool_warned in
5543 yes:)
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5546 ac_tool_warned=yes ;;
5547 esac
5548 CC=$ac_ct_CC
5549 fi
5550 fi
5551
5552 fi
5553
5554
5555 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5557 as_fn_error $? "no acceptable C compiler found in \$PATH
5558 See \`config.log' for more details" "$LINENO" 5; }
5559
5560 # Provide some information about the compiler.
5561 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5562 set X $ac_compile
5563 ac_compiler=$2
5564 for ac_option in --version -v -V -qversion; do
5565 { { ac_try="$ac_compiler $ac_option >&5"
5566 case "(($ac_try" in
5567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5568 *) ac_try_echo=$ac_try;;
5569 esac
5570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5571 $as_echo "$ac_try_echo"; } >&5
5572 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5573 ac_status=$?
5574 if test -s conftest.err; then
5575 sed '10a\
5576 ... rest of stderr output deleted ...
5577 10q' conftest.err >conftest.er1
5578 cat conftest.er1 >&5
5579 fi
5580 rm -f conftest.er1 conftest.err
5581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5582 test $ac_status = 0; }
5583 done
5584
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5586 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5587 if ${ac_cv_c_compiler_gnu+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5592
5593 int
5594 main ()
5595 {
5596 #ifndef __GNUC__
5597 choke me
5598 #endif
5599
5600 ;
5601 return 0;
5602 }
5603 _ACEOF
5604 if ac_fn_c_try_compile "$LINENO"; then :
5605 ac_compiler_gnu=yes
5606 else
5607 ac_compiler_gnu=no
5608 fi
5609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5610 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5611
5612 fi
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5614 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5615 if test $ac_compiler_gnu = yes; then
5616 GCC=yes
5617 else
5618 GCC=
5619 fi
5620 ac_test_CFLAGS=${CFLAGS+set}
5621 ac_save_CFLAGS=$CFLAGS
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5623 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5624 if ${ac_cv_prog_cc_g+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 ac_save_c_werror_flag=$ac_c_werror_flag
5628 ac_c_werror_flag=yes
5629 ac_cv_prog_cc_g=no
5630 CFLAGS="-g"
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5633
5634 int
5635 main ()
5636 {
5637
5638 ;
5639 return 0;
5640 }
5641 _ACEOF
5642 if ac_fn_c_try_compile "$LINENO"; then :
5643 ac_cv_prog_cc_g=yes
5644 else
5645 CFLAGS=""
5646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5647 /* end confdefs.h. */
5648
5649 int
5650 main ()
5651 {
5652
5653 ;
5654 return 0;
5655 }
5656 _ACEOF
5657 if ac_fn_c_try_compile "$LINENO"; then :
5658
5659 else
5660 ac_c_werror_flag=$ac_save_c_werror_flag
5661 CFLAGS="-g"
5662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5664
5665 int
5666 main ()
5667 {
5668
5669 ;
5670 return 0;
5671 }
5672 _ACEOF
5673 if ac_fn_c_try_compile "$LINENO"; then :
5674 ac_cv_prog_cc_g=yes
5675 fi
5676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5677 fi
5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5679 fi
5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5681 ac_c_werror_flag=$ac_save_c_werror_flag
5682 fi
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5684 $as_echo "$ac_cv_prog_cc_g" >&6; }
5685 if test "$ac_test_CFLAGS" = set; then
5686 CFLAGS=$ac_save_CFLAGS
5687 elif test $ac_cv_prog_cc_g = yes; then
5688 if test "$GCC" = yes; then
5689 CFLAGS="-g -O2"
5690 else
5691 CFLAGS="-g"
5692 fi
5693 else
5694 if test "$GCC" = yes; then
5695 CFLAGS="-O2"
5696 else
5697 CFLAGS=
5698 fi
5699 fi
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5701 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5702 if ${ac_cv_prog_cc_c89+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 ac_cv_prog_cc_c89=no
5706 ac_save_CC=$CC
5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5709 #include <stdarg.h>
5710 #include <stdio.h>
5711 struct stat;
5712 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5713 struct buf { int x; };
5714 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5715 static char *e (p, i)
5716 char **p;
5717 int i;
5718 {
5719 return p[i];
5720 }
5721 static char *f (char * (*g) (char **, int), char **p, ...)
5722 {
5723 char *s;
5724 va_list v;
5725 va_start (v,p);
5726 s = g (p, va_arg (v,int));
5727 va_end (v);
5728 return s;
5729 }
5730
5731 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5732 function prototypes and stuff, but not '\xHH' hex character constants.
5733 These don't provoke an error unfortunately, instead are silently treated
5734 as 'x'. The following induces an error, until -std is added to get
5735 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5736 array size at least. It's necessary to write '\x00'==0 to get something
5737 that's true only with -std. */
5738 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5739
5740 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5741 inside strings and character constants. */
5742 #define FOO(x) 'x'
5743 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5744
5745 int test (int i, double x);
5746 struct s1 {int (*f) (int a);};
5747 struct s2 {int (*f) (double a);};
5748 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5749 int argc;
5750 char **argv;
5751 int
5752 main ()
5753 {
5754 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5755 ;
5756 return 0;
5757 }
5758 _ACEOF
5759 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5760 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5761 do
5762 CC="$ac_save_CC $ac_arg"
5763 if ac_fn_c_try_compile "$LINENO"; then :
5764 ac_cv_prog_cc_c89=$ac_arg
5765 fi
5766 rm -f core conftest.err conftest.$ac_objext
5767 test "x$ac_cv_prog_cc_c89" != "xno" && break
5768 done
5769 rm -f conftest.$ac_ext
5770 CC=$ac_save_CC
5771
5772 fi
5773 # AC_CACHE_VAL
5774 case "x$ac_cv_prog_cc_c89" in
5775 x)
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5777 $as_echo "none needed" >&6; } ;;
5778 xno)
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5780 $as_echo "unsupported" >&6; } ;;
5781 *)
5782 CC="$CC $ac_cv_prog_cc_c89"
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5784 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5785 esac
5786 if test "x$ac_cv_prog_cc_c89" != xno; then :
5787
5788 fi
5789
5790 ac_ext=c
5791 ac_cpp='$CPP $CPPFLAGS'
5792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5795
5796 ac_ext=c
5797 ac_cpp='$CPP $CPPFLAGS'
5798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5802 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5803 if ${am_cv_prog_cc_c_o+:} false; then :
5804 $as_echo_n "(cached) " >&6
5805 else
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5808
5809 int
5810 main ()
5811 {
5812
5813 ;
5814 return 0;
5815 }
5816 _ACEOF
5817 # Make sure it works both with $CC and with simple cc.
5818 # Following AC_PROG_CC_C_O, we do the test twice because some
5819 # compilers refuse to overwrite an existing .o file with -o,
5820 # though they will create one.
5821 am_cv_prog_cc_c_o=yes
5822 for am_i in 1 2; do
5823 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5824 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5825 ac_status=$?
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } \
5828 && test -f conftest2.$ac_objext; then
5829 : OK
5830 else
5831 am_cv_prog_cc_c_o=no
5832 break
5833 fi
5834 done
5835 rm -f core conftest*
5836 unset am_i
5837 fi
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5839 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5840 if test "$am_cv_prog_cc_c_o" != yes; then
5841 # Losing compiler, so override with the script.
5842 # FIXME: It is wrong to rewrite CC.
5843 # But if we don't then we get into trouble of one sort or another.
5844 # A longer-term fix would be to have automake use am__CC in this case,
5845 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5846 CC="$am_aux_dir/compile $CC"
5847 fi
5848 ac_ext=c
5849 ac_cpp='$CPP $CPPFLAGS'
5850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5853
5854
5855 depcc="$CC" am_compiler_list=
5856
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5858 $as_echo_n "checking dependency style of $depcc... " >&6; }
5859 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5863 # We make a subdir and do the tests there. Otherwise we can end up
5864 # making bogus files that we don't know about and never remove. For
5865 # instance it was reported that on HP-UX the gcc test will end up
5866 # making a dummy file named 'D' -- because '-MD' means "put the output
5867 # in D".
5868 rm -rf conftest.dir
5869 mkdir conftest.dir
5870 # Copy depcomp to subdir because otherwise we won't find it if we're
5871 # using a relative directory.
5872 cp "$am_depcomp" conftest.dir
5873 cd conftest.dir
5874 # We will build objects and dependencies in a subdirectory because
5875 # it helps to detect inapplicable dependency modes. For instance
5876 # both Tru64's cc and ICC support -MD to output dependencies as a
5877 # side effect of compilation, but ICC will put the dependencies in
5878 # the current directory while Tru64 will put them in the object
5879 # directory.
5880 mkdir sub
5881
5882 am_cv_CC_dependencies_compiler_type=none
5883 if test "$am_compiler_list" = ""; then
5884 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5885 fi
5886 am__universal=false
5887 case " $depcc " in #(
5888 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5889 esac
5890
5891 for depmode in $am_compiler_list; do
5892 # Setup a source with many dependencies, because some compilers
5893 # like to wrap large dependency lists on column 80 (with \), and
5894 # we should not choose a depcomp mode which is confused by this.
5895 #
5896 # We need to recreate these files for each test, as the compiler may
5897 # overwrite some of them when testing with obscure command lines.
5898 # This happens at least with the AIX C compiler.
5899 : > sub/conftest.c
5900 for i in 1 2 3 4 5 6; do
5901 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5902 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5903 # Solaris 10 /bin/sh.
5904 echo '/* dummy */' > sub/conftst$i.h
5905 done
5906 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5907
5908 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5909 # mode. It turns out that the SunPro C++ compiler does not properly
5910 # handle '-M -o', and we need to detect this. Also, some Intel
5911 # versions had trouble with output in subdirs.
5912 am__obj=sub/conftest.${OBJEXT-o}
5913 am__minus_obj="-o $am__obj"
5914 case $depmode in
5915 gcc)
5916 # This depmode causes a compiler race in universal mode.
5917 test "$am__universal" = false || continue
5918 ;;
5919 nosideeffect)
5920 # After this tag, mechanisms are not by side-effect, so they'll
5921 # only be used when explicitly requested.
5922 if test "x$enable_dependency_tracking" = xyes; then
5923 continue
5924 else
5925 break
5926 fi
5927 ;;
5928 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5929 # This compiler won't grok '-c -o', but also, the minuso test has
5930 # not run yet. These depmodes are late enough in the game, and
5931 # so weak that their functioning should not be impacted.
5932 am__obj=conftest.${OBJEXT-o}
5933 am__minus_obj=
5934 ;;
5935 none) break ;;
5936 esac
5937 if depmode=$depmode \
5938 source=sub/conftest.c object=$am__obj \
5939 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5940 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5941 >/dev/null 2>conftest.err &&
5942 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5943 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5944 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5945 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5946 # icc doesn't choke on unknown options, it will just issue warnings
5947 # or remarks (even with -Werror). So we grep stderr for any message
5948 # that says an option was ignored or not supported.
5949 # When given -MP, icc 7.0 and 7.1 complain thusly:
5950 # icc: Command line warning: ignoring option '-M'; no argument required
5951 # The diagnosis changed in icc 8.0:
5952 # icc: Command line remark: option '-MP' not supported
5953 if (grep 'ignoring option' conftest.err ||
5954 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5955 am_cv_CC_dependencies_compiler_type=$depmode
5956 break
5957 fi
5958 fi
5959 done
5960
5961 cd ..
5962 rm -rf conftest.dir
5963 else
5964 am_cv_CC_dependencies_compiler_type=none
5965 fi
5966
5967 fi
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5969 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5970 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5971
5972 if
5973 test "x$enable_dependency_tracking" != xno \
5974 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5975 am__fastdepCC_TRUE=
5976 am__fastdepCC_FALSE='#'
5977 else
5978 am__fastdepCC_TRUE='#'
5979 am__fastdepCC_FALSE=
5980 fi
5981
5982
5983
5984
5985
5986
5987
5988
5989 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5990 have_real_17=no
5991 if test "x$GCC" = "xyes"; then
5992 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5993 ## We like to use C11 and C99 routines when available. This makes
5994 ## sure that
5995 ## __STDC_VERSION__ is set such that libc includes make them available.
5996 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5997 ## Compile the following tests with the same system header contents
5998 ## that we'll encounter when compiling our own source files.
5999 CFLAGS="-std=gnu11 $CFLAGS"
6000
6001 case x$target in
6002 xpowerpc64le*-linux*)
6003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6004 /* end confdefs.h. */
6005 #if __SIZEOF_LONG_DOUBLE__ != 16
6006 #error long double is double
6007 #endif
6008 int
6009 main ()
6010 {
6011 (void) 0;
6012 ;
6013 return 0;
6014 }
6015 _ACEOF
6016 if ac_fn_c_try_cpp "$LINENO"; then :
6017 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6018 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6019 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
6020 have_real_17=yes
6021 fi
6022 rm -f conftest.err conftest.i conftest.$ac_ext
6023 ;;
6024 *)
6025 ;;
6026 esac
6027 fi
6028 if test "x$have_real_17" != xno; then
6029 HAVE_REAL_17_TRUE=
6030 HAVE_REAL_17_FALSE='#'
6031 else
6032 HAVE_REAL_17_TRUE='#'
6033 HAVE_REAL_17_FALSE=
6034 fi
6035
6036
6037 # Add CET specific flags if CET is enabled
6038 # Check whether --enable-cet was given.
6039 if test "${enable_cet+set}" = set; then :
6040 enableval=$enable_cet;
6041 case "$enableval" in
6042 yes|no|auto) ;;
6043 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6044 esac
6045
6046 else
6047 enable_cet=auto
6048 fi
6049
6050
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6052 $as_echo_n "checking for CET support... " >&6; }
6053
6054 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6055 case "$host" in
6056 i[34567]86-*-linux* | x86_64-*-linux*)
6057 case "$enable_cet" in
6058 auto)
6059 # Check if target supports multi-byte NOPs
6060 # and if compiler and assembler support CET insn.
6061 cet_save_CFLAGS="$CFLAGS"
6062 CFLAGS="$CFLAGS -fcf-protection"
6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6065
6066 int
6067 main ()
6068 {
6069
6070 #if !defined(__SSE2__)
6071 #error target does not support multi-byte NOPs
6072 #else
6073 asm ("setssbsy");
6074 #endif
6075
6076 ;
6077 return 0;
6078 }
6079 _ACEOF
6080 if ac_fn_c_try_compile "$LINENO"; then :
6081 enable_cet=yes
6082 else
6083 enable_cet=no
6084 fi
6085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6086 CFLAGS="$cet_save_CFLAGS"
6087 ;;
6088 yes)
6089 # Check if assembler supports CET.
6090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6092
6093 int
6094 main ()
6095 {
6096 asm ("setssbsy");
6097 ;
6098 return 0;
6099 }
6100 _ACEOF
6101 if ac_fn_c_try_compile "$LINENO"; then :
6102
6103 else
6104 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6105 fi
6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6107 ;;
6108 esac
6109 ;;
6110 *)
6111 enable_cet=no
6112 ;;
6113 esac
6114 if test x$enable_cet = xyes; then
6115 CET_FLAGS="-fcf-protection -mshstk"
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6117 $as_echo "yes" >&6; }
6118 else
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6121 fi
6122
6123 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6124 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6125 CFLAGS="$CFLAGS $CET_FLAGS"
6126
6127
6128
6129
6130
6131 # Check for symbol versioning (copied from libssp).
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6133 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6134 # Check whether --enable-symvers was given.
6135 if test "${enable_symvers+set}" = set; then :
6136 enableval=$enable_symvers; gfortran_use_symver=$enableval
6137 else
6138 gfortran_use_symver=yes
6139 fi
6140
6141 if test "x$gfortran_use_symver" != xno; then
6142 save_LDFLAGS="$LDFLAGS"
6143 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6144 cat > conftest.map <<EOF
6145 FOO_1.0 {
6146 global: *foo*; bar; local: *;
6147 };
6148 EOF
6149 if test x$gcc_no_link = xyes; then
6150 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6151 fi
6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6154 int foo;
6155 int
6156 main ()
6157 {
6158
6159 ;
6160 return 0;
6161 }
6162 _ACEOF
6163 if ac_fn_c_try_link "$LINENO"; then :
6164 gfortran_use_symver=gnu
6165 else
6166 gfortran_use_symver=no
6167 fi
6168 rm -f core conftest.err conftest.$ac_objext \
6169 conftest$ac_exeext conftest.$ac_ext
6170 if test x$gfortran_use_symver = xno; then
6171 case "$target_os" in
6172 solaris2*)
6173 LDFLAGS="$save_LDFLAGS"
6174 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6175 # Sun ld cannot handle wildcards and treats all entries as undefined.
6176 cat > conftest.map <<EOF
6177 FOO_1.0 {
6178 global: foo; local: *;
6179 };
6180 EOF
6181 if test x$gcc_no_link = xyes; then
6182 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6183 fi
6184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6186 int foo;
6187 int
6188 main ()
6189 {
6190
6191 ;
6192 return 0;
6193 }
6194 _ACEOF
6195 if ac_fn_c_try_link "$LINENO"; then :
6196 gfortran_use_symver=sun
6197 else
6198 gfortran_use_symver=no
6199 fi
6200 rm -f core conftest.err conftest.$ac_objext \
6201 conftest$ac_exeext conftest.$ac_ext
6202 ;;
6203 esac
6204 fi
6205 LDFLAGS="$save_LDFLAGS"
6206 fi
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6208 $as_echo "$gfortran_use_symver" >&6; }
6209 if test "x$gfortran_use_symver" != xno; then
6210 LIBGFOR_USE_SYMVER_TRUE=
6211 LIBGFOR_USE_SYMVER_FALSE='#'
6212 else
6213 LIBGFOR_USE_SYMVER_TRUE='#'
6214 LIBGFOR_USE_SYMVER_FALSE=
6215 fi
6216
6217 if test "x$gfortran_use_symver" = xgnu; then
6218 LIBGFOR_USE_SYMVER_GNU_TRUE=
6219 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6220 else
6221 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6222 LIBGFOR_USE_SYMVER_GNU_FALSE=
6223 fi
6224
6225 if test "x$gfortran_use_symver" = xsun; then
6226 LIBGFOR_USE_SYMVER_SUN_TRUE=
6227 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6228 else
6229 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6230 LIBGFOR_USE_SYMVER_SUN_FALSE=
6231 fi
6232
6233
6234 # For GPU offloading, not everything in libfortran can be supported.
6235 # Currently, the only target that has this problem is nvptx. The
6236 # following is a (partial) list of features that are unsupportable on
6237 # this particular target:
6238 # * Constructors
6239 # * alloca
6240 # * C library support for I/O, with printf as the one notable exception
6241 # * C library support for other features such as signal, environment
6242 # variables, time functions
6243
6244 if test "x${target_cpu}" = xnvptx; then
6245 LIBGFOR_MINIMAL_TRUE=
6246 LIBGFOR_MINIMAL_FALSE='#'
6247 else
6248 LIBGFOR_MINIMAL_TRUE='#'
6249 LIBGFOR_MINIMAL_FALSE=
6250 fi
6251
6252
6253 # Some compiler target support may have limited support for integer
6254 # or floating point numbers – or may want to reduce the libgfortran size
6255 # although they do have the support.
6256 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6257 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6258
6259
6260
6261
6262 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6263 # similarly to how libstdc++ does it
6264 ac_test_CFLAGS="${CFLAGS+set}"
6265 ac_save_CFLAGS="$CFLAGS"
6266
6267 # Check for -ffunction-sections -fdata-sections
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6269 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6270 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6273
6274 int
6275 main ()
6276 {
6277 int foo;
6278 ;
6279 return 0;
6280 }
6281 _ACEOF
6282 if ac_fn_c_try_compile "$LINENO"; then :
6283 ac_fdsections=yes
6284 else
6285 ac_fdsections=no
6286 fi
6287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6288 if test "$ac_test_CFLAGS" = set; then
6289 CFLAGS="$ac_save_CFLAGS"
6290 else
6291 # this is the suspicious part
6292 CFLAGS=""
6293 fi
6294 if test x"$ac_fdsections" = x"yes"; then
6295 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6296 fi
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6298 $as_echo "$ac_fdsections" >&6; }
6299
6300
6301 # Check linker hardware capability support.
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6303 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6304 if ${ac_cv_path_SED+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6308 for ac_i in 1 2 3 4 5 6 7; do
6309 ac_script="$ac_script$as_nl$ac_script"
6310 done
6311 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6312 { ac_script=; unset ac_script;}
6313 if test -z "$SED"; then
6314 ac_path_SED_found=false
6315 # Loop through the user's path and test for each of PROGNAME-LIST
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 for as_dir in $PATH
6318 do
6319 IFS=$as_save_IFS
6320 test -z "$as_dir" && as_dir=.
6321 for ac_prog in sed gsed; do
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6324 as_fn_executable_p "$ac_path_SED" || continue
6325 # Check for GNU ac_path_SED and select it if it is found.
6326 # Check for GNU $ac_path_SED
6327 case `"$ac_path_SED" --version 2>&1` in
6328 *GNU*)
6329 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6330 *)
6331 ac_count=0
6332 $as_echo_n 0123456789 >"conftest.in"
6333 while :
6334 do
6335 cat "conftest.in" "conftest.in" >"conftest.tmp"
6336 mv "conftest.tmp" "conftest.in"
6337 cp "conftest.in" "conftest.nl"
6338 $as_echo '' >> "conftest.nl"
6339 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6340 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6341 as_fn_arith $ac_count + 1 && ac_count=$as_val
6342 if test $ac_count -gt ${ac_path_SED_max-0}; then
6343 # Best one so far, save it but keep looking for a better one
6344 ac_cv_path_SED="$ac_path_SED"
6345 ac_path_SED_max=$ac_count
6346 fi
6347 # 10*(2^10) chars as input seems more than enough
6348 test $ac_count -gt 10 && break
6349 done
6350 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6351 esac
6352
6353 $ac_path_SED_found && break 3
6354 done
6355 done
6356 done
6357 IFS=$as_save_IFS
6358 if test -z "$ac_cv_path_SED"; then
6359 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6360 fi
6361 else
6362 ac_cv_path_SED=$SED
6363 fi
6364
6365 fi
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6367 $as_echo "$ac_cv_path_SED" >&6; }
6368 SED="$ac_cv_path_SED"
6369 rm -f conftest.sed
6370
6371 test -z "$SED" && SED=sed
6372 Xsed="$SED -e 1s/^X//"
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6385 $as_echo_n "checking for fgrep... " >&6; }
6386 if ${ac_cv_path_FGREP+:} false; then :
6387 $as_echo_n "(cached) " >&6
6388 else
6389 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6390 then ac_cv_path_FGREP="$GREP -F"
6391 else
6392 if test -z "$FGREP"; then
6393 ac_path_FGREP_found=false
6394 # Loop through the user's path and test for each of PROGNAME-LIST
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6397 do
6398 IFS=$as_save_IFS
6399 test -z "$as_dir" && as_dir=.
6400 for ac_prog in fgrep; do
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6403 as_fn_executable_p "$ac_path_FGREP" || continue
6404 # Check for GNU ac_path_FGREP and select it if it is found.
6405 # Check for GNU $ac_path_FGREP
6406 case `"$ac_path_FGREP" --version 2>&1` in
6407 *GNU*)
6408 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6409 *)
6410 ac_count=0
6411 $as_echo_n 0123456789 >"conftest.in"
6412 while :
6413 do
6414 cat "conftest.in" "conftest.in" >"conftest.tmp"
6415 mv "conftest.tmp" "conftest.in"
6416 cp "conftest.in" "conftest.nl"
6417 $as_echo 'FGREP' >> "conftest.nl"
6418 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6419 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6420 as_fn_arith $ac_count + 1 && ac_count=$as_val
6421 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6422 # Best one so far, save it but keep looking for a better one
6423 ac_cv_path_FGREP="$ac_path_FGREP"
6424 ac_path_FGREP_max=$ac_count
6425 fi
6426 # 10*(2^10) chars as input seems more than enough
6427 test $ac_count -gt 10 && break
6428 done
6429 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6430 esac
6431
6432 $ac_path_FGREP_found && break 3
6433 done
6434 done
6435 done
6436 IFS=$as_save_IFS
6437 if test -z "$ac_cv_path_FGREP"; then
6438 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6439 fi
6440 else
6441 ac_cv_path_FGREP=$FGREP
6442 fi
6443
6444 fi
6445 fi
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6447 $as_echo "$ac_cv_path_FGREP" >&6; }
6448 FGREP="$ac_cv_path_FGREP"
6449
6450
6451 test -z "$GREP" && GREP=grep
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6470 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6471 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6472
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6474 $as_echo_n "checking how to print strings... " >&6; }
6475 # Test print first, because it will be a builtin if present.
6476 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6477 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6478 ECHO='print -r --'
6479 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6480 ECHO='printf %s\n'
6481 else
6482 # Use this function as a fallback that always works.
6483 func_fallback_echo ()
6484 {
6485 eval 'cat <<_LTECHO_EOF
6486 $1
6487 _LTECHO_EOF'
6488 }
6489 ECHO='func_fallback_echo'
6490 fi
6491
6492 # func_echo_all arg...
6493 # Invoke $ECHO with all args, space-separated.
6494 func_echo_all ()
6495 {
6496 $ECHO ""
6497 }
6498
6499 case "$ECHO" in
6500 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6501 $as_echo "printf" >&6; } ;;
6502 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6503 $as_echo "print -r" >&6; } ;;
6504 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6505 $as_echo "cat" >&6; } ;;
6506 esac
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523 # Check whether --with-gnu-ld was given.
6524 if test "${with_gnu_ld+set}" = set; then :
6525 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6526 else
6527 with_gnu_ld=no
6528 fi
6529
6530 ac_prog=ld
6531 if test "$GCC" = yes; then
6532 # Check if gcc -print-prog-name=ld gives a path.
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6534 $as_echo_n "checking for ld used by $CC... " >&6; }
6535 case $host in
6536 *-*-mingw*)
6537 # gcc leaves a trailing carriage return which upsets mingw
6538 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6539 *)
6540 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6541 esac
6542 case $ac_prog in
6543 # Accept absolute paths.
6544 [\\/]* | ?:[\\/]*)
6545 re_direlt='/[^/][^/]*/\.\./'
6546 # Canonicalize the pathname of ld
6547 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6548 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6549 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6550 done
6551 test -z "$LD" && LD="$ac_prog"
6552 ;;
6553 "")
6554 # If it fails, then pretend we aren't using GCC.
6555 ac_prog=ld
6556 ;;
6557 *)
6558 # If it is relative, then search for the first ld in PATH.
6559 with_gnu_ld=unknown
6560 ;;
6561 esac
6562 elif test "$with_gnu_ld" = yes; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6564 $as_echo_n "checking for GNU ld... " >&6; }
6565 else
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6567 $as_echo_n "checking for non-GNU ld... " >&6; }
6568 fi
6569 if ${lt_cv_path_LD+:} false; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 if test -z "$LD"; then
6573 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6574 for ac_dir in $PATH; do
6575 IFS="$lt_save_ifs"
6576 test -z "$ac_dir" && ac_dir=.
6577 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6578 lt_cv_path_LD="$ac_dir/$ac_prog"
6579 # Check to see if the program is GNU ld. I'd rather use --version,
6580 # but apparently some variants of GNU ld only accept -v.
6581 # Break only if it was the GNU/non-GNU ld that we prefer.
6582 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6583 *GNU* | *'with BFD'*)
6584 test "$with_gnu_ld" != no && break
6585 ;;
6586 *)
6587 test "$with_gnu_ld" != yes && break
6588 ;;
6589 esac
6590 fi
6591 done
6592 IFS="$lt_save_ifs"
6593 else
6594 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6595 fi
6596 fi
6597
6598 LD="$lt_cv_path_LD"
6599 if test -n "$LD"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6601 $as_echo "$LD" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6605 fi
6606 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6608 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6609 if ${lt_cv_prog_gnu_ld+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6613 case `$LD -v 2>&1 </dev/null` in
6614 *GNU* | *'with BFD'*)
6615 lt_cv_prog_gnu_ld=yes
6616 ;;
6617 *)
6618 lt_cv_prog_gnu_ld=no
6619 ;;
6620 esac
6621 fi
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6623 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6624 with_gnu_ld=$lt_cv_prog_gnu_ld
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6636
6637
6638 ac_save_LDFLAGS="$LDFLAGS"
6639 LDFLAGS="$LFLAGS -mclear-hwcap"
6640
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6642 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6643 if test x$gcc_no_link = xyes; then
6644 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6645 fi
6646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6648
6649 int
6650 main ()
6651 {
6652 return 0;
6653 ;
6654 return 0;
6655 }
6656 _ACEOF
6657 if ac_fn_c_try_link "$LINENO"; then :
6658 ac_hwcap_ldflags=yes
6659 else
6660 ac_hwcap_ldflags=no
6661 fi
6662 rm -f core conftest.err conftest.$ac_objext \
6663 conftest$ac_exeext conftest.$ac_ext
6664 if test "$ac_hwcap_ldflags" = "yes"; then
6665 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6666 fi
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6668 $as_echo "$ac_hwcap_ldflags" >&6; }
6669
6670 LDFLAGS="$ac_save_LDFLAGS"
6671
6672
6673
6674 if test $ac_hwcap_ldflags != no; then
6675 HAVE_HWCAP_TRUE=
6676 HAVE_HWCAP_FALSE='#'
6677 else
6678 HAVE_HWCAP_TRUE='#'
6679 HAVE_HWCAP_FALSE=
6680 fi
6681
6682
6683
6684 # Find other programs we need.
6685 if test -n "$ac_tool_prefix"; then
6686 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6687 set dummy ${ac_tool_prefix}as; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_AS+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$AS"; then
6694 ac_cv_prog_AS="$AS" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6698 do
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_AS="${ac_tool_prefix}as"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6706 fi
6707 done
6708 done
6709 IFS=$as_save_IFS
6710
6711 fi
6712 fi
6713 AS=$ac_cv_prog_AS
6714 if test -n "$AS"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6716 $as_echo "$AS" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6720 fi
6721
6722
6723 fi
6724 if test -z "$ac_cv_prog_AS"; then
6725 ac_ct_AS=$AS
6726 # Extract the first word of "as", so it can be a program name with args.
6727 set dummy as; ac_word=$2
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 $as_echo_n "checking for $ac_word... " >&6; }
6730 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6731 $as_echo_n "(cached) " >&6
6732 else
6733 if test -n "$ac_ct_AS"; then
6734 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6735 else
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 for as_dir in $PATH
6738 do
6739 IFS=$as_save_IFS
6740 test -z "$as_dir" && as_dir=.
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_ac_ct_AS="as"
6744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 break 2
6746 fi
6747 done
6748 done
6749 IFS=$as_save_IFS
6750
6751 fi
6752 fi
6753 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6754 if test -n "$ac_ct_AS"; then
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6756 $as_echo "$ac_ct_AS" >&6; }
6757 else
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 $as_echo "no" >&6; }
6760 fi
6761
6762 if test "x$ac_ct_AS" = x; then
6763 AS=""
6764 else
6765 case $cross_compiling:$ac_tool_warned in
6766 yes:)
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6769 ac_tool_warned=yes ;;
6770 esac
6771 AS=$ac_ct_AS
6772 fi
6773 else
6774 AS="$ac_cv_prog_AS"
6775 fi
6776
6777 if test -n "$ac_tool_prefix"; then
6778 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6779 set dummy ${ac_tool_prefix}ar; ac_word=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 $as_echo_n "checking for $ac_word... " >&6; }
6782 if ${ac_cv_prog_AR+:} false; then :
6783 $as_echo_n "(cached) " >&6
6784 else
6785 if test -n "$AR"; then
6786 ac_cv_prog_AR="$AR" # Let the user override the test.
6787 else
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 for as_dir in $PATH
6790 do
6791 IFS=$as_save_IFS
6792 test -z "$as_dir" && as_dir=.
6793 for ac_exec_ext in '' $ac_executable_extensions; do
6794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795 ac_cv_prog_AR="${ac_tool_prefix}ar"
6796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797 break 2
6798 fi
6799 done
6800 done
6801 IFS=$as_save_IFS
6802
6803 fi
6804 fi
6805 AR=$ac_cv_prog_AR
6806 if test -n "$AR"; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6808 $as_echo "$AR" >&6; }
6809 else
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811 $as_echo "no" >&6; }
6812 fi
6813
6814
6815 fi
6816 if test -z "$ac_cv_prog_AR"; then
6817 ac_ct_AR=$AR
6818 # Extract the first word of "ar", so it can be a program name with args.
6819 set dummy ar; ac_word=$2
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821 $as_echo_n "checking for $ac_word... " >&6; }
6822 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6823 $as_echo_n "(cached) " >&6
6824 else
6825 if test -n "$ac_ct_AR"; then
6826 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6827 else
6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829 for as_dir in $PATH
6830 do
6831 IFS=$as_save_IFS
6832 test -z "$as_dir" && as_dir=.
6833 for ac_exec_ext in '' $ac_executable_extensions; do
6834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6835 ac_cv_prog_ac_ct_AR="ar"
6836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6837 break 2
6838 fi
6839 done
6840 done
6841 IFS=$as_save_IFS
6842
6843 fi
6844 fi
6845 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6846 if test -n "$ac_ct_AR"; then
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6848 $as_echo "$ac_ct_AR" >&6; }
6849 else
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851 $as_echo "no" >&6; }
6852 fi
6853
6854 if test "x$ac_ct_AR" = x; then
6855 AR=""
6856 else
6857 case $cross_compiling:$ac_tool_warned in
6858 yes:)
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6861 ac_tool_warned=yes ;;
6862 esac
6863 AR=$ac_ct_AR
6864 fi
6865 else
6866 AR="$ac_cv_prog_AR"
6867 fi
6868
6869 if test -n "$ac_tool_prefix"; then
6870 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6871 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873 $as_echo_n "checking for $ac_word... " >&6; }
6874 if ${ac_cv_prog_RANLIB+:} false; then :
6875 $as_echo_n "(cached) " >&6
6876 else
6877 if test -n "$RANLIB"; then
6878 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6879 else
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 for as_dir in $PATH
6882 do
6883 IFS=$as_save_IFS
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6887 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889 break 2
6890 fi
6891 done
6892 done
6893 IFS=$as_save_IFS
6894
6895 fi
6896 fi
6897 RANLIB=$ac_cv_prog_RANLIB
6898 if test -n "$RANLIB"; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6900 $as_echo "$RANLIB" >&6; }
6901 else
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6904 fi
6905
6906
6907 fi
6908 if test -z "$ac_cv_prog_RANLIB"; then
6909 ac_ct_RANLIB=$RANLIB
6910 # Extract the first word of "ranlib", so it can be a program name with args.
6911 set dummy ranlib; ac_word=$2
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913 $as_echo_n "checking for $ac_word... " >&6; }
6914 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6915 $as_echo_n "(cached) " >&6
6916 else
6917 if test -n "$ac_ct_RANLIB"; then
6918 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6919 else
6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921 for as_dir in $PATH
6922 do
6923 IFS=$as_save_IFS
6924 test -z "$as_dir" && as_dir=.
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6927 ac_cv_prog_ac_ct_RANLIB="ranlib"
6928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929 break 2
6930 fi
6931 done
6932 done
6933 IFS=$as_save_IFS
6934
6935 fi
6936 fi
6937 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6938 if test -n "$ac_ct_RANLIB"; then
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6940 $as_echo "$ac_ct_RANLIB" >&6; }
6941 else
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 $as_echo "no" >&6; }
6944 fi
6945
6946 if test "x$ac_ct_RANLIB" = x; then
6947 RANLIB="ranlib-not-found-in-path-error"
6948 else
6949 case $cross_compiling:$ac_tool_warned in
6950 yes:)
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953 ac_tool_warned=yes ;;
6954 esac
6955 RANLIB=$ac_ct_RANLIB
6956 fi
6957 else
6958 RANLIB="$ac_cv_prog_RANLIB"
6959 fi
6960
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6962 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6963 set x ${MAKE-make}
6964 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6965 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6966 $as_echo_n "(cached) " >&6
6967 else
6968 cat >conftest.make <<\_ACEOF
6969 SHELL = /bin/sh
6970 all:
6971 @echo '@@@%%%=$(MAKE)=@@@%%%'
6972 _ACEOF
6973 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6974 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6975 *@@@%%%=?*=@@@%%%*)
6976 eval ac_cv_prog_make_${ac_make}_set=yes;;
6977 *)
6978 eval ac_cv_prog_make_${ac_make}_set=no;;
6979 esac
6980 rm -f conftest.make
6981 fi
6982 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6984 $as_echo "yes" >&6; }
6985 SET_MAKE=
6986 else
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6989 SET_MAKE="MAKE=${MAKE-make}"
6990 fi
6991
6992
6993
6994 # Configure libtool
6995 #AC_MSG_NOTICE([====== Starting libtool configuration])
6996 enable_dlopen=yes
6997
6998
6999
7000 case `pwd` in
7001 *\ * | *\ *)
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7003 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7004 esac
7005
7006
7007
7008 macro_version='2.2.7a'
7009 macro_revision='1.3134'
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023 ltmain="$ac_aux_dir/ltmain.sh"
7024
7025 # Backslashify metacharacters that are still active within
7026 # double-quoted strings.
7027 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7028
7029 # Same as above, but do not quote variable references.
7030 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7031
7032 # Sed substitution to delay expansion of an escaped shell variable in a
7033 # double_quote_subst'ed string.
7034 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7035
7036 # Sed substitution to delay expansion of an escaped single quote.
7037 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7038
7039 # Sed substitution to avoid accidental globbing in evaled expressions
7040 no_glob_subst='s/\*/\\\*/g'
7041
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7043 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7044 if ${lt_cv_path_NM+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 if test -n "$NM"; then
7048 # Let the user override the test.
7049 lt_cv_path_NM="$NM"
7050 else
7051 lt_nm_to_check="${ac_tool_prefix}nm"
7052 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7053 lt_nm_to_check="$lt_nm_to_check nm"
7054 fi
7055 for lt_tmp_nm in $lt_nm_to_check; do
7056 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7057 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7058 IFS="$lt_save_ifs"
7059 test -z "$ac_dir" && ac_dir=.
7060 tmp_nm="$ac_dir/$lt_tmp_nm"
7061 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7062 # Check to see if the nm accepts a BSD-compat flag.
7063 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7064 # nm: unknown option "B" ignored
7065 # Tru64's nm complains that /dev/null is an invalid object file
7066 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7067 */dev/null* | *'Invalid file or object type'*)
7068 lt_cv_path_NM="$tmp_nm -B"
7069 break
7070 ;;
7071 *)
7072 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7073 */dev/null*)
7074 lt_cv_path_NM="$tmp_nm -p"
7075 break
7076 ;;
7077 *)
7078 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7079 continue # so that we can try to find one that supports BSD flags
7080 ;;
7081 esac
7082 ;;
7083 esac
7084 fi
7085 done
7086 IFS="$lt_save_ifs"
7087 done
7088 : ${lt_cv_path_NM=no}
7089 fi
7090 fi
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7092 $as_echo "$lt_cv_path_NM" >&6; }
7093 if test "$lt_cv_path_NM" != "no"; then
7094 NM="$lt_cv_path_NM"
7095 else
7096 # Didn't find any BSD compatible name lister, look for dumpbin.
7097 if test -n "$DUMPBIN"; then :
7098 # Let the user override the test.
7099 else
7100 if test -n "$ac_tool_prefix"; then
7101 for ac_prog in dumpbin "link -dump"
7102 do
7103 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7104 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if ${ac_cv_prog_DUMPBIN+:} false; then :
7108 $as_echo_n "(cached) " >&6
7109 else
7110 if test -n "$DUMPBIN"; then
7111 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7112 else
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 for as_dir in $PATH
7115 do
7116 IFS=$as_save_IFS
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7120 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122 break 2
7123 fi
7124 done
7125 done
7126 IFS=$as_save_IFS
7127
7128 fi
7129 fi
7130 DUMPBIN=$ac_cv_prog_DUMPBIN
7131 if test -n "$DUMPBIN"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7133 $as_echo "$DUMPBIN" >&6; }
7134 else
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7137 fi
7138
7139
7140 test -n "$DUMPBIN" && break
7141 done
7142 fi
7143 if test -z "$DUMPBIN"; then
7144 ac_ct_DUMPBIN=$DUMPBIN
7145 for ac_prog in dumpbin "link -dump"
7146 do
7147 # Extract the first word of "$ac_prog", so it can be a program name with args.
7148 set dummy $ac_prog; ac_word=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7152 $as_echo_n "(cached) " >&6
7153 else
7154 if test -n "$ac_ct_DUMPBIN"; then
7155 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7156 else
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 for as_dir in $PATH
7159 do
7160 IFS=$as_save_IFS
7161 test -z "$as_dir" && as_dir=.
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 break 2
7167 fi
7168 done
7169 done
7170 IFS=$as_save_IFS
7171
7172 fi
7173 fi
7174 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7175 if test -n "$ac_ct_DUMPBIN"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7177 $as_echo "$ac_ct_DUMPBIN" >&6; }
7178 else
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7181 fi
7182
7183
7184 test -n "$ac_ct_DUMPBIN" && break
7185 done
7186
7187 if test "x$ac_ct_DUMPBIN" = x; then
7188 DUMPBIN=":"
7189 else
7190 case $cross_compiling:$ac_tool_warned in
7191 yes:)
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7194 ac_tool_warned=yes ;;
7195 esac
7196 DUMPBIN=$ac_ct_DUMPBIN
7197 fi
7198 fi
7199
7200 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7201 *COFF*)
7202 DUMPBIN="$DUMPBIN -symbols"
7203 ;;
7204 *)
7205 DUMPBIN=:
7206 ;;
7207 esac
7208 fi
7209
7210 if test "$DUMPBIN" != ":"; then
7211 NM="$DUMPBIN"
7212 fi
7213 fi
7214 test -z "$NM" && NM=nm
7215
7216
7217
7218
7219
7220
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7222 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7223 if ${lt_cv_nm_interface+:} false; then :
7224 $as_echo_n "(cached) " >&6
7225 else
7226 lt_cv_nm_interface="BSD nm"
7227 echo "int some_variable = 0;" > conftest.$ac_ext
7228 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7229 (eval "$ac_compile" 2>conftest.err)
7230 cat conftest.err >&5
7231 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7232 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7233 cat conftest.err >&5
7234 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7235 cat conftest.out >&5
7236 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7237 lt_cv_nm_interface="MS dumpbin"
7238 fi
7239 rm -f conftest*
7240 fi
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7242 $as_echo "$lt_cv_nm_interface" >&6; }
7243
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7245 $as_echo_n "checking whether ln -s works... " >&6; }
7246 LN_S=$as_ln_s
7247 if test "$LN_S" = "ln -s"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7249 $as_echo "yes" >&6; }
7250 else
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7252 $as_echo "no, using $LN_S" >&6; }
7253 fi
7254
7255 # find the maximum length of command line arguments
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7257 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7258 if ${lt_cv_sys_max_cmd_len+:} false; then :
7259 $as_echo_n "(cached) " >&6
7260 else
7261 i=0
7262 teststring="ABCD"
7263
7264 case $build_os in
7265 msdosdjgpp*)
7266 # On DJGPP, this test can blow up pretty badly due to problems in libc
7267 # (any single argument exceeding 2000 bytes causes a buffer overrun
7268 # during glob expansion). Even if it were fixed, the result of this
7269 # check would be larger than it should be.
7270 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7271 ;;
7272
7273 gnu*)
7274 # Under GNU Hurd, this test is not required because there is
7275 # no limit to the length of command line arguments.
7276 # Libtool will interpret -1 as no limit whatsoever
7277 lt_cv_sys_max_cmd_len=-1;
7278 ;;
7279
7280 cygwin* | mingw* | cegcc*)
7281 # On Win9x/ME, this test blows up -- it succeeds, but takes
7282 # about 5 minutes as the teststring grows exponentially.
7283 # Worse, since 9x/ME are not pre-emptively multitasking,
7284 # you end up with a "frozen" computer, even though with patience
7285 # the test eventually succeeds (with a max line length of 256k).
7286 # Instead, let's just punt: use the minimum linelength reported by
7287 # all of the supported platforms: 8192 (on NT/2K/XP).
7288 lt_cv_sys_max_cmd_len=8192;
7289 ;;
7290
7291 mint*)
7292 # On MiNT this can take a long time and run out of memory.
7293 lt_cv_sys_max_cmd_len=8192;
7294 ;;
7295
7296 amigaos*)
7297 # On AmigaOS with pdksh, this test takes hours, literally.
7298 # So we just punt and use a minimum line length of 8192.
7299 lt_cv_sys_max_cmd_len=8192;
7300 ;;
7301
7302 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7303 # This has been around since 386BSD, at least. Likely further.
7304 if test -x /sbin/sysctl; then
7305 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7306 elif test -x /usr/sbin/sysctl; then
7307 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7308 else
7309 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7310 fi
7311 # And add a safety zone
7312 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7313 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7314 ;;
7315
7316 interix*)
7317 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7318 lt_cv_sys_max_cmd_len=196608
7319 ;;
7320
7321 osf*)
7322 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7323 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7324 # nice to cause kernel panics so lets avoid the loop below.
7325 # First set a reasonable default.
7326 lt_cv_sys_max_cmd_len=16384
7327 #
7328 if test -x /sbin/sysconfig; then
7329 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7330 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7331 esac
7332 fi
7333 ;;
7334 sco3.2v5*)
7335 lt_cv_sys_max_cmd_len=102400
7336 ;;
7337 sysv5* | sco5v6* | sysv4.2uw2*)
7338 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7339 if test -n "$kargmax"; then
7340 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7341 else
7342 lt_cv_sys_max_cmd_len=32768
7343 fi
7344 ;;
7345 *)
7346 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7347 if test -n "$lt_cv_sys_max_cmd_len"; then
7348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7349 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7350 else
7351 # Make teststring a little bigger before we do anything with it.
7352 # a 1K string should be a reasonable start.
7353 for i in 1 2 3 4 5 6 7 8 ; do
7354 teststring=$teststring$teststring
7355 done
7356 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7357 # If test is not a shell built-in, we'll probably end up computing a
7358 # maximum length that is only half of the actual maximum length, but
7359 # we can't tell.
7360 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7361 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7362 test $i != 17 # 1/2 MB should be enough
7363 do
7364 i=`expr $i + 1`
7365 teststring=$teststring$teststring
7366 done
7367 # Only check the string length outside the loop.
7368 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7369 teststring=
7370 # Add a significant safety factor because C++ compilers can tack on
7371 # massive amounts of additional arguments before passing them to the
7372 # linker. It appears as though 1/2 is a usable value.
7373 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7374 fi
7375 ;;
7376 esac
7377
7378 fi
7379
7380 if test -n $lt_cv_sys_max_cmd_len ; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7382 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7383 else
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7385 $as_echo "none" >&6; }
7386 fi
7387 max_cmd_len=$lt_cv_sys_max_cmd_len
7388
7389
7390
7391
7392
7393
7394 : ${CP="cp -f"}
7395 : ${MV="mv -f"}
7396 : ${RM="rm -f"}
7397
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7399 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7400 # Try some XSI features
7401 xsi_shell=no
7402 ( _lt_dummy="a/b/c"
7403 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7404 = c,a/b,, \
7405 && eval 'test $(( 1 + 1 )) -eq 2 \
7406 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7407 && xsi_shell=yes
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7409 $as_echo "$xsi_shell" >&6; }
7410
7411
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7413 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7414 lt_shell_append=no
7415 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7416 >/dev/null 2>&1 \
7417 && lt_shell_append=yes
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7419 $as_echo "$lt_shell_append" >&6; }
7420
7421
7422 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7423 lt_unset=unset
7424 else
7425 lt_unset=false
7426 fi
7427
7428
7429
7430
7431
7432 # test EBCDIC or ASCII
7433 case `echo X|tr X '\101'` in
7434 A) # ASCII based system
7435 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7436 lt_SP2NL='tr \040 \012'
7437 lt_NL2SP='tr \015\012 \040\040'
7438 ;;
7439 *) # EBCDIC based system
7440 lt_SP2NL='tr \100 \n'
7441 lt_NL2SP='tr \r\n \100\100'
7442 ;;
7443 esac
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7454 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7455 if ${lt_cv_ld_reload_flag+:} false; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7458 lt_cv_ld_reload_flag='-r'
7459 fi
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7461 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7462 reload_flag=$lt_cv_ld_reload_flag
7463 case $reload_flag in
7464 "" | " "*) ;;
7465 *) reload_flag=" $reload_flag" ;;
7466 esac
7467 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7468 case $host_os in
7469 darwin*)
7470 if test "$GCC" = yes; then
7471 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7472 else
7473 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7474 fi
7475 ;;
7476 esac
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486 if test -n "$ac_tool_prefix"; then
7487 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7488 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490 $as_echo_n "checking for $ac_word... " >&6; }
7491 if ${ac_cv_prog_OBJDUMP+:} false; then :
7492 $as_echo_n "(cached) " >&6
7493 else
7494 if test -n "$OBJDUMP"; then
7495 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7496 else
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 for as_dir in $PATH
7499 do
7500 IFS=$as_save_IFS
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7504 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 break 2
7507 fi
7508 done
7509 done
7510 IFS=$as_save_IFS
7511
7512 fi
7513 fi
7514 OBJDUMP=$ac_cv_prog_OBJDUMP
7515 if test -n "$OBJDUMP"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7517 $as_echo "$OBJDUMP" >&6; }
7518 else
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7521 fi
7522
7523
7524 fi
7525 if test -z "$ac_cv_prog_OBJDUMP"; then
7526 ac_ct_OBJDUMP=$OBJDUMP
7527 # Extract the first word of "objdump", so it can be a program name with args.
7528 set dummy objdump; ac_word=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7532 $as_echo_n "(cached) " >&6
7533 else
7534 if test -n "$ac_ct_OBJDUMP"; then
7535 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7536 else
7537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 for as_dir in $PATH
7539 do
7540 IFS=$as_save_IFS
7541 test -z "$as_dir" && as_dir=.
7542 for ac_exec_ext in '' $ac_executable_extensions; do
7543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7544 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7546 break 2
7547 fi
7548 done
7549 done
7550 IFS=$as_save_IFS
7551
7552 fi
7553 fi
7554 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7555 if test -n "$ac_ct_OBJDUMP"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7557 $as_echo "$ac_ct_OBJDUMP" >&6; }
7558 else
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7561 fi
7562
7563 if test "x$ac_ct_OBJDUMP" = x; then
7564 OBJDUMP="false"
7565 else
7566 case $cross_compiling:$ac_tool_warned in
7567 yes:)
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7570 ac_tool_warned=yes ;;
7571 esac
7572 OBJDUMP=$ac_ct_OBJDUMP
7573 fi
7574 else
7575 OBJDUMP="$ac_cv_prog_OBJDUMP"
7576 fi
7577
7578 test -z "$OBJDUMP" && OBJDUMP=objdump
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7589 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7590 if ${lt_cv_deplibs_check_method+:} false; then :
7591 $as_echo_n "(cached) " >&6
7592 else
7593 lt_cv_file_magic_cmd='$MAGIC_CMD'
7594 lt_cv_file_magic_test_file=
7595 lt_cv_deplibs_check_method='unknown'
7596 # Need to set the preceding variable on all platforms that support
7597 # interlibrary dependencies.
7598 # 'none' -- dependencies not supported.
7599 # `unknown' -- same as none, but documents that we really don't know.
7600 # 'pass_all' -- all dependencies passed with no checks.
7601 # 'test_compile' -- check by making test program.
7602 # 'file_magic [[regex]]' -- check by looking for files in library path
7603 # which responds to the $file_magic_cmd with a given extended regex.
7604 # If you have `file' or equivalent on your system and you're not sure
7605 # whether `pass_all' will *always* work, you probably want this one.
7606
7607 case $host_os in
7608 aix[4-9]*)
7609 lt_cv_deplibs_check_method=pass_all
7610 ;;
7611
7612 beos*)
7613 lt_cv_deplibs_check_method=pass_all
7614 ;;
7615
7616 bsdi[45]*)
7617 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7618 lt_cv_file_magic_cmd='/usr/bin/file -L'
7619 lt_cv_file_magic_test_file=/shlib/libc.so
7620 ;;
7621
7622 cygwin*)
7623 # func_win32_libid is a shell function defined in ltmain.sh
7624 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7625 lt_cv_file_magic_cmd='func_win32_libid'
7626 ;;
7627
7628 mingw* | pw32*)
7629 # Base MSYS/MinGW do not provide the 'file' command needed by
7630 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7631 # unless we find 'file', for example because we are cross-compiling.
7632 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7633 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7634 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7635 lt_cv_file_magic_cmd='func_win32_libid'
7636 else
7637 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7638 lt_cv_file_magic_cmd='$OBJDUMP -f'
7639 fi
7640 ;;
7641
7642 cegcc*)
7643 # use the weaker test based on 'objdump'. See mingw*.
7644 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7645 lt_cv_file_magic_cmd='$OBJDUMP -f'
7646 ;;
7647
7648 darwin* | rhapsody*)
7649 lt_cv_deplibs_check_method=pass_all
7650 ;;
7651
7652 freebsd* | dragonfly*)
7653 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7654 case $host_cpu in
7655 i*86 )
7656 # Not sure whether the presence of OpenBSD here was a mistake.
7657 # Let's accept both of them until this is cleared up.
7658 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7659 lt_cv_file_magic_cmd=/usr/bin/file
7660 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7661 ;;
7662 esac
7663 else
7664 lt_cv_deplibs_check_method=pass_all
7665 fi
7666 ;;
7667
7668 gnu*)
7669 lt_cv_deplibs_check_method=pass_all
7670 ;;
7671
7672 haiku*)
7673 lt_cv_deplibs_check_method=pass_all
7674 ;;
7675
7676 hpux10.20* | hpux11*)
7677 lt_cv_file_magic_cmd=/usr/bin/file
7678 case $host_cpu in
7679 ia64*)
7680 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7681 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7682 ;;
7683 hppa*64*)
7684 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7685 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7686 ;;
7687 *)
7688 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7689 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7690 ;;
7691 esac
7692 ;;
7693
7694 interix[3-9]*)
7695 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7696 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7697 ;;
7698
7699 irix5* | irix6* | nonstopux*)
7700 case $LD in
7701 *-32|*"-32 ") libmagic=32-bit;;
7702 *-n32|*"-n32 ") libmagic=N32;;
7703 *-64|*"-64 ") libmagic=64-bit;;
7704 *) libmagic=never-match;;
7705 esac
7706 lt_cv_deplibs_check_method=pass_all
7707 ;;
7708
7709 # This must be Linux ELF.
7710 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7711 lt_cv_deplibs_check_method=pass_all
7712 ;;
7713
7714 netbsd*)
7715 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7716 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7717 else
7718 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7719 fi
7720 ;;
7721
7722 newos6*)
7723 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7724 lt_cv_file_magic_cmd=/usr/bin/file
7725 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7726 ;;
7727
7728 *nto* | *qnx*)
7729 lt_cv_deplibs_check_method=pass_all
7730 ;;
7731
7732 openbsd*)
7733 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7734 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7735 else
7736 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7737 fi
7738 ;;
7739
7740 osf3* | osf4* | osf5*)
7741 lt_cv_deplibs_check_method=pass_all
7742 ;;
7743
7744 rdos*)
7745 lt_cv_deplibs_check_method=pass_all
7746 ;;
7747
7748 solaris*)
7749 lt_cv_deplibs_check_method=pass_all
7750 ;;
7751
7752 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7753 lt_cv_deplibs_check_method=pass_all
7754 ;;
7755
7756 sysv4 | sysv4.3*)
7757 case $host_vendor in
7758 motorola)
7759 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7760 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7761 ;;
7762 ncr)
7763 lt_cv_deplibs_check_method=pass_all
7764 ;;
7765 sequent)
7766 lt_cv_file_magic_cmd='/bin/file'
7767 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7768 ;;
7769 sni)
7770 lt_cv_file_magic_cmd='/bin/file'
7771 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7772 lt_cv_file_magic_test_file=/lib/libc.so
7773 ;;
7774 siemens)
7775 lt_cv_deplibs_check_method=pass_all
7776 ;;
7777 pc)
7778 lt_cv_deplibs_check_method=pass_all
7779 ;;
7780 esac
7781 ;;
7782
7783 tpf*)
7784 lt_cv_deplibs_check_method=pass_all
7785 ;;
7786 esac
7787
7788 fi
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7790 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7791 file_magic_cmd=$lt_cv_file_magic_cmd
7792 deplibs_check_method=$lt_cv_deplibs_check_method
7793 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806 if test -n "$ac_tool_prefix"; then
7807 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7808 set dummy ${ac_tool_prefix}ar; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_AR+:} false; then :
7812 $as_echo_n "(cached) " >&6
7813 else
7814 if test -n "$AR"; then
7815 ac_cv_prog_AR="$AR" # Let the user override the test.
7816 else
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 for as_dir in $PATH
7819 do
7820 IFS=$as_save_IFS
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7824 ac_cv_prog_AR="${ac_tool_prefix}ar"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826 break 2
7827 fi
7828 done
7829 done
7830 IFS=$as_save_IFS
7831
7832 fi
7833 fi
7834 AR=$ac_cv_prog_AR
7835 if test -n "$AR"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7837 $as_echo "$AR" >&6; }
7838 else
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7841 fi
7842
7843
7844 fi
7845 if test -z "$ac_cv_prog_AR"; then
7846 ac_ct_AR=$AR
7847 # Extract the first word of "ar", so it can be a program name with args.
7848 set dummy ar; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7852 $as_echo_n "(cached) " >&6
7853 else
7854 if test -n "$ac_ct_AR"; then
7855 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7856 else
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 for as_dir in $PATH
7859 do
7860 IFS=$as_save_IFS
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_ac_ct_AR="ar"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 break 2
7867 fi
7868 done
7869 done
7870 IFS=$as_save_IFS
7871
7872 fi
7873 fi
7874 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7875 if test -n "$ac_ct_AR"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7877 $as_echo "$ac_ct_AR" >&6; }
7878 else
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7881 fi
7882
7883 if test "x$ac_ct_AR" = x; then
7884 AR="false"
7885 else
7886 case $cross_compiling:$ac_tool_warned in
7887 yes:)
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7890 ac_tool_warned=yes ;;
7891 esac
7892 AR=$ac_ct_AR
7893 fi
7894 else
7895 AR="$ac_cv_prog_AR"
7896 fi
7897
7898 test -z "$AR" && AR=ar
7899 test -z "$AR_FLAGS" && AR_FLAGS=cru
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911 if test -n "$ac_tool_prefix"; then
7912 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7913 set dummy ${ac_tool_prefix}strip; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_STRIP+:} false; then :
7917 $as_echo_n "(cached) " >&6
7918 else
7919 if test -n "$STRIP"; then
7920 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7921 else
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 for as_dir in $PATH
7924 do
7925 IFS=$as_save_IFS
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 break 2
7932 fi
7933 done
7934 done
7935 IFS=$as_save_IFS
7936
7937 fi
7938 fi
7939 STRIP=$ac_cv_prog_STRIP
7940 if test -n "$STRIP"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7942 $as_echo "$STRIP" >&6; }
7943 else
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7946 fi
7947
7948
7949 fi
7950 if test -z "$ac_cv_prog_STRIP"; then
7951 ac_ct_STRIP=$STRIP
7952 # Extract the first word of "strip", so it can be a program name with args.
7953 set dummy strip; ac_word=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7957 $as_echo_n "(cached) " >&6
7958 else
7959 if test -n "$ac_ct_STRIP"; then
7960 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7961 else
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 for as_dir in $PATH
7964 do
7965 IFS=$as_save_IFS
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_prog_ac_ct_STRIP="strip"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 break 2
7972 fi
7973 done
7974 done
7975 IFS=$as_save_IFS
7976
7977 fi
7978 fi
7979 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7980 if test -n "$ac_ct_STRIP"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7982 $as_echo "$ac_ct_STRIP" >&6; }
7983 else
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7986 fi
7987
7988 if test "x$ac_ct_STRIP" = x; then
7989 STRIP=":"
7990 else
7991 case $cross_compiling:$ac_tool_warned in
7992 yes:)
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7995 ac_tool_warned=yes ;;
7996 esac
7997 STRIP=$ac_ct_STRIP
7998 fi
7999 else
8000 STRIP="$ac_cv_prog_STRIP"
8001 fi
8002
8003 test -z "$STRIP" && STRIP=:
8004
8005
8006
8007
8008
8009
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8012 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_RANLIB+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 if test -n "$RANLIB"; then
8019 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8023 do
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8031 fi
8032 done
8033 done
8034 IFS=$as_save_IFS
8035
8036 fi
8037 fi
8038 RANLIB=$ac_cv_prog_RANLIB
8039 if test -n "$RANLIB"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8041 $as_echo "$RANLIB" >&6; }
8042 else
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8045 fi
8046
8047
8048 fi
8049 if test -z "$ac_cv_prog_RANLIB"; then
8050 ac_ct_RANLIB=$RANLIB
8051 # Extract the first word of "ranlib", so it can be a program name with args.
8052 set dummy ranlib; ac_word=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8056 $as_echo_n "(cached) " >&6
8057 else
8058 if test -n "$ac_ct_RANLIB"; then
8059 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8060 else
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 for as_dir in $PATH
8063 do
8064 IFS=$as_save_IFS
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_ac_ct_RANLIB="ranlib"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8070 break 2
8071 fi
8072 done
8073 done
8074 IFS=$as_save_IFS
8075
8076 fi
8077 fi
8078 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8079 if test -n "$ac_ct_RANLIB"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8081 $as_echo "$ac_ct_RANLIB" >&6; }
8082 else
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8085 fi
8086
8087 if test "x$ac_ct_RANLIB" = x; then
8088 RANLIB=":"
8089 else
8090 case $cross_compiling:$ac_tool_warned in
8091 yes:)
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8094 ac_tool_warned=yes ;;
8095 esac
8096 RANLIB=$ac_ct_RANLIB
8097 fi
8098 else
8099 RANLIB="$ac_cv_prog_RANLIB"
8100 fi
8101
8102 test -z "$RANLIB" && RANLIB=:
8103
8104
8105
8106
8107
8108
8109 # Determine commands to create old-style static archives.
8110 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8111 old_postinstall_cmds='chmod 644 $oldlib'
8112 old_postuninstall_cmds=
8113
8114 if test -n "$RANLIB"; then
8115 case $host_os in
8116 openbsd*)
8117 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8118 ;;
8119 *)
8120 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8121 ;;
8122 esac
8123 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8124 fi
8125
8126 case $host_os in
8127 darwin*)
8128 lock_old_archive_extraction=yes ;;
8129 *)
8130 lock_old_archive_extraction=no ;;
8131 esac
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
8170
8171 # If no C compiler was specified, use CC.
8172 LTCC=${LTCC-"$CC"}
8173
8174 # If no C compiler flags were specified, use CFLAGS.
8175 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8176
8177 # Allow CC to be a program name with arguments.
8178 compiler=$CC
8179
8180
8181 # Check for command to grab the raw symbol name followed by C symbol from nm.
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8183 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8184 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8185 $as_echo_n "(cached) " >&6
8186 else
8187
8188 # These are sane defaults that work on at least a few old systems.
8189 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8190
8191 # Character class describing NM global symbol codes.
8192 symcode='[BCDEGRST]'
8193
8194 # Regexp to match symbols that can be accessed directly from C.
8195 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8196
8197 # Define system-specific variables.
8198 case $host_os in
8199 aix*)
8200 symcode='[BCDT]'
8201 ;;
8202 cygwin* | mingw* | pw32* | cegcc*)
8203 symcode='[ABCDGISTW]'
8204 ;;
8205 hpux*)
8206 if test "$host_cpu" = ia64; then
8207 symcode='[ABCDEGRST]'
8208 fi
8209 ;;
8210 irix* | nonstopux*)
8211 symcode='[BCDEGRST]'
8212 ;;
8213 osf*)
8214 symcode='[BCDEGQRST]'
8215 ;;
8216 solaris*)
8217 symcode='[BDRT]'
8218 ;;
8219 sco3.2v5*)
8220 symcode='[DT]'
8221 ;;
8222 sysv4.2uw2*)
8223 symcode='[DT]'
8224 ;;
8225 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8226 symcode='[ABDT]'
8227 ;;
8228 sysv4)
8229 symcode='[DFNSTU]'
8230 ;;
8231 esac
8232
8233 # If we're using GNU nm, then use its standard symbol codes.
8234 case `$NM -V 2>&1` in
8235 *GNU* | *'with BFD'*)
8236 symcode='[ABCDGIRSTW]' ;;
8237 esac
8238
8239 # Transform an extracted symbol line into a proper C declaration.
8240 # Some systems (esp. on ia64) link data and code symbols differently,
8241 # so use this general approach.
8242 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8243
8244 # Transform an extracted symbol line into symbol name and symbol address
8245 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8246 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
8247
8248 # Handle CRLF in mingw tool chain
8249 opt_cr=
8250 case $build_os in
8251 mingw*)
8252 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8253 ;;
8254 esac
8255
8256 # Try without a prefix underscore, then with it.
8257 for ac_symprfx in "" "_"; do
8258
8259 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8260 symxfrm="\\1 $ac_symprfx\\2 \\2"
8261
8262 # Write the raw and C identifiers.
8263 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8264 # Fake it for dumpbin and say T for any non-static function
8265 # and D for any global variable.
8266 # Also find C++ and __fastcall symbols from MSVC++,
8267 # which start with @ or ?.
8268 lt_cv_sys_global_symbol_pipe="$AWK '"\
8269 " {last_section=section; section=\$ 3};"\
8270 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8271 " \$ 0!~/External *\|/{next};"\
8272 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8273 " {if(hide[section]) next};"\
8274 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8275 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8276 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8277 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8278 " ' prfx=^$ac_symprfx"
8279 else
8280 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8281 fi
8282
8283 # Check to see that the pipe works correctly.
8284 pipe_works=no
8285
8286 rm -f conftest*
8287 cat > conftest.$ac_ext <<_LT_EOF
8288 #ifdef __cplusplus
8289 extern "C" {
8290 #endif
8291 char nm_test_var;
8292 void nm_test_func(void);
8293 void nm_test_func(void){}
8294 #ifdef __cplusplus
8295 }
8296 #endif
8297 int main(){nm_test_var='a';nm_test_func();return(0);}
8298 _LT_EOF
8299
8300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8301 (eval $ac_compile) 2>&5
8302 ac_status=$?
8303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8304 test $ac_status = 0; }; then
8305 # Now try to grab the symbols.
8306 nlist=conftest.nm
8307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8308 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8309 ac_status=$?
8310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8311 test $ac_status = 0; } && test -s "$nlist"; then
8312 # Try sorting and uniquifying the output.
8313 if sort "$nlist" | uniq > "$nlist"T; then
8314 mv -f "$nlist"T "$nlist"
8315 else
8316 rm -f "$nlist"T
8317 fi
8318
8319 # Make sure that we snagged all the symbols we need.
8320 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8321 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8322 cat <<_LT_EOF > conftest.$ac_ext
8323 #ifdef __cplusplus
8324 extern "C" {
8325 #endif
8326
8327 _LT_EOF
8328 # Now generate the symbol file.
8329 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8330
8331 cat <<_LT_EOF >> conftest.$ac_ext
8332
8333 /* The mapping between symbol names and symbols. */
8334 const struct {
8335 const char *name;
8336 void *address;
8337 }
8338 lt__PROGRAM__LTX_preloaded_symbols[] =
8339 {
8340 { "@PROGRAM@", (void *) 0 },
8341 _LT_EOF
8342 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8343 cat <<\_LT_EOF >> conftest.$ac_ext
8344 {0, (void *) 0}
8345 };
8346
8347 /* This works around a problem in FreeBSD linker */
8348 #ifdef FREEBSD_WORKAROUND
8349 static const void *lt_preloaded_setup() {
8350 return lt__PROGRAM__LTX_preloaded_symbols;
8351 }
8352 #endif
8353
8354 #ifdef __cplusplus
8355 }
8356 #endif
8357 _LT_EOF
8358 # Now try linking the two files.
8359 mv conftest.$ac_objext conftstm.$ac_objext
8360 lt_save_LIBS="$LIBS"
8361 lt_save_CFLAGS="$CFLAGS"
8362 LIBS="conftstm.$ac_objext"
8363 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8365 (eval $ac_link) 2>&5
8366 ac_status=$?
8367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8368 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8369 pipe_works=yes
8370 fi
8371 LIBS="$lt_save_LIBS"
8372 CFLAGS="$lt_save_CFLAGS"
8373 else
8374 echo "cannot find nm_test_func in $nlist" >&5
8375 fi
8376 else
8377 echo "cannot find nm_test_var in $nlist" >&5
8378 fi
8379 else
8380 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8381 fi
8382 else
8383 echo "$progname: failed program was:" >&5
8384 cat conftest.$ac_ext >&5
8385 fi
8386 rm -rf conftest* conftst*
8387
8388 # Do not use the global_symbol_pipe unless it works.
8389 if test "$pipe_works" = yes; then
8390 break
8391 else
8392 lt_cv_sys_global_symbol_pipe=
8393 fi
8394 done
8395
8396 fi
8397
8398 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8399 lt_cv_sys_global_symbol_to_cdecl=
8400 fi
8401 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8403 $as_echo "failed" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8406 $as_echo "ok" >&6; }
8407 fi
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430 # Check whether --enable-libtool-lock was given.
8431 if test "${enable_libtool_lock+set}" = set; then :
8432 enableval=$enable_libtool_lock;
8433 fi
8434
8435 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8436
8437 # Some flags need to be propagated to the compiler or linker for good
8438 # libtool support.
8439 case $host in
8440 ia64-*-hpux*)
8441 # Find out which ABI we are using.
8442 echo 'int i;' > conftest.$ac_ext
8443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8444 (eval $ac_compile) 2>&5
8445 ac_status=$?
8446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8447 test $ac_status = 0; }; then
8448 case `/usr/bin/file conftest.$ac_objext` in
8449 *ELF-32*)
8450 HPUX_IA64_MODE="32"
8451 ;;
8452 *ELF-64*)
8453 HPUX_IA64_MODE="64"
8454 ;;
8455 esac
8456 fi
8457 rm -rf conftest*
8458 ;;
8459 *-*-irix6*)
8460 # Find out which ABI we are using.
8461 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8463 (eval $ac_compile) 2>&5
8464 ac_status=$?
8465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8466 test $ac_status = 0; }; then
8467 if test "$lt_cv_prog_gnu_ld" = yes; then
8468 case `/usr/bin/file conftest.$ac_objext` in
8469 *32-bit*)
8470 LD="${LD-ld} -melf32bsmip"
8471 ;;
8472 *N32*)
8473 LD="${LD-ld} -melf32bmipn32"
8474 ;;
8475 *64-bit*)
8476 LD="${LD-ld} -melf64bmip"
8477 ;;
8478 esac
8479 else
8480 case `/usr/bin/file conftest.$ac_objext` in
8481 *32-bit*)
8482 LD="${LD-ld} -32"
8483 ;;
8484 *N32*)
8485 LD="${LD-ld} -n32"
8486 ;;
8487 *64-bit*)
8488 LD="${LD-ld} -64"
8489 ;;
8490 esac
8491 fi
8492 fi
8493 rm -rf conftest*
8494 ;;
8495
8496 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8497 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8498 # Find out which ABI we are using.
8499 echo 'int i;' > conftest.$ac_ext
8500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8501 (eval $ac_compile) 2>&5
8502 ac_status=$?
8503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8504 test $ac_status = 0; }; then
8505 case `/usr/bin/file conftest.o` in
8506 *32-bit*)
8507 case $host in
8508 x86_64-*kfreebsd*-gnu)
8509 LD="${LD-ld} -m elf_i386_fbsd"
8510 ;;
8511 x86_64-*linux*)
8512 case `/usr/bin/file conftest.o` in
8513 *x86-64*)
8514 LD="${LD-ld} -m elf32_x86_64"
8515 ;;
8516 *)
8517 LD="${LD-ld} -m elf_i386"
8518 ;;
8519 esac
8520 ;;
8521 powerpc64le-*linux*)
8522 LD="${LD-ld} -m elf32lppclinux"
8523 ;;
8524 powerpc64-*linux*)
8525 LD="${LD-ld} -m elf32ppclinux"
8526 ;;
8527 s390x-*linux*)
8528 LD="${LD-ld} -m elf_s390"
8529 ;;
8530 sparc64-*linux*)
8531 LD="${LD-ld} -m elf32_sparc"
8532 ;;
8533 esac
8534 ;;
8535 *64-bit*)
8536 case $host in
8537 x86_64-*kfreebsd*-gnu)
8538 LD="${LD-ld} -m elf_x86_64_fbsd"
8539 ;;
8540 x86_64-*linux*)
8541 LD="${LD-ld} -m elf_x86_64"
8542 ;;
8543 powerpcle-*linux*)
8544 LD="${LD-ld} -m elf64lppc"
8545 ;;
8546 powerpc-*linux*)
8547 LD="${LD-ld} -m elf64ppc"
8548 ;;
8549 s390*-*linux*|s390*-*tpf*)
8550 LD="${LD-ld} -m elf64_s390"
8551 ;;
8552 sparc*-*linux*)
8553 LD="${LD-ld} -m elf64_sparc"
8554 ;;
8555 esac
8556 ;;
8557 esac
8558 fi
8559 rm -rf conftest*
8560 ;;
8561
8562 *-*-sco3.2v5*)
8563 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8564 SAVE_CFLAGS="$CFLAGS"
8565 CFLAGS="$CFLAGS -belf"
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8567 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8568 if ${lt_cv_cc_needs_belf+:} false; then :
8569 $as_echo_n "(cached) " >&6
8570 else
8571 ac_ext=c
8572 ac_cpp='$CPP $CPPFLAGS'
8573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8576
8577 if test x$gcc_no_link = xyes; then
8578 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8579 fi
8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8582
8583 int
8584 main ()
8585 {
8586
8587 ;
8588 return 0;
8589 }
8590 _ACEOF
8591 if ac_fn_c_try_link "$LINENO"; then :
8592 lt_cv_cc_needs_belf=yes
8593 else
8594 lt_cv_cc_needs_belf=no
8595 fi
8596 rm -f core conftest.err conftest.$ac_objext \
8597 conftest$ac_exeext conftest.$ac_ext
8598 ac_ext=c
8599 ac_cpp='$CPP $CPPFLAGS'
8600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8603
8604 fi
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8606 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8607 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8608 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8609 CFLAGS="$SAVE_CFLAGS"
8610 fi
8611 ;;
8612 sparc*-*solaris*)
8613 # Find out which ABI we are using.
8614 echo 'int i;' > conftest.$ac_ext
8615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8616 (eval $ac_compile) 2>&5
8617 ac_status=$?
8618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8619 test $ac_status = 0; }; then
8620 case `/usr/bin/file conftest.o` in
8621 *64-bit*)
8622 case $lt_cv_prog_gnu_ld in
8623 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8624 *)
8625 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8626 LD="${LD-ld} -64"
8627 fi
8628 ;;
8629 esac
8630 ;;
8631 esac
8632 fi
8633 rm -rf conftest*
8634 ;;
8635 esac
8636
8637 need_locks="$enable_libtool_lock"
8638
8639
8640 case $host_os in
8641 rhapsody* | darwin*)
8642 if test -n "$ac_tool_prefix"; then
8643 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8644 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8646 $as_echo_n "checking for $ac_word... " >&6; }
8647 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 if test -n "$DSYMUTIL"; then
8651 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8652 else
8653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8654 for as_dir in $PATH
8655 do
8656 IFS=$as_save_IFS
8657 test -z "$as_dir" && as_dir=.
8658 for ac_exec_ext in '' $ac_executable_extensions; do
8659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8660 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8662 break 2
8663 fi
8664 done
8665 done
8666 IFS=$as_save_IFS
8667
8668 fi
8669 fi
8670 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8671 if test -n "$DSYMUTIL"; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8673 $as_echo "$DSYMUTIL" >&6; }
8674 else
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8676 $as_echo "no" >&6; }
8677 fi
8678
8679
8680 fi
8681 if test -z "$ac_cv_prog_DSYMUTIL"; then
8682 ac_ct_DSYMUTIL=$DSYMUTIL
8683 # Extract the first word of "dsymutil", so it can be a program name with args.
8684 set dummy dsymutil; ac_word=$2
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8686 $as_echo_n "checking for $ac_word... " >&6; }
8687 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8688 $as_echo_n "(cached) " >&6
8689 else
8690 if test -n "$ac_ct_DSYMUTIL"; then
8691 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8692 else
8693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8694 for as_dir in $PATH
8695 do
8696 IFS=$as_save_IFS
8697 test -z "$as_dir" && as_dir=.
8698 for ac_exec_ext in '' $ac_executable_extensions; do
8699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8700 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8702 break 2
8703 fi
8704 done
8705 done
8706 IFS=$as_save_IFS
8707
8708 fi
8709 fi
8710 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8711 if test -n "$ac_ct_DSYMUTIL"; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8713 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8714 else
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716 $as_echo "no" >&6; }
8717 fi
8718
8719 if test "x$ac_ct_DSYMUTIL" = x; then
8720 DSYMUTIL=":"
8721 else
8722 case $cross_compiling:$ac_tool_warned in
8723 yes:)
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8726 ac_tool_warned=yes ;;
8727 esac
8728 DSYMUTIL=$ac_ct_DSYMUTIL
8729 fi
8730 else
8731 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8732 fi
8733
8734 if test -n "$ac_tool_prefix"; then
8735 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8736 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8738 $as_echo_n "checking for $ac_word... " >&6; }
8739 if ${ac_cv_prog_NMEDIT+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 if test -n "$NMEDIT"; then
8743 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8744 else
8745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746 for as_dir in $PATH
8747 do
8748 IFS=$as_save_IFS
8749 test -z "$as_dir" && as_dir=.
8750 for ac_exec_ext in '' $ac_executable_extensions; do
8751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8752 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8754 break 2
8755 fi
8756 done
8757 done
8758 IFS=$as_save_IFS
8759
8760 fi
8761 fi
8762 NMEDIT=$ac_cv_prog_NMEDIT
8763 if test -n "$NMEDIT"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8765 $as_echo "$NMEDIT" >&6; }
8766 else
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8769 fi
8770
8771
8772 fi
8773 if test -z "$ac_cv_prog_NMEDIT"; then
8774 ac_ct_NMEDIT=$NMEDIT
8775 # Extract the first word of "nmedit", so it can be a program name with args.
8776 set dummy nmedit; ac_word=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778 $as_echo_n "checking for $ac_word... " >&6; }
8779 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8780 $as_echo_n "(cached) " >&6
8781 else
8782 if test -n "$ac_ct_NMEDIT"; then
8783 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8784 else
8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 for as_dir in $PATH
8787 do
8788 IFS=$as_save_IFS
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8792 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8794 break 2
8795 fi
8796 done
8797 done
8798 IFS=$as_save_IFS
8799
8800 fi
8801 fi
8802 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8803 if test -n "$ac_ct_NMEDIT"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8805 $as_echo "$ac_ct_NMEDIT" >&6; }
8806 else
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8809 fi
8810
8811 if test "x$ac_ct_NMEDIT" = x; then
8812 NMEDIT=":"
8813 else
8814 case $cross_compiling:$ac_tool_warned in
8815 yes:)
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8818 ac_tool_warned=yes ;;
8819 esac
8820 NMEDIT=$ac_ct_NMEDIT
8821 fi
8822 else
8823 NMEDIT="$ac_cv_prog_NMEDIT"
8824 fi
8825
8826 if test -n "$ac_tool_prefix"; then
8827 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8828 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8830 $as_echo_n "checking for $ac_word... " >&6; }
8831 if ${ac_cv_prog_LIPO+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 if test -n "$LIPO"; then
8835 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8836 else
8837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838 for as_dir in $PATH
8839 do
8840 IFS=$as_save_IFS
8841 test -z "$as_dir" && as_dir=.
8842 for ac_exec_ext in '' $ac_executable_extensions; do
8843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8844 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8846 break 2
8847 fi
8848 done
8849 done
8850 IFS=$as_save_IFS
8851
8852 fi
8853 fi
8854 LIPO=$ac_cv_prog_LIPO
8855 if test -n "$LIPO"; then
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8857 $as_echo "$LIPO" >&6; }
8858 else
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8860 $as_echo "no" >&6; }
8861 fi
8862
8863
8864 fi
8865 if test -z "$ac_cv_prog_LIPO"; then
8866 ac_ct_LIPO=$LIPO
8867 # Extract the first word of "lipo", so it can be a program name with args.
8868 set dummy lipo; ac_word=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8870 $as_echo_n "checking for $ac_word... " >&6; }
8871 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8872 $as_echo_n "(cached) " >&6
8873 else
8874 if test -n "$ac_ct_LIPO"; then
8875 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8876 else
8877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8878 for as_dir in $PATH
8879 do
8880 IFS=$as_save_IFS
8881 test -z "$as_dir" && as_dir=.
8882 for ac_exec_ext in '' $ac_executable_extensions; do
8883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8884 ac_cv_prog_ac_ct_LIPO="lipo"
8885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8886 break 2
8887 fi
8888 done
8889 done
8890 IFS=$as_save_IFS
8891
8892 fi
8893 fi
8894 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8895 if test -n "$ac_ct_LIPO"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8897 $as_echo "$ac_ct_LIPO" >&6; }
8898 else
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8901 fi
8902
8903 if test "x$ac_ct_LIPO" = x; then
8904 LIPO=":"
8905 else
8906 case $cross_compiling:$ac_tool_warned in
8907 yes:)
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8910 ac_tool_warned=yes ;;
8911 esac
8912 LIPO=$ac_ct_LIPO
8913 fi
8914 else
8915 LIPO="$ac_cv_prog_LIPO"
8916 fi
8917
8918 if test -n "$ac_tool_prefix"; then
8919 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8920 set dummy ${ac_tool_prefix}otool; ac_word=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8922 $as_echo_n "checking for $ac_word... " >&6; }
8923 if ${ac_cv_prog_OTOOL+:} false; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 if test -n "$OTOOL"; then
8927 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8928 else
8929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8930 for as_dir in $PATH
8931 do
8932 IFS=$as_save_IFS
8933 test -z "$as_dir" && as_dir=.
8934 for ac_exec_ext in '' $ac_executable_extensions; do
8935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8936 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8938 break 2
8939 fi
8940 done
8941 done
8942 IFS=$as_save_IFS
8943
8944 fi
8945 fi
8946 OTOOL=$ac_cv_prog_OTOOL
8947 if test -n "$OTOOL"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8949 $as_echo "$OTOOL" >&6; }
8950 else
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8952 $as_echo "no" >&6; }
8953 fi
8954
8955
8956 fi
8957 if test -z "$ac_cv_prog_OTOOL"; then
8958 ac_ct_OTOOL=$OTOOL
8959 # Extract the first word of "otool", so it can be a program name with args.
8960 set dummy otool; ac_word=$2
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8962 $as_echo_n "checking for $ac_word... " >&6; }
8963 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8964 $as_echo_n "(cached) " >&6
8965 else
8966 if test -n "$ac_ct_OTOOL"; then
8967 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8968 else
8969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8970 for as_dir in $PATH
8971 do
8972 IFS=$as_save_IFS
8973 test -z "$as_dir" && as_dir=.
8974 for ac_exec_ext in '' $ac_executable_extensions; do
8975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8976 ac_cv_prog_ac_ct_OTOOL="otool"
8977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8978 break 2
8979 fi
8980 done
8981 done
8982 IFS=$as_save_IFS
8983
8984 fi
8985 fi
8986 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8987 if test -n "$ac_ct_OTOOL"; then
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8989 $as_echo "$ac_ct_OTOOL" >&6; }
8990 else
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8992 $as_echo "no" >&6; }
8993 fi
8994
8995 if test "x$ac_ct_OTOOL" = x; then
8996 OTOOL=":"
8997 else
8998 case $cross_compiling:$ac_tool_warned in
8999 yes:)
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9002 ac_tool_warned=yes ;;
9003 esac
9004 OTOOL=$ac_ct_OTOOL
9005 fi
9006 else
9007 OTOOL="$ac_cv_prog_OTOOL"
9008 fi
9009
9010 if test -n "$ac_tool_prefix"; then
9011 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9012 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9014 $as_echo_n "checking for $ac_word... " >&6; }
9015 if ${ac_cv_prog_OTOOL64+:} false; then :
9016 $as_echo_n "(cached) " >&6
9017 else
9018 if test -n "$OTOOL64"; then
9019 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9020 else
9021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9022 for as_dir in $PATH
9023 do
9024 IFS=$as_save_IFS
9025 test -z "$as_dir" && as_dir=.
9026 for ac_exec_ext in '' $ac_executable_extensions; do
9027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9028 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9030 break 2
9031 fi
9032 done
9033 done
9034 IFS=$as_save_IFS
9035
9036 fi
9037 fi
9038 OTOOL64=$ac_cv_prog_OTOOL64
9039 if test -n "$OTOOL64"; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9041 $as_echo "$OTOOL64" >&6; }
9042 else
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9044 $as_echo "no" >&6; }
9045 fi
9046
9047
9048 fi
9049 if test -z "$ac_cv_prog_OTOOL64"; then
9050 ac_ct_OTOOL64=$OTOOL64
9051 # Extract the first word of "otool64", so it can be a program name with args.
9052 set dummy otool64; ac_word=$2
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9054 $as_echo_n "checking for $ac_word... " >&6; }
9055 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9056 $as_echo_n "(cached) " >&6
9057 else
9058 if test -n "$ac_ct_OTOOL64"; then
9059 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9060 else
9061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9062 for as_dir in $PATH
9063 do
9064 IFS=$as_save_IFS
9065 test -z "$as_dir" && as_dir=.
9066 for ac_exec_ext in '' $ac_executable_extensions; do
9067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9068 ac_cv_prog_ac_ct_OTOOL64="otool64"
9069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9070 break 2
9071 fi
9072 done
9073 done
9074 IFS=$as_save_IFS
9075
9076 fi
9077 fi
9078 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9079 if test -n "$ac_ct_OTOOL64"; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9081 $as_echo "$ac_ct_OTOOL64" >&6; }
9082 else
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9084 $as_echo "no" >&6; }
9085 fi
9086
9087 if test "x$ac_ct_OTOOL64" = x; then
9088 OTOOL64=":"
9089 else
9090 case $cross_compiling:$ac_tool_warned in
9091 yes:)
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9094 ac_tool_warned=yes ;;
9095 esac
9096 OTOOL64=$ac_ct_OTOOL64
9097 fi
9098 else
9099 OTOOL64="$ac_cv_prog_OTOOL64"
9100 fi
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
9127
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9129 $as_echo_n "checking for -single_module linker flag... " >&6; }
9130 if ${lt_cv_apple_cc_single_mod+:} false; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 lt_cv_apple_cc_single_mod=no
9134 if test -z "${LT_MULTI_MODULE}"; then
9135 # By default we will add the -single_module flag. You can override
9136 # by either setting the environment variable LT_MULTI_MODULE
9137 # non-empty at configure time, or by adding -multi_module to the
9138 # link flags.
9139 rm -rf libconftest.dylib*
9140 echo "int foo(void){return 1;}" > conftest.c
9141 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9142 -dynamiclib -Wl,-single_module conftest.c" >&5
9143 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9144 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9145 _lt_result=$?
9146 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9147 lt_cv_apple_cc_single_mod=yes
9148 else
9149 cat conftest.err >&5
9150 fi
9151 rm -rf libconftest.dylib*
9152 rm -f conftest.*
9153 fi
9154 fi
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9156 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9158 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9159 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9160 $as_echo_n "(cached) " >&6
9161 else
9162 lt_cv_ld_exported_symbols_list=no
9163 save_LDFLAGS=$LDFLAGS
9164 echo "_main" > conftest.sym
9165 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9166 if test x$gcc_no_link = xyes; then
9167 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9168 fi
9169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9171
9172 int
9173 main ()
9174 {
9175
9176 ;
9177 return 0;
9178 }
9179 _ACEOF
9180 if ac_fn_c_try_link "$LINENO"; then :
9181 lt_cv_ld_exported_symbols_list=yes
9182 else
9183 lt_cv_ld_exported_symbols_list=no
9184 fi
9185 rm -f core conftest.err conftest.$ac_objext \
9186 conftest$ac_exeext conftest.$ac_ext
9187 LDFLAGS="$save_LDFLAGS"
9188
9189 fi
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9191 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9193 $as_echo_n "checking for -force_load linker flag... " >&6; }
9194 if ${lt_cv_ld_force_load+:} false; then :
9195 $as_echo_n "(cached) " >&6
9196 else
9197 lt_cv_ld_force_load=no
9198 cat > conftest.c << _LT_EOF
9199 int forced_loaded() { return 2;}
9200 _LT_EOF
9201 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9202 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9203 echo "$AR cru libconftest.a conftest.o" >&5
9204 $AR cru libconftest.a conftest.o 2>&5
9205 cat > conftest.c << _LT_EOF
9206 int main() { return 0;}
9207 _LT_EOF
9208 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9209 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9210 _lt_result=$?
9211 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9212 lt_cv_ld_force_load=yes
9213 else
9214 cat conftest.err >&5
9215 fi
9216 rm -f conftest.err libconftest.a conftest conftest.c
9217 rm -rf conftest.dSYM
9218
9219 fi
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9221 $as_echo "$lt_cv_ld_force_load" >&6; }
9222 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9223 # build without first building modern cctools / linker.
9224 case $host_cpu-$host_os in
9225 *-rhapsody* | *-darwin1.[012])
9226 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9227 *-darwin1.*)
9228 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9229 *-darwin*)
9230 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9231 # deployment target is forced to an earlier version.
9232 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9233 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9234 ;;
9235 10.[012][,.]*)
9236 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9237 ;;
9238 *)
9239 ;;
9240 esac
9241 ;;
9242 esac
9243 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9244 _lt_dar_single_mod='$single_module'
9245 fi
9246 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9247 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9248 else
9249 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9250 fi
9251 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9252 _lt_dsymutil='~$DSYMUTIL $lib || :'
9253 else
9254 _lt_dsymutil=
9255 fi
9256 ;;
9257 esac
9258
9259 for ac_header in dlfcn.h
9260 do :
9261 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9262 "
9263 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9264 cat >>confdefs.h <<_ACEOF
9265 #define HAVE_DLFCN_H 1
9266 _ACEOF
9267
9268 fi
9269
9270 done
9271
9272
9273
9274
9275
9276 # Set options
9277
9278
9279
9280
9281 enable_win32_dll=no
9282
9283
9284 # Check whether --enable-shared was given.
9285 if test "${enable_shared+set}" = set; then :
9286 enableval=$enable_shared; p=${PACKAGE-default}
9287 case $enableval in
9288 yes) enable_shared=yes ;;
9289 no) enable_shared=no ;;
9290 *)
9291 enable_shared=no
9292 # Look at the argument we got. We use all the common list separators.
9293 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9294 for pkg in $enableval; do
9295 IFS="$lt_save_ifs"
9296 if test "X$pkg" = "X$p"; then
9297 enable_shared=yes
9298 fi
9299 done
9300 IFS="$lt_save_ifs"
9301 ;;
9302 esac
9303 else
9304 enable_shared=yes
9305 fi
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315 # Check whether --enable-static was given.
9316 if test "${enable_static+set}" = set; then :
9317 enableval=$enable_static; p=${PACKAGE-default}
9318 case $enableval in
9319 yes) enable_static=yes ;;
9320 no) enable_static=no ;;
9321 *)
9322 enable_static=no
9323 # Look at the argument we got. We use all the common list separators.
9324 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9325 for pkg in $enableval; do
9326 IFS="$lt_save_ifs"
9327 if test "X$pkg" = "X$p"; then
9328 enable_static=yes
9329 fi
9330 done
9331 IFS="$lt_save_ifs"
9332 ;;
9333 esac
9334 else
9335 enable_static=yes
9336 fi
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347 # Check whether --with-pic was given.
9348 if test "${with_pic+set}" = set; then :
9349 withval=$with_pic; pic_mode="$withval"
9350 else
9351 pic_mode=default
9352 fi
9353
9354
9355 test -z "$pic_mode" && pic_mode=default
9356
9357
9358
9359
9360
9361
9362
9363 # Check whether --enable-fast-install was given.
9364 if test "${enable_fast_install+set}" = set; then :
9365 enableval=$enable_fast_install; p=${PACKAGE-default}
9366 case $enableval in
9367 yes) enable_fast_install=yes ;;
9368 no) enable_fast_install=no ;;
9369 *)
9370 enable_fast_install=no
9371 # Look at the argument we got. We use all the common list separators.
9372 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9373 for pkg in $enableval; do
9374 IFS="$lt_save_ifs"
9375 if test "X$pkg" = "X$p"; then
9376 enable_fast_install=yes
9377 fi
9378 done
9379 IFS="$lt_save_ifs"
9380 ;;
9381 esac
9382 else
9383 enable_fast_install=yes
9384 fi
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396 # This can be used to rebuild libtool when needed
9397 LIBTOOL_DEPS="$ltmain"
9398
9399 # Always use our own libtool.
9400 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
9426
9427 test -z "$LN_S" && LN_S="ln -s"
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442 if test -n "${ZSH_VERSION+set}" ; then
9443 setopt NO_GLOB_SUBST
9444 fi
9445
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9447 $as_echo_n "checking for objdir... " >&6; }
9448 if ${lt_cv_objdir+:} false; then :
9449 $as_echo_n "(cached) " >&6
9450 else
9451 rm -f .libs 2>/dev/null
9452 mkdir .libs 2>/dev/null
9453 if test -d .libs; then
9454 lt_cv_objdir=.libs
9455 else
9456 # MS-DOS does not allow filenames that begin with a dot.
9457 lt_cv_objdir=_libs
9458 fi
9459 rmdir .libs 2>/dev/null
9460 fi
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9462 $as_echo "$lt_cv_objdir" >&6; }
9463 objdir=$lt_cv_objdir
9464
9465
9466
9467
9468
9469 cat >>confdefs.h <<_ACEOF
9470 #define LT_OBJDIR "$lt_cv_objdir/"
9471 _ACEOF
9472
9473
9474
9475
9476 case $host_os in
9477 aix3*)
9478 # AIX sometimes has problems with the GCC collect2 program. For some
9479 # reason, if we set the COLLECT_NAMES environment variable, the problems
9480 # vanish in a puff of smoke.
9481 if test "X${COLLECT_NAMES+set}" != Xset; then
9482 COLLECT_NAMES=
9483 export COLLECT_NAMES
9484 fi
9485 ;;
9486 esac
9487
9488 # Global variables:
9489 ofile=libtool
9490 can_build_shared=yes
9491
9492 # All known linkers require a `.a' archive for static linking (except MSVC,
9493 # which needs '.lib').
9494 libext=a
9495
9496 with_gnu_ld="$lt_cv_prog_gnu_ld"
9497
9498 old_CC="$CC"
9499 old_CFLAGS="$CFLAGS"
9500
9501 # Set sane defaults for various variables
9502 test -z "$CC" && CC=cc
9503 test -z "$LTCC" && LTCC=$CC
9504 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9505 test -z "$LD" && LD=ld
9506 test -z "$ac_objext" && ac_objext=o
9507
9508 for cc_temp in $compiler""; do
9509 case $cc_temp in
9510 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9511 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9512 \-*) ;;
9513 *) break;;
9514 esac
9515 done
9516 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9517
9518
9519 # Only perform the check for file, if the check method requires it
9520 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9521 case $deplibs_check_method in
9522 file_magic*)
9523 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9525 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9526 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 case $MAGIC_CMD in
9530 [\\/*] | ?:[\\/]*)
9531 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9532 ;;
9533 *)
9534 lt_save_MAGIC_CMD="$MAGIC_CMD"
9535 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9536 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9537 for ac_dir in $ac_dummy; do
9538 IFS="$lt_save_ifs"
9539 test -z "$ac_dir" && ac_dir=.
9540 if test -f $ac_dir/${ac_tool_prefix}file; then
9541 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9542 if test -n "$file_magic_test_file"; then
9543 case $deplibs_check_method in
9544 "file_magic "*)
9545 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9546 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9547 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9548 $EGREP "$file_magic_regex" > /dev/null; then
9549 :
9550 else
9551 cat <<_LT_EOF 1>&2
9552
9553 *** Warning: the command libtool uses to detect shared libraries,
9554 *** $file_magic_cmd, produces output that libtool cannot recognize.
9555 *** The result is that libtool may fail to recognize shared libraries
9556 *** as such. This will affect the creation of libtool libraries that
9557 *** depend on shared libraries, but programs linked with such libtool
9558 *** libraries will work regardless of this problem. Nevertheless, you
9559 *** may want to report the problem to your system manager and/or to
9560 *** bug-libtool@gnu.org
9561
9562 _LT_EOF
9563 fi ;;
9564 esac
9565 fi
9566 break
9567 fi
9568 done
9569 IFS="$lt_save_ifs"
9570 MAGIC_CMD="$lt_save_MAGIC_CMD"
9571 ;;
9572 esac
9573 fi
9574
9575 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9576 if test -n "$MAGIC_CMD"; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9578 $as_echo "$MAGIC_CMD" >&6; }
9579 else
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9581 $as_echo "no" >&6; }
9582 fi
9583
9584
9585
9586
9587
9588 if test -z "$lt_cv_path_MAGIC_CMD"; then
9589 if test -n "$ac_tool_prefix"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9591 $as_echo_n "checking for file... " >&6; }
9592 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 case $MAGIC_CMD in
9596 [\\/*] | ?:[\\/]*)
9597 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9598 ;;
9599 *)
9600 lt_save_MAGIC_CMD="$MAGIC_CMD"
9601 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9602 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9603 for ac_dir in $ac_dummy; do
9604 IFS="$lt_save_ifs"
9605 test -z "$ac_dir" && ac_dir=.
9606 if test -f $ac_dir/file; then
9607 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9608 if test -n "$file_magic_test_file"; then
9609 case $deplibs_check_method in
9610 "file_magic "*)
9611 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9612 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9613 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9614 $EGREP "$file_magic_regex" > /dev/null; then
9615 :
9616 else
9617 cat <<_LT_EOF 1>&2
9618
9619 *** Warning: the command libtool uses to detect shared libraries,
9620 *** $file_magic_cmd, produces output that libtool cannot recognize.
9621 *** The result is that libtool may fail to recognize shared libraries
9622 *** as such. This will affect the creation of libtool libraries that
9623 *** depend on shared libraries, but programs linked with such libtool
9624 *** libraries will work regardless of this problem. Nevertheless, you
9625 *** may want to report the problem to your system manager and/or to
9626 *** bug-libtool@gnu.org
9627
9628 _LT_EOF
9629 fi ;;
9630 esac
9631 fi
9632 break
9633 fi
9634 done
9635 IFS="$lt_save_ifs"
9636 MAGIC_CMD="$lt_save_MAGIC_CMD"
9637 ;;
9638 esac
9639 fi
9640
9641 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9642 if test -n "$MAGIC_CMD"; then
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9644 $as_echo "$MAGIC_CMD" >&6; }
9645 else
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9647 $as_echo "no" >&6; }
9648 fi
9649
9650
9651 else
9652 MAGIC_CMD=:
9653 fi
9654 fi
9655
9656 fi
9657 ;;
9658 esac
9659
9660 # Use C for the default configuration in the libtool script
9661
9662 lt_save_CC="$CC"
9663 ac_ext=c
9664 ac_cpp='$CPP $CPPFLAGS'
9665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9668
9669
9670 # Source file extension for C test sources.
9671 ac_ext=c
9672
9673 # Object file extension for compiled C test sources.
9674 objext=o
9675 objext=$objext
9676
9677 # Code to be used in simple compile tests
9678 lt_simple_compile_test_code="int some_variable = 0;"
9679
9680 # Code to be used in simple link tests
9681 lt_simple_link_test_code='int main(){return(0);}'
9682
9683
9684
9685
9686
9687
9688
9689 # If no C compiler was specified, use CC.
9690 LTCC=${LTCC-"$CC"}
9691
9692 # If no C compiler flags were specified, use CFLAGS.
9693 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9694
9695 # Allow CC to be a program name with arguments.
9696 compiler=$CC
9697
9698 # Save the default compiler, since it gets overwritten when the other
9699 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9700 compiler_DEFAULT=$CC
9701
9702 # save warnings/boilerplate of simple test code
9703 ac_outfile=conftest.$ac_objext
9704 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9705 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9706 _lt_compiler_boilerplate=`cat conftest.err`
9707 $RM conftest*
9708
9709 ac_outfile=conftest.$ac_objext
9710 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9711 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9712 _lt_linker_boilerplate=`cat conftest.err`
9713 $RM -r conftest*
9714
9715
9716 ## CAVEAT EMPTOR:
9717 ## There is no encapsulation within the following macros, do not change
9718 ## the running order or otherwise move them around unless you know exactly
9719 ## what you are doing...
9720 if test -n "$compiler"; then
9721
9722 lt_prog_compiler_no_builtin_flag=
9723
9724 if test "$GCC" = yes; then
9725 case $cc_basename in
9726 nvcc*)
9727 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9728 *)
9729 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9730 esac
9731
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9733 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9734 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9735 $as_echo_n "(cached) " >&6
9736 else
9737 lt_cv_prog_compiler_rtti_exceptions=no
9738 ac_outfile=conftest.$ac_objext
9739 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9740 lt_compiler_flag="-fno-rtti -fno-exceptions"
9741 # Insert the option either (1) after the last *FLAGS variable, or
9742 # (2) before a word containing "conftest.", or (3) at the end.
9743 # Note that $ac_compile itself does not contain backslashes and begins
9744 # with a dollar sign (not a hyphen), so the echo should work correctly.
9745 # The option is referenced via a variable to avoid confusing sed.
9746 lt_compile=`echo "$ac_compile" | $SED \
9747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9749 -e 's:$: $lt_compiler_flag:'`
9750 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9751 (eval "$lt_compile" 2>conftest.err)
9752 ac_status=$?
9753 cat conftest.err >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 if (exit $ac_status) && test -s "$ac_outfile"; then
9756 # The compiler can only warn and ignore the option if not recognized
9757 # So say no if there are warnings other than the usual output.
9758 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9759 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9760 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9761 lt_cv_prog_compiler_rtti_exceptions=yes
9762 fi
9763 fi
9764 $RM conftest*
9765
9766 fi
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9768 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9769
9770 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9771 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9772 else
9773 :
9774 fi
9775
9776 fi
9777
9778
9779
9780
9781
9782
9783 lt_prog_compiler_wl=
9784 lt_prog_compiler_pic=
9785 lt_prog_compiler_static=
9786
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9788 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9789
9790 if test "$GCC" = yes; then
9791 lt_prog_compiler_wl='-Wl,'
9792 lt_prog_compiler_static='-static'
9793
9794 case $host_os in
9795 aix*)
9796 # All AIX code is PIC.
9797 if test "$host_cpu" = ia64; then
9798 # AIX 5 now supports IA64 processor
9799 lt_prog_compiler_static='-Bstatic'
9800 fi
9801 lt_prog_compiler_pic='-fPIC'
9802 ;;
9803
9804 amigaos*)
9805 case $host_cpu in
9806 powerpc)
9807 # see comment about AmigaOS4 .so support
9808 lt_prog_compiler_pic='-fPIC'
9809 ;;
9810 m68k)
9811 # FIXME: we need at least 68020 code to build shared libraries, but
9812 # adding the `-m68020' flag to GCC prevents building anything better,
9813 # like `-m68040'.
9814 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9815 ;;
9816 esac
9817 ;;
9818
9819 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9820 # PIC is the default for these OSes.
9821 ;;
9822
9823 mingw* | cygwin* | pw32* | os2* | cegcc*)
9824 # This hack is so that the source file can tell whether it is being
9825 # built for inclusion in a dll (and should export symbols for example).
9826 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9827 # (--disable-auto-import) libraries
9828 lt_prog_compiler_pic='-DDLL_EXPORT'
9829 ;;
9830
9831 darwin* | rhapsody*)
9832 # PIC is the default on this platform
9833 # Common symbols not allowed in MH_DYLIB files
9834 lt_prog_compiler_pic='-fno-common'
9835 ;;
9836
9837 haiku*)
9838 # PIC is the default for Haiku.
9839 # The "-static" flag exists, but is broken.
9840 lt_prog_compiler_static=
9841 ;;
9842
9843 hpux*)
9844 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9845 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9846 # sets the default TLS model and affects inlining.
9847 case $host_cpu in
9848 hppa*64*)
9849 # +Z the default
9850 ;;
9851 *)
9852 lt_prog_compiler_pic='-fPIC'
9853 ;;
9854 esac
9855 ;;
9856
9857 interix[3-9]*)
9858 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9859 # Instead, we relocate shared libraries at runtime.
9860 ;;
9861
9862 msdosdjgpp*)
9863 # Just because we use GCC doesn't mean we suddenly get shared libraries
9864 # on systems that don't support them.
9865 lt_prog_compiler_can_build_shared=no
9866 enable_shared=no
9867 ;;
9868
9869 *nto* | *qnx*)
9870 # QNX uses GNU C++, but need to define -shared option too, otherwise
9871 # it will coredump.
9872 lt_prog_compiler_pic='-fPIC -shared'
9873 ;;
9874
9875 sysv4*MP*)
9876 if test -d /usr/nec; then
9877 lt_prog_compiler_pic=-Kconform_pic
9878 fi
9879 ;;
9880
9881 *)
9882 lt_prog_compiler_pic='-fPIC'
9883 ;;
9884 esac
9885
9886 case $cc_basename in
9887 nvcc*) # Cuda Compiler Driver 2.2
9888 lt_prog_compiler_wl='-Xlinker '
9889 lt_prog_compiler_pic='-Xcompiler -fPIC'
9890 ;;
9891 esac
9892 else
9893 # PORTME Check for flag to pass linker flags through the system compiler.
9894 case $host_os in
9895 aix*)
9896 lt_prog_compiler_wl='-Wl,'
9897 if test "$host_cpu" = ia64; then
9898 # AIX 5 now supports IA64 processor
9899 lt_prog_compiler_static='-Bstatic'
9900 else
9901 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9902 fi
9903 ;;
9904
9905 mingw* | cygwin* | pw32* | os2* | cegcc*)
9906 # This hack is so that the source file can tell whether it is being
9907 # built for inclusion in a dll (and should export symbols for example).
9908 lt_prog_compiler_pic='-DDLL_EXPORT'
9909 ;;
9910
9911 hpux9* | hpux10* | hpux11*)
9912 lt_prog_compiler_wl='-Wl,'
9913 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9914 # not for PA HP-UX.
9915 case $host_cpu in
9916 hppa*64*|ia64*)
9917 # +Z the default
9918 ;;
9919 *)
9920 lt_prog_compiler_pic='+Z'
9921 ;;
9922 esac
9923 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9924 lt_prog_compiler_static='${wl}-a ${wl}archive'
9925 ;;
9926
9927 irix5* | irix6* | nonstopux*)
9928 lt_prog_compiler_wl='-Wl,'
9929 # PIC (with -KPIC) is the default.
9930 lt_prog_compiler_static='-non_shared'
9931 ;;
9932
9933 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9934 case $cc_basename in
9935 # old Intel for x86_64 which still supported -KPIC.
9936 ecc*)
9937 lt_prog_compiler_wl='-Wl,'
9938 lt_prog_compiler_pic='-KPIC'
9939 lt_prog_compiler_static='-static'
9940 ;;
9941 # icc used to be incompatible with GCC.
9942 # ICC 10 doesn't accept -KPIC any more.
9943 icc* | ifort*)
9944 lt_prog_compiler_wl='-Wl,'
9945 lt_prog_compiler_pic='-fPIC'
9946 lt_prog_compiler_static='-static'
9947 ;;
9948 # Lahey Fortran 8.1.
9949 lf95*)
9950 lt_prog_compiler_wl='-Wl,'
9951 lt_prog_compiler_pic='--shared'
9952 lt_prog_compiler_static='--static'
9953 ;;
9954 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9955 # Portland Group compilers (*not* the Pentium gcc compiler,
9956 # which looks to be a dead project)
9957 lt_prog_compiler_wl='-Wl,'
9958 lt_prog_compiler_pic='-fpic'
9959 lt_prog_compiler_static='-Bstatic'
9960 ;;
9961 ccc*)
9962 lt_prog_compiler_wl='-Wl,'
9963 # All Alpha code is PIC.
9964 lt_prog_compiler_static='-non_shared'
9965 ;;
9966 xl* | bgxl* | bgf* | mpixl*)
9967 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9968 lt_prog_compiler_wl='-Wl,'
9969 lt_prog_compiler_pic='-qpic'
9970 lt_prog_compiler_static='-qstaticlink'
9971 ;;
9972 *)
9973 case `$CC -V 2>&1 | sed 5q` in
9974 *Sun\ F* | *Sun*Fortran*)
9975 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9976 lt_prog_compiler_pic='-KPIC'
9977 lt_prog_compiler_static='-Bstatic'
9978 lt_prog_compiler_wl=''
9979 ;;
9980 *Sun\ C*)
9981 # Sun C 5.9
9982 lt_prog_compiler_pic='-KPIC'
9983 lt_prog_compiler_static='-Bstatic'
9984 lt_prog_compiler_wl='-Wl,'
9985 ;;
9986 esac
9987 ;;
9988 esac
9989 ;;
9990
9991 newsos6)
9992 lt_prog_compiler_pic='-KPIC'
9993 lt_prog_compiler_static='-Bstatic'
9994 ;;
9995
9996 *nto* | *qnx*)
9997 # QNX uses GNU C++, but need to define -shared option too, otherwise
9998 # it will coredump.
9999 lt_prog_compiler_pic='-fPIC -shared'
10000 ;;
10001
10002 osf3* | osf4* | osf5*)
10003 lt_prog_compiler_wl='-Wl,'
10004 # All OSF/1 code is PIC.
10005 lt_prog_compiler_static='-non_shared'
10006 ;;
10007
10008 rdos*)
10009 lt_prog_compiler_static='-non_shared'
10010 ;;
10011
10012 solaris*)
10013 lt_prog_compiler_pic='-KPIC'
10014 lt_prog_compiler_static='-Bstatic'
10015 case $cc_basename in
10016 f77* | f90* | f95*)
10017 lt_prog_compiler_wl='-Qoption ld ';;
10018 *)
10019 lt_prog_compiler_wl='-Wl,';;
10020 esac
10021 ;;
10022
10023 sunos4*)
10024 lt_prog_compiler_wl='-Qoption ld '
10025 lt_prog_compiler_pic='-PIC'
10026 lt_prog_compiler_static='-Bstatic'
10027 ;;
10028
10029 sysv4 | sysv4.2uw2* | sysv4.3*)
10030 lt_prog_compiler_wl='-Wl,'
10031 lt_prog_compiler_pic='-KPIC'
10032 lt_prog_compiler_static='-Bstatic'
10033 ;;
10034
10035 sysv4*MP*)
10036 if test -d /usr/nec ;then
10037 lt_prog_compiler_pic='-Kconform_pic'
10038 lt_prog_compiler_static='-Bstatic'
10039 fi
10040 ;;
10041
10042 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10043 lt_prog_compiler_wl='-Wl,'
10044 lt_prog_compiler_pic='-KPIC'
10045 lt_prog_compiler_static='-Bstatic'
10046 ;;
10047
10048 unicos*)
10049 lt_prog_compiler_wl='-Wl,'
10050 lt_prog_compiler_can_build_shared=no
10051 ;;
10052
10053 uts4*)
10054 lt_prog_compiler_pic='-pic'
10055 lt_prog_compiler_static='-Bstatic'
10056 ;;
10057
10058 *)
10059 lt_prog_compiler_can_build_shared=no
10060 ;;
10061 esac
10062 fi
10063
10064 case $host_os in
10065 # For platforms which do not support PIC, -DPIC is meaningless:
10066 *djgpp*)
10067 lt_prog_compiler_pic=
10068 ;;
10069 *)
10070 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10071 ;;
10072 esac
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10074 $as_echo "$lt_prog_compiler_pic" >&6; }
10075
10076
10077
10078
10079
10080
10081 #
10082 # Check to make sure the PIC flag actually works.
10083 #
10084 if test -n "$lt_prog_compiler_pic"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10086 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10087 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 lt_cv_prog_compiler_pic_works=no
10091 ac_outfile=conftest.$ac_objext
10092 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10093 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10094 # Insert the option either (1) after the last *FLAGS variable, or
10095 # (2) before a word containing "conftest.", or (3) at the end.
10096 # Note that $ac_compile itself does not contain backslashes and begins
10097 # with a dollar sign (not a hyphen), so the echo should work correctly.
10098 # The option is referenced via a variable to avoid confusing sed.
10099 lt_compile=`echo "$ac_compile" | $SED \
10100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10102 -e 's:$: $lt_compiler_flag:'`
10103 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10104 (eval "$lt_compile" 2>conftest.err)
10105 ac_status=$?
10106 cat conftest.err >&5
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 if (exit $ac_status) && test -s "$ac_outfile"; then
10109 # The compiler can only warn and ignore the option if not recognized
10110 # So say no if there are warnings other than the usual output.
10111 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10112 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10113 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10114 lt_cv_prog_compiler_pic_works=yes
10115 fi
10116 fi
10117 $RM conftest*
10118
10119 fi
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10121 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10122
10123 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10124 case $lt_prog_compiler_pic in
10125 "" | " "*) ;;
10126 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10127 esac
10128 else
10129 lt_prog_compiler_pic=
10130 lt_prog_compiler_can_build_shared=no
10131 fi
10132
10133 fi
10134
10135
10136
10137
10138
10139
10140 #
10141 # Check to make sure the static flag actually works.
10142 #
10143 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10145 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10146 if ${lt_cv_prog_compiler_static_works+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 lt_cv_prog_compiler_static_works=no
10150 save_LDFLAGS="$LDFLAGS"
10151 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10152 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10153 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10154 # The linker can only warn and ignore the option if not recognized
10155 # So say no if there are warnings
10156 if test -s conftest.err; then
10157 # Append any errors to the config.log.
10158 cat conftest.err 1>&5
10159 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10160 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10161 if diff conftest.exp conftest.er2 >/dev/null; then
10162 lt_cv_prog_compiler_static_works=yes
10163 fi
10164 else
10165 lt_cv_prog_compiler_static_works=yes
10166 fi
10167 fi
10168 $RM -r conftest*
10169 LDFLAGS="$save_LDFLAGS"
10170
10171 fi
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10173 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10174
10175 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10176 :
10177 else
10178 lt_prog_compiler_static=
10179 fi
10180
10181
10182
10183
10184
10185
10186
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10188 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10189 if ${lt_cv_prog_compiler_c_o+:} false; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 lt_cv_prog_compiler_c_o=no
10193 $RM -r conftest 2>/dev/null
10194 mkdir conftest
10195 cd conftest
10196 mkdir out
10197 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10198
10199 lt_compiler_flag="-o out/conftest2.$ac_objext"
10200 # Insert the option either (1) after the last *FLAGS variable, or
10201 # (2) before a word containing "conftest.", or (3) at the end.
10202 # Note that $ac_compile itself does not contain backslashes and begins
10203 # with a dollar sign (not a hyphen), so the echo should work correctly.
10204 lt_compile=`echo "$ac_compile" | $SED \
10205 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10207 -e 's:$: $lt_compiler_flag:'`
10208 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10209 (eval "$lt_compile" 2>out/conftest.err)
10210 ac_status=$?
10211 cat out/conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10214 then
10215 # The compiler can only warn and ignore the option if not recognized
10216 # So say no if there are warnings
10217 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10218 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10219 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10220 lt_cv_prog_compiler_c_o=yes
10221 fi
10222 fi
10223 chmod u+w . 2>&5
10224 $RM conftest*
10225 # SGI C++ compiler will create directory out/ii_files/ for
10226 # template instantiation
10227 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10228 $RM out/* && rmdir out
10229 cd ..
10230 $RM -r conftest
10231 $RM conftest*
10232
10233 fi
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10235 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10236
10237
10238
10239
10240
10241
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10244 if ${lt_cv_prog_compiler_c_o+:} false; then :
10245 $as_echo_n "(cached) " >&6
10246 else
10247 lt_cv_prog_compiler_c_o=no
10248 $RM -r conftest 2>/dev/null
10249 mkdir conftest
10250 cd conftest
10251 mkdir out
10252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10253
10254 lt_compiler_flag="-o out/conftest2.$ac_objext"
10255 # Insert the option either (1) after the last *FLAGS variable, or
10256 # (2) before a word containing "conftest.", or (3) at the end.
10257 # Note that $ac_compile itself does not contain backslashes and begins
10258 # with a dollar sign (not a hyphen), so the echo should work correctly.
10259 lt_compile=`echo "$ac_compile" | $SED \
10260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10262 -e 's:$: $lt_compiler_flag:'`
10263 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10264 (eval "$lt_compile" 2>out/conftest.err)
10265 ac_status=$?
10266 cat out/conftest.err >&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10269 then
10270 # The compiler can only warn and ignore the option if not recognized
10271 # So say no if there are warnings
10272 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10273 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10274 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10275 lt_cv_prog_compiler_c_o=yes
10276 fi
10277 fi
10278 chmod u+w . 2>&5
10279 $RM conftest*
10280 # SGI C++ compiler will create directory out/ii_files/ for
10281 # template instantiation
10282 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10283 $RM out/* && rmdir out
10284 cd ..
10285 $RM -r conftest
10286 $RM conftest*
10287
10288 fi
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10290 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10291
10292
10293
10294
10295 hard_links="nottested"
10296 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10297 # do not overwrite the value of need_locks provided by the user
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10299 $as_echo_n "checking if we can lock with hard links... " >&6; }
10300 hard_links=yes
10301 $RM conftest*
10302 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10303 touch conftest.a
10304 ln conftest.a conftest.b 2>&5 || hard_links=no
10305 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10307 $as_echo "$hard_links" >&6; }
10308 if test "$hard_links" = no; then
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10310 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10311 need_locks=warn
10312 fi
10313 else
10314 need_locks=no
10315 fi
10316
10317
10318
10319
10320
10321
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10323 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10324
10325 runpath_var=
10326 allow_undefined_flag=
10327 always_export_symbols=no
10328 archive_cmds=
10329 archive_expsym_cmds=
10330 compiler_needs_object=no
10331 enable_shared_with_static_runtimes=no
10332 export_dynamic_flag_spec=
10333 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10334 hardcode_automatic=no
10335 hardcode_direct=no
10336 hardcode_direct_absolute=no
10337 hardcode_libdir_flag_spec=
10338 hardcode_libdir_flag_spec_ld=
10339 hardcode_libdir_separator=
10340 hardcode_minus_L=no
10341 hardcode_shlibpath_var=unsupported
10342 inherit_rpath=no
10343 link_all_deplibs=unknown
10344 module_cmds=
10345 module_expsym_cmds=
10346 old_archive_from_new_cmds=
10347 old_archive_from_expsyms_cmds=
10348 thread_safe_flag_spec=
10349 whole_archive_flag_spec=
10350 # include_expsyms should be a list of space-separated symbols to be *always*
10351 # included in the symbol list
10352 include_expsyms=
10353 # exclude_expsyms can be an extended regexp of symbols to exclude
10354 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10355 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10356 # as well as any symbol that contains `d'.
10357 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10358 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10359 # platforms (ab)use it in PIC code, but their linkers get confused if
10360 # the symbol is explicitly referenced. Since portable code cannot
10361 # rely on this symbol name, it's probably fine to never include it in
10362 # preloaded symbol tables.
10363 # Exclude shared library initialization/finalization symbols.
10364 extract_expsyms_cmds=
10365
10366 case $host_os in
10367 cygwin* | mingw* | pw32* | cegcc*)
10368 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10369 # When not using gcc, we currently assume that we are using
10370 # Microsoft Visual C++.
10371 if test "$GCC" != yes; then
10372 with_gnu_ld=no
10373 fi
10374 ;;
10375 interix*)
10376 # we just hope/assume this is gcc and not c89 (= MSVC++)
10377 with_gnu_ld=yes
10378 ;;
10379 openbsd*)
10380 with_gnu_ld=no
10381 ;;
10382 esac
10383
10384 ld_shlibs=yes
10385
10386 # On some targets, GNU ld is compatible enough with the native linker
10387 # that we're better off using the native interface for both.
10388 lt_use_gnu_ld_interface=no
10389 if test "$with_gnu_ld" = yes; then
10390 case $host_os in
10391 aix*)
10392 # The AIX port of GNU ld has always aspired to compatibility
10393 # with the native linker. However, as the warning in the GNU ld
10394 # block says, versions before 2.19.5* couldn't really create working
10395 # shared libraries, regardless of the interface used.
10396 case `$LD -v 2>&1` in
10397 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10398 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10399 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10400 *)
10401 lt_use_gnu_ld_interface=yes
10402 ;;
10403 esac
10404 ;;
10405 *)
10406 lt_use_gnu_ld_interface=yes
10407 ;;
10408 esac
10409 fi
10410
10411 if test "$lt_use_gnu_ld_interface" = yes; then
10412 # If archive_cmds runs LD, not CC, wlarc should be empty
10413 wlarc='${wl}'
10414
10415 # Set some defaults for GNU ld with shared library support. These
10416 # are reset later if shared libraries are not supported. Putting them
10417 # here allows them to be overridden if necessary.
10418 runpath_var=LD_RUN_PATH
10419 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10420 export_dynamic_flag_spec='${wl}--export-dynamic'
10421 # ancient GNU ld didn't support --whole-archive et. al.
10422 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10423 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10424 else
10425 whole_archive_flag_spec=
10426 fi
10427 supports_anon_versioning=no
10428 case `$LD -v 2>&1` in
10429 *GNU\ gold*) supports_anon_versioning=yes ;;
10430 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10431 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10432 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10433 *\ 2.11.*) ;; # other 2.11 versions
10434 *) supports_anon_versioning=yes ;;
10435 esac
10436
10437 # See if GNU ld supports shared libraries.
10438 case $host_os in
10439 aix[3-9]*)
10440 # On AIX/PPC, the GNU linker is very broken
10441 if test "$host_cpu" != ia64; then
10442 ld_shlibs=no
10443 cat <<_LT_EOF 1>&2
10444
10445 *** Warning: the GNU linker, at least up to release 2.19, is reported
10446 *** to be unable to reliably create shared libraries on AIX.
10447 *** Therefore, libtool is disabling shared libraries support. If you
10448 *** really care for shared libraries, you may want to install binutils
10449 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10450 *** You will then need to restart the configuration process.
10451
10452 _LT_EOF
10453 fi
10454 ;;
10455
10456 amigaos*)
10457 case $host_cpu in
10458 powerpc)
10459 # see comment about AmigaOS4 .so support
10460 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10461 archive_expsym_cmds=''
10462 ;;
10463 m68k)
10464 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10465 hardcode_libdir_flag_spec='-L$libdir'
10466 hardcode_minus_L=yes
10467 ;;
10468 esac
10469 ;;
10470
10471 beos*)
10472 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10473 allow_undefined_flag=unsupported
10474 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10475 # support --undefined. This deserves some investigation. FIXME
10476 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10477 else
10478 ld_shlibs=no
10479 fi
10480 ;;
10481
10482 cygwin* | mingw* | pw32* | cegcc*)
10483 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10484 # as there is no search path for DLLs.
10485 hardcode_libdir_flag_spec='-L$libdir'
10486 export_dynamic_flag_spec='${wl}--export-all-symbols'
10487 allow_undefined_flag=unsupported
10488 always_export_symbols=no
10489 enable_shared_with_static_runtimes=yes
10490 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10491
10492 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10493 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10494 # If the export-symbols file already is a .def file (1st line
10495 # is EXPORTS), use it as is; otherwise, prepend...
10496 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10497 cp $export_symbols $output_objdir/$soname.def;
10498 else
10499 echo EXPORTS > $output_objdir/$soname.def;
10500 cat $export_symbols >> $output_objdir/$soname.def;
10501 fi~
10502 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10503 else
10504 ld_shlibs=no
10505 fi
10506 ;;
10507
10508 haiku*)
10509 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10510 link_all_deplibs=yes
10511 ;;
10512
10513 interix[3-9]*)
10514 hardcode_direct=no
10515 hardcode_shlibpath_var=no
10516 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10517 export_dynamic_flag_spec='${wl}-E'
10518 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10519 # Instead, shared libraries are loaded at an image base (0x10000000 by
10520 # default) and relocated if they conflict, which is a slow very memory
10521 # consuming and fragmenting process. To avoid this, we pick a random,
10522 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10523 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10524 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10525 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10526 ;;
10527
10528 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10529 tmp_diet=no
10530 if test "$host_os" = linux-dietlibc; then
10531 case $cc_basename in
10532 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10533 esac
10534 fi
10535 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10536 && test "$tmp_diet" = no
10537 then
10538 tmp_addflag=' $pic_flag'
10539 tmp_sharedflag='-shared'
10540 case $cc_basename,$host_cpu in
10541 pgcc*) # Portland Group C compiler
10542 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10543 tmp_addflag=' $pic_flag'
10544 ;;
10545 pgf77* | pgf90* | pgf95* | pgfortran*)
10546 # Portland Group f77 and f90 compilers
10547 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10548 tmp_addflag=' $pic_flag -Mnomain' ;;
10549 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10550 tmp_addflag=' -i_dynamic' ;;
10551 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10552 tmp_addflag=' -i_dynamic -nofor_main' ;;
10553 ifc* | ifort*) # Intel Fortran compiler
10554 tmp_addflag=' -nofor_main' ;;
10555 lf95*) # Lahey Fortran 8.1
10556 whole_archive_flag_spec=
10557 tmp_sharedflag='--shared' ;;
10558 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10559 tmp_sharedflag='-qmkshrobj'
10560 tmp_addflag= ;;
10561 nvcc*) # Cuda Compiler Driver 2.2
10562 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10563 compiler_needs_object=yes
10564 ;;
10565 esac
10566 case `$CC -V 2>&1 | sed 5q` in
10567 *Sun\ C*) # Sun C 5.9
10568 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10569 compiler_needs_object=yes
10570 tmp_sharedflag='-G' ;;
10571 *Sun\ F*) # Sun Fortran 8.3
10572 tmp_sharedflag='-G' ;;
10573 esac
10574 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10575
10576 if test "x$supports_anon_versioning" = xyes; then
10577 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10578 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10579 echo "local: *; };" >> $output_objdir/$libname.ver~
10580 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10581 fi
10582
10583 case $cc_basename in
10584 xlf* | bgf* | bgxlf* | mpixlf*)
10585 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10586 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10587 hardcode_libdir_flag_spec=
10588 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10589 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10590 if test "x$supports_anon_versioning" = xyes; then
10591 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10592 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10593 echo "local: *; };" >> $output_objdir/$libname.ver~
10594 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10595 fi
10596 ;;
10597 esac
10598 else
10599 ld_shlibs=no
10600 fi
10601 ;;
10602
10603 netbsd*)
10604 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10605 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10606 wlarc=
10607 else
10608 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10609 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10610 fi
10611 ;;
10612
10613 solaris*)
10614 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10615 ld_shlibs=no
10616 cat <<_LT_EOF 1>&2
10617
10618 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10619 *** create shared libraries on Solaris systems. Therefore, libtool
10620 *** is disabling shared libraries support. We urge you to upgrade GNU
10621 *** binutils to release 2.9.1 or newer. Another option is to modify
10622 *** your PATH or compiler configuration so that the native linker is
10623 *** used, and then restart.
10624
10625 _LT_EOF
10626 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10627 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10628 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10629 else
10630 ld_shlibs=no
10631 fi
10632 ;;
10633
10634 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10635 case `$LD -v 2>&1` in
10636 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10637 ld_shlibs=no
10638 cat <<_LT_EOF 1>&2
10639
10640 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10641 *** reliably create shared libraries on SCO systems. Therefore, libtool
10642 *** is disabling shared libraries support. We urge you to upgrade GNU
10643 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10644 *** your PATH or compiler configuration so that the native linker is
10645 *** used, and then restart.
10646
10647 _LT_EOF
10648 ;;
10649 *)
10650 # For security reasons, it is highly recommended that you always
10651 # use absolute paths for naming shared libraries, and exclude the
10652 # DT_RUNPATH tag from executables and libraries. But doing so
10653 # requires that you compile everything twice, which is a pain.
10654 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10655 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10656 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10657 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10658 else
10659 ld_shlibs=no
10660 fi
10661 ;;
10662 esac
10663 ;;
10664
10665 sunos4*)
10666 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10667 wlarc=
10668 hardcode_direct=yes
10669 hardcode_shlibpath_var=no
10670 ;;
10671
10672 *)
10673 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10674 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10675 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10676 else
10677 ld_shlibs=no
10678 fi
10679 ;;
10680 esac
10681
10682 if test "$ld_shlibs" = no; then
10683 runpath_var=
10684 hardcode_libdir_flag_spec=
10685 export_dynamic_flag_spec=
10686 whole_archive_flag_spec=
10687 fi
10688 else
10689 # PORTME fill in a description of your system's linker (not GNU ld)
10690 case $host_os in
10691 aix3*)
10692 allow_undefined_flag=unsupported
10693 always_export_symbols=yes
10694 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10695 # Note: this linker hardcodes the directories in LIBPATH if there
10696 # are no directories specified by -L.
10697 hardcode_minus_L=yes
10698 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10699 # Neither direct hardcoding nor static linking is supported with a
10700 # broken collect2.
10701 hardcode_direct=unsupported
10702 fi
10703 ;;
10704
10705 aix[4-9]*)
10706 if test "$host_cpu" = ia64; then
10707 # On IA64, the linker does run time linking by default, so we don't
10708 # have to do anything special.
10709 aix_use_runtimelinking=no
10710 exp_sym_flag='-Bexport'
10711 no_entry_flag=""
10712 else
10713 # If we're using GNU nm, then we don't want the "-C" option.
10714 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10715 # Also, AIX nm treats weak defined symbols like other global
10716 # defined symbols, whereas GNU nm marks them as "W".
10717 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10718 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10719 else
10720 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10721 fi
10722 aix_use_runtimelinking=no
10723
10724 # Test if we are trying to use run time linking or normal
10725 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10726 # need to do runtime linking.
10727 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10728 for ld_flag in $LDFLAGS; do
10729 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10730 aix_use_runtimelinking=yes
10731 break
10732 fi
10733 done
10734 ;;
10735 esac
10736
10737 exp_sym_flag='-bexport'
10738 no_entry_flag='-bnoentry'
10739 fi
10740
10741 # When large executables or shared objects are built, AIX ld can
10742 # have problems creating the table of contents. If linking a library
10743 # or program results in "error TOC overflow" add -mminimal-toc to
10744 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10745 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10746
10747 archive_cmds=''
10748 hardcode_direct=yes
10749 hardcode_direct_absolute=yes
10750 hardcode_libdir_separator=':'
10751 link_all_deplibs=yes
10752 file_list_spec='${wl}-f,'
10753
10754 if test "$GCC" = yes; then
10755 case $host_os in aix4.[012]|aix4.[012].*)
10756 # We only want to do this on AIX 4.2 and lower, the check
10757 # below for broken collect2 doesn't work under 4.3+
10758 collect2name=`${CC} -print-prog-name=collect2`
10759 if test -f "$collect2name" &&
10760 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10761 then
10762 # We have reworked collect2
10763 :
10764 else
10765 # We have old collect2
10766 hardcode_direct=unsupported
10767 # It fails to find uninstalled libraries when the uninstalled
10768 # path is not listed in the libpath. Setting hardcode_minus_L
10769 # to unsupported forces relinking
10770 hardcode_minus_L=yes
10771 hardcode_libdir_flag_spec='-L$libdir'
10772 hardcode_libdir_separator=
10773 fi
10774 ;;
10775 esac
10776 shared_flag='-shared'
10777 if test "$aix_use_runtimelinking" = yes; then
10778 shared_flag="$shared_flag "'${wl}-G'
10779 fi
10780 else
10781 # not using gcc
10782 if test "$host_cpu" = ia64; then
10783 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10784 # chokes on -Wl,-G. The following line is correct:
10785 shared_flag='-G'
10786 else
10787 if test "$aix_use_runtimelinking" = yes; then
10788 shared_flag='${wl}-G'
10789 else
10790 shared_flag='${wl}-bM:SRE'
10791 fi
10792 fi
10793 fi
10794
10795 export_dynamic_flag_spec='${wl}-bexpall'
10796 # It seems that -bexpall does not export symbols beginning with
10797 # underscore (_), so it is better to generate a list of symbols to export.
10798 always_export_symbols=yes
10799 if test "$aix_use_runtimelinking" = yes; then
10800 # Warning - without using the other runtime loading flags (-brtl),
10801 # -berok will link without error, but may produce a broken library.
10802 allow_undefined_flag='-berok'
10803 # Determine the default libpath from the value encoded in an
10804 # empty executable.
10805 if test x$gcc_no_link = xyes; then
10806 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10807 fi
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10810
10811 int
10812 main ()
10813 {
10814
10815 ;
10816 return 0;
10817 }
10818 _ACEOF
10819 if ac_fn_c_try_link "$LINENO"; then :
10820
10821 lt_aix_libpath_sed='
10822 /Import File Strings/,/^$/ {
10823 /^0/ {
10824 s/^0 *\(.*\)$/\1/
10825 p
10826 }
10827 }'
10828 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10829 # Check for a 64-bit object if we didn't find anything.
10830 if test -z "$aix_libpath"; then
10831 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10832 fi
10833 fi
10834 rm -f core conftest.err conftest.$ac_objext \
10835 conftest$ac_exeext conftest.$ac_ext
10836 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10837
10838 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10839 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10840 else
10841 if test "$host_cpu" = ia64; then
10842 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10843 allow_undefined_flag="-z nodefs"
10844 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10845 else
10846 # Determine the default libpath from the value encoded in an
10847 # empty executable.
10848 if test x$gcc_no_link = xyes; then
10849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10850 fi
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10853
10854 int
10855 main ()
10856 {
10857
10858 ;
10859 return 0;
10860 }
10861 _ACEOF
10862 if ac_fn_c_try_link "$LINENO"; then :
10863
10864 lt_aix_libpath_sed='
10865 /Import File Strings/,/^$/ {
10866 /^0/ {
10867 s/^0 *\(.*\)$/\1/
10868 p
10869 }
10870 }'
10871 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10872 # Check for a 64-bit object if we didn't find anything.
10873 if test -z "$aix_libpath"; then
10874 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10875 fi
10876 fi
10877 rm -f core conftest.err conftest.$ac_objext \
10878 conftest$ac_exeext conftest.$ac_ext
10879 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10880
10881 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10882 # Warning - without using the other run time loading flags,
10883 # -berok will link without error, but may produce a broken library.
10884 no_undefined_flag=' ${wl}-bernotok'
10885 allow_undefined_flag=' ${wl}-berok'
10886 if test "$with_gnu_ld" = yes; then
10887 # We only use this code for GNU lds that support --whole-archive.
10888 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10889 else
10890 # Exported symbols can be pulled into shared objects from archives
10891 whole_archive_flag_spec='$convenience'
10892 fi
10893 archive_cmds_need_lc=yes
10894 # This is similar to how AIX traditionally builds its shared libraries.
10895 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10896 fi
10897 fi
10898 ;;
10899
10900 amigaos*)
10901 case $host_cpu in
10902 powerpc)
10903 # see comment about AmigaOS4 .so support
10904 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10905 archive_expsym_cmds=''
10906 ;;
10907 m68k)
10908 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10909 hardcode_libdir_flag_spec='-L$libdir'
10910 hardcode_minus_L=yes
10911 ;;
10912 esac
10913 ;;
10914
10915 bsdi[45]*)
10916 export_dynamic_flag_spec=-rdynamic
10917 ;;
10918
10919 cygwin* | mingw* | pw32* | cegcc*)
10920 # When not using gcc, we currently assume that we are using
10921 # Microsoft Visual C++.
10922 # hardcode_libdir_flag_spec is actually meaningless, as there is
10923 # no search path for DLLs.
10924 hardcode_libdir_flag_spec=' '
10925 allow_undefined_flag=unsupported
10926 # Tell ltmain to make .lib files, not .a files.
10927 libext=lib
10928 # Tell ltmain to make .dll files, not .so files.
10929 shrext_cmds=".dll"
10930 # FIXME: Setting linknames here is a bad hack.
10931 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10932 # The linker will automatically build a .lib file if we build a DLL.
10933 old_archive_from_new_cmds='true'
10934 # FIXME: Should let the user specify the lib program.
10935 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10936 fix_srcfile_path='`cygpath -w "$srcfile"`'
10937 enable_shared_with_static_runtimes=yes
10938 ;;
10939
10940 darwin* | rhapsody*)
10941
10942
10943 archive_cmds_need_lc=no
10944 hardcode_direct=no
10945 hardcode_automatic=yes
10946 hardcode_shlibpath_var=unsupported
10947 if test "$lt_cv_ld_force_load" = "yes"; then
10948 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10949 else
10950 whole_archive_flag_spec=''
10951 fi
10952 link_all_deplibs=yes
10953 allow_undefined_flag="$_lt_dar_allow_undefined"
10954 case $cc_basename in
10955 ifort*) _lt_dar_can_shared=yes ;;
10956 *) _lt_dar_can_shared=$GCC ;;
10957 esac
10958 if test "$_lt_dar_can_shared" = "yes"; then
10959 output_verbose_link_cmd=func_echo_all
10960 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10961 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10962 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10963 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10964
10965 else
10966 ld_shlibs=no
10967 fi
10968
10969 ;;
10970
10971 dgux*)
10972 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10973 hardcode_libdir_flag_spec='-L$libdir'
10974 hardcode_shlibpath_var=no
10975 ;;
10976
10977 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10978 # support. Future versions do this automatically, but an explicit c++rt0.o
10979 # does not break anything, and helps significantly (at the cost of a little
10980 # extra space).
10981 freebsd2.2*)
10982 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10983 hardcode_libdir_flag_spec='-R$libdir'
10984 hardcode_direct=yes
10985 hardcode_shlibpath_var=no
10986 ;;
10987
10988 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10989 freebsd2.*)
10990 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10991 hardcode_direct=yes
10992 hardcode_minus_L=yes
10993 hardcode_shlibpath_var=no
10994 ;;
10995
10996 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10997 freebsd* | dragonfly*)
10998 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10999 hardcode_libdir_flag_spec='-R$libdir'
11000 hardcode_direct=yes
11001 hardcode_shlibpath_var=no
11002 ;;
11003
11004 hpux9*)
11005 if test "$GCC" = yes; then
11006 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11007 else
11008 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11009 fi
11010 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11011 hardcode_libdir_separator=:
11012 hardcode_direct=yes
11013
11014 # hardcode_minus_L: Not really in the search PATH,
11015 # but as the default location of the library.
11016 hardcode_minus_L=yes
11017 export_dynamic_flag_spec='${wl}-E'
11018 ;;
11019
11020 hpux10*)
11021 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11022 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11023 else
11024 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11025 fi
11026 if test "$with_gnu_ld" = no; then
11027 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11028 hardcode_libdir_flag_spec_ld='+b $libdir'
11029 hardcode_libdir_separator=:
11030 hardcode_direct=yes
11031 hardcode_direct_absolute=yes
11032 export_dynamic_flag_spec='${wl}-E'
11033 # hardcode_minus_L: Not really in the search PATH,
11034 # but as the default location of the library.
11035 hardcode_minus_L=yes
11036 fi
11037 ;;
11038
11039 hpux11*)
11040 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11041 case $host_cpu in
11042 hppa*64*)
11043 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11044 ;;
11045 ia64*)
11046 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11047 ;;
11048 *)
11049 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11050 ;;
11051 esac
11052 else
11053 case $host_cpu in
11054 hppa*64*)
11055 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11056 ;;
11057 ia64*)
11058 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11059 ;;
11060 *)
11061
11062 # Older versions of the 11.00 compiler do not understand -b yet
11063 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11065 $as_echo_n "checking if $CC understands -b... " >&6; }
11066 if ${lt_cv_prog_compiler__b+:} false; then :
11067 $as_echo_n "(cached) " >&6
11068 else
11069 lt_cv_prog_compiler__b=no
11070 save_LDFLAGS="$LDFLAGS"
11071 LDFLAGS="$LDFLAGS -b"
11072 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11073 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11074 # The linker can only warn and ignore the option if not recognized
11075 # So say no if there are warnings
11076 if test -s conftest.err; then
11077 # Append any errors to the config.log.
11078 cat conftest.err 1>&5
11079 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11080 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11081 if diff conftest.exp conftest.er2 >/dev/null; then
11082 lt_cv_prog_compiler__b=yes
11083 fi
11084 else
11085 lt_cv_prog_compiler__b=yes
11086 fi
11087 fi
11088 $RM -r conftest*
11089 LDFLAGS="$save_LDFLAGS"
11090
11091 fi
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11093 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11094
11095 if test x"$lt_cv_prog_compiler__b" = xyes; then
11096 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11097 else
11098 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11099 fi
11100
11101 ;;
11102 esac
11103 fi
11104 if test "$with_gnu_ld" = no; then
11105 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11106 hardcode_libdir_separator=:
11107
11108 case $host_cpu in
11109 hppa*64*|ia64*)
11110 hardcode_direct=no
11111 hardcode_shlibpath_var=no
11112 ;;
11113 *)
11114 hardcode_direct=yes
11115 hardcode_direct_absolute=yes
11116 export_dynamic_flag_spec='${wl}-E'
11117
11118 # hardcode_minus_L: Not really in the search PATH,
11119 # but as the default location of the library.
11120 hardcode_minus_L=yes
11121 ;;
11122 esac
11123 fi
11124 ;;
11125
11126 irix5* | irix6* | nonstopux*)
11127 if test "$GCC" = yes; then
11128 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11129 # Try to use the -exported_symbol ld option, if it does not
11130 # work, assume that -exports_file does not work either and
11131 # implicitly export all symbols.
11132 save_LDFLAGS="$LDFLAGS"
11133 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11134 if test x$gcc_no_link = xyes; then
11135 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11136 fi
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11139 int foo(void) {}
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11143
11144 fi
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LDFLAGS="$save_LDFLAGS"
11148 else
11149 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11150 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11151 fi
11152 archive_cmds_need_lc='no'
11153 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11154 hardcode_libdir_separator=:
11155 inherit_rpath=yes
11156 link_all_deplibs=yes
11157 ;;
11158
11159 netbsd*)
11160 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11161 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11162 else
11163 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11164 fi
11165 hardcode_libdir_flag_spec='-R$libdir'
11166 hardcode_direct=yes
11167 hardcode_shlibpath_var=no
11168 ;;
11169
11170 newsos6)
11171 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11172 hardcode_direct=yes
11173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11174 hardcode_libdir_separator=:
11175 hardcode_shlibpath_var=no
11176 ;;
11177
11178 *nto* | *qnx*)
11179 ;;
11180
11181 openbsd*)
11182 if test -f /usr/libexec/ld.so; then
11183 hardcode_direct=yes
11184 hardcode_shlibpath_var=no
11185 hardcode_direct_absolute=yes
11186 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11187 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11188 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11189 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11190 export_dynamic_flag_spec='${wl}-E'
11191 else
11192 case $host_os in
11193 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11194 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11195 hardcode_libdir_flag_spec='-R$libdir'
11196 ;;
11197 *)
11198 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11199 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11200 ;;
11201 esac
11202 fi
11203 else
11204 ld_shlibs=no
11205 fi
11206 ;;
11207
11208 os2*)
11209 hardcode_libdir_flag_spec='-L$libdir'
11210 hardcode_minus_L=yes
11211 allow_undefined_flag=unsupported
11212 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11213 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11214 ;;
11215
11216 osf3*)
11217 if test "$GCC" = yes; then
11218 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11219 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11220 else
11221 allow_undefined_flag=' -expect_unresolved \*'
11222 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11223 fi
11224 archive_cmds_need_lc='no'
11225 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11226 hardcode_libdir_separator=:
11227 ;;
11228
11229 osf4* | osf5*) # as osf3* with the addition of -msym flag
11230 if test "$GCC" = yes; then
11231 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11232 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11233 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11234 else
11235 allow_undefined_flag=' -expect_unresolved \*'
11236 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11237 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11238 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11239
11240 # Both c and cxx compiler support -rpath directly
11241 hardcode_libdir_flag_spec='-rpath $libdir'
11242 fi
11243 archive_cmds_need_lc='no'
11244 hardcode_libdir_separator=:
11245 ;;
11246
11247 solaris*)
11248 no_undefined_flag=' -z defs'
11249 if test "$GCC" = yes; then
11250 wlarc='${wl}'
11251 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11252 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11253 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11254 else
11255 case `$CC -V 2>&1` in
11256 *"Compilers 5.0"*)
11257 wlarc=''
11258 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11259 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11260 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11261 ;;
11262 *)
11263 wlarc='${wl}'
11264 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11265 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11266 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11267 ;;
11268 esac
11269 fi
11270 hardcode_libdir_flag_spec='-R$libdir'
11271 hardcode_shlibpath_var=no
11272 case $host_os in
11273 solaris2.[0-5] | solaris2.[0-5].*) ;;
11274 *)
11275 # The compiler driver will combine and reorder linker options,
11276 # but understands `-z linker_flag'. GCC discards it without `$wl',
11277 # but is careful enough not to reorder.
11278 # Supported since Solaris 2.6 (maybe 2.5.1?)
11279 if test "$GCC" = yes; then
11280 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11281 else
11282 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11283 fi
11284 ;;
11285 esac
11286 link_all_deplibs=yes
11287 ;;
11288
11289 sunos4*)
11290 if test "x$host_vendor" = xsequent; then
11291 # Use $CC to link under sequent, because it throws in some extra .o
11292 # files that make .init and .fini sections work.
11293 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11294 else
11295 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11296 fi
11297 hardcode_libdir_flag_spec='-L$libdir'
11298 hardcode_direct=yes
11299 hardcode_minus_L=yes
11300 hardcode_shlibpath_var=no
11301 ;;
11302
11303 sysv4)
11304 case $host_vendor in
11305 sni)
11306 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11307 hardcode_direct=yes # is this really true???
11308 ;;
11309 siemens)
11310 ## LD is ld it makes a PLAMLIB
11311 ## CC just makes a GrossModule.
11312 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11313 reload_cmds='$CC -r -o $output$reload_objs'
11314 hardcode_direct=no
11315 ;;
11316 motorola)
11317 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11318 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11319 ;;
11320 esac
11321 runpath_var='LD_RUN_PATH'
11322 hardcode_shlibpath_var=no
11323 ;;
11324
11325 sysv4.3*)
11326 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11327 hardcode_shlibpath_var=no
11328 export_dynamic_flag_spec='-Bexport'
11329 ;;
11330
11331 sysv4*MP*)
11332 if test -d /usr/nec; then
11333 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11334 hardcode_shlibpath_var=no
11335 runpath_var=LD_RUN_PATH
11336 hardcode_runpath_var=yes
11337 ld_shlibs=yes
11338 fi
11339 ;;
11340
11341 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11342 no_undefined_flag='${wl}-z,text'
11343 archive_cmds_need_lc=no
11344 hardcode_shlibpath_var=no
11345 runpath_var='LD_RUN_PATH'
11346
11347 if test "$GCC" = yes; then
11348 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11349 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11350 else
11351 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11352 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11353 fi
11354 ;;
11355
11356 sysv5* | sco3.2v5* | sco5v6*)
11357 # Note: We can NOT use -z defs as we might desire, because we do not
11358 # link with -lc, and that would cause any symbols used from libc to
11359 # always be unresolved, which means just about no library would
11360 # ever link correctly. If we're not using GNU ld we use -z text
11361 # though, which does catch some bad symbols but isn't as heavy-handed
11362 # as -z defs.
11363 no_undefined_flag='${wl}-z,text'
11364 allow_undefined_flag='${wl}-z,nodefs'
11365 archive_cmds_need_lc=no
11366 hardcode_shlibpath_var=no
11367 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11368 hardcode_libdir_separator=':'
11369 link_all_deplibs=yes
11370 export_dynamic_flag_spec='${wl}-Bexport'
11371 runpath_var='LD_RUN_PATH'
11372
11373 if test "$GCC" = yes; then
11374 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11375 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11376 else
11377 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11378 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11379 fi
11380 ;;
11381
11382 uts4*)
11383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11384 hardcode_libdir_flag_spec='-L$libdir'
11385 hardcode_shlibpath_var=no
11386 ;;
11387
11388 *)
11389 ld_shlibs=no
11390 ;;
11391 esac
11392
11393 if test x$host_vendor = xsni; then
11394 case $host in
11395 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11396 export_dynamic_flag_spec='${wl}-Blargedynsym'
11397 ;;
11398 esac
11399 fi
11400 fi
11401
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11403 $as_echo "$ld_shlibs" >&6; }
11404 test "$ld_shlibs" = no && can_build_shared=no
11405
11406 with_gnu_ld=$with_gnu_ld
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422 #
11423 # Do we need to explicitly link libc?
11424 #
11425 case "x$archive_cmds_need_lc" in
11426 x|xyes)
11427 # Assume -lc should be added
11428 archive_cmds_need_lc=yes
11429
11430 if test "$enable_shared" = yes && test "$GCC" = yes; then
11431 case $archive_cmds in
11432 *'~'*)
11433 # FIXME: we may have to deal with multi-command sequences.
11434 ;;
11435 '$CC '*)
11436 # Test whether the compiler implicitly links with -lc since on some
11437 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11438 # to ld, don't add -lc before -lgcc.
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11440 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11441 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 $RM conftest*
11445 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11446
11447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11448 (eval $ac_compile) 2>&5
11449 ac_status=$?
11450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11451 test $ac_status = 0; } 2>conftest.err; then
11452 soname=conftest
11453 lib=conftest
11454 libobjs=conftest.$ac_objext
11455 deplibs=
11456 wl=$lt_prog_compiler_wl
11457 pic_flag=$lt_prog_compiler_pic
11458 compiler_flags=-v
11459 linker_flags=-v
11460 verstring=
11461 output_objdir=.
11462 libname=conftest
11463 lt_save_allow_undefined_flag=$allow_undefined_flag
11464 allow_undefined_flag=
11465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11466 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11467 ac_status=$?
11468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11469 test $ac_status = 0; }
11470 then
11471 lt_cv_archive_cmds_need_lc=no
11472 else
11473 lt_cv_archive_cmds_need_lc=yes
11474 fi
11475 allow_undefined_flag=$lt_save_allow_undefined_flag
11476 else
11477 cat conftest.err 1>&5
11478 fi
11479 $RM conftest*
11480
11481 fi
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11483 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11484 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11485 ;;
11486 esac
11487 fi
11488 ;;
11489 esac
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
11646
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11648 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11649
11650 if test "$GCC" = yes; then
11651 case $host_os in
11652 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11653 *) lt_awk_arg="/^libraries:/" ;;
11654 esac
11655 case $host_os in
11656 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11657 *) lt_sed_strip_eq="s,=/,/,g" ;;
11658 esac
11659 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11660 case $lt_search_path_spec in
11661 *\;*)
11662 # if the path contains ";" then we assume it to be the separator
11663 # otherwise default to the standard path separator (i.e. ":") - it is
11664 # assumed that no part of a normal pathname contains ";" but that should
11665 # okay in the real world where ";" in dirpaths is itself problematic.
11666 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11667 ;;
11668 *)
11669 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11670 ;;
11671 esac
11672 # Ok, now we have the path, separated by spaces, we can step through it
11673 # and add multilib dir if necessary.
11674 lt_tmp_lt_search_path_spec=
11675 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11676 for lt_sys_path in $lt_search_path_spec; do
11677 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11678 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11679 else
11680 test -d "$lt_sys_path" && \
11681 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11682 fi
11683 done
11684 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11685 BEGIN {RS=" "; FS="/|\n";} {
11686 lt_foo="";
11687 lt_count=0;
11688 for (lt_i = NF; lt_i > 0; lt_i--) {
11689 if ($lt_i != "" && $lt_i != ".") {
11690 if ($lt_i == "..") {
11691 lt_count++;
11692 } else {
11693 if (lt_count == 0) {
11694 lt_foo="/" $lt_i lt_foo;
11695 } else {
11696 lt_count--;
11697 }
11698 }
11699 }
11700 }
11701 if (lt_foo != "") { lt_freq[lt_foo]++; }
11702 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11703 }'`
11704 # AWK program above erroneously prepends '/' to C:/dos/paths
11705 # for these hosts.
11706 case $host_os in
11707 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11708 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11709 esac
11710 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11711 else
11712 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11713 fi
11714 library_names_spec=
11715 libname_spec='lib$name'
11716 soname_spec=
11717 shrext_cmds=".so"
11718 postinstall_cmds=
11719 postuninstall_cmds=
11720 finish_cmds=
11721 finish_eval=
11722 shlibpath_var=
11723 shlibpath_overrides_runpath=unknown
11724 version_type=none
11725 dynamic_linker="$host_os ld.so"
11726 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11727 need_lib_prefix=unknown
11728 hardcode_into_libs=no
11729
11730 # when you set need_version to no, make sure it does not cause -set_version
11731 # flags to be left without arguments
11732 need_version=unknown
11733
11734 case $host_os in
11735 aix3*)
11736 version_type=linux
11737 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11738 shlibpath_var=LIBPATH
11739
11740 # AIX 3 has no versioning support, so we append a major version to the name.
11741 soname_spec='${libname}${release}${shared_ext}$major'
11742 ;;
11743
11744 aix[4-9]*)
11745 version_type=linux
11746 need_lib_prefix=no
11747 need_version=no
11748 hardcode_into_libs=yes
11749 if test "$host_cpu" = ia64; then
11750 # AIX 5 supports IA64
11751 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11752 shlibpath_var=LD_LIBRARY_PATH
11753 else
11754 # With GCC up to 2.95.x, collect2 would create an import file
11755 # for dependence libraries. The import file would start with
11756 # the line `#! .'. This would cause the generated library to
11757 # depend on `.', always an invalid library. This was fixed in
11758 # development snapshots of GCC prior to 3.0.
11759 case $host_os in
11760 aix4 | aix4.[01] | aix4.[01].*)
11761 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11762 echo ' yes '
11763 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11764 :
11765 else
11766 can_build_shared=no
11767 fi
11768 ;;
11769 esac
11770 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11771 # soname into executable. Probably we can add versioning support to
11772 # collect2, so additional links can be useful in future.
11773 if test "$aix_use_runtimelinking" = yes; then
11774 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11775 # instead of lib<name>.a to let people know that these are not
11776 # typical AIX shared libraries.
11777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778 else
11779 # We preserve .a as extension for shared libraries through AIX4.2
11780 # and later when we are not doing run time linking.
11781 library_names_spec='${libname}${release}.a $libname.a'
11782 soname_spec='${libname}${release}${shared_ext}$major'
11783 fi
11784 shlibpath_var=LIBPATH
11785 fi
11786 ;;
11787
11788 amigaos*)
11789 case $host_cpu in
11790 powerpc)
11791 # Since July 2007 AmigaOS4 officially supports .so libraries.
11792 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11794 ;;
11795 m68k)
11796 library_names_spec='$libname.ixlibrary $libname.a'
11797 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11798 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11799 ;;
11800 esac
11801 ;;
11802
11803 beos*)
11804 library_names_spec='${libname}${shared_ext}'
11805 dynamic_linker="$host_os ld.so"
11806 shlibpath_var=LIBRARY_PATH
11807 ;;
11808
11809 bsdi[45]*)
11810 version_type=linux
11811 need_version=no
11812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11813 soname_spec='${libname}${release}${shared_ext}$major'
11814 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11815 shlibpath_var=LD_LIBRARY_PATH
11816 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11817 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11818 # the default ld.so.conf also contains /usr/contrib/lib and
11819 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11820 # libtool to hard-code these into programs
11821 ;;
11822
11823 cygwin* | mingw* | pw32* | cegcc*)
11824 version_type=windows
11825 shrext_cmds=".dll"
11826 need_version=no
11827 need_lib_prefix=no
11828
11829 case $GCC,$host_os in
11830 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11831 library_names_spec='$libname.dll.a'
11832 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11833 postinstall_cmds='base_file=`basename \${file}`~
11834 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11835 dldir=$destdir/`dirname \$dlpath`~
11836 test -d \$dldir || mkdir -p \$dldir~
11837 $install_prog $dir/$dlname \$dldir/$dlname~
11838 chmod a+x \$dldir/$dlname~
11839 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11840 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11841 fi'
11842 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11843 dlpath=$dir/\$dldll~
11844 $RM \$dlpath'
11845 shlibpath_overrides_runpath=yes
11846
11847 case $host_os in
11848 cygwin*)
11849 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11850 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11851
11852 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11853 ;;
11854 mingw* | cegcc*)
11855 # MinGW DLLs use traditional 'lib' prefix
11856 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11857 ;;
11858 pw32*)
11859 # pw32 DLLs use 'pw' prefix rather than 'lib'
11860 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11861 ;;
11862 esac
11863 ;;
11864
11865 *)
11866 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11867 ;;
11868 esac
11869 dynamic_linker='Win32 ld.exe'
11870 # FIXME: first we should search . and the directory the executable is in
11871 shlibpath_var=PATH
11872 ;;
11873
11874 darwin* | rhapsody*)
11875 dynamic_linker="$host_os dyld"
11876 version_type=darwin
11877 need_lib_prefix=no
11878 need_version=no
11879 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11880 soname_spec='${libname}${release}${major}$shared_ext'
11881 shlibpath_overrides_runpath=yes
11882 shlibpath_var=DYLD_LIBRARY_PATH
11883 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11884
11885 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11886 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11887 ;;
11888
11889 dgux*)
11890 version_type=linux
11891 need_lib_prefix=no
11892 need_version=no
11893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11894 soname_spec='${libname}${release}${shared_ext}$major'
11895 shlibpath_var=LD_LIBRARY_PATH
11896 ;;
11897
11898 freebsd* | dragonfly*)
11899 # DragonFly does not have aout. When/if they implement a new
11900 # versioning mechanism, adjust this.
11901 if test -x /usr/bin/objformat; then
11902 objformat=`/usr/bin/objformat`
11903 else
11904 case $host_os in
11905 freebsd[23].*) objformat=aout ;;
11906 *) objformat=elf ;;
11907 esac
11908 fi
11909 version_type=freebsd-$objformat
11910 case $version_type in
11911 freebsd-elf*)
11912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11913 need_version=no
11914 need_lib_prefix=no
11915 ;;
11916 freebsd-*)
11917 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11918 need_version=yes
11919 ;;
11920 esac
11921 shlibpath_var=LD_LIBRARY_PATH
11922 case $host_os in
11923 freebsd2.*)
11924 shlibpath_overrides_runpath=yes
11925 ;;
11926 freebsd3.[01]* | freebsdelf3.[01]*)
11927 shlibpath_overrides_runpath=yes
11928 hardcode_into_libs=yes
11929 ;;
11930 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11931 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11932 shlibpath_overrides_runpath=no
11933 hardcode_into_libs=yes
11934 ;;
11935 *) # from 4.6 on, and DragonFly
11936 shlibpath_overrides_runpath=yes
11937 hardcode_into_libs=yes
11938 ;;
11939 esac
11940 ;;
11941
11942 haiku*)
11943 version_type=linux
11944 need_lib_prefix=no
11945 need_version=no
11946 dynamic_linker="$host_os runtime_loader"
11947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11948 soname_spec='${libname}${release}${shared_ext}$major'
11949 shlibpath_var=LIBRARY_PATH
11950 shlibpath_overrides_runpath=yes
11951 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11952 hardcode_into_libs=yes
11953 ;;
11954
11955 hpux9* | hpux10* | hpux11*)
11956 # Give a soname corresponding to the major version so that dld.sl refuses to
11957 # link against other versions.
11958 version_type=sunos
11959 need_lib_prefix=no
11960 need_version=no
11961 case $host_cpu in
11962 ia64*)
11963 shrext_cmds='.so'
11964 hardcode_into_libs=yes
11965 dynamic_linker="$host_os dld.so"
11966 shlibpath_var=LD_LIBRARY_PATH
11967 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11969 soname_spec='${libname}${release}${shared_ext}$major'
11970 if test "X$HPUX_IA64_MODE" = X32; then
11971 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11972 else
11973 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11974 fi
11975 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11976 ;;
11977 hppa*64*)
11978 shrext_cmds='.sl'
11979 hardcode_into_libs=yes
11980 dynamic_linker="$host_os dld.sl"
11981 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11982 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11984 soname_spec='${libname}${release}${shared_ext}$major'
11985 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11986 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11987 ;;
11988 *)
11989 shrext_cmds='.sl'
11990 dynamic_linker="$host_os dld.sl"
11991 shlibpath_var=SHLIB_PATH
11992 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11994 soname_spec='${libname}${release}${shared_ext}$major'
11995 ;;
11996 esac
11997 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11998 postinstall_cmds='chmod 555 $lib'
11999 # or fails outright, so override atomically:
12000 install_override_mode=555
12001 ;;
12002
12003 interix[3-9]*)
12004 version_type=linux
12005 need_lib_prefix=no
12006 need_version=no
12007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12008 soname_spec='${libname}${release}${shared_ext}$major'
12009 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12010 shlibpath_var=LD_LIBRARY_PATH
12011 shlibpath_overrides_runpath=no
12012 hardcode_into_libs=yes
12013 ;;
12014
12015 irix5* | irix6* | nonstopux*)
12016 case $host_os in
12017 nonstopux*) version_type=nonstopux ;;
12018 *)
12019 if test "$lt_cv_prog_gnu_ld" = yes; then
12020 version_type=linux
12021 else
12022 version_type=irix
12023 fi ;;
12024 esac
12025 need_lib_prefix=no
12026 need_version=no
12027 soname_spec='${libname}${release}${shared_ext}$major'
12028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12029 case $host_os in
12030 irix5* | nonstopux*)
12031 libsuff= shlibsuff=
12032 ;;
12033 *)
12034 case $LD in # libtool.m4 will add one of these switches to LD
12035 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12036 libsuff= shlibsuff= libmagic=32-bit;;
12037 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12038 libsuff=32 shlibsuff=N32 libmagic=N32;;
12039 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12040 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12041 *) libsuff= shlibsuff= libmagic=never-match;;
12042 esac
12043 ;;
12044 esac
12045 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12046 shlibpath_overrides_runpath=no
12047 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12048 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12049 hardcode_into_libs=yes
12050 ;;
12051
12052 # No shared lib support for Linux oldld, aout, or coff.
12053 linux*oldld* | linux*aout* | linux*coff*)
12054 dynamic_linker=no
12055 ;;
12056
12057 # This must be Linux ELF.
12058
12059 # uclinux* changes (here and below) have been submitted to the libtool
12060 # project, but have not yet been accepted: they are GCC-local changes
12061 # for the time being. (See
12062 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12063 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
12064 version_type=linux
12065 need_lib_prefix=no
12066 need_version=no
12067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068 soname_spec='${libname}${release}${shared_ext}$major'
12069 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12070 shlibpath_var=LD_LIBRARY_PATH
12071 shlibpath_overrides_runpath=no
12072
12073 # Some binutils ld are patched to set DT_RUNPATH
12074 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12075 $as_echo_n "(cached) " >&6
12076 else
12077 lt_cv_shlibpath_overrides_runpath=no
12078 save_LDFLAGS=$LDFLAGS
12079 save_libdir=$libdir
12080 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12081 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12082 if test x$gcc_no_link = xyes; then
12083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12084 fi
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12087
12088 int
12089 main ()
12090 {
12091
12092 ;
12093 return 0;
12094 }
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12098 lt_cv_shlibpath_overrides_runpath=yes
12099 fi
12100 fi
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LDFLAGS=$save_LDFLAGS
12104 libdir=$save_libdir
12105
12106 fi
12107
12108 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12109
12110 # This implies no fast_install, which is unacceptable.
12111 # Some rework will be needed to allow for fast_install
12112 # before this can be enabled.
12113 hardcode_into_libs=yes
12114
12115 # Append ld.so.conf contents to the search path
12116 if test -f /etc/ld.so.conf; then
12117 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12118 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12119 fi
12120
12121 # We used to test for /lib/ld.so.1 and disable shared libraries on
12122 # powerpc, because MkLinux only supported shared libraries with the
12123 # GNU dynamic linker. Since this was broken with cross compilers,
12124 # most powerpc-linux boxes support dynamic linking these days and
12125 # people can always --disable-shared, the test was removed, and we
12126 # assume the GNU/Linux dynamic linker is in use.
12127 dynamic_linker='GNU/Linux ld.so'
12128 ;;
12129
12130 netbsd*)
12131 version_type=sunos
12132 need_lib_prefix=no
12133 need_version=no
12134 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12136 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12137 dynamic_linker='NetBSD (a.out) ld.so'
12138 else
12139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12140 soname_spec='${libname}${release}${shared_ext}$major'
12141 dynamic_linker='NetBSD ld.elf_so'
12142 fi
12143 shlibpath_var=LD_LIBRARY_PATH
12144 shlibpath_overrides_runpath=yes
12145 hardcode_into_libs=yes
12146 ;;
12147
12148 newsos6)
12149 version_type=linux
12150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12151 shlibpath_var=LD_LIBRARY_PATH
12152 shlibpath_overrides_runpath=yes
12153 ;;
12154
12155 *nto* | *qnx*)
12156 version_type=qnx
12157 need_lib_prefix=no
12158 need_version=no
12159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12160 soname_spec='${libname}${release}${shared_ext}$major'
12161 shlibpath_var=LD_LIBRARY_PATH
12162 shlibpath_overrides_runpath=no
12163 hardcode_into_libs=yes
12164 dynamic_linker='ldqnx.so'
12165 ;;
12166
12167 openbsd*)
12168 version_type=sunos
12169 sys_lib_dlsearch_path_spec="/usr/lib"
12170 need_lib_prefix=no
12171 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12172 case $host_os in
12173 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12174 *) need_version=no ;;
12175 esac
12176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12177 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12178 shlibpath_var=LD_LIBRARY_PATH
12179 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12180 case $host_os in
12181 openbsd2.[89] | openbsd2.[89].*)
12182 shlibpath_overrides_runpath=no
12183 ;;
12184 *)
12185 shlibpath_overrides_runpath=yes
12186 ;;
12187 esac
12188 else
12189 shlibpath_overrides_runpath=yes
12190 fi
12191 ;;
12192
12193 os2*)
12194 libname_spec='$name'
12195 shrext_cmds=".dll"
12196 need_lib_prefix=no
12197 library_names_spec='$libname${shared_ext} $libname.a'
12198 dynamic_linker='OS/2 ld.exe'
12199 shlibpath_var=LIBPATH
12200 ;;
12201
12202 osf3* | osf4* | osf5*)
12203 version_type=osf
12204 need_lib_prefix=no
12205 need_version=no
12206 soname_spec='${libname}${release}${shared_ext}$major'
12207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12208 shlibpath_var=LD_LIBRARY_PATH
12209 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12210 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12211 ;;
12212
12213 rdos*)
12214 dynamic_linker=no
12215 ;;
12216
12217 solaris*)
12218 version_type=linux
12219 need_lib_prefix=no
12220 need_version=no
12221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12222 soname_spec='${libname}${release}${shared_ext}$major'
12223 shlibpath_var=LD_LIBRARY_PATH
12224 shlibpath_overrides_runpath=yes
12225 hardcode_into_libs=yes
12226 # ldd complains unless libraries are executable
12227 postinstall_cmds='chmod +x $lib'
12228 ;;
12229
12230 sunos4*)
12231 version_type=sunos
12232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12233 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12234 shlibpath_var=LD_LIBRARY_PATH
12235 shlibpath_overrides_runpath=yes
12236 if test "$with_gnu_ld" = yes; then
12237 need_lib_prefix=no
12238 fi
12239 need_version=yes
12240 ;;
12241
12242 sysv4 | sysv4.3*)
12243 version_type=linux
12244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12245 soname_spec='${libname}${release}${shared_ext}$major'
12246 shlibpath_var=LD_LIBRARY_PATH
12247 case $host_vendor in
12248 sni)
12249 shlibpath_overrides_runpath=no
12250 need_lib_prefix=no
12251 runpath_var=LD_RUN_PATH
12252 ;;
12253 siemens)
12254 need_lib_prefix=no
12255 ;;
12256 motorola)
12257 need_lib_prefix=no
12258 need_version=no
12259 shlibpath_overrides_runpath=no
12260 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12261 ;;
12262 esac
12263 ;;
12264
12265 sysv4*MP*)
12266 if test -d /usr/nec ;then
12267 version_type=linux
12268 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12269 soname_spec='$libname${shared_ext}.$major'
12270 shlibpath_var=LD_LIBRARY_PATH
12271 fi
12272 ;;
12273
12274 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12275 version_type=freebsd-elf
12276 need_lib_prefix=no
12277 need_version=no
12278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12279 soname_spec='${libname}${release}${shared_ext}$major'
12280 shlibpath_var=LD_LIBRARY_PATH
12281 shlibpath_overrides_runpath=yes
12282 hardcode_into_libs=yes
12283 if test "$with_gnu_ld" = yes; then
12284 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12285 else
12286 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12287 case $host_os in
12288 sco3.2v5*)
12289 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12290 ;;
12291 esac
12292 fi
12293 sys_lib_dlsearch_path_spec='/usr/lib'
12294 ;;
12295
12296 tpf*)
12297 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12298 version_type=linux
12299 need_lib_prefix=no
12300 need_version=no
12301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12302 shlibpath_var=LD_LIBRARY_PATH
12303 shlibpath_overrides_runpath=no
12304 hardcode_into_libs=yes
12305 ;;
12306
12307 uts4*)
12308 version_type=linux
12309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12310 soname_spec='${libname}${release}${shared_ext}$major'
12311 shlibpath_var=LD_LIBRARY_PATH
12312 ;;
12313
12314 *)
12315 dynamic_linker=no
12316 ;;
12317 esac
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12319 $as_echo "$dynamic_linker" >&6; }
12320 test "$dynamic_linker" = no && can_build_shared=no
12321
12322 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12323 if test "$GCC" = yes; then
12324 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12325 fi
12326
12327 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12328 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12329 fi
12330 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12331 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12332 fi
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12426 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12427 hardcode_action=
12428 if test -n "$hardcode_libdir_flag_spec" ||
12429 test -n "$runpath_var" ||
12430 test "X$hardcode_automatic" = "Xyes" ; then
12431
12432 # We can hardcode non-existent directories.
12433 if test "$hardcode_direct" != no &&
12434 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12435 # have to relink, otherwise we might link with an installed library
12436 # when we should be linking with a yet-to-be-installed one
12437 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12438 test "$hardcode_minus_L" != no; then
12439 # Linking always hardcodes the temporary library directory.
12440 hardcode_action=relink
12441 else
12442 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12443 hardcode_action=immediate
12444 fi
12445 else
12446 # We cannot hardcode anything, or else we can only hardcode existing
12447 # directories.
12448 hardcode_action=unsupported
12449 fi
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12451 $as_echo "$hardcode_action" >&6; }
12452
12453 if test "$hardcode_action" = relink ||
12454 test "$inherit_rpath" = yes; then
12455 # Fast installation is not supported
12456 enable_fast_install=no
12457 elif test "$shlibpath_overrides_runpath" = yes ||
12458 test "$enable_shared" = no; then
12459 # Fast installation is not necessary
12460 enable_fast_install=needless
12461 fi
12462
12463
12464
12465
12466
12467
12468 if test "x$enable_dlopen" != xyes; then
12469 enable_dlopen=unknown
12470 enable_dlopen_self=unknown
12471 enable_dlopen_self_static=unknown
12472 else
12473 lt_cv_dlopen=no
12474 lt_cv_dlopen_libs=
12475
12476 case $host_os in
12477 beos*)
12478 lt_cv_dlopen="load_add_on"
12479 lt_cv_dlopen_libs=
12480 lt_cv_dlopen_self=yes
12481 ;;
12482
12483 mingw* | pw32* | cegcc*)
12484 lt_cv_dlopen="LoadLibrary"
12485 lt_cv_dlopen_libs=
12486 ;;
12487
12488 cygwin*)
12489 lt_cv_dlopen="dlopen"
12490 lt_cv_dlopen_libs=
12491 ;;
12492
12493 darwin*)
12494 # if libdl is installed we need to link against it
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12496 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12497 if ${ac_cv_lib_dl_dlopen+:} false; then :
12498 $as_echo_n "(cached) " >&6
12499 else
12500 ac_check_lib_save_LIBS=$LIBS
12501 LIBS="-ldl $LIBS"
12502 if test x$gcc_no_link = xyes; then
12503 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12504 fi
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12507
12508 /* Override any GCC internal prototype to avoid an error.
12509 Use char because int might match the return type of a GCC
12510 builtin and then its argument prototype would still apply. */
12511 #ifdef __cplusplus
12512 extern "C"
12513 #endif
12514 char dlopen ();
12515 int
12516 main ()
12517 {
12518 return dlopen ();
12519 ;
12520 return 0;
12521 }
12522 _ACEOF
12523 if ac_fn_c_try_link "$LINENO"; then :
12524 ac_cv_lib_dl_dlopen=yes
12525 else
12526 ac_cv_lib_dl_dlopen=no
12527 fi
12528 rm -f core conftest.err conftest.$ac_objext \
12529 conftest$ac_exeext conftest.$ac_ext
12530 LIBS=$ac_check_lib_save_LIBS
12531 fi
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12533 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12534 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12535 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12536 else
12537
12538 lt_cv_dlopen="dyld"
12539 lt_cv_dlopen_libs=
12540 lt_cv_dlopen_self=yes
12541
12542 fi
12543
12544 ;;
12545
12546 *)
12547 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12548 if test "x$ac_cv_func_shl_load" = xyes; then :
12549 lt_cv_dlopen="shl_load"
12550 else
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12552 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12553 if ${ac_cv_lib_dld_shl_load+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-ldld $LIBS"
12558 if test x$gcc_no_link = xyes; then
12559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12560 fi
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12563
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12567 #ifdef __cplusplus
12568 extern "C"
12569 #endif
12570 char shl_load ();
12571 int
12572 main ()
12573 {
12574 return shl_load ();
12575 ;
12576 return 0;
12577 }
12578 _ACEOF
12579 if ac_fn_c_try_link "$LINENO"; then :
12580 ac_cv_lib_dld_shl_load=yes
12581 else
12582 ac_cv_lib_dld_shl_load=no
12583 fi
12584 rm -f core conftest.err conftest.$ac_objext \
12585 conftest$ac_exeext conftest.$ac_ext
12586 LIBS=$ac_check_lib_save_LIBS
12587 fi
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12589 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12590 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12591 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12592 else
12593 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12594 if test "x$ac_cv_func_dlopen" = xyes; then :
12595 lt_cv_dlopen="dlopen"
12596 else
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12598 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12599 if ${ac_cv_lib_dl_dlopen+:} false; then :
12600 $as_echo_n "(cached) " >&6
12601 else
12602 ac_check_lib_save_LIBS=$LIBS
12603 LIBS="-ldl $LIBS"
12604 if test x$gcc_no_link = xyes; then
12605 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12606 fi
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12609
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12613 #ifdef __cplusplus
12614 extern "C"
12615 #endif
12616 char dlopen ();
12617 int
12618 main ()
12619 {
12620 return dlopen ();
12621 ;
12622 return 0;
12623 }
12624 _ACEOF
12625 if ac_fn_c_try_link "$LINENO"; then :
12626 ac_cv_lib_dl_dlopen=yes
12627 else
12628 ac_cv_lib_dl_dlopen=no
12629 fi
12630 rm -f core conftest.err conftest.$ac_objext \
12631 conftest$ac_exeext conftest.$ac_ext
12632 LIBS=$ac_check_lib_save_LIBS
12633 fi
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12635 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12636 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12637 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12638 else
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12640 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12641 if ${ac_cv_lib_svld_dlopen+:} false; then :
12642 $as_echo_n "(cached) " >&6
12643 else
12644 ac_check_lib_save_LIBS=$LIBS
12645 LIBS="-lsvld $LIBS"
12646 if test x$gcc_no_link = xyes; then
12647 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12648 fi
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12651
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 #ifdef __cplusplus
12656 extern "C"
12657 #endif
12658 char dlopen ();
12659 int
12660 main ()
12661 {
12662 return dlopen ();
12663 ;
12664 return 0;
12665 }
12666 _ACEOF
12667 if ac_fn_c_try_link "$LINENO"; then :
12668 ac_cv_lib_svld_dlopen=yes
12669 else
12670 ac_cv_lib_svld_dlopen=no
12671 fi
12672 rm -f core conftest.err conftest.$ac_objext \
12673 conftest$ac_exeext conftest.$ac_ext
12674 LIBS=$ac_check_lib_save_LIBS
12675 fi
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12677 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12678 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12679 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12680 else
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12682 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12683 if ${ac_cv_lib_dld_dld_link+:} false; then :
12684 $as_echo_n "(cached) " >&6
12685 else
12686 ac_check_lib_save_LIBS=$LIBS
12687 LIBS="-ldld $LIBS"
12688 if test x$gcc_no_link = xyes; then
12689 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12690 fi
12691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12693
12694 /* Override any GCC internal prototype to avoid an error.
12695 Use char because int might match the return type of a GCC
12696 builtin and then its argument prototype would still apply. */
12697 #ifdef __cplusplus
12698 extern "C"
12699 #endif
12700 char dld_link ();
12701 int
12702 main ()
12703 {
12704 return dld_link ();
12705 ;
12706 return 0;
12707 }
12708 _ACEOF
12709 if ac_fn_c_try_link "$LINENO"; then :
12710 ac_cv_lib_dld_dld_link=yes
12711 else
12712 ac_cv_lib_dld_dld_link=no
12713 fi
12714 rm -f core conftest.err conftest.$ac_objext \
12715 conftest$ac_exeext conftest.$ac_ext
12716 LIBS=$ac_check_lib_save_LIBS
12717 fi
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12719 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12720 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12721 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12722 fi
12723
12724
12725 fi
12726
12727
12728 fi
12729
12730
12731 fi
12732
12733
12734 fi
12735
12736
12737 fi
12738
12739 ;;
12740 esac
12741
12742 if test "x$lt_cv_dlopen" != xno; then
12743 enable_dlopen=yes
12744 else
12745 enable_dlopen=no
12746 fi
12747
12748 case $lt_cv_dlopen in
12749 dlopen)
12750 save_CPPFLAGS="$CPPFLAGS"
12751 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12752
12753 save_LDFLAGS="$LDFLAGS"
12754 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12755
12756 save_LIBS="$LIBS"
12757 LIBS="$lt_cv_dlopen_libs $LIBS"
12758
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12760 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12761 if ${lt_cv_dlopen_self+:} false; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 if test "$cross_compiling" = yes; then :
12765 lt_cv_dlopen_self=cross
12766 else
12767 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12768 lt_status=$lt_dlunknown
12769 cat > conftest.$ac_ext <<_LT_EOF
12770 #line 12770 "configure"
12771 #include "confdefs.h"
12772
12773 #if HAVE_DLFCN_H
12774 #include <dlfcn.h>
12775 #endif
12776
12777 #include <stdio.h>
12778
12779 #ifdef RTLD_GLOBAL
12780 # define LT_DLGLOBAL RTLD_GLOBAL
12781 #else
12782 # ifdef DL_GLOBAL
12783 # define LT_DLGLOBAL DL_GLOBAL
12784 # else
12785 # define LT_DLGLOBAL 0
12786 # endif
12787 #endif
12788
12789 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12790 find out it does not work in some platform. */
12791 #ifndef LT_DLLAZY_OR_NOW
12792 # ifdef RTLD_LAZY
12793 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12794 # else
12795 # ifdef DL_LAZY
12796 # define LT_DLLAZY_OR_NOW DL_LAZY
12797 # else
12798 # ifdef RTLD_NOW
12799 # define LT_DLLAZY_OR_NOW RTLD_NOW
12800 # else
12801 # ifdef DL_NOW
12802 # define LT_DLLAZY_OR_NOW DL_NOW
12803 # else
12804 # define LT_DLLAZY_OR_NOW 0
12805 # endif
12806 # endif
12807 # endif
12808 # endif
12809 #endif
12810
12811 /* When -fvisbility=hidden is used, assume the code has been annotated
12812 correspondingly for the symbols needed. */
12813 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12814 void fnord () __attribute__((visibility("default")));
12815 #endif
12816
12817 void fnord () { int i=42; }
12818 int main ()
12819 {
12820 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12821 int status = $lt_dlunknown;
12822
12823 if (self)
12824 {
12825 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12826 else
12827 {
12828 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12829 else puts (dlerror ());
12830 }
12831 /* dlclose (self); */
12832 }
12833 else
12834 puts (dlerror ());
12835
12836 return status;
12837 }
12838 _LT_EOF
12839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12840 (eval $ac_link) 2>&5
12841 ac_status=$?
12842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12843 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12844 (./conftest; exit; ) >&5 2>/dev/null
12845 lt_status=$?
12846 case x$lt_status in
12847 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12848 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12849 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12850 esac
12851 else :
12852 # compilation failed
12853 lt_cv_dlopen_self=no
12854 fi
12855 fi
12856 rm -fr conftest*
12857
12858
12859 fi
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12861 $as_echo "$lt_cv_dlopen_self" >&6; }
12862
12863 if test "x$lt_cv_dlopen_self" = xyes; then
12864 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12866 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12867 if ${lt_cv_dlopen_self_static+:} false; then :
12868 $as_echo_n "(cached) " >&6
12869 else
12870 if test "$cross_compiling" = yes; then :
12871 lt_cv_dlopen_self_static=cross
12872 else
12873 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12874 lt_status=$lt_dlunknown
12875 cat > conftest.$ac_ext <<_LT_EOF
12876 #line 12876 "configure"
12877 #include "confdefs.h"
12878
12879 #if HAVE_DLFCN_H
12880 #include <dlfcn.h>
12881 #endif
12882
12883 #include <stdio.h>
12884
12885 #ifdef RTLD_GLOBAL
12886 # define LT_DLGLOBAL RTLD_GLOBAL
12887 #else
12888 # ifdef DL_GLOBAL
12889 # define LT_DLGLOBAL DL_GLOBAL
12890 # else
12891 # define LT_DLGLOBAL 0
12892 # endif
12893 #endif
12894
12895 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12896 find out it does not work in some platform. */
12897 #ifndef LT_DLLAZY_OR_NOW
12898 # ifdef RTLD_LAZY
12899 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12900 # else
12901 # ifdef DL_LAZY
12902 # define LT_DLLAZY_OR_NOW DL_LAZY
12903 # else
12904 # ifdef RTLD_NOW
12905 # define LT_DLLAZY_OR_NOW RTLD_NOW
12906 # else
12907 # ifdef DL_NOW
12908 # define LT_DLLAZY_OR_NOW DL_NOW
12909 # else
12910 # define LT_DLLAZY_OR_NOW 0
12911 # endif
12912 # endif
12913 # endif
12914 # endif
12915 #endif
12916
12917 /* When -fvisbility=hidden is used, assume the code has been annotated
12918 correspondingly for the symbols needed. */
12919 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12920 void fnord () __attribute__((visibility("default")));
12921 #endif
12922
12923 void fnord () { int i=42; }
12924 int main ()
12925 {
12926 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12927 int status = $lt_dlunknown;
12928
12929 if (self)
12930 {
12931 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12932 else
12933 {
12934 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12935 else puts (dlerror ());
12936 }
12937 /* dlclose (self); */
12938 }
12939 else
12940 puts (dlerror ());
12941
12942 return status;
12943 }
12944 _LT_EOF
12945 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12946 (eval $ac_link) 2>&5
12947 ac_status=$?
12948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12949 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12950 (./conftest; exit; ) >&5 2>/dev/null
12951 lt_status=$?
12952 case x$lt_status in
12953 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12954 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12955 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12956 esac
12957 else :
12958 # compilation failed
12959 lt_cv_dlopen_self_static=no
12960 fi
12961 fi
12962 rm -fr conftest*
12963
12964
12965 fi
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12967 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12968 fi
12969
12970 CPPFLAGS="$save_CPPFLAGS"
12971 LDFLAGS="$save_LDFLAGS"
12972 LIBS="$save_LIBS"
12973 ;;
12974 esac
12975
12976 case $lt_cv_dlopen_self in
12977 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12978 *) enable_dlopen_self=unknown ;;
12979 esac
12980
12981 case $lt_cv_dlopen_self_static in
12982 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12983 *) enable_dlopen_self_static=unknown ;;
12984 esac
12985 fi
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003 striplib=
13004 old_striplib=
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13006 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13007 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13008 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13009 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13011 $as_echo "yes" >&6; }
13012 else
13013 # FIXME - insert some real tests, host_os isn't really good enough
13014 case $host_os in
13015 darwin*)
13016 if test -n "$STRIP" ; then
13017 striplib="$STRIP -x"
13018 old_striplib="$STRIP -S"
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13020 $as_echo "yes" >&6; }
13021 else
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13023 $as_echo "no" >&6; }
13024 fi
13025 ;;
13026 *)
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 $as_echo "no" >&6; }
13029 ;;
13030 esac
13031 fi
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044 # Report which library types will actually be built
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13046 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13048 $as_echo "$can_build_shared" >&6; }
13049
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13051 $as_echo_n "checking whether to build shared libraries... " >&6; }
13052 test "$can_build_shared" = "no" && enable_shared=no
13053
13054 # On AIX, shared libraries and static libraries use the same namespace, and
13055 # are all built from PIC.
13056 case $host_os in
13057 aix3*)
13058 test "$enable_shared" = yes && enable_static=no
13059 if test -n "$RANLIB"; then
13060 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13061 postinstall_cmds='$RANLIB $lib'
13062 fi
13063 ;;
13064
13065 aix[4-9]*)
13066 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13067 test "$enable_shared" = yes && enable_static=no
13068 fi
13069 ;;
13070 esac
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13072 $as_echo "$enable_shared" >&6; }
13073
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13075 $as_echo_n "checking whether to build static libraries... " >&6; }
13076 # Make sure either enable_shared or enable_static is yes.
13077 test "$enable_shared" = yes || enable_static=yes
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13079 $as_echo "$enable_static" >&6; }
13080
13081
13082
13083
13084 fi
13085 ac_ext=c
13086 ac_cpp='$CPP $CPPFLAGS'
13087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13090
13091 CC="$lt_save_CC"
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105 ac_config_commands="$ac_config_commands libtool"
13106
13107
13108
13109
13110 # Only expand once:
13111
13112
13113 LIBM=
13114 case $host in
13115 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13116 # These system don't have libm, or don't need it
13117 ;;
13118 *-ncr-sysv4.3*)
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13120 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13121 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124 ac_check_lib_save_LIBS=$LIBS
13125 LIBS="-lmw $LIBS"
13126 if test x$gcc_no_link = xyes; then
13127 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13128 fi
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13131
13132 /* Override any GCC internal prototype to avoid an error.
13133 Use char because int might match the return type of a GCC
13134 builtin and then its argument prototype would still apply. */
13135 #ifdef __cplusplus
13136 extern "C"
13137 #endif
13138 char _mwvalidcheckl ();
13139 int
13140 main ()
13141 {
13142 return _mwvalidcheckl ();
13143 ;
13144 return 0;
13145 }
13146 _ACEOF
13147 if ac_fn_c_try_link "$LINENO"; then :
13148 ac_cv_lib_mw__mwvalidcheckl=yes
13149 else
13150 ac_cv_lib_mw__mwvalidcheckl=no
13151 fi
13152 rm -f core conftest.err conftest.$ac_objext \
13153 conftest$ac_exeext conftest.$ac_ext
13154 LIBS=$ac_check_lib_save_LIBS
13155 fi
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13157 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13158 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
13159 LIBM="-lmw"
13160 fi
13161
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13163 $as_echo_n "checking for cos in -lm... " >&6; }
13164 if ${ac_cv_lib_m_cos+:} false; then :
13165 $as_echo_n "(cached) " >&6
13166 else
13167 ac_check_lib_save_LIBS=$LIBS
13168 LIBS="-lm $LIBS"
13169 if test x$gcc_no_link = xyes; then
13170 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13171 fi
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13174
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13178 #ifdef __cplusplus
13179 extern "C"
13180 #endif
13181 char cos ();
13182 int
13183 main ()
13184 {
13185 return cos ();
13186 ;
13187 return 0;
13188 }
13189 _ACEOF
13190 if ac_fn_c_try_link "$LINENO"; then :
13191 ac_cv_lib_m_cos=yes
13192 else
13193 ac_cv_lib_m_cos=no
13194 fi
13195 rm -f core conftest.err conftest.$ac_objext \
13196 conftest$ac_exeext conftest.$ac_ext
13197 LIBS=$ac_check_lib_save_LIBS
13198 fi
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13200 $as_echo "$ac_cv_lib_m_cos" >&6; }
13201 if test "x$ac_cv_lib_m_cos" = xyes; then :
13202 LIBM="$LIBM -lm"
13203 fi
13204
13205 ;;
13206 *)
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13208 $as_echo_n "checking for cos in -lm... " >&6; }
13209 if ${ac_cv_lib_m_cos+:} false; then :
13210 $as_echo_n "(cached) " >&6
13211 else
13212 ac_check_lib_save_LIBS=$LIBS
13213 LIBS="-lm $LIBS"
13214 if test x$gcc_no_link = xyes; then
13215 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13216 fi
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13219
13220 /* Override any GCC internal prototype to avoid an error.
13221 Use char because int might match the return type of a GCC
13222 builtin and then its argument prototype would still apply. */
13223 #ifdef __cplusplus
13224 extern "C"
13225 #endif
13226 char cos ();
13227 int
13228 main ()
13229 {
13230 return cos ();
13231 ;
13232 return 0;
13233 }
13234 _ACEOF
13235 if ac_fn_c_try_link "$LINENO"; then :
13236 ac_cv_lib_m_cos=yes
13237 else
13238 ac_cv_lib_m_cos=no
13239 fi
13240 rm -f core conftest.err conftest.$ac_objext \
13241 conftest$ac_exeext conftest.$ac_ext
13242 LIBS=$ac_check_lib_save_LIBS
13243 fi
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13245 $as_echo "$ac_cv_lib_m_cos" >&6; }
13246 if test "x$ac_cv_lib_m_cos" = xyes; then :
13247 LIBM="-lm"
13248 fi
13249
13250 ;;
13251 esac
13252
13253
13254
13255
13256
13257 case $host in
13258 *-cygwin* | *-mingw*)
13259 # 'host' will be top-level target in the case of a target lib,
13260 # we must compare to with_cross_host to decide if this is a native
13261 # or cross-compiler and select where to install dlls appropriately.
13262 if test -n "$with_cross_host" &&
13263 test x"$with_cross_host" != x"no"; then
13264 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13265 else
13266 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13267 fi
13268 ;;
13269 *)
13270 lt_host_flags=
13271 ;;
13272 esac
13273
13274
13275
13276
13277
13278 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13279
13280 # We need gfortran to compile parts of the library
13281 #AC_PROG_FC(gfortran)
13282 FC="$GFORTRAN"
13283 ac_ext=${ac_fc_srcext-f}
13284 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13285 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13286 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13287 if test -n "$ac_tool_prefix"; then
13288 for ac_prog in gfortran
13289 do
13290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13291 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 $as_echo_n "checking for $ac_word... " >&6; }
13294 if ${ac_cv_prog_FC+:} false; then :
13295 $as_echo_n "(cached) " >&6
13296 else
13297 if test -n "$FC"; then
13298 ac_cv_prog_FC="$FC" # Let the user override the test.
13299 else
13300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13301 for as_dir in $PATH
13302 do
13303 IFS=$as_save_IFS
13304 test -z "$as_dir" && as_dir=.
13305 for ac_exec_ext in '' $ac_executable_extensions; do
13306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13307 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13309 break 2
13310 fi
13311 done
13312 done
13313 IFS=$as_save_IFS
13314
13315 fi
13316 fi
13317 FC=$ac_cv_prog_FC
13318 if test -n "$FC"; then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13320 $as_echo "$FC" >&6; }
13321 else
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13323 $as_echo "no" >&6; }
13324 fi
13325
13326
13327 test -n "$FC" && break
13328 done
13329 fi
13330 if test -z "$FC"; then
13331 ac_ct_FC=$FC
13332 for ac_prog in gfortran
13333 do
13334 # Extract the first word of "$ac_prog", so it can be a program name with args.
13335 set dummy $ac_prog; ac_word=$2
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13337 $as_echo_n "checking for $ac_word... " >&6; }
13338 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13339 $as_echo_n "(cached) " >&6
13340 else
13341 if test -n "$ac_ct_FC"; then
13342 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13343 else
13344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13345 for as_dir in $PATH
13346 do
13347 IFS=$as_save_IFS
13348 test -z "$as_dir" && as_dir=.
13349 for ac_exec_ext in '' $ac_executable_extensions; do
13350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13351 ac_cv_prog_ac_ct_FC="$ac_prog"
13352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13353 break 2
13354 fi
13355 done
13356 done
13357 IFS=$as_save_IFS
13358
13359 fi
13360 fi
13361 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13362 if test -n "$ac_ct_FC"; then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13364 $as_echo "$ac_ct_FC" >&6; }
13365 else
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13368 fi
13369
13370
13371 test -n "$ac_ct_FC" && break
13372 done
13373
13374 if test "x$ac_ct_FC" = x; then
13375 FC=""
13376 else
13377 case $cross_compiling:$ac_tool_warned in
13378 yes:)
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13381 ac_tool_warned=yes ;;
13382 esac
13383 FC=$ac_ct_FC
13384 fi
13385 fi
13386
13387
13388 # Provide some information about the compiler.
13389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13390 set X $ac_compile
13391 ac_compiler=$2
13392 for ac_option in --version -v -V -qversion; do
13393 { { ac_try="$ac_compiler $ac_option >&5"
13394 case "(($ac_try" in
13395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13396 *) ac_try_echo=$ac_try;;
13397 esac
13398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13399 $as_echo "$ac_try_echo"; } >&5
13400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13401 ac_status=$?
13402 if test -s conftest.err; then
13403 sed '10a\
13404 ... rest of stderr output deleted ...
13405 10q' conftest.err >conftest.er1
13406 cat conftest.er1 >&5
13407 fi
13408 rm -f conftest.er1 conftest.err
13409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13410 test $ac_status = 0; }
13411 done
13412 rm -f a.out
13413
13414 # If we don't use `.F' as extension, the preprocessor is not run on the
13415 # input file. (Note that this only needs to work for GNU compilers.)
13416 ac_save_ext=$ac_ext
13417 ac_ext=F
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13419 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13420 if ${ac_cv_fc_compiler_gnu+:} false; then :
13421 $as_echo_n "(cached) " >&6
13422 else
13423 cat > conftest.$ac_ext <<_ACEOF
13424 program main
13425 #ifndef __GNUC__
13426 choke me
13427 #endif
13428
13429 end
13430 _ACEOF
13431 if ac_fn_fc_try_compile "$LINENO"; then :
13432 ac_compiler_gnu=yes
13433 else
13434 ac_compiler_gnu=no
13435 fi
13436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13437 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13438
13439 fi
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13441 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13442 ac_ext=$ac_save_ext
13443 ac_test_FCFLAGS=${FCFLAGS+set}
13444 ac_save_FCFLAGS=$FCFLAGS
13445 FCFLAGS=
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13447 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13448 if ${ac_cv_prog_fc_g+:} false; then :
13449 $as_echo_n "(cached) " >&6
13450 else
13451 FCFLAGS=-g
13452 cat > conftest.$ac_ext <<_ACEOF
13453 program main
13454
13455 end
13456 _ACEOF
13457 if ac_fn_fc_try_compile "$LINENO"; then :
13458 ac_cv_prog_fc_g=yes
13459 else
13460 ac_cv_prog_fc_g=no
13461 fi
13462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13463
13464 fi
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13466 $as_echo "$ac_cv_prog_fc_g" >&6; }
13467 if test "$ac_test_FCFLAGS" = set; then
13468 FCFLAGS=$ac_save_FCFLAGS
13469 elif test $ac_cv_prog_fc_g = yes; then
13470 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13471 FCFLAGS="-g -O2"
13472 else
13473 FCFLAGS="-g"
13474 fi
13475 else
13476 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13477 FCFLAGS="-O2"
13478 else
13479 FCFLAGS=
13480 fi
13481 fi
13482
13483 if test $ac_compiler_gnu = yes; then
13484 GFC=yes
13485 else
13486 GFC=
13487 fi
13488 ac_ext=c
13489 ac_cpp='$CPP $CPPFLAGS'
13490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13493
13494 ac_ext=${ac_fc_srcext-f}
13495 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13496 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13497 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13498
13499
13500 if test -z "$FC" || test "X$FC" = "Xno"; then
13501 _lt_disable_FC=yes
13502 fi
13503
13504 archive_cmds_need_lc_FC=no
13505 allow_undefined_flag_FC=
13506 always_export_symbols_FC=no
13507 archive_expsym_cmds_FC=
13508 export_dynamic_flag_spec_FC=
13509 hardcode_direct_FC=no
13510 hardcode_direct_absolute_FC=no
13511 hardcode_libdir_flag_spec_FC=
13512 hardcode_libdir_flag_spec_ld_FC=
13513 hardcode_libdir_separator_FC=
13514 hardcode_minus_L_FC=no
13515 hardcode_automatic_FC=no
13516 inherit_rpath_FC=no
13517 module_cmds_FC=
13518 module_expsym_cmds_FC=
13519 link_all_deplibs_FC=unknown
13520 old_archive_cmds_FC=$old_archive_cmds
13521 reload_flag_FC=$reload_flag
13522 reload_cmds_FC=$reload_cmds
13523 no_undefined_flag_FC=
13524 whole_archive_flag_spec_FC=
13525 enable_shared_with_static_runtimes_FC=no
13526
13527 # Source file extension for fc test sources.
13528 ac_ext=${ac_fc_srcext-f}
13529
13530 # Object file extension for compiled fc test sources.
13531 objext=o
13532 objext_FC=$objext
13533
13534 # No sense in running all these tests if we already determined that
13535 # the FC compiler isn't working. Some variables (like enable_shared)
13536 # are currently assumed to apply to all compilers on this platform,
13537 # and will be corrupted by setting them based on a non-working compiler.
13538 if test "$_lt_disable_FC" != yes; then
13539 # Code to be used in simple compile tests
13540 lt_simple_compile_test_code="\
13541 subroutine t
13542 return
13543 end
13544 "
13545
13546 # Code to be used in simple link tests
13547 lt_simple_link_test_code="\
13548 program t
13549 end
13550 "
13551
13552 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13553
13554
13555
13556
13557
13558
13559 # If no C compiler was specified, use CC.
13560 LTCC=${LTCC-"$CC"}
13561
13562 # If no C compiler flags were specified, use CFLAGS.
13563 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13564
13565 # Allow CC to be a program name with arguments.
13566 compiler=$CC
13567
13568
13569 # save warnings/boilerplate of simple test code
13570 ac_outfile=conftest.$ac_objext
13571 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13572 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13573 _lt_compiler_boilerplate=`cat conftest.err`
13574 $RM conftest*
13575
13576 ac_outfile=conftest.$ac_objext
13577 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13578 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13579 _lt_linker_boilerplate=`cat conftest.err`
13580 $RM -r conftest*
13581
13582
13583 # Allow CC to be a program name with arguments.
13584 lt_save_CC="$CC"
13585 lt_save_GCC=$GCC
13586 CC=${FC-"f95"}
13587 compiler=$CC
13588 GCC=$ac_cv_fc_compiler_gnu
13589
13590 compiler_FC=$CC
13591 for cc_temp in $compiler""; do
13592 case $cc_temp in
13593 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13594 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13595 \-*) ;;
13596 *) break;;
13597 esac
13598 done
13599 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13600
13601
13602 if test -n "$compiler"; then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13604 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13606 $as_echo "$can_build_shared" >&6; }
13607
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13609 $as_echo_n "checking whether to build shared libraries... " >&6; }
13610 test "$can_build_shared" = "no" && enable_shared=no
13611
13612 # On AIX, shared libraries and static libraries use the same namespace, and
13613 # are all built from PIC.
13614 case $host_os in
13615 aix3*)
13616 test "$enable_shared" = yes && enable_static=no
13617 if test -n "$RANLIB"; then
13618 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13619 postinstall_cmds='$RANLIB $lib'
13620 fi
13621 ;;
13622 aix[4-9]*)
13623 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13624 test "$enable_shared" = yes && enable_static=no
13625 fi
13626 ;;
13627 esac
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13629 $as_echo "$enable_shared" >&6; }
13630
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13632 $as_echo_n "checking whether to build static libraries... " >&6; }
13633 # Make sure either enable_shared or enable_static is yes.
13634 test "$enable_shared" = yes || enable_static=yes
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13636 $as_echo "$enable_static" >&6; }
13637
13638 GCC_FC="$ac_cv_fc_compiler_gnu"
13639 LD_FC="$LD"
13640
13641 ## CAVEAT EMPTOR:
13642 ## There is no encapsulation within the following macros, do not change
13643 ## the running order or otherwise move them around unless you know exactly
13644 ## what you are doing...
13645 # Dependencies to place before and after the object being linked:
13646 predep_objects_FC=
13647 postdep_objects_FC=
13648 predeps_FC=
13649 postdeps_FC=
13650 compiler_lib_search_path_FC=
13651
13652 cat > conftest.$ac_ext <<_LT_EOF
13653 subroutine foo
13654 implicit none
13655 integer a
13656 a=0
13657 return
13658 end
13659 _LT_EOF
13660
13661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13662 (eval $ac_compile) 2>&5
13663 ac_status=$?
13664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13665 test $ac_status = 0; }; then
13666 # Parse the compiler output and extract the necessary
13667 # objects, libraries and library flags.
13668
13669 # Sentinel used to keep track of whether or not we are before
13670 # the conftest object file.
13671 pre_test_object_deps_done=no
13672
13673 for p in `eval "$output_verbose_link_cmd"`; do
13674 case $p in
13675
13676 -L* | -R* | -l*)
13677 # Some compilers place space between "-{L,R}" and the path.
13678 # Remove the space.
13679 if test $p = "-L" ||
13680 test $p = "-R"; then
13681 prev=$p
13682 continue
13683 else
13684 prev=
13685 fi
13686
13687 if test "$pre_test_object_deps_done" = no; then
13688 case $p in
13689 -L* | -R*)
13690 # Internal compiler library paths should come after those
13691 # provided the user. The postdeps already come after the
13692 # user supplied libs so there is no need to process them.
13693 if test -z "$compiler_lib_search_path_FC"; then
13694 compiler_lib_search_path_FC="${prev}${p}"
13695 else
13696 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13697 fi
13698 ;;
13699 # The "-l" case would never come before the object being
13700 # linked, so don't bother handling this case.
13701 esac
13702 else
13703 if test -z "$postdeps_FC"; then
13704 postdeps_FC="${prev}${p}"
13705 else
13706 postdeps_FC="${postdeps_FC} ${prev}${p}"
13707 fi
13708 fi
13709 ;;
13710
13711 *.$objext)
13712 # This assumes that the test object file only shows up
13713 # once in the compiler output.
13714 if test "$p" = "conftest.$objext"; then
13715 pre_test_object_deps_done=yes
13716 continue
13717 fi
13718
13719 if test "$pre_test_object_deps_done" = no; then
13720 if test -z "$predep_objects_FC"; then
13721 predep_objects_FC="$p"
13722 else
13723 predep_objects_FC="$predep_objects_FC $p"
13724 fi
13725 else
13726 if test -z "$postdep_objects_FC"; then
13727 postdep_objects_FC="$p"
13728 else
13729 postdep_objects_FC="$postdep_objects_FC $p"
13730 fi
13731 fi
13732 ;;
13733
13734 *) ;; # Ignore the rest.
13735
13736 esac
13737 done
13738
13739 # Clean up.
13740 rm -f a.out a.exe
13741 else
13742 echo "libtool.m4: error: problem compiling FC test program"
13743 fi
13744
13745 $RM -f confest.$objext
13746
13747 # PORTME: override above test on systems where it is broken
13748
13749
13750 case " $postdeps_FC " in
13751 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13752 esac
13753 compiler_lib_search_dirs_FC=
13754 if test -n "${compiler_lib_search_path_FC}"; then
13755 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13756 fi
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788 lt_prog_compiler_wl_FC=
13789 lt_prog_compiler_pic_FC=
13790 lt_prog_compiler_static_FC=
13791
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13793 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13794
13795 if test "$GCC" = yes; then
13796 lt_prog_compiler_wl_FC='-Wl,'
13797 lt_prog_compiler_static_FC='-static'
13798
13799 case $host_os in
13800 aix*)
13801 # All AIX code is PIC.
13802 if test "$host_cpu" = ia64; then
13803 # AIX 5 now supports IA64 processor
13804 lt_prog_compiler_static_FC='-Bstatic'
13805 fi
13806 lt_prog_compiler_pic_FC='-fPIC'
13807 ;;
13808
13809 amigaos*)
13810 case $host_cpu in
13811 powerpc)
13812 # see comment about AmigaOS4 .so support
13813 lt_prog_compiler_pic_FC='-fPIC'
13814 ;;
13815 m68k)
13816 # FIXME: we need at least 68020 code to build shared libraries, but
13817 # adding the `-m68020' flag to GCC prevents building anything better,
13818 # like `-m68040'.
13819 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13820 ;;
13821 esac
13822 ;;
13823
13824 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13825 # PIC is the default for these OSes.
13826 ;;
13827
13828 mingw* | cygwin* | pw32* | os2* | cegcc*)
13829 # This hack is so that the source file can tell whether it is being
13830 # built for inclusion in a dll (and should export symbols for example).
13831 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13832 # (--disable-auto-import) libraries
13833 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13834 ;;
13835
13836 darwin* | rhapsody*)
13837 # PIC is the default on this platform
13838 # Common symbols not allowed in MH_DYLIB files
13839 lt_prog_compiler_pic_FC='-fno-common'
13840 ;;
13841
13842 haiku*)
13843 # PIC is the default for Haiku.
13844 # The "-static" flag exists, but is broken.
13845 lt_prog_compiler_static_FC=
13846 ;;
13847
13848 hpux*)
13849 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13850 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13851 # sets the default TLS model and affects inlining.
13852 case $host_cpu in
13853 hppa*64*)
13854 # +Z the default
13855 ;;
13856 *)
13857 lt_prog_compiler_pic_FC='-fPIC'
13858 ;;
13859 esac
13860 ;;
13861
13862 interix[3-9]*)
13863 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13864 # Instead, we relocate shared libraries at runtime.
13865 ;;
13866
13867 msdosdjgpp*)
13868 # Just because we use GCC doesn't mean we suddenly get shared libraries
13869 # on systems that don't support them.
13870 lt_prog_compiler_can_build_shared_FC=no
13871 enable_shared=no
13872 ;;
13873
13874 *nto* | *qnx*)
13875 # QNX uses GNU C++, but need to define -shared option too, otherwise
13876 # it will coredump.
13877 lt_prog_compiler_pic_FC='-fPIC -shared'
13878 ;;
13879
13880 sysv4*MP*)
13881 if test -d /usr/nec; then
13882 lt_prog_compiler_pic_FC=-Kconform_pic
13883 fi
13884 ;;
13885
13886 *)
13887 lt_prog_compiler_pic_FC='-fPIC'
13888 ;;
13889 esac
13890
13891 case $cc_basename in
13892 nvcc*) # Cuda Compiler Driver 2.2
13893 lt_prog_compiler_wl_FC='-Xlinker '
13894 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13895 ;;
13896 esac
13897 else
13898 # PORTME Check for flag to pass linker flags through the system compiler.
13899 case $host_os in
13900 aix*)
13901 lt_prog_compiler_wl_FC='-Wl,'
13902 if test "$host_cpu" = ia64; then
13903 # AIX 5 now supports IA64 processor
13904 lt_prog_compiler_static_FC='-Bstatic'
13905 else
13906 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13907 fi
13908 ;;
13909
13910 mingw* | cygwin* | pw32* | os2* | cegcc*)
13911 # This hack is so that the source file can tell whether it is being
13912 # built for inclusion in a dll (and should export symbols for example).
13913 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13914 ;;
13915
13916 hpux9* | hpux10* | hpux11*)
13917 lt_prog_compiler_wl_FC='-Wl,'
13918 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13919 # not for PA HP-UX.
13920 case $host_cpu in
13921 hppa*64*|ia64*)
13922 # +Z the default
13923 ;;
13924 *)
13925 lt_prog_compiler_pic_FC='+Z'
13926 ;;
13927 esac
13928 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13929 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13930 ;;
13931
13932 irix5* | irix6* | nonstopux*)
13933 lt_prog_compiler_wl_FC='-Wl,'
13934 # PIC (with -KPIC) is the default.
13935 lt_prog_compiler_static_FC='-non_shared'
13936 ;;
13937
13938 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13939 case $cc_basename in
13940 # old Intel for x86_64 which still supported -KPIC.
13941 ecc*)
13942 lt_prog_compiler_wl_FC='-Wl,'
13943 lt_prog_compiler_pic_FC='-KPIC'
13944 lt_prog_compiler_static_FC='-static'
13945 ;;
13946 # icc used to be incompatible with GCC.
13947 # ICC 10 doesn't accept -KPIC any more.
13948 icc* | ifort*)
13949 lt_prog_compiler_wl_FC='-Wl,'
13950 lt_prog_compiler_pic_FC='-fPIC'
13951 lt_prog_compiler_static_FC='-static'
13952 ;;
13953 # Lahey Fortran 8.1.
13954 lf95*)
13955 lt_prog_compiler_wl_FC='-Wl,'
13956 lt_prog_compiler_pic_FC='--shared'
13957 lt_prog_compiler_static_FC='--static'
13958 ;;
13959 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13960 # Portland Group compilers (*not* the Pentium gcc compiler,
13961 # which looks to be a dead project)
13962 lt_prog_compiler_wl_FC='-Wl,'
13963 lt_prog_compiler_pic_FC='-fpic'
13964 lt_prog_compiler_static_FC='-Bstatic'
13965 ;;
13966 ccc*)
13967 lt_prog_compiler_wl_FC='-Wl,'
13968 # All Alpha code is PIC.
13969 lt_prog_compiler_static_FC='-non_shared'
13970 ;;
13971 xl* | bgxl* | bgf* | mpixl*)
13972 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13973 lt_prog_compiler_wl_FC='-Wl,'
13974 lt_prog_compiler_pic_FC='-qpic'
13975 lt_prog_compiler_static_FC='-qstaticlink'
13976 ;;
13977 *)
13978 case `$CC -V 2>&1 | sed 5q` in
13979 *Sun\ F* | *Sun*Fortran*)
13980 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13981 lt_prog_compiler_pic_FC='-KPIC'
13982 lt_prog_compiler_static_FC='-Bstatic'
13983 lt_prog_compiler_wl_FC=''
13984 ;;
13985 *Sun\ C*)
13986 # Sun C 5.9
13987 lt_prog_compiler_pic_FC='-KPIC'
13988 lt_prog_compiler_static_FC='-Bstatic'
13989 lt_prog_compiler_wl_FC='-Wl,'
13990 ;;
13991 esac
13992 ;;
13993 esac
13994 ;;
13995
13996 newsos6)
13997 lt_prog_compiler_pic_FC='-KPIC'
13998 lt_prog_compiler_static_FC='-Bstatic'
13999 ;;
14000
14001 *nto* | *qnx*)
14002 # QNX uses GNU C++, but need to define -shared option too, otherwise
14003 # it will coredump.
14004 lt_prog_compiler_pic_FC='-fPIC -shared'
14005 ;;
14006
14007 osf3* | osf4* | osf5*)
14008 lt_prog_compiler_wl_FC='-Wl,'
14009 # All OSF/1 code is PIC.
14010 lt_prog_compiler_static_FC='-non_shared'
14011 ;;
14012
14013 rdos*)
14014 lt_prog_compiler_static_FC='-non_shared'
14015 ;;
14016
14017 solaris*)
14018 lt_prog_compiler_pic_FC='-KPIC'
14019 lt_prog_compiler_static_FC='-Bstatic'
14020 case $cc_basename in
14021 f77* | f90* | f95*)
14022 lt_prog_compiler_wl_FC='-Qoption ld ';;
14023 *)
14024 lt_prog_compiler_wl_FC='-Wl,';;
14025 esac
14026 ;;
14027
14028 sunos4*)
14029 lt_prog_compiler_wl_FC='-Qoption ld '
14030 lt_prog_compiler_pic_FC='-PIC'
14031 lt_prog_compiler_static_FC='-Bstatic'
14032 ;;
14033
14034 sysv4 | sysv4.2uw2* | sysv4.3*)
14035 lt_prog_compiler_wl_FC='-Wl,'
14036 lt_prog_compiler_pic_FC='-KPIC'
14037 lt_prog_compiler_static_FC='-Bstatic'
14038 ;;
14039
14040 sysv4*MP*)
14041 if test -d /usr/nec ;then
14042 lt_prog_compiler_pic_FC='-Kconform_pic'
14043 lt_prog_compiler_static_FC='-Bstatic'
14044 fi
14045 ;;
14046
14047 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14048 lt_prog_compiler_wl_FC='-Wl,'
14049 lt_prog_compiler_pic_FC='-KPIC'
14050 lt_prog_compiler_static_FC='-Bstatic'
14051 ;;
14052
14053 unicos*)
14054 lt_prog_compiler_wl_FC='-Wl,'
14055 lt_prog_compiler_can_build_shared_FC=no
14056 ;;
14057
14058 uts4*)
14059 lt_prog_compiler_pic_FC='-pic'
14060 lt_prog_compiler_static_FC='-Bstatic'
14061 ;;
14062
14063 *)
14064 lt_prog_compiler_can_build_shared_FC=no
14065 ;;
14066 esac
14067 fi
14068
14069 case $host_os in
14070 # For platforms which do not support PIC, -DPIC is meaningless:
14071 *djgpp*)
14072 lt_prog_compiler_pic_FC=
14073 ;;
14074 *)
14075 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14076 ;;
14077 esac
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14079 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14080
14081
14082
14083 #
14084 # Check to make sure the PIC flag actually works.
14085 #
14086 if test -n "$lt_prog_compiler_pic_FC"; then
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14088 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14089 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14090 $as_echo_n "(cached) " >&6
14091 else
14092 lt_cv_prog_compiler_pic_works_FC=no
14093 ac_outfile=conftest.$ac_objext
14094 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14095 lt_compiler_flag="$lt_prog_compiler_pic_FC"
14096 # Insert the option either (1) after the last *FLAGS variable, or
14097 # (2) before a word containing "conftest.", or (3) at the end.
14098 # Note that $ac_compile itself does not contain backslashes and begins
14099 # with a dollar sign (not a hyphen), so the echo should work correctly.
14100 # The option is referenced via a variable to avoid confusing sed.
14101 lt_compile=`echo "$ac_compile" | $SED \
14102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14104 -e 's:$: $lt_compiler_flag:'`
14105 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14106 (eval "$lt_compile" 2>conftest.err)
14107 ac_status=$?
14108 cat conftest.err >&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 if (exit $ac_status) && test -s "$ac_outfile"; then
14111 # The compiler can only warn and ignore the option if not recognized
14112 # So say no if there are warnings other than the usual output.
14113 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14114 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14115 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14116 lt_cv_prog_compiler_pic_works_FC=yes
14117 fi
14118 fi
14119 $RM conftest*
14120
14121 fi
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14123 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14124
14125 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
14126 case $lt_prog_compiler_pic_FC in
14127 "" | " "*) ;;
14128 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
14129 esac
14130 else
14131 lt_prog_compiler_pic_FC=
14132 lt_prog_compiler_can_build_shared_FC=no
14133 fi
14134
14135 fi
14136
14137
14138
14139 #
14140 # Check to make sure the static flag actually works.
14141 #
14142 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14144 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14145 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14146 $as_echo_n "(cached) " >&6
14147 else
14148 lt_cv_prog_compiler_static_works_FC=no
14149 save_LDFLAGS="$LDFLAGS"
14150 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14151 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14152 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14153 # The linker can only warn and ignore the option if not recognized
14154 # So say no if there are warnings
14155 if test -s conftest.err; then
14156 # Append any errors to the config.log.
14157 cat conftest.err 1>&5
14158 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14159 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14160 if diff conftest.exp conftest.er2 >/dev/null; then
14161 lt_cv_prog_compiler_static_works_FC=yes
14162 fi
14163 else
14164 lt_cv_prog_compiler_static_works_FC=yes
14165 fi
14166 fi
14167 $RM -r conftest*
14168 LDFLAGS="$save_LDFLAGS"
14169
14170 fi
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14172 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14173
14174 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14175 :
14176 else
14177 lt_prog_compiler_static_FC=
14178 fi
14179
14180
14181
14182
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14184 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14185 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14186 $as_echo_n "(cached) " >&6
14187 else
14188 lt_cv_prog_compiler_c_o_FC=no
14189 $RM -r conftest 2>/dev/null
14190 mkdir conftest
14191 cd conftest
14192 mkdir out
14193 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14194
14195 lt_compiler_flag="-o out/conftest2.$ac_objext"
14196 # Insert the option either (1) after the last *FLAGS variable, or
14197 # (2) before a word containing "conftest.", or (3) at the end.
14198 # Note that $ac_compile itself does not contain backslashes and begins
14199 # with a dollar sign (not a hyphen), so the echo should work correctly.
14200 lt_compile=`echo "$ac_compile" | $SED \
14201 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14202 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14203 -e 's:$: $lt_compiler_flag:'`
14204 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14205 (eval "$lt_compile" 2>out/conftest.err)
14206 ac_status=$?
14207 cat out/conftest.err >&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14210 then
14211 # The compiler can only warn and ignore the option if not recognized
14212 # So say no if there are warnings
14213 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14214 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14215 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14216 lt_cv_prog_compiler_c_o_FC=yes
14217 fi
14218 fi
14219 chmod u+w . 2>&5
14220 $RM conftest*
14221 # SGI C++ compiler will create directory out/ii_files/ for
14222 # template instantiation
14223 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14224 $RM out/* && rmdir out
14225 cd ..
14226 $RM -r conftest
14227 $RM conftest*
14228
14229 fi
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14231 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14232
14233
14234
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14236 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14237 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14238 $as_echo_n "(cached) " >&6
14239 else
14240 lt_cv_prog_compiler_c_o_FC=no
14241 $RM -r conftest 2>/dev/null
14242 mkdir conftest
14243 cd conftest
14244 mkdir out
14245 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14246
14247 lt_compiler_flag="-o out/conftest2.$ac_objext"
14248 # Insert the option either (1) after the last *FLAGS variable, or
14249 # (2) before a word containing "conftest.", or (3) at the end.
14250 # Note that $ac_compile itself does not contain backslashes and begins
14251 # with a dollar sign (not a hyphen), so the echo should work correctly.
14252 lt_compile=`echo "$ac_compile" | $SED \
14253 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14254 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14255 -e 's:$: $lt_compiler_flag:'`
14256 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14257 (eval "$lt_compile" 2>out/conftest.err)
14258 ac_status=$?
14259 cat out/conftest.err >&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14262 then
14263 # The compiler can only warn and ignore the option if not recognized
14264 # So say no if there are warnings
14265 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14266 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14267 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14268 lt_cv_prog_compiler_c_o_FC=yes
14269 fi
14270 fi
14271 chmod u+w . 2>&5
14272 $RM conftest*
14273 # SGI C++ compiler will create directory out/ii_files/ for
14274 # template instantiation
14275 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14276 $RM out/* && rmdir out
14277 cd ..
14278 $RM -r conftest
14279 $RM conftest*
14280
14281 fi
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14283 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14284
14285
14286
14287
14288 hard_links="nottested"
14289 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14290 # do not overwrite the value of need_locks provided by the user
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14292 $as_echo_n "checking if we can lock with hard links... " >&6; }
14293 hard_links=yes
14294 $RM conftest*
14295 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14296 touch conftest.a
14297 ln conftest.a conftest.b 2>&5 || hard_links=no
14298 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14300 $as_echo "$hard_links" >&6; }
14301 if test "$hard_links" = no; then
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14303 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14304 need_locks=warn
14305 fi
14306 else
14307 need_locks=no
14308 fi
14309
14310
14311
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14313 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14314
14315 runpath_var=
14316 allow_undefined_flag_FC=
14317 always_export_symbols_FC=no
14318 archive_cmds_FC=
14319 archive_expsym_cmds_FC=
14320 compiler_needs_object_FC=no
14321 enable_shared_with_static_runtimes_FC=no
14322 export_dynamic_flag_spec_FC=
14323 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14324 hardcode_automatic_FC=no
14325 hardcode_direct_FC=no
14326 hardcode_direct_absolute_FC=no
14327 hardcode_libdir_flag_spec_FC=
14328 hardcode_libdir_flag_spec_ld_FC=
14329 hardcode_libdir_separator_FC=
14330 hardcode_minus_L_FC=no
14331 hardcode_shlibpath_var_FC=unsupported
14332 inherit_rpath_FC=no
14333 link_all_deplibs_FC=unknown
14334 module_cmds_FC=
14335 module_expsym_cmds_FC=
14336 old_archive_from_new_cmds_FC=
14337 old_archive_from_expsyms_cmds_FC=
14338 thread_safe_flag_spec_FC=
14339 whole_archive_flag_spec_FC=
14340 # include_expsyms should be a list of space-separated symbols to be *always*
14341 # included in the symbol list
14342 include_expsyms_FC=
14343 # exclude_expsyms can be an extended regexp of symbols to exclude
14344 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14345 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14346 # as well as any symbol that contains `d'.
14347 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14348 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14349 # platforms (ab)use it in PIC code, but their linkers get confused if
14350 # the symbol is explicitly referenced. Since portable code cannot
14351 # rely on this symbol name, it's probably fine to never include it in
14352 # preloaded symbol tables.
14353 # Exclude shared library initialization/finalization symbols.
14354 extract_expsyms_cmds=
14355
14356 case $host_os in
14357 cygwin* | mingw* | pw32* | cegcc*)
14358 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14359 # When not using gcc, we currently assume that we are using
14360 # Microsoft Visual C++.
14361 if test "$GCC" != yes; then
14362 with_gnu_ld=no
14363 fi
14364 ;;
14365 interix*)
14366 # we just hope/assume this is gcc and not c89 (= MSVC++)
14367 with_gnu_ld=yes
14368 ;;
14369 openbsd*)
14370 with_gnu_ld=no
14371 ;;
14372 esac
14373
14374 ld_shlibs_FC=yes
14375
14376 # On some targets, GNU ld is compatible enough with the native linker
14377 # that we're better off using the native interface for both.
14378 lt_use_gnu_ld_interface=no
14379 if test "$with_gnu_ld" = yes; then
14380 case $host_os in
14381 aix*)
14382 # The AIX port of GNU ld has always aspired to compatibility
14383 # with the native linker. However, as the warning in the GNU ld
14384 # block says, versions before 2.19.5* couldn't really create working
14385 # shared libraries, regardless of the interface used.
14386 case `$LD -v 2>&1` in
14387 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14388 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14389 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14390 *)
14391 lt_use_gnu_ld_interface=yes
14392 ;;
14393 esac
14394 ;;
14395 *)
14396 lt_use_gnu_ld_interface=yes
14397 ;;
14398 esac
14399 fi
14400
14401 if test "$lt_use_gnu_ld_interface" = yes; then
14402 # If archive_cmds runs LD, not CC, wlarc should be empty
14403 wlarc='${wl}'
14404
14405 # Set some defaults for GNU ld with shared library support. These
14406 # are reset later if shared libraries are not supported. Putting them
14407 # here allows them to be overridden if necessary.
14408 runpath_var=LD_RUN_PATH
14409 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14410 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14411 # ancient GNU ld didn't support --whole-archive et. al.
14412 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14413 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14414 else
14415 whole_archive_flag_spec_FC=
14416 fi
14417 supports_anon_versioning=no
14418 case `$LD -v 2>&1` in
14419 *GNU\ gold*) supports_anon_versioning=yes ;;
14420 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14421 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14422 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14423 *\ 2.11.*) ;; # other 2.11 versions
14424 *) supports_anon_versioning=yes ;;
14425 esac
14426
14427 # See if GNU ld supports shared libraries.
14428 case $host_os in
14429 aix[3-9]*)
14430 # On AIX/PPC, the GNU linker is very broken
14431 if test "$host_cpu" != ia64; then
14432 ld_shlibs_FC=no
14433 cat <<_LT_EOF 1>&2
14434
14435 *** Warning: the GNU linker, at least up to release 2.19, is reported
14436 *** to be unable to reliably create shared libraries on AIX.
14437 *** Therefore, libtool is disabling shared libraries support. If you
14438 *** really care for shared libraries, you may want to install binutils
14439 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14440 *** You will then need to restart the configuration process.
14441
14442 _LT_EOF
14443 fi
14444 ;;
14445
14446 amigaos*)
14447 case $host_cpu in
14448 powerpc)
14449 # see comment about AmigaOS4 .so support
14450 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14451 archive_expsym_cmds_FC=''
14452 ;;
14453 m68k)
14454 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14455 hardcode_libdir_flag_spec_FC='-L$libdir'
14456 hardcode_minus_L_FC=yes
14457 ;;
14458 esac
14459 ;;
14460
14461 beos*)
14462 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14463 allow_undefined_flag_FC=unsupported
14464 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14465 # support --undefined. This deserves some investigation. FIXME
14466 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14467 else
14468 ld_shlibs_FC=no
14469 fi
14470 ;;
14471
14472 cygwin* | mingw* | pw32* | cegcc*)
14473 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14474 # as there is no search path for DLLs.
14475 hardcode_libdir_flag_spec_FC='-L$libdir'
14476 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14477 allow_undefined_flag_FC=unsupported
14478 always_export_symbols_FC=no
14479 enable_shared_with_static_runtimes_FC=yes
14480 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14481
14482 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14483 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14484 # If the export-symbols file already is a .def file (1st line
14485 # is EXPORTS), use it as is; otherwise, prepend...
14486 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14487 cp $export_symbols $output_objdir/$soname.def;
14488 else
14489 echo EXPORTS > $output_objdir/$soname.def;
14490 cat $export_symbols >> $output_objdir/$soname.def;
14491 fi~
14492 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14493 else
14494 ld_shlibs_FC=no
14495 fi
14496 ;;
14497
14498 haiku*)
14499 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14500 link_all_deplibs_FC=yes
14501 ;;
14502
14503 interix[3-9]*)
14504 hardcode_direct_FC=no
14505 hardcode_shlibpath_var_FC=no
14506 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14507 export_dynamic_flag_spec_FC='${wl}-E'
14508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14509 # Instead, shared libraries are loaded at an image base (0x10000000 by
14510 # default) and relocated if they conflict, which is a slow very memory
14511 # consuming and fragmenting process. To avoid this, we pick a random,
14512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14514 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14515 archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14516 ;;
14517
14518 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14519 tmp_diet=no
14520 if test "$host_os" = linux-dietlibc; then
14521 case $cc_basename in
14522 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14523 esac
14524 fi
14525 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14526 && test "$tmp_diet" = no
14527 then
14528 tmp_addflag=' $pic_flag'
14529 tmp_sharedflag='-shared'
14530 case $cc_basename,$host_cpu in
14531 pgcc*) # Portland Group C compiler
14532 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14533 tmp_addflag=' $pic_flag'
14534 ;;
14535 pgf77* | pgf90* | pgf95* | pgfortran*)
14536 # Portland Group f77 and f90 compilers
14537 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14538 tmp_addflag=' $pic_flag -Mnomain' ;;
14539 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14540 tmp_addflag=' -i_dynamic' ;;
14541 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14542 tmp_addflag=' -i_dynamic -nofor_main' ;;
14543 ifc* | ifort*) # Intel Fortran compiler
14544 tmp_addflag=' -nofor_main' ;;
14545 lf95*) # Lahey Fortran 8.1
14546 whole_archive_flag_spec_FC=
14547 tmp_sharedflag='--shared' ;;
14548 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14549 tmp_sharedflag='-qmkshrobj'
14550 tmp_addflag= ;;
14551 nvcc*) # Cuda Compiler Driver 2.2
14552 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14553 compiler_needs_object_FC=yes
14554 ;;
14555 esac
14556 case `$CC -V 2>&1 | sed 5q` in
14557 *Sun\ C*) # Sun C 5.9
14558 whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14559 compiler_needs_object_FC=yes
14560 tmp_sharedflag='-G' ;;
14561 *Sun\ F*) # Sun Fortran 8.3
14562 tmp_sharedflag='-G' ;;
14563 esac
14564 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14565
14566 if test "x$supports_anon_versioning" = xyes; then
14567 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14568 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14569 echo "local: *; };" >> $output_objdir/$libname.ver~
14570 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14571 fi
14572
14573 case $cc_basename in
14574 xlf* | bgf* | bgxlf* | mpixlf*)
14575 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14576 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14577 hardcode_libdir_flag_spec_FC=
14578 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14579 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14580 if test "x$supports_anon_versioning" = xyes; then
14581 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14582 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14583 echo "local: *; };" >> $output_objdir/$libname.ver~
14584 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14585 fi
14586 ;;
14587 esac
14588 else
14589 ld_shlibs_FC=no
14590 fi
14591 ;;
14592
14593 netbsd*)
14594 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14595 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14596 wlarc=
14597 else
14598 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14599 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14600 fi
14601 ;;
14602
14603 solaris*)
14604 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14605 ld_shlibs_FC=no
14606 cat <<_LT_EOF 1>&2
14607
14608 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14609 *** create shared libraries on Solaris systems. Therefore, libtool
14610 *** is disabling shared libraries support. We urge you to upgrade GNU
14611 *** binutils to release 2.9.1 or newer. Another option is to modify
14612 *** your PATH or compiler configuration so that the native linker is
14613 *** used, and then restart.
14614
14615 _LT_EOF
14616 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14617 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14618 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14619 else
14620 ld_shlibs_FC=no
14621 fi
14622 ;;
14623
14624 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14625 case `$LD -v 2>&1` in
14626 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14627 ld_shlibs_FC=no
14628 cat <<_LT_EOF 1>&2
14629
14630 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14631 *** reliably create shared libraries on SCO systems. Therefore, libtool
14632 *** is disabling shared libraries support. We urge you to upgrade GNU
14633 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14634 *** your PATH or compiler configuration so that the native linker is
14635 *** used, and then restart.
14636
14637 _LT_EOF
14638 ;;
14639 *)
14640 # For security reasons, it is highly recommended that you always
14641 # use absolute paths for naming shared libraries, and exclude the
14642 # DT_RUNPATH tag from executables and libraries. But doing so
14643 # requires that you compile everything twice, which is a pain.
14644 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14645 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14646 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14647 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14648 else
14649 ld_shlibs_FC=no
14650 fi
14651 ;;
14652 esac
14653 ;;
14654
14655 sunos4*)
14656 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14657 wlarc=
14658 hardcode_direct_FC=yes
14659 hardcode_shlibpath_var_FC=no
14660 ;;
14661
14662 *)
14663 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14664 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14665 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14666 else
14667 ld_shlibs_FC=no
14668 fi
14669 ;;
14670 esac
14671
14672 if test "$ld_shlibs_FC" = no; then
14673 runpath_var=
14674 hardcode_libdir_flag_spec_FC=
14675 export_dynamic_flag_spec_FC=
14676 whole_archive_flag_spec_FC=
14677 fi
14678 else
14679 # PORTME fill in a description of your system's linker (not GNU ld)
14680 case $host_os in
14681 aix3*)
14682 allow_undefined_flag_FC=unsupported
14683 always_export_symbols_FC=yes
14684 archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14685 # Note: this linker hardcodes the directories in LIBPATH if there
14686 # are no directories specified by -L.
14687 hardcode_minus_L_FC=yes
14688 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14689 # Neither direct hardcoding nor static linking is supported with a
14690 # broken collect2.
14691 hardcode_direct_FC=unsupported
14692 fi
14693 ;;
14694
14695 aix[4-9]*)
14696 if test "$host_cpu" = ia64; then
14697 # On IA64, the linker does run time linking by default, so we don't
14698 # have to do anything special.
14699 aix_use_runtimelinking=no
14700 exp_sym_flag='-Bexport'
14701 no_entry_flag=""
14702 else
14703 # If we're using GNU nm, then we don't want the "-C" option.
14704 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14705 # Also, AIX nm treats weak defined symbols like other global
14706 # defined symbols, whereas GNU nm marks them as "W".
14707 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14708 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14709 else
14710 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14711 fi
14712 aix_use_runtimelinking=no
14713
14714 # Test if we are trying to use run time linking or normal
14715 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14716 # need to do runtime linking.
14717 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14718 for ld_flag in $LDFLAGS; do
14719 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14720 aix_use_runtimelinking=yes
14721 break
14722 fi
14723 done
14724 ;;
14725 esac
14726
14727 exp_sym_flag='-bexport'
14728 no_entry_flag='-bnoentry'
14729 fi
14730
14731 # When large executables or shared objects are built, AIX ld can
14732 # have problems creating the table of contents. If linking a library
14733 # or program results in "error TOC overflow" add -mminimal-toc to
14734 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14735 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14736
14737 archive_cmds_FC=''
14738 hardcode_direct_FC=yes
14739 hardcode_direct_absolute_FC=yes
14740 hardcode_libdir_separator_FC=':'
14741 link_all_deplibs_FC=yes
14742 file_list_spec_FC='${wl}-f,'
14743
14744 if test "$GCC" = yes; then
14745 case $host_os in aix4.[012]|aix4.[012].*)
14746 # We only want to do this on AIX 4.2 and lower, the check
14747 # below for broken collect2 doesn't work under 4.3+
14748 collect2name=`${CC} -print-prog-name=collect2`
14749 if test -f "$collect2name" &&
14750 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14751 then
14752 # We have reworked collect2
14753 :
14754 else
14755 # We have old collect2
14756 hardcode_direct_FC=unsupported
14757 # It fails to find uninstalled libraries when the uninstalled
14758 # path is not listed in the libpath. Setting hardcode_minus_L
14759 # to unsupported forces relinking
14760 hardcode_minus_L_FC=yes
14761 hardcode_libdir_flag_spec_FC='-L$libdir'
14762 hardcode_libdir_separator_FC=
14763 fi
14764 ;;
14765 esac
14766 shared_flag='-shared'
14767 if test "$aix_use_runtimelinking" = yes; then
14768 shared_flag="$shared_flag "'${wl}-G'
14769 fi
14770 else
14771 # not using gcc
14772 if test "$host_cpu" = ia64; then
14773 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14774 # chokes on -Wl,-G. The following line is correct:
14775 shared_flag='-G'
14776 else
14777 if test "$aix_use_runtimelinking" = yes; then
14778 shared_flag='${wl}-G'
14779 else
14780 shared_flag='${wl}-bM:SRE'
14781 fi
14782 fi
14783 fi
14784
14785 export_dynamic_flag_spec_FC='${wl}-bexpall'
14786 # It seems that -bexpall does not export symbols beginning with
14787 # underscore (_), so it is better to generate a list of symbols to export.
14788 always_export_symbols_FC=yes
14789 if test "$aix_use_runtimelinking" = yes; then
14790 # Warning - without using the other runtime loading flags (-brtl),
14791 # -berok will link without error, but may produce a broken library.
14792 allow_undefined_flag_FC='-berok'
14793 # Determine the default libpath from the value encoded in an
14794 # empty executable.
14795 if test x$gcc_no_link = xyes; then
14796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14797 fi
14798 cat > conftest.$ac_ext <<_ACEOF
14799 program main
14800
14801 end
14802 _ACEOF
14803 if ac_fn_fc_try_link "$LINENO"; then :
14804
14805 lt_aix_libpath_sed='
14806 /Import File Strings/,/^$/ {
14807 /^0/ {
14808 s/^0 *\(.*\)$/\1/
14809 p
14810 }
14811 }'
14812 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14813 # Check for a 64-bit object if we didn't find anything.
14814 if test -z "$aix_libpath"; then
14815 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14816 fi
14817 fi
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14821
14822 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14823 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14824 else
14825 if test "$host_cpu" = ia64; then
14826 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14827 allow_undefined_flag_FC="-z nodefs"
14828 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14829 else
14830 # Determine the default libpath from the value encoded in an
14831 # empty executable.
14832 if test x$gcc_no_link = xyes; then
14833 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14834 fi
14835 cat > conftest.$ac_ext <<_ACEOF
14836 program main
14837
14838 end
14839 _ACEOF
14840 if ac_fn_fc_try_link "$LINENO"; then :
14841
14842 lt_aix_libpath_sed='
14843 /Import File Strings/,/^$/ {
14844 /^0/ {
14845 s/^0 *\(.*\)$/\1/
14846 p
14847 }
14848 }'
14849 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14850 # Check for a 64-bit object if we didn't find anything.
14851 if test -z "$aix_libpath"; then
14852 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14853 fi
14854 fi
14855 rm -f core conftest.err conftest.$ac_objext \
14856 conftest$ac_exeext conftest.$ac_ext
14857 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14858
14859 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14860 # Warning - without using the other run time loading flags,
14861 # -berok will link without error, but may produce a broken library.
14862 no_undefined_flag_FC=' ${wl}-bernotok'
14863 allow_undefined_flag_FC=' ${wl}-berok'
14864 if test "$with_gnu_ld" = yes; then
14865 # We only use this code for GNU lds that support --whole-archive.
14866 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14867 else
14868 # Exported symbols can be pulled into shared objects from archives
14869 whole_archive_flag_spec_FC='$convenience'
14870 fi
14871 archive_cmds_need_lc_FC=yes
14872 # This is similar to how AIX traditionally builds its shared libraries.
14873 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14874 fi
14875 fi
14876 ;;
14877
14878 amigaos*)
14879 case $host_cpu in
14880 powerpc)
14881 # see comment about AmigaOS4 .so support
14882 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14883 archive_expsym_cmds_FC=''
14884 ;;
14885 m68k)
14886 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14887 hardcode_libdir_flag_spec_FC='-L$libdir'
14888 hardcode_minus_L_FC=yes
14889 ;;
14890 esac
14891 ;;
14892
14893 bsdi[45]*)
14894 export_dynamic_flag_spec_FC=-rdynamic
14895 ;;
14896
14897 cygwin* | mingw* | pw32* | cegcc*)
14898 # When not using gcc, we currently assume that we are using
14899 # Microsoft Visual C++.
14900 # hardcode_libdir_flag_spec is actually meaningless, as there is
14901 # no search path for DLLs.
14902 hardcode_libdir_flag_spec_FC=' '
14903 allow_undefined_flag_FC=unsupported
14904 # Tell ltmain to make .lib files, not .a files.
14905 libext=lib
14906 # Tell ltmain to make .dll files, not .so files.
14907 shrext_cmds=".dll"
14908 # FIXME: Setting linknames here is a bad hack.
14909 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14910 # The linker will automatically build a .lib file if we build a DLL.
14911 old_archive_from_new_cmds_FC='true'
14912 # FIXME: Should let the user specify the lib program.
14913 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14914 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14915 enable_shared_with_static_runtimes_FC=yes
14916 ;;
14917
14918 darwin* | rhapsody*)
14919
14920
14921 archive_cmds_need_lc_FC=no
14922 hardcode_direct_FC=no
14923 hardcode_automatic_FC=yes
14924 hardcode_shlibpath_var_FC=unsupported
14925 if test "$lt_cv_ld_force_load" = "yes"; then
14926 whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14927 else
14928 whole_archive_flag_spec_FC=''
14929 fi
14930 link_all_deplibs_FC=yes
14931 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14932 case $cc_basename in
14933 ifort*) _lt_dar_can_shared=yes ;;
14934 *) _lt_dar_can_shared=$GCC ;;
14935 esac
14936 if test "$_lt_dar_can_shared" = "yes"; then
14937 output_verbose_link_cmd=func_echo_all
14938 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14939 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14940 archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14941 module_expsym_cmds_FC="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14942
14943 else
14944 ld_shlibs_FC=no
14945 fi
14946
14947 ;;
14948
14949 dgux*)
14950 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14951 hardcode_libdir_flag_spec_FC='-L$libdir'
14952 hardcode_shlibpath_var_FC=no
14953 ;;
14954
14955 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14956 # support. Future versions do this automatically, but an explicit c++rt0.o
14957 # does not break anything, and helps significantly (at the cost of a little
14958 # extra space).
14959 freebsd2.2*)
14960 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14961 hardcode_libdir_flag_spec_FC='-R$libdir'
14962 hardcode_direct_FC=yes
14963 hardcode_shlibpath_var_FC=no
14964 ;;
14965
14966 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14967 freebsd2.*)
14968 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14969 hardcode_direct_FC=yes
14970 hardcode_minus_L_FC=yes
14971 hardcode_shlibpath_var_FC=no
14972 ;;
14973
14974 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14975 freebsd* | dragonfly*)
14976 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14977 hardcode_libdir_flag_spec_FC='-R$libdir'
14978 hardcode_direct_FC=yes
14979 hardcode_shlibpath_var_FC=no
14980 ;;
14981
14982 hpux9*)
14983 if test "$GCC" = yes; then
14984 archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14985 else
14986 archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14987 fi
14988 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14989 hardcode_libdir_separator_FC=:
14990 hardcode_direct_FC=yes
14991
14992 # hardcode_minus_L: Not really in the search PATH,
14993 # but as the default location of the library.
14994 hardcode_minus_L_FC=yes
14995 export_dynamic_flag_spec_FC='${wl}-E'
14996 ;;
14997
14998 hpux10*)
14999 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15000 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15001 else
15002 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15003 fi
15004 if test "$with_gnu_ld" = no; then
15005 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15006 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
15007 hardcode_libdir_separator_FC=:
15008 hardcode_direct_FC=yes
15009 hardcode_direct_absolute_FC=yes
15010 export_dynamic_flag_spec_FC='${wl}-E'
15011 # hardcode_minus_L: Not really in the search PATH,
15012 # but as the default location of the library.
15013 hardcode_minus_L_FC=yes
15014 fi
15015 ;;
15016
15017 hpux11*)
15018 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15019 case $host_cpu in
15020 hppa*64*)
15021 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15022 ;;
15023 ia64*)
15024 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15025 ;;
15026 *)
15027 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15028 ;;
15029 esac
15030 else
15031 case $host_cpu in
15032 hppa*64*)
15033 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15034 ;;
15035 ia64*)
15036 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15037 ;;
15038 *)
15039 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15040 ;;
15041 esac
15042 fi
15043 if test "$with_gnu_ld" = no; then
15044 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
15045 hardcode_libdir_separator_FC=:
15046
15047 case $host_cpu in
15048 hppa*64*|ia64*)
15049 hardcode_direct_FC=no
15050 hardcode_shlibpath_var_FC=no
15051 ;;
15052 *)
15053 hardcode_direct_FC=yes
15054 hardcode_direct_absolute_FC=yes
15055 export_dynamic_flag_spec_FC='${wl}-E'
15056
15057 # hardcode_minus_L: Not really in the search PATH,
15058 # but as the default location of the library.
15059 hardcode_minus_L_FC=yes
15060 ;;
15061 esac
15062 fi
15063 ;;
15064
15065 irix5* | irix6* | nonstopux*)
15066 if test "$GCC" = yes; then
15067 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15068 # Try to use the -exported_symbol ld option, if it does not
15069 # work, assume that -exports_file does not work either and
15070 # implicitly export all symbols.
15071 save_LDFLAGS="$LDFLAGS"
15072 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15073 if test x$gcc_no_link = xyes; then
15074 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15075 fi
15076 cat > conftest.$ac_ext <<_ACEOF
15077 int foo(void) {}
15078 _ACEOF
15079 if ac_fn_fc_try_link "$LINENO"; then :
15080 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
15081
15082 fi
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15085 LDFLAGS="$save_LDFLAGS"
15086 else
15087 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15088 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
15089 fi
15090 archive_cmds_need_lc_FC='no'
15091 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15092 hardcode_libdir_separator_FC=:
15093 inherit_rpath_FC=yes
15094 link_all_deplibs_FC=yes
15095 ;;
15096
15097 netbsd*)
15098 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15099 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15100 else
15101 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15102 fi
15103 hardcode_libdir_flag_spec_FC='-R$libdir'
15104 hardcode_direct_FC=yes
15105 hardcode_shlibpath_var_FC=no
15106 ;;
15107
15108 newsos6)
15109 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15110 hardcode_direct_FC=yes
15111 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15112 hardcode_libdir_separator_FC=:
15113 hardcode_shlibpath_var_FC=no
15114 ;;
15115
15116 *nto* | *qnx*)
15117 ;;
15118
15119 openbsd*)
15120 if test -f /usr/libexec/ld.so; then
15121 hardcode_direct_FC=yes
15122 hardcode_shlibpath_var_FC=no
15123 hardcode_direct_absolute_FC=yes
15124 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15125 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15126 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15127 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15128 export_dynamic_flag_spec_FC='${wl}-E'
15129 else
15130 case $host_os in
15131 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15132 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15133 hardcode_libdir_flag_spec_FC='-R$libdir'
15134 ;;
15135 *)
15136 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15137 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
15138 ;;
15139 esac
15140 fi
15141 else
15142 ld_shlibs_FC=no
15143 fi
15144 ;;
15145
15146 os2*)
15147 hardcode_libdir_flag_spec_FC='-L$libdir'
15148 hardcode_minus_L_FC=yes
15149 allow_undefined_flag_FC=unsupported
15150 archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15151 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15152 ;;
15153
15154 osf3*)
15155 if test "$GCC" = yes; then
15156 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15157 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15158 else
15159 allow_undefined_flag_FC=' -expect_unresolved \*'
15160 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15161 fi
15162 archive_cmds_need_lc_FC='no'
15163 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15164 hardcode_libdir_separator_FC=:
15165 ;;
15166
15167 osf4* | osf5*) # as osf3* with the addition of -msym flag
15168 if test "$GCC" = yes; then
15169 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15170 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15171 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15172 else
15173 allow_undefined_flag_FC=' -expect_unresolved \*'
15174 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15175 archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
15176 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
15177
15178 # Both c and cxx compiler support -rpath directly
15179 hardcode_libdir_flag_spec_FC='-rpath $libdir'
15180 fi
15181 archive_cmds_need_lc_FC='no'
15182 hardcode_libdir_separator_FC=:
15183 ;;
15184
15185 solaris*)
15186 no_undefined_flag_FC=' -z defs'
15187 if test "$GCC" = yes; then
15188 wlarc='${wl}'
15189 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15190 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15191 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15192 else
15193 case `$CC -V 2>&1` in
15194 *"Compilers 5.0"*)
15195 wlarc=''
15196 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15197 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15198 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15199 ;;
15200 *)
15201 wlarc='${wl}'
15202 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15203 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15204 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15205 ;;
15206 esac
15207 fi
15208 hardcode_libdir_flag_spec_FC='-R$libdir'
15209 hardcode_shlibpath_var_FC=no
15210 case $host_os in
15211 solaris2.[0-5] | solaris2.[0-5].*) ;;
15212 *)
15213 # The compiler driver will combine and reorder linker options,
15214 # but understands `-z linker_flag'. GCC discards it without `$wl',
15215 # but is careful enough not to reorder.
15216 # Supported since Solaris 2.6 (maybe 2.5.1?)
15217 if test "$GCC" = yes; then
15218 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15219 else
15220 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15221 fi
15222 ;;
15223 esac
15224 link_all_deplibs_FC=yes
15225 ;;
15226
15227 sunos4*)
15228 if test "x$host_vendor" = xsequent; then
15229 # Use $CC to link under sequent, because it throws in some extra .o
15230 # files that make .init and .fini sections work.
15231 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15232 else
15233 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15234 fi
15235 hardcode_libdir_flag_spec_FC='-L$libdir'
15236 hardcode_direct_FC=yes
15237 hardcode_minus_L_FC=yes
15238 hardcode_shlibpath_var_FC=no
15239 ;;
15240
15241 sysv4)
15242 case $host_vendor in
15243 sni)
15244 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15245 hardcode_direct_FC=yes # is this really true???
15246 ;;
15247 siemens)
15248 ## LD is ld it makes a PLAMLIB
15249 ## CC just makes a GrossModule.
15250 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15251 reload_cmds_FC='$CC -r -o $output$reload_objs'
15252 hardcode_direct_FC=no
15253 ;;
15254 motorola)
15255 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15256 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15257 ;;
15258 esac
15259 runpath_var='LD_RUN_PATH'
15260 hardcode_shlibpath_var_FC=no
15261 ;;
15262
15263 sysv4.3*)
15264 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15265 hardcode_shlibpath_var_FC=no
15266 export_dynamic_flag_spec_FC='-Bexport'
15267 ;;
15268
15269 sysv4*MP*)
15270 if test -d /usr/nec; then
15271 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15272 hardcode_shlibpath_var_FC=no
15273 runpath_var=LD_RUN_PATH
15274 hardcode_runpath_var=yes
15275 ld_shlibs_FC=yes
15276 fi
15277 ;;
15278
15279 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15280 no_undefined_flag_FC='${wl}-z,text'
15281 archive_cmds_need_lc_FC=no
15282 hardcode_shlibpath_var_FC=no
15283 runpath_var='LD_RUN_PATH'
15284
15285 if test "$GCC" = yes; then
15286 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15287 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15288 else
15289 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15290 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15291 fi
15292 ;;
15293
15294 sysv5* | sco3.2v5* | sco5v6*)
15295 # Note: We can NOT use -z defs as we might desire, because we do not
15296 # link with -lc, and that would cause any symbols used from libc to
15297 # always be unresolved, which means just about no library would
15298 # ever link correctly. If we're not using GNU ld we use -z text
15299 # though, which does catch some bad symbols but isn't as heavy-handed
15300 # as -z defs.
15301 no_undefined_flag_FC='${wl}-z,text'
15302 allow_undefined_flag_FC='${wl}-z,nodefs'
15303 archive_cmds_need_lc_FC=no
15304 hardcode_shlibpath_var_FC=no
15305 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15306 hardcode_libdir_separator_FC=':'
15307 link_all_deplibs_FC=yes
15308 export_dynamic_flag_spec_FC='${wl}-Bexport'
15309 runpath_var='LD_RUN_PATH'
15310
15311 if test "$GCC" = yes; then
15312 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15313 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15314 else
15315 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15316 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15317 fi
15318 ;;
15319
15320 uts4*)
15321 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15322 hardcode_libdir_flag_spec_FC='-L$libdir'
15323 hardcode_shlibpath_var_FC=no
15324 ;;
15325
15326 *)
15327 ld_shlibs_FC=no
15328 ;;
15329 esac
15330
15331 if test x$host_vendor = xsni; then
15332 case $host in
15333 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15334 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15335 ;;
15336 esac
15337 fi
15338 fi
15339
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15341 $as_echo "$ld_shlibs_FC" >&6; }
15342 test "$ld_shlibs_FC" = no && can_build_shared=no
15343
15344 with_gnu_ld_FC=$with_gnu_ld
15345
15346
15347
15348
15349
15350
15351 #
15352 # Do we need to explicitly link libc?
15353 #
15354 case "x$archive_cmds_need_lc_FC" in
15355 x|xyes)
15356 # Assume -lc should be added
15357 archive_cmds_need_lc_FC=yes
15358
15359 if test "$enable_shared" = yes && test "$GCC" = yes; then
15360 case $archive_cmds_FC in
15361 *'~'*)
15362 # FIXME: we may have to deal with multi-command sequences.
15363 ;;
15364 '$CC '*)
15365 # Test whether the compiler implicitly links with -lc since on some
15366 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15367 # to ld, don't add -lc before -lgcc.
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15369 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15370 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15373 $RM conftest*
15374 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15375
15376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15377 (eval $ac_compile) 2>&5
15378 ac_status=$?
15379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15380 test $ac_status = 0; } 2>conftest.err; then
15381 soname=conftest
15382 lib=conftest
15383 libobjs=conftest.$ac_objext
15384 deplibs=
15385 wl=$lt_prog_compiler_wl_FC
15386 pic_flag=$lt_prog_compiler_pic_FC
15387 compiler_flags=-v
15388 linker_flags=-v
15389 verstring=
15390 output_objdir=.
15391 libname=conftest
15392 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15393 allow_undefined_flag_FC=
15394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15395 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15396 ac_status=$?
15397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15398 test $ac_status = 0; }
15399 then
15400 lt_cv_archive_cmds_need_lc_FC=no
15401 else
15402 lt_cv_archive_cmds_need_lc_FC=yes
15403 fi
15404 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15405 else
15406 cat conftest.err 1>&5
15407 fi
15408 $RM conftest*
15409
15410 fi
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15412 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15413 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15414 ;;
15415 esac
15416 fi
15417 ;;
15418 esac
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15484 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15485
15486 library_names_spec=
15487 libname_spec='lib$name'
15488 soname_spec=
15489 shrext_cmds=".so"
15490 postinstall_cmds=
15491 postuninstall_cmds=
15492 finish_cmds=
15493 finish_eval=
15494 shlibpath_var=
15495 shlibpath_overrides_runpath=unknown
15496 version_type=none
15497 dynamic_linker="$host_os ld.so"
15498 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15499 need_lib_prefix=unknown
15500 hardcode_into_libs=no
15501
15502 # when you set need_version to no, make sure it does not cause -set_version
15503 # flags to be left without arguments
15504 need_version=unknown
15505
15506 case $host_os in
15507 aix3*)
15508 version_type=linux
15509 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15510 shlibpath_var=LIBPATH
15511
15512 # AIX 3 has no versioning support, so we append a major version to the name.
15513 soname_spec='${libname}${release}${shared_ext}$major'
15514 ;;
15515
15516 aix[4-9]*)
15517 version_type=linux
15518 need_lib_prefix=no
15519 need_version=no
15520 hardcode_into_libs=yes
15521 if test "$host_cpu" = ia64; then
15522 # AIX 5 supports IA64
15523 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15524 shlibpath_var=LD_LIBRARY_PATH
15525 else
15526 # With GCC up to 2.95.x, collect2 would create an import file
15527 # for dependence libraries. The import file would start with
15528 # the line `#! .'. This would cause the generated library to
15529 # depend on `.', always an invalid library. This was fixed in
15530 # development snapshots of GCC prior to 3.0.
15531 case $host_os in
15532 aix4 | aix4.[01] | aix4.[01].*)
15533 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15534 echo ' yes '
15535 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15536 :
15537 else
15538 can_build_shared=no
15539 fi
15540 ;;
15541 esac
15542 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15543 # soname into executable. Probably we can add versioning support to
15544 # collect2, so additional links can be useful in future.
15545 if test "$aix_use_runtimelinking" = yes; then
15546 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15547 # instead of lib<name>.a to let people know that these are not
15548 # typical AIX shared libraries.
15549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550 else
15551 # We preserve .a as extension for shared libraries through AIX4.2
15552 # and later when we are not doing run time linking.
15553 library_names_spec='${libname}${release}.a $libname.a'
15554 soname_spec='${libname}${release}${shared_ext}$major'
15555 fi
15556 shlibpath_var=LIBPATH
15557 fi
15558 ;;
15559
15560 amigaos*)
15561 case $host_cpu in
15562 powerpc)
15563 # Since July 2007 AmigaOS4 officially supports .so libraries.
15564 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15566 ;;
15567 m68k)
15568 library_names_spec='$libname.ixlibrary $libname.a'
15569 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15570 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15571 ;;
15572 esac
15573 ;;
15574
15575 beos*)
15576 library_names_spec='${libname}${shared_ext}'
15577 dynamic_linker="$host_os ld.so"
15578 shlibpath_var=LIBRARY_PATH
15579 ;;
15580
15581 bsdi[45]*)
15582 version_type=linux
15583 need_version=no
15584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15585 soname_spec='${libname}${release}${shared_ext}$major'
15586 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15587 shlibpath_var=LD_LIBRARY_PATH
15588 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15589 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15590 # the default ld.so.conf also contains /usr/contrib/lib and
15591 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15592 # libtool to hard-code these into programs
15593 ;;
15594
15595 cygwin* | mingw* | pw32* | cegcc*)
15596 version_type=windows
15597 shrext_cmds=".dll"
15598 need_version=no
15599 need_lib_prefix=no
15600
15601 case $GCC,$host_os in
15602 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15603 library_names_spec='$libname.dll.a'
15604 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15605 postinstall_cmds='base_file=`basename \${file}`~
15606 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15607 dldir=$destdir/`dirname \$dlpath`~
15608 test -d \$dldir || mkdir -p \$dldir~
15609 $install_prog $dir/$dlname \$dldir/$dlname~
15610 chmod a+x \$dldir/$dlname~
15611 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15612 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15613 fi'
15614 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15615 dlpath=$dir/\$dldll~
15616 $RM \$dlpath'
15617 shlibpath_overrides_runpath=yes
15618
15619 case $host_os in
15620 cygwin*)
15621 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15622 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15623
15624 ;;
15625 mingw* | cegcc*)
15626 # MinGW DLLs use traditional 'lib' prefix
15627 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15628 ;;
15629 pw32*)
15630 # pw32 DLLs use 'pw' prefix rather than 'lib'
15631 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15632 ;;
15633 esac
15634 ;;
15635
15636 *)
15637 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15638 ;;
15639 esac
15640 dynamic_linker='Win32 ld.exe'
15641 # FIXME: first we should search . and the directory the executable is in
15642 shlibpath_var=PATH
15643 ;;
15644
15645 darwin* | rhapsody*)
15646 dynamic_linker="$host_os dyld"
15647 version_type=darwin
15648 need_lib_prefix=no
15649 need_version=no
15650 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15651 soname_spec='${libname}${release}${major}$shared_ext'
15652 shlibpath_overrides_runpath=yes
15653 shlibpath_var=DYLD_LIBRARY_PATH
15654 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15655
15656 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15657 ;;
15658
15659 dgux*)
15660 version_type=linux
15661 need_lib_prefix=no
15662 need_version=no
15663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15664 soname_spec='${libname}${release}${shared_ext}$major'
15665 shlibpath_var=LD_LIBRARY_PATH
15666 ;;
15667
15668 freebsd* | dragonfly*)
15669 # DragonFly does not have aout. When/if they implement a new
15670 # versioning mechanism, adjust this.
15671 if test -x /usr/bin/objformat; then
15672 objformat=`/usr/bin/objformat`
15673 else
15674 case $host_os in
15675 freebsd[23].*) objformat=aout ;;
15676 *) objformat=elf ;;
15677 esac
15678 fi
15679 version_type=freebsd-$objformat
15680 case $version_type in
15681 freebsd-elf*)
15682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15683 need_version=no
15684 need_lib_prefix=no
15685 ;;
15686 freebsd-*)
15687 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15688 need_version=yes
15689 ;;
15690 esac
15691 shlibpath_var=LD_LIBRARY_PATH
15692 case $host_os in
15693 freebsd2.*)
15694 shlibpath_overrides_runpath=yes
15695 ;;
15696 freebsd3.[01]* | freebsdelf3.[01]*)
15697 shlibpath_overrides_runpath=yes
15698 hardcode_into_libs=yes
15699 ;;
15700 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15701 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15702 shlibpath_overrides_runpath=no
15703 hardcode_into_libs=yes
15704 ;;
15705 *) # from 4.6 on, and DragonFly
15706 shlibpath_overrides_runpath=yes
15707 hardcode_into_libs=yes
15708 ;;
15709 esac
15710 ;;
15711
15712 haiku*)
15713 version_type=linux
15714 need_lib_prefix=no
15715 need_version=no
15716 dynamic_linker="$host_os runtime_loader"
15717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15718 soname_spec='${libname}${release}${shared_ext}$major'
15719 shlibpath_var=LIBRARY_PATH
15720 shlibpath_overrides_runpath=yes
15721 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15722 hardcode_into_libs=yes
15723 ;;
15724
15725 hpux9* | hpux10* | hpux11*)
15726 # Give a soname corresponding to the major version so that dld.sl refuses to
15727 # link against other versions.
15728 version_type=sunos
15729 need_lib_prefix=no
15730 need_version=no
15731 case $host_cpu in
15732 ia64*)
15733 shrext_cmds='.so'
15734 hardcode_into_libs=yes
15735 dynamic_linker="$host_os dld.so"
15736 shlibpath_var=LD_LIBRARY_PATH
15737 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15739 soname_spec='${libname}${release}${shared_ext}$major'
15740 if test "X$HPUX_IA64_MODE" = X32; then
15741 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15742 else
15743 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15744 fi
15745 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15746 ;;
15747 hppa*64*)
15748 shrext_cmds='.sl'
15749 hardcode_into_libs=yes
15750 dynamic_linker="$host_os dld.sl"
15751 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15752 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15754 soname_spec='${libname}${release}${shared_ext}$major'
15755 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15756 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15757 ;;
15758 *)
15759 shrext_cmds='.sl'
15760 dynamic_linker="$host_os dld.sl"
15761 shlibpath_var=SHLIB_PATH
15762 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15764 soname_spec='${libname}${release}${shared_ext}$major'
15765 ;;
15766 esac
15767 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15768 postinstall_cmds='chmod 555 $lib'
15769 # or fails outright, so override atomically:
15770 install_override_mode=555
15771 ;;
15772
15773 interix[3-9]*)
15774 version_type=linux
15775 need_lib_prefix=no
15776 need_version=no
15777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15778 soname_spec='${libname}${release}${shared_ext}$major'
15779 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15780 shlibpath_var=LD_LIBRARY_PATH
15781 shlibpath_overrides_runpath=no
15782 hardcode_into_libs=yes
15783 ;;
15784
15785 irix5* | irix6* | nonstopux*)
15786 case $host_os in
15787 nonstopux*) version_type=nonstopux ;;
15788 *)
15789 if test "$lt_cv_prog_gnu_ld" = yes; then
15790 version_type=linux
15791 else
15792 version_type=irix
15793 fi ;;
15794 esac
15795 need_lib_prefix=no
15796 need_version=no
15797 soname_spec='${libname}${release}${shared_ext}$major'
15798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15799 case $host_os in
15800 irix5* | nonstopux*)
15801 libsuff= shlibsuff=
15802 ;;
15803 *)
15804 case $LD in # libtool.m4 will add one of these switches to LD
15805 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15806 libsuff= shlibsuff= libmagic=32-bit;;
15807 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15808 libsuff=32 shlibsuff=N32 libmagic=N32;;
15809 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15810 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15811 *) libsuff= shlibsuff= libmagic=never-match;;
15812 esac
15813 ;;
15814 esac
15815 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15816 shlibpath_overrides_runpath=no
15817 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15818 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15819 hardcode_into_libs=yes
15820 ;;
15821
15822 # No shared lib support for Linux oldld, aout, or coff.
15823 linux*oldld* | linux*aout* | linux*coff*)
15824 dynamic_linker=no
15825 ;;
15826
15827 # This must be Linux ELF.
15828
15829 # uclinux* changes (here and below) have been submitted to the libtool
15830 # project, but have not yet been accepted: they are GCC-local changes
15831 # for the time being. (See
15832 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15833 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15834 version_type=linux
15835 need_lib_prefix=no
15836 need_version=no
15837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15838 soname_spec='${libname}${release}${shared_ext}$major'
15839 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15840 shlibpath_var=LD_LIBRARY_PATH
15841 shlibpath_overrides_runpath=no
15842
15843 # Some binutils ld are patched to set DT_RUNPATH
15844 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15845 $as_echo_n "(cached) " >&6
15846 else
15847 lt_cv_shlibpath_overrides_runpath=no
15848 save_LDFLAGS=$LDFLAGS
15849 save_libdir=$libdir
15850 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15851 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15852 if test x$gcc_no_link = xyes; then
15853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15854 fi
15855 cat > conftest.$ac_ext <<_ACEOF
15856 program main
15857
15858 end
15859 _ACEOF
15860 if ac_fn_fc_try_link "$LINENO"; then :
15861 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15862 lt_cv_shlibpath_overrides_runpath=yes
15863 fi
15864 fi
15865 rm -f core conftest.err conftest.$ac_objext \
15866 conftest$ac_exeext conftest.$ac_ext
15867 LDFLAGS=$save_LDFLAGS
15868 libdir=$save_libdir
15869
15870 fi
15871
15872 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15873
15874 # This implies no fast_install, which is unacceptable.
15875 # Some rework will be needed to allow for fast_install
15876 # before this can be enabled.
15877 hardcode_into_libs=yes
15878
15879 # Append ld.so.conf contents to the search path
15880 if test -f /etc/ld.so.conf; then
15881 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15882 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15883 fi
15884
15885 # We used to test for /lib/ld.so.1 and disable shared libraries on
15886 # powerpc, because MkLinux only supported shared libraries with the
15887 # GNU dynamic linker. Since this was broken with cross compilers,
15888 # most powerpc-linux boxes support dynamic linking these days and
15889 # people can always --disable-shared, the test was removed, and we
15890 # assume the GNU/Linux dynamic linker is in use.
15891 dynamic_linker='GNU/Linux ld.so'
15892 ;;
15893
15894 netbsd*)
15895 version_type=sunos
15896 need_lib_prefix=no
15897 need_version=no
15898 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15901 dynamic_linker='NetBSD (a.out) ld.so'
15902 else
15903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15904 soname_spec='${libname}${release}${shared_ext}$major'
15905 dynamic_linker='NetBSD ld.elf_so'
15906 fi
15907 shlibpath_var=LD_LIBRARY_PATH
15908 shlibpath_overrides_runpath=yes
15909 hardcode_into_libs=yes
15910 ;;
15911
15912 newsos6)
15913 version_type=linux
15914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915 shlibpath_var=LD_LIBRARY_PATH
15916 shlibpath_overrides_runpath=yes
15917 ;;
15918
15919 *nto* | *qnx*)
15920 version_type=qnx
15921 need_lib_prefix=no
15922 need_version=no
15923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15924 soname_spec='${libname}${release}${shared_ext}$major'
15925 shlibpath_var=LD_LIBRARY_PATH
15926 shlibpath_overrides_runpath=no
15927 hardcode_into_libs=yes
15928 dynamic_linker='ldqnx.so'
15929 ;;
15930
15931 openbsd*)
15932 version_type=sunos
15933 sys_lib_dlsearch_path_spec="/usr/lib"
15934 need_lib_prefix=no
15935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15936 case $host_os in
15937 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15938 *) need_version=no ;;
15939 esac
15940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15942 shlibpath_var=LD_LIBRARY_PATH
15943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15944 case $host_os in
15945 openbsd2.[89] | openbsd2.[89].*)
15946 shlibpath_overrides_runpath=no
15947 ;;
15948 *)
15949 shlibpath_overrides_runpath=yes
15950 ;;
15951 esac
15952 else
15953 shlibpath_overrides_runpath=yes
15954 fi
15955 ;;
15956
15957 os2*)
15958 libname_spec='$name'
15959 shrext_cmds=".dll"
15960 need_lib_prefix=no
15961 library_names_spec='$libname${shared_ext} $libname.a'
15962 dynamic_linker='OS/2 ld.exe'
15963 shlibpath_var=LIBPATH
15964 ;;
15965
15966 osf3* | osf4* | osf5*)
15967 version_type=osf
15968 need_lib_prefix=no
15969 need_version=no
15970 soname_spec='${libname}${release}${shared_ext}$major'
15971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15972 shlibpath_var=LD_LIBRARY_PATH
15973 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15974 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15975 ;;
15976
15977 rdos*)
15978 dynamic_linker=no
15979 ;;
15980
15981 solaris*)
15982 version_type=linux
15983 need_lib_prefix=no
15984 need_version=no
15985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15986 soname_spec='${libname}${release}${shared_ext}$major'
15987 shlibpath_var=LD_LIBRARY_PATH
15988 shlibpath_overrides_runpath=yes
15989 hardcode_into_libs=yes
15990 # ldd complains unless libraries are executable
15991 postinstall_cmds='chmod +x $lib'
15992 ;;
15993
15994 sunos4*)
15995 version_type=sunos
15996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15997 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15998 shlibpath_var=LD_LIBRARY_PATH
15999 shlibpath_overrides_runpath=yes
16000 if test "$with_gnu_ld" = yes; then
16001 need_lib_prefix=no
16002 fi
16003 need_version=yes
16004 ;;
16005
16006 sysv4 | sysv4.3*)
16007 version_type=linux
16008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16009 soname_spec='${libname}${release}${shared_ext}$major'
16010 shlibpath_var=LD_LIBRARY_PATH
16011 case $host_vendor in
16012 sni)
16013 shlibpath_overrides_runpath=no
16014 need_lib_prefix=no
16015 runpath_var=LD_RUN_PATH
16016 ;;
16017 siemens)
16018 need_lib_prefix=no
16019 ;;
16020 motorola)
16021 need_lib_prefix=no
16022 need_version=no
16023 shlibpath_overrides_runpath=no
16024 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16025 ;;
16026 esac
16027 ;;
16028
16029 sysv4*MP*)
16030 if test -d /usr/nec ;then
16031 version_type=linux
16032 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16033 soname_spec='$libname${shared_ext}.$major'
16034 shlibpath_var=LD_LIBRARY_PATH
16035 fi
16036 ;;
16037
16038 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16039 version_type=freebsd-elf
16040 need_lib_prefix=no
16041 need_version=no
16042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16043 soname_spec='${libname}${release}${shared_ext}$major'
16044 shlibpath_var=LD_LIBRARY_PATH
16045 shlibpath_overrides_runpath=yes
16046 hardcode_into_libs=yes
16047 if test "$with_gnu_ld" = yes; then
16048 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16049 else
16050 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16051 case $host_os in
16052 sco3.2v5*)
16053 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16054 ;;
16055 esac
16056 fi
16057 sys_lib_dlsearch_path_spec='/usr/lib'
16058 ;;
16059
16060 tpf*)
16061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16062 version_type=linux
16063 need_lib_prefix=no
16064 need_version=no
16065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16066 shlibpath_var=LD_LIBRARY_PATH
16067 shlibpath_overrides_runpath=no
16068 hardcode_into_libs=yes
16069 ;;
16070
16071 uts4*)
16072 version_type=linux
16073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16074 soname_spec='${libname}${release}${shared_ext}$major'
16075 shlibpath_var=LD_LIBRARY_PATH
16076 ;;
16077
16078 *)
16079 dynamic_linker=no
16080 ;;
16081 esac
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16083 $as_echo "$dynamic_linker" >&6; }
16084 test "$dynamic_linker" = no && can_build_shared=no
16085
16086 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16087 if test "$GCC" = yes; then
16088 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16089 fi
16090
16091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16092 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16093 fi
16094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16095 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16096 fi
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16136 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16137 hardcode_action_FC=
16138 if test -n "$hardcode_libdir_flag_spec_FC" ||
16139 test -n "$runpath_var_FC" ||
16140 test "X$hardcode_automatic_FC" = "Xyes" ; then
16141
16142 # We can hardcode non-existent directories.
16143 if test "$hardcode_direct_FC" != no &&
16144 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16145 # have to relink, otherwise we might link with an installed library
16146 # when we should be linking with a yet-to-be-installed one
16147 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16148 test "$hardcode_minus_L_FC" != no; then
16149 # Linking always hardcodes the temporary library directory.
16150 hardcode_action_FC=relink
16151 else
16152 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16153 hardcode_action_FC=immediate
16154 fi
16155 else
16156 # We cannot hardcode anything, or else we can only hardcode existing
16157 # directories.
16158 hardcode_action_FC=unsupported
16159 fi
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16161 $as_echo "$hardcode_action_FC" >&6; }
16162
16163 if test "$hardcode_action_FC" = relink ||
16164 test "$inherit_rpath_FC" = yes; then
16165 # Fast installation is not supported
16166 enable_fast_install=no
16167 elif test "$shlibpath_overrides_runpath" = yes ||
16168 test "$enable_shared" = no; then
16169 # Fast installation is not necessary
16170 enable_fast_install=needless
16171 fi
16172
16173
16174
16175
16176
16177
16178
16179 fi # test -n "$compiler"
16180
16181 GCC=$lt_save_GCC
16182 CC="$lt_save_CC"
16183 fi # test "$_lt_disable_FC" != yes
16184
16185 ac_ext=c
16186 ac_cpp='$CPP $CPPFLAGS'
16187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16190
16191
16192
16193 # extra LD Flags which are required for targets
16194 case "${host}" in
16195 *-darwin*)
16196 # Darwin needs -single_module when linking libgfortran
16197 extra_ldflags_libgfortran=-Wl,-single_module
16198 ;;
16199 esac
16200
16201
16202 # We need a working compiler at that point, otherwise give a clear
16203 # error message and bail out.
16204
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16206 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16207 ac_ext=${ac_fc_srcext-f}
16208 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16209 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16210 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16211
16212 cat > conftest.$ac_ext <<_ACEOF
16213
16214 program foo
16215 real, parameter :: bar = sin (12.34 / 2.5)
16216 end program foo
16217 _ACEOF
16218 if ac_fn_fc_try_compile "$LINENO"; then :
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16220 $as_echo "yes" >&6; }
16221 else
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16223 $as_echo "no" >&6; }
16224 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16225
16226 fi
16227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16228 ac_ext=c
16229 ac_cpp='$CPP $CPPFLAGS'
16230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16233
16234
16235
16236 # Check whether --enable-largefile was given.
16237 if test "${enable_largefile+set}" = set; then :
16238 enableval=$enable_largefile;
16239 fi
16240
16241 if test "$enable_largefile" != no; then
16242
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16244 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16245 if ${ac_cv_sys_largefile_CC+:} false; then :
16246 $as_echo_n "(cached) " >&6
16247 else
16248 ac_cv_sys_largefile_CC=no
16249 if test "$GCC" != yes; then
16250 ac_save_CC=$CC
16251 while :; do
16252 # IRIX 6.2 and later do not support large files by default,
16253 # so use the C compiler's -n32 option if that helps.
16254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16256 #include <sys/types.h>
16257 /* Check that off_t can represent 2**63 - 1 correctly.
16258 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16259 since some C++ compilers masquerading as C compilers
16260 incorrectly reject 9223372036854775807. */
16261 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16262 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16263 && LARGE_OFF_T % 2147483647 == 1)
16264 ? 1 : -1];
16265 int
16266 main ()
16267 {
16268
16269 ;
16270 return 0;
16271 }
16272 _ACEOF
16273 if ac_fn_c_try_compile "$LINENO"; then :
16274 break
16275 fi
16276 rm -f core conftest.err conftest.$ac_objext
16277 CC="$CC -n32"
16278 if ac_fn_c_try_compile "$LINENO"; then :
16279 ac_cv_sys_largefile_CC=' -n32'; break
16280 fi
16281 rm -f core conftest.err conftest.$ac_objext
16282 break
16283 done
16284 CC=$ac_save_CC
16285 rm -f conftest.$ac_ext
16286 fi
16287 fi
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16289 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16290 if test "$ac_cv_sys_largefile_CC" != no; then
16291 CC=$CC$ac_cv_sys_largefile_CC
16292 fi
16293
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16295 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16296 if ${ac_cv_sys_file_offset_bits+:} false; then :
16297 $as_echo_n "(cached) " >&6
16298 else
16299 while :; do
16300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16302 #include <sys/types.h>
16303 /* Check that off_t can represent 2**63 - 1 correctly.
16304 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16305 since some C++ compilers masquerading as C compilers
16306 incorrectly reject 9223372036854775807. */
16307 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16308 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16309 && LARGE_OFF_T % 2147483647 == 1)
16310 ? 1 : -1];
16311 int
16312 main ()
16313 {
16314
16315 ;
16316 return 0;
16317 }
16318 _ACEOF
16319 if ac_fn_c_try_compile "$LINENO"; then :
16320 ac_cv_sys_file_offset_bits=no; break
16321 fi
16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16324 /* end confdefs.h. */
16325 #define _FILE_OFFSET_BITS 64
16326 #include <sys/types.h>
16327 /* Check that off_t can represent 2**63 - 1 correctly.
16328 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16329 since some C++ compilers masquerading as C compilers
16330 incorrectly reject 9223372036854775807. */
16331 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16332 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16333 && LARGE_OFF_T % 2147483647 == 1)
16334 ? 1 : -1];
16335 int
16336 main ()
16337 {
16338
16339 ;
16340 return 0;
16341 }
16342 _ACEOF
16343 if ac_fn_c_try_compile "$LINENO"; then :
16344 ac_cv_sys_file_offset_bits=64; break
16345 fi
16346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16347 ac_cv_sys_file_offset_bits=unknown
16348 break
16349 done
16350 fi
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16352 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16353 case $ac_cv_sys_file_offset_bits in #(
16354 no | unknown) ;;
16355 *)
16356 cat >>confdefs.h <<_ACEOF
16357 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16358 _ACEOF
16359 ;;
16360 esac
16361 rm -rf conftest*
16362 if test $ac_cv_sys_file_offset_bits = unknown; then
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16364 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16365 if ${ac_cv_sys_large_files+:} false; then :
16366 $as_echo_n "(cached) " >&6
16367 else
16368 while :; do
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #include <sys/types.h>
16372 /* Check that off_t can represent 2**63 - 1 correctly.
16373 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16374 since some C++ compilers masquerading as C compilers
16375 incorrectly reject 9223372036854775807. */
16376 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16377 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16378 && LARGE_OFF_T % 2147483647 == 1)
16379 ? 1 : -1];
16380 int
16381 main ()
16382 {
16383
16384 ;
16385 return 0;
16386 }
16387 _ACEOF
16388 if ac_fn_c_try_compile "$LINENO"; then :
16389 ac_cv_sys_large_files=no; break
16390 fi
16391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16394 #define _LARGE_FILES 1
16395 #include <sys/types.h>
16396 /* Check that off_t can represent 2**63 - 1 correctly.
16397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16398 since some C++ compilers masquerading as C compilers
16399 incorrectly reject 9223372036854775807. */
16400 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16402 && LARGE_OFF_T % 2147483647 == 1)
16403 ? 1 : -1];
16404 int
16405 main ()
16406 {
16407
16408 ;
16409 return 0;
16410 }
16411 _ACEOF
16412 if ac_fn_c_try_compile "$LINENO"; then :
16413 ac_cv_sys_large_files=1; break
16414 fi
16415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16416 ac_cv_sys_large_files=unknown
16417 break
16418 done
16419 fi
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16421 $as_echo "$ac_cv_sys_large_files" >&6; }
16422 case $ac_cv_sys_large_files in #(
16423 no | unknown) ;;
16424 *)
16425 cat >>confdefs.h <<_ACEOF
16426 #define _LARGE_FILES $ac_cv_sys_large_files
16427 _ACEOF
16428 ;;
16429 esac
16430 rm -rf conftest*
16431 fi
16432
16433
16434 fi
16435
16436
16437 # Types
16438 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16439 if test "x$ac_cv_type_off_t" = xyes; then :
16440
16441 else
16442
16443 cat >>confdefs.h <<_ACEOF
16444 #define off_t long int
16445 _ACEOF
16446
16447 fi
16448
16449
16450 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16451 if test "x$ac_cv_type_intptr_t" = xyes; then :
16452
16453 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16454
16455 else
16456 for ac_type in 'int' 'long int' 'long long int'; do
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 $ac_includes_default
16460 int
16461 main ()
16462 {
16463 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16464 test_array [0] = 0;
16465 return test_array [0];
16466
16467 ;
16468 return 0;
16469 }
16470 _ACEOF
16471 if ac_fn_c_try_compile "$LINENO"; then :
16472
16473 cat >>confdefs.h <<_ACEOF
16474 #define intptr_t $ac_type
16475 _ACEOF
16476
16477 ac_type=
16478 fi
16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16480 test -z "$ac_type" && break
16481 done
16482 fi
16483
16484
16485
16486 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16487 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16488
16489 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16490
16491 else
16492 for ac_type in 'unsigned int' 'unsigned long int' \
16493 'unsigned long long int'; do
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 $ac_includes_default
16497 int
16498 main ()
16499 {
16500 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16501 test_array [0] = 0;
16502 return test_array [0];
16503
16504 ;
16505 return 0;
16506 }
16507 _ACEOF
16508 if ac_fn_c_try_compile "$LINENO"; then :
16509
16510 cat >>confdefs.h <<_ACEOF
16511 #define uintptr_t $ac_type
16512 _ACEOF
16513
16514 ac_type=
16515 fi
16516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16517 test -z "$ac_type" && break
16518 done
16519 fi
16520
16521
16522 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16523 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16524
16525 cat >>confdefs.h <<_ACEOF
16526 #define HAVE_PTRDIFF_T 1
16527 _ACEOF
16528
16529
16530 fi
16531
16532
16533 # check header files (we assume C89 is available, so don't check for that)
16534
16535
16536
16537 for ac_header in $ac_header_list
16538 do :
16539 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16540 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16541 "
16542 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16543 cat >>confdefs.h <<_ACEOF
16544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16545 _ACEOF
16546
16547 fi
16548
16549 done
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16590
16591 acx_cv_header_stdint=stddef.h
16592 acx_cv_header_stdint_kind="(already complete)"
16593 for i in stdint.h $inttype_headers; do
16594 unset ac_cv_type_uintptr_t
16595 unset ac_cv_type_uintmax_t
16596 unset ac_cv_type_int_least32_t
16597 unset ac_cv_type_int_fast32_t
16598 unset ac_cv_type_uint64_t
16599 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16600 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16601 #include <$i>
16602 "
16603 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16604 acx_cv_header_stdint=$i
16605 else
16606 continue
16607 fi
16608
16609 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16610 #include <$i>
16611 "
16612 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16613
16614 else
16615 acx_cv_header_stdint_kind="(mostly complete)"
16616 fi
16617
16618 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16619 #include <$i>
16620 "
16621 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16622
16623 else
16624 acx_cv_header_stdint_kind="(mostly complete)"
16625 fi
16626
16627 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16628 #include <$i>
16629 "
16630 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16631
16632 else
16633 acx_cv_header_stdint_kind="(mostly complete)"
16634 fi
16635
16636 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16637 #include <$i>
16638 "
16639 if test "x$ac_cv_type_uint64_t" = xyes; then :
16640
16641 else
16642 acx_cv_header_stdint_kind="(lacks uint64_t)"
16643 fi
16644
16645 break
16646 done
16647 if test "$acx_cv_header_stdint" = stddef.h; then
16648 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16649 for i in stdint.h $inttype_headers; do
16650 unset ac_cv_type_uintptr_t
16651 unset ac_cv_type_uint32_t
16652 unset ac_cv_type_uint64_t
16653 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16654 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16655 #include <$i>
16656 "
16657 if test "x$ac_cv_type_uint32_t" = xyes; then :
16658 acx_cv_header_stdint=$i
16659 else
16660 continue
16661 fi
16662
16663 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16664 #include <$i>
16665 "
16666 if test "x$ac_cv_type_uint64_t" = xyes; then :
16667
16668 fi
16669
16670 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16671 #include <$i>
16672 "
16673 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16674
16675 fi
16676
16677 break
16678 done
16679 fi
16680 if test "$acx_cv_header_stdint" = stddef.h; then
16681 acx_cv_header_stdint_kind="(u_intXX_t style)"
16682 for i in sys/types.h $inttype_headers; do
16683 unset ac_cv_type_u_int32_t
16684 unset ac_cv_type_u_int64_t
16685 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16686 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16687 #include <$i>
16688 "
16689 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16690 acx_cv_header_stdint=$i
16691 else
16692 continue
16693 fi
16694
16695 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16696 #include <$i>
16697 "
16698 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16699
16700 fi
16701
16702 break
16703 done
16704 fi
16705 if test "$acx_cv_header_stdint" = stddef.h; then
16706 acx_cv_header_stdint_kind="(using manual detection)"
16707 fi
16708
16709 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16710 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16711 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16712 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16713 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16714
16715 # ----------------- Summarize what we found so far
16716
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16718 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16719
16720 case `$as_basename -- gstdint.h ||
16721 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16722 Xgstdint.h : 'X\(//\)$' \| \
16723 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16724 $as_echo X/gstdint.h |
16725 sed '/^.*\/\([^/][^/]*\)\/*$/{
16726 s//\1/
16727 q
16728 }
16729 /^X\/\(\/\/\)$/{
16730 s//\1/
16731 q
16732 }
16733 /^X\/\(\/\).*/{
16734 s//\1/
16735 q
16736 }
16737 s/.*/./; q'` in
16738 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16739 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16740 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16741 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16742 *) ;;
16743 esac
16744
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16746 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16747
16748 # ----------------- done included file, check C basic types --------
16749
16750 # Lacking an uintptr_t? Test size of void *
16751 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16752 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16755 # This bug is HP SR number 8606223364.
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16757 $as_echo_n "checking size of void *... " >&6; }
16758 if ${ac_cv_sizeof_void_p+:} false; then :
16759 $as_echo_n "(cached) " >&6
16760 else
16761 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16762
16763 else
16764 if test "$ac_cv_type_void_p" = yes; then
16765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16767 as_fn_error 77 "cannot compute sizeof (void *)
16768 See \`config.log' for more details" "$LINENO" 5; }
16769 else
16770 ac_cv_sizeof_void_p=0
16771 fi
16772 fi
16773
16774 fi
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16776 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16777
16778
16779
16780 cat >>confdefs.h <<_ACEOF
16781 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16782 _ACEOF
16783
16784 ;;
16785 esac
16786
16787 # Lacking an uint64_t? Test size of long
16788 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16789 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16792 # This bug is HP SR number 8606223364.
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16794 $as_echo_n "checking size of long... " >&6; }
16795 if ${ac_cv_sizeof_long+:} false; then :
16796 $as_echo_n "(cached) " >&6
16797 else
16798 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16799
16800 else
16801 if test "$ac_cv_type_long" = yes; then
16802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16804 as_fn_error 77 "cannot compute sizeof (long)
16805 See \`config.log' for more details" "$LINENO" 5; }
16806 else
16807 ac_cv_sizeof_long=0
16808 fi
16809 fi
16810
16811 fi
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16813 $as_echo "$ac_cv_sizeof_long" >&6; }
16814
16815
16816
16817 cat >>confdefs.h <<_ACEOF
16818 #define SIZEOF_LONG $ac_cv_sizeof_long
16819 _ACEOF
16820
16821 ;;
16822 esac
16823
16824 if test $acx_cv_header_stdint = stddef.h; then
16825 # Lacking a good header? Test size of everything and deduce all types.
16826 # The cast to long int works around a bug in the HP C Compiler
16827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16829 # This bug is HP SR number 8606223364.
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16831 $as_echo_n "checking size of int... " >&6; }
16832 if ${ac_cv_sizeof_int+:} false; then :
16833 $as_echo_n "(cached) " >&6
16834 else
16835 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16836
16837 else
16838 if test "$ac_cv_type_int" = yes; then
16839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16841 as_fn_error 77 "cannot compute sizeof (int)
16842 See \`config.log' for more details" "$LINENO" 5; }
16843 else
16844 ac_cv_sizeof_int=0
16845 fi
16846 fi
16847
16848 fi
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16850 $as_echo "$ac_cv_sizeof_int" >&6; }
16851
16852
16853
16854 cat >>confdefs.h <<_ACEOF
16855 #define SIZEOF_INT $ac_cv_sizeof_int
16856 _ACEOF
16857
16858
16859 # The cast to long int works around a bug in the HP C Compiler
16860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16862 # This bug is HP SR number 8606223364.
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16864 $as_echo_n "checking size of short... " >&6; }
16865 if ${ac_cv_sizeof_short+:} false; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16869
16870 else
16871 if test "$ac_cv_type_short" = yes; then
16872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16874 as_fn_error 77 "cannot compute sizeof (short)
16875 See \`config.log' for more details" "$LINENO" 5; }
16876 else
16877 ac_cv_sizeof_short=0
16878 fi
16879 fi
16880
16881 fi
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16883 $as_echo "$ac_cv_sizeof_short" >&6; }
16884
16885
16886
16887 cat >>confdefs.h <<_ACEOF
16888 #define SIZEOF_SHORT $ac_cv_sizeof_short
16889 _ACEOF
16890
16891
16892 # The cast to long int works around a bug in the HP C Compiler
16893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16895 # This bug is HP SR number 8606223364.
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16897 $as_echo_n "checking size of char... " >&6; }
16898 if ${ac_cv_sizeof_char+:} false; then :
16899 $as_echo_n "(cached) " >&6
16900 else
16901 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16902
16903 else
16904 if test "$ac_cv_type_char" = yes; then
16905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16907 as_fn_error 77 "cannot compute sizeof (char)
16908 See \`config.log' for more details" "$LINENO" 5; }
16909 else
16910 ac_cv_sizeof_char=0
16911 fi
16912 fi
16913
16914 fi
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16916 $as_echo "$ac_cv_sizeof_char" >&6; }
16917
16918
16919
16920 cat >>confdefs.h <<_ACEOF
16921 #define SIZEOF_CHAR $ac_cv_sizeof_char
16922 _ACEOF
16923
16924
16925
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16927 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16928 case "$ac_cv_sizeof_char" in
16929 1) acx_cv_type_int8_t=char ;;
16930 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
16931 esac
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16933 $as_echo "$acx_cv_type_int8_t" >&6; }
16934
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16936 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16937 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16938 2:*) acx_cv_type_int16_t=int ;;
16939 *:2) acx_cv_type_int16_t=short ;;
16940 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
16941 esac
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16943 $as_echo "$acx_cv_type_int16_t" >&6; }
16944
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16946 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16947 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16948 4:*) acx_cv_type_int32_t=int ;;
16949 *:4) acx_cv_type_int32_t=long ;;
16950 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
16951 esac
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16953 $as_echo "$acx_cv_type_int32_t" >&6; }
16954 fi
16955
16956 # These tests are here to make the output prettier
16957
16958 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16959 case "$ac_cv_sizeof_long" in
16960 8) acx_cv_type_int64_t=long ;;
16961 esac
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16963 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16965 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16966 fi
16967
16968 # Now we can use the above types
16969
16970 if test "$ac_cv_type_uintptr_t" != yes; then
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16972 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16973 case $ac_cv_sizeof_void_p in
16974 2) acx_cv_type_intptr_t=int16_t ;;
16975 4) acx_cv_type_intptr_t=int32_t ;;
16976 8) acx_cv_type_intptr_t=int64_t ;;
16977 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16978 esac
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16980 $as_echo "$acx_cv_type_intptr_t" >&6; }
16981 fi
16982
16983 # ----------------- done all checks, emit header -------------
16984 ac_config_commands="$ac_config_commands gstdint.h"
16985
16986
16987
16988
16989 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16990 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
16991
16992 cat >>confdefs.h <<_ACEOF
16993 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16994 _ACEOF
16995
16996
16997 fi
16998 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16999 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17000
17001 cat >>confdefs.h <<_ACEOF
17002 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17003 _ACEOF
17004
17005
17006 fi
17007 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17008 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
17009
17010 cat >>confdefs.h <<_ACEOF
17011 #define HAVE_STRUCT_STAT_ST_RDEV 1
17012 _ACEOF
17013
17014
17015 fi
17016
17017
17018 case "${host}--x${with_newlib}" in
17019 mips*--xyes)
17020 hardwire_newlib=1;;
17021 nvptx*--xyes)
17022 hardwire_newlib=1;;
17023 esac
17024
17025 # Check for library functions.
17026 if test "${hardwire_newlib:-0}" -eq 1; then
17027 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17028 # may not work correctly, because the compiler may not be able to
17029 # link executables.
17030
17031 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17032
17033
17034 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17035
17036
17037 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17038
17039
17040 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17041
17042
17043 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17044
17045
17046 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17047
17048
17049 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17050
17051
17052 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17053
17054
17055 # At some point, we should differentiate between architectures
17056 # like x86, which have long double versions, and alpha/powerpc/etc.,
17057 # which don't. For the time being, punt.
17058 if test x"long_double_math_on_this_cpu" = x"yes"; then
17059
17060 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17061
17062 fi
17063 else
17064
17065
17066
17067 for ac_func in $ac_func_list
17068 do :
17069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17071 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17072 cat >>confdefs.h <<_ACEOF
17073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17074 _ACEOF
17075
17076 fi
17077 done
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
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 fi
17193
17194 # Check strerror_r, cannot be above as versions with two and three arguments exist
17195
17196 ac_save_CFLAGS="$CFLAGS"
17197 CFLAGS="-Wimplicit-function-declaration -Werror"
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 #define _GNU_SOURCE 1
17201 #include <string.h>
17202 #include <locale.h>
17203 int
17204 main ()
17205 {
17206 char s[128]; strerror_r(5, s, 128);
17207 ;
17208 return 0;
17209 }
17210 _ACEOF
17211 if ac_fn_c_try_compile "$LINENO"; then :
17212
17213 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17214
17215 fi
17216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217 CFLAGS="$ac_save_CFLAGS"
17218
17219 ac_save_CFLAGS="$CFLAGS"
17220 CFLAGS="-Wimplicit-function-declaration -Werror"
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 #define _GNU_SOURCE 1
17224 #include <string.h>
17225 #include <locale.h>
17226 int
17227 main ()
17228 {
17229 char s[128]; strerror_r(5, s);
17230 ;
17231 return 0;
17232 }
17233 _ACEOF
17234 if ac_fn_c_try_compile "$LINENO"; then :
17235
17236 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17237
17238 fi
17239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17240 CFLAGS="$ac_save_CFLAGS"
17241
17242
17243 # Check for C99 (and other IEEE) math functions
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17245 $as_echo_n "checking for sin in -lm... " >&6; }
17246 if ${ac_cv_lib_m_sin+:} false; then :
17247 $as_echo_n "(cached) " >&6
17248 else
17249 ac_check_lib_save_LIBS=$LIBS
17250 LIBS="-lm $LIBS"
17251 if test x$gcc_no_link = xyes; then
17252 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17253 fi
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17256
17257 /* Override any GCC internal prototype to avoid an error.
17258 Use char because int might match the return type of a GCC
17259 builtin and then its argument prototype would still apply. */
17260 #ifdef __cplusplus
17261 extern "C"
17262 #endif
17263 char sin ();
17264 int
17265 main ()
17266 {
17267 return sin ();
17268 ;
17269 return 0;
17270 }
17271 _ACEOF
17272 if ac_fn_c_try_link "$LINENO"; then :
17273 ac_cv_lib_m_sin=yes
17274 else
17275 ac_cv_lib_m_sin=no
17276 fi
17277 rm -f core conftest.err conftest.$ac_objext \
17278 conftest$ac_exeext conftest.$ac_ext
17279 LIBS=$ac_check_lib_save_LIBS
17280 fi
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17282 $as_echo "$ac_cv_lib_m_sin" >&6; }
17283 if test "x$ac_cv_lib_m_sin" = xyes; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_LIBM 1
17286 _ACEOF
17287
17288 LIBS="-lm $LIBS"
17289
17290 fi
17291
17292
17293
17294
17295
17296
17297
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17299 $as_echo_n "checking for acosf... " >&6; }
17300 if ${gcc_cv_math_func_acosf+:} false; then :
17301 $as_echo_n "(cached) " >&6
17302 else
17303 if test x$gcc_no_link = xyes; then
17304 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17305 fi
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308
17309 #ifdef HAVE_COMPLEX_H
17310 #include <complex.h>
17311 #endif
17312 #ifdef HAVE_MATH_H
17313 #include <math.h>
17314 #endif
17315
17316 int (*ptr)() = (int (*)())acosf;
17317
17318 int
17319 main ()
17320 {
17321 return 0;
17322 }
17323
17324 _ACEOF
17325 if ac_fn_c_try_link "$LINENO"; then :
17326 gcc_cv_math_func_acosf=yes
17327 else
17328 gcc_cv_math_func_acosf=no
17329 fi
17330 rm -f core conftest.err conftest.$ac_objext \
17331 conftest$ac_exeext conftest.$ac_ext
17332 fi
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17334 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17335 if test $gcc_cv_math_func_acosf = yes; then
17336
17337 cat >>confdefs.h <<_ACEOF
17338 #define HAVE_ACOSF 1
17339 _ACEOF
17340
17341 fi
17342
17343
17344
17345
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17347 $as_echo_n "checking for acos... " >&6; }
17348 if ${gcc_cv_math_func_acos+:} false; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 if test x$gcc_no_link = xyes; then
17352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17353 fi
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356
17357 #ifdef HAVE_COMPLEX_H
17358 #include <complex.h>
17359 #endif
17360 #ifdef HAVE_MATH_H
17361 #include <math.h>
17362 #endif
17363
17364 int (*ptr)() = (int (*)())acos;
17365
17366 int
17367 main ()
17368 {
17369 return 0;
17370 }
17371
17372 _ACEOF
17373 if ac_fn_c_try_link "$LINENO"; then :
17374 gcc_cv_math_func_acos=yes
17375 else
17376 gcc_cv_math_func_acos=no
17377 fi
17378 rm -f core conftest.err conftest.$ac_objext \
17379 conftest$ac_exeext conftest.$ac_ext
17380 fi
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17382 $as_echo "$gcc_cv_math_func_acos" >&6; }
17383 if test $gcc_cv_math_func_acos = yes; then
17384
17385 cat >>confdefs.h <<_ACEOF
17386 #define HAVE_ACOS 1
17387 _ACEOF
17388
17389 fi
17390
17391
17392
17393
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17395 $as_echo_n "checking for acosl... " >&6; }
17396 if ${gcc_cv_math_func_acosl+:} false; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17399 if test x$gcc_no_link = xyes; then
17400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17401 fi
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404
17405 #ifdef HAVE_COMPLEX_H
17406 #include <complex.h>
17407 #endif
17408 #ifdef HAVE_MATH_H
17409 #include <math.h>
17410 #endif
17411
17412 int (*ptr)() = (int (*)())acosl;
17413
17414 int
17415 main ()
17416 {
17417 return 0;
17418 }
17419
17420 _ACEOF
17421 if ac_fn_c_try_link "$LINENO"; then :
17422 gcc_cv_math_func_acosl=yes
17423 else
17424 gcc_cv_math_func_acosl=no
17425 fi
17426 rm -f core conftest.err conftest.$ac_objext \
17427 conftest$ac_exeext conftest.$ac_ext
17428 fi
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17430 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17431 if test $gcc_cv_math_func_acosl = yes; then
17432
17433 cat >>confdefs.h <<_ACEOF
17434 #define HAVE_ACOSL 1
17435 _ACEOF
17436
17437 fi
17438
17439
17440
17441
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17443 $as_echo_n "checking for acoshf... " >&6; }
17444 if ${gcc_cv_math_func_acoshf+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 if test x$gcc_no_link = xyes; then
17448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17449 fi
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452
17453 #ifdef HAVE_COMPLEX_H
17454 #include <complex.h>
17455 #endif
17456 #ifdef HAVE_MATH_H
17457 #include <math.h>
17458 #endif
17459
17460 int (*ptr)() = (int (*)())acoshf;
17461
17462 int
17463 main ()
17464 {
17465 return 0;
17466 }
17467
17468 _ACEOF
17469 if ac_fn_c_try_link "$LINENO"; then :
17470 gcc_cv_math_func_acoshf=yes
17471 else
17472 gcc_cv_math_func_acoshf=no
17473 fi
17474 rm -f core conftest.err conftest.$ac_objext \
17475 conftest$ac_exeext conftest.$ac_ext
17476 fi
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17478 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17479 if test $gcc_cv_math_func_acoshf = yes; then
17480
17481 cat >>confdefs.h <<_ACEOF
17482 #define HAVE_ACOSHF 1
17483 _ACEOF
17484
17485 fi
17486
17487
17488
17489
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17491 $as_echo_n "checking for acosh... " >&6; }
17492 if ${gcc_cv_math_func_acosh+:} false; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17495 if test x$gcc_no_link = xyes; then
17496 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17497 fi
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500
17501 #ifdef HAVE_COMPLEX_H
17502 #include <complex.h>
17503 #endif
17504 #ifdef HAVE_MATH_H
17505 #include <math.h>
17506 #endif
17507
17508 int (*ptr)() = (int (*)())acosh;
17509
17510 int
17511 main ()
17512 {
17513 return 0;
17514 }
17515
17516 _ACEOF
17517 if ac_fn_c_try_link "$LINENO"; then :
17518 gcc_cv_math_func_acosh=yes
17519 else
17520 gcc_cv_math_func_acosh=no
17521 fi
17522 rm -f core conftest.err conftest.$ac_objext \
17523 conftest$ac_exeext conftest.$ac_ext
17524 fi
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17526 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17527 if test $gcc_cv_math_func_acosh = yes; then
17528
17529 cat >>confdefs.h <<_ACEOF
17530 #define HAVE_ACOSH 1
17531 _ACEOF
17532
17533 fi
17534
17535
17536
17537
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17539 $as_echo_n "checking for acoshl... " >&6; }
17540 if ${gcc_cv_math_func_acoshl+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 if test x$gcc_no_link = xyes; then
17544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17545 fi
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17548
17549 #ifdef HAVE_COMPLEX_H
17550 #include <complex.h>
17551 #endif
17552 #ifdef HAVE_MATH_H
17553 #include <math.h>
17554 #endif
17555
17556 int (*ptr)() = (int (*)())acoshl;
17557
17558 int
17559 main ()
17560 {
17561 return 0;
17562 }
17563
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 gcc_cv_math_func_acoshl=yes
17567 else
17568 gcc_cv_math_func_acoshl=no
17569 fi
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17572 fi
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17574 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17575 if test $gcc_cv_math_func_acoshl = yes; then
17576
17577 cat >>confdefs.h <<_ACEOF
17578 #define HAVE_ACOSHL 1
17579 _ACEOF
17580
17581 fi
17582
17583
17584
17585
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17587 $as_echo_n "checking for asinf... " >&6; }
17588 if ${gcc_cv_math_func_asinf+:} false; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17591 if test x$gcc_no_link = xyes; then
17592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17593 fi
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596
17597 #ifdef HAVE_COMPLEX_H
17598 #include <complex.h>
17599 #endif
17600 #ifdef HAVE_MATH_H
17601 #include <math.h>
17602 #endif
17603
17604 int (*ptr)() = (int (*)())asinf;
17605
17606 int
17607 main ()
17608 {
17609 return 0;
17610 }
17611
17612 _ACEOF
17613 if ac_fn_c_try_link "$LINENO"; then :
17614 gcc_cv_math_func_asinf=yes
17615 else
17616 gcc_cv_math_func_asinf=no
17617 fi
17618 rm -f core conftest.err conftest.$ac_objext \
17619 conftest$ac_exeext conftest.$ac_ext
17620 fi
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17622 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17623 if test $gcc_cv_math_func_asinf = yes; then
17624
17625 cat >>confdefs.h <<_ACEOF
17626 #define HAVE_ASINF 1
17627 _ACEOF
17628
17629 fi
17630
17631
17632
17633
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17635 $as_echo_n "checking for asin... " >&6; }
17636 if ${gcc_cv_math_func_asin+:} false; then :
17637 $as_echo_n "(cached) " >&6
17638 else
17639 if test x$gcc_no_link = xyes; then
17640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17641 fi
17642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17644
17645 #ifdef HAVE_COMPLEX_H
17646 #include <complex.h>
17647 #endif
17648 #ifdef HAVE_MATH_H
17649 #include <math.h>
17650 #endif
17651
17652 int (*ptr)() = (int (*)())asin;
17653
17654 int
17655 main ()
17656 {
17657 return 0;
17658 }
17659
17660 _ACEOF
17661 if ac_fn_c_try_link "$LINENO"; then :
17662 gcc_cv_math_func_asin=yes
17663 else
17664 gcc_cv_math_func_asin=no
17665 fi
17666 rm -f core conftest.err conftest.$ac_objext \
17667 conftest$ac_exeext conftest.$ac_ext
17668 fi
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17670 $as_echo "$gcc_cv_math_func_asin" >&6; }
17671 if test $gcc_cv_math_func_asin = yes; then
17672
17673 cat >>confdefs.h <<_ACEOF
17674 #define HAVE_ASIN 1
17675 _ACEOF
17676
17677 fi
17678
17679
17680
17681
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17683 $as_echo_n "checking for asinl... " >&6; }
17684 if ${gcc_cv_math_func_asinl+:} false; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17687 if test x$gcc_no_link = xyes; then
17688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17689 fi
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17692
17693 #ifdef HAVE_COMPLEX_H
17694 #include <complex.h>
17695 #endif
17696 #ifdef HAVE_MATH_H
17697 #include <math.h>
17698 #endif
17699
17700 int (*ptr)() = (int (*)())asinl;
17701
17702 int
17703 main ()
17704 {
17705 return 0;
17706 }
17707
17708 _ACEOF
17709 if ac_fn_c_try_link "$LINENO"; then :
17710 gcc_cv_math_func_asinl=yes
17711 else
17712 gcc_cv_math_func_asinl=no
17713 fi
17714 rm -f core conftest.err conftest.$ac_objext \
17715 conftest$ac_exeext conftest.$ac_ext
17716 fi
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17718 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17719 if test $gcc_cv_math_func_asinl = yes; then
17720
17721 cat >>confdefs.h <<_ACEOF
17722 #define HAVE_ASINL 1
17723 _ACEOF
17724
17725 fi
17726
17727
17728
17729
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17731 $as_echo_n "checking for asinhf... " >&6; }
17732 if ${gcc_cv_math_func_asinhf+:} false; then :
17733 $as_echo_n "(cached) " >&6
17734 else
17735 if test x$gcc_no_link = xyes; then
17736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17737 fi
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740
17741 #ifdef HAVE_COMPLEX_H
17742 #include <complex.h>
17743 #endif
17744 #ifdef HAVE_MATH_H
17745 #include <math.h>
17746 #endif
17747
17748 int (*ptr)() = (int (*)())asinhf;
17749
17750 int
17751 main ()
17752 {
17753 return 0;
17754 }
17755
17756 _ACEOF
17757 if ac_fn_c_try_link "$LINENO"; then :
17758 gcc_cv_math_func_asinhf=yes
17759 else
17760 gcc_cv_math_func_asinhf=no
17761 fi
17762 rm -f core conftest.err conftest.$ac_objext \
17763 conftest$ac_exeext conftest.$ac_ext
17764 fi
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17766 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17767 if test $gcc_cv_math_func_asinhf = yes; then
17768
17769 cat >>confdefs.h <<_ACEOF
17770 #define HAVE_ASINHF 1
17771 _ACEOF
17772
17773 fi
17774
17775
17776
17777
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17779 $as_echo_n "checking for asinh... " >&6; }
17780 if ${gcc_cv_math_func_asinh+:} false; then :
17781 $as_echo_n "(cached) " >&6
17782 else
17783 if test x$gcc_no_link = xyes; then
17784 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17785 fi
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17788
17789 #ifdef HAVE_COMPLEX_H
17790 #include <complex.h>
17791 #endif
17792 #ifdef HAVE_MATH_H
17793 #include <math.h>
17794 #endif
17795
17796 int (*ptr)() = (int (*)())asinh;
17797
17798 int
17799 main ()
17800 {
17801 return 0;
17802 }
17803
17804 _ACEOF
17805 if ac_fn_c_try_link "$LINENO"; then :
17806 gcc_cv_math_func_asinh=yes
17807 else
17808 gcc_cv_math_func_asinh=no
17809 fi
17810 rm -f core conftest.err conftest.$ac_objext \
17811 conftest$ac_exeext conftest.$ac_ext
17812 fi
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17814 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17815 if test $gcc_cv_math_func_asinh = yes; then
17816
17817 cat >>confdefs.h <<_ACEOF
17818 #define HAVE_ASINH 1
17819 _ACEOF
17820
17821 fi
17822
17823
17824
17825
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17827 $as_echo_n "checking for asinhl... " >&6; }
17828 if ${gcc_cv_math_func_asinhl+:} false; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17831 if test x$gcc_no_link = xyes; then
17832 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17833 fi
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836
17837 #ifdef HAVE_COMPLEX_H
17838 #include <complex.h>
17839 #endif
17840 #ifdef HAVE_MATH_H
17841 #include <math.h>
17842 #endif
17843
17844 int (*ptr)() = (int (*)())asinhl;
17845
17846 int
17847 main ()
17848 {
17849 return 0;
17850 }
17851
17852 _ACEOF
17853 if ac_fn_c_try_link "$LINENO"; then :
17854 gcc_cv_math_func_asinhl=yes
17855 else
17856 gcc_cv_math_func_asinhl=no
17857 fi
17858 rm -f core conftest.err conftest.$ac_objext \
17859 conftest$ac_exeext conftest.$ac_ext
17860 fi
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17862 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17863 if test $gcc_cv_math_func_asinhl = yes; then
17864
17865 cat >>confdefs.h <<_ACEOF
17866 #define HAVE_ASINHL 1
17867 _ACEOF
17868
17869 fi
17870
17871
17872
17873
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17875 $as_echo_n "checking for atan2f... " >&6; }
17876 if ${gcc_cv_math_func_atan2f+:} false; then :
17877 $as_echo_n "(cached) " >&6
17878 else
17879 if test x$gcc_no_link = xyes; then
17880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17881 fi
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17884
17885 #ifdef HAVE_COMPLEX_H
17886 #include <complex.h>
17887 #endif
17888 #ifdef HAVE_MATH_H
17889 #include <math.h>
17890 #endif
17891
17892 int (*ptr)() = (int (*)())atan2f;
17893
17894 int
17895 main ()
17896 {
17897 return 0;
17898 }
17899
17900 _ACEOF
17901 if ac_fn_c_try_link "$LINENO"; then :
17902 gcc_cv_math_func_atan2f=yes
17903 else
17904 gcc_cv_math_func_atan2f=no
17905 fi
17906 rm -f core conftest.err conftest.$ac_objext \
17907 conftest$ac_exeext conftest.$ac_ext
17908 fi
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17910 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17911 if test $gcc_cv_math_func_atan2f = yes; then
17912
17913 cat >>confdefs.h <<_ACEOF
17914 #define HAVE_ATAN2F 1
17915 _ACEOF
17916
17917 fi
17918
17919
17920
17921
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17923 $as_echo_n "checking for atan2... " >&6; }
17924 if ${gcc_cv_math_func_atan2+:} false; then :
17925 $as_echo_n "(cached) " >&6
17926 else
17927 if test x$gcc_no_link = xyes; then
17928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17929 fi
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17932
17933 #ifdef HAVE_COMPLEX_H
17934 #include <complex.h>
17935 #endif
17936 #ifdef HAVE_MATH_H
17937 #include <math.h>
17938 #endif
17939
17940 int (*ptr)() = (int (*)())atan2;
17941
17942 int
17943 main ()
17944 {
17945 return 0;
17946 }
17947
17948 _ACEOF
17949 if ac_fn_c_try_link "$LINENO"; then :
17950 gcc_cv_math_func_atan2=yes
17951 else
17952 gcc_cv_math_func_atan2=no
17953 fi
17954 rm -f core conftest.err conftest.$ac_objext \
17955 conftest$ac_exeext conftest.$ac_ext
17956 fi
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17958 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17959 if test $gcc_cv_math_func_atan2 = yes; then
17960
17961 cat >>confdefs.h <<_ACEOF
17962 #define HAVE_ATAN2 1
17963 _ACEOF
17964
17965 fi
17966
17967
17968
17969
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17971 $as_echo_n "checking for atan2l... " >&6; }
17972 if ${gcc_cv_math_func_atan2l+:} false; then :
17973 $as_echo_n "(cached) " >&6
17974 else
17975 if test x$gcc_no_link = xyes; then
17976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17977 fi
17978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17980
17981 #ifdef HAVE_COMPLEX_H
17982 #include <complex.h>
17983 #endif
17984 #ifdef HAVE_MATH_H
17985 #include <math.h>
17986 #endif
17987
17988 int (*ptr)() = (int (*)())atan2l;
17989
17990 int
17991 main ()
17992 {
17993 return 0;
17994 }
17995
17996 _ACEOF
17997 if ac_fn_c_try_link "$LINENO"; then :
17998 gcc_cv_math_func_atan2l=yes
17999 else
18000 gcc_cv_math_func_atan2l=no
18001 fi
18002 rm -f core conftest.err conftest.$ac_objext \
18003 conftest$ac_exeext conftest.$ac_ext
18004 fi
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18006 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18007 if test $gcc_cv_math_func_atan2l = yes; then
18008
18009 cat >>confdefs.h <<_ACEOF
18010 #define HAVE_ATAN2L 1
18011 _ACEOF
18012
18013 fi
18014
18015
18016
18017
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18019 $as_echo_n "checking for atanf... " >&6; }
18020 if ${gcc_cv_math_func_atanf+:} false; then :
18021 $as_echo_n "(cached) " >&6
18022 else
18023 if test x$gcc_no_link = xyes; then
18024 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18025 fi
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18028
18029 #ifdef HAVE_COMPLEX_H
18030 #include <complex.h>
18031 #endif
18032 #ifdef HAVE_MATH_H
18033 #include <math.h>
18034 #endif
18035
18036 int (*ptr)() = (int (*)())atanf;
18037
18038 int
18039 main ()
18040 {
18041 return 0;
18042 }
18043
18044 _ACEOF
18045 if ac_fn_c_try_link "$LINENO"; then :
18046 gcc_cv_math_func_atanf=yes
18047 else
18048 gcc_cv_math_func_atanf=no
18049 fi
18050 rm -f core conftest.err conftest.$ac_objext \
18051 conftest$ac_exeext conftest.$ac_ext
18052 fi
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18054 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18055 if test $gcc_cv_math_func_atanf = yes; then
18056
18057 cat >>confdefs.h <<_ACEOF
18058 #define HAVE_ATANF 1
18059 _ACEOF
18060
18061 fi
18062
18063
18064
18065
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18067 $as_echo_n "checking for atan... " >&6; }
18068 if ${gcc_cv_math_func_atan+:} false; then :
18069 $as_echo_n "(cached) " >&6
18070 else
18071 if test x$gcc_no_link = xyes; then
18072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18073 fi
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18076
18077 #ifdef HAVE_COMPLEX_H
18078 #include <complex.h>
18079 #endif
18080 #ifdef HAVE_MATH_H
18081 #include <math.h>
18082 #endif
18083
18084 int (*ptr)() = (int (*)())atan;
18085
18086 int
18087 main ()
18088 {
18089 return 0;
18090 }
18091
18092 _ACEOF
18093 if ac_fn_c_try_link "$LINENO"; then :
18094 gcc_cv_math_func_atan=yes
18095 else
18096 gcc_cv_math_func_atan=no
18097 fi
18098 rm -f core conftest.err conftest.$ac_objext \
18099 conftest$ac_exeext conftest.$ac_ext
18100 fi
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18102 $as_echo "$gcc_cv_math_func_atan" >&6; }
18103 if test $gcc_cv_math_func_atan = yes; then
18104
18105 cat >>confdefs.h <<_ACEOF
18106 #define HAVE_ATAN 1
18107 _ACEOF
18108
18109 fi
18110
18111
18112
18113
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18115 $as_echo_n "checking for atanl... " >&6; }
18116 if ${gcc_cv_math_func_atanl+:} false; then :
18117 $as_echo_n "(cached) " >&6
18118 else
18119 if test x$gcc_no_link = xyes; then
18120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18121 fi
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18124
18125 #ifdef HAVE_COMPLEX_H
18126 #include <complex.h>
18127 #endif
18128 #ifdef HAVE_MATH_H
18129 #include <math.h>
18130 #endif
18131
18132 int (*ptr)() = (int (*)())atanl;
18133
18134 int
18135 main ()
18136 {
18137 return 0;
18138 }
18139
18140 _ACEOF
18141 if ac_fn_c_try_link "$LINENO"; then :
18142 gcc_cv_math_func_atanl=yes
18143 else
18144 gcc_cv_math_func_atanl=no
18145 fi
18146 rm -f core conftest.err conftest.$ac_objext \
18147 conftest$ac_exeext conftest.$ac_ext
18148 fi
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18150 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18151 if test $gcc_cv_math_func_atanl = yes; then
18152
18153 cat >>confdefs.h <<_ACEOF
18154 #define HAVE_ATANL 1
18155 _ACEOF
18156
18157 fi
18158
18159
18160
18161
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18163 $as_echo_n "checking for atanhf... " >&6; }
18164 if ${gcc_cv_math_func_atanhf+:} false; then :
18165 $as_echo_n "(cached) " >&6
18166 else
18167 if test x$gcc_no_link = xyes; then
18168 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18169 fi
18170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18172
18173 #ifdef HAVE_COMPLEX_H
18174 #include <complex.h>
18175 #endif
18176 #ifdef HAVE_MATH_H
18177 #include <math.h>
18178 #endif
18179
18180 int (*ptr)() = (int (*)())atanhf;
18181
18182 int
18183 main ()
18184 {
18185 return 0;
18186 }
18187
18188 _ACEOF
18189 if ac_fn_c_try_link "$LINENO"; then :
18190 gcc_cv_math_func_atanhf=yes
18191 else
18192 gcc_cv_math_func_atanhf=no
18193 fi
18194 rm -f core conftest.err conftest.$ac_objext \
18195 conftest$ac_exeext conftest.$ac_ext
18196 fi
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18198 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18199 if test $gcc_cv_math_func_atanhf = yes; then
18200
18201 cat >>confdefs.h <<_ACEOF
18202 #define HAVE_ATANHF 1
18203 _ACEOF
18204
18205 fi
18206
18207
18208
18209
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18211 $as_echo_n "checking for atanh... " >&6; }
18212 if ${gcc_cv_math_func_atanh+:} false; then :
18213 $as_echo_n "(cached) " >&6
18214 else
18215 if test x$gcc_no_link = xyes; then
18216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18217 fi
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18220
18221 #ifdef HAVE_COMPLEX_H
18222 #include <complex.h>
18223 #endif
18224 #ifdef HAVE_MATH_H
18225 #include <math.h>
18226 #endif
18227
18228 int (*ptr)() = (int (*)())atanh;
18229
18230 int
18231 main ()
18232 {
18233 return 0;
18234 }
18235
18236 _ACEOF
18237 if ac_fn_c_try_link "$LINENO"; then :
18238 gcc_cv_math_func_atanh=yes
18239 else
18240 gcc_cv_math_func_atanh=no
18241 fi
18242 rm -f core conftest.err conftest.$ac_objext \
18243 conftest$ac_exeext conftest.$ac_ext
18244 fi
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18246 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18247 if test $gcc_cv_math_func_atanh = yes; then
18248
18249 cat >>confdefs.h <<_ACEOF
18250 #define HAVE_ATANH 1
18251 _ACEOF
18252
18253 fi
18254
18255
18256
18257
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18259 $as_echo_n "checking for atanhl... " >&6; }
18260 if ${gcc_cv_math_func_atanhl+:} false; then :
18261 $as_echo_n "(cached) " >&6
18262 else
18263 if test x$gcc_no_link = xyes; then
18264 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18265 fi
18266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18267 /* end confdefs.h. */
18268
18269 #ifdef HAVE_COMPLEX_H
18270 #include <complex.h>
18271 #endif
18272 #ifdef HAVE_MATH_H
18273 #include <math.h>
18274 #endif
18275
18276 int (*ptr)() = (int (*)())atanhl;
18277
18278 int
18279 main ()
18280 {
18281 return 0;
18282 }
18283
18284 _ACEOF
18285 if ac_fn_c_try_link "$LINENO"; then :
18286 gcc_cv_math_func_atanhl=yes
18287 else
18288 gcc_cv_math_func_atanhl=no
18289 fi
18290 rm -f core conftest.err conftest.$ac_objext \
18291 conftest$ac_exeext conftest.$ac_ext
18292 fi
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18294 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18295 if test $gcc_cv_math_func_atanhl = yes; then
18296
18297 cat >>confdefs.h <<_ACEOF
18298 #define HAVE_ATANHL 1
18299 _ACEOF
18300
18301 fi
18302
18303
18304
18305
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18307 $as_echo_n "checking for cargf... " >&6; }
18308 if ${gcc_cv_math_func_cargf+:} false; then :
18309 $as_echo_n "(cached) " >&6
18310 else
18311 if test x$gcc_no_link = xyes; then
18312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18313 fi
18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18316
18317 #ifdef HAVE_COMPLEX_H
18318 #include <complex.h>
18319 #endif
18320 #ifdef HAVE_MATH_H
18321 #include <math.h>
18322 #endif
18323
18324 int (*ptr)() = (int (*)())cargf;
18325
18326 int
18327 main ()
18328 {
18329 return 0;
18330 }
18331
18332 _ACEOF
18333 if ac_fn_c_try_link "$LINENO"; then :
18334 gcc_cv_math_func_cargf=yes
18335 else
18336 gcc_cv_math_func_cargf=no
18337 fi
18338 rm -f core conftest.err conftest.$ac_objext \
18339 conftest$ac_exeext conftest.$ac_ext
18340 fi
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18342 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18343 if test $gcc_cv_math_func_cargf = yes; then
18344
18345 cat >>confdefs.h <<_ACEOF
18346 #define HAVE_CARGF 1
18347 _ACEOF
18348
18349 fi
18350
18351
18352
18353
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18355 $as_echo_n "checking for carg... " >&6; }
18356 if ${gcc_cv_math_func_carg+:} false; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18359 if test x$gcc_no_link = xyes; then
18360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18361 fi
18362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18363 /* end confdefs.h. */
18364
18365 #ifdef HAVE_COMPLEX_H
18366 #include <complex.h>
18367 #endif
18368 #ifdef HAVE_MATH_H
18369 #include <math.h>
18370 #endif
18371
18372 int (*ptr)() = (int (*)())carg;
18373
18374 int
18375 main ()
18376 {
18377 return 0;
18378 }
18379
18380 _ACEOF
18381 if ac_fn_c_try_link "$LINENO"; then :
18382 gcc_cv_math_func_carg=yes
18383 else
18384 gcc_cv_math_func_carg=no
18385 fi
18386 rm -f core conftest.err conftest.$ac_objext \
18387 conftest$ac_exeext conftest.$ac_ext
18388 fi
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18390 $as_echo "$gcc_cv_math_func_carg" >&6; }
18391 if test $gcc_cv_math_func_carg = yes; then
18392
18393 cat >>confdefs.h <<_ACEOF
18394 #define HAVE_CARG 1
18395 _ACEOF
18396
18397 fi
18398
18399
18400
18401
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18403 $as_echo_n "checking for cargl... " >&6; }
18404 if ${gcc_cv_math_func_cargl+:} false; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18407 if test x$gcc_no_link = xyes; then
18408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18409 fi
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18412
18413 #ifdef HAVE_COMPLEX_H
18414 #include <complex.h>
18415 #endif
18416 #ifdef HAVE_MATH_H
18417 #include <math.h>
18418 #endif
18419
18420 int (*ptr)() = (int (*)())cargl;
18421
18422 int
18423 main ()
18424 {
18425 return 0;
18426 }
18427
18428 _ACEOF
18429 if ac_fn_c_try_link "$LINENO"; then :
18430 gcc_cv_math_func_cargl=yes
18431 else
18432 gcc_cv_math_func_cargl=no
18433 fi
18434 rm -f core conftest.err conftest.$ac_objext \
18435 conftest$ac_exeext conftest.$ac_ext
18436 fi
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18438 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18439 if test $gcc_cv_math_func_cargl = yes; then
18440
18441 cat >>confdefs.h <<_ACEOF
18442 #define HAVE_CARGL 1
18443 _ACEOF
18444
18445 fi
18446
18447
18448
18449
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18451 $as_echo_n "checking for ceilf... " >&6; }
18452 if ${gcc_cv_math_func_ceilf+:} false; then :
18453 $as_echo_n "(cached) " >&6
18454 else
18455 if test x$gcc_no_link = xyes; then
18456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18457 fi
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18460
18461 #ifdef HAVE_COMPLEX_H
18462 #include <complex.h>
18463 #endif
18464 #ifdef HAVE_MATH_H
18465 #include <math.h>
18466 #endif
18467
18468 int (*ptr)() = (int (*)())ceilf;
18469
18470 int
18471 main ()
18472 {
18473 return 0;
18474 }
18475
18476 _ACEOF
18477 if ac_fn_c_try_link "$LINENO"; then :
18478 gcc_cv_math_func_ceilf=yes
18479 else
18480 gcc_cv_math_func_ceilf=no
18481 fi
18482 rm -f core conftest.err conftest.$ac_objext \
18483 conftest$ac_exeext conftest.$ac_ext
18484 fi
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18486 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18487 if test $gcc_cv_math_func_ceilf = yes; then
18488
18489 cat >>confdefs.h <<_ACEOF
18490 #define HAVE_CEILF 1
18491 _ACEOF
18492
18493 fi
18494
18495
18496
18497
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18499 $as_echo_n "checking for ceil... " >&6; }
18500 if ${gcc_cv_math_func_ceil+:} false; then :
18501 $as_echo_n "(cached) " >&6
18502 else
18503 if test x$gcc_no_link = xyes; then
18504 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18505 fi
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508
18509 #ifdef HAVE_COMPLEX_H
18510 #include <complex.h>
18511 #endif
18512 #ifdef HAVE_MATH_H
18513 #include <math.h>
18514 #endif
18515
18516 int (*ptr)() = (int (*)())ceil;
18517
18518 int
18519 main ()
18520 {
18521 return 0;
18522 }
18523
18524 _ACEOF
18525 if ac_fn_c_try_link "$LINENO"; then :
18526 gcc_cv_math_func_ceil=yes
18527 else
18528 gcc_cv_math_func_ceil=no
18529 fi
18530 rm -f core conftest.err conftest.$ac_objext \
18531 conftest$ac_exeext conftest.$ac_ext
18532 fi
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18534 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18535 if test $gcc_cv_math_func_ceil = yes; then
18536
18537 cat >>confdefs.h <<_ACEOF
18538 #define HAVE_CEIL 1
18539 _ACEOF
18540
18541 fi
18542
18543
18544
18545
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18547 $as_echo_n "checking for ceill... " >&6; }
18548 if ${gcc_cv_math_func_ceill+:} false; then :
18549 $as_echo_n "(cached) " >&6
18550 else
18551 if test x$gcc_no_link = xyes; then
18552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18553 fi
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556
18557 #ifdef HAVE_COMPLEX_H
18558 #include <complex.h>
18559 #endif
18560 #ifdef HAVE_MATH_H
18561 #include <math.h>
18562 #endif
18563
18564 int (*ptr)() = (int (*)())ceill;
18565
18566 int
18567 main ()
18568 {
18569 return 0;
18570 }
18571
18572 _ACEOF
18573 if ac_fn_c_try_link "$LINENO"; then :
18574 gcc_cv_math_func_ceill=yes
18575 else
18576 gcc_cv_math_func_ceill=no
18577 fi
18578 rm -f core conftest.err conftest.$ac_objext \
18579 conftest$ac_exeext conftest.$ac_ext
18580 fi
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18582 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18583 if test $gcc_cv_math_func_ceill = yes; then
18584
18585 cat >>confdefs.h <<_ACEOF
18586 #define HAVE_CEILL 1
18587 _ACEOF
18588
18589 fi
18590
18591
18592
18593
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18595 $as_echo_n "checking for copysignf... " >&6; }
18596 if ${gcc_cv_math_func_copysignf+:} false; then :
18597 $as_echo_n "(cached) " >&6
18598 else
18599 if test x$gcc_no_link = xyes; then
18600 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18601 fi
18602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18604
18605 #ifdef HAVE_COMPLEX_H
18606 #include <complex.h>
18607 #endif
18608 #ifdef HAVE_MATH_H
18609 #include <math.h>
18610 #endif
18611
18612 int (*ptr)() = (int (*)())copysignf;
18613
18614 int
18615 main ()
18616 {
18617 return 0;
18618 }
18619
18620 _ACEOF
18621 if ac_fn_c_try_link "$LINENO"; then :
18622 gcc_cv_math_func_copysignf=yes
18623 else
18624 gcc_cv_math_func_copysignf=no
18625 fi
18626 rm -f core conftest.err conftest.$ac_objext \
18627 conftest$ac_exeext conftest.$ac_ext
18628 fi
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18630 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18631 if test $gcc_cv_math_func_copysignf = yes; then
18632
18633 cat >>confdefs.h <<_ACEOF
18634 #define HAVE_COPYSIGNF 1
18635 _ACEOF
18636
18637 fi
18638
18639
18640
18641
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18643 $as_echo_n "checking for copysign... " >&6; }
18644 if ${gcc_cv_math_func_copysign+:} false; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18647 if test x$gcc_no_link = xyes; then
18648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18649 fi
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18652
18653 #ifdef HAVE_COMPLEX_H
18654 #include <complex.h>
18655 #endif
18656 #ifdef HAVE_MATH_H
18657 #include <math.h>
18658 #endif
18659
18660 int (*ptr)() = (int (*)())copysign;
18661
18662 int
18663 main ()
18664 {
18665 return 0;
18666 }
18667
18668 _ACEOF
18669 if ac_fn_c_try_link "$LINENO"; then :
18670 gcc_cv_math_func_copysign=yes
18671 else
18672 gcc_cv_math_func_copysign=no
18673 fi
18674 rm -f core conftest.err conftest.$ac_objext \
18675 conftest$ac_exeext conftest.$ac_ext
18676 fi
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18678 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18679 if test $gcc_cv_math_func_copysign = yes; then
18680
18681 cat >>confdefs.h <<_ACEOF
18682 #define HAVE_COPYSIGN 1
18683 _ACEOF
18684
18685 fi
18686
18687
18688
18689
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18691 $as_echo_n "checking for copysignl... " >&6; }
18692 if ${gcc_cv_math_func_copysignl+:} false; then :
18693 $as_echo_n "(cached) " >&6
18694 else
18695 if test x$gcc_no_link = xyes; then
18696 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18697 fi
18698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18700
18701 #ifdef HAVE_COMPLEX_H
18702 #include <complex.h>
18703 #endif
18704 #ifdef HAVE_MATH_H
18705 #include <math.h>
18706 #endif
18707
18708 int (*ptr)() = (int (*)())copysignl;
18709
18710 int
18711 main ()
18712 {
18713 return 0;
18714 }
18715
18716 _ACEOF
18717 if ac_fn_c_try_link "$LINENO"; then :
18718 gcc_cv_math_func_copysignl=yes
18719 else
18720 gcc_cv_math_func_copysignl=no
18721 fi
18722 rm -f core conftest.err conftest.$ac_objext \
18723 conftest$ac_exeext conftest.$ac_ext
18724 fi
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18726 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18727 if test $gcc_cv_math_func_copysignl = yes; then
18728
18729 cat >>confdefs.h <<_ACEOF
18730 #define HAVE_COPYSIGNL 1
18731 _ACEOF
18732
18733 fi
18734
18735
18736
18737
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18739 $as_echo_n "checking for cosf... " >&6; }
18740 if ${gcc_cv_math_func_cosf+:} false; then :
18741 $as_echo_n "(cached) " >&6
18742 else
18743 if test x$gcc_no_link = xyes; then
18744 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18745 fi
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748
18749 #ifdef HAVE_COMPLEX_H
18750 #include <complex.h>
18751 #endif
18752 #ifdef HAVE_MATH_H
18753 #include <math.h>
18754 #endif
18755
18756 int (*ptr)() = (int (*)())cosf;
18757
18758 int
18759 main ()
18760 {
18761 return 0;
18762 }
18763
18764 _ACEOF
18765 if ac_fn_c_try_link "$LINENO"; then :
18766 gcc_cv_math_func_cosf=yes
18767 else
18768 gcc_cv_math_func_cosf=no
18769 fi
18770 rm -f core conftest.err conftest.$ac_objext \
18771 conftest$ac_exeext conftest.$ac_ext
18772 fi
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18774 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18775 if test $gcc_cv_math_func_cosf = yes; then
18776
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_COSF 1
18779 _ACEOF
18780
18781 fi
18782
18783
18784
18785
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18787 $as_echo_n "checking for cos... " >&6; }
18788 if ${gcc_cv_math_func_cos+:} false; then :
18789 $as_echo_n "(cached) " >&6
18790 else
18791 if test x$gcc_no_link = xyes; then
18792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18793 fi
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796
18797 #ifdef HAVE_COMPLEX_H
18798 #include <complex.h>
18799 #endif
18800 #ifdef HAVE_MATH_H
18801 #include <math.h>
18802 #endif
18803
18804 int (*ptr)() = (int (*)())cos;
18805
18806 int
18807 main ()
18808 {
18809 return 0;
18810 }
18811
18812 _ACEOF
18813 if ac_fn_c_try_link "$LINENO"; then :
18814 gcc_cv_math_func_cos=yes
18815 else
18816 gcc_cv_math_func_cos=no
18817 fi
18818 rm -f core conftest.err conftest.$ac_objext \
18819 conftest$ac_exeext conftest.$ac_ext
18820 fi
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18822 $as_echo "$gcc_cv_math_func_cos" >&6; }
18823 if test $gcc_cv_math_func_cos = yes; then
18824
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_COS 1
18827 _ACEOF
18828
18829 fi
18830
18831
18832
18833
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18835 $as_echo_n "checking for cosl... " >&6; }
18836 if ${gcc_cv_math_func_cosl+:} false; then :
18837 $as_echo_n "(cached) " >&6
18838 else
18839 if test x$gcc_no_link = xyes; then
18840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18841 fi
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844
18845 #ifdef HAVE_COMPLEX_H
18846 #include <complex.h>
18847 #endif
18848 #ifdef HAVE_MATH_H
18849 #include <math.h>
18850 #endif
18851
18852 int (*ptr)() = (int (*)())cosl;
18853
18854 int
18855 main ()
18856 {
18857 return 0;
18858 }
18859
18860 _ACEOF
18861 if ac_fn_c_try_link "$LINENO"; then :
18862 gcc_cv_math_func_cosl=yes
18863 else
18864 gcc_cv_math_func_cosl=no
18865 fi
18866 rm -f core conftest.err conftest.$ac_objext \
18867 conftest$ac_exeext conftest.$ac_ext
18868 fi
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18870 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18871 if test $gcc_cv_math_func_cosl = yes; then
18872
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_COSL 1
18875 _ACEOF
18876
18877 fi
18878
18879
18880
18881
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18883 $as_echo_n "checking for ccosf... " >&6; }
18884 if ${gcc_cv_math_func_ccosf+:} false; then :
18885 $as_echo_n "(cached) " >&6
18886 else
18887 if test x$gcc_no_link = xyes; then
18888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18889 fi
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18892
18893 #ifdef HAVE_COMPLEX_H
18894 #include <complex.h>
18895 #endif
18896 #ifdef HAVE_MATH_H
18897 #include <math.h>
18898 #endif
18899
18900 int (*ptr)() = (int (*)())ccosf;
18901
18902 int
18903 main ()
18904 {
18905 return 0;
18906 }
18907
18908 _ACEOF
18909 if ac_fn_c_try_link "$LINENO"; then :
18910 gcc_cv_math_func_ccosf=yes
18911 else
18912 gcc_cv_math_func_ccosf=no
18913 fi
18914 rm -f core conftest.err conftest.$ac_objext \
18915 conftest$ac_exeext conftest.$ac_ext
18916 fi
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18918 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18919 if test $gcc_cv_math_func_ccosf = yes; then
18920
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_CCOSF 1
18923 _ACEOF
18924
18925 fi
18926
18927
18928
18929
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18931 $as_echo_n "checking for ccos... " >&6; }
18932 if ${gcc_cv_math_func_ccos+:} false; then :
18933 $as_echo_n "(cached) " >&6
18934 else
18935 if test x$gcc_no_link = xyes; then
18936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18937 fi
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940
18941 #ifdef HAVE_COMPLEX_H
18942 #include <complex.h>
18943 #endif
18944 #ifdef HAVE_MATH_H
18945 #include <math.h>
18946 #endif
18947
18948 int (*ptr)() = (int (*)())ccos;
18949
18950 int
18951 main ()
18952 {
18953 return 0;
18954 }
18955
18956 _ACEOF
18957 if ac_fn_c_try_link "$LINENO"; then :
18958 gcc_cv_math_func_ccos=yes
18959 else
18960 gcc_cv_math_func_ccos=no
18961 fi
18962 rm -f core conftest.err conftest.$ac_objext \
18963 conftest$ac_exeext conftest.$ac_ext
18964 fi
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18966 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18967 if test $gcc_cv_math_func_ccos = yes; then
18968
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_CCOS 1
18971 _ACEOF
18972
18973 fi
18974
18975
18976
18977
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18979 $as_echo_n "checking for ccosl... " >&6; }
18980 if ${gcc_cv_math_func_ccosl+:} false; then :
18981 $as_echo_n "(cached) " >&6
18982 else
18983 if test x$gcc_no_link = xyes; then
18984 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18985 fi
18986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18987 /* end confdefs.h. */
18988
18989 #ifdef HAVE_COMPLEX_H
18990 #include <complex.h>
18991 #endif
18992 #ifdef HAVE_MATH_H
18993 #include <math.h>
18994 #endif
18995
18996 int (*ptr)() = (int (*)())ccosl;
18997
18998 int
18999 main ()
19000 {
19001 return 0;
19002 }
19003
19004 _ACEOF
19005 if ac_fn_c_try_link "$LINENO"; then :
19006 gcc_cv_math_func_ccosl=yes
19007 else
19008 gcc_cv_math_func_ccosl=no
19009 fi
19010 rm -f core conftest.err conftest.$ac_objext \
19011 conftest$ac_exeext conftest.$ac_ext
19012 fi
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19014 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19015 if test $gcc_cv_math_func_ccosl = yes; then
19016
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_CCOSL 1
19019 _ACEOF
19020
19021 fi
19022
19023
19024
19025
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19027 $as_echo_n "checking for coshf... " >&6; }
19028 if ${gcc_cv_math_func_coshf+:} false; then :
19029 $as_echo_n "(cached) " >&6
19030 else
19031 if test x$gcc_no_link = xyes; then
19032 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19033 fi
19034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19036
19037 #ifdef HAVE_COMPLEX_H
19038 #include <complex.h>
19039 #endif
19040 #ifdef HAVE_MATH_H
19041 #include <math.h>
19042 #endif
19043
19044 int (*ptr)() = (int (*)())coshf;
19045
19046 int
19047 main ()
19048 {
19049 return 0;
19050 }
19051
19052 _ACEOF
19053 if ac_fn_c_try_link "$LINENO"; then :
19054 gcc_cv_math_func_coshf=yes
19055 else
19056 gcc_cv_math_func_coshf=no
19057 fi
19058 rm -f core conftest.err conftest.$ac_objext \
19059 conftest$ac_exeext conftest.$ac_ext
19060 fi
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19062 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19063 if test $gcc_cv_math_func_coshf = yes; then
19064
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_COSHF 1
19067 _ACEOF
19068
19069 fi
19070
19071
19072
19073
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19075 $as_echo_n "checking for cosh... " >&6; }
19076 if ${gcc_cv_math_func_cosh+:} false; then :
19077 $as_echo_n "(cached) " >&6
19078 else
19079 if test x$gcc_no_link = xyes; then
19080 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19081 fi
19082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19083 /* end confdefs.h. */
19084
19085 #ifdef HAVE_COMPLEX_H
19086 #include <complex.h>
19087 #endif
19088 #ifdef HAVE_MATH_H
19089 #include <math.h>
19090 #endif
19091
19092 int (*ptr)() = (int (*)())cosh;
19093
19094 int
19095 main ()
19096 {
19097 return 0;
19098 }
19099
19100 _ACEOF
19101 if ac_fn_c_try_link "$LINENO"; then :
19102 gcc_cv_math_func_cosh=yes
19103 else
19104 gcc_cv_math_func_cosh=no
19105 fi
19106 rm -f core conftest.err conftest.$ac_objext \
19107 conftest$ac_exeext conftest.$ac_ext
19108 fi
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19110 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19111 if test $gcc_cv_math_func_cosh = yes; then
19112
19113 cat >>confdefs.h <<_ACEOF
19114 #define HAVE_COSH 1
19115 _ACEOF
19116
19117 fi
19118
19119
19120
19121
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19123 $as_echo_n "checking for coshl... " >&6; }
19124 if ${gcc_cv_math_func_coshl+:} false; then :
19125 $as_echo_n "(cached) " >&6
19126 else
19127 if test x$gcc_no_link = xyes; then
19128 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19129 fi
19130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19131 /* end confdefs.h. */
19132
19133 #ifdef HAVE_COMPLEX_H
19134 #include <complex.h>
19135 #endif
19136 #ifdef HAVE_MATH_H
19137 #include <math.h>
19138 #endif
19139
19140 int (*ptr)() = (int (*)())coshl;
19141
19142 int
19143 main ()
19144 {
19145 return 0;
19146 }
19147
19148 _ACEOF
19149 if ac_fn_c_try_link "$LINENO"; then :
19150 gcc_cv_math_func_coshl=yes
19151 else
19152 gcc_cv_math_func_coshl=no
19153 fi
19154 rm -f core conftest.err conftest.$ac_objext \
19155 conftest$ac_exeext conftest.$ac_ext
19156 fi
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19158 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19159 if test $gcc_cv_math_func_coshl = yes; then
19160
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_COSHL 1
19163 _ACEOF
19164
19165 fi
19166
19167
19168
19169
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19171 $as_echo_n "checking for ccoshf... " >&6; }
19172 if ${gcc_cv_math_func_ccoshf+:} false; then :
19173 $as_echo_n "(cached) " >&6
19174 else
19175 if test x$gcc_no_link = xyes; then
19176 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19177 fi
19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h. */
19180
19181 #ifdef HAVE_COMPLEX_H
19182 #include <complex.h>
19183 #endif
19184 #ifdef HAVE_MATH_H
19185 #include <math.h>
19186 #endif
19187
19188 int (*ptr)() = (int (*)())ccoshf;
19189
19190 int
19191 main ()
19192 {
19193 return 0;
19194 }
19195
19196 _ACEOF
19197 if ac_fn_c_try_link "$LINENO"; then :
19198 gcc_cv_math_func_ccoshf=yes
19199 else
19200 gcc_cv_math_func_ccoshf=no
19201 fi
19202 rm -f core conftest.err conftest.$ac_objext \
19203 conftest$ac_exeext conftest.$ac_ext
19204 fi
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19206 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19207 if test $gcc_cv_math_func_ccoshf = yes; then
19208
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_CCOSHF 1
19211 _ACEOF
19212
19213 fi
19214
19215
19216
19217
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19219 $as_echo_n "checking for ccosh... " >&6; }
19220 if ${gcc_cv_math_func_ccosh+:} false; then :
19221 $as_echo_n "(cached) " >&6
19222 else
19223 if test x$gcc_no_link = xyes; then
19224 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19225 fi
19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228
19229 #ifdef HAVE_COMPLEX_H
19230 #include <complex.h>
19231 #endif
19232 #ifdef HAVE_MATH_H
19233 #include <math.h>
19234 #endif
19235
19236 int (*ptr)() = (int (*)())ccosh;
19237
19238 int
19239 main ()
19240 {
19241 return 0;
19242 }
19243
19244 _ACEOF
19245 if ac_fn_c_try_link "$LINENO"; then :
19246 gcc_cv_math_func_ccosh=yes
19247 else
19248 gcc_cv_math_func_ccosh=no
19249 fi
19250 rm -f core conftest.err conftest.$ac_objext \
19251 conftest$ac_exeext conftest.$ac_ext
19252 fi
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19254 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19255 if test $gcc_cv_math_func_ccosh = yes; then
19256
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_CCOSH 1
19259 _ACEOF
19260
19261 fi
19262
19263
19264
19265
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19267 $as_echo_n "checking for ccoshl... " >&6; }
19268 if ${gcc_cv_math_func_ccoshl+:} false; then :
19269 $as_echo_n "(cached) " >&6
19270 else
19271 if test x$gcc_no_link = xyes; then
19272 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19273 fi
19274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19276
19277 #ifdef HAVE_COMPLEX_H
19278 #include <complex.h>
19279 #endif
19280 #ifdef HAVE_MATH_H
19281 #include <math.h>
19282 #endif
19283
19284 int (*ptr)() = (int (*)())ccoshl;
19285
19286 int
19287 main ()
19288 {
19289 return 0;
19290 }
19291
19292 _ACEOF
19293 if ac_fn_c_try_link "$LINENO"; then :
19294 gcc_cv_math_func_ccoshl=yes
19295 else
19296 gcc_cv_math_func_ccoshl=no
19297 fi
19298 rm -f core conftest.err conftest.$ac_objext \
19299 conftest$ac_exeext conftest.$ac_ext
19300 fi
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19302 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19303 if test $gcc_cv_math_func_ccoshl = yes; then
19304
19305 cat >>confdefs.h <<_ACEOF
19306 #define HAVE_CCOSHL 1
19307 _ACEOF
19308
19309 fi
19310
19311
19312
19313
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19315 $as_echo_n "checking for expf... " >&6; }
19316 if ${gcc_cv_math_func_expf+:} false; then :
19317 $as_echo_n "(cached) " >&6
19318 else
19319 if test x$gcc_no_link = xyes; then
19320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19321 fi
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19324
19325 #ifdef HAVE_COMPLEX_H
19326 #include <complex.h>
19327 #endif
19328 #ifdef HAVE_MATH_H
19329 #include <math.h>
19330 #endif
19331
19332 int (*ptr)() = (int (*)())expf;
19333
19334 int
19335 main ()
19336 {
19337 return 0;
19338 }
19339
19340 _ACEOF
19341 if ac_fn_c_try_link "$LINENO"; then :
19342 gcc_cv_math_func_expf=yes
19343 else
19344 gcc_cv_math_func_expf=no
19345 fi
19346 rm -f core conftest.err conftest.$ac_objext \
19347 conftest$ac_exeext conftest.$ac_ext
19348 fi
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19350 $as_echo "$gcc_cv_math_func_expf" >&6; }
19351 if test $gcc_cv_math_func_expf = yes; then
19352
19353 cat >>confdefs.h <<_ACEOF
19354 #define HAVE_EXPF 1
19355 _ACEOF
19356
19357 fi
19358
19359
19360
19361
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19363 $as_echo_n "checking for exp... " >&6; }
19364 if ${gcc_cv_math_func_exp+:} false; then :
19365 $as_echo_n "(cached) " >&6
19366 else
19367 if test x$gcc_no_link = xyes; then
19368 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19369 fi
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372
19373 #ifdef HAVE_COMPLEX_H
19374 #include <complex.h>
19375 #endif
19376 #ifdef HAVE_MATH_H
19377 #include <math.h>
19378 #endif
19379
19380 int (*ptr)() = (int (*)())exp;
19381
19382 int
19383 main ()
19384 {
19385 return 0;
19386 }
19387
19388 _ACEOF
19389 if ac_fn_c_try_link "$LINENO"; then :
19390 gcc_cv_math_func_exp=yes
19391 else
19392 gcc_cv_math_func_exp=no
19393 fi
19394 rm -f core conftest.err conftest.$ac_objext \
19395 conftest$ac_exeext conftest.$ac_ext
19396 fi
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19398 $as_echo "$gcc_cv_math_func_exp" >&6; }
19399 if test $gcc_cv_math_func_exp = yes; then
19400
19401 cat >>confdefs.h <<_ACEOF
19402 #define HAVE_EXP 1
19403 _ACEOF
19404
19405 fi
19406
19407
19408
19409
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19411 $as_echo_n "checking for expl... " >&6; }
19412 if ${gcc_cv_math_func_expl+:} false; then :
19413 $as_echo_n "(cached) " >&6
19414 else
19415 if test x$gcc_no_link = xyes; then
19416 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19417 fi
19418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19419 /* end confdefs.h. */
19420
19421 #ifdef HAVE_COMPLEX_H
19422 #include <complex.h>
19423 #endif
19424 #ifdef HAVE_MATH_H
19425 #include <math.h>
19426 #endif
19427
19428 int (*ptr)() = (int (*)())expl;
19429
19430 int
19431 main ()
19432 {
19433 return 0;
19434 }
19435
19436 _ACEOF
19437 if ac_fn_c_try_link "$LINENO"; then :
19438 gcc_cv_math_func_expl=yes
19439 else
19440 gcc_cv_math_func_expl=no
19441 fi
19442 rm -f core conftest.err conftest.$ac_objext \
19443 conftest$ac_exeext conftest.$ac_ext
19444 fi
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19446 $as_echo "$gcc_cv_math_func_expl" >&6; }
19447 if test $gcc_cv_math_func_expl = yes; then
19448
19449 cat >>confdefs.h <<_ACEOF
19450 #define HAVE_EXPL 1
19451 _ACEOF
19452
19453 fi
19454
19455
19456
19457
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19459 $as_echo_n "checking for cexpf... " >&6; }
19460 if ${gcc_cv_math_func_cexpf+:} false; then :
19461 $as_echo_n "(cached) " >&6
19462 else
19463 if test x$gcc_no_link = xyes; then
19464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19465 fi
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19468
19469 #ifdef HAVE_COMPLEX_H
19470 #include <complex.h>
19471 #endif
19472 #ifdef HAVE_MATH_H
19473 #include <math.h>
19474 #endif
19475
19476 int (*ptr)() = (int (*)())cexpf;
19477
19478 int
19479 main ()
19480 {
19481 return 0;
19482 }
19483
19484 _ACEOF
19485 if ac_fn_c_try_link "$LINENO"; then :
19486 gcc_cv_math_func_cexpf=yes
19487 else
19488 gcc_cv_math_func_cexpf=no
19489 fi
19490 rm -f core conftest.err conftest.$ac_objext \
19491 conftest$ac_exeext conftest.$ac_ext
19492 fi
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19494 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19495 if test $gcc_cv_math_func_cexpf = yes; then
19496
19497 cat >>confdefs.h <<_ACEOF
19498 #define HAVE_CEXPF 1
19499 _ACEOF
19500
19501 fi
19502
19503
19504
19505
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19507 $as_echo_n "checking for cexp... " >&6; }
19508 if ${gcc_cv_math_func_cexp+:} false; then :
19509 $as_echo_n "(cached) " >&6
19510 else
19511 if test x$gcc_no_link = xyes; then
19512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19513 fi
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516
19517 #ifdef HAVE_COMPLEX_H
19518 #include <complex.h>
19519 #endif
19520 #ifdef HAVE_MATH_H
19521 #include <math.h>
19522 #endif
19523
19524 int (*ptr)() = (int (*)())cexp;
19525
19526 int
19527 main ()
19528 {
19529 return 0;
19530 }
19531
19532 _ACEOF
19533 if ac_fn_c_try_link "$LINENO"; then :
19534 gcc_cv_math_func_cexp=yes
19535 else
19536 gcc_cv_math_func_cexp=no
19537 fi
19538 rm -f core conftest.err conftest.$ac_objext \
19539 conftest$ac_exeext conftest.$ac_ext
19540 fi
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19542 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19543 if test $gcc_cv_math_func_cexp = yes; then
19544
19545 cat >>confdefs.h <<_ACEOF
19546 #define HAVE_CEXP 1
19547 _ACEOF
19548
19549 fi
19550
19551
19552
19553
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19555 $as_echo_n "checking for cexpl... " >&6; }
19556 if ${gcc_cv_math_func_cexpl+:} false; then :
19557 $as_echo_n "(cached) " >&6
19558 else
19559 if test x$gcc_no_link = xyes; then
19560 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19561 fi
19562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19564
19565 #ifdef HAVE_COMPLEX_H
19566 #include <complex.h>
19567 #endif
19568 #ifdef HAVE_MATH_H
19569 #include <math.h>
19570 #endif
19571
19572 int (*ptr)() = (int (*)())cexpl;
19573
19574 int
19575 main ()
19576 {
19577 return 0;
19578 }
19579
19580 _ACEOF
19581 if ac_fn_c_try_link "$LINENO"; then :
19582 gcc_cv_math_func_cexpl=yes
19583 else
19584 gcc_cv_math_func_cexpl=no
19585 fi
19586 rm -f core conftest.err conftest.$ac_objext \
19587 conftest$ac_exeext conftest.$ac_ext
19588 fi
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19590 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19591 if test $gcc_cv_math_func_cexpl = yes; then
19592
19593 cat >>confdefs.h <<_ACEOF
19594 #define HAVE_CEXPL 1
19595 _ACEOF
19596
19597 fi
19598
19599
19600
19601
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19603 $as_echo_n "checking for fabsf... " >&6; }
19604 if ${gcc_cv_math_func_fabsf+:} false; then :
19605 $as_echo_n "(cached) " >&6
19606 else
19607 if test x$gcc_no_link = xyes; then
19608 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19609 fi
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19612
19613 #ifdef HAVE_COMPLEX_H
19614 #include <complex.h>
19615 #endif
19616 #ifdef HAVE_MATH_H
19617 #include <math.h>
19618 #endif
19619
19620 int (*ptr)() = (int (*)())fabsf;
19621
19622 int
19623 main ()
19624 {
19625 return 0;
19626 }
19627
19628 _ACEOF
19629 if ac_fn_c_try_link "$LINENO"; then :
19630 gcc_cv_math_func_fabsf=yes
19631 else
19632 gcc_cv_math_func_fabsf=no
19633 fi
19634 rm -f core conftest.err conftest.$ac_objext \
19635 conftest$ac_exeext conftest.$ac_ext
19636 fi
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19638 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19639 if test $gcc_cv_math_func_fabsf = yes; then
19640
19641 cat >>confdefs.h <<_ACEOF
19642 #define HAVE_FABSF 1
19643 _ACEOF
19644
19645 fi
19646
19647
19648
19649
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19651 $as_echo_n "checking for fabs... " >&6; }
19652 if ${gcc_cv_math_func_fabs+:} false; then :
19653 $as_echo_n "(cached) " >&6
19654 else
19655 if test x$gcc_no_link = xyes; then
19656 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19657 fi
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19660
19661 #ifdef HAVE_COMPLEX_H
19662 #include <complex.h>
19663 #endif
19664 #ifdef HAVE_MATH_H
19665 #include <math.h>
19666 #endif
19667
19668 int (*ptr)() = (int (*)())fabs;
19669
19670 int
19671 main ()
19672 {
19673 return 0;
19674 }
19675
19676 _ACEOF
19677 if ac_fn_c_try_link "$LINENO"; then :
19678 gcc_cv_math_func_fabs=yes
19679 else
19680 gcc_cv_math_func_fabs=no
19681 fi
19682 rm -f core conftest.err conftest.$ac_objext \
19683 conftest$ac_exeext conftest.$ac_ext
19684 fi
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19686 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19687 if test $gcc_cv_math_func_fabs = yes; then
19688
19689 cat >>confdefs.h <<_ACEOF
19690 #define HAVE_FABS 1
19691 _ACEOF
19692
19693 fi
19694
19695
19696
19697
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19699 $as_echo_n "checking for fabsl... " >&6; }
19700 if ${gcc_cv_math_func_fabsl+:} false; then :
19701 $as_echo_n "(cached) " >&6
19702 else
19703 if test x$gcc_no_link = xyes; then
19704 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19705 fi
19706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19708
19709 #ifdef HAVE_COMPLEX_H
19710 #include <complex.h>
19711 #endif
19712 #ifdef HAVE_MATH_H
19713 #include <math.h>
19714 #endif
19715
19716 int (*ptr)() = (int (*)())fabsl;
19717
19718 int
19719 main ()
19720 {
19721 return 0;
19722 }
19723
19724 _ACEOF
19725 if ac_fn_c_try_link "$LINENO"; then :
19726 gcc_cv_math_func_fabsl=yes
19727 else
19728 gcc_cv_math_func_fabsl=no
19729 fi
19730 rm -f core conftest.err conftest.$ac_objext \
19731 conftest$ac_exeext conftest.$ac_ext
19732 fi
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19734 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19735 if test $gcc_cv_math_func_fabsl = yes; then
19736
19737 cat >>confdefs.h <<_ACEOF
19738 #define HAVE_FABSL 1
19739 _ACEOF
19740
19741 fi
19742
19743
19744
19745
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19747 $as_echo_n "checking for cabsf... " >&6; }
19748 if ${gcc_cv_math_func_cabsf+:} false; then :
19749 $as_echo_n "(cached) " >&6
19750 else
19751 if test x$gcc_no_link = xyes; then
19752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19753 fi
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756
19757 #ifdef HAVE_COMPLEX_H
19758 #include <complex.h>
19759 #endif
19760 #ifdef HAVE_MATH_H
19761 #include <math.h>
19762 #endif
19763
19764 int (*ptr)() = (int (*)())cabsf;
19765
19766 int
19767 main ()
19768 {
19769 return 0;
19770 }
19771
19772 _ACEOF
19773 if ac_fn_c_try_link "$LINENO"; then :
19774 gcc_cv_math_func_cabsf=yes
19775 else
19776 gcc_cv_math_func_cabsf=no
19777 fi
19778 rm -f core conftest.err conftest.$ac_objext \
19779 conftest$ac_exeext conftest.$ac_ext
19780 fi
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19782 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19783 if test $gcc_cv_math_func_cabsf = yes; then
19784
19785 cat >>confdefs.h <<_ACEOF
19786 #define HAVE_CABSF 1
19787 _ACEOF
19788
19789 fi
19790
19791
19792
19793
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19795 $as_echo_n "checking for cabs... " >&6; }
19796 if ${gcc_cv_math_func_cabs+:} false; then :
19797 $as_echo_n "(cached) " >&6
19798 else
19799 if test x$gcc_no_link = xyes; then
19800 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19801 fi
19802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h. */
19804
19805 #ifdef HAVE_COMPLEX_H
19806 #include <complex.h>
19807 #endif
19808 #ifdef HAVE_MATH_H
19809 #include <math.h>
19810 #endif
19811
19812 int (*ptr)() = (int (*)())cabs;
19813
19814 int
19815 main ()
19816 {
19817 return 0;
19818 }
19819
19820 _ACEOF
19821 if ac_fn_c_try_link "$LINENO"; then :
19822 gcc_cv_math_func_cabs=yes
19823 else
19824 gcc_cv_math_func_cabs=no
19825 fi
19826 rm -f core conftest.err conftest.$ac_objext \
19827 conftest$ac_exeext conftest.$ac_ext
19828 fi
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19830 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19831 if test $gcc_cv_math_func_cabs = yes; then
19832
19833 cat >>confdefs.h <<_ACEOF
19834 #define HAVE_CABS 1
19835 _ACEOF
19836
19837 fi
19838
19839
19840
19841
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19843 $as_echo_n "checking for cabsl... " >&6; }
19844 if ${gcc_cv_math_func_cabsl+:} false; then :
19845 $as_echo_n "(cached) " >&6
19846 else
19847 if test x$gcc_no_link = xyes; then
19848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19849 fi
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19852
19853 #ifdef HAVE_COMPLEX_H
19854 #include <complex.h>
19855 #endif
19856 #ifdef HAVE_MATH_H
19857 #include <math.h>
19858 #endif
19859
19860 int (*ptr)() = (int (*)())cabsl;
19861
19862 int
19863 main ()
19864 {
19865 return 0;
19866 }
19867
19868 _ACEOF
19869 if ac_fn_c_try_link "$LINENO"; then :
19870 gcc_cv_math_func_cabsl=yes
19871 else
19872 gcc_cv_math_func_cabsl=no
19873 fi
19874 rm -f core conftest.err conftest.$ac_objext \
19875 conftest$ac_exeext conftest.$ac_ext
19876 fi
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19878 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19879 if test $gcc_cv_math_func_cabsl = yes; then
19880
19881 cat >>confdefs.h <<_ACEOF
19882 #define HAVE_CABSL 1
19883 _ACEOF
19884
19885 fi
19886
19887
19888
19889
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19891 $as_echo_n "checking for floorf... " >&6; }
19892 if ${gcc_cv_math_func_floorf+:} false; then :
19893 $as_echo_n "(cached) " >&6
19894 else
19895 if test x$gcc_no_link = xyes; then
19896 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19897 fi
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900
19901 #ifdef HAVE_COMPLEX_H
19902 #include <complex.h>
19903 #endif
19904 #ifdef HAVE_MATH_H
19905 #include <math.h>
19906 #endif
19907
19908 int (*ptr)() = (int (*)())floorf;
19909
19910 int
19911 main ()
19912 {
19913 return 0;
19914 }
19915
19916 _ACEOF
19917 if ac_fn_c_try_link "$LINENO"; then :
19918 gcc_cv_math_func_floorf=yes
19919 else
19920 gcc_cv_math_func_floorf=no
19921 fi
19922 rm -f core conftest.err conftest.$ac_objext \
19923 conftest$ac_exeext conftest.$ac_ext
19924 fi
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19926 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19927 if test $gcc_cv_math_func_floorf = yes; then
19928
19929 cat >>confdefs.h <<_ACEOF
19930 #define HAVE_FLOORF 1
19931 _ACEOF
19932
19933 fi
19934
19935
19936
19937
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19939 $as_echo_n "checking for floor... " >&6; }
19940 if ${gcc_cv_math_func_floor+:} false; then :
19941 $as_echo_n "(cached) " >&6
19942 else
19943 if test x$gcc_no_link = xyes; then
19944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19945 fi
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19948
19949 #ifdef HAVE_COMPLEX_H
19950 #include <complex.h>
19951 #endif
19952 #ifdef HAVE_MATH_H
19953 #include <math.h>
19954 #endif
19955
19956 int (*ptr)() = (int (*)())floor;
19957
19958 int
19959 main ()
19960 {
19961 return 0;
19962 }
19963
19964 _ACEOF
19965 if ac_fn_c_try_link "$LINENO"; then :
19966 gcc_cv_math_func_floor=yes
19967 else
19968 gcc_cv_math_func_floor=no
19969 fi
19970 rm -f core conftest.err conftest.$ac_objext \
19971 conftest$ac_exeext conftest.$ac_ext
19972 fi
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19974 $as_echo "$gcc_cv_math_func_floor" >&6; }
19975 if test $gcc_cv_math_func_floor = yes; then
19976
19977 cat >>confdefs.h <<_ACEOF
19978 #define HAVE_FLOOR 1
19979 _ACEOF
19980
19981 fi
19982
19983
19984
19985
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19987 $as_echo_n "checking for floorl... " >&6; }
19988 if ${gcc_cv_math_func_floorl+:} false; then :
19989 $as_echo_n "(cached) " >&6
19990 else
19991 if test x$gcc_no_link = xyes; then
19992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19993 fi
19994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h. */
19996
19997 #ifdef HAVE_COMPLEX_H
19998 #include <complex.h>
19999 #endif
20000 #ifdef HAVE_MATH_H
20001 #include <math.h>
20002 #endif
20003
20004 int (*ptr)() = (int (*)())floorl;
20005
20006 int
20007 main ()
20008 {
20009 return 0;
20010 }
20011
20012 _ACEOF
20013 if ac_fn_c_try_link "$LINENO"; then :
20014 gcc_cv_math_func_floorl=yes
20015 else
20016 gcc_cv_math_func_floorl=no
20017 fi
20018 rm -f core conftest.err conftest.$ac_objext \
20019 conftest$ac_exeext conftest.$ac_ext
20020 fi
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20022 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20023 if test $gcc_cv_math_func_floorl = yes; then
20024
20025 cat >>confdefs.h <<_ACEOF
20026 #define HAVE_FLOORL 1
20027 _ACEOF
20028
20029 fi
20030
20031
20032
20033
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20035 $as_echo_n "checking for fmaf... " >&6; }
20036 if ${gcc_cv_math_func_fmaf+:} false; then :
20037 $as_echo_n "(cached) " >&6
20038 else
20039 if test x$gcc_no_link = xyes; then
20040 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20041 fi
20042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20043 /* end confdefs.h. */
20044
20045 #ifdef HAVE_COMPLEX_H
20046 #include <complex.h>
20047 #endif
20048 #ifdef HAVE_MATH_H
20049 #include <math.h>
20050 #endif
20051
20052 int (*ptr)() = (int (*)())fmaf;
20053
20054 int
20055 main ()
20056 {
20057 return 0;
20058 }
20059
20060 _ACEOF
20061 if ac_fn_c_try_link "$LINENO"; then :
20062 gcc_cv_math_func_fmaf=yes
20063 else
20064 gcc_cv_math_func_fmaf=no
20065 fi
20066 rm -f core conftest.err conftest.$ac_objext \
20067 conftest$ac_exeext conftest.$ac_ext
20068 fi
20069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20070 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20071 if test $gcc_cv_math_func_fmaf = yes; then
20072
20073 cat >>confdefs.h <<_ACEOF
20074 #define HAVE_FMAF 1
20075 _ACEOF
20076
20077 fi
20078
20079
20080
20081
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20083 $as_echo_n "checking for fma... " >&6; }
20084 if ${gcc_cv_math_func_fma+:} false; then :
20085 $as_echo_n "(cached) " >&6
20086 else
20087 if test x$gcc_no_link = xyes; then
20088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20089 fi
20090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20092
20093 #ifdef HAVE_COMPLEX_H
20094 #include <complex.h>
20095 #endif
20096 #ifdef HAVE_MATH_H
20097 #include <math.h>
20098 #endif
20099
20100 int (*ptr)() = (int (*)())fma;
20101
20102 int
20103 main ()
20104 {
20105 return 0;
20106 }
20107
20108 _ACEOF
20109 if ac_fn_c_try_link "$LINENO"; then :
20110 gcc_cv_math_func_fma=yes
20111 else
20112 gcc_cv_math_func_fma=no
20113 fi
20114 rm -f core conftest.err conftest.$ac_objext \
20115 conftest$ac_exeext conftest.$ac_ext
20116 fi
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20118 $as_echo "$gcc_cv_math_func_fma" >&6; }
20119 if test $gcc_cv_math_func_fma = yes; then
20120
20121 cat >>confdefs.h <<_ACEOF
20122 #define HAVE_FMA 1
20123 _ACEOF
20124
20125 fi
20126
20127
20128
20129
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20131 $as_echo_n "checking for fmal... " >&6; }
20132 if ${gcc_cv_math_func_fmal+:} false; then :
20133 $as_echo_n "(cached) " >&6
20134 else
20135 if test x$gcc_no_link = xyes; then
20136 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20137 fi
20138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20139 /* end confdefs.h. */
20140
20141 #ifdef HAVE_COMPLEX_H
20142 #include <complex.h>
20143 #endif
20144 #ifdef HAVE_MATH_H
20145 #include <math.h>
20146 #endif
20147
20148 int (*ptr)() = (int (*)())fmal;
20149
20150 int
20151 main ()
20152 {
20153 return 0;
20154 }
20155
20156 _ACEOF
20157 if ac_fn_c_try_link "$LINENO"; then :
20158 gcc_cv_math_func_fmal=yes
20159 else
20160 gcc_cv_math_func_fmal=no
20161 fi
20162 rm -f core conftest.err conftest.$ac_objext \
20163 conftest$ac_exeext conftest.$ac_ext
20164 fi
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20166 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20167 if test $gcc_cv_math_func_fmal = yes; then
20168
20169 cat >>confdefs.h <<_ACEOF
20170 #define HAVE_FMAL 1
20171 _ACEOF
20172
20173 fi
20174
20175
20176
20177
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20179 $as_echo_n "checking for fmodf... " >&6; }
20180 if ${gcc_cv_math_func_fmodf+:} false; then :
20181 $as_echo_n "(cached) " >&6
20182 else
20183 if test x$gcc_no_link = xyes; then
20184 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20185 fi
20186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20188
20189 #ifdef HAVE_COMPLEX_H
20190 #include <complex.h>
20191 #endif
20192 #ifdef HAVE_MATH_H
20193 #include <math.h>
20194 #endif
20195
20196 int (*ptr)() = (int (*)())fmodf;
20197
20198 int
20199 main ()
20200 {
20201 return 0;
20202 }
20203
20204 _ACEOF
20205 if ac_fn_c_try_link "$LINENO"; then :
20206 gcc_cv_math_func_fmodf=yes
20207 else
20208 gcc_cv_math_func_fmodf=no
20209 fi
20210 rm -f core conftest.err conftest.$ac_objext \
20211 conftest$ac_exeext conftest.$ac_ext
20212 fi
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20214 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20215 if test $gcc_cv_math_func_fmodf = yes; then
20216
20217 cat >>confdefs.h <<_ACEOF
20218 #define HAVE_FMODF 1
20219 _ACEOF
20220
20221 fi
20222
20223
20224
20225
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20227 $as_echo_n "checking for fmod... " >&6; }
20228 if ${gcc_cv_math_func_fmod+:} false; then :
20229 $as_echo_n "(cached) " >&6
20230 else
20231 if test x$gcc_no_link = xyes; then
20232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20233 fi
20234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20235 /* end confdefs.h. */
20236
20237 #ifdef HAVE_COMPLEX_H
20238 #include <complex.h>
20239 #endif
20240 #ifdef HAVE_MATH_H
20241 #include <math.h>
20242 #endif
20243
20244 int (*ptr)() = (int (*)())fmod;
20245
20246 int
20247 main ()
20248 {
20249 return 0;
20250 }
20251
20252 _ACEOF
20253 if ac_fn_c_try_link "$LINENO"; then :
20254 gcc_cv_math_func_fmod=yes
20255 else
20256 gcc_cv_math_func_fmod=no
20257 fi
20258 rm -f core conftest.err conftest.$ac_objext \
20259 conftest$ac_exeext conftest.$ac_ext
20260 fi
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20262 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20263 if test $gcc_cv_math_func_fmod = yes; then
20264
20265 cat >>confdefs.h <<_ACEOF
20266 #define HAVE_FMOD 1
20267 _ACEOF
20268
20269 fi
20270
20271
20272
20273
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20275 $as_echo_n "checking for fmodl... " >&6; }
20276 if ${gcc_cv_math_func_fmodl+:} false; then :
20277 $as_echo_n "(cached) " >&6
20278 else
20279 if test x$gcc_no_link = xyes; then
20280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20281 fi
20282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20283 /* end confdefs.h. */
20284
20285 #ifdef HAVE_COMPLEX_H
20286 #include <complex.h>
20287 #endif
20288 #ifdef HAVE_MATH_H
20289 #include <math.h>
20290 #endif
20291
20292 int (*ptr)() = (int (*)())fmodl;
20293
20294 int
20295 main ()
20296 {
20297 return 0;
20298 }
20299
20300 _ACEOF
20301 if ac_fn_c_try_link "$LINENO"; then :
20302 gcc_cv_math_func_fmodl=yes
20303 else
20304 gcc_cv_math_func_fmodl=no
20305 fi
20306 rm -f core conftest.err conftest.$ac_objext \
20307 conftest$ac_exeext conftest.$ac_ext
20308 fi
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20310 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20311 if test $gcc_cv_math_func_fmodl = yes; then
20312
20313 cat >>confdefs.h <<_ACEOF
20314 #define HAVE_FMODL 1
20315 _ACEOF
20316
20317 fi
20318
20319
20320
20321
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20323 $as_echo_n "checking for frexpf... " >&6; }
20324 if ${gcc_cv_math_func_frexpf+:} false; then :
20325 $as_echo_n "(cached) " >&6
20326 else
20327 if test x$gcc_no_link = xyes; then
20328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20329 fi
20330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20331 /* end confdefs.h. */
20332
20333 #ifdef HAVE_COMPLEX_H
20334 #include <complex.h>
20335 #endif
20336 #ifdef HAVE_MATH_H
20337 #include <math.h>
20338 #endif
20339
20340 int (*ptr)() = (int (*)())frexpf;
20341
20342 int
20343 main ()
20344 {
20345 return 0;
20346 }
20347
20348 _ACEOF
20349 if ac_fn_c_try_link "$LINENO"; then :
20350 gcc_cv_math_func_frexpf=yes
20351 else
20352 gcc_cv_math_func_frexpf=no
20353 fi
20354 rm -f core conftest.err conftest.$ac_objext \
20355 conftest$ac_exeext conftest.$ac_ext
20356 fi
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20358 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20359 if test $gcc_cv_math_func_frexpf = yes; then
20360
20361 cat >>confdefs.h <<_ACEOF
20362 #define HAVE_FREXPF 1
20363 _ACEOF
20364
20365 fi
20366
20367
20368
20369
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20371 $as_echo_n "checking for frexp... " >&6; }
20372 if ${gcc_cv_math_func_frexp+:} false; then :
20373 $as_echo_n "(cached) " >&6
20374 else
20375 if test x$gcc_no_link = xyes; then
20376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20377 fi
20378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20379 /* end confdefs.h. */
20380
20381 #ifdef HAVE_COMPLEX_H
20382 #include <complex.h>
20383 #endif
20384 #ifdef HAVE_MATH_H
20385 #include <math.h>
20386 #endif
20387
20388 int (*ptr)() = (int (*)())frexp;
20389
20390 int
20391 main ()
20392 {
20393 return 0;
20394 }
20395
20396 _ACEOF
20397 if ac_fn_c_try_link "$LINENO"; then :
20398 gcc_cv_math_func_frexp=yes
20399 else
20400 gcc_cv_math_func_frexp=no
20401 fi
20402 rm -f core conftest.err conftest.$ac_objext \
20403 conftest$ac_exeext conftest.$ac_ext
20404 fi
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20406 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20407 if test $gcc_cv_math_func_frexp = yes; then
20408
20409 cat >>confdefs.h <<_ACEOF
20410 #define HAVE_FREXP 1
20411 _ACEOF
20412
20413 fi
20414
20415
20416
20417
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20419 $as_echo_n "checking for frexpl... " >&6; }
20420 if ${gcc_cv_math_func_frexpl+:} false; then :
20421 $as_echo_n "(cached) " >&6
20422 else
20423 if test x$gcc_no_link = xyes; then
20424 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20425 fi
20426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20427 /* end confdefs.h. */
20428
20429 #ifdef HAVE_COMPLEX_H
20430 #include <complex.h>
20431 #endif
20432 #ifdef HAVE_MATH_H
20433 #include <math.h>
20434 #endif
20435
20436 int (*ptr)() = (int (*)())frexpl;
20437
20438 int
20439 main ()
20440 {
20441 return 0;
20442 }
20443
20444 _ACEOF
20445 if ac_fn_c_try_link "$LINENO"; then :
20446 gcc_cv_math_func_frexpl=yes
20447 else
20448 gcc_cv_math_func_frexpl=no
20449 fi
20450 rm -f core conftest.err conftest.$ac_objext \
20451 conftest$ac_exeext conftest.$ac_ext
20452 fi
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20454 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20455 if test $gcc_cv_math_func_frexpl = yes; then
20456
20457 cat >>confdefs.h <<_ACEOF
20458 #define HAVE_FREXPL 1
20459 _ACEOF
20460
20461 fi
20462
20463
20464
20465
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20467 $as_echo_n "checking for hypotf... " >&6; }
20468 if ${gcc_cv_math_func_hypotf+:} false; then :
20469 $as_echo_n "(cached) " >&6
20470 else
20471 if test x$gcc_no_link = xyes; then
20472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20473 fi
20474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20475 /* end confdefs.h. */
20476
20477 #ifdef HAVE_COMPLEX_H
20478 #include <complex.h>
20479 #endif
20480 #ifdef HAVE_MATH_H
20481 #include <math.h>
20482 #endif
20483
20484 int (*ptr)() = (int (*)())hypotf;
20485
20486 int
20487 main ()
20488 {
20489 return 0;
20490 }
20491
20492 _ACEOF
20493 if ac_fn_c_try_link "$LINENO"; then :
20494 gcc_cv_math_func_hypotf=yes
20495 else
20496 gcc_cv_math_func_hypotf=no
20497 fi
20498 rm -f core conftest.err conftest.$ac_objext \
20499 conftest$ac_exeext conftest.$ac_ext
20500 fi
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20502 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20503 if test $gcc_cv_math_func_hypotf = yes; then
20504
20505 cat >>confdefs.h <<_ACEOF
20506 #define HAVE_HYPOTF 1
20507 _ACEOF
20508
20509 fi
20510
20511
20512
20513
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20515 $as_echo_n "checking for hypot... " >&6; }
20516 if ${gcc_cv_math_func_hypot+:} false; then :
20517 $as_echo_n "(cached) " >&6
20518 else
20519 if test x$gcc_no_link = xyes; then
20520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20521 fi
20522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h. */
20524
20525 #ifdef HAVE_COMPLEX_H
20526 #include <complex.h>
20527 #endif
20528 #ifdef HAVE_MATH_H
20529 #include <math.h>
20530 #endif
20531
20532 int (*ptr)() = (int (*)())hypot;
20533
20534 int
20535 main ()
20536 {
20537 return 0;
20538 }
20539
20540 _ACEOF
20541 if ac_fn_c_try_link "$LINENO"; then :
20542 gcc_cv_math_func_hypot=yes
20543 else
20544 gcc_cv_math_func_hypot=no
20545 fi
20546 rm -f core conftest.err conftest.$ac_objext \
20547 conftest$ac_exeext conftest.$ac_ext
20548 fi
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20550 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20551 if test $gcc_cv_math_func_hypot = yes; then
20552
20553 cat >>confdefs.h <<_ACEOF
20554 #define HAVE_HYPOT 1
20555 _ACEOF
20556
20557 fi
20558
20559
20560
20561
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20563 $as_echo_n "checking for hypotl... " >&6; }
20564 if ${gcc_cv_math_func_hypotl+:} false; then :
20565 $as_echo_n "(cached) " >&6
20566 else
20567 if test x$gcc_no_link = xyes; then
20568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20569 fi
20570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20571 /* end confdefs.h. */
20572
20573 #ifdef HAVE_COMPLEX_H
20574 #include <complex.h>
20575 #endif
20576 #ifdef HAVE_MATH_H
20577 #include <math.h>
20578 #endif
20579
20580 int (*ptr)() = (int (*)())hypotl;
20581
20582 int
20583 main ()
20584 {
20585 return 0;
20586 }
20587
20588 _ACEOF
20589 if ac_fn_c_try_link "$LINENO"; then :
20590 gcc_cv_math_func_hypotl=yes
20591 else
20592 gcc_cv_math_func_hypotl=no
20593 fi
20594 rm -f core conftest.err conftest.$ac_objext \
20595 conftest$ac_exeext conftest.$ac_ext
20596 fi
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20598 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20599 if test $gcc_cv_math_func_hypotl = yes; then
20600
20601 cat >>confdefs.h <<_ACEOF
20602 #define HAVE_HYPOTL 1
20603 _ACEOF
20604
20605 fi
20606
20607
20608
20609
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20611 $as_echo_n "checking for ldexpf... " >&6; }
20612 if ${gcc_cv_math_func_ldexpf+:} false; then :
20613 $as_echo_n "(cached) " >&6
20614 else
20615 if test x$gcc_no_link = xyes; then
20616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20617 fi
20618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20619 /* end confdefs.h. */
20620
20621 #ifdef HAVE_COMPLEX_H
20622 #include <complex.h>
20623 #endif
20624 #ifdef HAVE_MATH_H
20625 #include <math.h>
20626 #endif
20627
20628 int (*ptr)() = (int (*)())ldexpf;
20629
20630 int
20631 main ()
20632 {
20633 return 0;
20634 }
20635
20636 _ACEOF
20637 if ac_fn_c_try_link "$LINENO"; then :
20638 gcc_cv_math_func_ldexpf=yes
20639 else
20640 gcc_cv_math_func_ldexpf=no
20641 fi
20642 rm -f core conftest.err conftest.$ac_objext \
20643 conftest$ac_exeext conftest.$ac_ext
20644 fi
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20646 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20647 if test $gcc_cv_math_func_ldexpf = yes; then
20648
20649 cat >>confdefs.h <<_ACEOF
20650 #define HAVE_LDEXPF 1
20651 _ACEOF
20652
20653 fi
20654
20655
20656
20657
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20659 $as_echo_n "checking for ldexp... " >&6; }
20660 if ${gcc_cv_math_func_ldexp+:} false; then :
20661 $as_echo_n "(cached) " >&6
20662 else
20663 if test x$gcc_no_link = xyes; then
20664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20665 fi
20666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20667 /* end confdefs.h. */
20668
20669 #ifdef HAVE_COMPLEX_H
20670 #include <complex.h>
20671 #endif
20672 #ifdef HAVE_MATH_H
20673 #include <math.h>
20674 #endif
20675
20676 int (*ptr)() = (int (*)())ldexp;
20677
20678 int
20679 main ()
20680 {
20681 return 0;
20682 }
20683
20684 _ACEOF
20685 if ac_fn_c_try_link "$LINENO"; then :
20686 gcc_cv_math_func_ldexp=yes
20687 else
20688 gcc_cv_math_func_ldexp=no
20689 fi
20690 rm -f core conftest.err conftest.$ac_objext \
20691 conftest$ac_exeext conftest.$ac_ext
20692 fi
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20694 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20695 if test $gcc_cv_math_func_ldexp = yes; then
20696
20697 cat >>confdefs.h <<_ACEOF
20698 #define HAVE_LDEXP 1
20699 _ACEOF
20700
20701 fi
20702
20703
20704
20705
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20707 $as_echo_n "checking for ldexpl... " >&6; }
20708 if ${gcc_cv_math_func_ldexpl+:} false; then :
20709 $as_echo_n "(cached) " >&6
20710 else
20711 if test x$gcc_no_link = xyes; then
20712 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20713 fi
20714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h. */
20716
20717 #ifdef HAVE_COMPLEX_H
20718 #include <complex.h>
20719 #endif
20720 #ifdef HAVE_MATH_H
20721 #include <math.h>
20722 #endif
20723
20724 int (*ptr)() = (int (*)())ldexpl;
20725
20726 int
20727 main ()
20728 {
20729 return 0;
20730 }
20731
20732 _ACEOF
20733 if ac_fn_c_try_link "$LINENO"; then :
20734 gcc_cv_math_func_ldexpl=yes
20735 else
20736 gcc_cv_math_func_ldexpl=no
20737 fi
20738 rm -f core conftest.err conftest.$ac_objext \
20739 conftest$ac_exeext conftest.$ac_ext
20740 fi
20741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20742 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20743 if test $gcc_cv_math_func_ldexpl = yes; then
20744
20745 cat >>confdefs.h <<_ACEOF
20746 #define HAVE_LDEXPL 1
20747 _ACEOF
20748
20749 fi
20750
20751
20752
20753
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20755 $as_echo_n "checking for logf... " >&6; }
20756 if ${gcc_cv_math_func_logf+:} false; then :
20757 $as_echo_n "(cached) " >&6
20758 else
20759 if test x$gcc_no_link = xyes; then
20760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20761 fi
20762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20763 /* end confdefs.h. */
20764
20765 #ifdef HAVE_COMPLEX_H
20766 #include <complex.h>
20767 #endif
20768 #ifdef HAVE_MATH_H
20769 #include <math.h>
20770 #endif
20771
20772 int (*ptr)() = (int (*)())logf;
20773
20774 int
20775 main ()
20776 {
20777 return 0;
20778 }
20779
20780 _ACEOF
20781 if ac_fn_c_try_link "$LINENO"; then :
20782 gcc_cv_math_func_logf=yes
20783 else
20784 gcc_cv_math_func_logf=no
20785 fi
20786 rm -f core conftest.err conftest.$ac_objext \
20787 conftest$ac_exeext conftest.$ac_ext
20788 fi
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20790 $as_echo "$gcc_cv_math_func_logf" >&6; }
20791 if test $gcc_cv_math_func_logf = yes; then
20792
20793 cat >>confdefs.h <<_ACEOF
20794 #define HAVE_LOGF 1
20795 _ACEOF
20796
20797 fi
20798
20799
20800
20801
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20803 $as_echo_n "checking for log... " >&6; }
20804 if ${gcc_cv_math_func_log+:} false; then :
20805 $as_echo_n "(cached) " >&6
20806 else
20807 if test x$gcc_no_link = xyes; then
20808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20809 fi
20810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20811 /* end confdefs.h. */
20812
20813 #ifdef HAVE_COMPLEX_H
20814 #include <complex.h>
20815 #endif
20816 #ifdef HAVE_MATH_H
20817 #include <math.h>
20818 #endif
20819
20820 int (*ptr)() = (int (*)())log;
20821
20822 int
20823 main ()
20824 {
20825 return 0;
20826 }
20827
20828 _ACEOF
20829 if ac_fn_c_try_link "$LINENO"; then :
20830 gcc_cv_math_func_log=yes
20831 else
20832 gcc_cv_math_func_log=no
20833 fi
20834 rm -f core conftest.err conftest.$ac_objext \
20835 conftest$ac_exeext conftest.$ac_ext
20836 fi
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20838 $as_echo "$gcc_cv_math_func_log" >&6; }
20839 if test $gcc_cv_math_func_log = yes; then
20840
20841 cat >>confdefs.h <<_ACEOF
20842 #define HAVE_LOG 1
20843 _ACEOF
20844
20845 fi
20846
20847
20848
20849
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20851 $as_echo_n "checking for logl... " >&6; }
20852 if ${gcc_cv_math_func_logl+:} false; then :
20853 $as_echo_n "(cached) " >&6
20854 else
20855 if test x$gcc_no_link = xyes; then
20856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20857 fi
20858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20860
20861 #ifdef HAVE_COMPLEX_H
20862 #include <complex.h>
20863 #endif
20864 #ifdef HAVE_MATH_H
20865 #include <math.h>
20866 #endif
20867
20868 int (*ptr)() = (int (*)())logl;
20869
20870 int
20871 main ()
20872 {
20873 return 0;
20874 }
20875
20876 _ACEOF
20877 if ac_fn_c_try_link "$LINENO"; then :
20878 gcc_cv_math_func_logl=yes
20879 else
20880 gcc_cv_math_func_logl=no
20881 fi
20882 rm -f core conftest.err conftest.$ac_objext \
20883 conftest$ac_exeext conftest.$ac_ext
20884 fi
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20886 $as_echo "$gcc_cv_math_func_logl" >&6; }
20887 if test $gcc_cv_math_func_logl = yes; then
20888
20889 cat >>confdefs.h <<_ACEOF
20890 #define HAVE_LOGL 1
20891 _ACEOF
20892
20893 fi
20894
20895
20896
20897
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20899 $as_echo_n "checking for clogf... " >&6; }
20900 if ${gcc_cv_math_func_clogf+:} false; then :
20901 $as_echo_n "(cached) " >&6
20902 else
20903 if test x$gcc_no_link = xyes; then
20904 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20905 fi
20906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h. */
20908
20909 #ifdef HAVE_COMPLEX_H
20910 #include <complex.h>
20911 #endif
20912 #ifdef HAVE_MATH_H
20913 #include <math.h>
20914 #endif
20915
20916 int (*ptr)() = (int (*)())clogf;
20917
20918 int
20919 main ()
20920 {
20921 return 0;
20922 }
20923
20924 _ACEOF
20925 if ac_fn_c_try_link "$LINENO"; then :
20926 gcc_cv_math_func_clogf=yes
20927 else
20928 gcc_cv_math_func_clogf=no
20929 fi
20930 rm -f core conftest.err conftest.$ac_objext \
20931 conftest$ac_exeext conftest.$ac_ext
20932 fi
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20934 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20935 if test $gcc_cv_math_func_clogf = yes; then
20936
20937 cat >>confdefs.h <<_ACEOF
20938 #define HAVE_CLOGF 1
20939 _ACEOF
20940
20941 fi
20942
20943
20944
20945
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20947 $as_echo_n "checking for clog... " >&6; }
20948 if ${gcc_cv_math_func_clog+:} false; then :
20949 $as_echo_n "(cached) " >&6
20950 else
20951 if test x$gcc_no_link = xyes; then
20952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20953 fi
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956
20957 #ifdef HAVE_COMPLEX_H
20958 #include <complex.h>
20959 #endif
20960 #ifdef HAVE_MATH_H
20961 #include <math.h>
20962 #endif
20963
20964 int (*ptr)() = (int (*)())clog;
20965
20966 int
20967 main ()
20968 {
20969 return 0;
20970 }
20971
20972 _ACEOF
20973 if ac_fn_c_try_link "$LINENO"; then :
20974 gcc_cv_math_func_clog=yes
20975 else
20976 gcc_cv_math_func_clog=no
20977 fi
20978 rm -f core conftest.err conftest.$ac_objext \
20979 conftest$ac_exeext conftest.$ac_ext
20980 fi
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20982 $as_echo "$gcc_cv_math_func_clog" >&6; }
20983 if test $gcc_cv_math_func_clog = yes; then
20984
20985 cat >>confdefs.h <<_ACEOF
20986 #define HAVE_CLOG 1
20987 _ACEOF
20988
20989 fi
20990
20991
20992
20993
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20995 $as_echo_n "checking for clogl... " >&6; }
20996 if ${gcc_cv_math_func_clogl+:} false; then :
20997 $as_echo_n "(cached) " >&6
20998 else
20999 if test x$gcc_no_link = xyes; then
21000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21001 fi
21002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21004
21005 #ifdef HAVE_COMPLEX_H
21006 #include <complex.h>
21007 #endif
21008 #ifdef HAVE_MATH_H
21009 #include <math.h>
21010 #endif
21011
21012 int (*ptr)() = (int (*)())clogl;
21013
21014 int
21015 main ()
21016 {
21017 return 0;
21018 }
21019
21020 _ACEOF
21021 if ac_fn_c_try_link "$LINENO"; then :
21022 gcc_cv_math_func_clogl=yes
21023 else
21024 gcc_cv_math_func_clogl=no
21025 fi
21026 rm -f core conftest.err conftest.$ac_objext \
21027 conftest$ac_exeext conftest.$ac_ext
21028 fi
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21030 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21031 if test $gcc_cv_math_func_clogl = yes; then
21032
21033 cat >>confdefs.h <<_ACEOF
21034 #define HAVE_CLOGL 1
21035 _ACEOF
21036
21037 fi
21038
21039
21040
21041
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21043 $as_echo_n "checking for log10f... " >&6; }
21044 if ${gcc_cv_math_func_log10f+:} false; then :
21045 $as_echo_n "(cached) " >&6
21046 else
21047 if test x$gcc_no_link = xyes; then
21048 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21049 fi
21050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21052
21053 #ifdef HAVE_COMPLEX_H
21054 #include <complex.h>
21055 #endif
21056 #ifdef HAVE_MATH_H
21057 #include <math.h>
21058 #endif
21059
21060 int (*ptr)() = (int (*)())log10f;
21061
21062 int
21063 main ()
21064 {
21065 return 0;
21066 }
21067
21068 _ACEOF
21069 if ac_fn_c_try_link "$LINENO"; then :
21070 gcc_cv_math_func_log10f=yes
21071 else
21072 gcc_cv_math_func_log10f=no
21073 fi
21074 rm -f core conftest.err conftest.$ac_objext \
21075 conftest$ac_exeext conftest.$ac_ext
21076 fi
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21078 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21079 if test $gcc_cv_math_func_log10f = yes; then
21080
21081 cat >>confdefs.h <<_ACEOF
21082 #define HAVE_LOG10F 1
21083 _ACEOF
21084
21085 fi
21086
21087
21088
21089
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21091 $as_echo_n "checking for log10... " >&6; }
21092 if ${gcc_cv_math_func_log10+:} false; then :
21093 $as_echo_n "(cached) " >&6
21094 else
21095 if test x$gcc_no_link = xyes; then
21096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21097 fi
21098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21100
21101 #ifdef HAVE_COMPLEX_H
21102 #include <complex.h>
21103 #endif
21104 #ifdef HAVE_MATH_H
21105 #include <math.h>
21106 #endif
21107
21108 int (*ptr)() = (int (*)())log10;
21109
21110 int
21111 main ()
21112 {
21113 return 0;
21114 }
21115
21116 _ACEOF
21117 if ac_fn_c_try_link "$LINENO"; then :
21118 gcc_cv_math_func_log10=yes
21119 else
21120 gcc_cv_math_func_log10=no
21121 fi
21122 rm -f core conftest.err conftest.$ac_objext \
21123 conftest$ac_exeext conftest.$ac_ext
21124 fi
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21126 $as_echo "$gcc_cv_math_func_log10" >&6; }
21127 if test $gcc_cv_math_func_log10 = yes; then
21128
21129 cat >>confdefs.h <<_ACEOF
21130 #define HAVE_LOG10 1
21131 _ACEOF
21132
21133 fi
21134
21135
21136
21137
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21139 $as_echo_n "checking for log10l... " >&6; }
21140 if ${gcc_cv_math_func_log10l+:} false; then :
21141 $as_echo_n "(cached) " >&6
21142 else
21143 if test x$gcc_no_link = xyes; then
21144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21145 fi
21146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21147 /* end confdefs.h. */
21148
21149 #ifdef HAVE_COMPLEX_H
21150 #include <complex.h>
21151 #endif
21152 #ifdef HAVE_MATH_H
21153 #include <math.h>
21154 #endif
21155
21156 int (*ptr)() = (int (*)())log10l;
21157
21158 int
21159 main ()
21160 {
21161 return 0;
21162 }
21163
21164 _ACEOF
21165 if ac_fn_c_try_link "$LINENO"; then :
21166 gcc_cv_math_func_log10l=yes
21167 else
21168 gcc_cv_math_func_log10l=no
21169 fi
21170 rm -f core conftest.err conftest.$ac_objext \
21171 conftest$ac_exeext conftest.$ac_ext
21172 fi
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21174 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21175 if test $gcc_cv_math_func_log10l = yes; then
21176
21177 cat >>confdefs.h <<_ACEOF
21178 #define HAVE_LOG10L 1
21179 _ACEOF
21180
21181 fi
21182
21183
21184
21185
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21187 $as_echo_n "checking for clog10f... " >&6; }
21188 if ${gcc_cv_math_func_clog10f+:} false; then :
21189 $as_echo_n "(cached) " >&6
21190 else
21191 if test x$gcc_no_link = xyes; then
21192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21193 fi
21194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21195 /* end confdefs.h. */
21196
21197 #ifdef HAVE_COMPLEX_H
21198 #include <complex.h>
21199 #endif
21200 #ifdef HAVE_MATH_H
21201 #include <math.h>
21202 #endif
21203
21204 int (*ptr)() = (int (*)())clog10f;
21205
21206 int
21207 main ()
21208 {
21209 return 0;
21210 }
21211
21212 _ACEOF
21213 if ac_fn_c_try_link "$LINENO"; then :
21214 gcc_cv_math_func_clog10f=yes
21215 else
21216 gcc_cv_math_func_clog10f=no
21217 fi
21218 rm -f core conftest.err conftest.$ac_objext \
21219 conftest$ac_exeext conftest.$ac_ext
21220 fi
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21222 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21223 if test $gcc_cv_math_func_clog10f = yes; then
21224
21225 cat >>confdefs.h <<_ACEOF
21226 #define HAVE_CLOG10F 1
21227 _ACEOF
21228
21229 fi
21230
21231
21232
21233
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21235 $as_echo_n "checking for clog10... " >&6; }
21236 if ${gcc_cv_math_func_clog10+:} false; then :
21237 $as_echo_n "(cached) " >&6
21238 else
21239 if test x$gcc_no_link = xyes; then
21240 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21241 fi
21242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21243 /* end confdefs.h. */
21244
21245 #ifdef HAVE_COMPLEX_H
21246 #include <complex.h>
21247 #endif
21248 #ifdef HAVE_MATH_H
21249 #include <math.h>
21250 #endif
21251
21252 int (*ptr)() = (int (*)())clog10;
21253
21254 int
21255 main ()
21256 {
21257 return 0;
21258 }
21259
21260 _ACEOF
21261 if ac_fn_c_try_link "$LINENO"; then :
21262 gcc_cv_math_func_clog10=yes
21263 else
21264 gcc_cv_math_func_clog10=no
21265 fi
21266 rm -f core conftest.err conftest.$ac_objext \
21267 conftest$ac_exeext conftest.$ac_ext
21268 fi
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21270 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21271 if test $gcc_cv_math_func_clog10 = yes; then
21272
21273 cat >>confdefs.h <<_ACEOF
21274 #define HAVE_CLOG10 1
21275 _ACEOF
21276
21277 fi
21278
21279
21280
21281
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21283 $as_echo_n "checking for clog10l... " >&6; }
21284 if ${gcc_cv_math_func_clog10l+:} false; then :
21285 $as_echo_n "(cached) " >&6
21286 else
21287 if test x$gcc_no_link = xyes; then
21288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21289 fi
21290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h. */
21292
21293 #ifdef HAVE_COMPLEX_H
21294 #include <complex.h>
21295 #endif
21296 #ifdef HAVE_MATH_H
21297 #include <math.h>
21298 #endif
21299
21300 int (*ptr)() = (int (*)())clog10l;
21301
21302 int
21303 main ()
21304 {
21305 return 0;
21306 }
21307
21308 _ACEOF
21309 if ac_fn_c_try_link "$LINENO"; then :
21310 gcc_cv_math_func_clog10l=yes
21311 else
21312 gcc_cv_math_func_clog10l=no
21313 fi
21314 rm -f core conftest.err conftest.$ac_objext \
21315 conftest$ac_exeext conftest.$ac_ext
21316 fi
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21318 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21319 if test $gcc_cv_math_func_clog10l = yes; then
21320
21321 cat >>confdefs.h <<_ACEOF
21322 #define HAVE_CLOG10L 1
21323 _ACEOF
21324
21325 fi
21326
21327
21328
21329
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21331 $as_echo_n "checking for nextafterf... " >&6; }
21332 if ${gcc_cv_math_func_nextafterf+:} false; then :
21333 $as_echo_n "(cached) " >&6
21334 else
21335 if test x$gcc_no_link = xyes; then
21336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21337 fi
21338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21339 /* end confdefs.h. */
21340
21341 #ifdef HAVE_COMPLEX_H
21342 #include <complex.h>
21343 #endif
21344 #ifdef HAVE_MATH_H
21345 #include <math.h>
21346 #endif
21347
21348 int (*ptr)() = (int (*)())nextafterf;
21349
21350 int
21351 main ()
21352 {
21353 return 0;
21354 }
21355
21356 _ACEOF
21357 if ac_fn_c_try_link "$LINENO"; then :
21358 gcc_cv_math_func_nextafterf=yes
21359 else
21360 gcc_cv_math_func_nextafterf=no
21361 fi
21362 rm -f core conftest.err conftest.$ac_objext \
21363 conftest$ac_exeext conftest.$ac_ext
21364 fi
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21366 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21367 if test $gcc_cv_math_func_nextafterf = yes; then
21368
21369 cat >>confdefs.h <<_ACEOF
21370 #define HAVE_NEXTAFTERF 1
21371 _ACEOF
21372
21373 fi
21374
21375
21376
21377
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21379 $as_echo_n "checking for nextafter... " >&6; }
21380 if ${gcc_cv_math_func_nextafter+:} false; then :
21381 $as_echo_n "(cached) " >&6
21382 else
21383 if test x$gcc_no_link = xyes; then
21384 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21385 fi
21386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h. */
21388
21389 #ifdef HAVE_COMPLEX_H
21390 #include <complex.h>
21391 #endif
21392 #ifdef HAVE_MATH_H
21393 #include <math.h>
21394 #endif
21395
21396 int (*ptr)() = (int (*)())nextafter;
21397
21398 int
21399 main ()
21400 {
21401 return 0;
21402 }
21403
21404 _ACEOF
21405 if ac_fn_c_try_link "$LINENO"; then :
21406 gcc_cv_math_func_nextafter=yes
21407 else
21408 gcc_cv_math_func_nextafter=no
21409 fi
21410 rm -f core conftest.err conftest.$ac_objext \
21411 conftest$ac_exeext conftest.$ac_ext
21412 fi
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21414 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21415 if test $gcc_cv_math_func_nextafter = yes; then
21416
21417 cat >>confdefs.h <<_ACEOF
21418 #define HAVE_NEXTAFTER 1
21419 _ACEOF
21420
21421 fi
21422
21423
21424
21425
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21427 $as_echo_n "checking for nextafterl... " >&6; }
21428 if ${gcc_cv_math_func_nextafterl+:} false; then :
21429 $as_echo_n "(cached) " >&6
21430 else
21431 if test x$gcc_no_link = xyes; then
21432 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21433 fi
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21436
21437 #ifdef HAVE_COMPLEX_H
21438 #include <complex.h>
21439 #endif
21440 #ifdef HAVE_MATH_H
21441 #include <math.h>
21442 #endif
21443
21444 int (*ptr)() = (int (*)())nextafterl;
21445
21446 int
21447 main ()
21448 {
21449 return 0;
21450 }
21451
21452 _ACEOF
21453 if ac_fn_c_try_link "$LINENO"; then :
21454 gcc_cv_math_func_nextafterl=yes
21455 else
21456 gcc_cv_math_func_nextafterl=no
21457 fi
21458 rm -f core conftest.err conftest.$ac_objext \
21459 conftest$ac_exeext conftest.$ac_ext
21460 fi
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21462 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21463 if test $gcc_cv_math_func_nextafterl = yes; then
21464
21465 cat >>confdefs.h <<_ACEOF
21466 #define HAVE_NEXTAFTERL 1
21467 _ACEOF
21468
21469 fi
21470
21471
21472
21473
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21475 $as_echo_n "checking for powf... " >&6; }
21476 if ${gcc_cv_math_func_powf+:} false; then :
21477 $as_echo_n "(cached) " >&6
21478 else
21479 if test x$gcc_no_link = xyes; then
21480 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21481 fi
21482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21483 /* end confdefs.h. */
21484
21485 #ifdef HAVE_COMPLEX_H
21486 #include <complex.h>
21487 #endif
21488 #ifdef HAVE_MATH_H
21489 #include <math.h>
21490 #endif
21491
21492 int (*ptr)() = (int (*)())powf;
21493
21494 int
21495 main ()
21496 {
21497 return 0;
21498 }
21499
21500 _ACEOF
21501 if ac_fn_c_try_link "$LINENO"; then :
21502 gcc_cv_math_func_powf=yes
21503 else
21504 gcc_cv_math_func_powf=no
21505 fi
21506 rm -f core conftest.err conftest.$ac_objext \
21507 conftest$ac_exeext conftest.$ac_ext
21508 fi
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21510 $as_echo "$gcc_cv_math_func_powf" >&6; }
21511 if test $gcc_cv_math_func_powf = yes; then
21512
21513 cat >>confdefs.h <<_ACEOF
21514 #define HAVE_POWF 1
21515 _ACEOF
21516
21517 fi
21518
21519
21520
21521
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21523 $as_echo_n "checking for pow... " >&6; }
21524 if ${gcc_cv_math_func_pow+:} false; then :
21525 $as_echo_n "(cached) " >&6
21526 else
21527 if test x$gcc_no_link = xyes; then
21528 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21529 fi
21530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21531 /* end confdefs.h. */
21532
21533 #ifdef HAVE_COMPLEX_H
21534 #include <complex.h>
21535 #endif
21536 #ifdef HAVE_MATH_H
21537 #include <math.h>
21538 #endif
21539
21540 int (*ptr)() = (int (*)())pow;
21541
21542 int
21543 main ()
21544 {
21545 return 0;
21546 }
21547
21548 _ACEOF
21549 if ac_fn_c_try_link "$LINENO"; then :
21550 gcc_cv_math_func_pow=yes
21551 else
21552 gcc_cv_math_func_pow=no
21553 fi
21554 rm -f core conftest.err conftest.$ac_objext \
21555 conftest$ac_exeext conftest.$ac_ext
21556 fi
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21558 $as_echo "$gcc_cv_math_func_pow" >&6; }
21559 if test $gcc_cv_math_func_pow = yes; then
21560
21561 cat >>confdefs.h <<_ACEOF
21562 #define HAVE_POW 1
21563 _ACEOF
21564
21565 fi
21566
21567
21568
21569
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21571 $as_echo_n "checking for cpowf... " >&6; }
21572 if ${gcc_cv_math_func_cpowf+:} false; then :
21573 $as_echo_n "(cached) " >&6
21574 else
21575 if test x$gcc_no_link = xyes; then
21576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21577 fi
21578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21579 /* end confdefs.h. */
21580
21581 #ifdef HAVE_COMPLEX_H
21582 #include <complex.h>
21583 #endif
21584 #ifdef HAVE_MATH_H
21585 #include <math.h>
21586 #endif
21587
21588 int (*ptr)() = (int (*)())cpowf;
21589
21590 int
21591 main ()
21592 {
21593 return 0;
21594 }
21595
21596 _ACEOF
21597 if ac_fn_c_try_link "$LINENO"; then :
21598 gcc_cv_math_func_cpowf=yes
21599 else
21600 gcc_cv_math_func_cpowf=no
21601 fi
21602 rm -f core conftest.err conftest.$ac_objext \
21603 conftest$ac_exeext conftest.$ac_ext
21604 fi
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21606 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21607 if test $gcc_cv_math_func_cpowf = yes; then
21608
21609 cat >>confdefs.h <<_ACEOF
21610 #define HAVE_CPOWF 1
21611 _ACEOF
21612
21613 fi
21614
21615
21616
21617
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21619 $as_echo_n "checking for cpow... " >&6; }
21620 if ${gcc_cv_math_func_cpow+:} false; then :
21621 $as_echo_n "(cached) " >&6
21622 else
21623 if test x$gcc_no_link = xyes; then
21624 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21625 fi
21626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21627 /* end confdefs.h. */
21628
21629 #ifdef HAVE_COMPLEX_H
21630 #include <complex.h>
21631 #endif
21632 #ifdef HAVE_MATH_H
21633 #include <math.h>
21634 #endif
21635
21636 int (*ptr)() = (int (*)())cpow;
21637
21638 int
21639 main ()
21640 {
21641 return 0;
21642 }
21643
21644 _ACEOF
21645 if ac_fn_c_try_link "$LINENO"; then :
21646 gcc_cv_math_func_cpow=yes
21647 else
21648 gcc_cv_math_func_cpow=no
21649 fi
21650 rm -f core conftest.err conftest.$ac_objext \
21651 conftest$ac_exeext conftest.$ac_ext
21652 fi
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21654 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21655 if test $gcc_cv_math_func_cpow = yes; then
21656
21657 cat >>confdefs.h <<_ACEOF
21658 #define HAVE_CPOW 1
21659 _ACEOF
21660
21661 fi
21662
21663
21664
21665
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21667 $as_echo_n "checking for cpowl... " >&6; }
21668 if ${gcc_cv_math_func_cpowl+:} false; then :
21669 $as_echo_n "(cached) " >&6
21670 else
21671 if test x$gcc_no_link = xyes; then
21672 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21673 fi
21674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21675 /* end confdefs.h. */
21676
21677 #ifdef HAVE_COMPLEX_H
21678 #include <complex.h>
21679 #endif
21680 #ifdef HAVE_MATH_H
21681 #include <math.h>
21682 #endif
21683
21684 int (*ptr)() = (int (*)())cpowl;
21685
21686 int
21687 main ()
21688 {
21689 return 0;
21690 }
21691
21692 _ACEOF
21693 if ac_fn_c_try_link "$LINENO"; then :
21694 gcc_cv_math_func_cpowl=yes
21695 else
21696 gcc_cv_math_func_cpowl=no
21697 fi
21698 rm -f core conftest.err conftest.$ac_objext \
21699 conftest$ac_exeext conftest.$ac_ext
21700 fi
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21702 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21703 if test $gcc_cv_math_func_cpowl = yes; then
21704
21705 cat >>confdefs.h <<_ACEOF
21706 #define HAVE_CPOWL 1
21707 _ACEOF
21708
21709 fi
21710
21711
21712
21713
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21715 $as_echo_n "checking for roundf... " >&6; }
21716 if ${gcc_cv_math_func_roundf+:} false; then :
21717 $as_echo_n "(cached) " >&6
21718 else
21719 if test x$gcc_no_link = xyes; then
21720 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21721 fi
21722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21723 /* end confdefs.h. */
21724
21725 #ifdef HAVE_COMPLEX_H
21726 #include <complex.h>
21727 #endif
21728 #ifdef HAVE_MATH_H
21729 #include <math.h>
21730 #endif
21731
21732 int (*ptr)() = (int (*)())roundf;
21733
21734 int
21735 main ()
21736 {
21737 return 0;
21738 }
21739
21740 _ACEOF
21741 if ac_fn_c_try_link "$LINENO"; then :
21742 gcc_cv_math_func_roundf=yes
21743 else
21744 gcc_cv_math_func_roundf=no
21745 fi
21746 rm -f core conftest.err conftest.$ac_objext \
21747 conftest$ac_exeext conftest.$ac_ext
21748 fi
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21750 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21751 if test $gcc_cv_math_func_roundf = yes; then
21752
21753 cat >>confdefs.h <<_ACEOF
21754 #define HAVE_ROUNDF 1
21755 _ACEOF
21756
21757 fi
21758
21759
21760
21761
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21763 $as_echo_n "checking for round... " >&6; }
21764 if ${gcc_cv_math_func_round+:} false; then :
21765 $as_echo_n "(cached) " >&6
21766 else
21767 if test x$gcc_no_link = xyes; then
21768 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21769 fi
21770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21771 /* end confdefs.h. */
21772
21773 #ifdef HAVE_COMPLEX_H
21774 #include <complex.h>
21775 #endif
21776 #ifdef HAVE_MATH_H
21777 #include <math.h>
21778 #endif
21779
21780 int (*ptr)() = (int (*)())round;
21781
21782 int
21783 main ()
21784 {
21785 return 0;
21786 }
21787
21788 _ACEOF
21789 if ac_fn_c_try_link "$LINENO"; then :
21790 gcc_cv_math_func_round=yes
21791 else
21792 gcc_cv_math_func_round=no
21793 fi
21794 rm -f core conftest.err conftest.$ac_objext \
21795 conftest$ac_exeext conftest.$ac_ext
21796 fi
21797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21798 $as_echo "$gcc_cv_math_func_round" >&6; }
21799 if test $gcc_cv_math_func_round = yes; then
21800
21801 cat >>confdefs.h <<_ACEOF
21802 #define HAVE_ROUND 1
21803 _ACEOF
21804
21805 fi
21806
21807
21808
21809
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21811 $as_echo_n "checking for roundl... " >&6; }
21812 if ${gcc_cv_math_func_roundl+:} false; then :
21813 $as_echo_n "(cached) " >&6
21814 else
21815 if test x$gcc_no_link = xyes; then
21816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21817 fi
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21820
21821 #ifdef HAVE_COMPLEX_H
21822 #include <complex.h>
21823 #endif
21824 #ifdef HAVE_MATH_H
21825 #include <math.h>
21826 #endif
21827
21828 int (*ptr)() = (int (*)())roundl;
21829
21830 int
21831 main ()
21832 {
21833 return 0;
21834 }
21835
21836 _ACEOF
21837 if ac_fn_c_try_link "$LINENO"; then :
21838 gcc_cv_math_func_roundl=yes
21839 else
21840 gcc_cv_math_func_roundl=no
21841 fi
21842 rm -f core conftest.err conftest.$ac_objext \
21843 conftest$ac_exeext conftest.$ac_ext
21844 fi
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21846 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21847 if test $gcc_cv_math_func_roundl = yes; then
21848
21849 cat >>confdefs.h <<_ACEOF
21850 #define HAVE_ROUNDL 1
21851 _ACEOF
21852
21853 fi
21854
21855
21856
21857
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21859 $as_echo_n "checking for lroundf... " >&6; }
21860 if ${gcc_cv_math_func_lroundf+:} false; then :
21861 $as_echo_n "(cached) " >&6
21862 else
21863 if test x$gcc_no_link = xyes; then
21864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21865 fi
21866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21867 /* end confdefs.h. */
21868
21869 #ifdef HAVE_COMPLEX_H
21870 #include <complex.h>
21871 #endif
21872 #ifdef HAVE_MATH_H
21873 #include <math.h>
21874 #endif
21875
21876 int (*ptr)() = (int (*)())lroundf;
21877
21878 int
21879 main ()
21880 {
21881 return 0;
21882 }
21883
21884 _ACEOF
21885 if ac_fn_c_try_link "$LINENO"; then :
21886 gcc_cv_math_func_lroundf=yes
21887 else
21888 gcc_cv_math_func_lroundf=no
21889 fi
21890 rm -f core conftest.err conftest.$ac_objext \
21891 conftest$ac_exeext conftest.$ac_ext
21892 fi
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21894 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21895 if test $gcc_cv_math_func_lroundf = yes; then
21896
21897 cat >>confdefs.h <<_ACEOF
21898 #define HAVE_LROUNDF 1
21899 _ACEOF
21900
21901 fi
21902
21903
21904
21905
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21907 $as_echo_n "checking for lround... " >&6; }
21908 if ${gcc_cv_math_func_lround+:} false; then :
21909 $as_echo_n "(cached) " >&6
21910 else
21911 if test x$gcc_no_link = xyes; then
21912 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21913 fi
21914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21915 /* end confdefs.h. */
21916
21917 #ifdef HAVE_COMPLEX_H
21918 #include <complex.h>
21919 #endif
21920 #ifdef HAVE_MATH_H
21921 #include <math.h>
21922 #endif
21923
21924 int (*ptr)() = (int (*)())lround;
21925
21926 int
21927 main ()
21928 {
21929 return 0;
21930 }
21931
21932 _ACEOF
21933 if ac_fn_c_try_link "$LINENO"; then :
21934 gcc_cv_math_func_lround=yes
21935 else
21936 gcc_cv_math_func_lround=no
21937 fi
21938 rm -f core conftest.err conftest.$ac_objext \
21939 conftest$ac_exeext conftest.$ac_ext
21940 fi
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21942 $as_echo "$gcc_cv_math_func_lround" >&6; }
21943 if test $gcc_cv_math_func_lround = yes; then
21944
21945 cat >>confdefs.h <<_ACEOF
21946 #define HAVE_LROUND 1
21947 _ACEOF
21948
21949 fi
21950
21951
21952
21953
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21955 $as_echo_n "checking for lroundl... " >&6; }
21956 if ${gcc_cv_math_func_lroundl+:} false; then :
21957 $as_echo_n "(cached) " >&6
21958 else
21959 if test x$gcc_no_link = xyes; then
21960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21961 fi
21962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21963 /* end confdefs.h. */
21964
21965 #ifdef HAVE_COMPLEX_H
21966 #include <complex.h>
21967 #endif
21968 #ifdef HAVE_MATH_H
21969 #include <math.h>
21970 #endif
21971
21972 int (*ptr)() = (int (*)())lroundl;
21973
21974 int
21975 main ()
21976 {
21977 return 0;
21978 }
21979
21980 _ACEOF
21981 if ac_fn_c_try_link "$LINENO"; then :
21982 gcc_cv_math_func_lroundl=yes
21983 else
21984 gcc_cv_math_func_lroundl=no
21985 fi
21986 rm -f core conftest.err conftest.$ac_objext \
21987 conftest$ac_exeext conftest.$ac_ext
21988 fi
21989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21990 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21991 if test $gcc_cv_math_func_lroundl = yes; then
21992
21993 cat >>confdefs.h <<_ACEOF
21994 #define HAVE_LROUNDL 1
21995 _ACEOF
21996
21997 fi
21998
21999
22000
22001
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22003 $as_echo_n "checking for llroundf... " >&6; }
22004 if ${gcc_cv_math_func_llroundf+:} false; then :
22005 $as_echo_n "(cached) " >&6
22006 else
22007 if test x$gcc_no_link = xyes; then
22008 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22009 fi
22010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22012
22013 #ifdef HAVE_COMPLEX_H
22014 #include <complex.h>
22015 #endif
22016 #ifdef HAVE_MATH_H
22017 #include <math.h>
22018 #endif
22019
22020 int (*ptr)() = (int (*)())llroundf;
22021
22022 int
22023 main ()
22024 {
22025 return 0;
22026 }
22027
22028 _ACEOF
22029 if ac_fn_c_try_link "$LINENO"; then :
22030 gcc_cv_math_func_llroundf=yes
22031 else
22032 gcc_cv_math_func_llroundf=no
22033 fi
22034 rm -f core conftest.err conftest.$ac_objext \
22035 conftest$ac_exeext conftest.$ac_ext
22036 fi
22037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22038 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22039 if test $gcc_cv_math_func_llroundf = yes; then
22040
22041 cat >>confdefs.h <<_ACEOF
22042 #define HAVE_LLROUNDF 1
22043 _ACEOF
22044
22045 fi
22046
22047
22048
22049
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22051 $as_echo_n "checking for llround... " >&6; }
22052 if ${gcc_cv_math_func_llround+:} false; then :
22053 $as_echo_n "(cached) " >&6
22054 else
22055 if test x$gcc_no_link = xyes; then
22056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22057 fi
22058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22059 /* end confdefs.h. */
22060
22061 #ifdef HAVE_COMPLEX_H
22062 #include <complex.h>
22063 #endif
22064 #ifdef HAVE_MATH_H
22065 #include <math.h>
22066 #endif
22067
22068 int (*ptr)() = (int (*)())llround;
22069
22070 int
22071 main ()
22072 {
22073 return 0;
22074 }
22075
22076 _ACEOF
22077 if ac_fn_c_try_link "$LINENO"; then :
22078 gcc_cv_math_func_llround=yes
22079 else
22080 gcc_cv_math_func_llround=no
22081 fi
22082 rm -f core conftest.err conftest.$ac_objext \
22083 conftest$ac_exeext conftest.$ac_ext
22084 fi
22085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22086 $as_echo "$gcc_cv_math_func_llround" >&6; }
22087 if test $gcc_cv_math_func_llround = yes; then
22088
22089 cat >>confdefs.h <<_ACEOF
22090 #define HAVE_LLROUND 1
22091 _ACEOF
22092
22093 fi
22094
22095
22096
22097
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22099 $as_echo_n "checking for llroundl... " >&6; }
22100 if ${gcc_cv_math_func_llroundl+:} false; then :
22101 $as_echo_n "(cached) " >&6
22102 else
22103 if test x$gcc_no_link = xyes; then
22104 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22105 fi
22106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h. */
22108
22109 #ifdef HAVE_COMPLEX_H
22110 #include <complex.h>
22111 #endif
22112 #ifdef HAVE_MATH_H
22113 #include <math.h>
22114 #endif
22115
22116 int (*ptr)() = (int (*)())llroundl;
22117
22118 int
22119 main ()
22120 {
22121 return 0;
22122 }
22123
22124 _ACEOF
22125 if ac_fn_c_try_link "$LINENO"; then :
22126 gcc_cv_math_func_llroundl=yes
22127 else
22128 gcc_cv_math_func_llroundl=no
22129 fi
22130 rm -f core conftest.err conftest.$ac_objext \
22131 conftest$ac_exeext conftest.$ac_ext
22132 fi
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22134 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22135 if test $gcc_cv_math_func_llroundl = yes; then
22136
22137 cat >>confdefs.h <<_ACEOF
22138 #define HAVE_LLROUNDL 1
22139 _ACEOF
22140
22141 fi
22142
22143
22144
22145
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22147 $as_echo_n "checking for scalbnf... " >&6; }
22148 if ${gcc_cv_math_func_scalbnf+:} false; then :
22149 $as_echo_n "(cached) " >&6
22150 else
22151 if test x$gcc_no_link = xyes; then
22152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22153 fi
22154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22155 /* end confdefs.h. */
22156
22157 #ifdef HAVE_COMPLEX_H
22158 #include <complex.h>
22159 #endif
22160 #ifdef HAVE_MATH_H
22161 #include <math.h>
22162 #endif
22163
22164 int (*ptr)() = (int (*)())scalbnf;
22165
22166 int
22167 main ()
22168 {
22169 return 0;
22170 }
22171
22172 _ACEOF
22173 if ac_fn_c_try_link "$LINENO"; then :
22174 gcc_cv_math_func_scalbnf=yes
22175 else
22176 gcc_cv_math_func_scalbnf=no
22177 fi
22178 rm -f core conftest.err conftest.$ac_objext \
22179 conftest$ac_exeext conftest.$ac_ext
22180 fi
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22182 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22183 if test $gcc_cv_math_func_scalbnf = yes; then
22184
22185 cat >>confdefs.h <<_ACEOF
22186 #define HAVE_SCALBNF 1
22187 _ACEOF
22188
22189 fi
22190
22191
22192
22193
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22195 $as_echo_n "checking for scalbn... " >&6; }
22196 if ${gcc_cv_math_func_scalbn+:} false; then :
22197 $as_echo_n "(cached) " >&6
22198 else
22199 if test x$gcc_no_link = xyes; then
22200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22201 fi
22202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22203 /* end confdefs.h. */
22204
22205 #ifdef HAVE_COMPLEX_H
22206 #include <complex.h>
22207 #endif
22208 #ifdef HAVE_MATH_H
22209 #include <math.h>
22210 #endif
22211
22212 int (*ptr)() = (int (*)())scalbn;
22213
22214 int
22215 main ()
22216 {
22217 return 0;
22218 }
22219
22220 _ACEOF
22221 if ac_fn_c_try_link "$LINENO"; then :
22222 gcc_cv_math_func_scalbn=yes
22223 else
22224 gcc_cv_math_func_scalbn=no
22225 fi
22226 rm -f core conftest.err conftest.$ac_objext \
22227 conftest$ac_exeext conftest.$ac_ext
22228 fi
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22230 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22231 if test $gcc_cv_math_func_scalbn = yes; then
22232
22233 cat >>confdefs.h <<_ACEOF
22234 #define HAVE_SCALBN 1
22235 _ACEOF
22236
22237 fi
22238
22239
22240
22241
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22243 $as_echo_n "checking for scalbnl... " >&6; }
22244 if ${gcc_cv_math_func_scalbnl+:} false; then :
22245 $as_echo_n "(cached) " >&6
22246 else
22247 if test x$gcc_no_link = xyes; then
22248 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22249 fi
22250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22251 /* end confdefs.h. */
22252
22253 #ifdef HAVE_COMPLEX_H
22254 #include <complex.h>
22255 #endif
22256 #ifdef HAVE_MATH_H
22257 #include <math.h>
22258 #endif
22259
22260 int (*ptr)() = (int (*)())scalbnl;
22261
22262 int
22263 main ()
22264 {
22265 return 0;
22266 }
22267
22268 _ACEOF
22269 if ac_fn_c_try_link "$LINENO"; then :
22270 gcc_cv_math_func_scalbnl=yes
22271 else
22272 gcc_cv_math_func_scalbnl=no
22273 fi
22274 rm -f core conftest.err conftest.$ac_objext \
22275 conftest$ac_exeext conftest.$ac_ext
22276 fi
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22278 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22279 if test $gcc_cv_math_func_scalbnl = yes; then
22280
22281 cat >>confdefs.h <<_ACEOF
22282 #define HAVE_SCALBNL 1
22283 _ACEOF
22284
22285 fi
22286
22287
22288
22289
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22291 $as_echo_n "checking for sinf... " >&6; }
22292 if ${gcc_cv_math_func_sinf+:} false; then :
22293 $as_echo_n "(cached) " >&6
22294 else
22295 if test x$gcc_no_link = xyes; then
22296 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22297 fi
22298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22299 /* end confdefs.h. */
22300
22301 #ifdef HAVE_COMPLEX_H
22302 #include <complex.h>
22303 #endif
22304 #ifdef HAVE_MATH_H
22305 #include <math.h>
22306 #endif
22307
22308 int (*ptr)() = (int (*)())sinf;
22309
22310 int
22311 main ()
22312 {
22313 return 0;
22314 }
22315
22316 _ACEOF
22317 if ac_fn_c_try_link "$LINENO"; then :
22318 gcc_cv_math_func_sinf=yes
22319 else
22320 gcc_cv_math_func_sinf=no
22321 fi
22322 rm -f core conftest.err conftest.$ac_objext \
22323 conftest$ac_exeext conftest.$ac_ext
22324 fi
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22326 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22327 if test $gcc_cv_math_func_sinf = yes; then
22328
22329 cat >>confdefs.h <<_ACEOF
22330 #define HAVE_SINF 1
22331 _ACEOF
22332
22333 fi
22334
22335
22336
22337
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22339 $as_echo_n "checking for sin... " >&6; }
22340 if ${gcc_cv_math_func_sin+:} false; then :
22341 $as_echo_n "(cached) " >&6
22342 else
22343 if test x$gcc_no_link = xyes; then
22344 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22345 fi
22346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22347 /* end confdefs.h. */
22348
22349 #ifdef HAVE_COMPLEX_H
22350 #include <complex.h>
22351 #endif
22352 #ifdef HAVE_MATH_H
22353 #include <math.h>
22354 #endif
22355
22356 int (*ptr)() = (int (*)())sin;
22357
22358 int
22359 main ()
22360 {
22361 return 0;
22362 }
22363
22364 _ACEOF
22365 if ac_fn_c_try_link "$LINENO"; then :
22366 gcc_cv_math_func_sin=yes
22367 else
22368 gcc_cv_math_func_sin=no
22369 fi
22370 rm -f core conftest.err conftest.$ac_objext \
22371 conftest$ac_exeext conftest.$ac_ext
22372 fi
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22374 $as_echo "$gcc_cv_math_func_sin" >&6; }
22375 if test $gcc_cv_math_func_sin = yes; then
22376
22377 cat >>confdefs.h <<_ACEOF
22378 #define HAVE_SIN 1
22379 _ACEOF
22380
22381 fi
22382
22383
22384
22385
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22387 $as_echo_n "checking for sinl... " >&6; }
22388 if ${gcc_cv_math_func_sinl+:} false; then :
22389 $as_echo_n "(cached) " >&6
22390 else
22391 if test x$gcc_no_link = xyes; then
22392 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22393 fi
22394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h. */
22396
22397 #ifdef HAVE_COMPLEX_H
22398 #include <complex.h>
22399 #endif
22400 #ifdef HAVE_MATH_H
22401 #include <math.h>
22402 #endif
22403
22404 int (*ptr)() = (int (*)())sinl;
22405
22406 int
22407 main ()
22408 {
22409 return 0;
22410 }
22411
22412 _ACEOF
22413 if ac_fn_c_try_link "$LINENO"; then :
22414 gcc_cv_math_func_sinl=yes
22415 else
22416 gcc_cv_math_func_sinl=no
22417 fi
22418 rm -f core conftest.err conftest.$ac_objext \
22419 conftest$ac_exeext conftest.$ac_ext
22420 fi
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22422 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22423 if test $gcc_cv_math_func_sinl = yes; then
22424
22425 cat >>confdefs.h <<_ACEOF
22426 #define HAVE_SINL 1
22427 _ACEOF
22428
22429 fi
22430
22431
22432
22433
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22435 $as_echo_n "checking for csinf... " >&6; }
22436 if ${gcc_cv_math_func_csinf+:} false; then :
22437 $as_echo_n "(cached) " >&6
22438 else
22439 if test x$gcc_no_link = xyes; then
22440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22441 fi
22442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22443 /* end confdefs.h. */
22444
22445 #ifdef HAVE_COMPLEX_H
22446 #include <complex.h>
22447 #endif
22448 #ifdef HAVE_MATH_H
22449 #include <math.h>
22450 #endif
22451
22452 int (*ptr)() = (int (*)())csinf;
22453
22454 int
22455 main ()
22456 {
22457 return 0;
22458 }
22459
22460 _ACEOF
22461 if ac_fn_c_try_link "$LINENO"; then :
22462 gcc_cv_math_func_csinf=yes
22463 else
22464 gcc_cv_math_func_csinf=no
22465 fi
22466 rm -f core conftest.err conftest.$ac_objext \
22467 conftest$ac_exeext conftest.$ac_ext
22468 fi
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22470 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22471 if test $gcc_cv_math_func_csinf = yes; then
22472
22473 cat >>confdefs.h <<_ACEOF
22474 #define HAVE_CSINF 1
22475 _ACEOF
22476
22477 fi
22478
22479
22480
22481
22482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22483 $as_echo_n "checking for csin... " >&6; }
22484 if ${gcc_cv_math_func_csin+:} false; then :
22485 $as_echo_n "(cached) " >&6
22486 else
22487 if test x$gcc_no_link = xyes; then
22488 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22489 fi
22490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22491 /* end confdefs.h. */
22492
22493 #ifdef HAVE_COMPLEX_H
22494 #include <complex.h>
22495 #endif
22496 #ifdef HAVE_MATH_H
22497 #include <math.h>
22498 #endif
22499
22500 int (*ptr)() = (int (*)())csin;
22501
22502 int
22503 main ()
22504 {
22505 return 0;
22506 }
22507
22508 _ACEOF
22509 if ac_fn_c_try_link "$LINENO"; then :
22510 gcc_cv_math_func_csin=yes
22511 else
22512 gcc_cv_math_func_csin=no
22513 fi
22514 rm -f core conftest.err conftest.$ac_objext \
22515 conftest$ac_exeext conftest.$ac_ext
22516 fi
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22518 $as_echo "$gcc_cv_math_func_csin" >&6; }
22519 if test $gcc_cv_math_func_csin = yes; then
22520
22521 cat >>confdefs.h <<_ACEOF
22522 #define HAVE_CSIN 1
22523 _ACEOF
22524
22525 fi
22526
22527
22528
22529
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22531 $as_echo_n "checking for csinl... " >&6; }
22532 if ${gcc_cv_math_func_csinl+:} false; then :
22533 $as_echo_n "(cached) " >&6
22534 else
22535 if test x$gcc_no_link = xyes; then
22536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22537 fi
22538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22539 /* end confdefs.h. */
22540
22541 #ifdef HAVE_COMPLEX_H
22542 #include <complex.h>
22543 #endif
22544 #ifdef HAVE_MATH_H
22545 #include <math.h>
22546 #endif
22547
22548 int (*ptr)() = (int (*)())csinl;
22549
22550 int
22551 main ()
22552 {
22553 return 0;
22554 }
22555
22556 _ACEOF
22557 if ac_fn_c_try_link "$LINENO"; then :
22558 gcc_cv_math_func_csinl=yes
22559 else
22560 gcc_cv_math_func_csinl=no
22561 fi
22562 rm -f core conftest.err conftest.$ac_objext \
22563 conftest$ac_exeext conftest.$ac_ext
22564 fi
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22566 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22567 if test $gcc_cv_math_func_csinl = yes; then
22568
22569 cat >>confdefs.h <<_ACEOF
22570 #define HAVE_CSINL 1
22571 _ACEOF
22572
22573 fi
22574
22575
22576
22577
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22579 $as_echo_n "checking for sinhf... " >&6; }
22580 if ${gcc_cv_math_func_sinhf+:} false; then :
22581 $as_echo_n "(cached) " >&6
22582 else
22583 if test x$gcc_no_link = xyes; then
22584 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22585 fi
22586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22587 /* end confdefs.h. */
22588
22589 #ifdef HAVE_COMPLEX_H
22590 #include <complex.h>
22591 #endif
22592 #ifdef HAVE_MATH_H
22593 #include <math.h>
22594 #endif
22595
22596 int (*ptr)() = (int (*)())sinhf;
22597
22598 int
22599 main ()
22600 {
22601 return 0;
22602 }
22603
22604 _ACEOF
22605 if ac_fn_c_try_link "$LINENO"; then :
22606 gcc_cv_math_func_sinhf=yes
22607 else
22608 gcc_cv_math_func_sinhf=no
22609 fi
22610 rm -f core conftest.err conftest.$ac_objext \
22611 conftest$ac_exeext conftest.$ac_ext
22612 fi
22613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22614 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22615 if test $gcc_cv_math_func_sinhf = yes; then
22616
22617 cat >>confdefs.h <<_ACEOF
22618 #define HAVE_SINHF 1
22619 _ACEOF
22620
22621 fi
22622
22623
22624
22625
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22627 $as_echo_n "checking for sinh... " >&6; }
22628 if ${gcc_cv_math_func_sinh+:} false; then :
22629 $as_echo_n "(cached) " >&6
22630 else
22631 if test x$gcc_no_link = xyes; then
22632 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22633 fi
22634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22635 /* end confdefs.h. */
22636
22637 #ifdef HAVE_COMPLEX_H
22638 #include <complex.h>
22639 #endif
22640 #ifdef HAVE_MATH_H
22641 #include <math.h>
22642 #endif
22643
22644 int (*ptr)() = (int (*)())sinh;
22645
22646 int
22647 main ()
22648 {
22649 return 0;
22650 }
22651
22652 _ACEOF
22653 if ac_fn_c_try_link "$LINENO"; then :
22654 gcc_cv_math_func_sinh=yes
22655 else
22656 gcc_cv_math_func_sinh=no
22657 fi
22658 rm -f core conftest.err conftest.$ac_objext \
22659 conftest$ac_exeext conftest.$ac_ext
22660 fi
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22662 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22663 if test $gcc_cv_math_func_sinh = yes; then
22664
22665 cat >>confdefs.h <<_ACEOF
22666 #define HAVE_SINH 1
22667 _ACEOF
22668
22669 fi
22670
22671
22672
22673
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22675 $as_echo_n "checking for sinhl... " >&6; }
22676 if ${gcc_cv_math_func_sinhl+:} false; then :
22677 $as_echo_n "(cached) " >&6
22678 else
22679 if test x$gcc_no_link = xyes; then
22680 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22681 fi
22682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22683 /* end confdefs.h. */
22684
22685 #ifdef HAVE_COMPLEX_H
22686 #include <complex.h>
22687 #endif
22688 #ifdef HAVE_MATH_H
22689 #include <math.h>
22690 #endif
22691
22692 int (*ptr)() = (int (*)())sinhl;
22693
22694 int
22695 main ()
22696 {
22697 return 0;
22698 }
22699
22700 _ACEOF
22701 if ac_fn_c_try_link "$LINENO"; then :
22702 gcc_cv_math_func_sinhl=yes
22703 else
22704 gcc_cv_math_func_sinhl=no
22705 fi
22706 rm -f core conftest.err conftest.$ac_objext \
22707 conftest$ac_exeext conftest.$ac_ext
22708 fi
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22710 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22711 if test $gcc_cv_math_func_sinhl = yes; then
22712
22713 cat >>confdefs.h <<_ACEOF
22714 #define HAVE_SINHL 1
22715 _ACEOF
22716
22717 fi
22718
22719
22720
22721
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22723 $as_echo_n "checking for csinhf... " >&6; }
22724 if ${gcc_cv_math_func_csinhf+:} false; then :
22725 $as_echo_n "(cached) " >&6
22726 else
22727 if test x$gcc_no_link = xyes; then
22728 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22729 fi
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22731 /* end confdefs.h. */
22732
22733 #ifdef HAVE_COMPLEX_H
22734 #include <complex.h>
22735 #endif
22736 #ifdef HAVE_MATH_H
22737 #include <math.h>
22738 #endif
22739
22740 int (*ptr)() = (int (*)())csinhf;
22741
22742 int
22743 main ()
22744 {
22745 return 0;
22746 }
22747
22748 _ACEOF
22749 if ac_fn_c_try_link "$LINENO"; then :
22750 gcc_cv_math_func_csinhf=yes
22751 else
22752 gcc_cv_math_func_csinhf=no
22753 fi
22754 rm -f core conftest.err conftest.$ac_objext \
22755 conftest$ac_exeext conftest.$ac_ext
22756 fi
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22758 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22759 if test $gcc_cv_math_func_csinhf = yes; then
22760
22761 cat >>confdefs.h <<_ACEOF
22762 #define HAVE_CSINHF 1
22763 _ACEOF
22764
22765 fi
22766
22767
22768
22769
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22771 $as_echo_n "checking for csinh... " >&6; }
22772 if ${gcc_cv_math_func_csinh+:} false; then :
22773 $as_echo_n "(cached) " >&6
22774 else
22775 if test x$gcc_no_link = xyes; then
22776 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22777 fi
22778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22779 /* end confdefs.h. */
22780
22781 #ifdef HAVE_COMPLEX_H
22782 #include <complex.h>
22783 #endif
22784 #ifdef HAVE_MATH_H
22785 #include <math.h>
22786 #endif
22787
22788 int (*ptr)() = (int (*)())csinh;
22789
22790 int
22791 main ()
22792 {
22793 return 0;
22794 }
22795
22796 _ACEOF
22797 if ac_fn_c_try_link "$LINENO"; then :
22798 gcc_cv_math_func_csinh=yes
22799 else
22800 gcc_cv_math_func_csinh=no
22801 fi
22802 rm -f core conftest.err conftest.$ac_objext \
22803 conftest$ac_exeext conftest.$ac_ext
22804 fi
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22806 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22807 if test $gcc_cv_math_func_csinh = yes; then
22808
22809 cat >>confdefs.h <<_ACEOF
22810 #define HAVE_CSINH 1
22811 _ACEOF
22812
22813 fi
22814
22815
22816
22817
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22819 $as_echo_n "checking for csinhl... " >&6; }
22820 if ${gcc_cv_math_func_csinhl+:} false; then :
22821 $as_echo_n "(cached) " >&6
22822 else
22823 if test x$gcc_no_link = xyes; then
22824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22825 fi
22826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22827 /* end confdefs.h. */
22828
22829 #ifdef HAVE_COMPLEX_H
22830 #include <complex.h>
22831 #endif
22832 #ifdef HAVE_MATH_H
22833 #include <math.h>
22834 #endif
22835
22836 int (*ptr)() = (int (*)())csinhl;
22837
22838 int
22839 main ()
22840 {
22841 return 0;
22842 }
22843
22844 _ACEOF
22845 if ac_fn_c_try_link "$LINENO"; then :
22846 gcc_cv_math_func_csinhl=yes
22847 else
22848 gcc_cv_math_func_csinhl=no
22849 fi
22850 rm -f core conftest.err conftest.$ac_objext \
22851 conftest$ac_exeext conftest.$ac_ext
22852 fi
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22854 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22855 if test $gcc_cv_math_func_csinhl = yes; then
22856
22857 cat >>confdefs.h <<_ACEOF
22858 #define HAVE_CSINHL 1
22859 _ACEOF
22860
22861 fi
22862
22863
22864
22865
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22867 $as_echo_n "checking for sqrtf... " >&6; }
22868 if ${gcc_cv_math_func_sqrtf+:} false; then :
22869 $as_echo_n "(cached) " >&6
22870 else
22871 if test x$gcc_no_link = xyes; then
22872 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22873 fi
22874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22875 /* end confdefs.h. */
22876
22877 #ifdef HAVE_COMPLEX_H
22878 #include <complex.h>
22879 #endif
22880 #ifdef HAVE_MATH_H
22881 #include <math.h>
22882 #endif
22883
22884 int (*ptr)() = (int (*)())sqrtf;
22885
22886 int
22887 main ()
22888 {
22889 return 0;
22890 }
22891
22892 _ACEOF
22893 if ac_fn_c_try_link "$LINENO"; then :
22894 gcc_cv_math_func_sqrtf=yes
22895 else
22896 gcc_cv_math_func_sqrtf=no
22897 fi
22898 rm -f core conftest.err conftest.$ac_objext \
22899 conftest$ac_exeext conftest.$ac_ext
22900 fi
22901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22902 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22903 if test $gcc_cv_math_func_sqrtf = yes; then
22904
22905 cat >>confdefs.h <<_ACEOF
22906 #define HAVE_SQRTF 1
22907 _ACEOF
22908
22909 fi
22910
22911
22912
22913
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22915 $as_echo_n "checking for sqrt... " >&6; }
22916 if ${gcc_cv_math_func_sqrt+:} false; then :
22917 $as_echo_n "(cached) " >&6
22918 else
22919 if test x$gcc_no_link = xyes; then
22920 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22921 fi
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22924
22925 #ifdef HAVE_COMPLEX_H
22926 #include <complex.h>
22927 #endif
22928 #ifdef HAVE_MATH_H
22929 #include <math.h>
22930 #endif
22931
22932 int (*ptr)() = (int (*)())sqrt;
22933
22934 int
22935 main ()
22936 {
22937 return 0;
22938 }
22939
22940 _ACEOF
22941 if ac_fn_c_try_link "$LINENO"; then :
22942 gcc_cv_math_func_sqrt=yes
22943 else
22944 gcc_cv_math_func_sqrt=no
22945 fi
22946 rm -f core conftest.err conftest.$ac_objext \
22947 conftest$ac_exeext conftest.$ac_ext
22948 fi
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22950 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22951 if test $gcc_cv_math_func_sqrt = yes; then
22952
22953 cat >>confdefs.h <<_ACEOF
22954 #define HAVE_SQRT 1
22955 _ACEOF
22956
22957 fi
22958
22959
22960
22961
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22963 $as_echo_n "checking for sqrtl... " >&6; }
22964 if ${gcc_cv_math_func_sqrtl+:} false; then :
22965 $as_echo_n "(cached) " >&6
22966 else
22967 if test x$gcc_no_link = xyes; then
22968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22969 fi
22970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22971 /* end confdefs.h. */
22972
22973 #ifdef HAVE_COMPLEX_H
22974 #include <complex.h>
22975 #endif
22976 #ifdef HAVE_MATH_H
22977 #include <math.h>
22978 #endif
22979
22980 int (*ptr)() = (int (*)())sqrtl;
22981
22982 int
22983 main ()
22984 {
22985 return 0;
22986 }
22987
22988 _ACEOF
22989 if ac_fn_c_try_link "$LINENO"; then :
22990 gcc_cv_math_func_sqrtl=yes
22991 else
22992 gcc_cv_math_func_sqrtl=no
22993 fi
22994 rm -f core conftest.err conftest.$ac_objext \
22995 conftest$ac_exeext conftest.$ac_ext
22996 fi
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22998 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22999 if test $gcc_cv_math_func_sqrtl = yes; then
23000
23001 cat >>confdefs.h <<_ACEOF
23002 #define HAVE_SQRTL 1
23003 _ACEOF
23004
23005 fi
23006
23007
23008
23009
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23011 $as_echo_n "checking for csqrtf... " >&6; }
23012 if ${gcc_cv_math_func_csqrtf+:} false; then :
23013 $as_echo_n "(cached) " >&6
23014 else
23015 if test x$gcc_no_link = xyes; then
23016 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23017 fi
23018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23019 /* end confdefs.h. */
23020
23021 #ifdef HAVE_COMPLEX_H
23022 #include <complex.h>
23023 #endif
23024 #ifdef HAVE_MATH_H
23025 #include <math.h>
23026 #endif
23027
23028 int (*ptr)() = (int (*)())csqrtf;
23029
23030 int
23031 main ()
23032 {
23033 return 0;
23034 }
23035
23036 _ACEOF
23037 if ac_fn_c_try_link "$LINENO"; then :
23038 gcc_cv_math_func_csqrtf=yes
23039 else
23040 gcc_cv_math_func_csqrtf=no
23041 fi
23042 rm -f core conftest.err conftest.$ac_objext \
23043 conftest$ac_exeext conftest.$ac_ext
23044 fi
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23046 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23047 if test $gcc_cv_math_func_csqrtf = yes; then
23048
23049 cat >>confdefs.h <<_ACEOF
23050 #define HAVE_CSQRTF 1
23051 _ACEOF
23052
23053 fi
23054
23055
23056
23057
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23059 $as_echo_n "checking for csqrt... " >&6; }
23060 if ${gcc_cv_math_func_csqrt+:} false; then :
23061 $as_echo_n "(cached) " >&6
23062 else
23063 if test x$gcc_no_link = xyes; then
23064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23065 fi
23066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23067 /* end confdefs.h. */
23068
23069 #ifdef HAVE_COMPLEX_H
23070 #include <complex.h>
23071 #endif
23072 #ifdef HAVE_MATH_H
23073 #include <math.h>
23074 #endif
23075
23076 int (*ptr)() = (int (*)())csqrt;
23077
23078 int
23079 main ()
23080 {
23081 return 0;
23082 }
23083
23084 _ACEOF
23085 if ac_fn_c_try_link "$LINENO"; then :
23086 gcc_cv_math_func_csqrt=yes
23087 else
23088 gcc_cv_math_func_csqrt=no
23089 fi
23090 rm -f core conftest.err conftest.$ac_objext \
23091 conftest$ac_exeext conftest.$ac_ext
23092 fi
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23094 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23095 if test $gcc_cv_math_func_csqrt = yes; then
23096
23097 cat >>confdefs.h <<_ACEOF
23098 #define HAVE_CSQRT 1
23099 _ACEOF
23100
23101 fi
23102
23103
23104
23105
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23107 $as_echo_n "checking for csqrtl... " >&6; }
23108 if ${gcc_cv_math_func_csqrtl+:} false; then :
23109 $as_echo_n "(cached) " >&6
23110 else
23111 if test x$gcc_no_link = xyes; then
23112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23113 fi
23114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23115 /* end confdefs.h. */
23116
23117 #ifdef HAVE_COMPLEX_H
23118 #include <complex.h>
23119 #endif
23120 #ifdef HAVE_MATH_H
23121 #include <math.h>
23122 #endif
23123
23124 int (*ptr)() = (int (*)())csqrtl;
23125
23126 int
23127 main ()
23128 {
23129 return 0;
23130 }
23131
23132 _ACEOF
23133 if ac_fn_c_try_link "$LINENO"; then :
23134 gcc_cv_math_func_csqrtl=yes
23135 else
23136 gcc_cv_math_func_csqrtl=no
23137 fi
23138 rm -f core conftest.err conftest.$ac_objext \
23139 conftest$ac_exeext conftest.$ac_ext
23140 fi
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23142 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23143 if test $gcc_cv_math_func_csqrtl = yes; then
23144
23145 cat >>confdefs.h <<_ACEOF
23146 #define HAVE_CSQRTL 1
23147 _ACEOF
23148
23149 fi
23150
23151
23152
23153
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23155 $as_echo_n "checking for tanf... " >&6; }
23156 if ${gcc_cv_math_func_tanf+:} false; then :
23157 $as_echo_n "(cached) " >&6
23158 else
23159 if test x$gcc_no_link = xyes; then
23160 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23161 fi
23162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23163 /* end confdefs.h. */
23164
23165 #ifdef HAVE_COMPLEX_H
23166 #include <complex.h>
23167 #endif
23168 #ifdef HAVE_MATH_H
23169 #include <math.h>
23170 #endif
23171
23172 int (*ptr)() = (int (*)())tanf;
23173
23174 int
23175 main ()
23176 {
23177 return 0;
23178 }
23179
23180 _ACEOF
23181 if ac_fn_c_try_link "$LINENO"; then :
23182 gcc_cv_math_func_tanf=yes
23183 else
23184 gcc_cv_math_func_tanf=no
23185 fi
23186 rm -f core conftest.err conftest.$ac_objext \
23187 conftest$ac_exeext conftest.$ac_ext
23188 fi
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23190 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23191 if test $gcc_cv_math_func_tanf = yes; then
23192
23193 cat >>confdefs.h <<_ACEOF
23194 #define HAVE_TANF 1
23195 _ACEOF
23196
23197 fi
23198
23199
23200
23201
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23203 $as_echo_n "checking for tan... " >&6; }
23204 if ${gcc_cv_math_func_tan+:} false; then :
23205 $as_echo_n "(cached) " >&6
23206 else
23207 if test x$gcc_no_link = xyes; then
23208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23209 fi
23210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23211 /* end confdefs.h. */
23212
23213 #ifdef HAVE_COMPLEX_H
23214 #include <complex.h>
23215 #endif
23216 #ifdef HAVE_MATH_H
23217 #include <math.h>
23218 #endif
23219
23220 int (*ptr)() = (int (*)())tan;
23221
23222 int
23223 main ()
23224 {
23225 return 0;
23226 }
23227
23228 _ACEOF
23229 if ac_fn_c_try_link "$LINENO"; then :
23230 gcc_cv_math_func_tan=yes
23231 else
23232 gcc_cv_math_func_tan=no
23233 fi
23234 rm -f core conftest.err conftest.$ac_objext \
23235 conftest$ac_exeext conftest.$ac_ext
23236 fi
23237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23238 $as_echo "$gcc_cv_math_func_tan" >&6; }
23239 if test $gcc_cv_math_func_tan = yes; then
23240
23241 cat >>confdefs.h <<_ACEOF
23242 #define HAVE_TAN 1
23243 _ACEOF
23244
23245 fi
23246
23247
23248
23249
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23251 $as_echo_n "checking for tanl... " >&6; }
23252 if ${gcc_cv_math_func_tanl+:} false; then :
23253 $as_echo_n "(cached) " >&6
23254 else
23255 if test x$gcc_no_link = xyes; then
23256 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23257 fi
23258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23259 /* end confdefs.h. */
23260
23261 #ifdef HAVE_COMPLEX_H
23262 #include <complex.h>
23263 #endif
23264 #ifdef HAVE_MATH_H
23265 #include <math.h>
23266 #endif
23267
23268 int (*ptr)() = (int (*)())tanl;
23269
23270 int
23271 main ()
23272 {
23273 return 0;
23274 }
23275
23276 _ACEOF
23277 if ac_fn_c_try_link "$LINENO"; then :
23278 gcc_cv_math_func_tanl=yes
23279 else
23280 gcc_cv_math_func_tanl=no
23281 fi
23282 rm -f core conftest.err conftest.$ac_objext \
23283 conftest$ac_exeext conftest.$ac_ext
23284 fi
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23286 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23287 if test $gcc_cv_math_func_tanl = yes; then
23288
23289 cat >>confdefs.h <<_ACEOF
23290 #define HAVE_TANL 1
23291 _ACEOF
23292
23293 fi
23294
23295
23296
23297
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23299 $as_echo_n "checking for ctanf... " >&6; }
23300 if ${gcc_cv_math_func_ctanf+:} false; then :
23301 $as_echo_n "(cached) " >&6
23302 else
23303 if test x$gcc_no_link = xyes; then
23304 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23305 fi
23306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23307 /* end confdefs.h. */
23308
23309 #ifdef HAVE_COMPLEX_H
23310 #include <complex.h>
23311 #endif
23312 #ifdef HAVE_MATH_H
23313 #include <math.h>
23314 #endif
23315
23316 int (*ptr)() = (int (*)())ctanf;
23317
23318 int
23319 main ()
23320 {
23321 return 0;
23322 }
23323
23324 _ACEOF
23325 if ac_fn_c_try_link "$LINENO"; then :
23326 gcc_cv_math_func_ctanf=yes
23327 else
23328 gcc_cv_math_func_ctanf=no
23329 fi
23330 rm -f core conftest.err conftest.$ac_objext \
23331 conftest$ac_exeext conftest.$ac_ext
23332 fi
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23334 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23335 if test $gcc_cv_math_func_ctanf = yes; then
23336
23337 cat >>confdefs.h <<_ACEOF
23338 #define HAVE_CTANF 1
23339 _ACEOF
23340
23341 fi
23342
23343
23344
23345
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23347 $as_echo_n "checking for ctan... " >&6; }
23348 if ${gcc_cv_math_func_ctan+:} false; then :
23349 $as_echo_n "(cached) " >&6
23350 else
23351 if test x$gcc_no_link = xyes; then
23352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23353 fi
23354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23355 /* end confdefs.h. */
23356
23357 #ifdef HAVE_COMPLEX_H
23358 #include <complex.h>
23359 #endif
23360 #ifdef HAVE_MATH_H
23361 #include <math.h>
23362 #endif
23363
23364 int (*ptr)() = (int (*)())ctan;
23365
23366 int
23367 main ()
23368 {
23369 return 0;
23370 }
23371
23372 _ACEOF
23373 if ac_fn_c_try_link "$LINENO"; then :
23374 gcc_cv_math_func_ctan=yes
23375 else
23376 gcc_cv_math_func_ctan=no
23377 fi
23378 rm -f core conftest.err conftest.$ac_objext \
23379 conftest$ac_exeext conftest.$ac_ext
23380 fi
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23382 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23383 if test $gcc_cv_math_func_ctan = yes; then
23384
23385 cat >>confdefs.h <<_ACEOF
23386 #define HAVE_CTAN 1
23387 _ACEOF
23388
23389 fi
23390
23391
23392
23393
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23395 $as_echo_n "checking for ctanl... " >&6; }
23396 if ${gcc_cv_math_func_ctanl+:} false; then :
23397 $as_echo_n "(cached) " >&6
23398 else
23399 if test x$gcc_no_link = xyes; then
23400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23401 fi
23402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h. */
23404
23405 #ifdef HAVE_COMPLEX_H
23406 #include <complex.h>
23407 #endif
23408 #ifdef HAVE_MATH_H
23409 #include <math.h>
23410 #endif
23411
23412 int (*ptr)() = (int (*)())ctanl;
23413
23414 int
23415 main ()
23416 {
23417 return 0;
23418 }
23419
23420 _ACEOF
23421 if ac_fn_c_try_link "$LINENO"; then :
23422 gcc_cv_math_func_ctanl=yes
23423 else
23424 gcc_cv_math_func_ctanl=no
23425 fi
23426 rm -f core conftest.err conftest.$ac_objext \
23427 conftest$ac_exeext conftest.$ac_ext
23428 fi
23429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23430 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23431 if test $gcc_cv_math_func_ctanl = yes; then
23432
23433 cat >>confdefs.h <<_ACEOF
23434 #define HAVE_CTANL 1
23435 _ACEOF
23436
23437 fi
23438
23439
23440
23441
23442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23443 $as_echo_n "checking for tanhf... " >&6; }
23444 if ${gcc_cv_math_func_tanhf+:} false; then :
23445 $as_echo_n "(cached) " >&6
23446 else
23447 if test x$gcc_no_link = xyes; then
23448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23449 fi
23450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23451 /* end confdefs.h. */
23452
23453 #ifdef HAVE_COMPLEX_H
23454 #include <complex.h>
23455 #endif
23456 #ifdef HAVE_MATH_H
23457 #include <math.h>
23458 #endif
23459
23460 int (*ptr)() = (int (*)())tanhf;
23461
23462 int
23463 main ()
23464 {
23465 return 0;
23466 }
23467
23468 _ACEOF
23469 if ac_fn_c_try_link "$LINENO"; then :
23470 gcc_cv_math_func_tanhf=yes
23471 else
23472 gcc_cv_math_func_tanhf=no
23473 fi
23474 rm -f core conftest.err conftest.$ac_objext \
23475 conftest$ac_exeext conftest.$ac_ext
23476 fi
23477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23478 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23479 if test $gcc_cv_math_func_tanhf = yes; then
23480
23481 cat >>confdefs.h <<_ACEOF
23482 #define HAVE_TANHF 1
23483 _ACEOF
23484
23485 fi
23486
23487
23488
23489
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23491 $as_echo_n "checking for tanh... " >&6; }
23492 if ${gcc_cv_math_func_tanh+:} false; then :
23493 $as_echo_n "(cached) " >&6
23494 else
23495 if test x$gcc_no_link = xyes; then
23496 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23497 fi
23498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 /* end confdefs.h. */
23500
23501 #ifdef HAVE_COMPLEX_H
23502 #include <complex.h>
23503 #endif
23504 #ifdef HAVE_MATH_H
23505 #include <math.h>
23506 #endif
23507
23508 int (*ptr)() = (int (*)())tanh;
23509
23510 int
23511 main ()
23512 {
23513 return 0;
23514 }
23515
23516 _ACEOF
23517 if ac_fn_c_try_link "$LINENO"; then :
23518 gcc_cv_math_func_tanh=yes
23519 else
23520 gcc_cv_math_func_tanh=no
23521 fi
23522 rm -f core conftest.err conftest.$ac_objext \
23523 conftest$ac_exeext conftest.$ac_ext
23524 fi
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23526 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23527 if test $gcc_cv_math_func_tanh = yes; then
23528
23529 cat >>confdefs.h <<_ACEOF
23530 #define HAVE_TANH 1
23531 _ACEOF
23532
23533 fi
23534
23535
23536
23537
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23539 $as_echo_n "checking for tanhl... " >&6; }
23540 if ${gcc_cv_math_func_tanhl+:} false; then :
23541 $as_echo_n "(cached) " >&6
23542 else
23543 if test x$gcc_no_link = xyes; then
23544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23545 fi
23546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h. */
23548
23549 #ifdef HAVE_COMPLEX_H
23550 #include <complex.h>
23551 #endif
23552 #ifdef HAVE_MATH_H
23553 #include <math.h>
23554 #endif
23555
23556 int (*ptr)() = (int (*)())tanhl;
23557
23558 int
23559 main ()
23560 {
23561 return 0;
23562 }
23563
23564 _ACEOF
23565 if ac_fn_c_try_link "$LINENO"; then :
23566 gcc_cv_math_func_tanhl=yes
23567 else
23568 gcc_cv_math_func_tanhl=no
23569 fi
23570 rm -f core conftest.err conftest.$ac_objext \
23571 conftest$ac_exeext conftest.$ac_ext
23572 fi
23573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23574 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23575 if test $gcc_cv_math_func_tanhl = yes; then
23576
23577 cat >>confdefs.h <<_ACEOF
23578 #define HAVE_TANHL 1
23579 _ACEOF
23580
23581 fi
23582
23583
23584
23585
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23587 $as_echo_n "checking for ctanhf... " >&6; }
23588 if ${gcc_cv_math_func_ctanhf+:} false; then :
23589 $as_echo_n "(cached) " >&6
23590 else
23591 if test x$gcc_no_link = xyes; then
23592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23593 fi
23594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23595 /* end confdefs.h. */
23596
23597 #ifdef HAVE_COMPLEX_H
23598 #include <complex.h>
23599 #endif
23600 #ifdef HAVE_MATH_H
23601 #include <math.h>
23602 #endif
23603
23604 int (*ptr)() = (int (*)())ctanhf;
23605
23606 int
23607 main ()
23608 {
23609 return 0;
23610 }
23611
23612 _ACEOF
23613 if ac_fn_c_try_link "$LINENO"; then :
23614 gcc_cv_math_func_ctanhf=yes
23615 else
23616 gcc_cv_math_func_ctanhf=no
23617 fi
23618 rm -f core conftest.err conftest.$ac_objext \
23619 conftest$ac_exeext conftest.$ac_ext
23620 fi
23621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23622 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23623 if test $gcc_cv_math_func_ctanhf = yes; then
23624
23625 cat >>confdefs.h <<_ACEOF
23626 #define HAVE_CTANHF 1
23627 _ACEOF
23628
23629 fi
23630
23631
23632
23633
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23635 $as_echo_n "checking for ctanh... " >&6; }
23636 if ${gcc_cv_math_func_ctanh+:} false; then :
23637 $as_echo_n "(cached) " >&6
23638 else
23639 if test x$gcc_no_link = xyes; then
23640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23641 fi
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23644
23645 #ifdef HAVE_COMPLEX_H
23646 #include <complex.h>
23647 #endif
23648 #ifdef HAVE_MATH_H
23649 #include <math.h>
23650 #endif
23651
23652 int (*ptr)() = (int (*)())ctanh;
23653
23654 int
23655 main ()
23656 {
23657 return 0;
23658 }
23659
23660 _ACEOF
23661 if ac_fn_c_try_link "$LINENO"; then :
23662 gcc_cv_math_func_ctanh=yes
23663 else
23664 gcc_cv_math_func_ctanh=no
23665 fi
23666 rm -f core conftest.err conftest.$ac_objext \
23667 conftest$ac_exeext conftest.$ac_ext
23668 fi
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23670 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23671 if test $gcc_cv_math_func_ctanh = yes; then
23672
23673 cat >>confdefs.h <<_ACEOF
23674 #define HAVE_CTANH 1
23675 _ACEOF
23676
23677 fi
23678
23679
23680
23681
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23683 $as_echo_n "checking for ctanhl... " >&6; }
23684 if ${gcc_cv_math_func_ctanhl+:} false; then :
23685 $as_echo_n "(cached) " >&6
23686 else
23687 if test x$gcc_no_link = xyes; then
23688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23689 fi
23690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h. */
23692
23693 #ifdef HAVE_COMPLEX_H
23694 #include <complex.h>
23695 #endif
23696 #ifdef HAVE_MATH_H
23697 #include <math.h>
23698 #endif
23699
23700 int (*ptr)() = (int (*)())ctanhl;
23701
23702 int
23703 main ()
23704 {
23705 return 0;
23706 }
23707
23708 _ACEOF
23709 if ac_fn_c_try_link "$LINENO"; then :
23710 gcc_cv_math_func_ctanhl=yes
23711 else
23712 gcc_cv_math_func_ctanhl=no
23713 fi
23714 rm -f core conftest.err conftest.$ac_objext \
23715 conftest$ac_exeext conftest.$ac_ext
23716 fi
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23718 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23719 if test $gcc_cv_math_func_ctanhl = yes; then
23720
23721 cat >>confdefs.h <<_ACEOF
23722 #define HAVE_CTANHL 1
23723 _ACEOF
23724
23725 fi
23726
23727
23728
23729
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23731 $as_echo_n "checking for truncf... " >&6; }
23732 if ${gcc_cv_math_func_truncf+:} false; then :
23733 $as_echo_n "(cached) " >&6
23734 else
23735 if test x$gcc_no_link = xyes; then
23736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23737 fi
23738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23739 /* end confdefs.h. */
23740
23741 #ifdef HAVE_COMPLEX_H
23742 #include <complex.h>
23743 #endif
23744 #ifdef HAVE_MATH_H
23745 #include <math.h>
23746 #endif
23747
23748 int (*ptr)() = (int (*)())truncf;
23749
23750 int
23751 main ()
23752 {
23753 return 0;
23754 }
23755
23756 _ACEOF
23757 if ac_fn_c_try_link "$LINENO"; then :
23758 gcc_cv_math_func_truncf=yes
23759 else
23760 gcc_cv_math_func_truncf=no
23761 fi
23762 rm -f core conftest.err conftest.$ac_objext \
23763 conftest$ac_exeext conftest.$ac_ext
23764 fi
23765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23766 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23767 if test $gcc_cv_math_func_truncf = yes; then
23768
23769 cat >>confdefs.h <<_ACEOF
23770 #define HAVE_TRUNCF 1
23771 _ACEOF
23772
23773 fi
23774
23775
23776
23777
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23779 $as_echo_n "checking for trunc... " >&6; }
23780 if ${gcc_cv_math_func_trunc+:} false; then :
23781 $as_echo_n "(cached) " >&6
23782 else
23783 if test x$gcc_no_link = xyes; then
23784 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23785 fi
23786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23787 /* end confdefs.h. */
23788
23789 #ifdef HAVE_COMPLEX_H
23790 #include <complex.h>
23791 #endif
23792 #ifdef HAVE_MATH_H
23793 #include <math.h>
23794 #endif
23795
23796 int (*ptr)() = (int (*)())trunc;
23797
23798 int
23799 main ()
23800 {
23801 return 0;
23802 }
23803
23804 _ACEOF
23805 if ac_fn_c_try_link "$LINENO"; then :
23806 gcc_cv_math_func_trunc=yes
23807 else
23808 gcc_cv_math_func_trunc=no
23809 fi
23810 rm -f core conftest.err conftest.$ac_objext \
23811 conftest$ac_exeext conftest.$ac_ext
23812 fi
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23814 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23815 if test $gcc_cv_math_func_trunc = yes; then
23816
23817 cat >>confdefs.h <<_ACEOF
23818 #define HAVE_TRUNC 1
23819 _ACEOF
23820
23821 fi
23822
23823
23824
23825
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23827 $as_echo_n "checking for truncl... " >&6; }
23828 if ${gcc_cv_math_func_truncl+:} false; then :
23829 $as_echo_n "(cached) " >&6
23830 else
23831 if test x$gcc_no_link = xyes; then
23832 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23833 fi
23834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23835 /* end confdefs.h. */
23836
23837 #ifdef HAVE_COMPLEX_H
23838 #include <complex.h>
23839 #endif
23840 #ifdef HAVE_MATH_H
23841 #include <math.h>
23842 #endif
23843
23844 int (*ptr)() = (int (*)())truncl;
23845
23846 int
23847 main ()
23848 {
23849 return 0;
23850 }
23851
23852 _ACEOF
23853 if ac_fn_c_try_link "$LINENO"; then :
23854 gcc_cv_math_func_truncl=yes
23855 else
23856 gcc_cv_math_func_truncl=no
23857 fi
23858 rm -f core conftest.err conftest.$ac_objext \
23859 conftest$ac_exeext conftest.$ac_ext
23860 fi
23861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23862 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23863 if test $gcc_cv_math_func_truncl = yes; then
23864
23865 cat >>confdefs.h <<_ACEOF
23866 #define HAVE_TRUNCL 1
23867 _ACEOF
23868
23869 fi
23870
23871
23872
23873
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23875 $as_echo_n "checking for erff... " >&6; }
23876 if ${gcc_cv_math_func_erff+:} false; then :
23877 $as_echo_n "(cached) " >&6
23878 else
23879 if test x$gcc_no_link = xyes; then
23880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23881 fi
23882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h. */
23884
23885 #ifdef HAVE_COMPLEX_H
23886 #include <complex.h>
23887 #endif
23888 #ifdef HAVE_MATH_H
23889 #include <math.h>
23890 #endif
23891
23892 int (*ptr)() = (int (*)())erff;
23893
23894 int
23895 main ()
23896 {
23897 return 0;
23898 }
23899
23900 _ACEOF
23901 if ac_fn_c_try_link "$LINENO"; then :
23902 gcc_cv_math_func_erff=yes
23903 else
23904 gcc_cv_math_func_erff=no
23905 fi
23906 rm -f core conftest.err conftest.$ac_objext \
23907 conftest$ac_exeext conftest.$ac_ext
23908 fi
23909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23910 $as_echo "$gcc_cv_math_func_erff" >&6; }
23911 if test $gcc_cv_math_func_erff = yes; then
23912
23913 cat >>confdefs.h <<_ACEOF
23914 #define HAVE_ERFF 1
23915 _ACEOF
23916
23917 fi
23918
23919
23920
23921
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23923 $as_echo_n "checking for erf... " >&6; }
23924 if ${gcc_cv_math_func_erf+:} false; then :
23925 $as_echo_n "(cached) " >&6
23926 else
23927 if test x$gcc_no_link = xyes; then
23928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23929 fi
23930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23931 /* end confdefs.h. */
23932
23933 #ifdef HAVE_COMPLEX_H
23934 #include <complex.h>
23935 #endif
23936 #ifdef HAVE_MATH_H
23937 #include <math.h>
23938 #endif
23939
23940 int (*ptr)() = (int (*)())erf;
23941
23942 int
23943 main ()
23944 {
23945 return 0;
23946 }
23947
23948 _ACEOF
23949 if ac_fn_c_try_link "$LINENO"; then :
23950 gcc_cv_math_func_erf=yes
23951 else
23952 gcc_cv_math_func_erf=no
23953 fi
23954 rm -f core conftest.err conftest.$ac_objext \
23955 conftest$ac_exeext conftest.$ac_ext
23956 fi
23957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23958 $as_echo "$gcc_cv_math_func_erf" >&6; }
23959 if test $gcc_cv_math_func_erf = yes; then
23960
23961 cat >>confdefs.h <<_ACEOF
23962 #define HAVE_ERF 1
23963 _ACEOF
23964
23965 fi
23966
23967
23968
23969
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23971 $as_echo_n "checking for erfcf... " >&6; }
23972 if ${gcc_cv_math_func_erfcf+:} false; then :
23973 $as_echo_n "(cached) " >&6
23974 else
23975 if test x$gcc_no_link = xyes; then
23976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23977 fi
23978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23979 /* end confdefs.h. */
23980
23981 #ifdef HAVE_COMPLEX_H
23982 #include <complex.h>
23983 #endif
23984 #ifdef HAVE_MATH_H
23985 #include <math.h>
23986 #endif
23987
23988 int (*ptr)() = (int (*)())erfcf;
23989
23990 int
23991 main ()
23992 {
23993 return 0;
23994 }
23995
23996 _ACEOF
23997 if ac_fn_c_try_link "$LINENO"; then :
23998 gcc_cv_math_func_erfcf=yes
23999 else
24000 gcc_cv_math_func_erfcf=no
24001 fi
24002 rm -f core conftest.err conftest.$ac_objext \
24003 conftest$ac_exeext conftest.$ac_ext
24004 fi
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24006 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24007 if test $gcc_cv_math_func_erfcf = yes; then
24008
24009 cat >>confdefs.h <<_ACEOF
24010 #define HAVE_ERFCF 1
24011 _ACEOF
24012
24013 fi
24014
24015
24016
24017
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24019 $as_echo_n "checking for erfc... " >&6; }
24020 if ${gcc_cv_math_func_erfc+:} false; then :
24021 $as_echo_n "(cached) " >&6
24022 else
24023 if test x$gcc_no_link = xyes; then
24024 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24025 fi
24026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24027 /* end confdefs.h. */
24028
24029 #ifdef HAVE_COMPLEX_H
24030 #include <complex.h>
24031 #endif
24032 #ifdef HAVE_MATH_H
24033 #include <math.h>
24034 #endif
24035
24036 int (*ptr)() = (int (*)())erfc;
24037
24038 int
24039 main ()
24040 {
24041 return 0;
24042 }
24043
24044 _ACEOF
24045 if ac_fn_c_try_link "$LINENO"; then :
24046 gcc_cv_math_func_erfc=yes
24047 else
24048 gcc_cv_math_func_erfc=no
24049 fi
24050 rm -f core conftest.err conftest.$ac_objext \
24051 conftest$ac_exeext conftest.$ac_ext
24052 fi
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24054 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24055 if test $gcc_cv_math_func_erfc = yes; then
24056
24057 cat >>confdefs.h <<_ACEOF
24058 #define HAVE_ERFC 1
24059 _ACEOF
24060
24061 fi
24062
24063
24064
24065
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24067 $as_echo_n "checking for erfcl... " >&6; }
24068 if ${gcc_cv_math_func_erfcl+:} false; then :
24069 $as_echo_n "(cached) " >&6
24070 else
24071 if test x$gcc_no_link = xyes; then
24072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24073 fi
24074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24075 /* end confdefs.h. */
24076
24077 #ifdef HAVE_COMPLEX_H
24078 #include <complex.h>
24079 #endif
24080 #ifdef HAVE_MATH_H
24081 #include <math.h>
24082 #endif
24083
24084 int (*ptr)() = (int (*)())erfcl;
24085
24086 int
24087 main ()
24088 {
24089 return 0;
24090 }
24091
24092 _ACEOF
24093 if ac_fn_c_try_link "$LINENO"; then :
24094 gcc_cv_math_func_erfcl=yes
24095 else
24096 gcc_cv_math_func_erfcl=no
24097 fi
24098 rm -f core conftest.err conftest.$ac_objext \
24099 conftest$ac_exeext conftest.$ac_ext
24100 fi
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24102 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24103 if test $gcc_cv_math_func_erfcl = yes; then
24104
24105 cat >>confdefs.h <<_ACEOF
24106 #define HAVE_ERFCL 1
24107 _ACEOF
24108
24109 fi
24110
24111
24112
24113
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24115 $as_echo_n "checking for j0f... " >&6; }
24116 if ${gcc_cv_math_func_j0f+:} false; then :
24117 $as_echo_n "(cached) " >&6
24118 else
24119 if test x$gcc_no_link = xyes; then
24120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24121 fi
24122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24123 /* end confdefs.h. */
24124
24125 #ifdef HAVE_COMPLEX_H
24126 #include <complex.h>
24127 #endif
24128 #ifdef HAVE_MATH_H
24129 #include <math.h>
24130 #endif
24131
24132 int (*ptr)() = (int (*)())j0f;
24133
24134 int
24135 main ()
24136 {
24137 return 0;
24138 }
24139
24140 _ACEOF
24141 if ac_fn_c_try_link "$LINENO"; then :
24142 gcc_cv_math_func_j0f=yes
24143 else
24144 gcc_cv_math_func_j0f=no
24145 fi
24146 rm -f core conftest.err conftest.$ac_objext \
24147 conftest$ac_exeext conftest.$ac_ext
24148 fi
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24150 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24151 if test $gcc_cv_math_func_j0f = yes; then
24152
24153 cat >>confdefs.h <<_ACEOF
24154 #define HAVE_J0F 1
24155 _ACEOF
24156
24157 fi
24158
24159
24160
24161
24162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24163 $as_echo_n "checking for j0... " >&6; }
24164 if ${gcc_cv_math_func_j0+:} false; then :
24165 $as_echo_n "(cached) " >&6
24166 else
24167 if test x$gcc_no_link = xyes; then
24168 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24169 fi
24170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24171 /* end confdefs.h. */
24172
24173 #ifdef HAVE_COMPLEX_H
24174 #include <complex.h>
24175 #endif
24176 #ifdef HAVE_MATH_H
24177 #include <math.h>
24178 #endif
24179
24180 int (*ptr)() = (int (*)())j0;
24181
24182 int
24183 main ()
24184 {
24185 return 0;
24186 }
24187
24188 _ACEOF
24189 if ac_fn_c_try_link "$LINENO"; then :
24190 gcc_cv_math_func_j0=yes
24191 else
24192 gcc_cv_math_func_j0=no
24193 fi
24194 rm -f core conftest.err conftest.$ac_objext \
24195 conftest$ac_exeext conftest.$ac_ext
24196 fi
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24198 $as_echo "$gcc_cv_math_func_j0" >&6; }
24199 if test $gcc_cv_math_func_j0 = yes; then
24200
24201 cat >>confdefs.h <<_ACEOF
24202 #define HAVE_J0 1
24203 _ACEOF
24204
24205 fi
24206
24207
24208
24209
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24211 $as_echo_n "checking for j1f... " >&6; }
24212 if ${gcc_cv_math_func_j1f+:} false; then :
24213 $as_echo_n "(cached) " >&6
24214 else
24215 if test x$gcc_no_link = xyes; then
24216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24217 fi
24218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24219 /* end confdefs.h. */
24220
24221 #ifdef HAVE_COMPLEX_H
24222 #include <complex.h>
24223 #endif
24224 #ifdef HAVE_MATH_H
24225 #include <math.h>
24226 #endif
24227
24228 int (*ptr)() = (int (*)())j1f;
24229
24230 int
24231 main ()
24232 {
24233 return 0;
24234 }
24235
24236 _ACEOF
24237 if ac_fn_c_try_link "$LINENO"; then :
24238 gcc_cv_math_func_j1f=yes
24239 else
24240 gcc_cv_math_func_j1f=no
24241 fi
24242 rm -f core conftest.err conftest.$ac_objext \
24243 conftest$ac_exeext conftest.$ac_ext
24244 fi
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24246 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24247 if test $gcc_cv_math_func_j1f = yes; then
24248
24249 cat >>confdefs.h <<_ACEOF
24250 #define HAVE_J1F 1
24251 _ACEOF
24252
24253 fi
24254
24255
24256
24257
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24259 $as_echo_n "checking for j1... " >&6; }
24260 if ${gcc_cv_math_func_j1+:} false; then :
24261 $as_echo_n "(cached) " >&6
24262 else
24263 if test x$gcc_no_link = xyes; then
24264 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24265 fi
24266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24267 /* end confdefs.h. */
24268
24269 #ifdef HAVE_COMPLEX_H
24270 #include <complex.h>
24271 #endif
24272 #ifdef HAVE_MATH_H
24273 #include <math.h>
24274 #endif
24275
24276 int (*ptr)() = (int (*)())j1;
24277
24278 int
24279 main ()
24280 {
24281 return 0;
24282 }
24283
24284 _ACEOF
24285 if ac_fn_c_try_link "$LINENO"; then :
24286 gcc_cv_math_func_j1=yes
24287 else
24288 gcc_cv_math_func_j1=no
24289 fi
24290 rm -f core conftest.err conftest.$ac_objext \
24291 conftest$ac_exeext conftest.$ac_ext
24292 fi
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24294 $as_echo "$gcc_cv_math_func_j1" >&6; }
24295 if test $gcc_cv_math_func_j1 = yes; then
24296
24297 cat >>confdefs.h <<_ACEOF
24298 #define HAVE_J1 1
24299 _ACEOF
24300
24301 fi
24302
24303
24304
24305
24306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24307 $as_echo_n "checking for jnf... " >&6; }
24308 if ${gcc_cv_math_func_jnf+:} false; then :
24309 $as_echo_n "(cached) " >&6
24310 else
24311 if test x$gcc_no_link = xyes; then
24312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24313 fi
24314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24315 /* end confdefs.h. */
24316
24317 #ifdef HAVE_COMPLEX_H
24318 #include <complex.h>
24319 #endif
24320 #ifdef HAVE_MATH_H
24321 #include <math.h>
24322 #endif
24323
24324 int (*ptr)() = (int (*)())jnf;
24325
24326 int
24327 main ()
24328 {
24329 return 0;
24330 }
24331
24332 _ACEOF
24333 if ac_fn_c_try_link "$LINENO"; then :
24334 gcc_cv_math_func_jnf=yes
24335 else
24336 gcc_cv_math_func_jnf=no
24337 fi
24338 rm -f core conftest.err conftest.$ac_objext \
24339 conftest$ac_exeext conftest.$ac_ext
24340 fi
24341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24342 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24343 if test $gcc_cv_math_func_jnf = yes; then
24344
24345 cat >>confdefs.h <<_ACEOF
24346 #define HAVE_JNF 1
24347 _ACEOF
24348
24349 fi
24350
24351
24352
24353
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24355 $as_echo_n "checking for jn... " >&6; }
24356 if ${gcc_cv_math_func_jn+:} false; then :
24357 $as_echo_n "(cached) " >&6
24358 else
24359 if test x$gcc_no_link = xyes; then
24360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24361 fi
24362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24363 /* end confdefs.h. */
24364
24365 #ifdef HAVE_COMPLEX_H
24366 #include <complex.h>
24367 #endif
24368 #ifdef HAVE_MATH_H
24369 #include <math.h>
24370 #endif
24371
24372 int (*ptr)() = (int (*)())jn;
24373
24374 int
24375 main ()
24376 {
24377 return 0;
24378 }
24379
24380 _ACEOF
24381 if ac_fn_c_try_link "$LINENO"; then :
24382 gcc_cv_math_func_jn=yes
24383 else
24384 gcc_cv_math_func_jn=no
24385 fi
24386 rm -f core conftest.err conftest.$ac_objext \
24387 conftest$ac_exeext conftest.$ac_ext
24388 fi
24389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24390 $as_echo "$gcc_cv_math_func_jn" >&6; }
24391 if test $gcc_cv_math_func_jn = yes; then
24392
24393 cat >>confdefs.h <<_ACEOF
24394 #define HAVE_JN 1
24395 _ACEOF
24396
24397 fi
24398
24399
24400
24401
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24403 $as_echo_n "checking for jnl... " >&6; }
24404 if ${gcc_cv_math_func_jnl+:} false; then :
24405 $as_echo_n "(cached) " >&6
24406 else
24407 if test x$gcc_no_link = xyes; then
24408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24409 fi
24410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24411 /* end confdefs.h. */
24412
24413 #ifdef HAVE_COMPLEX_H
24414 #include <complex.h>
24415 #endif
24416 #ifdef HAVE_MATH_H
24417 #include <math.h>
24418 #endif
24419
24420 int (*ptr)() = (int (*)())jnl;
24421
24422 int
24423 main ()
24424 {
24425 return 0;
24426 }
24427
24428 _ACEOF
24429 if ac_fn_c_try_link "$LINENO"; then :
24430 gcc_cv_math_func_jnl=yes
24431 else
24432 gcc_cv_math_func_jnl=no
24433 fi
24434 rm -f core conftest.err conftest.$ac_objext \
24435 conftest$ac_exeext conftest.$ac_ext
24436 fi
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24438 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24439 if test $gcc_cv_math_func_jnl = yes; then
24440
24441 cat >>confdefs.h <<_ACEOF
24442 #define HAVE_JNL 1
24443 _ACEOF
24444
24445 fi
24446
24447
24448
24449
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24451 $as_echo_n "checking for y0f... " >&6; }
24452 if ${gcc_cv_math_func_y0f+:} false; then :
24453 $as_echo_n "(cached) " >&6
24454 else
24455 if test x$gcc_no_link = xyes; then
24456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24457 fi
24458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24459 /* end confdefs.h. */
24460
24461 #ifdef HAVE_COMPLEX_H
24462 #include <complex.h>
24463 #endif
24464 #ifdef HAVE_MATH_H
24465 #include <math.h>
24466 #endif
24467
24468 int (*ptr)() = (int (*)())y0f;
24469
24470 int
24471 main ()
24472 {
24473 return 0;
24474 }
24475
24476 _ACEOF
24477 if ac_fn_c_try_link "$LINENO"; then :
24478 gcc_cv_math_func_y0f=yes
24479 else
24480 gcc_cv_math_func_y0f=no
24481 fi
24482 rm -f core conftest.err conftest.$ac_objext \
24483 conftest$ac_exeext conftest.$ac_ext
24484 fi
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24486 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24487 if test $gcc_cv_math_func_y0f = yes; then
24488
24489 cat >>confdefs.h <<_ACEOF
24490 #define HAVE_Y0F 1
24491 _ACEOF
24492
24493 fi
24494
24495
24496
24497
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24499 $as_echo_n "checking for y0... " >&6; }
24500 if ${gcc_cv_math_func_y0+:} false; then :
24501 $as_echo_n "(cached) " >&6
24502 else
24503 if test x$gcc_no_link = xyes; then
24504 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24505 fi
24506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24507 /* end confdefs.h. */
24508
24509 #ifdef HAVE_COMPLEX_H
24510 #include <complex.h>
24511 #endif
24512 #ifdef HAVE_MATH_H
24513 #include <math.h>
24514 #endif
24515
24516 int (*ptr)() = (int (*)())y0;
24517
24518 int
24519 main ()
24520 {
24521 return 0;
24522 }
24523
24524 _ACEOF
24525 if ac_fn_c_try_link "$LINENO"; then :
24526 gcc_cv_math_func_y0=yes
24527 else
24528 gcc_cv_math_func_y0=no
24529 fi
24530 rm -f core conftest.err conftest.$ac_objext \
24531 conftest$ac_exeext conftest.$ac_ext
24532 fi
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24534 $as_echo "$gcc_cv_math_func_y0" >&6; }
24535 if test $gcc_cv_math_func_y0 = yes; then
24536
24537 cat >>confdefs.h <<_ACEOF
24538 #define HAVE_Y0 1
24539 _ACEOF
24540
24541 fi
24542
24543
24544
24545
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24547 $as_echo_n "checking for y1f... " >&6; }
24548 if ${gcc_cv_math_func_y1f+:} false; then :
24549 $as_echo_n "(cached) " >&6
24550 else
24551 if test x$gcc_no_link = xyes; then
24552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24553 fi
24554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24555 /* end confdefs.h. */
24556
24557 #ifdef HAVE_COMPLEX_H
24558 #include <complex.h>
24559 #endif
24560 #ifdef HAVE_MATH_H
24561 #include <math.h>
24562 #endif
24563
24564 int (*ptr)() = (int (*)())y1f;
24565
24566 int
24567 main ()
24568 {
24569 return 0;
24570 }
24571
24572 _ACEOF
24573 if ac_fn_c_try_link "$LINENO"; then :
24574 gcc_cv_math_func_y1f=yes
24575 else
24576 gcc_cv_math_func_y1f=no
24577 fi
24578 rm -f core conftest.err conftest.$ac_objext \
24579 conftest$ac_exeext conftest.$ac_ext
24580 fi
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24582 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24583 if test $gcc_cv_math_func_y1f = yes; then
24584
24585 cat >>confdefs.h <<_ACEOF
24586 #define HAVE_Y1F 1
24587 _ACEOF
24588
24589 fi
24590
24591
24592
24593
24594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24595 $as_echo_n "checking for y1... " >&6; }
24596 if ${gcc_cv_math_func_y1+:} false; then :
24597 $as_echo_n "(cached) " >&6
24598 else
24599 if test x$gcc_no_link = xyes; then
24600 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24601 fi
24602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24603 /* end confdefs.h. */
24604
24605 #ifdef HAVE_COMPLEX_H
24606 #include <complex.h>
24607 #endif
24608 #ifdef HAVE_MATH_H
24609 #include <math.h>
24610 #endif
24611
24612 int (*ptr)() = (int (*)())y1;
24613
24614 int
24615 main ()
24616 {
24617 return 0;
24618 }
24619
24620 _ACEOF
24621 if ac_fn_c_try_link "$LINENO"; then :
24622 gcc_cv_math_func_y1=yes
24623 else
24624 gcc_cv_math_func_y1=no
24625 fi
24626 rm -f core conftest.err conftest.$ac_objext \
24627 conftest$ac_exeext conftest.$ac_ext
24628 fi
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24630 $as_echo "$gcc_cv_math_func_y1" >&6; }
24631 if test $gcc_cv_math_func_y1 = yes; then
24632
24633 cat >>confdefs.h <<_ACEOF
24634 #define HAVE_Y1 1
24635 _ACEOF
24636
24637 fi
24638
24639
24640
24641
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24643 $as_echo_n "checking for ynf... " >&6; }
24644 if ${gcc_cv_math_func_ynf+:} false; then :
24645 $as_echo_n "(cached) " >&6
24646 else
24647 if test x$gcc_no_link = xyes; then
24648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24649 fi
24650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h. */
24652
24653 #ifdef HAVE_COMPLEX_H
24654 #include <complex.h>
24655 #endif
24656 #ifdef HAVE_MATH_H
24657 #include <math.h>
24658 #endif
24659
24660 int (*ptr)() = (int (*)())ynf;
24661
24662 int
24663 main ()
24664 {
24665 return 0;
24666 }
24667
24668 _ACEOF
24669 if ac_fn_c_try_link "$LINENO"; then :
24670 gcc_cv_math_func_ynf=yes
24671 else
24672 gcc_cv_math_func_ynf=no
24673 fi
24674 rm -f core conftest.err conftest.$ac_objext \
24675 conftest$ac_exeext conftest.$ac_ext
24676 fi
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24678 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24679 if test $gcc_cv_math_func_ynf = yes; then
24680
24681 cat >>confdefs.h <<_ACEOF
24682 #define HAVE_YNF 1
24683 _ACEOF
24684
24685 fi
24686
24687
24688
24689
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24691 $as_echo_n "checking for yn... " >&6; }
24692 if ${gcc_cv_math_func_yn+:} false; then :
24693 $as_echo_n "(cached) " >&6
24694 else
24695 if test x$gcc_no_link = xyes; then
24696 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24697 fi
24698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24699 /* end confdefs.h. */
24700
24701 #ifdef HAVE_COMPLEX_H
24702 #include <complex.h>
24703 #endif
24704 #ifdef HAVE_MATH_H
24705 #include <math.h>
24706 #endif
24707
24708 int (*ptr)() = (int (*)())yn;
24709
24710 int
24711 main ()
24712 {
24713 return 0;
24714 }
24715
24716 _ACEOF
24717 if ac_fn_c_try_link "$LINENO"; then :
24718 gcc_cv_math_func_yn=yes
24719 else
24720 gcc_cv_math_func_yn=no
24721 fi
24722 rm -f core conftest.err conftest.$ac_objext \
24723 conftest$ac_exeext conftest.$ac_ext
24724 fi
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24726 $as_echo "$gcc_cv_math_func_yn" >&6; }
24727 if test $gcc_cv_math_func_yn = yes; then
24728
24729 cat >>confdefs.h <<_ACEOF
24730 #define HAVE_YN 1
24731 _ACEOF
24732
24733 fi
24734
24735
24736
24737
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24739 $as_echo_n "checking for ynl... " >&6; }
24740 if ${gcc_cv_math_func_ynl+:} false; then :
24741 $as_echo_n "(cached) " >&6
24742 else
24743 if test x$gcc_no_link = xyes; then
24744 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24745 fi
24746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24747 /* end confdefs.h. */
24748
24749 #ifdef HAVE_COMPLEX_H
24750 #include <complex.h>
24751 #endif
24752 #ifdef HAVE_MATH_H
24753 #include <math.h>
24754 #endif
24755
24756 int (*ptr)() = (int (*)())ynl;
24757
24758 int
24759 main ()
24760 {
24761 return 0;
24762 }
24763
24764 _ACEOF
24765 if ac_fn_c_try_link "$LINENO"; then :
24766 gcc_cv_math_func_ynl=yes
24767 else
24768 gcc_cv_math_func_ynl=no
24769 fi
24770 rm -f core conftest.err conftest.$ac_objext \
24771 conftest$ac_exeext conftest.$ac_ext
24772 fi
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24774 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24775 if test $gcc_cv_math_func_ynl = yes; then
24776
24777 cat >>confdefs.h <<_ACEOF
24778 #define HAVE_YNL 1
24779 _ACEOF
24780
24781 fi
24782
24783
24784
24785
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24787 $as_echo_n "checking for tgamma... " >&6; }
24788 if ${gcc_cv_math_func_tgamma+:} false; then :
24789 $as_echo_n "(cached) " >&6
24790 else
24791 if test x$gcc_no_link = xyes; then
24792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24793 fi
24794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24795 /* end confdefs.h. */
24796
24797 #ifdef HAVE_COMPLEX_H
24798 #include <complex.h>
24799 #endif
24800 #ifdef HAVE_MATH_H
24801 #include <math.h>
24802 #endif
24803
24804 int (*ptr)() = (int (*)())tgamma;
24805
24806 int
24807 main ()
24808 {
24809 return 0;
24810 }
24811
24812 _ACEOF
24813 if ac_fn_c_try_link "$LINENO"; then :
24814 gcc_cv_math_func_tgamma=yes
24815 else
24816 gcc_cv_math_func_tgamma=no
24817 fi
24818 rm -f core conftest.err conftest.$ac_objext \
24819 conftest$ac_exeext conftest.$ac_ext
24820 fi
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24822 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24823 if test $gcc_cv_math_func_tgamma = yes; then
24824
24825 cat >>confdefs.h <<_ACEOF
24826 #define HAVE_TGAMMA 1
24827 _ACEOF
24828
24829 fi
24830
24831
24832
24833
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24835 $as_echo_n "checking for tgammaf... " >&6; }
24836 if ${gcc_cv_math_func_tgammaf+:} false; then :
24837 $as_echo_n "(cached) " >&6
24838 else
24839 if test x$gcc_no_link = xyes; then
24840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24841 fi
24842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h. */
24844
24845 #ifdef HAVE_COMPLEX_H
24846 #include <complex.h>
24847 #endif
24848 #ifdef HAVE_MATH_H
24849 #include <math.h>
24850 #endif
24851
24852 int (*ptr)() = (int (*)())tgammaf;
24853
24854 int
24855 main ()
24856 {
24857 return 0;
24858 }
24859
24860 _ACEOF
24861 if ac_fn_c_try_link "$LINENO"; then :
24862 gcc_cv_math_func_tgammaf=yes
24863 else
24864 gcc_cv_math_func_tgammaf=no
24865 fi
24866 rm -f core conftest.err conftest.$ac_objext \
24867 conftest$ac_exeext conftest.$ac_ext
24868 fi
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24870 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24871 if test $gcc_cv_math_func_tgammaf = yes; then
24872
24873 cat >>confdefs.h <<_ACEOF
24874 #define HAVE_TGAMMAF 1
24875 _ACEOF
24876
24877 fi
24878
24879
24880
24881
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24883 $as_echo_n "checking for lgamma... " >&6; }
24884 if ${gcc_cv_math_func_lgamma+:} false; then :
24885 $as_echo_n "(cached) " >&6
24886 else
24887 if test x$gcc_no_link = xyes; then
24888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24889 fi
24890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24891 /* end confdefs.h. */
24892
24893 #ifdef HAVE_COMPLEX_H
24894 #include <complex.h>
24895 #endif
24896 #ifdef HAVE_MATH_H
24897 #include <math.h>
24898 #endif
24899
24900 int (*ptr)() = (int (*)())lgamma;
24901
24902 int
24903 main ()
24904 {
24905 return 0;
24906 }
24907
24908 _ACEOF
24909 if ac_fn_c_try_link "$LINENO"; then :
24910 gcc_cv_math_func_lgamma=yes
24911 else
24912 gcc_cv_math_func_lgamma=no
24913 fi
24914 rm -f core conftest.err conftest.$ac_objext \
24915 conftest$ac_exeext conftest.$ac_ext
24916 fi
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24918 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24919 if test $gcc_cv_math_func_lgamma = yes; then
24920
24921 cat >>confdefs.h <<_ACEOF
24922 #define HAVE_LGAMMA 1
24923 _ACEOF
24924
24925 fi
24926
24927
24928
24929
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24931 $as_echo_n "checking for lgammaf... " >&6; }
24932 if ${gcc_cv_math_func_lgammaf+:} false; then :
24933 $as_echo_n "(cached) " >&6
24934 else
24935 if test x$gcc_no_link = xyes; then
24936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24937 fi
24938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24939 /* end confdefs.h. */
24940
24941 #ifdef HAVE_COMPLEX_H
24942 #include <complex.h>
24943 #endif
24944 #ifdef HAVE_MATH_H
24945 #include <math.h>
24946 #endif
24947
24948 int (*ptr)() = (int (*)())lgammaf;
24949
24950 int
24951 main ()
24952 {
24953 return 0;
24954 }
24955
24956 _ACEOF
24957 if ac_fn_c_try_link "$LINENO"; then :
24958 gcc_cv_math_func_lgammaf=yes
24959 else
24960 gcc_cv_math_func_lgammaf=no
24961 fi
24962 rm -f core conftest.err conftest.$ac_objext \
24963 conftest$ac_exeext conftest.$ac_ext
24964 fi
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24966 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24967 if test $gcc_cv_math_func_lgammaf = yes; then
24968
24969 cat >>confdefs.h <<_ACEOF
24970 #define HAVE_LGAMMAF 1
24971 _ACEOF
24972
24973 fi
24974
24975
24976 # Check for GFORTRAN_C99_1.1 funcs
24977
24978
24979
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24981 $as_echo_n "checking for cacos... " >&6; }
24982 if ${gcc_cv_math_func_cacos+:} false; then :
24983 $as_echo_n "(cached) " >&6
24984 else
24985 if test x$gcc_no_link = xyes; then
24986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24987 fi
24988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24989 /* end confdefs.h. */
24990
24991 #ifdef HAVE_COMPLEX_H
24992 #include <complex.h>
24993 #endif
24994 #ifdef HAVE_MATH_H
24995 #include <math.h>
24996 #endif
24997
24998 int (*ptr)() = (int (*)())cacos;
24999
25000 int
25001 main ()
25002 {
25003 return 0;
25004 }
25005
25006 _ACEOF
25007 if ac_fn_c_try_link "$LINENO"; then :
25008 gcc_cv_math_func_cacos=yes
25009 else
25010 gcc_cv_math_func_cacos=no
25011 fi
25012 rm -f core conftest.err conftest.$ac_objext \
25013 conftest$ac_exeext conftest.$ac_ext
25014 fi
25015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25016 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25017 if test $gcc_cv_math_func_cacos = yes; then
25018
25019 cat >>confdefs.h <<_ACEOF
25020 #define HAVE_CACOS 1
25021 _ACEOF
25022
25023 fi
25024
25025
25026
25027
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25029 $as_echo_n "checking for cacosf... " >&6; }
25030 if ${gcc_cv_math_func_cacosf+:} false; then :
25031 $as_echo_n "(cached) " >&6
25032 else
25033 if test x$gcc_no_link = xyes; then
25034 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25035 fi
25036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25037 /* end confdefs.h. */
25038
25039 #ifdef HAVE_COMPLEX_H
25040 #include <complex.h>
25041 #endif
25042 #ifdef HAVE_MATH_H
25043 #include <math.h>
25044 #endif
25045
25046 int (*ptr)() = (int (*)())cacosf;
25047
25048 int
25049 main ()
25050 {
25051 return 0;
25052 }
25053
25054 _ACEOF
25055 if ac_fn_c_try_link "$LINENO"; then :
25056 gcc_cv_math_func_cacosf=yes
25057 else
25058 gcc_cv_math_func_cacosf=no
25059 fi
25060 rm -f core conftest.err conftest.$ac_objext \
25061 conftest$ac_exeext conftest.$ac_ext
25062 fi
25063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25064 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25065 if test $gcc_cv_math_func_cacosf = yes; then
25066
25067 cat >>confdefs.h <<_ACEOF
25068 #define HAVE_CACOSF 1
25069 _ACEOF
25070
25071 fi
25072
25073
25074
25075
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25077 $as_echo_n "checking for cacosh... " >&6; }
25078 if ${gcc_cv_math_func_cacosh+:} false; then :
25079 $as_echo_n "(cached) " >&6
25080 else
25081 if test x$gcc_no_link = xyes; then
25082 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25083 fi
25084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25085 /* end confdefs.h. */
25086
25087 #ifdef HAVE_COMPLEX_H
25088 #include <complex.h>
25089 #endif
25090 #ifdef HAVE_MATH_H
25091 #include <math.h>
25092 #endif
25093
25094 int (*ptr)() = (int (*)())cacosh;
25095
25096 int
25097 main ()
25098 {
25099 return 0;
25100 }
25101
25102 _ACEOF
25103 if ac_fn_c_try_link "$LINENO"; then :
25104 gcc_cv_math_func_cacosh=yes
25105 else
25106 gcc_cv_math_func_cacosh=no
25107 fi
25108 rm -f core conftest.err conftest.$ac_objext \
25109 conftest$ac_exeext conftest.$ac_ext
25110 fi
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25112 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25113 if test $gcc_cv_math_func_cacosh = yes; then
25114
25115 cat >>confdefs.h <<_ACEOF
25116 #define HAVE_CACOSH 1
25117 _ACEOF
25118
25119 fi
25120
25121
25122
25123
25124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25125 $as_echo_n "checking for cacoshf... " >&6; }
25126 if ${gcc_cv_math_func_cacoshf+:} false; then :
25127 $as_echo_n "(cached) " >&6
25128 else
25129 if test x$gcc_no_link = xyes; then
25130 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25131 fi
25132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25133 /* end confdefs.h. */
25134
25135 #ifdef HAVE_COMPLEX_H
25136 #include <complex.h>
25137 #endif
25138 #ifdef HAVE_MATH_H
25139 #include <math.h>
25140 #endif
25141
25142 int (*ptr)() = (int (*)())cacoshf;
25143
25144 int
25145 main ()
25146 {
25147 return 0;
25148 }
25149
25150 _ACEOF
25151 if ac_fn_c_try_link "$LINENO"; then :
25152 gcc_cv_math_func_cacoshf=yes
25153 else
25154 gcc_cv_math_func_cacoshf=no
25155 fi
25156 rm -f core conftest.err conftest.$ac_objext \
25157 conftest$ac_exeext conftest.$ac_ext
25158 fi
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25160 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25161 if test $gcc_cv_math_func_cacoshf = yes; then
25162
25163 cat >>confdefs.h <<_ACEOF
25164 #define HAVE_CACOSHF 1
25165 _ACEOF
25166
25167 fi
25168
25169
25170
25171
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25173 $as_echo_n "checking for cacoshl... " >&6; }
25174 if ${gcc_cv_math_func_cacoshl+:} false; then :
25175 $as_echo_n "(cached) " >&6
25176 else
25177 if test x$gcc_no_link = xyes; then
25178 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25179 fi
25180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25181 /* end confdefs.h. */
25182
25183 #ifdef HAVE_COMPLEX_H
25184 #include <complex.h>
25185 #endif
25186 #ifdef HAVE_MATH_H
25187 #include <math.h>
25188 #endif
25189
25190 int (*ptr)() = (int (*)())cacoshl;
25191
25192 int
25193 main ()
25194 {
25195 return 0;
25196 }
25197
25198 _ACEOF
25199 if ac_fn_c_try_link "$LINENO"; then :
25200 gcc_cv_math_func_cacoshl=yes
25201 else
25202 gcc_cv_math_func_cacoshl=no
25203 fi
25204 rm -f core conftest.err conftest.$ac_objext \
25205 conftest$ac_exeext conftest.$ac_ext
25206 fi
25207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25208 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25209 if test $gcc_cv_math_func_cacoshl = yes; then
25210
25211 cat >>confdefs.h <<_ACEOF
25212 #define HAVE_CACOSHL 1
25213 _ACEOF
25214
25215 fi
25216
25217
25218
25219
25220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25221 $as_echo_n "checking for cacosl... " >&6; }
25222 if ${gcc_cv_math_func_cacosl+:} false; then :
25223 $as_echo_n "(cached) " >&6
25224 else
25225 if test x$gcc_no_link = xyes; then
25226 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25227 fi
25228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25229 /* end confdefs.h. */
25230
25231 #ifdef HAVE_COMPLEX_H
25232 #include <complex.h>
25233 #endif
25234 #ifdef HAVE_MATH_H
25235 #include <math.h>
25236 #endif
25237
25238 int (*ptr)() = (int (*)())cacosl;
25239
25240 int
25241 main ()
25242 {
25243 return 0;
25244 }
25245
25246 _ACEOF
25247 if ac_fn_c_try_link "$LINENO"; then :
25248 gcc_cv_math_func_cacosl=yes
25249 else
25250 gcc_cv_math_func_cacosl=no
25251 fi
25252 rm -f core conftest.err conftest.$ac_objext \
25253 conftest$ac_exeext conftest.$ac_ext
25254 fi
25255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25256 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25257 if test $gcc_cv_math_func_cacosl = yes; then
25258
25259 cat >>confdefs.h <<_ACEOF
25260 #define HAVE_CACOSL 1
25261 _ACEOF
25262
25263 fi
25264
25265
25266
25267
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25269 $as_echo_n "checking for casin... " >&6; }
25270 if ${gcc_cv_math_func_casin+:} false; then :
25271 $as_echo_n "(cached) " >&6
25272 else
25273 if test x$gcc_no_link = xyes; then
25274 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25275 fi
25276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25277 /* end confdefs.h. */
25278
25279 #ifdef HAVE_COMPLEX_H
25280 #include <complex.h>
25281 #endif
25282 #ifdef HAVE_MATH_H
25283 #include <math.h>
25284 #endif
25285
25286 int (*ptr)() = (int (*)())casin;
25287
25288 int
25289 main ()
25290 {
25291 return 0;
25292 }
25293
25294 _ACEOF
25295 if ac_fn_c_try_link "$LINENO"; then :
25296 gcc_cv_math_func_casin=yes
25297 else
25298 gcc_cv_math_func_casin=no
25299 fi
25300 rm -f core conftest.err conftest.$ac_objext \
25301 conftest$ac_exeext conftest.$ac_ext
25302 fi
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25304 $as_echo "$gcc_cv_math_func_casin" >&6; }
25305 if test $gcc_cv_math_func_casin = yes; then
25306
25307 cat >>confdefs.h <<_ACEOF
25308 #define HAVE_CASIN 1
25309 _ACEOF
25310
25311 fi
25312
25313
25314
25315
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25317 $as_echo_n "checking for casinf... " >&6; }
25318 if ${gcc_cv_math_func_casinf+:} false; then :
25319 $as_echo_n "(cached) " >&6
25320 else
25321 if test x$gcc_no_link = xyes; then
25322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25323 fi
25324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25325 /* end confdefs.h. */
25326
25327 #ifdef HAVE_COMPLEX_H
25328 #include <complex.h>
25329 #endif
25330 #ifdef HAVE_MATH_H
25331 #include <math.h>
25332 #endif
25333
25334 int (*ptr)() = (int (*)())casinf;
25335
25336 int
25337 main ()
25338 {
25339 return 0;
25340 }
25341
25342 _ACEOF
25343 if ac_fn_c_try_link "$LINENO"; then :
25344 gcc_cv_math_func_casinf=yes
25345 else
25346 gcc_cv_math_func_casinf=no
25347 fi
25348 rm -f core conftest.err conftest.$ac_objext \
25349 conftest$ac_exeext conftest.$ac_ext
25350 fi
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25352 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25353 if test $gcc_cv_math_func_casinf = yes; then
25354
25355 cat >>confdefs.h <<_ACEOF
25356 #define HAVE_CASINF 1
25357 _ACEOF
25358
25359 fi
25360
25361
25362
25363
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25365 $as_echo_n "checking for casinh... " >&6; }
25366 if ${gcc_cv_math_func_casinh+:} false; then :
25367 $as_echo_n "(cached) " >&6
25368 else
25369 if test x$gcc_no_link = xyes; then
25370 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25371 fi
25372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25374
25375 #ifdef HAVE_COMPLEX_H
25376 #include <complex.h>
25377 #endif
25378 #ifdef HAVE_MATH_H
25379 #include <math.h>
25380 #endif
25381
25382 int (*ptr)() = (int (*)())casinh;
25383
25384 int
25385 main ()
25386 {
25387 return 0;
25388 }
25389
25390 _ACEOF
25391 if ac_fn_c_try_link "$LINENO"; then :
25392 gcc_cv_math_func_casinh=yes
25393 else
25394 gcc_cv_math_func_casinh=no
25395 fi
25396 rm -f core conftest.err conftest.$ac_objext \
25397 conftest$ac_exeext conftest.$ac_ext
25398 fi
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25400 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25401 if test $gcc_cv_math_func_casinh = yes; then
25402
25403 cat >>confdefs.h <<_ACEOF
25404 #define HAVE_CASINH 1
25405 _ACEOF
25406
25407 fi
25408
25409
25410
25411
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25413 $as_echo_n "checking for casinhf... " >&6; }
25414 if ${gcc_cv_math_func_casinhf+:} false; then :
25415 $as_echo_n "(cached) " >&6
25416 else
25417 if test x$gcc_no_link = xyes; then
25418 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25419 fi
25420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25421 /* end confdefs.h. */
25422
25423 #ifdef HAVE_COMPLEX_H
25424 #include <complex.h>
25425 #endif
25426 #ifdef HAVE_MATH_H
25427 #include <math.h>
25428 #endif
25429
25430 int (*ptr)() = (int (*)())casinhf;
25431
25432 int
25433 main ()
25434 {
25435 return 0;
25436 }
25437
25438 _ACEOF
25439 if ac_fn_c_try_link "$LINENO"; then :
25440 gcc_cv_math_func_casinhf=yes
25441 else
25442 gcc_cv_math_func_casinhf=no
25443 fi
25444 rm -f core conftest.err conftest.$ac_objext \
25445 conftest$ac_exeext conftest.$ac_ext
25446 fi
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25448 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25449 if test $gcc_cv_math_func_casinhf = yes; then
25450
25451 cat >>confdefs.h <<_ACEOF
25452 #define HAVE_CASINHF 1
25453 _ACEOF
25454
25455 fi
25456
25457
25458
25459
25460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25461 $as_echo_n "checking for casinhl... " >&6; }
25462 if ${gcc_cv_math_func_casinhl+:} false; then :
25463 $as_echo_n "(cached) " >&6
25464 else
25465 if test x$gcc_no_link = xyes; then
25466 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25467 fi
25468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25469 /* end confdefs.h. */
25470
25471 #ifdef HAVE_COMPLEX_H
25472 #include <complex.h>
25473 #endif
25474 #ifdef HAVE_MATH_H
25475 #include <math.h>
25476 #endif
25477
25478 int (*ptr)() = (int (*)())casinhl;
25479
25480 int
25481 main ()
25482 {
25483 return 0;
25484 }
25485
25486 _ACEOF
25487 if ac_fn_c_try_link "$LINENO"; then :
25488 gcc_cv_math_func_casinhl=yes
25489 else
25490 gcc_cv_math_func_casinhl=no
25491 fi
25492 rm -f core conftest.err conftest.$ac_objext \
25493 conftest$ac_exeext conftest.$ac_ext
25494 fi
25495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25496 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25497 if test $gcc_cv_math_func_casinhl = yes; then
25498
25499 cat >>confdefs.h <<_ACEOF
25500 #define HAVE_CASINHL 1
25501 _ACEOF
25502
25503 fi
25504
25505
25506
25507
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25509 $as_echo_n "checking for casinl... " >&6; }
25510 if ${gcc_cv_math_func_casinl+:} false; then :
25511 $as_echo_n "(cached) " >&6
25512 else
25513 if test x$gcc_no_link = xyes; then
25514 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25515 fi
25516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25517 /* end confdefs.h. */
25518
25519 #ifdef HAVE_COMPLEX_H
25520 #include <complex.h>
25521 #endif
25522 #ifdef HAVE_MATH_H
25523 #include <math.h>
25524 #endif
25525
25526 int (*ptr)() = (int (*)())casinl;
25527
25528 int
25529 main ()
25530 {
25531 return 0;
25532 }
25533
25534 _ACEOF
25535 if ac_fn_c_try_link "$LINENO"; then :
25536 gcc_cv_math_func_casinl=yes
25537 else
25538 gcc_cv_math_func_casinl=no
25539 fi
25540 rm -f core conftest.err conftest.$ac_objext \
25541 conftest$ac_exeext conftest.$ac_ext
25542 fi
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25544 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25545 if test $gcc_cv_math_func_casinl = yes; then
25546
25547 cat >>confdefs.h <<_ACEOF
25548 #define HAVE_CASINL 1
25549 _ACEOF
25550
25551 fi
25552
25553
25554
25555
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25557 $as_echo_n "checking for catan... " >&6; }
25558 if ${gcc_cv_math_func_catan+:} false; then :
25559 $as_echo_n "(cached) " >&6
25560 else
25561 if test x$gcc_no_link = xyes; then
25562 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25563 fi
25564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25565 /* end confdefs.h. */
25566
25567 #ifdef HAVE_COMPLEX_H
25568 #include <complex.h>
25569 #endif
25570 #ifdef HAVE_MATH_H
25571 #include <math.h>
25572 #endif
25573
25574 int (*ptr)() = (int (*)())catan;
25575
25576 int
25577 main ()
25578 {
25579 return 0;
25580 }
25581
25582 _ACEOF
25583 if ac_fn_c_try_link "$LINENO"; then :
25584 gcc_cv_math_func_catan=yes
25585 else
25586 gcc_cv_math_func_catan=no
25587 fi
25588 rm -f core conftest.err conftest.$ac_objext \
25589 conftest$ac_exeext conftest.$ac_ext
25590 fi
25591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25592 $as_echo "$gcc_cv_math_func_catan" >&6; }
25593 if test $gcc_cv_math_func_catan = yes; then
25594
25595 cat >>confdefs.h <<_ACEOF
25596 #define HAVE_CATAN 1
25597 _ACEOF
25598
25599 fi
25600
25601
25602
25603
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25605 $as_echo_n "checking for catanf... " >&6; }
25606 if ${gcc_cv_math_func_catanf+:} false; then :
25607 $as_echo_n "(cached) " >&6
25608 else
25609 if test x$gcc_no_link = xyes; then
25610 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25611 fi
25612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25613 /* end confdefs.h. */
25614
25615 #ifdef HAVE_COMPLEX_H
25616 #include <complex.h>
25617 #endif
25618 #ifdef HAVE_MATH_H
25619 #include <math.h>
25620 #endif
25621
25622 int (*ptr)() = (int (*)())catanf;
25623
25624 int
25625 main ()
25626 {
25627 return 0;
25628 }
25629
25630 _ACEOF
25631 if ac_fn_c_try_link "$LINENO"; then :
25632 gcc_cv_math_func_catanf=yes
25633 else
25634 gcc_cv_math_func_catanf=no
25635 fi
25636 rm -f core conftest.err conftest.$ac_objext \
25637 conftest$ac_exeext conftest.$ac_ext
25638 fi
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25640 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25641 if test $gcc_cv_math_func_catanf = yes; then
25642
25643 cat >>confdefs.h <<_ACEOF
25644 #define HAVE_CATANF 1
25645 _ACEOF
25646
25647 fi
25648
25649
25650
25651
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25653 $as_echo_n "checking for catanh... " >&6; }
25654 if ${gcc_cv_math_func_catanh+:} false; then :
25655 $as_echo_n "(cached) " >&6
25656 else
25657 if test x$gcc_no_link = xyes; then
25658 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25659 fi
25660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25661 /* end confdefs.h. */
25662
25663 #ifdef HAVE_COMPLEX_H
25664 #include <complex.h>
25665 #endif
25666 #ifdef HAVE_MATH_H
25667 #include <math.h>
25668 #endif
25669
25670 int (*ptr)() = (int (*)())catanh;
25671
25672 int
25673 main ()
25674 {
25675 return 0;
25676 }
25677
25678 _ACEOF
25679 if ac_fn_c_try_link "$LINENO"; then :
25680 gcc_cv_math_func_catanh=yes
25681 else
25682 gcc_cv_math_func_catanh=no
25683 fi
25684 rm -f core conftest.err conftest.$ac_objext \
25685 conftest$ac_exeext conftest.$ac_ext
25686 fi
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25688 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25689 if test $gcc_cv_math_func_catanh = yes; then
25690
25691 cat >>confdefs.h <<_ACEOF
25692 #define HAVE_CATANH 1
25693 _ACEOF
25694
25695 fi
25696
25697
25698
25699
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25701 $as_echo_n "checking for catanhf... " >&6; }
25702 if ${gcc_cv_math_func_catanhf+:} false; then :
25703 $as_echo_n "(cached) " >&6
25704 else
25705 if test x$gcc_no_link = xyes; then
25706 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25707 fi
25708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25709 /* end confdefs.h. */
25710
25711 #ifdef HAVE_COMPLEX_H
25712 #include <complex.h>
25713 #endif
25714 #ifdef HAVE_MATH_H
25715 #include <math.h>
25716 #endif
25717
25718 int (*ptr)() = (int (*)())catanhf;
25719
25720 int
25721 main ()
25722 {
25723 return 0;
25724 }
25725
25726 _ACEOF
25727 if ac_fn_c_try_link "$LINENO"; then :
25728 gcc_cv_math_func_catanhf=yes
25729 else
25730 gcc_cv_math_func_catanhf=no
25731 fi
25732 rm -f core conftest.err conftest.$ac_objext \
25733 conftest$ac_exeext conftest.$ac_ext
25734 fi
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25736 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25737 if test $gcc_cv_math_func_catanhf = yes; then
25738
25739 cat >>confdefs.h <<_ACEOF
25740 #define HAVE_CATANHF 1
25741 _ACEOF
25742
25743 fi
25744
25745
25746
25747
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25749 $as_echo_n "checking for catanhl... " >&6; }
25750 if ${gcc_cv_math_func_catanhl+:} false; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25753 if test x$gcc_no_link = xyes; then
25754 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25755 fi
25756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25757 /* end confdefs.h. */
25758
25759 #ifdef HAVE_COMPLEX_H
25760 #include <complex.h>
25761 #endif
25762 #ifdef HAVE_MATH_H
25763 #include <math.h>
25764 #endif
25765
25766 int (*ptr)() = (int (*)())catanhl;
25767
25768 int
25769 main ()
25770 {
25771 return 0;
25772 }
25773
25774 _ACEOF
25775 if ac_fn_c_try_link "$LINENO"; then :
25776 gcc_cv_math_func_catanhl=yes
25777 else
25778 gcc_cv_math_func_catanhl=no
25779 fi
25780 rm -f core conftest.err conftest.$ac_objext \
25781 conftest$ac_exeext conftest.$ac_ext
25782 fi
25783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25784 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25785 if test $gcc_cv_math_func_catanhl = yes; then
25786
25787 cat >>confdefs.h <<_ACEOF
25788 #define HAVE_CATANHL 1
25789 _ACEOF
25790
25791 fi
25792
25793
25794
25795
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25797 $as_echo_n "checking for catanl... " >&6; }
25798 if ${gcc_cv_math_func_catanl+:} false; then :
25799 $as_echo_n "(cached) " >&6
25800 else
25801 if test x$gcc_no_link = xyes; then
25802 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25803 fi
25804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25805 /* end confdefs.h. */
25806
25807 #ifdef HAVE_COMPLEX_H
25808 #include <complex.h>
25809 #endif
25810 #ifdef HAVE_MATH_H
25811 #include <math.h>
25812 #endif
25813
25814 int (*ptr)() = (int (*)())catanl;
25815
25816 int
25817 main ()
25818 {
25819 return 0;
25820 }
25821
25822 _ACEOF
25823 if ac_fn_c_try_link "$LINENO"; then :
25824 gcc_cv_math_func_catanl=yes
25825 else
25826 gcc_cv_math_func_catanl=no
25827 fi
25828 rm -f core conftest.err conftest.$ac_objext \
25829 conftest$ac_exeext conftest.$ac_ext
25830 fi
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25832 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25833 if test $gcc_cv_math_func_catanl = yes; then
25834
25835 cat >>confdefs.h <<_ACEOF
25836 #define HAVE_CATANL 1
25837 _ACEOF
25838
25839 fi
25840
25841
25842 # For POWER, check the ieee128 math functions
25843
25844 if test "x$have_real_17" = "xyes"; then
25845
25846 cat >>confdefs.h <<_ACEOF
25847 #define HAVE_REAL_17 1
25848 _ACEOF
25849
25850
25851
25852
25853
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25855 $as_echo_n "checking for __acoshieee128... " >&6; }
25856 if ${gcc_cv_math_func___acoshieee128+:} false; then :
25857 $as_echo_n "(cached) " >&6
25858 else
25859 if test x$gcc_no_link = xyes; then
25860 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25861 fi
25862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25863 /* end confdefs.h. */
25864
25865 __float128 __acoshieee128 (__float128);
25866 __float128 (*ptr)(__float128) = __acoshieee128;
25867
25868 int
25869 main ()
25870 {
25871 return 0;
25872 }
25873
25874 _ACEOF
25875 if ac_fn_c_try_link "$LINENO"; then :
25876 gcc_cv_math_func___acoshieee128=yes
25877 else
25878 gcc_cv_math_func___acoshieee128=no
25879 fi
25880 rm -f core conftest.err conftest.$ac_objext \
25881 conftest$ac_exeext conftest.$ac_ext
25882 fi
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25884 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25885 if test $gcc_cv_math_func___acoshieee128 = yes; then
25886
25887 cat >>confdefs.h <<_ACEOF
25888 #define HAVE___ACOSHIEEE128 1
25889 _ACEOF
25890
25891 fi
25892
25893
25894
25895
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25897 $as_echo_n "checking for __acosieee128... " >&6; }
25898 if ${gcc_cv_math_func___acosieee128+:} false; then :
25899 $as_echo_n "(cached) " >&6
25900 else
25901 if test x$gcc_no_link = xyes; then
25902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25903 fi
25904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25905 /* end confdefs.h. */
25906
25907 __float128 __acosieee128 (__float128);
25908 __float128 (*ptr)(__float128) = __acosieee128;
25909
25910 int
25911 main ()
25912 {
25913 return 0;
25914 }
25915
25916 _ACEOF
25917 if ac_fn_c_try_link "$LINENO"; then :
25918 gcc_cv_math_func___acosieee128=yes
25919 else
25920 gcc_cv_math_func___acosieee128=no
25921 fi
25922 rm -f core conftest.err conftest.$ac_objext \
25923 conftest$ac_exeext conftest.$ac_ext
25924 fi
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25926 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25927 if test $gcc_cv_math_func___acosieee128 = yes; then
25928
25929 cat >>confdefs.h <<_ACEOF
25930 #define HAVE___ACOSIEEE128 1
25931 _ACEOF
25932
25933 fi
25934
25935
25936
25937
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25939 $as_echo_n "checking for __asinhieee128... " >&6; }
25940 if ${gcc_cv_math_func___asinhieee128+:} false; then :
25941 $as_echo_n "(cached) " >&6
25942 else
25943 if test x$gcc_no_link = xyes; then
25944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25945 fi
25946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h. */
25948
25949 __float128 __asinhieee128 (__float128);
25950 __float128 (*ptr)(__float128) = __asinhieee128;
25951
25952 int
25953 main ()
25954 {
25955 return 0;
25956 }
25957
25958 _ACEOF
25959 if ac_fn_c_try_link "$LINENO"; then :
25960 gcc_cv_math_func___asinhieee128=yes
25961 else
25962 gcc_cv_math_func___asinhieee128=no
25963 fi
25964 rm -f core conftest.err conftest.$ac_objext \
25965 conftest$ac_exeext conftest.$ac_ext
25966 fi
25967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
25968 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
25969 if test $gcc_cv_math_func___asinhieee128 = yes; then
25970
25971 cat >>confdefs.h <<_ACEOF
25972 #define HAVE___ASINHIEEE128 1
25973 _ACEOF
25974
25975 fi
25976
25977
25978
25979
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
25981 $as_echo_n "checking for __asinieee128... " >&6; }
25982 if ${gcc_cv_math_func___asinieee128+:} false; then :
25983 $as_echo_n "(cached) " >&6
25984 else
25985 if test x$gcc_no_link = xyes; then
25986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25987 fi
25988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25989 /* end confdefs.h. */
25990
25991 __float128 __asinieee128 (__float128);
25992 __float128 (*ptr)(__float128) = __asinieee128;
25993
25994 int
25995 main ()
25996 {
25997 return 0;
25998 }
25999
26000 _ACEOF
26001 if ac_fn_c_try_link "$LINENO"; then :
26002 gcc_cv_math_func___asinieee128=yes
26003 else
26004 gcc_cv_math_func___asinieee128=no
26005 fi
26006 rm -f core conftest.err conftest.$ac_objext \
26007 conftest$ac_exeext conftest.$ac_ext
26008 fi
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26010 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26011 if test $gcc_cv_math_func___asinieee128 = yes; then
26012
26013 cat >>confdefs.h <<_ACEOF
26014 #define HAVE___ASINIEEE128 1
26015 _ACEOF
26016
26017 fi
26018
26019
26020
26021
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26023 $as_echo_n "checking for __atan2ieee128... " >&6; }
26024 if ${gcc_cv_math_func___atan2ieee128+:} false; then :
26025 $as_echo_n "(cached) " >&6
26026 else
26027 if test x$gcc_no_link = xyes; then
26028 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26029 fi
26030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26032
26033 __float128 __atan2ieee128 (__float128);
26034 __float128 (*ptr)(__float128) = __atan2ieee128;
26035
26036 int
26037 main ()
26038 {
26039 return 0;
26040 }
26041
26042 _ACEOF
26043 if ac_fn_c_try_link "$LINENO"; then :
26044 gcc_cv_math_func___atan2ieee128=yes
26045 else
26046 gcc_cv_math_func___atan2ieee128=no
26047 fi
26048 rm -f core conftest.err conftest.$ac_objext \
26049 conftest$ac_exeext conftest.$ac_ext
26050 fi
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26052 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26053 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26054
26055 cat >>confdefs.h <<_ACEOF
26056 #define HAVE___ATAN2IEEE128 1
26057 _ACEOF
26058
26059 fi
26060
26061
26062
26063
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26065 $as_echo_n "checking for __atanhieee128... " >&6; }
26066 if ${gcc_cv_math_func___atanhieee128+:} false; then :
26067 $as_echo_n "(cached) " >&6
26068 else
26069 if test x$gcc_no_link = xyes; then
26070 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26071 fi
26072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26073 /* end confdefs.h. */
26074
26075 __float128 __atanhieee128 (__float128);
26076 __float128 (*ptr)(__float128) = __atanhieee128;
26077
26078 int
26079 main ()
26080 {
26081 return 0;
26082 }
26083
26084 _ACEOF
26085 if ac_fn_c_try_link "$LINENO"; then :
26086 gcc_cv_math_func___atanhieee128=yes
26087 else
26088 gcc_cv_math_func___atanhieee128=no
26089 fi
26090 rm -f core conftest.err conftest.$ac_objext \
26091 conftest$ac_exeext conftest.$ac_ext
26092 fi
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26094 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26095 if test $gcc_cv_math_func___atanhieee128 = yes; then
26096
26097 cat >>confdefs.h <<_ACEOF
26098 #define HAVE___ATANHIEEE128 1
26099 _ACEOF
26100
26101 fi
26102
26103
26104
26105
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26107 $as_echo_n "checking for __atanieee128... " >&6; }
26108 if ${gcc_cv_math_func___atanieee128+:} false; then :
26109 $as_echo_n "(cached) " >&6
26110 else
26111 if test x$gcc_no_link = xyes; then
26112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26113 fi
26114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26115 /* end confdefs.h. */
26116
26117 __float128 __atanieee128 (__float128);
26118 __float128 (*ptr)(__float128) = __atanieee128;
26119
26120 int
26121 main ()
26122 {
26123 return 0;
26124 }
26125
26126 _ACEOF
26127 if ac_fn_c_try_link "$LINENO"; then :
26128 gcc_cv_math_func___atanieee128=yes
26129 else
26130 gcc_cv_math_func___atanieee128=no
26131 fi
26132 rm -f core conftest.err conftest.$ac_objext \
26133 conftest$ac_exeext conftest.$ac_ext
26134 fi
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26136 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26137 if test $gcc_cv_math_func___atanieee128 = yes; then
26138
26139 cat >>confdefs.h <<_ACEOF
26140 #define HAVE___ATANIEEE128 1
26141 _ACEOF
26142
26143 fi
26144
26145
26146
26147
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26149 $as_echo_n "checking for __coshieee128... " >&6; }
26150 if ${gcc_cv_math_func___coshieee128+:} false; then :
26151 $as_echo_n "(cached) " >&6
26152 else
26153 if test x$gcc_no_link = xyes; then
26154 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26155 fi
26156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26157 /* end confdefs.h. */
26158
26159 __float128 __coshieee128 (__float128);
26160 __float128 (*ptr)(__float128) = __coshieee128;
26161
26162 int
26163 main ()
26164 {
26165 return 0;
26166 }
26167
26168 _ACEOF
26169 if ac_fn_c_try_link "$LINENO"; then :
26170 gcc_cv_math_func___coshieee128=yes
26171 else
26172 gcc_cv_math_func___coshieee128=no
26173 fi
26174 rm -f core conftest.err conftest.$ac_objext \
26175 conftest$ac_exeext conftest.$ac_ext
26176 fi
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26178 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26179 if test $gcc_cv_math_func___coshieee128 = yes; then
26180
26181 cat >>confdefs.h <<_ACEOF
26182 #define HAVE___COSHIEEE128 1
26183 _ACEOF
26184
26185 fi
26186
26187
26188
26189
26190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26191 $as_echo_n "checking for __cosieee128... " >&6; }
26192 if ${gcc_cv_math_func___cosieee128+:} false; then :
26193 $as_echo_n "(cached) " >&6
26194 else
26195 if test x$gcc_no_link = xyes; then
26196 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26197 fi
26198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26199 /* end confdefs.h. */
26200
26201 __float128 __cosieee128 (__float128);
26202 __float128 (*ptr)(__float128) = __cosieee128;
26203
26204 int
26205 main ()
26206 {
26207 return 0;
26208 }
26209
26210 _ACEOF
26211 if ac_fn_c_try_link "$LINENO"; then :
26212 gcc_cv_math_func___cosieee128=yes
26213 else
26214 gcc_cv_math_func___cosieee128=no
26215 fi
26216 rm -f core conftest.err conftest.$ac_objext \
26217 conftest$ac_exeext conftest.$ac_ext
26218 fi
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26220 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26221 if test $gcc_cv_math_func___cosieee128 = yes; then
26222
26223 cat >>confdefs.h <<_ACEOF
26224 #define HAVE___COSIEEE128 1
26225 _ACEOF
26226
26227 fi
26228
26229
26230
26231
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26233 $as_echo_n "checking for __erfieee128... " >&6; }
26234 if ${gcc_cv_math_func___erfieee128+:} false; then :
26235 $as_echo_n "(cached) " >&6
26236 else
26237 if test x$gcc_no_link = xyes; then
26238 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26239 fi
26240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h. */
26242
26243 __float128 __erfieee128 (__float128);
26244 __float128 (*ptr)(__float128) = __erfieee128;
26245
26246 int
26247 main ()
26248 {
26249 return 0;
26250 }
26251
26252 _ACEOF
26253 if ac_fn_c_try_link "$LINENO"; then :
26254 gcc_cv_math_func___erfieee128=yes
26255 else
26256 gcc_cv_math_func___erfieee128=no
26257 fi
26258 rm -f core conftest.err conftest.$ac_objext \
26259 conftest$ac_exeext conftest.$ac_ext
26260 fi
26261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26262 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26263 if test $gcc_cv_math_func___erfieee128 = yes; then
26264
26265 cat >>confdefs.h <<_ACEOF
26266 #define HAVE___ERFIEEE128 1
26267 _ACEOF
26268
26269 fi
26270
26271
26272
26273
26274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26275 $as_echo_n "checking for __expieee128... " >&6; }
26276 if ${gcc_cv_math_func___expieee128+:} false; then :
26277 $as_echo_n "(cached) " >&6
26278 else
26279 if test x$gcc_no_link = xyes; then
26280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26281 fi
26282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26283 /* end confdefs.h. */
26284
26285 __float128 __expieee128 (__float128);
26286 __float128 (*ptr)(__float128) = __expieee128;
26287
26288 int
26289 main ()
26290 {
26291 return 0;
26292 }
26293
26294 _ACEOF
26295 if ac_fn_c_try_link "$LINENO"; then :
26296 gcc_cv_math_func___expieee128=yes
26297 else
26298 gcc_cv_math_func___expieee128=no
26299 fi
26300 rm -f core conftest.err conftest.$ac_objext \
26301 conftest$ac_exeext conftest.$ac_ext
26302 fi
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26304 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26305 if test $gcc_cv_math_func___expieee128 = yes; then
26306
26307 cat >>confdefs.h <<_ACEOF
26308 #define HAVE___EXPIEEE128 1
26309 _ACEOF
26310
26311 fi
26312
26313
26314
26315
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26317 $as_echo_n "checking for __fabsieee128... " >&6; }
26318 if ${gcc_cv_math_func___fabsieee128+:} false; then :
26319 $as_echo_n "(cached) " >&6
26320 else
26321 if test x$gcc_no_link = xyes; then
26322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26323 fi
26324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26325 /* end confdefs.h. */
26326
26327 __float128 __fabsieee128 (__float128);
26328 __float128 (*ptr)(__float128) = __fabsieee128;
26329
26330 int
26331 main ()
26332 {
26333 return 0;
26334 }
26335
26336 _ACEOF
26337 if ac_fn_c_try_link "$LINENO"; then :
26338 gcc_cv_math_func___fabsieee128=yes
26339 else
26340 gcc_cv_math_func___fabsieee128=no
26341 fi
26342 rm -f core conftest.err conftest.$ac_objext \
26343 conftest$ac_exeext conftest.$ac_ext
26344 fi
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26346 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26347 if test $gcc_cv_math_func___fabsieee128 = yes; then
26348
26349 cat >>confdefs.h <<_ACEOF
26350 #define HAVE___FABSIEEE128 1
26351 _ACEOF
26352
26353 fi
26354
26355
26356
26357
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26359 $as_echo_n "checking for __jnieee128... " >&6; }
26360 if ${gcc_cv_math_func___jnieee128+:} false; then :
26361 $as_echo_n "(cached) " >&6
26362 else
26363 if test x$gcc_no_link = xyes; then
26364 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26365 fi
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26368
26369 __float128 __jnieee128 (__float128);
26370 __float128 (*ptr)(__float128) = __jnieee128;
26371
26372 int
26373 main ()
26374 {
26375 return 0;
26376 }
26377
26378 _ACEOF
26379 if ac_fn_c_try_link "$LINENO"; then :
26380 gcc_cv_math_func___jnieee128=yes
26381 else
26382 gcc_cv_math_func___jnieee128=no
26383 fi
26384 rm -f core conftest.err conftest.$ac_objext \
26385 conftest$ac_exeext conftest.$ac_ext
26386 fi
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26388 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26389 if test $gcc_cv_math_func___jnieee128 = yes; then
26390
26391 cat >>confdefs.h <<_ACEOF
26392 #define HAVE___JNIEEE128 1
26393 _ACEOF
26394
26395 fi
26396
26397
26398
26399
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26401 $as_echo_n "checking for __log10ieee128... " >&6; }
26402 if ${gcc_cv_math_func___log10ieee128+:} false; then :
26403 $as_echo_n "(cached) " >&6
26404 else
26405 if test x$gcc_no_link = xyes; then
26406 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26407 fi
26408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26409 /* end confdefs.h. */
26410
26411 __float128 __log10ieee128 (__float128);
26412 __float128 (*ptr)(__float128) = __log10ieee128;
26413
26414 int
26415 main ()
26416 {
26417 return 0;
26418 }
26419
26420 _ACEOF
26421 if ac_fn_c_try_link "$LINENO"; then :
26422 gcc_cv_math_func___log10ieee128=yes
26423 else
26424 gcc_cv_math_func___log10ieee128=no
26425 fi
26426 rm -f core conftest.err conftest.$ac_objext \
26427 conftest$ac_exeext conftest.$ac_ext
26428 fi
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26430 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26431 if test $gcc_cv_math_func___log10ieee128 = yes; then
26432
26433 cat >>confdefs.h <<_ACEOF
26434 #define HAVE___LOG10IEEE128 1
26435 _ACEOF
26436
26437 fi
26438
26439
26440
26441
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26443 $as_echo_n "checking for __logieee128... " >&6; }
26444 if ${gcc_cv_math_func___logieee128+:} false; then :
26445 $as_echo_n "(cached) " >&6
26446 else
26447 if test x$gcc_no_link = xyes; then
26448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26449 fi
26450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26451 /* end confdefs.h. */
26452
26453 __float128 __logieee128 (__float128);
26454 __float128 (*ptr)(__float128) = __logieee128;
26455
26456 int
26457 main ()
26458 {
26459 return 0;
26460 }
26461
26462 _ACEOF
26463 if ac_fn_c_try_link "$LINENO"; then :
26464 gcc_cv_math_func___logieee128=yes
26465 else
26466 gcc_cv_math_func___logieee128=no
26467 fi
26468 rm -f core conftest.err conftest.$ac_objext \
26469 conftest$ac_exeext conftest.$ac_ext
26470 fi
26471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26472 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26473 if test $gcc_cv_math_func___logieee128 = yes; then
26474
26475 cat >>confdefs.h <<_ACEOF
26476 #define HAVE___LOGIEEE128 1
26477 _ACEOF
26478
26479 fi
26480
26481
26482
26483
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26485 $as_echo_n "checking for __powieee128... " >&6; }
26486 if ${gcc_cv_math_func___powieee128+:} false; then :
26487 $as_echo_n "(cached) " >&6
26488 else
26489 if test x$gcc_no_link = xyes; then
26490 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26491 fi
26492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26493 /* end confdefs.h. */
26494
26495 __float128 __powieee128 (__float128);
26496 __float128 (*ptr)(__float128) = __powieee128;
26497
26498 int
26499 main ()
26500 {
26501 return 0;
26502 }
26503
26504 _ACEOF
26505 if ac_fn_c_try_link "$LINENO"; then :
26506 gcc_cv_math_func___powieee128=yes
26507 else
26508 gcc_cv_math_func___powieee128=no
26509 fi
26510 rm -f core conftest.err conftest.$ac_objext \
26511 conftest$ac_exeext conftest.$ac_ext
26512 fi
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26514 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26515 if test $gcc_cv_math_func___powieee128 = yes; then
26516
26517 cat >>confdefs.h <<_ACEOF
26518 #define HAVE___POWIEEE128 1
26519 _ACEOF
26520
26521 fi
26522
26523
26524
26525
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26527 $as_echo_n "checking for __sinhieee128... " >&6; }
26528 if ${gcc_cv_math_func___sinhieee128+:} false; then :
26529 $as_echo_n "(cached) " >&6
26530 else
26531 if test x$gcc_no_link = xyes; then
26532 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26533 fi
26534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26535 /* end confdefs.h. */
26536
26537 __float128 __sinhieee128 (__float128);
26538 __float128 (*ptr)(__float128) = __sinhieee128;
26539
26540 int
26541 main ()
26542 {
26543 return 0;
26544 }
26545
26546 _ACEOF
26547 if ac_fn_c_try_link "$LINENO"; then :
26548 gcc_cv_math_func___sinhieee128=yes
26549 else
26550 gcc_cv_math_func___sinhieee128=no
26551 fi
26552 rm -f core conftest.err conftest.$ac_objext \
26553 conftest$ac_exeext conftest.$ac_ext
26554 fi
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26556 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26557 if test $gcc_cv_math_func___sinhieee128 = yes; then
26558
26559 cat >>confdefs.h <<_ACEOF
26560 #define HAVE___SINHIEEE128 1
26561 _ACEOF
26562
26563 fi
26564
26565
26566
26567
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26569 $as_echo_n "checking for __sinieee128... " >&6; }
26570 if ${gcc_cv_math_func___sinieee128+:} false; then :
26571 $as_echo_n "(cached) " >&6
26572 else
26573 if test x$gcc_no_link = xyes; then
26574 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26575 fi
26576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26577 /* end confdefs.h. */
26578
26579 __float128 __sinieee128 (__float128);
26580 __float128 (*ptr)(__float128) = __sinieee128;
26581
26582 int
26583 main ()
26584 {
26585 return 0;
26586 }
26587
26588 _ACEOF
26589 if ac_fn_c_try_link "$LINENO"; then :
26590 gcc_cv_math_func___sinieee128=yes
26591 else
26592 gcc_cv_math_func___sinieee128=no
26593 fi
26594 rm -f core conftest.err conftest.$ac_objext \
26595 conftest$ac_exeext conftest.$ac_ext
26596 fi
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26598 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26599 if test $gcc_cv_math_func___sinieee128 = yes; then
26600
26601 cat >>confdefs.h <<_ACEOF
26602 #define HAVE___SINIEEE128 1
26603 _ACEOF
26604
26605 fi
26606
26607
26608
26609
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26611 $as_echo_n "checking for __sqrtieee128... " >&6; }
26612 if ${gcc_cv_math_func___sqrtieee128+:} false; then :
26613 $as_echo_n "(cached) " >&6
26614 else
26615 if test x$gcc_no_link = xyes; then
26616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26617 fi
26618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26619 /* end confdefs.h. */
26620
26621 __float128 __sqrtieee128 (__float128);
26622 __float128 (*ptr)(__float128) = __sqrtieee128;
26623
26624 int
26625 main ()
26626 {
26627 return 0;
26628 }
26629
26630 _ACEOF
26631 if ac_fn_c_try_link "$LINENO"; then :
26632 gcc_cv_math_func___sqrtieee128=yes
26633 else
26634 gcc_cv_math_func___sqrtieee128=no
26635 fi
26636 rm -f core conftest.err conftest.$ac_objext \
26637 conftest$ac_exeext conftest.$ac_ext
26638 fi
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26640 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26641 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26642
26643 cat >>confdefs.h <<_ACEOF
26644 #define HAVE___SQRTIEEE128 1
26645 _ACEOF
26646
26647 fi
26648
26649
26650
26651
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26653 $as_echo_n "checking for __tanhieee128... " >&6; }
26654 if ${gcc_cv_math_func___tanhieee128+:} false; then :
26655 $as_echo_n "(cached) " >&6
26656 else
26657 if test x$gcc_no_link = xyes; then
26658 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26659 fi
26660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26661 /* end confdefs.h. */
26662
26663 __float128 __tanhieee128 (__float128);
26664 __float128 (*ptr)(__float128) = __tanhieee128;
26665
26666 int
26667 main ()
26668 {
26669 return 0;
26670 }
26671
26672 _ACEOF
26673 if ac_fn_c_try_link "$LINENO"; then :
26674 gcc_cv_math_func___tanhieee128=yes
26675 else
26676 gcc_cv_math_func___tanhieee128=no
26677 fi
26678 rm -f core conftest.err conftest.$ac_objext \
26679 conftest$ac_exeext conftest.$ac_ext
26680 fi
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26682 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26683 if test $gcc_cv_math_func___tanhieee128 = yes; then
26684
26685 cat >>confdefs.h <<_ACEOF
26686 #define HAVE___TANHIEEE128 1
26687 _ACEOF
26688
26689 fi
26690
26691
26692
26693
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26695 $as_echo_n "checking for __tanieee128... " >&6; }
26696 if ${gcc_cv_math_func___tanieee128+:} false; then :
26697 $as_echo_n "(cached) " >&6
26698 else
26699 if test x$gcc_no_link = xyes; then
26700 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26701 fi
26702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26703 /* end confdefs.h. */
26704
26705 __float128 __tanieee128 (__float128);
26706 __float128 (*ptr)(__float128) = __tanieee128;
26707
26708 int
26709 main ()
26710 {
26711 return 0;
26712 }
26713
26714 _ACEOF
26715 if ac_fn_c_try_link "$LINENO"; then :
26716 gcc_cv_math_func___tanieee128=yes
26717 else
26718 gcc_cv_math_func___tanieee128=no
26719 fi
26720 rm -f core conftest.err conftest.$ac_objext \
26721 conftest$ac_exeext conftest.$ac_ext
26722 fi
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26724 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26725 if test $gcc_cv_math_func___tanieee128 = yes; then
26726
26727 cat >>confdefs.h <<_ACEOF
26728 #define HAVE___TANIEEE128 1
26729 _ACEOF
26730
26731 fi
26732
26733
26734
26735
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26737 $as_echo_n "checking for __ynieee128... " >&6; }
26738 if ${gcc_cv_math_func___ynieee128+:} false; then :
26739 $as_echo_n "(cached) " >&6
26740 else
26741 if test x$gcc_no_link = xyes; then
26742 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26743 fi
26744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26745 /* end confdefs.h. */
26746
26747 __float128 __ynieee128 (__float128);
26748 __float128 (*ptr)(__float128) = __ynieee128;
26749
26750 int
26751 main ()
26752 {
26753 return 0;
26754 }
26755
26756 _ACEOF
26757 if ac_fn_c_try_link "$LINENO"; then :
26758 gcc_cv_math_func___ynieee128=yes
26759 else
26760 gcc_cv_math_func___ynieee128=no
26761 fi
26762 rm -f core conftest.err conftest.$ac_objext \
26763 conftest$ac_exeext conftest.$ac_ext
26764 fi
26765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26766 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26767 if test $gcc_cv_math_func___ynieee128 = yes; then
26768
26769 cat >>confdefs.h <<_ACEOF
26770 #define HAVE___YNIEEE128 1
26771 _ACEOF
26772
26773 fi
26774
26775 fi
26776
26777 # On AIX, clog is present in libm as __clog
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26779 $as_echo_n "checking for __clog in -lm... " >&6; }
26780 if ${ac_cv_lib_m___clog+:} false; then :
26781 $as_echo_n "(cached) " >&6
26782 else
26783 ac_check_lib_save_LIBS=$LIBS
26784 LIBS="-lm $LIBS"
26785 if test x$gcc_no_link = xyes; then
26786 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26787 fi
26788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26789 /* end confdefs.h. */
26790
26791 /* Override any GCC internal prototype to avoid an error.
26792 Use char because int might match the return type of a GCC
26793 builtin and then its argument prototype would still apply. */
26794 #ifdef __cplusplus
26795 extern "C"
26796 #endif
26797 char __clog ();
26798 int
26799 main ()
26800 {
26801 return __clog ();
26802 ;
26803 return 0;
26804 }
26805 _ACEOF
26806 if ac_fn_c_try_link "$LINENO"; then :
26807 ac_cv_lib_m___clog=yes
26808 else
26809 ac_cv_lib_m___clog=no
26810 fi
26811 rm -f core conftest.err conftest.$ac_objext \
26812 conftest$ac_exeext conftest.$ac_ext
26813 LIBS=$ac_check_lib_save_LIBS
26814 fi
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26816 $as_echo "$ac_cv_lib_m___clog" >&6; }
26817 if test "x$ac_cv_lib_m___clog" = xyes; then :
26818
26819 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26820
26821 fi
26822
26823
26824
26825
26826 if test $gcc_cv_math_func_copysign = no; then
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26828 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26829 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
26830 $as_echo_n "(cached) " >&6
26831 else
26832 if test x$gcc_no_link = xyes; then
26833 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26834 fi
26835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26836 /* end confdefs.h. */
26837
26838 double
26839 copysign_fallback (double x, double y)
26840 {
26841 return __builtin_copysign (x, y);
26842 }
26843
26844 int
26845 main ()
26846 {
26847 return 0;
26848 }
26849
26850 _ACEOF
26851 if ac_fn_c_try_link "$LINENO"; then :
26852 gcc_cv_math_inline_builtin_copysign=yes
26853 else
26854 gcc_cv_math_inline_builtin_copysign=no
26855 fi
26856 rm -f core conftest.err conftest.$ac_objext \
26857 conftest$ac_exeext conftest.$ac_ext
26858 fi
26859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26860 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26861 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26862
26863 cat >>confdefs.h <<_ACEOF
26864 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26865 _ACEOF
26866
26867 fi
26868 fi
26869
26870
26871 if test $gcc_cv_math_func_copysignl = no; then
26872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26873 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26874 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
26875 $as_echo_n "(cached) " >&6
26876 else
26877 if test x$gcc_no_link = xyes; then
26878 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26879 fi
26880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26881 /* end confdefs.h. */
26882
26883 long double
26884 copysignl_fallback (long double x, long double y)
26885 {
26886 return __builtin_copysignl (x, y);
26887 }
26888
26889 int
26890 main ()
26891 {
26892 return 0;
26893 }
26894
26895 _ACEOF
26896 if ac_fn_c_try_link "$LINENO"; then :
26897 gcc_cv_math_inline_builtin_copysignl=yes
26898 else
26899 gcc_cv_math_inline_builtin_copysignl=no
26900 fi
26901 rm -f core conftest.err conftest.$ac_objext \
26902 conftest$ac_exeext conftest.$ac_ext
26903 fi
26904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26905 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26906 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26907
26908 cat >>confdefs.h <<_ACEOF
26909 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26910 _ACEOF
26911
26912 fi
26913 fi
26914
26915
26916 if test $gcc_cv_math_func_fabs = no; then
26917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26918 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26919 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
26920 $as_echo_n "(cached) " >&6
26921 else
26922 if test x$gcc_no_link = xyes; then
26923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26924 fi
26925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26926 /* end confdefs.h. */
26927
26928 double
26929 fabs_fallback (double x)
26930 {
26931 return __builtin_fabs (x);
26932 }
26933
26934 int
26935 main ()
26936 {
26937 return 0;
26938 }
26939
26940 _ACEOF
26941 if ac_fn_c_try_link "$LINENO"; then :
26942 gcc_cv_math_inline_builtin_fabs=yes
26943 else
26944 gcc_cv_math_inline_builtin_fabs=no
26945 fi
26946 rm -f core conftest.err conftest.$ac_objext \
26947 conftest$ac_exeext conftest.$ac_ext
26948 fi
26949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
26950 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
26951 if test $gcc_cv_math_inline_builtin_fabs = yes; then
26952
26953 cat >>confdefs.h <<_ACEOF
26954 #define HAVE_INLINE_BUILTIN_FABS 1
26955 _ACEOF
26956
26957 fi
26958 fi
26959
26960
26961 if test $gcc_cv_math_func_fabsl = no; then
26962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
26963 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
26964 if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
26965 $as_echo_n "(cached) " >&6
26966 else
26967 if test x$gcc_no_link = xyes; then
26968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26969 fi
26970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26971 /* end confdefs.h. */
26972
26973 long double
26974 fabsl_fallback (long double x)
26975 {
26976 return __builtin_fabsl (x);
26977 }
26978
26979 int
26980 main ()
26981 {
26982 return 0;
26983 }
26984
26985 _ACEOF
26986 if ac_fn_c_try_link "$LINENO"; then :
26987 gcc_cv_math_inline_builtin_fabsl=yes
26988 else
26989 gcc_cv_math_inline_builtin_fabsl=no
26990 fi
26991 rm -f core conftest.err conftest.$ac_objext \
26992 conftest$ac_exeext conftest.$ac_ext
26993 fi
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
26995 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
26996 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
26997
26998 cat >>confdefs.h <<_ACEOF
26999 #define HAVE_INLINE_BUILTIN_FABSL 1
27000 _ACEOF
27001
27002 fi
27003 fi
27004
27005
27006
27007
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27009 $as_echo_n "checking for acosf128... " >&6; }
27010 if ${gcc_cv_math_func_acosf128+:} false; then :
27011 $as_echo_n "(cached) " >&6
27012 else
27013 if test x$gcc_no_link = xyes; then
27014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27015 fi
27016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27017 /* end confdefs.h. */
27018
27019 #ifdef HAVE_COMPLEX_H
27020 #include <complex.h>
27021 #endif
27022 #ifdef HAVE_MATH_H
27023 #include <math.h>
27024 #endif
27025
27026 int (*ptr)() = (int (*)())acosf128;
27027
27028 int
27029 main ()
27030 {
27031 return 0;
27032 }
27033
27034 _ACEOF
27035 if ac_fn_c_try_link "$LINENO"; then :
27036 gcc_cv_math_func_acosf128=yes
27037 else
27038 gcc_cv_math_func_acosf128=no
27039 fi
27040 rm -f core conftest.err conftest.$ac_objext \
27041 conftest$ac_exeext conftest.$ac_ext
27042 fi
27043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27044 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27045 if test $gcc_cv_math_func_acosf128 = yes; then
27046
27047 cat >>confdefs.h <<_ACEOF
27048 #define HAVE_ACOSF128 1
27049 _ACEOF
27050
27051 fi
27052
27053
27054
27055
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27057 $as_echo_n "checking for acoshf128... " >&6; }
27058 if ${gcc_cv_math_func_acoshf128+:} false; then :
27059 $as_echo_n "(cached) " >&6
27060 else
27061 if test x$gcc_no_link = xyes; then
27062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27063 fi
27064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27065 /* end confdefs.h. */
27066
27067 #ifdef HAVE_COMPLEX_H
27068 #include <complex.h>
27069 #endif
27070 #ifdef HAVE_MATH_H
27071 #include <math.h>
27072 #endif
27073
27074 int (*ptr)() = (int (*)())acoshf128;
27075
27076 int
27077 main ()
27078 {
27079 return 0;
27080 }
27081
27082 _ACEOF
27083 if ac_fn_c_try_link "$LINENO"; then :
27084 gcc_cv_math_func_acoshf128=yes
27085 else
27086 gcc_cv_math_func_acoshf128=no
27087 fi
27088 rm -f core conftest.err conftest.$ac_objext \
27089 conftest$ac_exeext conftest.$ac_ext
27090 fi
27091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27092 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27093 if test $gcc_cv_math_func_acoshf128 = yes; then
27094
27095 cat >>confdefs.h <<_ACEOF
27096 #define HAVE_ACOSHF128 1
27097 _ACEOF
27098
27099 fi
27100
27101
27102
27103
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27105 $as_echo_n "checking for asinf128... " >&6; }
27106 if ${gcc_cv_math_func_asinf128+:} false; then :
27107 $as_echo_n "(cached) " >&6
27108 else
27109 if test x$gcc_no_link = xyes; then
27110 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27111 fi
27112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27113 /* end confdefs.h. */
27114
27115 #ifdef HAVE_COMPLEX_H
27116 #include <complex.h>
27117 #endif
27118 #ifdef HAVE_MATH_H
27119 #include <math.h>
27120 #endif
27121
27122 int (*ptr)() = (int (*)())asinf128;
27123
27124 int
27125 main ()
27126 {
27127 return 0;
27128 }
27129
27130 _ACEOF
27131 if ac_fn_c_try_link "$LINENO"; then :
27132 gcc_cv_math_func_asinf128=yes
27133 else
27134 gcc_cv_math_func_asinf128=no
27135 fi
27136 rm -f core conftest.err conftest.$ac_objext \
27137 conftest$ac_exeext conftest.$ac_ext
27138 fi
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27140 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27141 if test $gcc_cv_math_func_asinf128 = yes; then
27142
27143 cat >>confdefs.h <<_ACEOF
27144 #define HAVE_ASINF128 1
27145 _ACEOF
27146
27147 fi
27148
27149
27150
27151
27152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27153 $as_echo_n "checking for asinhf128... " >&6; }
27154 if ${gcc_cv_math_func_asinhf128+:} false; then :
27155 $as_echo_n "(cached) " >&6
27156 else
27157 if test x$gcc_no_link = xyes; then
27158 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27159 fi
27160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27161 /* end confdefs.h. */
27162
27163 #ifdef HAVE_COMPLEX_H
27164 #include <complex.h>
27165 #endif
27166 #ifdef HAVE_MATH_H
27167 #include <math.h>
27168 #endif
27169
27170 int (*ptr)() = (int (*)())asinhf128;
27171
27172 int
27173 main ()
27174 {
27175 return 0;
27176 }
27177
27178 _ACEOF
27179 if ac_fn_c_try_link "$LINENO"; then :
27180 gcc_cv_math_func_asinhf128=yes
27181 else
27182 gcc_cv_math_func_asinhf128=no
27183 fi
27184 rm -f core conftest.err conftest.$ac_objext \
27185 conftest$ac_exeext conftest.$ac_ext
27186 fi
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27188 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27189 if test $gcc_cv_math_func_asinhf128 = yes; then
27190
27191 cat >>confdefs.h <<_ACEOF
27192 #define HAVE_ASINHF128 1
27193 _ACEOF
27194
27195 fi
27196
27197
27198
27199
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27201 $as_echo_n "checking for atan2f128... " >&6; }
27202 if ${gcc_cv_math_func_atan2f128+:} false; then :
27203 $as_echo_n "(cached) " >&6
27204 else
27205 if test x$gcc_no_link = xyes; then
27206 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27207 fi
27208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27209 /* end confdefs.h. */
27210
27211 #ifdef HAVE_COMPLEX_H
27212 #include <complex.h>
27213 #endif
27214 #ifdef HAVE_MATH_H
27215 #include <math.h>
27216 #endif
27217
27218 int (*ptr)() = (int (*)())atan2f128;
27219
27220 int
27221 main ()
27222 {
27223 return 0;
27224 }
27225
27226 _ACEOF
27227 if ac_fn_c_try_link "$LINENO"; then :
27228 gcc_cv_math_func_atan2f128=yes
27229 else
27230 gcc_cv_math_func_atan2f128=no
27231 fi
27232 rm -f core conftest.err conftest.$ac_objext \
27233 conftest$ac_exeext conftest.$ac_ext
27234 fi
27235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27236 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27237 if test $gcc_cv_math_func_atan2f128 = yes; then
27238
27239 cat >>confdefs.h <<_ACEOF
27240 #define HAVE_ATAN2F128 1
27241 _ACEOF
27242
27243 fi
27244
27245
27246
27247
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27249 $as_echo_n "checking for atanf128... " >&6; }
27250 if ${gcc_cv_math_func_atanf128+:} false; then :
27251 $as_echo_n "(cached) " >&6
27252 else
27253 if test x$gcc_no_link = xyes; then
27254 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27255 fi
27256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27257 /* end confdefs.h. */
27258
27259 #ifdef HAVE_COMPLEX_H
27260 #include <complex.h>
27261 #endif
27262 #ifdef HAVE_MATH_H
27263 #include <math.h>
27264 #endif
27265
27266 int (*ptr)() = (int (*)())atanf128;
27267
27268 int
27269 main ()
27270 {
27271 return 0;
27272 }
27273
27274 _ACEOF
27275 if ac_fn_c_try_link "$LINENO"; then :
27276 gcc_cv_math_func_atanf128=yes
27277 else
27278 gcc_cv_math_func_atanf128=no
27279 fi
27280 rm -f core conftest.err conftest.$ac_objext \
27281 conftest$ac_exeext conftest.$ac_ext
27282 fi
27283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27284 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27285 if test $gcc_cv_math_func_atanf128 = yes; then
27286
27287 cat >>confdefs.h <<_ACEOF
27288 #define HAVE_ATANF128 1
27289 _ACEOF
27290
27291 fi
27292
27293
27294
27295
27296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27297 $as_echo_n "checking for atanhf128... " >&6; }
27298 if ${gcc_cv_math_func_atanhf128+:} false; then :
27299 $as_echo_n "(cached) " >&6
27300 else
27301 if test x$gcc_no_link = xyes; then
27302 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27303 fi
27304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27305 /* end confdefs.h. */
27306
27307 #ifdef HAVE_COMPLEX_H
27308 #include <complex.h>
27309 #endif
27310 #ifdef HAVE_MATH_H
27311 #include <math.h>
27312 #endif
27313
27314 int (*ptr)() = (int (*)())atanhf128;
27315
27316 int
27317 main ()
27318 {
27319 return 0;
27320 }
27321
27322 _ACEOF
27323 if ac_fn_c_try_link "$LINENO"; then :
27324 gcc_cv_math_func_atanhf128=yes
27325 else
27326 gcc_cv_math_func_atanhf128=no
27327 fi
27328 rm -f core conftest.err conftest.$ac_objext \
27329 conftest$ac_exeext conftest.$ac_ext
27330 fi
27331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27332 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27333 if test $gcc_cv_math_func_atanhf128 = yes; then
27334
27335 cat >>confdefs.h <<_ACEOF
27336 #define HAVE_ATANHF128 1
27337 _ACEOF
27338
27339 fi
27340
27341
27342
27343
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27345 $as_echo_n "checking for cargf128... " >&6; }
27346 if ${gcc_cv_math_func_cargf128+:} false; then :
27347 $as_echo_n "(cached) " >&6
27348 else
27349 if test x$gcc_no_link = xyes; then
27350 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27351 fi
27352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27353 /* end confdefs.h. */
27354
27355 #ifdef HAVE_COMPLEX_H
27356 #include <complex.h>
27357 #endif
27358 #ifdef HAVE_MATH_H
27359 #include <math.h>
27360 #endif
27361
27362 int (*ptr)() = (int (*)())cargf128;
27363
27364 int
27365 main ()
27366 {
27367 return 0;
27368 }
27369
27370 _ACEOF
27371 if ac_fn_c_try_link "$LINENO"; then :
27372 gcc_cv_math_func_cargf128=yes
27373 else
27374 gcc_cv_math_func_cargf128=no
27375 fi
27376 rm -f core conftest.err conftest.$ac_objext \
27377 conftest$ac_exeext conftest.$ac_ext
27378 fi
27379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27380 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27381 if test $gcc_cv_math_func_cargf128 = yes; then
27382
27383 cat >>confdefs.h <<_ACEOF
27384 #define HAVE_CARGF128 1
27385 _ACEOF
27386
27387 fi
27388
27389
27390
27391
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27393 $as_echo_n "checking for ceilf128... " >&6; }
27394 if ${gcc_cv_math_func_ceilf128+:} false; then :
27395 $as_echo_n "(cached) " >&6
27396 else
27397 if test x$gcc_no_link = xyes; then
27398 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27399 fi
27400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27401 /* end confdefs.h. */
27402
27403 #ifdef HAVE_COMPLEX_H
27404 #include <complex.h>
27405 #endif
27406 #ifdef HAVE_MATH_H
27407 #include <math.h>
27408 #endif
27409
27410 int (*ptr)() = (int (*)())ceilf128;
27411
27412 int
27413 main ()
27414 {
27415 return 0;
27416 }
27417
27418 _ACEOF
27419 if ac_fn_c_try_link "$LINENO"; then :
27420 gcc_cv_math_func_ceilf128=yes
27421 else
27422 gcc_cv_math_func_ceilf128=no
27423 fi
27424 rm -f core conftest.err conftest.$ac_objext \
27425 conftest$ac_exeext conftest.$ac_ext
27426 fi
27427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27428 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27429 if test $gcc_cv_math_func_ceilf128 = yes; then
27430
27431 cat >>confdefs.h <<_ACEOF
27432 #define HAVE_CEILF128 1
27433 _ACEOF
27434
27435 fi
27436
27437
27438
27439
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27441 $as_echo_n "checking for copysignf128... " >&6; }
27442 if ${gcc_cv_math_func_copysignf128+:} false; then :
27443 $as_echo_n "(cached) " >&6
27444 else
27445 if test x$gcc_no_link = xyes; then
27446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27447 fi
27448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27449 /* end confdefs.h. */
27450
27451 #ifdef HAVE_COMPLEX_H
27452 #include <complex.h>
27453 #endif
27454 #ifdef HAVE_MATH_H
27455 #include <math.h>
27456 #endif
27457
27458 int (*ptr)() = (int (*)())copysignf128;
27459
27460 int
27461 main ()
27462 {
27463 return 0;
27464 }
27465
27466 _ACEOF
27467 if ac_fn_c_try_link "$LINENO"; then :
27468 gcc_cv_math_func_copysignf128=yes
27469 else
27470 gcc_cv_math_func_copysignf128=no
27471 fi
27472 rm -f core conftest.err conftest.$ac_objext \
27473 conftest$ac_exeext conftest.$ac_ext
27474 fi
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27476 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27477 if test $gcc_cv_math_func_copysignf128 = yes; then
27478
27479 cat >>confdefs.h <<_ACEOF
27480 #define HAVE_COPYSIGNF128 1
27481 _ACEOF
27482
27483 fi
27484
27485
27486
27487
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27489 $as_echo_n "checking for cosf128... " >&6; }
27490 if ${gcc_cv_math_func_cosf128+:} false; then :
27491 $as_echo_n "(cached) " >&6
27492 else
27493 if test x$gcc_no_link = xyes; then
27494 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27495 fi
27496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27497 /* end confdefs.h. */
27498
27499 #ifdef HAVE_COMPLEX_H
27500 #include <complex.h>
27501 #endif
27502 #ifdef HAVE_MATH_H
27503 #include <math.h>
27504 #endif
27505
27506 int (*ptr)() = (int (*)())cosf128;
27507
27508 int
27509 main ()
27510 {
27511 return 0;
27512 }
27513
27514 _ACEOF
27515 if ac_fn_c_try_link "$LINENO"; then :
27516 gcc_cv_math_func_cosf128=yes
27517 else
27518 gcc_cv_math_func_cosf128=no
27519 fi
27520 rm -f core conftest.err conftest.$ac_objext \
27521 conftest$ac_exeext conftest.$ac_ext
27522 fi
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27524 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27525 if test $gcc_cv_math_func_cosf128 = yes; then
27526
27527 cat >>confdefs.h <<_ACEOF
27528 #define HAVE_COSF128 1
27529 _ACEOF
27530
27531 fi
27532
27533
27534
27535
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27537 $as_echo_n "checking for ccosf128... " >&6; }
27538 if ${gcc_cv_math_func_ccosf128+:} false; then :
27539 $as_echo_n "(cached) " >&6
27540 else
27541 if test x$gcc_no_link = xyes; then
27542 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27543 fi
27544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27545 /* end confdefs.h. */
27546
27547 #ifdef HAVE_COMPLEX_H
27548 #include <complex.h>
27549 #endif
27550 #ifdef HAVE_MATH_H
27551 #include <math.h>
27552 #endif
27553
27554 int (*ptr)() = (int (*)())ccosf128;
27555
27556 int
27557 main ()
27558 {
27559 return 0;
27560 }
27561
27562 _ACEOF
27563 if ac_fn_c_try_link "$LINENO"; then :
27564 gcc_cv_math_func_ccosf128=yes
27565 else
27566 gcc_cv_math_func_ccosf128=no
27567 fi
27568 rm -f core conftest.err conftest.$ac_objext \
27569 conftest$ac_exeext conftest.$ac_ext
27570 fi
27571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27572 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27573 if test $gcc_cv_math_func_ccosf128 = yes; then
27574
27575 cat >>confdefs.h <<_ACEOF
27576 #define HAVE_CCOSF128 1
27577 _ACEOF
27578
27579 fi
27580
27581
27582
27583
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27585 $as_echo_n "checking for coshf128... " >&6; }
27586 if ${gcc_cv_math_func_coshf128+:} false; then :
27587 $as_echo_n "(cached) " >&6
27588 else
27589 if test x$gcc_no_link = xyes; then
27590 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27591 fi
27592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27593 /* end confdefs.h. */
27594
27595 #ifdef HAVE_COMPLEX_H
27596 #include <complex.h>
27597 #endif
27598 #ifdef HAVE_MATH_H
27599 #include <math.h>
27600 #endif
27601
27602 int (*ptr)() = (int (*)())coshf128;
27603
27604 int
27605 main ()
27606 {
27607 return 0;
27608 }
27609
27610 _ACEOF
27611 if ac_fn_c_try_link "$LINENO"; then :
27612 gcc_cv_math_func_coshf128=yes
27613 else
27614 gcc_cv_math_func_coshf128=no
27615 fi
27616 rm -f core conftest.err conftest.$ac_objext \
27617 conftest$ac_exeext conftest.$ac_ext
27618 fi
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27620 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27621 if test $gcc_cv_math_func_coshf128 = yes; then
27622
27623 cat >>confdefs.h <<_ACEOF
27624 #define HAVE_COSHF128 1
27625 _ACEOF
27626
27627 fi
27628
27629
27630
27631
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27633 $as_echo_n "checking for ccoshf128... " >&6; }
27634 if ${gcc_cv_math_func_ccoshf128+:} false; then :
27635 $as_echo_n "(cached) " >&6
27636 else
27637 if test x$gcc_no_link = xyes; then
27638 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27639 fi
27640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h. */
27642
27643 #ifdef HAVE_COMPLEX_H
27644 #include <complex.h>
27645 #endif
27646 #ifdef HAVE_MATH_H
27647 #include <math.h>
27648 #endif
27649
27650 int (*ptr)() = (int (*)())ccoshf128;
27651
27652 int
27653 main ()
27654 {
27655 return 0;
27656 }
27657
27658 _ACEOF
27659 if ac_fn_c_try_link "$LINENO"; then :
27660 gcc_cv_math_func_ccoshf128=yes
27661 else
27662 gcc_cv_math_func_ccoshf128=no
27663 fi
27664 rm -f core conftest.err conftest.$ac_objext \
27665 conftest$ac_exeext conftest.$ac_ext
27666 fi
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27668 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27669 if test $gcc_cv_math_func_ccoshf128 = yes; then
27670
27671 cat >>confdefs.h <<_ACEOF
27672 #define HAVE_CCOSHF128 1
27673 _ACEOF
27674
27675 fi
27676
27677
27678
27679
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27681 $as_echo_n "checking for expf128... " >&6; }
27682 if ${gcc_cv_math_func_expf128+:} false; then :
27683 $as_echo_n "(cached) " >&6
27684 else
27685 if test x$gcc_no_link = xyes; then
27686 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27687 fi
27688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27689 /* end confdefs.h. */
27690
27691 #ifdef HAVE_COMPLEX_H
27692 #include <complex.h>
27693 #endif
27694 #ifdef HAVE_MATH_H
27695 #include <math.h>
27696 #endif
27697
27698 int (*ptr)() = (int (*)())expf128;
27699
27700 int
27701 main ()
27702 {
27703 return 0;
27704 }
27705
27706 _ACEOF
27707 if ac_fn_c_try_link "$LINENO"; then :
27708 gcc_cv_math_func_expf128=yes
27709 else
27710 gcc_cv_math_func_expf128=no
27711 fi
27712 rm -f core conftest.err conftest.$ac_objext \
27713 conftest$ac_exeext conftest.$ac_ext
27714 fi
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27716 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27717 if test $gcc_cv_math_func_expf128 = yes; then
27718
27719 cat >>confdefs.h <<_ACEOF
27720 #define HAVE_EXPF128 1
27721 _ACEOF
27722
27723 fi
27724
27725
27726
27727
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27729 $as_echo_n "checking for cexpf128... " >&6; }
27730 if ${gcc_cv_math_func_cexpf128+:} false; then :
27731 $as_echo_n "(cached) " >&6
27732 else
27733 if test x$gcc_no_link = xyes; then
27734 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27735 fi
27736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27737 /* end confdefs.h. */
27738
27739 #ifdef HAVE_COMPLEX_H
27740 #include <complex.h>
27741 #endif
27742 #ifdef HAVE_MATH_H
27743 #include <math.h>
27744 #endif
27745
27746 int (*ptr)() = (int (*)())cexpf128;
27747
27748 int
27749 main ()
27750 {
27751 return 0;
27752 }
27753
27754 _ACEOF
27755 if ac_fn_c_try_link "$LINENO"; then :
27756 gcc_cv_math_func_cexpf128=yes
27757 else
27758 gcc_cv_math_func_cexpf128=no
27759 fi
27760 rm -f core conftest.err conftest.$ac_objext \
27761 conftest$ac_exeext conftest.$ac_ext
27762 fi
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27764 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27765 if test $gcc_cv_math_func_cexpf128 = yes; then
27766
27767 cat >>confdefs.h <<_ACEOF
27768 #define HAVE_CEXPF128 1
27769 _ACEOF
27770
27771 fi
27772
27773
27774
27775
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27777 $as_echo_n "checking for fabsf128... " >&6; }
27778 if ${gcc_cv_math_func_fabsf128+:} false; then :
27779 $as_echo_n "(cached) " >&6
27780 else
27781 if test x$gcc_no_link = xyes; then
27782 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27783 fi
27784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27785 /* end confdefs.h. */
27786
27787 #ifdef HAVE_COMPLEX_H
27788 #include <complex.h>
27789 #endif
27790 #ifdef HAVE_MATH_H
27791 #include <math.h>
27792 #endif
27793
27794 int (*ptr)() = (int (*)())fabsf128;
27795
27796 int
27797 main ()
27798 {
27799 return 0;
27800 }
27801
27802 _ACEOF
27803 if ac_fn_c_try_link "$LINENO"; then :
27804 gcc_cv_math_func_fabsf128=yes
27805 else
27806 gcc_cv_math_func_fabsf128=no
27807 fi
27808 rm -f core conftest.err conftest.$ac_objext \
27809 conftest$ac_exeext conftest.$ac_ext
27810 fi
27811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27812 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27813 if test $gcc_cv_math_func_fabsf128 = yes; then
27814
27815 cat >>confdefs.h <<_ACEOF
27816 #define HAVE_FABSF128 1
27817 _ACEOF
27818
27819 fi
27820
27821
27822
27823
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27825 $as_echo_n "checking for cabsf128... " >&6; }
27826 if ${gcc_cv_math_func_cabsf128+:} false; then :
27827 $as_echo_n "(cached) " >&6
27828 else
27829 if test x$gcc_no_link = xyes; then
27830 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27831 fi
27832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h. */
27834
27835 #ifdef HAVE_COMPLEX_H
27836 #include <complex.h>
27837 #endif
27838 #ifdef HAVE_MATH_H
27839 #include <math.h>
27840 #endif
27841
27842 int (*ptr)() = (int (*)())cabsf128;
27843
27844 int
27845 main ()
27846 {
27847 return 0;
27848 }
27849
27850 _ACEOF
27851 if ac_fn_c_try_link "$LINENO"; then :
27852 gcc_cv_math_func_cabsf128=yes
27853 else
27854 gcc_cv_math_func_cabsf128=no
27855 fi
27856 rm -f core conftest.err conftest.$ac_objext \
27857 conftest$ac_exeext conftest.$ac_ext
27858 fi
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27860 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27861 if test $gcc_cv_math_func_cabsf128 = yes; then
27862
27863 cat >>confdefs.h <<_ACEOF
27864 #define HAVE_CABSF128 1
27865 _ACEOF
27866
27867 fi
27868
27869
27870
27871
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27873 $as_echo_n "checking for floorf128... " >&6; }
27874 if ${gcc_cv_math_func_floorf128+:} false; then :
27875 $as_echo_n "(cached) " >&6
27876 else
27877 if test x$gcc_no_link = xyes; then
27878 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27879 fi
27880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h. */
27882
27883 #ifdef HAVE_COMPLEX_H
27884 #include <complex.h>
27885 #endif
27886 #ifdef HAVE_MATH_H
27887 #include <math.h>
27888 #endif
27889
27890 int (*ptr)() = (int (*)())floorf128;
27891
27892 int
27893 main ()
27894 {
27895 return 0;
27896 }
27897
27898 _ACEOF
27899 if ac_fn_c_try_link "$LINENO"; then :
27900 gcc_cv_math_func_floorf128=yes
27901 else
27902 gcc_cv_math_func_floorf128=no
27903 fi
27904 rm -f core conftest.err conftest.$ac_objext \
27905 conftest$ac_exeext conftest.$ac_ext
27906 fi
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27908 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27909 if test $gcc_cv_math_func_floorf128 = yes; then
27910
27911 cat >>confdefs.h <<_ACEOF
27912 #define HAVE_FLOORF128 1
27913 _ACEOF
27914
27915 fi
27916
27917
27918
27919
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27921 $as_echo_n "checking for fmaf128... " >&6; }
27922 if ${gcc_cv_math_func_fmaf128+:} false; then :
27923 $as_echo_n "(cached) " >&6
27924 else
27925 if test x$gcc_no_link = xyes; then
27926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27927 fi
27928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27929 /* end confdefs.h. */
27930
27931 #ifdef HAVE_COMPLEX_H
27932 #include <complex.h>
27933 #endif
27934 #ifdef HAVE_MATH_H
27935 #include <math.h>
27936 #endif
27937
27938 int (*ptr)() = (int (*)())fmaf128;
27939
27940 int
27941 main ()
27942 {
27943 return 0;
27944 }
27945
27946 _ACEOF
27947 if ac_fn_c_try_link "$LINENO"; then :
27948 gcc_cv_math_func_fmaf128=yes
27949 else
27950 gcc_cv_math_func_fmaf128=no
27951 fi
27952 rm -f core conftest.err conftest.$ac_objext \
27953 conftest$ac_exeext conftest.$ac_ext
27954 fi
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
27956 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
27957 if test $gcc_cv_math_func_fmaf128 = yes; then
27958
27959 cat >>confdefs.h <<_ACEOF
27960 #define HAVE_FMAF128 1
27961 _ACEOF
27962
27963 fi
27964
27965
27966
27967
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
27969 $as_echo_n "checking for fmodf128... " >&6; }
27970 if ${gcc_cv_math_func_fmodf128+:} false; then :
27971 $as_echo_n "(cached) " >&6
27972 else
27973 if test x$gcc_no_link = xyes; then
27974 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27975 fi
27976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27977 /* end confdefs.h. */
27978
27979 #ifdef HAVE_COMPLEX_H
27980 #include <complex.h>
27981 #endif
27982 #ifdef HAVE_MATH_H
27983 #include <math.h>
27984 #endif
27985
27986 int (*ptr)() = (int (*)())fmodf128;
27987
27988 int
27989 main ()
27990 {
27991 return 0;
27992 }
27993
27994 _ACEOF
27995 if ac_fn_c_try_link "$LINENO"; then :
27996 gcc_cv_math_func_fmodf128=yes
27997 else
27998 gcc_cv_math_func_fmodf128=no
27999 fi
28000 rm -f core conftest.err conftest.$ac_objext \
28001 conftest$ac_exeext conftest.$ac_ext
28002 fi
28003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28004 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28005 if test $gcc_cv_math_func_fmodf128 = yes; then
28006
28007 cat >>confdefs.h <<_ACEOF
28008 #define HAVE_FMODF128 1
28009 _ACEOF
28010
28011 fi
28012
28013
28014
28015
28016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28017 $as_echo_n "checking for frexpf128... " >&6; }
28018 if ${gcc_cv_math_func_frexpf128+:} false; then :
28019 $as_echo_n "(cached) " >&6
28020 else
28021 if test x$gcc_no_link = xyes; then
28022 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28023 fi
28024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28025 /* end confdefs.h. */
28026
28027 #ifdef HAVE_COMPLEX_H
28028 #include <complex.h>
28029 #endif
28030 #ifdef HAVE_MATH_H
28031 #include <math.h>
28032 #endif
28033
28034 int (*ptr)() = (int (*)())frexpf128;
28035
28036 int
28037 main ()
28038 {
28039 return 0;
28040 }
28041
28042 _ACEOF
28043 if ac_fn_c_try_link "$LINENO"; then :
28044 gcc_cv_math_func_frexpf128=yes
28045 else
28046 gcc_cv_math_func_frexpf128=no
28047 fi
28048 rm -f core conftest.err conftest.$ac_objext \
28049 conftest$ac_exeext conftest.$ac_ext
28050 fi
28051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28052 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28053 if test $gcc_cv_math_func_frexpf128 = yes; then
28054
28055 cat >>confdefs.h <<_ACEOF
28056 #define HAVE_FREXPF128 1
28057 _ACEOF
28058
28059 fi
28060
28061
28062
28063
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28065 $as_echo_n "checking for hypotf128... " >&6; }
28066 if ${gcc_cv_math_func_hypotf128+:} false; then :
28067 $as_echo_n "(cached) " >&6
28068 else
28069 if test x$gcc_no_link = xyes; then
28070 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28071 fi
28072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28073 /* end confdefs.h. */
28074
28075 #ifdef HAVE_COMPLEX_H
28076 #include <complex.h>
28077 #endif
28078 #ifdef HAVE_MATH_H
28079 #include <math.h>
28080 #endif
28081
28082 int (*ptr)() = (int (*)())hypotf128;
28083
28084 int
28085 main ()
28086 {
28087 return 0;
28088 }
28089
28090 _ACEOF
28091 if ac_fn_c_try_link "$LINENO"; then :
28092 gcc_cv_math_func_hypotf128=yes
28093 else
28094 gcc_cv_math_func_hypotf128=no
28095 fi
28096 rm -f core conftest.err conftest.$ac_objext \
28097 conftest$ac_exeext conftest.$ac_ext
28098 fi
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28100 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28101 if test $gcc_cv_math_func_hypotf128 = yes; then
28102
28103 cat >>confdefs.h <<_ACEOF
28104 #define HAVE_HYPOTF128 1
28105 _ACEOF
28106
28107 fi
28108
28109
28110
28111
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28113 $as_echo_n "checking for ldexpf128... " >&6; }
28114 if ${gcc_cv_math_func_ldexpf128+:} false; then :
28115 $as_echo_n "(cached) " >&6
28116 else
28117 if test x$gcc_no_link = xyes; then
28118 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28119 fi
28120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28121 /* end confdefs.h. */
28122
28123 #ifdef HAVE_COMPLEX_H
28124 #include <complex.h>
28125 #endif
28126 #ifdef HAVE_MATH_H
28127 #include <math.h>
28128 #endif
28129
28130 int (*ptr)() = (int (*)())ldexpf128;
28131
28132 int
28133 main ()
28134 {
28135 return 0;
28136 }
28137
28138 _ACEOF
28139 if ac_fn_c_try_link "$LINENO"; then :
28140 gcc_cv_math_func_ldexpf128=yes
28141 else
28142 gcc_cv_math_func_ldexpf128=no
28143 fi
28144 rm -f core conftest.err conftest.$ac_objext \
28145 conftest$ac_exeext conftest.$ac_ext
28146 fi
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28148 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28149 if test $gcc_cv_math_func_ldexpf128 = yes; then
28150
28151 cat >>confdefs.h <<_ACEOF
28152 #define HAVE_LDEXPF128 1
28153 _ACEOF
28154
28155 fi
28156
28157
28158
28159
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28161 $as_echo_n "checking for logf128... " >&6; }
28162 if ${gcc_cv_math_func_logf128+:} false; then :
28163 $as_echo_n "(cached) " >&6
28164 else
28165 if test x$gcc_no_link = xyes; then
28166 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28167 fi
28168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28169 /* end confdefs.h. */
28170
28171 #ifdef HAVE_COMPLEX_H
28172 #include <complex.h>
28173 #endif
28174 #ifdef HAVE_MATH_H
28175 #include <math.h>
28176 #endif
28177
28178 int (*ptr)() = (int (*)())logf128;
28179
28180 int
28181 main ()
28182 {
28183 return 0;
28184 }
28185
28186 _ACEOF
28187 if ac_fn_c_try_link "$LINENO"; then :
28188 gcc_cv_math_func_logf128=yes
28189 else
28190 gcc_cv_math_func_logf128=no
28191 fi
28192 rm -f core conftest.err conftest.$ac_objext \
28193 conftest$ac_exeext conftest.$ac_ext
28194 fi
28195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28196 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28197 if test $gcc_cv_math_func_logf128 = yes; then
28198
28199 cat >>confdefs.h <<_ACEOF
28200 #define HAVE_LOGF128 1
28201 _ACEOF
28202
28203 fi
28204
28205
28206
28207
28208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28209 $as_echo_n "checking for clogf128... " >&6; }
28210 if ${gcc_cv_math_func_clogf128+:} false; then :
28211 $as_echo_n "(cached) " >&6
28212 else
28213 if test x$gcc_no_link = xyes; then
28214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28215 fi
28216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28217 /* end confdefs.h. */
28218
28219 #ifdef HAVE_COMPLEX_H
28220 #include <complex.h>
28221 #endif
28222 #ifdef HAVE_MATH_H
28223 #include <math.h>
28224 #endif
28225
28226 int (*ptr)() = (int (*)())clogf128;
28227
28228 int
28229 main ()
28230 {
28231 return 0;
28232 }
28233
28234 _ACEOF
28235 if ac_fn_c_try_link "$LINENO"; then :
28236 gcc_cv_math_func_clogf128=yes
28237 else
28238 gcc_cv_math_func_clogf128=no
28239 fi
28240 rm -f core conftest.err conftest.$ac_objext \
28241 conftest$ac_exeext conftest.$ac_ext
28242 fi
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28244 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28245 if test $gcc_cv_math_func_clogf128 = yes; then
28246
28247 cat >>confdefs.h <<_ACEOF
28248 #define HAVE_CLOGF128 1
28249 _ACEOF
28250
28251 fi
28252
28253
28254
28255
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28257 $as_echo_n "checking for log10f128... " >&6; }
28258 if ${gcc_cv_math_func_log10f128+:} false; then :
28259 $as_echo_n "(cached) " >&6
28260 else
28261 if test x$gcc_no_link = xyes; then
28262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28263 fi
28264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28265 /* end confdefs.h. */
28266
28267 #ifdef HAVE_COMPLEX_H
28268 #include <complex.h>
28269 #endif
28270 #ifdef HAVE_MATH_H
28271 #include <math.h>
28272 #endif
28273
28274 int (*ptr)() = (int (*)())log10f128;
28275
28276 int
28277 main ()
28278 {
28279 return 0;
28280 }
28281
28282 _ACEOF
28283 if ac_fn_c_try_link "$LINENO"; then :
28284 gcc_cv_math_func_log10f128=yes
28285 else
28286 gcc_cv_math_func_log10f128=no
28287 fi
28288 rm -f core conftest.err conftest.$ac_objext \
28289 conftest$ac_exeext conftest.$ac_ext
28290 fi
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28292 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28293 if test $gcc_cv_math_func_log10f128 = yes; then
28294
28295 cat >>confdefs.h <<_ACEOF
28296 #define HAVE_LOG10F128 1
28297 _ACEOF
28298
28299 fi
28300
28301
28302
28303
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28305 $as_echo_n "checking for clog10f128... " >&6; }
28306 if ${gcc_cv_math_func_clog10f128+:} false; then :
28307 $as_echo_n "(cached) " >&6
28308 else
28309 if test x$gcc_no_link = xyes; then
28310 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28311 fi
28312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28313 /* end confdefs.h. */
28314
28315 #ifdef HAVE_COMPLEX_H
28316 #include <complex.h>
28317 #endif
28318 #ifdef HAVE_MATH_H
28319 #include <math.h>
28320 #endif
28321
28322 int (*ptr)() = (int (*)())clog10f128;
28323
28324 int
28325 main ()
28326 {
28327 return 0;
28328 }
28329
28330 _ACEOF
28331 if ac_fn_c_try_link "$LINENO"; then :
28332 gcc_cv_math_func_clog10f128=yes
28333 else
28334 gcc_cv_math_func_clog10f128=no
28335 fi
28336 rm -f core conftest.err conftest.$ac_objext \
28337 conftest$ac_exeext conftest.$ac_ext
28338 fi
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28340 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28341 if test $gcc_cv_math_func_clog10f128 = yes; then
28342
28343 cat >>confdefs.h <<_ACEOF
28344 #define HAVE_CLOG10F128 1
28345 _ACEOF
28346
28347 fi
28348
28349
28350
28351
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28353 $as_echo_n "checking for nextafterf128... " >&6; }
28354 if ${gcc_cv_math_func_nextafterf128+:} false; then :
28355 $as_echo_n "(cached) " >&6
28356 else
28357 if test x$gcc_no_link = xyes; then
28358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28359 fi
28360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28361 /* end confdefs.h. */
28362
28363 #ifdef HAVE_COMPLEX_H
28364 #include <complex.h>
28365 #endif
28366 #ifdef HAVE_MATH_H
28367 #include <math.h>
28368 #endif
28369
28370 int (*ptr)() = (int (*)())nextafterf128;
28371
28372 int
28373 main ()
28374 {
28375 return 0;
28376 }
28377
28378 _ACEOF
28379 if ac_fn_c_try_link "$LINENO"; then :
28380 gcc_cv_math_func_nextafterf128=yes
28381 else
28382 gcc_cv_math_func_nextafterf128=no
28383 fi
28384 rm -f core conftest.err conftest.$ac_objext \
28385 conftest$ac_exeext conftest.$ac_ext
28386 fi
28387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28388 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28389 if test $gcc_cv_math_func_nextafterf128 = yes; then
28390
28391 cat >>confdefs.h <<_ACEOF
28392 #define HAVE_NEXTAFTERF128 1
28393 _ACEOF
28394
28395 fi
28396
28397
28398
28399
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28401 $as_echo_n "checking for powf128... " >&6; }
28402 if ${gcc_cv_math_func_powf128+:} false; then :
28403 $as_echo_n "(cached) " >&6
28404 else
28405 if test x$gcc_no_link = xyes; then
28406 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28407 fi
28408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28409 /* end confdefs.h. */
28410
28411 #ifdef HAVE_COMPLEX_H
28412 #include <complex.h>
28413 #endif
28414 #ifdef HAVE_MATH_H
28415 #include <math.h>
28416 #endif
28417
28418 int (*ptr)() = (int (*)())powf128;
28419
28420 int
28421 main ()
28422 {
28423 return 0;
28424 }
28425
28426 _ACEOF
28427 if ac_fn_c_try_link "$LINENO"; then :
28428 gcc_cv_math_func_powf128=yes
28429 else
28430 gcc_cv_math_func_powf128=no
28431 fi
28432 rm -f core conftest.err conftest.$ac_objext \
28433 conftest$ac_exeext conftest.$ac_ext
28434 fi
28435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28436 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28437 if test $gcc_cv_math_func_powf128 = yes; then
28438
28439 cat >>confdefs.h <<_ACEOF
28440 #define HAVE_POWF128 1
28441 _ACEOF
28442
28443 fi
28444
28445
28446
28447
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28449 $as_echo_n "checking for cpowf128... " >&6; }
28450 if ${gcc_cv_math_func_cpowf128+:} false; then :
28451 $as_echo_n "(cached) " >&6
28452 else
28453 if test x$gcc_no_link = xyes; then
28454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28455 fi
28456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28457 /* end confdefs.h. */
28458
28459 #ifdef HAVE_COMPLEX_H
28460 #include <complex.h>
28461 #endif
28462 #ifdef HAVE_MATH_H
28463 #include <math.h>
28464 #endif
28465
28466 int (*ptr)() = (int (*)())cpowf128;
28467
28468 int
28469 main ()
28470 {
28471 return 0;
28472 }
28473
28474 _ACEOF
28475 if ac_fn_c_try_link "$LINENO"; then :
28476 gcc_cv_math_func_cpowf128=yes
28477 else
28478 gcc_cv_math_func_cpowf128=no
28479 fi
28480 rm -f core conftest.err conftest.$ac_objext \
28481 conftest$ac_exeext conftest.$ac_ext
28482 fi
28483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28484 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28485 if test $gcc_cv_math_func_cpowf128 = yes; then
28486
28487 cat >>confdefs.h <<_ACEOF
28488 #define HAVE_CPOWF128 1
28489 _ACEOF
28490
28491 fi
28492
28493
28494
28495
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28497 $as_echo_n "checking for roundf128... " >&6; }
28498 if ${gcc_cv_math_func_roundf128+:} false; then :
28499 $as_echo_n "(cached) " >&6
28500 else
28501 if test x$gcc_no_link = xyes; then
28502 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28503 fi
28504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28505 /* end confdefs.h. */
28506
28507 #ifdef HAVE_COMPLEX_H
28508 #include <complex.h>
28509 #endif
28510 #ifdef HAVE_MATH_H
28511 #include <math.h>
28512 #endif
28513
28514 int (*ptr)() = (int (*)())roundf128;
28515
28516 int
28517 main ()
28518 {
28519 return 0;
28520 }
28521
28522 _ACEOF
28523 if ac_fn_c_try_link "$LINENO"; then :
28524 gcc_cv_math_func_roundf128=yes
28525 else
28526 gcc_cv_math_func_roundf128=no
28527 fi
28528 rm -f core conftest.err conftest.$ac_objext \
28529 conftest$ac_exeext conftest.$ac_ext
28530 fi
28531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28532 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28533 if test $gcc_cv_math_func_roundf128 = yes; then
28534
28535 cat >>confdefs.h <<_ACEOF
28536 #define HAVE_ROUNDF128 1
28537 _ACEOF
28538
28539 fi
28540
28541
28542
28543
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28545 $as_echo_n "checking for lroundf128... " >&6; }
28546 if ${gcc_cv_math_func_lroundf128+:} false; then :
28547 $as_echo_n "(cached) " >&6
28548 else
28549 if test x$gcc_no_link = xyes; then
28550 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28551 fi
28552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28553 /* end confdefs.h. */
28554
28555 #ifdef HAVE_COMPLEX_H
28556 #include <complex.h>
28557 #endif
28558 #ifdef HAVE_MATH_H
28559 #include <math.h>
28560 #endif
28561
28562 int (*ptr)() = (int (*)())lroundf128;
28563
28564 int
28565 main ()
28566 {
28567 return 0;
28568 }
28569
28570 _ACEOF
28571 if ac_fn_c_try_link "$LINENO"; then :
28572 gcc_cv_math_func_lroundf128=yes
28573 else
28574 gcc_cv_math_func_lroundf128=no
28575 fi
28576 rm -f core conftest.err conftest.$ac_objext \
28577 conftest$ac_exeext conftest.$ac_ext
28578 fi
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28580 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28581 if test $gcc_cv_math_func_lroundf128 = yes; then
28582
28583 cat >>confdefs.h <<_ACEOF
28584 #define HAVE_LROUNDF128 1
28585 _ACEOF
28586
28587 fi
28588
28589
28590
28591
28592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28593 $as_echo_n "checking for llroundf128... " >&6; }
28594 if ${gcc_cv_math_func_llroundf128+:} false; then :
28595 $as_echo_n "(cached) " >&6
28596 else
28597 if test x$gcc_no_link = xyes; then
28598 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28599 fi
28600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28601 /* end confdefs.h. */
28602
28603 #ifdef HAVE_COMPLEX_H
28604 #include <complex.h>
28605 #endif
28606 #ifdef HAVE_MATH_H
28607 #include <math.h>
28608 #endif
28609
28610 int (*ptr)() = (int (*)())llroundf128;
28611
28612 int
28613 main ()
28614 {
28615 return 0;
28616 }
28617
28618 _ACEOF
28619 if ac_fn_c_try_link "$LINENO"; then :
28620 gcc_cv_math_func_llroundf128=yes
28621 else
28622 gcc_cv_math_func_llroundf128=no
28623 fi
28624 rm -f core conftest.err conftest.$ac_objext \
28625 conftest$ac_exeext conftest.$ac_ext
28626 fi
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28628 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28629 if test $gcc_cv_math_func_llroundf128 = yes; then
28630
28631 cat >>confdefs.h <<_ACEOF
28632 #define HAVE_LLROUNDF128 1
28633 _ACEOF
28634
28635 fi
28636
28637
28638
28639
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28641 $as_echo_n "checking for scalbnf128... " >&6; }
28642 if ${gcc_cv_math_func_scalbnf128+:} false; then :
28643 $as_echo_n "(cached) " >&6
28644 else
28645 if test x$gcc_no_link = xyes; then
28646 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28647 fi
28648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28649 /* end confdefs.h. */
28650
28651 #ifdef HAVE_COMPLEX_H
28652 #include <complex.h>
28653 #endif
28654 #ifdef HAVE_MATH_H
28655 #include <math.h>
28656 #endif
28657
28658 int (*ptr)() = (int (*)())scalbnf128;
28659
28660 int
28661 main ()
28662 {
28663 return 0;
28664 }
28665
28666 _ACEOF
28667 if ac_fn_c_try_link "$LINENO"; then :
28668 gcc_cv_math_func_scalbnf128=yes
28669 else
28670 gcc_cv_math_func_scalbnf128=no
28671 fi
28672 rm -f core conftest.err conftest.$ac_objext \
28673 conftest$ac_exeext conftest.$ac_ext
28674 fi
28675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28676 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28677 if test $gcc_cv_math_func_scalbnf128 = yes; then
28678
28679 cat >>confdefs.h <<_ACEOF
28680 #define HAVE_SCALBNF128 1
28681 _ACEOF
28682
28683 fi
28684
28685
28686
28687
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28689 $as_echo_n "checking for sinf128... " >&6; }
28690 if ${gcc_cv_math_func_sinf128+:} false; then :
28691 $as_echo_n "(cached) " >&6
28692 else
28693 if test x$gcc_no_link = xyes; then
28694 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28695 fi
28696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28697 /* end confdefs.h. */
28698
28699 #ifdef HAVE_COMPLEX_H
28700 #include <complex.h>
28701 #endif
28702 #ifdef HAVE_MATH_H
28703 #include <math.h>
28704 #endif
28705
28706 int (*ptr)() = (int (*)())sinf128;
28707
28708 int
28709 main ()
28710 {
28711 return 0;
28712 }
28713
28714 _ACEOF
28715 if ac_fn_c_try_link "$LINENO"; then :
28716 gcc_cv_math_func_sinf128=yes
28717 else
28718 gcc_cv_math_func_sinf128=no
28719 fi
28720 rm -f core conftest.err conftest.$ac_objext \
28721 conftest$ac_exeext conftest.$ac_ext
28722 fi
28723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28724 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28725 if test $gcc_cv_math_func_sinf128 = yes; then
28726
28727 cat >>confdefs.h <<_ACEOF
28728 #define HAVE_SINF128 1
28729 _ACEOF
28730
28731 fi
28732
28733
28734
28735
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28737 $as_echo_n "checking for csinf128... " >&6; }
28738 if ${gcc_cv_math_func_csinf128+:} false; then :
28739 $as_echo_n "(cached) " >&6
28740 else
28741 if test x$gcc_no_link = xyes; then
28742 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28743 fi
28744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28745 /* end confdefs.h. */
28746
28747 #ifdef HAVE_COMPLEX_H
28748 #include <complex.h>
28749 #endif
28750 #ifdef HAVE_MATH_H
28751 #include <math.h>
28752 #endif
28753
28754 int (*ptr)() = (int (*)())csinf128;
28755
28756 int
28757 main ()
28758 {
28759 return 0;
28760 }
28761
28762 _ACEOF
28763 if ac_fn_c_try_link "$LINENO"; then :
28764 gcc_cv_math_func_csinf128=yes
28765 else
28766 gcc_cv_math_func_csinf128=no
28767 fi
28768 rm -f core conftest.err conftest.$ac_objext \
28769 conftest$ac_exeext conftest.$ac_ext
28770 fi
28771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28772 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28773 if test $gcc_cv_math_func_csinf128 = yes; then
28774
28775 cat >>confdefs.h <<_ACEOF
28776 #define HAVE_CSINF128 1
28777 _ACEOF
28778
28779 fi
28780
28781
28782
28783
28784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28785 $as_echo_n "checking for sinhf128... " >&6; }
28786 if ${gcc_cv_math_func_sinhf128+:} false; then :
28787 $as_echo_n "(cached) " >&6
28788 else
28789 if test x$gcc_no_link = xyes; then
28790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28791 fi
28792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28793 /* end confdefs.h. */
28794
28795 #ifdef HAVE_COMPLEX_H
28796 #include <complex.h>
28797 #endif
28798 #ifdef HAVE_MATH_H
28799 #include <math.h>
28800 #endif
28801
28802 int (*ptr)() = (int (*)())sinhf128;
28803
28804 int
28805 main ()
28806 {
28807 return 0;
28808 }
28809
28810 _ACEOF
28811 if ac_fn_c_try_link "$LINENO"; then :
28812 gcc_cv_math_func_sinhf128=yes
28813 else
28814 gcc_cv_math_func_sinhf128=no
28815 fi
28816 rm -f core conftest.err conftest.$ac_objext \
28817 conftest$ac_exeext conftest.$ac_ext
28818 fi
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28820 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28821 if test $gcc_cv_math_func_sinhf128 = yes; then
28822
28823 cat >>confdefs.h <<_ACEOF
28824 #define HAVE_SINHF128 1
28825 _ACEOF
28826
28827 fi
28828
28829
28830
28831
28832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28833 $as_echo_n "checking for csinhf128... " >&6; }
28834 if ${gcc_cv_math_func_csinhf128+:} false; then :
28835 $as_echo_n "(cached) " >&6
28836 else
28837 if test x$gcc_no_link = xyes; then
28838 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28839 fi
28840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28841 /* end confdefs.h. */
28842
28843 #ifdef HAVE_COMPLEX_H
28844 #include <complex.h>
28845 #endif
28846 #ifdef HAVE_MATH_H
28847 #include <math.h>
28848 #endif
28849
28850 int (*ptr)() = (int (*)())csinhf128;
28851
28852 int
28853 main ()
28854 {
28855 return 0;
28856 }
28857
28858 _ACEOF
28859 if ac_fn_c_try_link "$LINENO"; then :
28860 gcc_cv_math_func_csinhf128=yes
28861 else
28862 gcc_cv_math_func_csinhf128=no
28863 fi
28864 rm -f core conftest.err conftest.$ac_objext \
28865 conftest$ac_exeext conftest.$ac_ext
28866 fi
28867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28868 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28869 if test $gcc_cv_math_func_csinhf128 = yes; then
28870
28871 cat >>confdefs.h <<_ACEOF
28872 #define HAVE_CSINHF128 1
28873 _ACEOF
28874
28875 fi
28876
28877
28878
28879
28880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28881 $as_echo_n "checking for sqrtf128... " >&6; }
28882 if ${gcc_cv_math_func_sqrtf128+:} false; then :
28883 $as_echo_n "(cached) " >&6
28884 else
28885 if test x$gcc_no_link = xyes; then
28886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28887 fi
28888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28889 /* end confdefs.h. */
28890
28891 #ifdef HAVE_COMPLEX_H
28892 #include <complex.h>
28893 #endif
28894 #ifdef HAVE_MATH_H
28895 #include <math.h>
28896 #endif
28897
28898 int (*ptr)() = (int (*)())sqrtf128;
28899
28900 int
28901 main ()
28902 {
28903 return 0;
28904 }
28905
28906 _ACEOF
28907 if ac_fn_c_try_link "$LINENO"; then :
28908 gcc_cv_math_func_sqrtf128=yes
28909 else
28910 gcc_cv_math_func_sqrtf128=no
28911 fi
28912 rm -f core conftest.err conftest.$ac_objext \
28913 conftest$ac_exeext conftest.$ac_ext
28914 fi
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28916 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28917 if test $gcc_cv_math_func_sqrtf128 = yes; then
28918
28919 cat >>confdefs.h <<_ACEOF
28920 #define HAVE_SQRTF128 1
28921 _ACEOF
28922
28923 fi
28924
28925
28926
28927
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28929 $as_echo_n "checking for csqrtf128... " >&6; }
28930 if ${gcc_cv_math_func_csqrtf128+:} false; then :
28931 $as_echo_n "(cached) " >&6
28932 else
28933 if test x$gcc_no_link = xyes; then
28934 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28935 fi
28936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28937 /* end confdefs.h. */
28938
28939 #ifdef HAVE_COMPLEX_H
28940 #include <complex.h>
28941 #endif
28942 #ifdef HAVE_MATH_H
28943 #include <math.h>
28944 #endif
28945
28946 int (*ptr)() = (int (*)())csqrtf128;
28947
28948 int
28949 main ()
28950 {
28951 return 0;
28952 }
28953
28954 _ACEOF
28955 if ac_fn_c_try_link "$LINENO"; then :
28956 gcc_cv_math_func_csqrtf128=yes
28957 else
28958 gcc_cv_math_func_csqrtf128=no
28959 fi
28960 rm -f core conftest.err conftest.$ac_objext \
28961 conftest$ac_exeext conftest.$ac_ext
28962 fi
28963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
28964 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
28965 if test $gcc_cv_math_func_csqrtf128 = yes; then
28966
28967 cat >>confdefs.h <<_ACEOF
28968 #define HAVE_CSQRTF128 1
28969 _ACEOF
28970
28971 fi
28972
28973
28974
28975
28976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
28977 $as_echo_n "checking for tanf128... " >&6; }
28978 if ${gcc_cv_math_func_tanf128+:} false; then :
28979 $as_echo_n "(cached) " >&6
28980 else
28981 if test x$gcc_no_link = xyes; then
28982 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28983 fi
28984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28985 /* end confdefs.h. */
28986
28987 #ifdef HAVE_COMPLEX_H
28988 #include <complex.h>
28989 #endif
28990 #ifdef HAVE_MATH_H
28991 #include <math.h>
28992 #endif
28993
28994 int (*ptr)() = (int (*)())tanf128;
28995
28996 int
28997 main ()
28998 {
28999 return 0;
29000 }
29001
29002 _ACEOF
29003 if ac_fn_c_try_link "$LINENO"; then :
29004 gcc_cv_math_func_tanf128=yes
29005 else
29006 gcc_cv_math_func_tanf128=no
29007 fi
29008 rm -f core conftest.err conftest.$ac_objext \
29009 conftest$ac_exeext conftest.$ac_ext
29010 fi
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29012 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29013 if test $gcc_cv_math_func_tanf128 = yes; then
29014
29015 cat >>confdefs.h <<_ACEOF
29016 #define HAVE_TANF128 1
29017 _ACEOF
29018
29019 fi
29020
29021
29022
29023
29024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29025 $as_echo_n "checking for ctanf128... " >&6; }
29026 if ${gcc_cv_math_func_ctanf128+:} false; then :
29027 $as_echo_n "(cached) " >&6
29028 else
29029 if test x$gcc_no_link = xyes; then
29030 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29031 fi
29032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29033 /* end confdefs.h. */
29034
29035 #ifdef HAVE_COMPLEX_H
29036 #include <complex.h>
29037 #endif
29038 #ifdef HAVE_MATH_H
29039 #include <math.h>
29040 #endif
29041
29042 int (*ptr)() = (int (*)())ctanf128;
29043
29044 int
29045 main ()
29046 {
29047 return 0;
29048 }
29049
29050 _ACEOF
29051 if ac_fn_c_try_link "$LINENO"; then :
29052 gcc_cv_math_func_ctanf128=yes
29053 else
29054 gcc_cv_math_func_ctanf128=no
29055 fi
29056 rm -f core conftest.err conftest.$ac_objext \
29057 conftest$ac_exeext conftest.$ac_ext
29058 fi
29059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29060 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29061 if test $gcc_cv_math_func_ctanf128 = yes; then
29062
29063 cat >>confdefs.h <<_ACEOF
29064 #define HAVE_CTANF128 1
29065 _ACEOF
29066
29067 fi
29068
29069
29070
29071
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29073 $as_echo_n "checking for tanhf128... " >&6; }
29074 if ${gcc_cv_math_func_tanhf128+:} false; then :
29075 $as_echo_n "(cached) " >&6
29076 else
29077 if test x$gcc_no_link = xyes; then
29078 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29079 fi
29080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29081 /* end confdefs.h. */
29082
29083 #ifdef HAVE_COMPLEX_H
29084 #include <complex.h>
29085 #endif
29086 #ifdef HAVE_MATH_H
29087 #include <math.h>
29088 #endif
29089
29090 int (*ptr)() = (int (*)())tanhf128;
29091
29092 int
29093 main ()
29094 {
29095 return 0;
29096 }
29097
29098 _ACEOF
29099 if ac_fn_c_try_link "$LINENO"; then :
29100 gcc_cv_math_func_tanhf128=yes
29101 else
29102 gcc_cv_math_func_tanhf128=no
29103 fi
29104 rm -f core conftest.err conftest.$ac_objext \
29105 conftest$ac_exeext conftest.$ac_ext
29106 fi
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29108 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29109 if test $gcc_cv_math_func_tanhf128 = yes; then
29110
29111 cat >>confdefs.h <<_ACEOF
29112 #define HAVE_TANHF128 1
29113 _ACEOF
29114
29115 fi
29116
29117
29118
29119
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29121 $as_echo_n "checking for ctanhf128... " >&6; }
29122 if ${gcc_cv_math_func_ctanhf128+:} false; then :
29123 $as_echo_n "(cached) " >&6
29124 else
29125 if test x$gcc_no_link = xyes; then
29126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29127 fi
29128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29129 /* end confdefs.h. */
29130
29131 #ifdef HAVE_COMPLEX_H
29132 #include <complex.h>
29133 #endif
29134 #ifdef HAVE_MATH_H
29135 #include <math.h>
29136 #endif
29137
29138 int (*ptr)() = (int (*)())ctanhf128;
29139
29140 int
29141 main ()
29142 {
29143 return 0;
29144 }
29145
29146 _ACEOF
29147 if ac_fn_c_try_link "$LINENO"; then :
29148 gcc_cv_math_func_ctanhf128=yes
29149 else
29150 gcc_cv_math_func_ctanhf128=no
29151 fi
29152 rm -f core conftest.err conftest.$ac_objext \
29153 conftest$ac_exeext conftest.$ac_ext
29154 fi
29155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29156 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29157 if test $gcc_cv_math_func_ctanhf128 = yes; then
29158
29159 cat >>confdefs.h <<_ACEOF
29160 #define HAVE_CTANHF128 1
29161 _ACEOF
29162
29163 fi
29164
29165
29166
29167
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29169 $as_echo_n "checking for truncf128... " >&6; }
29170 if ${gcc_cv_math_func_truncf128+:} false; then :
29171 $as_echo_n "(cached) " >&6
29172 else
29173 if test x$gcc_no_link = xyes; then
29174 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29175 fi
29176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29177 /* end confdefs.h. */
29178
29179 #ifdef HAVE_COMPLEX_H
29180 #include <complex.h>
29181 #endif
29182 #ifdef HAVE_MATH_H
29183 #include <math.h>
29184 #endif
29185
29186 int (*ptr)() = (int (*)())truncf128;
29187
29188 int
29189 main ()
29190 {
29191 return 0;
29192 }
29193
29194 _ACEOF
29195 if ac_fn_c_try_link "$LINENO"; then :
29196 gcc_cv_math_func_truncf128=yes
29197 else
29198 gcc_cv_math_func_truncf128=no
29199 fi
29200 rm -f core conftest.err conftest.$ac_objext \
29201 conftest$ac_exeext conftest.$ac_ext
29202 fi
29203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29204 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29205 if test $gcc_cv_math_func_truncf128 = yes; then
29206
29207 cat >>confdefs.h <<_ACEOF
29208 #define HAVE_TRUNCF128 1
29209 _ACEOF
29210
29211 fi
29212
29213
29214
29215
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29217 $as_echo_n "checking for erff128... " >&6; }
29218 if ${gcc_cv_math_func_erff128+:} false; then :
29219 $as_echo_n "(cached) " >&6
29220 else
29221 if test x$gcc_no_link = xyes; then
29222 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29223 fi
29224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29225 /* end confdefs.h. */
29226
29227 #ifdef HAVE_COMPLEX_H
29228 #include <complex.h>
29229 #endif
29230 #ifdef HAVE_MATH_H
29231 #include <math.h>
29232 #endif
29233
29234 int (*ptr)() = (int (*)())erff128;
29235
29236 int
29237 main ()
29238 {
29239 return 0;
29240 }
29241
29242 _ACEOF
29243 if ac_fn_c_try_link "$LINENO"; then :
29244 gcc_cv_math_func_erff128=yes
29245 else
29246 gcc_cv_math_func_erff128=no
29247 fi
29248 rm -f core conftest.err conftest.$ac_objext \
29249 conftest$ac_exeext conftest.$ac_ext
29250 fi
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29252 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29253 if test $gcc_cv_math_func_erff128 = yes; then
29254
29255 cat >>confdefs.h <<_ACEOF
29256 #define HAVE_ERFF128 1
29257 _ACEOF
29258
29259 fi
29260
29261
29262
29263
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29265 $as_echo_n "checking for erfcf128... " >&6; }
29266 if ${gcc_cv_math_func_erfcf128+:} false; then :
29267 $as_echo_n "(cached) " >&6
29268 else
29269 if test x$gcc_no_link = xyes; then
29270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29271 fi
29272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29273 /* end confdefs.h. */
29274
29275 #ifdef HAVE_COMPLEX_H
29276 #include <complex.h>
29277 #endif
29278 #ifdef HAVE_MATH_H
29279 #include <math.h>
29280 #endif
29281
29282 int (*ptr)() = (int (*)())erfcf128;
29283
29284 int
29285 main ()
29286 {
29287 return 0;
29288 }
29289
29290 _ACEOF
29291 if ac_fn_c_try_link "$LINENO"; then :
29292 gcc_cv_math_func_erfcf128=yes
29293 else
29294 gcc_cv_math_func_erfcf128=no
29295 fi
29296 rm -f core conftest.err conftest.$ac_objext \
29297 conftest$ac_exeext conftest.$ac_ext
29298 fi
29299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29300 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29301 if test $gcc_cv_math_func_erfcf128 = yes; then
29302
29303 cat >>confdefs.h <<_ACEOF
29304 #define HAVE_ERFCF128 1
29305 _ACEOF
29306
29307 fi
29308
29309
29310
29311
29312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29313 $as_echo_n "checking for j0f128... " >&6; }
29314 if ${gcc_cv_math_func_j0f128+:} false; then :
29315 $as_echo_n "(cached) " >&6
29316 else
29317 if test x$gcc_no_link = xyes; then
29318 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29319 fi
29320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29321 /* end confdefs.h. */
29322
29323 #ifdef HAVE_COMPLEX_H
29324 #include <complex.h>
29325 #endif
29326 #ifdef HAVE_MATH_H
29327 #include <math.h>
29328 #endif
29329
29330 int (*ptr)() = (int (*)())j0f128;
29331
29332 int
29333 main ()
29334 {
29335 return 0;
29336 }
29337
29338 _ACEOF
29339 if ac_fn_c_try_link "$LINENO"; then :
29340 gcc_cv_math_func_j0f128=yes
29341 else
29342 gcc_cv_math_func_j0f128=no
29343 fi
29344 rm -f core conftest.err conftest.$ac_objext \
29345 conftest$ac_exeext conftest.$ac_ext
29346 fi
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29348 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29349 if test $gcc_cv_math_func_j0f128 = yes; then
29350
29351 cat >>confdefs.h <<_ACEOF
29352 #define HAVE_J0F128 1
29353 _ACEOF
29354
29355 fi
29356
29357
29358
29359
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29361 $as_echo_n "checking for j1f128... " >&6; }
29362 if ${gcc_cv_math_func_j1f128+:} false; then :
29363 $as_echo_n "(cached) " >&6
29364 else
29365 if test x$gcc_no_link = xyes; then
29366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29367 fi
29368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29369 /* end confdefs.h. */
29370
29371 #ifdef HAVE_COMPLEX_H
29372 #include <complex.h>
29373 #endif
29374 #ifdef HAVE_MATH_H
29375 #include <math.h>
29376 #endif
29377
29378 int (*ptr)() = (int (*)())j1f128;
29379
29380 int
29381 main ()
29382 {
29383 return 0;
29384 }
29385
29386 _ACEOF
29387 if ac_fn_c_try_link "$LINENO"; then :
29388 gcc_cv_math_func_j1f128=yes
29389 else
29390 gcc_cv_math_func_j1f128=no
29391 fi
29392 rm -f core conftest.err conftest.$ac_objext \
29393 conftest$ac_exeext conftest.$ac_ext
29394 fi
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29396 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29397 if test $gcc_cv_math_func_j1f128 = yes; then
29398
29399 cat >>confdefs.h <<_ACEOF
29400 #define HAVE_J1F128 1
29401 _ACEOF
29402
29403 fi
29404
29405
29406
29407
29408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29409 $as_echo_n "checking for jnf128... " >&6; }
29410 if ${gcc_cv_math_func_jnf128+:} false; then :
29411 $as_echo_n "(cached) " >&6
29412 else
29413 if test x$gcc_no_link = xyes; then
29414 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29415 fi
29416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29417 /* end confdefs.h. */
29418
29419 #ifdef HAVE_COMPLEX_H
29420 #include <complex.h>
29421 #endif
29422 #ifdef HAVE_MATH_H
29423 #include <math.h>
29424 #endif
29425
29426 int (*ptr)() = (int (*)())jnf128;
29427
29428 int
29429 main ()
29430 {
29431 return 0;
29432 }
29433
29434 _ACEOF
29435 if ac_fn_c_try_link "$LINENO"; then :
29436 gcc_cv_math_func_jnf128=yes
29437 else
29438 gcc_cv_math_func_jnf128=no
29439 fi
29440 rm -f core conftest.err conftest.$ac_objext \
29441 conftest$ac_exeext conftest.$ac_ext
29442 fi
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29444 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29445 if test $gcc_cv_math_func_jnf128 = yes; then
29446
29447 cat >>confdefs.h <<_ACEOF
29448 #define HAVE_JNF128 1
29449 _ACEOF
29450
29451 fi
29452
29453
29454
29455
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29457 $as_echo_n "checking for y0f128... " >&6; }
29458 if ${gcc_cv_math_func_y0f128+:} false; then :
29459 $as_echo_n "(cached) " >&6
29460 else
29461 if test x$gcc_no_link = xyes; then
29462 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29463 fi
29464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29465 /* end confdefs.h. */
29466
29467 #ifdef HAVE_COMPLEX_H
29468 #include <complex.h>
29469 #endif
29470 #ifdef HAVE_MATH_H
29471 #include <math.h>
29472 #endif
29473
29474 int (*ptr)() = (int (*)())y0f128;
29475
29476 int
29477 main ()
29478 {
29479 return 0;
29480 }
29481
29482 _ACEOF
29483 if ac_fn_c_try_link "$LINENO"; then :
29484 gcc_cv_math_func_y0f128=yes
29485 else
29486 gcc_cv_math_func_y0f128=no
29487 fi
29488 rm -f core conftest.err conftest.$ac_objext \
29489 conftest$ac_exeext conftest.$ac_ext
29490 fi
29491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29492 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29493 if test $gcc_cv_math_func_y0f128 = yes; then
29494
29495 cat >>confdefs.h <<_ACEOF
29496 #define HAVE_Y0F128 1
29497 _ACEOF
29498
29499 fi
29500
29501
29502
29503
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29505 $as_echo_n "checking for y1f128... " >&6; }
29506 if ${gcc_cv_math_func_y1f128+:} false; then :
29507 $as_echo_n "(cached) " >&6
29508 else
29509 if test x$gcc_no_link = xyes; then
29510 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29511 fi
29512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29513 /* end confdefs.h. */
29514
29515 #ifdef HAVE_COMPLEX_H
29516 #include <complex.h>
29517 #endif
29518 #ifdef HAVE_MATH_H
29519 #include <math.h>
29520 #endif
29521
29522 int (*ptr)() = (int (*)())y1f128;
29523
29524 int
29525 main ()
29526 {
29527 return 0;
29528 }
29529
29530 _ACEOF
29531 if ac_fn_c_try_link "$LINENO"; then :
29532 gcc_cv_math_func_y1f128=yes
29533 else
29534 gcc_cv_math_func_y1f128=no
29535 fi
29536 rm -f core conftest.err conftest.$ac_objext \
29537 conftest$ac_exeext conftest.$ac_ext
29538 fi
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29540 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29541 if test $gcc_cv_math_func_y1f128 = yes; then
29542
29543 cat >>confdefs.h <<_ACEOF
29544 #define HAVE_Y1F128 1
29545 _ACEOF
29546
29547 fi
29548
29549
29550
29551
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29553 $as_echo_n "checking for ynf128... " >&6; }
29554 if ${gcc_cv_math_func_ynf128+:} false; then :
29555 $as_echo_n "(cached) " >&6
29556 else
29557 if test x$gcc_no_link = xyes; then
29558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29559 fi
29560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29561 /* end confdefs.h. */
29562
29563 #ifdef HAVE_COMPLEX_H
29564 #include <complex.h>
29565 #endif
29566 #ifdef HAVE_MATH_H
29567 #include <math.h>
29568 #endif
29569
29570 int (*ptr)() = (int (*)())ynf128;
29571
29572 int
29573 main ()
29574 {
29575 return 0;
29576 }
29577
29578 _ACEOF
29579 if ac_fn_c_try_link "$LINENO"; then :
29580 gcc_cv_math_func_ynf128=yes
29581 else
29582 gcc_cv_math_func_ynf128=no
29583 fi
29584 rm -f core conftest.err conftest.$ac_objext \
29585 conftest$ac_exeext conftest.$ac_ext
29586 fi
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29588 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29589 if test $gcc_cv_math_func_ynf128 = yes; then
29590
29591 cat >>confdefs.h <<_ACEOF
29592 #define HAVE_YNF128 1
29593 _ACEOF
29594
29595 fi
29596
29597
29598
29599
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29601 $as_echo_n "checking for tgammaf128... " >&6; }
29602 if ${gcc_cv_math_func_tgammaf128+:} false; then :
29603 $as_echo_n "(cached) " >&6
29604 else
29605 if test x$gcc_no_link = xyes; then
29606 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29607 fi
29608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h. */
29610
29611 #ifdef HAVE_COMPLEX_H
29612 #include <complex.h>
29613 #endif
29614 #ifdef HAVE_MATH_H
29615 #include <math.h>
29616 #endif
29617
29618 int (*ptr)() = (int (*)())tgammaf128;
29619
29620 int
29621 main ()
29622 {
29623 return 0;
29624 }
29625
29626 _ACEOF
29627 if ac_fn_c_try_link "$LINENO"; then :
29628 gcc_cv_math_func_tgammaf128=yes
29629 else
29630 gcc_cv_math_func_tgammaf128=no
29631 fi
29632 rm -f core conftest.err conftest.$ac_objext \
29633 conftest$ac_exeext conftest.$ac_ext
29634 fi
29635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29636 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29637 if test $gcc_cv_math_func_tgammaf128 = yes; then
29638
29639 cat >>confdefs.h <<_ACEOF
29640 #define HAVE_TGAMMAF128 1
29641 _ACEOF
29642
29643 fi
29644
29645
29646
29647
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29649 $as_echo_n "checking for lgammaf128... " >&6; }
29650 if ${gcc_cv_math_func_lgammaf128+:} false; then :
29651 $as_echo_n "(cached) " >&6
29652 else
29653 if test x$gcc_no_link = xyes; then
29654 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29655 fi
29656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29657 /* end confdefs.h. */
29658
29659 #ifdef HAVE_COMPLEX_H
29660 #include <complex.h>
29661 #endif
29662 #ifdef HAVE_MATH_H
29663 #include <math.h>
29664 #endif
29665
29666 int (*ptr)() = (int (*)())lgammaf128;
29667
29668 int
29669 main ()
29670 {
29671 return 0;
29672 }
29673
29674 _ACEOF
29675 if ac_fn_c_try_link "$LINENO"; then :
29676 gcc_cv_math_func_lgammaf128=yes
29677 else
29678 gcc_cv_math_func_lgammaf128=no
29679 fi
29680 rm -f core conftest.err conftest.$ac_objext \
29681 conftest$ac_exeext conftest.$ac_ext
29682 fi
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29684 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29685 if test $gcc_cv_math_func_lgammaf128 = yes; then
29686
29687 cat >>confdefs.h <<_ACEOF
29688 #define HAVE_LGAMMAF128 1
29689 _ACEOF
29690
29691 fi
29692
29693
29694
29695
29696
29697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29698 $as_echo_n "checking for cacosf128... " >&6; }
29699 if ${gcc_cv_math_func_cacosf128+:} false; then :
29700 $as_echo_n "(cached) " >&6
29701 else
29702 if test x$gcc_no_link = xyes; then
29703 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29704 fi
29705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29706 /* end confdefs.h. */
29707
29708 #ifdef HAVE_COMPLEX_H
29709 #include <complex.h>
29710 #endif
29711 #ifdef HAVE_MATH_H
29712 #include <math.h>
29713 #endif
29714
29715 int (*ptr)() = (int (*)())cacosf128;
29716
29717 int
29718 main ()
29719 {
29720 return 0;
29721 }
29722
29723 _ACEOF
29724 if ac_fn_c_try_link "$LINENO"; then :
29725 gcc_cv_math_func_cacosf128=yes
29726 else
29727 gcc_cv_math_func_cacosf128=no
29728 fi
29729 rm -f core conftest.err conftest.$ac_objext \
29730 conftest$ac_exeext conftest.$ac_ext
29731 fi
29732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29733 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29734 if test $gcc_cv_math_func_cacosf128 = yes; then
29735
29736 cat >>confdefs.h <<_ACEOF
29737 #define HAVE_CACOSF128 1
29738 _ACEOF
29739
29740 fi
29741
29742
29743
29744
29745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29746 $as_echo_n "checking for cacoshf128... " >&6; }
29747 if ${gcc_cv_math_func_cacoshf128+:} false; then :
29748 $as_echo_n "(cached) " >&6
29749 else
29750 if test x$gcc_no_link = xyes; then
29751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29752 fi
29753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29754 /* end confdefs.h. */
29755
29756 #ifdef HAVE_COMPLEX_H
29757 #include <complex.h>
29758 #endif
29759 #ifdef HAVE_MATH_H
29760 #include <math.h>
29761 #endif
29762
29763 int (*ptr)() = (int (*)())cacoshf128;
29764
29765 int
29766 main ()
29767 {
29768 return 0;
29769 }
29770
29771 _ACEOF
29772 if ac_fn_c_try_link "$LINENO"; then :
29773 gcc_cv_math_func_cacoshf128=yes
29774 else
29775 gcc_cv_math_func_cacoshf128=no
29776 fi
29777 rm -f core conftest.err conftest.$ac_objext \
29778 conftest$ac_exeext conftest.$ac_ext
29779 fi
29780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29781 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29782 if test $gcc_cv_math_func_cacoshf128 = yes; then
29783
29784 cat >>confdefs.h <<_ACEOF
29785 #define HAVE_CACOSHF128 1
29786 _ACEOF
29787
29788 fi
29789
29790
29791
29792
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29794 $as_echo_n "checking for casinf128... " >&6; }
29795 if ${gcc_cv_math_func_casinf128+:} false; then :
29796 $as_echo_n "(cached) " >&6
29797 else
29798 if test x$gcc_no_link = xyes; then
29799 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29800 fi
29801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29802 /* end confdefs.h. */
29803
29804 #ifdef HAVE_COMPLEX_H
29805 #include <complex.h>
29806 #endif
29807 #ifdef HAVE_MATH_H
29808 #include <math.h>
29809 #endif
29810
29811 int (*ptr)() = (int (*)())casinf128;
29812
29813 int
29814 main ()
29815 {
29816 return 0;
29817 }
29818
29819 _ACEOF
29820 if ac_fn_c_try_link "$LINENO"; then :
29821 gcc_cv_math_func_casinf128=yes
29822 else
29823 gcc_cv_math_func_casinf128=no
29824 fi
29825 rm -f core conftest.err conftest.$ac_objext \
29826 conftest$ac_exeext conftest.$ac_ext
29827 fi
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29829 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29830 if test $gcc_cv_math_func_casinf128 = yes; then
29831
29832 cat >>confdefs.h <<_ACEOF
29833 #define HAVE_CASINF128 1
29834 _ACEOF
29835
29836 fi
29837
29838
29839
29840
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29842 $as_echo_n "checking for casinhf128... " >&6; }
29843 if ${gcc_cv_math_func_casinhf128+:} false; then :
29844 $as_echo_n "(cached) " >&6
29845 else
29846 if test x$gcc_no_link = xyes; then
29847 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29848 fi
29849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29850 /* end confdefs.h. */
29851
29852 #ifdef HAVE_COMPLEX_H
29853 #include <complex.h>
29854 #endif
29855 #ifdef HAVE_MATH_H
29856 #include <math.h>
29857 #endif
29858
29859 int (*ptr)() = (int (*)())casinhf128;
29860
29861 int
29862 main ()
29863 {
29864 return 0;
29865 }
29866
29867 _ACEOF
29868 if ac_fn_c_try_link "$LINENO"; then :
29869 gcc_cv_math_func_casinhf128=yes
29870 else
29871 gcc_cv_math_func_casinhf128=no
29872 fi
29873 rm -f core conftest.err conftest.$ac_objext \
29874 conftest$ac_exeext conftest.$ac_ext
29875 fi
29876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29877 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29878 if test $gcc_cv_math_func_casinhf128 = yes; then
29879
29880 cat >>confdefs.h <<_ACEOF
29881 #define HAVE_CASINHF128 1
29882 _ACEOF
29883
29884 fi
29885
29886
29887
29888
29889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29890 $as_echo_n "checking for catanf128... " >&6; }
29891 if ${gcc_cv_math_func_catanf128+:} false; then :
29892 $as_echo_n "(cached) " >&6
29893 else
29894 if test x$gcc_no_link = xyes; then
29895 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29896 fi
29897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29898 /* end confdefs.h. */
29899
29900 #ifdef HAVE_COMPLEX_H
29901 #include <complex.h>
29902 #endif
29903 #ifdef HAVE_MATH_H
29904 #include <math.h>
29905 #endif
29906
29907 int (*ptr)() = (int (*)())catanf128;
29908
29909 int
29910 main ()
29911 {
29912 return 0;
29913 }
29914
29915 _ACEOF
29916 if ac_fn_c_try_link "$LINENO"; then :
29917 gcc_cv_math_func_catanf128=yes
29918 else
29919 gcc_cv_math_func_catanf128=no
29920 fi
29921 rm -f core conftest.err conftest.$ac_objext \
29922 conftest$ac_exeext conftest.$ac_ext
29923 fi
29924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29925 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29926 if test $gcc_cv_math_func_catanf128 = yes; then
29927
29928 cat >>confdefs.h <<_ACEOF
29929 #define HAVE_CATANF128 1
29930 _ACEOF
29931
29932 fi
29933
29934
29935
29936
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29938 $as_echo_n "checking for catanhf128... " >&6; }
29939 if ${gcc_cv_math_func_catanhf128+:} false; then :
29940 $as_echo_n "(cached) " >&6
29941 else
29942 if test x$gcc_no_link = xyes; then
29943 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29944 fi
29945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29946 /* end confdefs.h. */
29947
29948 #ifdef HAVE_COMPLEX_H
29949 #include <complex.h>
29950 #endif
29951 #ifdef HAVE_MATH_H
29952 #include <math.h>
29953 #endif
29954
29955 int (*ptr)() = (int (*)())catanhf128;
29956
29957 int
29958 main ()
29959 {
29960 return 0;
29961 }
29962
29963 _ACEOF
29964 if ac_fn_c_try_link "$LINENO"; then :
29965 gcc_cv_math_func_catanhf128=yes
29966 else
29967 gcc_cv_math_func_catanhf128=no
29968 fi
29969 rm -f core conftest.err conftest.$ac_objext \
29970 conftest$ac_exeext conftest.$ac_ext
29971 fi
29972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
29973 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
29974 if test $gcc_cv_math_func_catanhf128 = yes; then
29975
29976 cat >>confdefs.h <<_ACEOF
29977 #define HAVE_CATANHF128 1
29978 _ACEOF
29979
29980 fi
29981
29982
29983 # Check whether the system has a working stat()
29984
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
29986 $as_echo_n "checking whether the target stat is reliable... " >&6; }
29987 if ${libgfor_cv_have_working_stat+:} false; then :
29988 $as_echo_n "(cached) " >&6
29989 else
29990
29991 if test "$cross_compiling" = yes; then :
29992
29993 case "${target}" in
29994 *mingw*) libgfor_cv_have_working_stat=no ;;
29995 *) libgfor_cv_have_working_stat=yes;;
29996 esac
29997 else
29998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29999 /* end confdefs.h. */
30000
30001 #include <stdio.h>
30002 #include <sys/types.h>
30003 #include <sys/stat.h>
30004 #include <unistd.h>
30005
30006 int main ()
30007 {
30008 FILE *f, *g;
30009 struct stat st1, st2;
30010
30011 f = fopen ("foo", "w");
30012 g = fopen ("bar", "w");
30013 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30014 return 1;
30015 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30016 return 1;
30017 fclose(f);
30018 fclose(g);
30019 return 0;
30020 }
30021 _ACEOF
30022 if ac_fn_c_try_run "$LINENO"; then :
30023 libgfor_cv_have_working_stat=yes
30024 else
30025 libgfor_cv_have_working_stat=no
30026 fi
30027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30028 conftest.$ac_objext conftest.beam conftest.$ac_ext
30029 fi
30030
30031 fi
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30033 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30034 if test x"$libgfor_cv_have_working_stat" = xyes; then
30035
30036 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30037
30038 fi
30039
30040 # Check whether __mingw_snprintf() is present
30041
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30043 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30044 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
30045 $as_echo_n "(cached) " >&6
30046 else
30047
30048 if test x$gcc_no_link = xyes; then
30049 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30050 fi
30051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30052 /* end confdefs.h. */
30053
30054 #include <stdio.h>
30055 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30056
30057 int
30058 main ()
30059 {
30060
30061 __mingw_snprintf (NULL, 0, "%d\n", 1);
30062
30063 ;
30064 return 0;
30065 }
30066 _ACEOF
30067 if ac_fn_c_try_link "$LINENO"; then :
30068 eval "libgfor_cv_have_mingw_snprintf=yes"
30069 else
30070 eval "libgfor_cv_have_mingw_snprintf=no"
30071 fi
30072 rm -f core conftest.err conftest.$ac_objext \
30073 conftest$ac_exeext conftest.$ac_ext
30074
30075 fi
30076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30077 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30078 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
30079
30080 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30081
30082 fi
30083
30084
30085 have_iec_60559_libc_support=no
30086 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30087 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes; then
30088 have_iec_60559_libc_support=yes
30089 fi
30090
30091 # Check whether libquadmath should be used
30092 # Check whether --enable-libquadmath-support was given.
30093 if test "${enable_libquadmath_support+set}" = set; then :
30094 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
30095 else
30096 if test "x$have_iec_60559_libc_support" = xyes; then
30097 ENABLE_LIBQUADMATH_SUPPORT=default
30098 else
30099 ENABLE_LIBQUADMATH_SUPPORT=yes
30100 fi
30101 fi
30102
30103 enable_libquadmath_support=
30104 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30105 enable_libquadmath_support=no
30106 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30107 enable_libquadmath_support=default
30108 fi
30109
30110 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30111 # and have_iec_60559_libc_support.
30112
30113 LIBQUADSPEC=
30114 LIBQUADLIB=
30115 LIBQUADLIB_DEP=
30116 LIBQUADINCLUDE=
30117 USE_IEC_60559=no
30118
30119 if test "x$enable_libquadmath_support" != xno; then
30120
30121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30122 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30123 if ${libgfor_cv_have_float128+:} false; then :
30124 $as_echo_n "(cached) " >&6
30125 else
30126
30127 if test x$gcc_no_link = xyes; then
30128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30129 /* end confdefs.h. */
30130
30131 _Float128 foo (_Float128 x)
30132 {
30133
30134 _Complex _Float128 z1, z2;
30135
30136 z1 = x;
30137 z2 = x / 7.F128;
30138 z2 /= z1;
30139
30140 return (_Float128) z2;
30141 }
30142
30143 _Float128 bar (_Float128 x)
30144 {
30145 return x * __builtin_huge_valf128 ();
30146 }
30147
30148 int
30149 main ()
30150 {
30151
30152 foo (1.2F128);
30153 bar (1.2F128);
30154 foo (1.2Q);
30155 bar (1.2Q);
30156
30157 ;
30158 return 0;
30159 }
30160 _ACEOF
30161 if ac_fn_c_try_compile "$LINENO"; then :
30162
30163 libgfor_cv_have_float128=yes
30164
30165 else
30166
30167 libgfor_cv_have_float128=no
30168
30169 fi
30170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30171 else
30172 if test x$gcc_no_link = xyes; then
30173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30174 fi
30175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30176 /* end confdefs.h. */
30177
30178 _Float128 foo (_Float128 x)
30179 {
30180
30181 _Complex _Float128 z1, z2;
30182
30183 z1 = x;
30184 z2 = x / 7.F128;
30185 z2 /= z1;
30186
30187 return (_Float128) z2;
30188 }
30189
30190 _Float128 bar (_Float128 x)
30191 {
30192 return x * __builtin_huge_valf128 ();
30193 }
30194
30195 int
30196 main ()
30197 {
30198
30199 foo (1.2F128);
30200 bar (1.2F128);
30201 foo (1.2Q);
30202 bar (1.2Q);
30203
30204 ;
30205 return 0;
30206 }
30207 _ACEOF
30208 if ac_fn_c_try_link "$LINENO"; then :
30209
30210 libgfor_cv_have_float128=yes
30211
30212 else
30213
30214 libgfor_cv_have_float128=no
30215
30216 fi
30217 rm -f core conftest.err conftest.$ac_objext \
30218 conftest$ac_exeext conftest.$ac_ext
30219 fi
30220 fi
30221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30222 $as_echo "$libgfor_cv_have_float128" >&6; }
30223
30224 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes; then
30225 USE_IEC_60559=yes
30226 fi
30227
30228
30229 if test "x$libgfor_cv_have_float128" = xyes; then
30230 if test "x$USE_IEC_60559" = xyes; then
30231
30232 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30233
30234 fi
30235
30236 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30237
30238
30239 ac_xsave_c_werror_flag=$ac_c_werror_flag
30240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30241 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30242 if ${libgfor_cv_have_as_needed+:} false; then :
30243 $as_echo_n "(cached) " >&6
30244 else
30245
30246 # Test for native Solaris options first.
30247 # No whitespace after -z to pass it through -Wl.
30248 libgfor_cv_as_needed_option="-zignore"
30249 libgfor_cv_no_as_needed_option="-zrecord"
30250 save_LDFLAGS="$LDFLAGS"
30251 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30252 libgfor_cv_have_as_needed=no
30253
30254 ac_c_werror_flag=yes
30255 if test x$gcc_no_link = xyes; then
30256 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30257 fi
30258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30259 /* end confdefs.h. */
30260
30261 int
30262 main ()
30263 {
30264
30265 ;
30266 return 0;
30267 }
30268 _ACEOF
30269 if ac_fn_c_try_link "$LINENO"; then :
30270 libgfor_cv_have_as_needed=yes
30271 else
30272 libgfor_cv_have_as_needed=no
30273 fi
30274 rm -f core conftest.err conftest.$ac_objext \
30275 conftest$ac_exeext conftest.$ac_ext
30276 LDFLAGS="$save_LDFLAGS"
30277 if test "x$libgfor_cv_have_as_needed" = xno; then
30278 libgfor_cv_as_needed_option="--as-needed"
30279 libgfor_cv_no_as_needed_option="--no-as-needed"
30280 save_LDFLAGS="$LDFLAGS"
30281 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30282 libgfor_cv_have_as_needed=no
30283
30284 ac_c_werror_flag=yes
30285 if test x$gcc_no_link = xyes; then
30286 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30287 fi
30288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h. */
30290
30291 int
30292 main ()
30293 {
30294
30295 ;
30296 return 0;
30297 }
30298 _ACEOF
30299 if ac_fn_c_try_link "$LINENO"; then :
30300 libgfor_cv_have_as_needed=yes
30301 else
30302 libgfor_cv_have_as_needed=no
30303 fi
30304 rm -f core conftest.err conftest.$ac_objext \
30305 conftest$ac_exeext conftest.$ac_ext
30306 LDFLAGS="$save_LDFLAGS"
30307 fi
30308 ac_c_werror_flag=$ac_xsave_c_werror_flag
30309
30310 fi
30311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30312 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30313
30314 if test "x$libgfor_cv_have_as_needed" = xyes; then
30315 if test "x$USE_IEC_60559" = xyes; then
30316 LIBQUADSPEC="$libgfor_cv_as_needed_option -lquadmath $libgfor_cv_no_as_needed_option"
30317 else
30318 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30319 fi
30320 else
30321 LIBQUADSPEC="-lquadmath"
30322 fi
30323 if test "x$USE_IEC_60559" != xyes; then
30324 if test -f ../libquadmath/libquadmath.la; then
30325 LIBQUADLIB=../libquadmath/libquadmath.la
30326 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
30327 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
30328 else
30329 LIBQUADLIB="-lquadmath"
30330 fi
30331 fi
30332 else
30333 USE_IEC_60559=no
30334 fi
30335 fi
30336
30337
30338
30339
30340
30341
30342
30343
30344 # Check for GNU libc feenableexcept
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30346 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30347 if ${ac_cv_lib_m_feenableexcept+:} false; then :
30348 $as_echo_n "(cached) " >&6
30349 else
30350 ac_check_lib_save_LIBS=$LIBS
30351 LIBS="-lm $LIBS"
30352 if test x$gcc_no_link = xyes; then
30353 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30354 fi
30355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30356 /* end confdefs.h. */
30357
30358 /* Override any GCC internal prototype to avoid an error.
30359 Use char because int might match the return type of a GCC
30360 builtin and then its argument prototype would still apply. */
30361 #ifdef __cplusplus
30362 extern "C"
30363 #endif
30364 char feenableexcept ();
30365 int
30366 main ()
30367 {
30368 return feenableexcept ();
30369 ;
30370 return 0;
30371 }
30372 _ACEOF
30373 if ac_fn_c_try_link "$LINENO"; then :
30374 ac_cv_lib_m_feenableexcept=yes
30375 else
30376 ac_cv_lib_m_feenableexcept=no
30377 fi
30378 rm -f core conftest.err conftest.$ac_objext \
30379 conftest$ac_exeext conftest.$ac_ext
30380 LIBS=$ac_check_lib_save_LIBS
30381 fi
30382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30383 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30384 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
30385 have_feenableexcept=yes
30386 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30387
30388 fi
30389
30390
30391 # At least for glibc, clock_gettime is in librt. But don't
30392 # pull that in if it still doesn't give us the function we want. This
30393 # test is copied from libgomp, and modified to not link in -lrt as
30394 # libgfortran calls clock_gettime via a weak reference if it's found
30395 # in librt.
30396 if test "$ac_cv_func_clock_gettime" = no; then
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30398 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30399 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
30400 $as_echo_n "(cached) " >&6
30401 else
30402 ac_check_lib_save_LIBS=$LIBS
30403 LIBS="-lrt $LIBS"
30404 if test x$gcc_no_link = xyes; then
30405 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30406 fi
30407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30408 /* end confdefs.h. */
30409
30410 /* Override any GCC internal prototype to avoid an error.
30411 Use char because int might match the return type of a GCC
30412 builtin and then its argument prototype would still apply. */
30413 #ifdef __cplusplus
30414 extern "C"
30415 #endif
30416 char clock_gettime ();
30417 int
30418 main ()
30419 {
30420 return clock_gettime ();
30421 ;
30422 return 0;
30423 }
30424 _ACEOF
30425 if ac_fn_c_try_link "$LINENO"; then :
30426 ac_cv_lib_rt_clock_gettime=yes
30427 else
30428 ac_cv_lib_rt_clock_gettime=no
30429 fi
30430 rm -f core conftest.err conftest.$ac_objext \
30431 conftest$ac_exeext conftest.$ac_ext
30432 LIBS=$ac_check_lib_save_LIBS
30433 fi
30434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30435 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30436 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
30437
30438 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30439
30440 fi
30441
30442 fi
30443
30444 # Check for SysV fpsetmask
30445
30446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30447 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30448 if ${libgfor_cv_have_fpsetmask+:} false; then :
30449 $as_echo_n "(cached) " >&6
30450 else
30451
30452 if test x$gcc_no_link = xyes; then
30453 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30454 fi
30455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30456 /* end confdefs.h. */
30457
30458 #if HAVE_FLOATINGPOINT_H
30459 # include <floatingpoint.h>
30460 #endif /* HAVE_FLOATINGPOINT_H */
30461 #if HAVE_IEEEFP_H
30462 # include <ieeefp.h>
30463 #endif /* HAVE_IEEEFP_H */
30464 int
30465 main ()
30466 {
30467 fpsetmask(0);
30468 ;
30469 return 0;
30470 }
30471 _ACEOF
30472 if ac_fn_c_try_link "$LINENO"; then :
30473 eval "libgfor_cv_have_fpsetmask=yes"
30474 else
30475 eval "libgfor_cv_have_fpsetmask=no"
30476 fi
30477 rm -f core conftest.err conftest.$ac_objext \
30478 conftest$ac_exeext conftest.$ac_ext
30479
30480 fi
30481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30482 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30483 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
30484 have_fpsetmask=yes
30485
30486 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30487
30488 fi
30489
30490 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
30491 #ifdef HAVE_IEEEFP_H
30492 #include <ieeefp.h>
30493 #endif
30494 #include <math.h>
30495
30496 "
30497 if test "x$ac_cv_type_fp_except" = xyes; then :
30498
30499 cat >>confdefs.h <<_ACEOF
30500 #define HAVE_FP_EXCEPT 1
30501 _ACEOF
30502
30503
30504 fi
30505 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30506 #ifdef HAVE_IEEEFP_H
30507 #include <ieeefp.h>
30508 #endif
30509 #include <math.h>
30510
30511 "
30512 if test "x$ac_cv_type_fp_except_t" = xyes; then :
30513
30514 cat >>confdefs.h <<_ACEOF
30515 #define HAVE_FP_EXCEPT_T 1
30516 _ACEOF
30517
30518
30519 fi
30520
30521 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30522 #ifdef HAVE_IEEEFP_H
30523 #include <ieeefp.h>
30524 #endif
30525 #include <math.h>
30526
30527 "
30528 if test "x$ac_cv_type_fp_rnd" = xyes; then :
30529
30530 cat >>confdefs.h <<_ACEOF
30531 #define HAVE_FP_RND 1
30532 _ACEOF
30533
30534
30535 fi
30536 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30537 #ifdef HAVE_IEEEFP_H
30538 #include <ieeefp.h>
30539 #endif
30540 #include <math.h>
30541
30542 "
30543 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
30544
30545 cat >>confdefs.h <<_ACEOF
30546 #define HAVE_FP_RND_T 1
30547 _ACEOF
30548
30549
30550 fi
30551
30552
30553 # Check whether we have fpsetsticky or fpresetsticky
30554 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30555 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
30556 have_fpsetsticky=yes
30557 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30558
30559 fi
30560
30561 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30562 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
30563 have_fpresetsticky=yes
30564 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30565
30566 fi
30567
30568
30569 # Check for AIX fp_trap and fp_enable
30570 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30571 if test "x$ac_cv_func_fp_trap" = xyes; then :
30572 have_fp_trap=yes
30573 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30574
30575 fi
30576
30577 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30578 if test "x$ac_cv_func_fp_enable" = xyes; then :
30579 have_fp_enable=yes
30580 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30581
30582 fi
30583
30584
30585 # Check if _SOFT_FLOAT is defined
30586
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30588 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30589 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
30590 $as_echo_n "(cached) " >&6
30591 else
30592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30593 /* end confdefs.h. */
30594
30595 int
30596 main ()
30597 {
30598
30599 #ifdef _SOFT_FLOAT
30600 int ok;
30601 #else
30602 choke me
30603 #endif
30604
30605 ;
30606 return 0;
30607 }
30608 _ACEOF
30609 if ac_fn_c_try_compile "$LINENO"; then :
30610 ac_cv_defined__SOFT_FLOAT=yes
30611 else
30612 ac_cv_defined__SOFT_FLOAT=no
30613 fi
30614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30615 fi
30616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30617 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30618 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30619 have_soft_float=yes
30620 fi
30621
30622 # Runs configure.host to set up necessary host-dependent shell variables.
30623 # We then display a message about it, and propagate them through the
30624 # build chain.
30625 . ${srcdir}/configure.host
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30627 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30628 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30629 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30630 FPU_HOST_HEADER=config/${fpu_host}.h
30631
30632
30633 # Whether we will build the IEEE modules
30634 if test x${ieee_support} = xyes; then
30635 IEEE_SUPPORT_TRUE=
30636 IEEE_SUPPORT_FALSE='#'
30637 else
30638 IEEE_SUPPORT_TRUE='#'
30639 IEEE_SUPPORT_FALSE=
30640 fi
30641
30642
30643
30644 # Some targets require additional compiler options for IEEE compatibility.
30645 IEEE_FLAGS="${ieee_flags}"
30646
30647
30648 # Conditionalize the makefile for this target machine.
30649 tmake_file_=
30650 for f in ${tmake_file}
30651 do
30652 if test -f ${srcdir}/config/$f
30653 then
30654 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
30655 fi
30656 done
30657 tmake_file="${tmake_file_}"
30658
30659
30660
30661 # Check for POSIX getpwuid_r
30662 #
30663 # There are two versions of getpwuid_r, the POSIX one with 5
30664 # arguments, and another one with 4 arguments used by at least HP-UX
30665 # 10.2.
30666 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30668 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30669 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
30670 $as_echo_n "(cached) " >&6
30671 else
30672
30673 if test x$gcc_no_link = xyes; then
30674 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30675 fi
30676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30677 /* end confdefs.h. */
30678
30679 #include <stdio.h>
30680 #include <sys/types.h>
30681 #include <pwd.h>
30682 int
30683 main ()
30684 {
30685
30686 getpwuid_r(0, NULL, NULL, 0, NULL);
30687
30688 ;
30689 return 0;
30690 }
30691 _ACEOF
30692 if ac_fn_c_try_link "$LINENO"; then :
30693 libgfor_cv_posix_getpwuid_r="yes"
30694 else
30695 libgfor_cv_posix_getpwuid_r="no"
30696 fi
30697 rm -f core conftest.err conftest.$ac_objext \
30698 conftest$ac_exeext conftest.$ac_ext
30699 fi
30700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30701 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30702 fi
30703 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30704
30705 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30706
30707 fi
30708
30709
30710 # Check out attribute support.
30711
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30713 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30714 if ${libgfor_cv_have_attribute_visibility+:} false; then :
30715 $as_echo_n "(cached) " >&6
30716 else
30717
30718 save_CFLAGS="$CFLAGS"
30719 CFLAGS="$CFLAGS -Werror"
30720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30721 /* end confdefs.h. */
30722 void __attribute__((visibility("hidden"))) foo(void) { }
30723 int
30724 main ()
30725 {
30726
30727 ;
30728 return 0;
30729 }
30730 _ACEOF
30731 if ac_fn_c_try_compile "$LINENO"; then :
30732 libgfor_cv_have_attribute_visibility=yes
30733 else
30734 libgfor_cv_have_attribute_visibility=no
30735 fi
30736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30737 CFLAGS="$save_CFLAGS"
30738 fi
30739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30740 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30741 if test $libgfor_cv_have_attribute_visibility = yes; then
30742
30743 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30744
30745 fi
30746
30747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30748 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30749 if ${libgfor_cv_have_attribute_alias+:} false; then :
30750 $as_echo_n "(cached) " >&6
30751 else
30752
30753 if test x$gcc_no_link = xyes; then
30754 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30755 fi
30756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30757 /* end confdefs.h. */
30758
30759 void foo(void) { }
30760 extern void bar(void) __attribute__((alias("foo")));
30761 int
30762 main ()
30763 {
30764 bar();
30765 ;
30766 return 0;
30767 }
30768 _ACEOF
30769 if ac_fn_c_try_link "$LINENO"; then :
30770 libgfor_cv_have_attribute_alias=yes
30771 else
30772 libgfor_cv_have_attribute_alias=no
30773 fi
30774 rm -f core conftest.err conftest.$ac_objext \
30775 conftest$ac_exeext conftest.$ac_ext
30776 fi
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30778 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30779 if test $libgfor_cv_have_attribute_alias = yes; then
30780
30781 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30782
30783 fi
30784
30785 # Check out atomic builtins support.
30786
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30788 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30789 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
30790 $as_echo_n "(cached) " >&6
30791 else
30792
30793 if test x$gcc_no_link = xyes; then
30794 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30795 fi
30796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30797 /* end confdefs.h. */
30798 int foovar = 0;
30799 int
30800 main ()
30801 {
30802
30803 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30804 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30805 ;
30806 return 0;
30807 }
30808 _ACEOF
30809 if ac_fn_c_try_link "$LINENO"; then :
30810 libgfor_cv_have_atomic_fetch_add=yes
30811 else
30812 libgfor_cv_have_atomic_fetch_add=no
30813 fi
30814 rm -f core conftest.err conftest.$ac_objext \
30815 conftest$ac_exeext conftest.$ac_ext
30816 fi
30817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30818 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30819 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30820
30821 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30822
30823 fi
30824
30825 # Check out #pragma weak.
30826
30827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30828 $as_echo_n "checking whether pragma weak works... " >&6; }
30829 if ${libgfor_cv_have_pragma_weak+:} false; then :
30830 $as_echo_n "(cached) " >&6
30831 else
30832
30833 gfor_save_CFLAGS="$CFLAGS"
30834 CFLAGS="$CFLAGS -Wunknown-pragmas"
30835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30836 /* end confdefs.h. */
30837
30838 void foo (void);
30839 #pragma weak foo
30840
30841 int
30842 main ()
30843 {
30844 if (foo) foo ();
30845 ;
30846 return 0;
30847 }
30848 _ACEOF
30849 if ac_fn_c_try_compile "$LINENO"; then :
30850 libgfor_cv_have_pragma_weak=yes
30851 else
30852 libgfor_cv_have_pragma_weak=no
30853 fi
30854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30855 fi
30856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30857 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30858 if test $libgfor_cv_have_pragma_weak = yes; then
30859
30860 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30861
30862 fi
30863 case "$host" in
30864 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
30865
30866 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30867
30868 ;;
30869 esac
30870
30871 # Check out weakref support.
30872
30873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30874 $as_echo_n "checking whether the target supports weakref... " >&6; }
30875 if ${libgfor_cv_have_weakref+:} false; then :
30876 $as_echo_n "(cached) " >&6
30877 else
30878
30879 save_CFLAGS="$CFLAGS"
30880 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
30881 if test x$gcc_no_link = xyes; then
30882 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30883 fi
30884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30885 /* end confdefs.h. */
30886
30887 static int mytoto (int) __attribute__((__weakref__("toto")));
30888
30889 int
30890 main ()
30891 {
30892 return (mytoto != 0);
30893 ;
30894 return 0;
30895 }
30896 _ACEOF
30897 if ac_fn_c_try_link "$LINENO"; then :
30898 libgfor_cv_have_weakref=yes
30899 else
30900 libgfor_cv_have_weakref=no
30901 fi
30902 rm -f core conftest.err conftest.$ac_objext \
30903 conftest$ac_exeext conftest.$ac_ext
30904 CFLAGS="$save_CFLAGS"
30905 fi
30906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30907 $as_echo "$libgfor_cv_have_weakref" >&6; }
30908 if test $libgfor_cv_have_weakref = yes; then
30909
30910 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30911
30912 fi
30913
30914 # Various other checks on target
30915
30916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
30917 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
30918 if ${libgfor_cv_have_unlink_open_file+:} false; then :
30919 $as_echo_n "(cached) " >&6
30920 else
30921
30922 if test "$cross_compiling" = yes; then :
30923
30924 case "${target}" in
30925 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
30926 *) libgfor_cv_have_unlink_open_file=yes;;
30927 esac
30928 else
30929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30930 /* end confdefs.h. */
30931
30932 #include <errno.h>
30933 #include <fcntl.h>
30934 #include <unistd.h>
30935 #include <sys/stat.h>
30936
30937 int main ()
30938 {
30939 int fd;
30940
30941 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
30942 if (fd <= 0)
30943 return 0;
30944 if (unlink ("testfile") == -1)
30945 return 1;
30946 write (fd, "This is a test\n", 15);
30947 close (fd);
30948
30949 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
30950 return 0;
30951 else
30952 return 1;
30953 }
30954 _ACEOF
30955 if ac_fn_c_try_run "$LINENO"; then :
30956 libgfor_cv_have_unlink_open_file=yes
30957 else
30958 libgfor_cv_have_unlink_open_file=no
30959 fi
30960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30961 conftest.$ac_objext conftest.beam conftest.$ac_ext
30962 fi
30963
30964 fi
30965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
30966 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
30967 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
30968
30969 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
30970
30971 fi
30972
30973 # Check whether line terminator is LF or CRLF
30974
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
30976 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
30977 if ${libgfor_cv_have_crlf+:} false; then :
30978 $as_echo_n "(cached) " >&6
30979 else
30980
30981 if test "$cross_compiling" = yes; then :
30982
30983 case "${target}" in
30984 *mingw*) libgfor_cv_have_crlf=yes ;;
30985 *) libgfor_cv_have_crlf=no;;
30986 esac
30987 else
30988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h. */
30990
30991 /* This test program should exit with status 0 if system uses a CRLF as
30992 line terminator, and status 1 otherwise.
30993 Since it is used to check for mingw systems, and should return 0 in any
30994 other case, in case of a failure we will not use CRLF. */
30995 #include <sys/stat.h>
30996 #include <stdlib.h>
30997 #include <fcntl.h>
30998 #include <stdio.h>
30999
31000 int main ()
31001 {
31002 #ifndef O_BINARY
31003 exit(1);
31004 #else
31005 int fd, bytes;
31006 char buff[5];
31007
31008 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31009 if (fd < 0)
31010 exit(1);
31011 if (write (fd, "\n", 1) < 0)
31012 perror ("write");
31013
31014 close (fd);
31015
31016 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31017 exit(1);
31018 bytes = read (fd, buff, 5);
31019 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31020 exit(0);
31021 else
31022 exit(1);
31023 #endif
31024 }
31025 _ACEOF
31026 if ac_fn_c_try_run "$LINENO"; then :
31027 libgfor_cv_have_crlf=yes
31028 else
31029 libgfor_cv_have_crlf=no
31030 fi
31031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31032 conftest.$ac_objext conftest.beam conftest.$ac_ext
31033 fi
31034
31035 fi
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31037 $as_echo "$libgfor_cv_have_crlf" >&6; }
31038 if test x"$libgfor_cv_have_crlf" = xyes; then
31039
31040 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31041
31042 fi
31043
31044 # Check whether we support AVX extensions
31045
31046 ac_save_CFLAGS="$CFLAGS"
31047 CFLAGS="-O2 -mavx"
31048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31049 /* end confdefs.h. */
31050
31051 void _mm256_zeroall (void)
31052 {
31053 __builtin_ia32_vzeroall ();
31054 }
31055 int
31056 main ()
31057 {
31058
31059 ;
31060 return 0;
31061 }
31062 _ACEOF
31063 if ac_fn_c_try_compile "$LINENO"; then :
31064
31065 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31066
31067 fi
31068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31069 CFLAGS="$ac_save_CFLAGS"
31070
31071
31072 # Check whether we support AVX2 extensions
31073
31074 ac_save_CFLAGS="$CFLAGS"
31075 CFLAGS="-O2 -mavx2"
31076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31077 /* end confdefs.h. */
31078
31079 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31080 __v4di
31081 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31082 {
31083 return __builtin_ia32_andnotsi256 (__X, __Y);
31084 }
31085 int
31086 main ()
31087 {
31088
31089 ;
31090 return 0;
31091 }
31092 _ACEOF
31093 if ac_fn_c_try_compile "$LINENO"; then :
31094
31095 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31096
31097 fi
31098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31099 CFLAGS="$ac_save_CFLAGS"
31100
31101
31102 # Check whether we support AVX512f extensions
31103
31104 ac_save_CFLAGS="$CFLAGS"
31105 CFLAGS="-O2 -mavx512f"
31106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31107 /* end confdefs.h. */
31108
31109 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31110 __m512d _mm512_add (__m512d a)
31111 {
31112 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31113 /* For -m64/-mx32 also verify that code will work even if
31114 the target uses call saved zmm16+ and needs to emit
31115 unwind info for them (e.g. on mingw). See PR79127. */
31116 #ifdef __x86_64__
31117 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31118 #endif
31119 return b;
31120 }
31121 int
31122 main ()
31123 {
31124
31125 ;
31126 return 0;
31127 }
31128 _ACEOF
31129 if ac_fn_c_try_compile "$LINENO"; then :
31130
31131 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31132
31133 fi
31134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31135 CFLAGS="$ac_save_CFLAGS"
31136
31137
31138 # Check for FMA3 extensions
31139
31140 ac_save_CFLAGS="$CFLAGS"
31141 CFLAGS="-O2 -mfma -mno-fma4"
31142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31143 /* end confdefs.h. */
31144
31145 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31146 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31147 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31148 {
31149 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31150 (__v4sf)__B,
31151 (__v4sf)__C);
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_FMA3 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 for FMA4 extensions
31171
31172 ac_save_CFLAGS="$CFLAGS"
31173 CFLAGS="-O2 -mfma4 -mno-fma"
31174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31175 /* end confdefs.h. */
31176
31177 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31178 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31179 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31180 {
31181 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31182 (__v4sf)__B,
31183 (__v4sf)__C);
31184 }
31185 int
31186 main ()
31187 {
31188
31189 ;
31190 return 0;
31191 }
31192 _ACEOF
31193 if ac_fn_c_try_compile "$LINENO"; then :
31194
31195 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31196
31197 fi
31198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31199 CFLAGS="$ac_save_CFLAGS"
31200
31201
31202 # Check if AVX128 works
31203
31204 ac_save_CFLAGS="$CFLAGS"
31205 CFLAGS="-O2 -mavx -mprefer-avx128"
31206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31207 /* end confdefs.h. */
31208
31209 void foo()
31210 {
31211 }
31212 int
31213 main ()
31214 {
31215
31216 ;
31217 return 0;
31218 }
31219 _ACEOF
31220 if ac_fn_c_try_compile "$LINENO"; then :
31221
31222 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31223
31224 if true; then
31225 HAVE_AVX128_TRUE=
31226 HAVE_AVX128_FALSE='#'
31227 else
31228 HAVE_AVX128_TRUE='#'
31229 HAVE_AVX128_FALSE=
31230 fi
31231
31232 else
31233 if false; then
31234 HAVE_AVX128_TRUE=
31235 HAVE_AVX128_FALSE='#'
31236 else
31237 HAVE_AVX128_TRUE='#'
31238 HAVE_AVX128_FALSE=
31239 fi
31240
31241 fi
31242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31243 CFLAGS="$ac_save_CFLAGS"
31244
31245
31246 # Determine what GCC version number to use in filesystem paths.
31247
31248 get_gcc_base_ver="cat"
31249
31250 # Check whether --with-gcc-major-version-only was given.
31251 if test "${with_gcc_major_version_only+set}" = set; then :
31252 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
31253 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
31254 fi
31255
31256 fi
31257
31258
31259
31260
31261 cat >confcache <<\_ACEOF
31262 # This file is a shell script that caches the results of configure
31263 # tests run on this system so they can be shared between configure
31264 # scripts and configure runs, see configure's option --config-cache.
31265 # It is not useful on other systems. If it contains results you don't
31266 # want to keep, you may remove or edit it.
31267 #
31268 # config.status only pays attention to the cache file if you give it
31269 # the --recheck option to rerun configure.
31270 #
31271 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31272 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31273 # following values.
31274
31275 _ACEOF
31276
31277 # The following way of writing the cache mishandles newlines in values,
31278 # but we know of no workaround that is simple, portable, and efficient.
31279 # So, we kill variables containing newlines.
31280 # Ultrix sh set writes to stderr and can't be redirected directly,
31281 # and sets the high bit in the cache file unless we assign to the vars.
31282 (
31283 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31284 eval ac_val=\$$ac_var
31285 case $ac_val in #(
31286 *${as_nl}*)
31287 case $ac_var in #(
31288 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31289 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31290 esac
31291 case $ac_var in #(
31292 _ | IFS | as_nl) ;; #(
31293 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31294 *) { eval $ac_var=; unset $ac_var;} ;;
31295 esac ;;
31296 esac
31297 done
31298
31299 (set) 2>&1 |
31300 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31301 *${as_nl}ac_space=\ *)
31302 # `set' does not quote correctly, so add quotes: double-quote
31303 # substitution turns \\\\ into \\, and sed turns \\ into \.
31304 sed -n \
31305 "s/'/'\\\\''/g;
31306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31307 ;; #(
31308 *)
31309 # `set' quotes correctly as required by POSIX, so do not add quotes.
31310 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31311 ;;
31312 esac |
31313 sort
31314 ) |
31315 sed '
31316 /^ac_cv_env_/b end
31317 t clear
31318 :clear
31319 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31320 t end
31321 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31322 :end' >>confcache
31323 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31324 if test -w "$cache_file"; then
31325 if test "x$cache_file" != "x/dev/null"; then
31326 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31327 $as_echo "$as_me: updating cache $cache_file" >&6;}
31328 if test ! -f "$cache_file" || test -h "$cache_file"; then
31329 cat confcache >"$cache_file"
31330 else
31331 case $cache_file in #(
31332 */* | ?:*)
31333 mv -f confcache "$cache_file"$$ &&
31334 mv -f "$cache_file"$$ "$cache_file" ;; #(
31335 *)
31336 mv -f confcache "$cache_file" ;;
31337 esac
31338 fi
31339 fi
31340 else
31341 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31342 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31343 fi
31344 fi
31345 rm -f confcache
31346
31347 if test ${multilib} = yes; then
31348 multilib_arg="--enable-multilib"
31349 else
31350 multilib_arg=
31351 fi
31352
31353 # Write our Makefile and spec file.
31354 ac_config_files="$ac_config_files Makefile libgfortran.spec"
31355
31356 cat >confcache <<\_ACEOF
31357 # This file is a shell script that caches the results of configure
31358 # tests run on this system so they can be shared between configure
31359 # scripts and configure runs, see configure's option --config-cache.
31360 # It is not useful on other systems. If it contains results you don't
31361 # want to keep, you may remove or edit it.
31362 #
31363 # config.status only pays attention to the cache file if you give it
31364 # the --recheck option to rerun configure.
31365 #
31366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31368 # following values.
31369
31370 _ACEOF
31371
31372 # The following way of writing the cache mishandles newlines in values,
31373 # but we know of no workaround that is simple, portable, and efficient.
31374 # So, we kill variables containing newlines.
31375 # Ultrix sh set writes to stderr and can't be redirected directly,
31376 # and sets the high bit in the cache file unless we assign to the vars.
31377 (
31378 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31379 eval ac_val=\$$ac_var
31380 case $ac_val in #(
31381 *${as_nl}*)
31382 case $ac_var in #(
31383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31385 esac
31386 case $ac_var in #(
31387 _ | IFS | as_nl) ;; #(
31388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31389 *) { eval $ac_var=; unset $ac_var;} ;;
31390 esac ;;
31391 esac
31392 done
31393
31394 (set) 2>&1 |
31395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31396 *${as_nl}ac_space=\ *)
31397 # `set' does not quote correctly, so add quotes: double-quote
31398 # substitution turns \\\\ into \\, and sed turns \\ into \.
31399 sed -n \
31400 "s/'/'\\\\''/g;
31401 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31402 ;; #(
31403 *)
31404 # `set' quotes correctly as required by POSIX, so do not add quotes.
31405 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31406 ;;
31407 esac |
31408 sort
31409 ) |
31410 sed '
31411 /^ac_cv_env_/b end
31412 t clear
31413 :clear
31414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31415 t end
31416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31417 :end' >>confcache
31418 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31419 if test -w "$cache_file"; then
31420 if test "x$cache_file" != "x/dev/null"; then
31421 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31422 $as_echo "$as_me: updating cache $cache_file" >&6;}
31423 if test ! -f "$cache_file" || test -h "$cache_file"; then
31424 cat confcache >"$cache_file"
31425 else
31426 case $cache_file in #(
31427 */* | ?:*)
31428 mv -f confcache "$cache_file"$$ &&
31429 mv -f "$cache_file"$$ "$cache_file" ;; #(
31430 *)
31431 mv -f confcache "$cache_file" ;;
31432 esac
31433 fi
31434 fi
31435 else
31436 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31437 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31438 fi
31439 fi
31440 rm -f confcache
31441
31442 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31443 # Let make expand exec_prefix.
31444 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31445
31446 DEFS=-DHAVE_CONFIG_H
31447
31448 ac_libobjs=
31449 ac_ltlibobjs=
31450 U=
31451 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31452 # 1. Remove the extension, and $U if already installed.
31453 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31454 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31455 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31456 # will be set to the directory where LIBOBJS objects are built.
31457 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31458 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31459 done
31460 LIBOBJS=$ac_libobjs
31461
31462 LTLIBOBJS=$ac_ltlibobjs
31463
31464
31465 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
31466 as_fn_error $? "conditional \"onestep\" was never defined.
31467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31468 fi
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31470 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31471 if test -n "$am_sleep_pid"; then
31472 # Hide warnings about reused PIDs.
31473 wait $am_sleep_pid 2>/dev/null
31474 fi
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31476 $as_echo "done" >&6; }
31477 if test -n "$EXEEXT"; then
31478 am__EXEEXT_TRUE=
31479 am__EXEEXT_FALSE='#'
31480 else
31481 am__EXEEXT_TRUE='#'
31482 am__EXEEXT_FALSE=
31483 fi
31484
31485 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31486 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31488 fi
31489 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31490 as_fn_error $? "conditional \"AMDEP\" was never defined.
31491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31492 fi
31493 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31494 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31496 fi
31497 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31498 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31500 fi
31501 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31502 as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
31503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31504 fi
31505 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31506 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31508 fi
31509 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31510 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31512 fi
31513 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31514 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31516 fi
31517 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31518 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
31519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31520 fi
31521 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31522 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
31523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31524 fi
31525 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31526 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
31527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31528 fi
31529 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31530 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31532 fi
31533 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31534 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
31535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31536 fi
31537
31538 : "${CONFIG_STATUS=./config.status}"
31539 ac_write_fail=0
31540 ac_clean_files_save=$ac_clean_files
31541 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31543 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31544 as_write_fail=0
31545 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31546 #! $SHELL
31547 # Generated by $as_me.
31548 # Run this file to recreate the current configuration.
31549 # Compiler output produced by configure, useful for debugging
31550 # configure, is in config.log if it exists.
31551
31552 debug=false
31553 ac_cs_recheck=false
31554 ac_cs_silent=false
31555
31556 SHELL=\${CONFIG_SHELL-$SHELL}
31557 export SHELL
31558 _ASEOF
31559 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31560 ## -------------------- ##
31561 ## M4sh Initialization. ##
31562 ## -------------------- ##
31563
31564 # Be more Bourne compatible
31565 DUALCASE=1; export DUALCASE # for MKS sh
31566 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31567 emulate sh
31568 NULLCMD=:
31569 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31570 # is contrary to our usage. Disable this feature.
31571 alias -g '${1+"$@"}'='"$@"'
31572 setopt NO_GLOB_SUBST
31573 else
31574 case `(set -o) 2>/dev/null` in #(
31575 *posix*) :
31576 set -o posix ;; #(
31577 *) :
31578 ;;
31579 esac
31580 fi
31581
31582
31583 as_nl='
31584 '
31585 export as_nl
31586 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31587 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31588 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31590 # Prefer a ksh shell builtin over an external printf program on Solaris,
31591 # but without wasting forks for bash or zsh.
31592 if test -z "$BASH_VERSION$ZSH_VERSION" \
31593 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31594 as_echo='print -r --'
31595 as_echo_n='print -rn --'
31596 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31597 as_echo='printf %s\n'
31598 as_echo_n='printf %s'
31599 else
31600 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31601 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31602 as_echo_n='/usr/ucb/echo -n'
31603 else
31604 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31605 as_echo_n_body='eval
31606 arg=$1;
31607 case $arg in #(
31608 *"$as_nl"*)
31609 expr "X$arg" : "X\\(.*\\)$as_nl";
31610 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31611 esac;
31612 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31613 '
31614 export as_echo_n_body
31615 as_echo_n='sh -c $as_echo_n_body as_echo'
31616 fi
31617 export as_echo_body
31618 as_echo='sh -c $as_echo_body as_echo'
31619 fi
31620
31621 # The user is always right.
31622 if test "${PATH_SEPARATOR+set}" != set; then
31623 PATH_SEPARATOR=:
31624 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31625 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31626 PATH_SEPARATOR=';'
31627 }
31628 fi
31629
31630
31631 # IFS
31632 # We need space, tab and new line, in precisely that order. Quoting is
31633 # there to prevent editors from complaining about space-tab.
31634 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31635 # splitting by setting IFS to empty value.)
31636 IFS=" "" $as_nl"
31637
31638 # Find who we are. Look in the path if we contain no directory separator.
31639 as_myself=
31640 case $0 in #((
31641 *[\\/]* ) as_myself=$0 ;;
31642 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31643 for as_dir in $PATH
31644 do
31645 IFS=$as_save_IFS
31646 test -z "$as_dir" && as_dir=.
31647 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31648 done
31649 IFS=$as_save_IFS
31650
31651 ;;
31652 esac
31653 # We did not find ourselves, most probably we were run as `sh COMMAND'
31654 # in which case we are not to be found in the path.
31655 if test "x$as_myself" = x; then
31656 as_myself=$0
31657 fi
31658 if test ! -f "$as_myself"; then
31659 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31660 exit 1
31661 fi
31662
31663 # Unset variables that we do not need and which cause bugs (e.g. in
31664 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31665 # suppresses any "Segmentation fault" message there. '((' could
31666 # trigger a bug in pdksh 5.2.14.
31667 for as_var in BASH_ENV ENV MAIL MAILPATH
31668 do eval test x\${$as_var+set} = xset \
31669 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31670 done
31671 PS1='$ '
31672 PS2='> '
31673 PS4='+ '
31674
31675 # NLS nuisances.
31676 LC_ALL=C
31677 export LC_ALL
31678 LANGUAGE=C
31679 export LANGUAGE
31680
31681 # CDPATH.
31682 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31683
31684
31685 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31686 # ----------------------------------------
31687 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31688 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31689 # script with STATUS, using 1 if that was 0.
31690 as_fn_error ()
31691 {
31692 as_status=$1; test $as_status -eq 0 && as_status=1
31693 if test "$4"; then
31694 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31695 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31696 fi
31697 $as_echo "$as_me: error: $2" >&2
31698 as_fn_exit $as_status
31699 } # as_fn_error
31700
31701
31702 # as_fn_set_status STATUS
31703 # -----------------------
31704 # Set $? to STATUS, without forking.
31705 as_fn_set_status ()
31706 {
31707 return $1
31708 } # as_fn_set_status
31709
31710 # as_fn_exit STATUS
31711 # -----------------
31712 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31713 as_fn_exit ()
31714 {
31715 set +e
31716 as_fn_set_status $1
31717 exit $1
31718 } # as_fn_exit
31719
31720 # as_fn_unset VAR
31721 # ---------------
31722 # Portably unset VAR.
31723 as_fn_unset ()
31724 {
31725 { eval $1=; unset $1;}
31726 }
31727 as_unset=as_fn_unset
31728 # as_fn_append VAR VALUE
31729 # ----------------------
31730 # Append the text in VALUE to the end of the definition contained in VAR. Take
31731 # advantage of any shell optimizations that allow amortized linear growth over
31732 # repeated appends, instead of the typical quadratic growth present in naive
31733 # implementations.
31734 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31735 eval 'as_fn_append ()
31736 {
31737 eval $1+=\$2
31738 }'
31739 else
31740 as_fn_append ()
31741 {
31742 eval $1=\$$1\$2
31743 }
31744 fi # as_fn_append
31745
31746 # as_fn_arith ARG...
31747 # ------------------
31748 # Perform arithmetic evaluation on the ARGs, and store the result in the
31749 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31750 # must be portable across $(()) and expr.
31751 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31752 eval 'as_fn_arith ()
31753 {
31754 as_val=$(( $* ))
31755 }'
31756 else
31757 as_fn_arith ()
31758 {
31759 as_val=`expr "$@" || test $? -eq 1`
31760 }
31761 fi # as_fn_arith
31762
31763
31764 if expr a : '\(a\)' >/dev/null 2>&1 &&
31765 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31766 as_expr=expr
31767 else
31768 as_expr=false
31769 fi
31770
31771 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31772 as_basename=basename
31773 else
31774 as_basename=false
31775 fi
31776
31777 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31778 as_dirname=dirname
31779 else
31780 as_dirname=false
31781 fi
31782
31783 as_me=`$as_basename -- "$0" ||
31784 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31785 X"$0" : 'X\(//\)$' \| \
31786 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31787 $as_echo X/"$0" |
31788 sed '/^.*\/\([^/][^/]*\)\/*$/{
31789 s//\1/
31790 q
31791 }
31792 /^X\/\(\/\/\)$/{
31793 s//\1/
31794 q
31795 }
31796 /^X\/\(\/\).*/{
31797 s//\1/
31798 q
31799 }
31800 s/.*/./; q'`
31801
31802 # Avoid depending upon Character Ranges.
31803 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31804 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31805 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31806 as_cr_digits='0123456789'
31807 as_cr_alnum=$as_cr_Letters$as_cr_digits
31808
31809 ECHO_C= ECHO_N= ECHO_T=
31810 case `echo -n x` in #(((((
31811 -n*)
31812 case `echo 'xy\c'` in
31813 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
31814 xy) ECHO_C='\c';;
31815 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
31816 ECHO_T=' ';;
31817 esac;;
31818 *)
31819 ECHO_N='-n';;
31820 esac
31821
31822 rm -f conf$$ conf$$.exe conf$$.file
31823 if test -d conf$$.dir; then
31824 rm -f conf$$.dir/conf$$.file
31825 else
31826 rm -f conf$$.dir
31827 mkdir conf$$.dir 2>/dev/null
31828 fi
31829 if (echo >conf$$.file) 2>/dev/null; then
31830 if ln -s conf$$.file conf$$ 2>/dev/null; then
31831 as_ln_s='ln -s'
31832 # ... but there are two gotchas:
31833 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31834 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31835 # In both cases, we have to default to `cp -pR'.
31836 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31837 as_ln_s='cp -pR'
31838 elif ln conf$$.file conf$$ 2>/dev/null; then
31839 as_ln_s=ln
31840 else
31841 as_ln_s='cp -pR'
31842 fi
31843 else
31844 as_ln_s='cp -pR'
31845 fi
31846 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31847 rmdir conf$$.dir 2>/dev/null
31848
31849
31850 # as_fn_mkdir_p
31851 # -------------
31852 # Create "$as_dir" as a directory, including parents if necessary.
31853 as_fn_mkdir_p ()
31854 {
31855
31856 case $as_dir in #(
31857 -*) as_dir=./$as_dir;;
31858 esac
31859 test -d "$as_dir" || eval $as_mkdir_p || {
31860 as_dirs=
31861 while :; do
31862 case $as_dir in #(
31863 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31864 *) as_qdir=$as_dir;;
31865 esac
31866 as_dirs="'$as_qdir' $as_dirs"
31867 as_dir=`$as_dirname -- "$as_dir" ||
31868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31869 X"$as_dir" : 'X\(//\)[^/]' \| \
31870 X"$as_dir" : 'X\(//\)$' \| \
31871 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31872 $as_echo X"$as_dir" |
31873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31874 s//\1/
31875 q
31876 }
31877 /^X\(\/\/\)[^/].*/{
31878 s//\1/
31879 q
31880 }
31881 /^X\(\/\/\)$/{
31882 s//\1/
31883 q
31884 }
31885 /^X\(\/\).*/{
31886 s//\1/
31887 q
31888 }
31889 s/.*/./; q'`
31890 test -d "$as_dir" && break
31891 done
31892 test -z "$as_dirs" || eval "mkdir $as_dirs"
31893 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31894
31895
31896 } # as_fn_mkdir_p
31897 if mkdir -p . 2>/dev/null; then
31898 as_mkdir_p='mkdir -p "$as_dir"'
31899 else
31900 test -d ./-p && rmdir ./-p
31901 as_mkdir_p=false
31902 fi
31903
31904
31905 # as_fn_executable_p FILE
31906 # -----------------------
31907 # Test if FILE is an executable regular file.
31908 as_fn_executable_p ()
31909 {
31910 test -f "$1" && test -x "$1"
31911 } # as_fn_executable_p
31912 as_test_x='test -x'
31913 as_executable_p=as_fn_executable_p
31914
31915 # Sed expression to map a string onto a valid CPP name.
31916 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31917
31918 # Sed expression to map a string onto a valid variable name.
31919 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31920
31921
31922 exec 6>&1
31923 ## ----------------------------------- ##
31924 ## Main body of $CONFIG_STATUS script. ##
31925 ## ----------------------------------- ##
31926 _ASEOF
31927 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
31928
31929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31930 # Save the log message, to keep $0 and so on meaningful, and to
31931 # report actual input values of CONFIG_FILES etc. instead of their
31932 # values after options handling.
31933 ac_log="
31934 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
31935 generated by GNU Autoconf 2.69. Invocation command line was
31936
31937 CONFIG_FILES = $CONFIG_FILES
31938 CONFIG_HEADERS = $CONFIG_HEADERS
31939 CONFIG_LINKS = $CONFIG_LINKS
31940 CONFIG_COMMANDS = $CONFIG_COMMANDS
31941 $ $0 $@
31942
31943 on `(hostname || uname -n) 2>/dev/null | sed 1q`
31944 "
31945
31946 _ACEOF
31947
31948 case $ac_config_files in *"
31949 "*) set x $ac_config_files; shift; ac_config_files=$*;;
31950 esac
31951
31952 case $ac_config_headers in *"
31953 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
31954 esac
31955
31956
31957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31958 # Files that config.status was made for.
31959 config_files="$ac_config_files"
31960 config_headers="$ac_config_headers"
31961 config_commands="$ac_config_commands"
31962
31963 _ACEOF
31964
31965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31966 ac_cs_usage="\
31967 \`$as_me' instantiates files and other configuration actions
31968 from templates according to the current configuration. Unless the files
31969 and actions are specified as TAGs, all are instantiated by default.
31970
31971 Usage: $0 [OPTION]... [TAG]...
31972
31973 -h, --help print this help, then exit
31974 -V, --version print version number and configuration settings, then exit
31975 --config print configuration, then exit
31976 -q, --quiet, --silent
31977 do not print progress messages
31978 -d, --debug don't remove temporary files
31979 --recheck update $as_me by reconfiguring in the same conditions
31980 --file=FILE[:TEMPLATE]
31981 instantiate the configuration file FILE
31982 --header=FILE[:TEMPLATE]
31983 instantiate the configuration header FILE
31984
31985 Configuration files:
31986 $config_files
31987
31988 Configuration headers:
31989 $config_headers
31990
31991 Configuration commands:
31992 $config_commands
31993
31994 Report bugs to the package provider.
31995 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
31996 General help using GNU software: <http://www.gnu.org/gethelp/>."
31997
31998 _ACEOF
31999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32000 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32001 ac_cs_version="\\
32002 GNU Fortran Runtime Library config.status 0.3
32003 configured by $0, generated by GNU Autoconf 2.69,
32004 with options \\"\$ac_cs_config\\"
32005
32006 Copyright (C) 2012 Free Software Foundation, Inc.
32007 This config.status script is free software; the Free Software Foundation
32008 gives unlimited permission to copy, distribute and modify it."
32009
32010 ac_pwd='$ac_pwd'
32011 srcdir='$srcdir'
32012 INSTALL='$INSTALL'
32013 MKDIR_P='$MKDIR_P'
32014 AWK='$AWK'
32015 test -n "\$AWK" || AWK=awk
32016 _ACEOF
32017
32018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32019 # The default lists apply if the user does not specify any file.
32020 ac_need_defaults=:
32021 while test $# != 0
32022 do
32023 case $1 in
32024 --*=?*)
32025 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32026 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32027 ac_shift=:
32028 ;;
32029 --*=)
32030 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32031 ac_optarg=
32032 ac_shift=:
32033 ;;
32034 *)
32035 ac_option=$1
32036 ac_optarg=$2
32037 ac_shift=shift
32038 ;;
32039 esac
32040
32041 case $ac_option in
32042 # Handling of the options.
32043 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32044 ac_cs_recheck=: ;;
32045 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32046 $as_echo "$ac_cs_version"; exit ;;
32047 --config | --confi | --conf | --con | --co | --c )
32048 $as_echo "$ac_cs_config"; exit ;;
32049 --debug | --debu | --deb | --de | --d | -d )
32050 debug=: ;;
32051 --file | --fil | --fi | --f )
32052 $ac_shift
32053 case $ac_optarg in
32054 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32055 '') as_fn_error $? "missing file argument" ;;
32056 esac
32057 as_fn_append CONFIG_FILES " '$ac_optarg'"
32058 ac_need_defaults=false;;
32059 --header | --heade | --head | --hea )
32060 $ac_shift
32061 case $ac_optarg in
32062 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32063 esac
32064 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32065 ac_need_defaults=false;;
32066 --he | --h)
32067 # Conflict between --help and --header
32068 as_fn_error $? "ambiguous option: \`$1'
32069 Try \`$0 --help' for more information.";;
32070 --help | --hel | -h )
32071 $as_echo "$ac_cs_usage"; exit ;;
32072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32073 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32074 ac_cs_silent=: ;;
32075
32076 # This is an error.
32077 -*) as_fn_error $? "unrecognized option: \`$1'
32078 Try \`$0 --help' for more information." ;;
32079
32080 *) as_fn_append ac_config_targets " $1"
32081 ac_need_defaults=false ;;
32082
32083 esac
32084 shift
32085 done
32086
32087 ac_configure_extra_args=
32088
32089 if $ac_cs_silent; then
32090 exec 6>/dev/null
32091 ac_configure_extra_args="$ac_configure_extra_args --silent"
32092 fi
32093
32094 _ACEOF
32095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32096 if \$ac_cs_recheck; then
32097 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32098 shift
32099 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32100 CONFIG_SHELL='$SHELL'
32101 export CONFIG_SHELL
32102 exec "\$@"
32103 fi
32104
32105 _ACEOF
32106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32107 exec 5>>config.log
32108 {
32109 echo
32110 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32111 ## Running $as_me. ##
32112 _ASBOX
32113 $as_echo "$ac_log"
32114 } >&5
32115
32116 _ACEOF
32117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32118 #
32119 # INIT-COMMANDS
32120 #
32121
32122 srcdir="$srcdir"
32123 host="$host"
32124 target="$target"
32125 with_multisubdir="$with_multisubdir"
32126 with_multisrctop="$with_multisrctop"
32127 with_target_subdir="$with_target_subdir"
32128 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32129 multi_basedir="$multi_basedir"
32130 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32131 CC="$CC"
32132 CXX="$CXX"
32133 GFORTRAN="$GFORTRAN"
32134 GDC="$GDC"
32135 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32136
32137
32138 # The HP-UX ksh and POSIX shell print the target directory to stdout
32139 # if CDPATH is set.
32140 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32141
32142 sed_quote_subst='$sed_quote_subst'
32143 double_quote_subst='$double_quote_subst'
32144 delay_variable_subst='$delay_variable_subst'
32145 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32146 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32147 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32148 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32149 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32150 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32151 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32152 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32153 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32154 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32155 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32156 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32157 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32158 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32159 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32160 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32161 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32162 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32163 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32164 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32165 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32166 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32167 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32168 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32169 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32170 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32171 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32172 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32173 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32174 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32175 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32176 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32177 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32178 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32179 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32180 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32181 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32182 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32183 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32184 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32185 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32186 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32187 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32188 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32189 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32190 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32191 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32192 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32193 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"`'
32194 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32195 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32196 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32197 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32198 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32199 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32200 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32201 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32202 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32203 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32204 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32205 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32206 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32207 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32208 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32209 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32210 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32211 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32212 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32213 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32214 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32215 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32216 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32217 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32218 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32219 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32220 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32221 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32222 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32223 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32224 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32225 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32226 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32227 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32228 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32229 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32230 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32231 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32232 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32233 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32234 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32235 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32236 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32237 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32238 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32239 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32240 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32241 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32242 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32243 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32244 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32245 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32246 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32247 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32248 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32249 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32250 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32251 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32252 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32253 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32254 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32255 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32256 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32257 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32258 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32259 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32260 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32261 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32262 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32263 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32264 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32265 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32266 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32267 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32268 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32269 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32270 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32271 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32272 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32273 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32274 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32275 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32276 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32277 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32278 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32279 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32280 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32281 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32282 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32283 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32284 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32285 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32286 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32287 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32288 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32289 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32290 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32291 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32292 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32293 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32294 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32295 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32296 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32297 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32298 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32299 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32300 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32301 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32302 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32303 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32304 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32305 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32306 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32307 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32308 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32309 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32310 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32311 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32312 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32313 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32314 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32315 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32316 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32317 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32318 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32319 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32320
32321 LTCC='$LTCC'
32322 LTCFLAGS='$LTCFLAGS'
32323 compiler='$compiler_DEFAULT'
32324
32325 # A function that is used when there is no print builtin or printf.
32326 func_fallback_echo ()
32327 {
32328 eval 'cat <<_LTECHO_EOF
32329 \$1
32330 _LTECHO_EOF'
32331 }
32332
32333 # Quote evaled strings.
32334 for var in SED \
32335 GREP \
32336 EGREP \
32337 FGREP \
32338 SHELL \
32339 ECHO \
32340 LD \
32341 NM \
32342 LN_S \
32343 lt_SP2NL \
32344 lt_NL2SP \
32345 reload_flag \
32346 OBJDUMP \
32347 deplibs_check_method \
32348 file_magic_cmd \
32349 AR \
32350 AR_FLAGS \
32351 STRIP \
32352 RANLIB \
32353 CC \
32354 CFLAGS \
32355 compiler \
32356 lt_cv_sys_global_symbol_pipe \
32357 lt_cv_sys_global_symbol_to_cdecl \
32358 lt_cv_sys_global_symbol_to_c_name_address \
32359 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32360 lt_prog_compiler_no_builtin_flag \
32361 lt_prog_compiler_wl \
32362 lt_prog_compiler_pic \
32363 lt_prog_compiler_static \
32364 lt_cv_prog_compiler_c_o \
32365 need_locks \
32366 DSYMUTIL \
32367 NMEDIT \
32368 LIPO \
32369 OTOOL \
32370 OTOOL64 \
32371 shrext_cmds \
32372 export_dynamic_flag_spec \
32373 whole_archive_flag_spec \
32374 compiler_needs_object \
32375 with_gnu_ld \
32376 allow_undefined_flag \
32377 no_undefined_flag \
32378 hardcode_libdir_flag_spec \
32379 hardcode_libdir_flag_spec_ld \
32380 hardcode_libdir_separator \
32381 fix_srcfile_path \
32382 exclude_expsyms \
32383 include_expsyms \
32384 file_list_spec \
32385 variables_saved_for_relink \
32386 libname_spec \
32387 library_names_spec \
32388 soname_spec \
32389 install_override_mode \
32390 finish_eval \
32391 old_striplib \
32392 striplib \
32393 compiler_lib_search_dirs \
32394 predep_objects \
32395 postdep_objects \
32396 predeps \
32397 postdeps \
32398 compiler_lib_search_path \
32399 LD_FC \
32400 reload_flag_FC \
32401 compiler_FC \
32402 lt_prog_compiler_no_builtin_flag_FC \
32403 lt_prog_compiler_wl_FC \
32404 lt_prog_compiler_pic_FC \
32405 lt_prog_compiler_static_FC \
32406 lt_cv_prog_compiler_c_o_FC \
32407 export_dynamic_flag_spec_FC \
32408 whole_archive_flag_spec_FC \
32409 compiler_needs_object_FC \
32410 with_gnu_ld_FC \
32411 allow_undefined_flag_FC \
32412 no_undefined_flag_FC \
32413 hardcode_libdir_flag_spec_FC \
32414 hardcode_libdir_flag_spec_ld_FC \
32415 hardcode_libdir_separator_FC \
32416 fix_srcfile_path_FC \
32417 exclude_expsyms_FC \
32418 include_expsyms_FC \
32419 file_list_spec_FC \
32420 compiler_lib_search_dirs_FC \
32421 predep_objects_FC \
32422 postdep_objects_FC \
32423 predeps_FC \
32424 postdeps_FC \
32425 compiler_lib_search_path_FC; do
32426 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32427 *[\\\\\\\`\\"\\\$]*)
32428 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32429 ;;
32430 *)
32431 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32432 ;;
32433 esac
32434 done
32435
32436 # Double-quote double-evaled strings.
32437 for var in reload_cmds \
32438 old_postinstall_cmds \
32439 old_postuninstall_cmds \
32440 old_archive_cmds \
32441 extract_expsyms_cmds \
32442 old_archive_from_new_cmds \
32443 old_archive_from_expsyms_cmds \
32444 archive_cmds \
32445 archive_expsym_cmds \
32446 module_cmds \
32447 module_expsym_cmds \
32448 export_symbols_cmds \
32449 prelink_cmds \
32450 postinstall_cmds \
32451 postuninstall_cmds \
32452 finish_cmds \
32453 sys_lib_search_path_spec \
32454 sys_lib_dlsearch_path_spec \
32455 reload_cmds_FC \
32456 old_archive_cmds_FC \
32457 old_archive_from_new_cmds_FC \
32458 old_archive_from_expsyms_cmds_FC \
32459 archive_cmds_FC \
32460 archive_expsym_cmds_FC \
32461 module_cmds_FC \
32462 module_expsym_cmds_FC \
32463 export_symbols_cmds_FC \
32464 prelink_cmds_FC; do
32465 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32466 *[\\\\\\\`\\"\\\$]*)
32467 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32468 ;;
32469 *)
32470 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32471 ;;
32472 esac
32473 done
32474
32475 ac_aux_dir='$ac_aux_dir'
32476 xsi_shell='$xsi_shell'
32477 lt_shell_append='$lt_shell_append'
32478
32479 # See if we are running on zsh, and set the options which allow our
32480 # commands through without removal of \ escapes INIT.
32481 if test -n "\${ZSH_VERSION+set}" ; then
32482 setopt NO_GLOB_SUBST
32483 fi
32484
32485
32486 PACKAGE='$PACKAGE'
32487 VERSION='$VERSION'
32488 TIMESTAMP='$TIMESTAMP'
32489 RM='$RM'
32490 ofile='$ofile'
32491
32492
32493
32494
32495
32496
32497 GCC="$GCC"
32498 CC="$CC"
32499 acx_cv_header_stdint="$acx_cv_header_stdint"
32500 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32501 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32502 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32503 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32504 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32505 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32506 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32507 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32508 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32509 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32510 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32511 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32512 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32513
32514
32515 _ACEOF
32516
32517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32518
32519 # Handling of arguments.
32520 for ac_config_target in $ac_config_targets
32521 do
32522 case $ac_config_target in
32523 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32524 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
32525 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32526 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32527 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
32528 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32529 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
32530
32531 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32532 esac
32533 done
32534
32535
32536 # If the user did not use the arguments to specify the items to instantiate,
32537 # then the envvar interface is used. Set only those that are not.
32538 # We use the long form for the default assignment because of an extremely
32539 # bizarre bug on SunOS 4.1.3.
32540 if $ac_need_defaults; then
32541 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32542 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32543 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32544 fi
32545
32546 # Have a temporary directory for convenience. Make it in the build tree
32547 # simply because there is no reason against having it here, and in addition,
32548 # creating and moving files from /tmp can sometimes cause problems.
32549 # Hook for its removal unless debugging.
32550 # Note that there is a small window in which the directory will not be cleaned:
32551 # after its creation but before its name has been assigned to `$tmp'.
32552 $debug ||
32553 {
32554 tmp= ac_tmp=
32555 trap 'exit_status=$?
32556 : "${ac_tmp:=$tmp}"
32557 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32558 ' 0
32559 trap 'as_fn_exit 1' 1 2 13 15
32560 }
32561 # Create a (secure) tmp directory for tmp files.
32562
32563 {
32564 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32565 test -d "$tmp"
32566 } ||
32567 {
32568 tmp=./conf$$-$RANDOM
32569 (umask 077 && mkdir "$tmp")
32570 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32571 ac_tmp=$tmp
32572
32573 # Set up the scripts for CONFIG_FILES section.
32574 # No need to generate them if there are no CONFIG_FILES.
32575 # This happens for instance with `./config.status config.h'.
32576 if test -n "$CONFIG_FILES"; then
32577
32578
32579 ac_cr=`echo X | tr X '\015'`
32580 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32581 # But we know of no other shell where ac_cr would be empty at this
32582 # point, so we can use a bashism as a fallback.
32583 if test "x$ac_cr" = x; then
32584 eval ac_cr=\$\'\\r\'
32585 fi
32586 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32587 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32588 ac_cs_awk_cr='\\r'
32589 else
32590 ac_cs_awk_cr=$ac_cr
32591 fi
32592
32593 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32594 _ACEOF
32595
32596
32597 {
32598 echo "cat >conf$$subs.awk <<_ACEOF" &&
32599 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32600 echo "_ACEOF"
32601 } >conf$$subs.sh ||
32602 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32603 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32604 ac_delim='%!_!# '
32605 for ac_last_try in false false false false false :; do
32606 . ./conf$$subs.sh ||
32607 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32608
32609 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32610 if test $ac_delim_n = $ac_delim_num; then
32611 break
32612 elif $ac_last_try; then
32613 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32614 else
32615 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32616 fi
32617 done
32618 rm -f conf$$subs.sh
32619
32620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32621 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
32622 _ACEOF
32623 sed -n '
32624 h
32625 s/^/S["/; s/!.*/"]=/
32626 p
32627 g
32628 s/^[^!]*!//
32629 :repl
32630 t repl
32631 s/'"$ac_delim"'$//
32632 t delim
32633 :nl
32634 h
32635 s/\(.\{148\}\)..*/\1/
32636 t more1
32637 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32638 p
32639 n
32640 b repl
32641 :more1
32642 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32643 p
32644 g
32645 s/.\{148\}//
32646 t nl
32647 :delim
32648 h
32649 s/\(.\{148\}\)..*/\1/
32650 t more2
32651 s/["\\]/\\&/g; s/^/"/; s/$/"/
32652 p
32653 b
32654 :more2
32655 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32656 p
32657 g
32658 s/.\{148\}//
32659 t delim
32660 ' <conf$$subs.awk | sed '
32661 /^[^""]/{
32662 N
32663 s/\n//
32664 }
32665 ' >>$CONFIG_STATUS || ac_write_fail=1
32666 rm -f conf$$subs.awk
32667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32668 _ACAWK
32669 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
32670 for (key in S) S_is_set[key] = 1
32671 FS = "\a"
32672
32673 }
32674 {
32675 line = $ 0
32676 nfields = split(line, field, "@")
32677 substed = 0
32678 len = length(field[1])
32679 for (i = 2; i < nfields; i++) {
32680 key = field[i]
32681 keylen = length(key)
32682 if (S_is_set[key]) {
32683 value = S[key]
32684 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32685 len += length(value) + length(field[++i])
32686 substed = 1
32687 } else
32688 len += 1 + keylen
32689 }
32690
32691 print line
32692 }
32693
32694 _ACAWK
32695 _ACEOF
32696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32697 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32698 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32699 else
32700 cat
32701 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
32702 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32703 _ACEOF
32704
32705 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32706 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32707 # trailing colons and then remove the whole line if VPATH becomes empty
32708 # (actually we leave an empty line to preserve line numbers).
32709 if test "x$srcdir" = x.; then
32710 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32711 h
32712 s///
32713 s/^/:/
32714 s/[ ]*$/:/
32715 s/:\$(srcdir):/:/g
32716 s/:\${srcdir}:/:/g
32717 s/:@srcdir@:/:/g
32718 s/^:*//
32719 s/:*$//
32720 x
32721 s/\(=[ ]*\).*/\1/
32722 G
32723 s/\n//
32724 s/^[^=]*=[ ]*$//
32725 }'
32726 fi
32727
32728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32729 fi # test -n "$CONFIG_FILES"
32730
32731 # Set up the scripts for CONFIG_HEADERS section.
32732 # No need to generate them if there are no CONFIG_HEADERS.
32733 # This happens for instance with `./config.status Makefile'.
32734 if test -n "$CONFIG_HEADERS"; then
32735 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
32736 BEGIN {
32737 _ACEOF
32738
32739 # Transform confdefs.h into an awk script `defines.awk', embedded as
32740 # here-document in config.status, that substitutes the proper values into
32741 # config.h.in to produce config.h.
32742
32743 # Create a delimiter string that does not exist in confdefs.h, to ease
32744 # handling of long lines.
32745 ac_delim='%!_!# '
32746 for ac_last_try in false false :; do
32747 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32748 if test -z "$ac_tt"; then
32749 break
32750 elif $ac_last_try; then
32751 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32752 else
32753 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32754 fi
32755 done
32756
32757 # For the awk script, D is an array of macro values keyed by name,
32758 # likewise P contains macro parameters if any. Preserve backslash
32759 # newline sequences.
32760
32761 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32762 sed -n '
32763 s/.\{148\}/&'"$ac_delim"'/g
32764 t rset
32765 :rset
32766 s/^[ ]*#[ ]*define[ ][ ]*/ /
32767 t def
32768 d
32769 :def
32770 s/\\$//
32771 t bsnl
32772 s/["\\]/\\&/g
32773 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32774 D["\1"]=" \3"/p
32775 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32776 d
32777 :bsnl
32778 s/["\\]/\\&/g
32779 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32780 D["\1"]=" \3\\\\\\n"\\/p
32781 t cont
32782 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32783 t cont
32784 d
32785 :cont
32786 n
32787 s/.\{148\}/&'"$ac_delim"'/g
32788 t clear
32789 :clear
32790 s/\\$//
32791 t bsnlc
32792 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32793 d
32794 :bsnlc
32795 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32796 b cont
32797 ' <confdefs.h | sed '
32798 s/'"$ac_delim"'/"\\\
32799 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32800
32801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32802 for (key in D) D_is_set[key] = 1
32803 FS = "\a"
32804 }
32805 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32806 line = \$ 0
32807 split(line, arg, " ")
32808 if (arg[1] == "#") {
32809 defundef = arg[2]
32810 mac1 = arg[3]
32811 } else {
32812 defundef = substr(arg[1], 2)
32813 mac1 = arg[2]
32814 }
32815 split(mac1, mac2, "(") #)
32816 macro = mac2[1]
32817 prefix = substr(line, 1, index(line, defundef) - 1)
32818 if (D_is_set[macro]) {
32819 # Preserve the white space surrounding the "#".
32820 print prefix "define", macro P[macro] D[macro]
32821 next
32822 } else {
32823 # Replace #undef with comments. This is necessary, for example,
32824 # in the case of _POSIX_SOURCE, which is predefined and required
32825 # on some systems where configure will not decide to define it.
32826 if (defundef == "undef") {
32827 print "/*", prefix defundef, macro, "*/"
32828 next
32829 }
32830 }
32831 }
32832 { print }
32833 _ACAWK
32834 _ACEOF
32835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32836 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32837 fi # test -n "$CONFIG_HEADERS"
32838
32839
32840 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32841 shift
32842 for ac_tag
32843 do
32844 case $ac_tag in
32845 :[FHLC]) ac_mode=$ac_tag; continue;;
32846 esac
32847 case $ac_mode$ac_tag in
32848 :[FHL]*:*);;
32849 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
32850 :[FH]-) ac_tag=-:-;;
32851 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32852 esac
32853 ac_save_IFS=$IFS
32854 IFS=:
32855 set x $ac_tag
32856 IFS=$ac_save_IFS
32857 shift
32858 ac_file=$1
32859 shift
32860
32861 case $ac_mode in
32862 :L) ac_source=$1;;
32863 :[FH])
32864 ac_file_inputs=
32865 for ac_f
32866 do
32867 case $ac_f in
32868 -) ac_f="$ac_tmp/stdin";;
32869 *) # Look for the file first in the build tree, then in the source tree
32870 # (if the path is not absolute). The absolute path cannot be DOS-style,
32871 # because $ac_f cannot contain `:'.
32872 test -f "$ac_f" ||
32873 case $ac_f in
32874 [\\/$]*) false;;
32875 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32876 esac ||
32877 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32878 esac
32879 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32880 as_fn_append ac_file_inputs " '$ac_f'"
32881 done
32882
32883 # Let's still pretend it is `configure' which instantiates (i.e., don't
32884 # use $as_me), people would be surprised to read:
32885 # /* config.h. Generated by config.status. */
32886 configure_input='Generated from '`
32887 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32888 `' by configure.'
32889 if test x"$ac_file" != x-; then
32890 configure_input="$ac_file. $configure_input"
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32892 $as_echo "$as_me: creating $ac_file" >&6;}
32893 fi
32894 # Neutralize special characters interpreted by sed in replacement strings.
32895 case $configure_input in #(
32896 *\&* | *\|* | *\\* )
32897 ac_sed_conf_input=`$as_echo "$configure_input" |
32898 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32899 *) ac_sed_conf_input=$configure_input;;
32900 esac
32901
32902 case $ac_tag in
32903 *:-:* | *:-) cat >"$ac_tmp/stdin" \
32904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
32905 esac
32906 ;;
32907 esac
32908
32909 ac_dir=`$as_dirname -- "$ac_file" ||
32910 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32911 X"$ac_file" : 'X\(//\)[^/]' \| \
32912 X"$ac_file" : 'X\(//\)$' \| \
32913 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32914 $as_echo X"$ac_file" |
32915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32916 s//\1/
32917 q
32918 }
32919 /^X\(\/\/\)[^/].*/{
32920 s//\1/
32921 q
32922 }
32923 /^X\(\/\/\)$/{
32924 s//\1/
32925 q
32926 }
32927 /^X\(\/\).*/{
32928 s//\1/
32929 q
32930 }
32931 s/.*/./; q'`
32932 as_dir="$ac_dir"; as_fn_mkdir_p
32933 ac_builddir=.
32934
32935 case "$ac_dir" in
32936 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32937 *)
32938 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32939 # A ".." for each directory in $ac_dir_suffix.
32940 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32941 case $ac_top_builddir_sub in
32942 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32943 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32944 esac ;;
32945 esac
32946 ac_abs_top_builddir=$ac_pwd
32947 ac_abs_builddir=$ac_pwd$ac_dir_suffix
32948 # for backward compatibility:
32949 ac_top_builddir=$ac_top_build_prefix
32950
32951 case $srcdir in
32952 .) # We are building in place.
32953 ac_srcdir=.
32954 ac_top_srcdir=$ac_top_builddir_sub
32955 ac_abs_top_srcdir=$ac_pwd ;;
32956 [\\/]* | ?:[\\/]* ) # Absolute name.
32957 ac_srcdir=$srcdir$ac_dir_suffix;
32958 ac_top_srcdir=$srcdir
32959 ac_abs_top_srcdir=$srcdir ;;
32960 *) # Relative name.
32961 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
32962 ac_top_srcdir=$ac_top_build_prefix$srcdir
32963 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
32964 esac
32965 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
32966
32967
32968 case $ac_mode in
32969 :F)
32970 #
32971 # CONFIG_FILE
32972 #
32973
32974 case $INSTALL in
32975 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
32976 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
32977 esac
32978 ac_MKDIR_P=$MKDIR_P
32979 case $MKDIR_P in
32980 [\\/$]* | ?:[\\/]* ) ;;
32981 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
32982 esac
32983 _ACEOF
32984
32985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32986 # If the template does not know about datarootdir, expand it.
32987 # FIXME: This hack should be removed a few years after 2.60.
32988 ac_datarootdir_hack=; ac_datarootdir_seen=
32989 ac_sed_dataroot='
32990 /datarootdir/ {
32991 p
32992 q
32993 }
32994 /@datadir@/p
32995 /@docdir@/p
32996 /@infodir@/p
32997 /@localedir@/p
32998 /@mandir@/p'
32999 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33000 *datarootdir*) ac_datarootdir_seen=yes;;
33001 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33003 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33004 _ACEOF
33005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33006 ac_datarootdir_hack='
33007 s&@datadir@&$datadir&g
33008 s&@docdir@&$docdir&g
33009 s&@infodir@&$infodir&g
33010 s&@localedir@&$localedir&g
33011 s&@mandir@&$mandir&g
33012 s&\\\${datarootdir}&$datarootdir&g' ;;
33013 esac
33014 _ACEOF
33015
33016 # Neutralize VPATH when `$srcdir' = `.'.
33017 # Shell code in configure.ac might set extrasub.
33018 # FIXME: do we really want to maintain this feature?
33019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33020 ac_sed_extra="$ac_vpsub
33021 $extrasub
33022 _ACEOF
33023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33024 :t
33025 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33026 s|@configure_input@|$ac_sed_conf_input|;t t
33027 s&@top_builddir@&$ac_top_builddir_sub&;t t
33028 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33029 s&@srcdir@&$ac_srcdir&;t t
33030 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33031 s&@top_srcdir@&$ac_top_srcdir&;t t
33032 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33033 s&@builddir@&$ac_builddir&;t t
33034 s&@abs_builddir@&$ac_abs_builddir&;t t
33035 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33036 s&@INSTALL@&$ac_INSTALL&;t t
33037 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33038 $ac_datarootdir_hack
33039 "
33040 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33041 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33042
33043 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33044 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33045 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33046 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33048 which seems to be undefined. Please make sure it is defined" >&5
33049 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33050 which seems to be undefined. Please make sure it is defined" >&2;}
33051
33052 rm -f "$ac_tmp/stdin"
33053 case $ac_file in
33054 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33055 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33056 esac \
33057 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33058 ;;
33059 :H)
33060 #
33061 # CONFIG_HEADER
33062 #
33063 if test x"$ac_file" != x-; then
33064 {
33065 $as_echo "/* $configure_input */" \
33066 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33067 } >"$ac_tmp/config.h" \
33068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33069 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33070 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33071 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33072 else
33073 rm -f "$ac_file"
33074 mv "$ac_tmp/config.h" "$ac_file" \
33075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33076 fi
33077 else
33078 $as_echo "/* $configure_input */" \
33079 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33080 || as_fn_error $? "could not create -" "$LINENO" 5
33081 fi
33082 # Compute "$ac_file"'s index in $config_headers.
33083 _am_arg="$ac_file"
33084 _am_stamp_count=1
33085 for _am_header in $config_headers :; do
33086 case $_am_header in
33087 $_am_arg | $_am_arg:* )
33088 break ;;
33089 * )
33090 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33091 esac
33092 done
33093 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33094 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33095 X"$_am_arg" : 'X\(//\)[^/]' \| \
33096 X"$_am_arg" : 'X\(//\)$' \| \
33097 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33098 $as_echo X"$_am_arg" |
33099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33100 s//\1/
33101 q
33102 }
33103 /^X\(\/\/\)[^/].*/{
33104 s//\1/
33105 q
33106 }
33107 /^X\(\/\/\)$/{
33108 s//\1/
33109 q
33110 }
33111 /^X\(\/\).*/{
33112 s//\1/
33113 q
33114 }
33115 s/.*/./; q'`/stamp-h$_am_stamp_count
33116 ;;
33117
33118 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33119 $as_echo "$as_me: executing $ac_file commands" >&6;}
33120 ;;
33121 esac
33122
33123
33124 case $ac_file$ac_mode in
33125 "default-1":C)
33126 # Only add multilib support code if we just rebuilt the top-level
33127 # Makefile.
33128 case " $CONFIG_FILES " in
33129 *" Makefile "*)
33130 ac_file=Makefile . ${multi_basedir}/config-ml.in
33131 ;;
33132 esac ;;
33133 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33134 # Older Autoconf quotes --file arguments for eval, but not when files
33135 # are listed without --file. Let's play safe and only enable the eval
33136 # if we detect the quoting.
33137 case $CONFIG_FILES in
33138 *\'*) eval set x "$CONFIG_FILES" ;;
33139 *) set x $CONFIG_FILES ;;
33140 esac
33141 shift
33142 for mf
33143 do
33144 # Strip MF so we end up with the name of the file.
33145 mf=`echo "$mf" | sed -e 's/:.*$//'`
33146 # Check whether this is an Automake generated Makefile or not.
33147 # We used to match only the files named 'Makefile.in', but
33148 # some people rename them; so instead we look at the file content.
33149 # Grep'ing the first line is not enough: some people post-process
33150 # each Makefile.in and add a new line on top of each file to say so.
33151 # Grep'ing the whole file is not good either: AIX grep has a line
33152 # limit of 2048, but all sed's we know have understand at least 4000.
33153 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33154 dirpart=`$as_dirname -- "$mf" ||
33155 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33156 X"$mf" : 'X\(//\)[^/]' \| \
33157 X"$mf" : 'X\(//\)$' \| \
33158 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33159 $as_echo X"$mf" |
33160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33161 s//\1/
33162 q
33163 }
33164 /^X\(\/\/\)[^/].*/{
33165 s//\1/
33166 q
33167 }
33168 /^X\(\/\/\)$/{
33169 s//\1/
33170 q
33171 }
33172 /^X\(\/\).*/{
33173 s//\1/
33174 q
33175 }
33176 s/.*/./; q'`
33177 else
33178 continue
33179 fi
33180 # Extract the definition of DEPDIR, am__include, and am__quote
33181 # from the Makefile without running 'make'.
33182 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33183 test -z "$DEPDIR" && continue
33184 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33185 test -z "$am__include" && continue
33186 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33187 # Find all dependency output files, they are included files with
33188 # $(DEPDIR) in their names. We invoke sed twice because it is the
33189 # simplest approach to changing $(DEPDIR) to its actual value in the
33190 # expansion.
33191 for file in `sed -n "
33192 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33193 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33194 # Make sure the directory exists.
33195 test -f "$dirpart/$file" && continue
33196 fdir=`$as_dirname -- "$file" ||
33197 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33198 X"$file" : 'X\(//\)[^/]' \| \
33199 X"$file" : 'X\(//\)$' \| \
33200 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33201 $as_echo X"$file" |
33202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33203 s//\1/
33204 q
33205 }
33206 /^X\(\/\/\)[^/].*/{
33207 s//\1/
33208 q
33209 }
33210 /^X\(\/\/\)$/{
33211 s//\1/
33212 q
33213 }
33214 /^X\(\/\).*/{
33215 s//\1/
33216 q
33217 }
33218 s/.*/./; q'`
33219 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33220 # echo "creating $dirpart/$file"
33221 echo '# dummy' > "$dirpart/$file"
33222 done
33223 done
33224 }
33225 ;;
33226 "libtool":C)
33227
33228 # See if we are running on zsh, and set the options which allow our
33229 # commands through without removal of \ escapes.
33230 if test -n "${ZSH_VERSION+set}" ; then
33231 setopt NO_GLOB_SUBST
33232 fi
33233
33234 cfgfile="${ofile}T"
33235 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33236 $RM "$cfgfile"
33237
33238 cat <<_LT_EOF >> "$cfgfile"
33239 #! $SHELL
33240
33241 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33242 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33243 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33244 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33245 #
33246 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33247 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33248 # Written by Gordon Matzigkeit, 1996
33249 #
33250 # This file is part of GNU Libtool.
33251 #
33252 # GNU Libtool is free software; you can redistribute it and/or
33253 # modify it under the terms of the GNU General Public License as
33254 # published by the Free Software Foundation; either version 2 of
33255 # the License, or (at your option) any later version.
33256 #
33257 # As a special exception to the GNU General Public License,
33258 # if you distribute this file as part of a program or library that
33259 # is built using GNU Libtool, you may include this file under the
33260 # same distribution terms that you use for the rest of that program.
33261 #
33262 # GNU Libtool is distributed in the hope that it will be useful,
33263 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33264 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33265 # GNU General Public License for more details.
33266 #
33267 # You should have received a copy of the GNU General Public License
33268 # along with GNU Libtool; see the file COPYING. If not, a copy
33269 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33270 # obtained by writing to the Free Software Foundation, Inc.,
33271 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33272
33273
33274 # The names of the tagged configurations supported by this script.
33275 available_tags="FC "
33276
33277 # ### BEGIN LIBTOOL CONFIG
33278
33279 # A sed program that does not truncate output.
33280 SED=$lt_SED
33281
33282 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33283 Xsed="\$SED -e 1s/^X//"
33284
33285 # A grep program that handles long lines.
33286 GREP=$lt_GREP
33287
33288 # An ERE matcher.
33289 EGREP=$lt_EGREP
33290
33291 # A literal string matcher.
33292 FGREP=$lt_FGREP
33293
33294 # Shell to use when invoking shell scripts.
33295 SHELL=$lt_SHELL
33296
33297 # An echo program that protects backslashes.
33298 ECHO=$lt_ECHO
33299
33300 # Which release of libtool.m4 was used?
33301 macro_version=$macro_version
33302 macro_revision=$macro_revision
33303
33304 # Whether or not to build shared libraries.
33305 build_libtool_libs=$enable_shared
33306
33307 # Whether or not to build static libraries.
33308 build_old_libs=$enable_static
33309
33310 # What type of objects to build.
33311 pic_mode=$pic_mode
33312
33313 # Whether or not to optimize for fast installation.
33314 fast_install=$enable_fast_install
33315
33316 # The host system.
33317 host_alias=$host_alias
33318 host=$host
33319 host_os=$host_os
33320
33321 # The build system.
33322 build_alias=$build_alias
33323 build=$build
33324 build_os=$build_os
33325
33326 # A BSD- or MS-compatible name lister.
33327 NM=$lt_NM
33328
33329 # Whether we need soft or hard links.
33330 LN_S=$lt_LN_S
33331
33332 # What is the maximum length of a command?
33333 max_cmd_len=$max_cmd_len
33334
33335 # Object file suffix (normally "o").
33336 objext=$ac_objext
33337
33338 # Executable file suffix (normally "").
33339 exeext=$exeext
33340
33341 # whether the shell understands "unset".
33342 lt_unset=$lt_unset
33343
33344 # turn spaces into newlines.
33345 SP2NL=$lt_lt_SP2NL
33346
33347 # turn newlines into spaces.
33348 NL2SP=$lt_lt_NL2SP
33349
33350 # An object symbol dumper.
33351 OBJDUMP=$lt_OBJDUMP
33352
33353 # Method to check whether dependent libraries are shared objects.
33354 deplibs_check_method=$lt_deplibs_check_method
33355
33356 # Command to use when deplibs_check_method == "file_magic".
33357 file_magic_cmd=$lt_file_magic_cmd
33358
33359 # The archiver.
33360 AR=$lt_AR
33361 AR_FLAGS=$lt_AR_FLAGS
33362
33363 # A symbol stripping program.
33364 STRIP=$lt_STRIP
33365
33366 # Commands used to install an old-style archive.
33367 RANLIB=$lt_RANLIB
33368 old_postinstall_cmds=$lt_old_postinstall_cmds
33369 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33370
33371 # Whether to use a lock for old archive extraction.
33372 lock_old_archive_extraction=$lock_old_archive_extraction
33373
33374 # A C compiler.
33375 LTCC=$lt_CC
33376
33377 # LTCC compiler flags.
33378 LTCFLAGS=$lt_CFLAGS
33379
33380 # Take the output of nm and produce a listing of raw symbols and C names.
33381 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33382
33383 # Transform the output of nm in a proper C declaration.
33384 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33385
33386 # Transform the output of nm in a C name address pair.
33387 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33388
33389 # Transform the output of nm in a C name address pair when lib prefix is needed.
33390 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33391
33392 # The name of the directory that contains temporary libtool files.
33393 objdir=$objdir
33394
33395 # Used to examine libraries when file_magic_cmd begins with "file".
33396 MAGIC_CMD=$MAGIC_CMD
33397
33398 # Must we lock files when doing compilation?
33399 need_locks=$lt_need_locks
33400
33401 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33402 DSYMUTIL=$lt_DSYMUTIL
33403
33404 # Tool to change global to local symbols on Mac OS X.
33405 NMEDIT=$lt_NMEDIT
33406
33407 # Tool to manipulate fat objects and archives on Mac OS X.
33408 LIPO=$lt_LIPO
33409
33410 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33411 OTOOL=$lt_OTOOL
33412
33413 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33414 OTOOL64=$lt_OTOOL64
33415
33416 # Old archive suffix (normally "a").
33417 libext=$libext
33418
33419 # Shared library suffix (normally ".so").
33420 shrext_cmds=$lt_shrext_cmds
33421
33422 # The commands to extract the exported symbol list from a shared archive.
33423 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33424
33425 # Variables whose values should be saved in libtool wrapper scripts and
33426 # restored at link time.
33427 variables_saved_for_relink=$lt_variables_saved_for_relink
33428
33429 # Do we need the "lib" prefix for modules?
33430 need_lib_prefix=$need_lib_prefix
33431
33432 # Do we need a version for libraries?
33433 need_version=$need_version
33434
33435 # Library versioning type.
33436 version_type=$version_type
33437
33438 # Shared library runtime path variable.
33439 runpath_var=$runpath_var
33440
33441 # Shared library path variable.
33442 shlibpath_var=$shlibpath_var
33443
33444 # Is shlibpath searched before the hard-coded library search path?
33445 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33446
33447 # Format of library name prefix.
33448 libname_spec=$lt_libname_spec
33449
33450 # List of archive names. First name is the real one, the rest are links.
33451 # The last name is the one that the linker finds with -lNAME
33452 library_names_spec=$lt_library_names_spec
33453
33454 # The coded name of the library, if different from the real name.
33455 soname_spec=$lt_soname_spec
33456
33457 # Permission mode override for installation of shared libraries.
33458 install_override_mode=$lt_install_override_mode
33459
33460 # Command to use after installation of a shared archive.
33461 postinstall_cmds=$lt_postinstall_cmds
33462
33463 # Command to use after uninstallation of a shared archive.
33464 postuninstall_cmds=$lt_postuninstall_cmds
33465
33466 # Commands used to finish a libtool library installation in a directory.
33467 finish_cmds=$lt_finish_cmds
33468
33469 # As "finish_cmds", except a single script fragment to be evaled but
33470 # not shown.
33471 finish_eval=$lt_finish_eval
33472
33473 # Whether we should hardcode library paths into libraries.
33474 hardcode_into_libs=$hardcode_into_libs
33475
33476 # Compile-time system search path for libraries.
33477 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33478
33479 # Run-time system search path for libraries.
33480 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33481
33482 # Whether dlopen is supported.
33483 dlopen_support=$enable_dlopen
33484
33485 # Whether dlopen of programs is supported.
33486 dlopen_self=$enable_dlopen_self
33487
33488 # Whether dlopen of statically linked programs is supported.
33489 dlopen_self_static=$enable_dlopen_self_static
33490
33491 # Commands to strip libraries.
33492 old_striplib=$lt_old_striplib
33493 striplib=$lt_striplib
33494
33495
33496 # The linker used to build libraries.
33497 LD=$lt_LD
33498
33499 # How to create reloadable object files.
33500 reload_flag=$lt_reload_flag
33501 reload_cmds=$lt_reload_cmds
33502
33503 # Commands used to build an old-style archive.
33504 old_archive_cmds=$lt_old_archive_cmds
33505
33506 # A language specific compiler.
33507 CC=$lt_compiler
33508
33509 # Is the compiler the GNU compiler?
33510 with_gcc=$GCC
33511
33512 # Compiler flag to turn off builtin functions.
33513 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33514
33515 # How to pass a linker flag through the compiler.
33516 wl=$lt_lt_prog_compiler_wl
33517
33518 # Additional compiler flags for building library objects.
33519 pic_flag=$lt_lt_prog_compiler_pic
33520
33521 # Compiler flag to prevent dynamic linking.
33522 link_static_flag=$lt_lt_prog_compiler_static
33523
33524 # Does compiler simultaneously support -c and -o options?
33525 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33526
33527 # Whether or not to add -lc for building shared libraries.
33528 build_libtool_need_lc=$archive_cmds_need_lc
33529
33530 # Whether or not to disallow shared libs when runtime libs are static.
33531 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33532
33533 # Compiler flag to allow reflexive dlopens.
33534 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33535
33536 # Compiler flag to generate shared objects directly from archives.
33537 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33538
33539 # Whether the compiler copes with passing no objects directly.
33540 compiler_needs_object=$lt_compiler_needs_object
33541
33542 # Create an old-style archive from a shared archive.
33543 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33544
33545 # Create a temporary old-style archive to link instead of a shared archive.
33546 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33547
33548 # Commands used to build a shared archive.
33549 archive_cmds=$lt_archive_cmds
33550 archive_expsym_cmds=$lt_archive_expsym_cmds
33551
33552 # Commands used to build a loadable module if different from building
33553 # a shared archive.
33554 module_cmds=$lt_module_cmds
33555 module_expsym_cmds=$lt_module_expsym_cmds
33556
33557 # Whether we are building with GNU ld or not.
33558 with_gnu_ld=$lt_with_gnu_ld
33559
33560 # Flag that allows shared libraries with undefined symbols to be built.
33561 allow_undefined_flag=$lt_allow_undefined_flag
33562
33563 # Flag that enforces no undefined symbols.
33564 no_undefined_flag=$lt_no_undefined_flag
33565
33566 # Flag to hardcode \$libdir into a binary during linking.
33567 # This must work even if \$libdir does not exist
33568 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33569
33570 # If ld is used when linking, flag to hardcode \$libdir into a binary
33571 # during linking. This must work even if \$libdir does not exist.
33572 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33573
33574 # Whether we need a single "-rpath" flag with a separated argument.
33575 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33576
33577 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33578 # DIR into the resulting binary.
33579 hardcode_direct=$hardcode_direct
33580
33581 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33582 # DIR into the resulting binary and the resulting library dependency is
33583 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33584 # library is relocated.
33585 hardcode_direct_absolute=$hardcode_direct_absolute
33586
33587 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33588 # into the resulting binary.
33589 hardcode_minus_L=$hardcode_minus_L
33590
33591 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33592 # into the resulting binary.
33593 hardcode_shlibpath_var=$hardcode_shlibpath_var
33594
33595 # Set to "yes" if building a shared library automatically hardcodes DIR
33596 # into the library and all subsequent libraries and executables linked
33597 # against it.
33598 hardcode_automatic=$hardcode_automatic
33599
33600 # Set to yes if linker adds runtime paths of dependent libraries
33601 # to runtime path list.
33602 inherit_rpath=$inherit_rpath
33603
33604 # Whether libtool must link a program against all its dependency libraries.
33605 link_all_deplibs=$link_all_deplibs
33606
33607 # Fix the shell variable \$srcfile for the compiler.
33608 fix_srcfile_path=$lt_fix_srcfile_path
33609
33610 # Set to "yes" if exported symbols are required.
33611 always_export_symbols=$always_export_symbols
33612
33613 # The commands to list exported symbols.
33614 export_symbols_cmds=$lt_export_symbols_cmds
33615
33616 # Symbols that should not be listed in the preloaded symbols.
33617 exclude_expsyms=$lt_exclude_expsyms
33618
33619 # Symbols that must always be exported.
33620 include_expsyms=$lt_include_expsyms
33621
33622 # Commands necessary for linking programs (against libraries) with templates.
33623 prelink_cmds=$lt_prelink_cmds
33624
33625 # Specify filename containing input files.
33626 file_list_spec=$lt_file_list_spec
33627
33628 # How to hardcode a shared library path into an executable.
33629 hardcode_action=$hardcode_action
33630
33631 # The directories searched by this compiler when creating a shared library.
33632 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33633
33634 # Dependencies to place before and after the objects being linked to
33635 # create a shared library.
33636 predep_objects=$lt_predep_objects
33637 postdep_objects=$lt_postdep_objects
33638 predeps=$lt_predeps
33639 postdeps=$lt_postdeps
33640
33641 # The library search path used internally by the compiler when linking
33642 # a shared library.
33643 compiler_lib_search_path=$lt_compiler_lib_search_path
33644
33645 # ### END LIBTOOL CONFIG
33646
33647 _LT_EOF
33648
33649 case $host_os in
33650 aix3*)
33651 cat <<\_LT_EOF >> "$cfgfile"
33652 # AIX sometimes has problems with the GCC collect2 program. For some
33653 # reason, if we set the COLLECT_NAMES environment variable, the problems
33654 # vanish in a puff of smoke.
33655 if test "X${COLLECT_NAMES+set}" != Xset; then
33656 COLLECT_NAMES=
33657 export COLLECT_NAMES
33658 fi
33659 _LT_EOF
33660 ;;
33661 esac
33662
33663
33664 ltmain="$ac_aux_dir/ltmain.sh"
33665
33666
33667 # We use sed instead of cat because bash on DJGPP gets confused if
33668 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33669 # text mode, it properly converts lines to CR/LF. This bash problem
33670 # is reportedly fixed, but why not run on old versions too?
33671 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33672 || (rm -f "$cfgfile"; exit 1)
33673
33674 case $xsi_shell in
33675 yes)
33676 cat << \_LT_EOF >> "$cfgfile"
33677
33678 # func_dirname file append nondir_replacement
33679 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33680 # otherwise set result to NONDIR_REPLACEMENT.
33681 func_dirname ()
33682 {
33683 case ${1} in
33684 */*) func_dirname_result="${1%/*}${2}" ;;
33685 * ) func_dirname_result="${3}" ;;
33686 esac
33687 }
33688
33689 # func_basename file
33690 func_basename ()
33691 {
33692 func_basename_result="${1##*/}"
33693 }
33694
33695 # func_dirname_and_basename file append nondir_replacement
33696 # perform func_basename and func_dirname in a single function
33697 # call:
33698 # dirname: Compute the dirname of FILE. If nonempty,
33699 # add APPEND to the result, otherwise set result
33700 # to NONDIR_REPLACEMENT.
33701 # value returned in "$func_dirname_result"
33702 # basename: Compute filename of FILE.
33703 # value retuned in "$func_basename_result"
33704 # Implementation must be kept synchronized with func_dirname
33705 # and func_basename. For efficiency, we do not delegate to
33706 # those functions but instead duplicate the functionality here.
33707 func_dirname_and_basename ()
33708 {
33709 case ${1} in
33710 */*) func_dirname_result="${1%/*}${2}" ;;
33711 * ) func_dirname_result="${3}" ;;
33712 esac
33713 func_basename_result="${1##*/}"
33714 }
33715
33716 # func_stripname prefix suffix name
33717 # strip PREFIX and SUFFIX off of NAME.
33718 # PREFIX and SUFFIX must not contain globbing or regex special
33719 # characters, hashes, percent signs, but SUFFIX may contain a leading
33720 # dot (in which case that matches only a dot).
33721 func_stripname ()
33722 {
33723 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33724 # positional parameters, so assign one to ordinary parameter first.
33725 func_stripname_result=${3}
33726 func_stripname_result=${func_stripname_result#"${1}"}
33727 func_stripname_result=${func_stripname_result%"${2}"}
33728 }
33729
33730 # func_opt_split
33731 func_opt_split ()
33732 {
33733 func_opt_split_opt=${1%%=*}
33734 func_opt_split_arg=${1#*=}
33735 }
33736
33737 # func_lo2o object
33738 func_lo2o ()
33739 {
33740 case ${1} in
33741 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33742 *) func_lo2o_result=${1} ;;
33743 esac
33744 }
33745
33746 # func_xform libobj-or-source
33747 func_xform ()
33748 {
33749 func_xform_result=${1%.*}.lo
33750 }
33751
33752 # func_arith arithmetic-term...
33753 func_arith ()
33754 {
33755 func_arith_result=$(( $* ))
33756 }
33757
33758 # func_len string
33759 # STRING may not start with a hyphen.
33760 func_len ()
33761 {
33762 func_len_result=${#1}
33763 }
33764
33765 _LT_EOF
33766 ;;
33767 *) # Bourne compatible functions.
33768 cat << \_LT_EOF >> "$cfgfile"
33769
33770 # func_dirname file append nondir_replacement
33771 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33772 # otherwise set result to NONDIR_REPLACEMENT.
33773 func_dirname ()
33774 {
33775 # Extract subdirectory from the argument.
33776 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
33777 if test "X$func_dirname_result" = "X${1}"; then
33778 func_dirname_result="${3}"
33779 else
33780 func_dirname_result="$func_dirname_result${2}"
33781 fi
33782 }
33783
33784 # func_basename file
33785 func_basename ()
33786 {
33787 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
33788 }
33789
33790
33791 # func_stripname prefix suffix name
33792 # strip PREFIX and SUFFIX off of NAME.
33793 # PREFIX and SUFFIX must not contain globbing or regex special
33794 # characters, hashes, percent signs, but SUFFIX may contain a leading
33795 # dot (in which case that matches only a dot).
33796 # func_strip_suffix prefix name
33797 func_stripname ()
33798 {
33799 case ${2} in
33800 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33801 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33802 esac
33803 }
33804
33805 # sed scripts:
33806 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33807 my_sed_long_arg='1s/^-[^=]*=//'
33808
33809 # func_opt_split
33810 func_opt_split ()
33811 {
33812 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33813 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33814 }
33815
33816 # func_lo2o object
33817 func_lo2o ()
33818 {
33819 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
33820 }
33821
33822 # func_xform libobj-or-source
33823 func_xform ()
33824 {
33825 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33826 }
33827
33828 # func_arith arithmetic-term...
33829 func_arith ()
33830 {
33831 func_arith_result=`expr "$@"`
33832 }
33833
33834 # func_len string
33835 # STRING may not start with a hyphen.
33836 func_len ()
33837 {
33838 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33839 }
33840
33841 _LT_EOF
33842 esac
33843
33844 case $lt_shell_append in
33845 yes)
33846 cat << \_LT_EOF >> "$cfgfile"
33847
33848 # func_append var value
33849 # Append VALUE to the end of shell variable VAR.
33850 func_append ()
33851 {
33852 eval "$1+=\$2"
33853 }
33854 _LT_EOF
33855 ;;
33856 *)
33857 cat << \_LT_EOF >> "$cfgfile"
33858
33859 # func_append var value
33860 # Append VALUE to the end of shell variable VAR.
33861 func_append ()
33862 {
33863 eval "$1=\$$1\$2"
33864 }
33865
33866 _LT_EOF
33867 ;;
33868 esac
33869
33870
33871 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33872 || (rm -f "$cfgfile"; exit 1)
33873
33874 mv -f "$cfgfile" "$ofile" ||
33875 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33876 chmod +x "$ofile"
33877
33878
33879 cat <<_LT_EOF >> "$ofile"
33880
33881 # ### BEGIN LIBTOOL TAG CONFIG: FC
33882
33883 # The linker used to build libraries.
33884 LD=$lt_LD_FC
33885
33886 # How to create reloadable object files.
33887 reload_flag=$lt_reload_flag_FC
33888 reload_cmds=$lt_reload_cmds_FC
33889
33890 # Commands used to build an old-style archive.
33891 old_archive_cmds=$lt_old_archive_cmds_FC
33892
33893 # A language specific compiler.
33894 CC=$lt_compiler_FC
33895
33896 # Is the compiler the GNU compiler?
33897 with_gcc=$GCC_FC
33898
33899 # Compiler flag to turn off builtin functions.
33900 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33901
33902 # How to pass a linker flag through the compiler.
33903 wl=$lt_lt_prog_compiler_wl_FC
33904
33905 # Additional compiler flags for building library objects.
33906 pic_flag=$lt_lt_prog_compiler_pic_FC
33907
33908 # Compiler flag to prevent dynamic linking.
33909 link_static_flag=$lt_lt_prog_compiler_static_FC
33910
33911 # Does compiler simultaneously support -c and -o options?
33912 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33913
33914 # Whether or not to add -lc for building shared libraries.
33915 build_libtool_need_lc=$archive_cmds_need_lc_FC
33916
33917 # Whether or not to disallow shared libs when runtime libs are static.
33918 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33919
33920 # Compiler flag to allow reflexive dlopens.
33921 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
33922
33923 # Compiler flag to generate shared objects directly from archives.
33924 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
33925
33926 # Whether the compiler copes with passing no objects directly.
33927 compiler_needs_object=$lt_compiler_needs_object_FC
33928
33929 # Create an old-style archive from a shared archive.
33930 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
33931
33932 # Create a temporary old-style archive to link instead of a shared archive.
33933 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
33934
33935 # Commands used to build a shared archive.
33936 archive_cmds=$lt_archive_cmds_FC
33937 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
33938
33939 # Commands used to build a loadable module if different from building
33940 # a shared archive.
33941 module_cmds=$lt_module_cmds_FC
33942 module_expsym_cmds=$lt_module_expsym_cmds_FC
33943
33944 # Whether we are building with GNU ld or not.
33945 with_gnu_ld=$lt_with_gnu_ld_FC
33946
33947 # Flag that allows shared libraries with undefined symbols to be built.
33948 allow_undefined_flag=$lt_allow_undefined_flag_FC
33949
33950 # Flag that enforces no undefined symbols.
33951 no_undefined_flag=$lt_no_undefined_flag_FC
33952
33953 # Flag to hardcode \$libdir into a binary during linking.
33954 # This must work even if \$libdir does not exist
33955 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
33956
33957 # If ld is used when linking, flag to hardcode \$libdir into a binary
33958 # during linking. This must work even if \$libdir does not exist.
33959 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
33960
33961 # Whether we need a single "-rpath" flag with a separated argument.
33962 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
33963
33964 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33965 # DIR into the resulting binary.
33966 hardcode_direct=$hardcode_direct_FC
33967
33968 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33969 # DIR into the resulting binary and the resulting library dependency is
33970 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33971 # library is relocated.
33972 hardcode_direct_absolute=$hardcode_direct_absolute_FC
33973
33974 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33975 # into the resulting binary.
33976 hardcode_minus_L=$hardcode_minus_L_FC
33977
33978 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33979 # into the resulting binary.
33980 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
33981
33982 # Set to "yes" if building a shared library automatically hardcodes DIR
33983 # into the library and all subsequent libraries and executables linked
33984 # against it.
33985 hardcode_automatic=$hardcode_automatic_FC
33986
33987 # Set to yes if linker adds runtime paths of dependent libraries
33988 # to runtime path list.
33989 inherit_rpath=$inherit_rpath_FC
33990
33991 # Whether libtool must link a program against all its dependency libraries.
33992 link_all_deplibs=$link_all_deplibs_FC
33993
33994 # Fix the shell variable \$srcfile for the compiler.
33995 fix_srcfile_path=$lt_fix_srcfile_path_FC
33996
33997 # Set to "yes" if exported symbols are required.
33998 always_export_symbols=$always_export_symbols_FC
33999
34000 # The commands to list exported symbols.
34001 export_symbols_cmds=$lt_export_symbols_cmds_FC
34002
34003 # Symbols that should not be listed in the preloaded symbols.
34004 exclude_expsyms=$lt_exclude_expsyms_FC
34005
34006 # Symbols that must always be exported.
34007 include_expsyms=$lt_include_expsyms_FC
34008
34009 # Commands necessary for linking programs (against libraries) with templates.
34010 prelink_cmds=$lt_prelink_cmds_FC
34011
34012 # Specify filename containing input files.
34013 file_list_spec=$lt_file_list_spec_FC
34014
34015 # How to hardcode a shared library path into an executable.
34016 hardcode_action=$hardcode_action_FC
34017
34018 # The directories searched by this compiler when creating a shared library.
34019 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34020
34021 # Dependencies to place before and after the objects being linked to
34022 # create a shared library.
34023 predep_objects=$lt_predep_objects_FC
34024 postdep_objects=$lt_postdep_objects_FC
34025 predeps=$lt_predeps_FC
34026 postdeps=$lt_postdeps_FC
34027
34028 # The library search path used internally by the compiler when linking
34029 # a shared library.
34030 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34031
34032 # ### END LIBTOOL TAG CONFIG: FC
34033 _LT_EOF
34034
34035 ;;
34036 "gstdint.h":C)
34037 if test "$GCC" = yes; then
34038 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34039 else
34040 echo "/* generated for $CC */" > tmp-stdint.h
34041 fi
34042
34043 sed 's/^ *//' >> tmp-stdint.h <<EOF
34044
34045 #ifndef GCC_GENERATED_STDINT_H
34046 #define GCC_GENERATED_STDINT_H 1
34047
34048 #include <sys/types.h>
34049 EOF
34050
34051 if test "$acx_cv_header_stdint" != stdint.h; then
34052 echo "#include <stddef.h>" >> tmp-stdint.h
34053 fi
34054 if test "$acx_cv_header_stdint" != stddef.h; then
34055 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34056 fi
34057
34058 sed 's/^ *//' >> tmp-stdint.h <<EOF
34059 /* glibc uses these symbols as guards to prevent redefinitions. */
34060 #ifdef __int8_t_defined
34061 #define _INT8_T
34062 #define _INT16_T
34063 #define _INT32_T
34064 #endif
34065 #ifdef __uint32_t_defined
34066 #define _UINT32_T
34067 #endif
34068
34069 EOF
34070
34071 # ----------------- done header, emit basic int types -------------
34072 if test "$acx_cv_header_stdint" = stddef.h; then
34073 sed 's/^ *//' >> tmp-stdint.h <<EOF
34074
34075 #ifndef _UINT8_T
34076 #define _UINT8_T
34077 #ifndef __uint8_t_defined
34078 #define __uint8_t_defined
34079 #ifndef uint8_t
34080 typedef unsigned $acx_cv_type_int8_t uint8_t;
34081 #endif
34082 #endif
34083 #endif
34084
34085 #ifndef _UINT16_T
34086 #define _UINT16_T
34087 #ifndef __uint16_t_defined
34088 #define __uint16_t_defined
34089 #ifndef uint16_t
34090 typedef unsigned $acx_cv_type_int16_t uint16_t;
34091 #endif
34092 #endif
34093 #endif
34094
34095 #ifndef _UINT32_T
34096 #define _UINT32_T
34097 #ifndef __uint32_t_defined
34098 #define __uint32_t_defined
34099 #ifndef uint32_t
34100 typedef unsigned $acx_cv_type_int32_t uint32_t;
34101 #endif
34102 #endif
34103 #endif
34104
34105 #ifndef _INT8_T
34106 #define _INT8_T
34107 #ifndef __int8_t_defined
34108 #define __int8_t_defined
34109 #ifndef int8_t
34110 typedef $acx_cv_type_int8_t int8_t;
34111 #endif
34112 #endif
34113 #endif
34114
34115 #ifndef _INT16_T
34116 #define _INT16_T
34117 #ifndef __int16_t_defined
34118 #define __int16_t_defined
34119 #ifndef int16_t
34120 typedef $acx_cv_type_int16_t int16_t;
34121 #endif
34122 #endif
34123 #endif
34124
34125 #ifndef _INT32_T
34126 #define _INT32_T
34127 #ifndef __int32_t_defined
34128 #define __int32_t_defined
34129 #ifndef int32_t
34130 typedef $acx_cv_type_int32_t int32_t;
34131 #endif
34132 #endif
34133 #endif
34134 EOF
34135 elif test "$ac_cv_type_u_int32_t" = yes; then
34136 sed 's/^ *//' >> tmp-stdint.h <<EOF
34137
34138 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34139 #ifndef _INT8_T
34140 #define _INT8_T
34141 #endif
34142 #ifndef _INT16_T
34143 #define _INT16_T
34144 #endif
34145 #ifndef _INT32_T
34146 #define _INT32_T
34147 #endif
34148
34149 #ifndef _UINT8_T
34150 #define _UINT8_T
34151 #ifndef __uint8_t_defined
34152 #define __uint8_t_defined
34153 #ifndef uint8_t
34154 typedef u_int8_t uint8_t;
34155 #endif
34156 #endif
34157 #endif
34158
34159 #ifndef _UINT16_T
34160 #define _UINT16_T
34161 #ifndef __uint16_t_defined
34162 #define __uint16_t_defined
34163 #ifndef uint16_t
34164 typedef u_int16_t uint16_t;
34165 #endif
34166 #endif
34167 #endif
34168
34169 #ifndef _UINT32_T
34170 #define _UINT32_T
34171 #ifndef __uint32_t_defined
34172 #define __uint32_t_defined
34173 #ifndef uint32_t
34174 typedef u_int32_t uint32_t;
34175 #endif
34176 #endif
34177 #endif
34178 EOF
34179 else
34180 sed 's/^ *//' >> tmp-stdint.h <<EOF
34181
34182 /* Some systems have guard macros to prevent redefinitions, define them. */
34183 #ifndef _INT8_T
34184 #define _INT8_T
34185 #endif
34186 #ifndef _INT16_T
34187 #define _INT16_T
34188 #endif
34189 #ifndef _INT32_T
34190 #define _INT32_T
34191 #endif
34192 #ifndef _UINT8_T
34193 #define _UINT8_T
34194 #endif
34195 #ifndef _UINT16_T
34196 #define _UINT16_T
34197 #endif
34198 #ifndef _UINT32_T
34199 #define _UINT32_T
34200 #endif
34201 EOF
34202 fi
34203
34204 # ------------- done basic int types, emit int64_t types ------------
34205 if test "$ac_cv_type_uint64_t" = yes; then
34206 sed 's/^ *//' >> tmp-stdint.h <<EOF
34207
34208 /* system headers have good uint64_t and int64_t */
34209 #ifndef _INT64_T
34210 #define _INT64_T
34211 #endif
34212 #ifndef _UINT64_T
34213 #define _UINT64_T
34214 #endif
34215 EOF
34216 elif test "$ac_cv_type_u_int64_t" = yes; then
34217 sed 's/^ *//' >> tmp-stdint.h <<EOF
34218
34219 /* system headers have an u_int64_t (and int64_t) */
34220 #ifndef _INT64_T
34221 #define _INT64_T
34222 #endif
34223 #ifndef _UINT64_T
34224 #define _UINT64_T
34225 #ifndef __uint64_t_defined
34226 #define __uint64_t_defined
34227 #ifndef uint64_t
34228 typedef u_int64_t uint64_t;
34229 #endif
34230 #endif
34231 #endif
34232 EOF
34233 elif test -n "$acx_cv_type_int64_t"; then
34234 sed 's/^ *//' >> tmp-stdint.h <<EOF
34235
34236 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34237 #ifndef _INT64_T
34238 #define _INT64_T
34239 #ifndef int64_t
34240 typedef $acx_cv_type_int64_t int64_t;
34241 #endif
34242 #endif
34243 #ifndef _UINT64_T
34244 #define _UINT64_T
34245 #ifndef __uint64_t_defined
34246 #define __uint64_t_defined
34247 #ifndef uint64_t
34248 typedef unsigned $acx_cv_type_int64_t uint64_t;
34249 #endif
34250 #endif
34251 #endif
34252 EOF
34253 else
34254 sed 's/^ *//' >> tmp-stdint.h <<EOF
34255
34256 /* some common heuristics for int64_t, using compiler-specific tests */
34257 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34258 #ifndef _INT64_T
34259 #define _INT64_T
34260 #ifndef __int64_t_defined
34261 #ifndef int64_t
34262 typedef long long int64_t;
34263 #endif
34264 #endif
34265 #endif
34266 #ifndef _UINT64_T
34267 #define _UINT64_T
34268 #ifndef uint64_t
34269 typedef unsigned long long uint64_t;
34270 #endif
34271 #endif
34272
34273 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34274 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34275 does not implement __extension__. But that compiler doesn't define
34276 __GNUC_MINOR__. */
34277 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34278 # define __extension__
34279 # endif
34280
34281 # ifndef _INT64_T
34282 # define _INT64_T
34283 # ifndef int64_t
34284 __extension__ typedef long long int64_t;
34285 # endif
34286 # endif
34287 # ifndef _UINT64_T
34288 # define _UINT64_T
34289 # ifndef uint64_t
34290 __extension__ typedef unsigned long long uint64_t;
34291 # endif
34292 # endif
34293
34294 #elif !defined __STRICT_ANSI__
34295 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34296
34297 # ifndef _INT64_T
34298 # define _INT64_T
34299 # ifndef int64_t
34300 typedef __int64 int64_t;
34301 # endif
34302 # endif
34303 # ifndef _UINT64_T
34304 # define _UINT64_T
34305 # ifndef uint64_t
34306 typedef unsigned __int64 uint64_t;
34307 # endif
34308 # endif
34309 # endif /* compiler */
34310
34311 #endif /* ANSI version */
34312 EOF
34313 fi
34314
34315 # ------------- done int64_t types, emit intptr types ------------
34316 if test "$ac_cv_type_uintptr_t" != yes; then
34317 sed 's/^ *//' >> tmp-stdint.h <<EOF
34318
34319 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34320 #ifndef __uintptr_t_defined
34321 #ifndef uintptr_t
34322 typedef u$acx_cv_type_intptr_t uintptr_t;
34323 #endif
34324 #endif
34325 #ifndef __intptr_t_defined
34326 #ifndef intptr_t
34327 typedef $acx_cv_type_intptr_t intptr_t;
34328 #endif
34329 #endif
34330 EOF
34331 fi
34332
34333 # ------------- done intptr types, emit int_least types ------------
34334 if test "$ac_cv_type_int_least32_t" != yes; then
34335 sed 's/^ *//' >> tmp-stdint.h <<EOF
34336
34337 /* Define int_least types */
34338 typedef int8_t int_least8_t;
34339 typedef int16_t int_least16_t;
34340 typedef int32_t int_least32_t;
34341 #ifdef _INT64_T
34342 typedef int64_t int_least64_t;
34343 #endif
34344
34345 typedef uint8_t uint_least8_t;
34346 typedef uint16_t uint_least16_t;
34347 typedef uint32_t uint_least32_t;
34348 #ifdef _UINT64_T
34349 typedef uint64_t uint_least64_t;
34350 #endif
34351 EOF
34352 fi
34353
34354 # ------------- done intptr types, emit int_fast types ------------
34355 if test "$ac_cv_type_int_fast32_t" != yes; then
34356 sed 's/^ *//' >> tmp-stdint.h <<EOF
34357
34358 /* Define int_fast types. short is often slow */
34359 typedef int8_t int_fast8_t;
34360 typedef int int_fast16_t;
34361 typedef int32_t int_fast32_t;
34362 #ifdef _INT64_T
34363 typedef int64_t int_fast64_t;
34364 #endif
34365
34366 typedef uint8_t uint_fast8_t;
34367 typedef unsigned int uint_fast16_t;
34368 typedef uint32_t uint_fast32_t;
34369 #ifdef _UINT64_T
34370 typedef uint64_t uint_fast64_t;
34371 #endif
34372 EOF
34373 fi
34374
34375 if test "$ac_cv_type_uintmax_t" != yes; then
34376 sed 's/^ *//' >> tmp-stdint.h <<EOF
34377
34378 /* Define intmax based on what we found */
34379 #ifndef intmax_t
34380 #ifdef _INT64_T
34381 typedef int64_t intmax_t;
34382 #else
34383 typedef long intmax_t;
34384 #endif
34385 #endif
34386 #ifndef uintmax_t
34387 #ifdef _UINT64_T
34388 typedef uint64_t uintmax_t;
34389 #else
34390 typedef unsigned long uintmax_t;
34391 #endif
34392 #endif
34393 EOF
34394 fi
34395
34396 sed 's/^ *//' >> tmp-stdint.h <<EOF
34397
34398 #endif /* GCC_GENERATED_STDINT_H */
34399 EOF
34400
34401 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
34402 rm -f tmp-stdint.h
34403 else
34404 mv -f tmp-stdint.h gstdint.h
34405 fi
34406
34407 ;;
34408
34409 esac
34410 done # for ac_tag
34411
34412
34413 as_fn_exit 0
34414 _ACEOF
34415 ac_clean_files=$ac_clean_files_save
34416
34417 test $ac_write_fail = 0 ||
34418 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34419
34420
34421 # configure is writing to config.log, and then calls config.status.
34422 # config.status does its own redirection, appending to config.log.
34423 # Unfortunately, on DOS this fails, as config.log is still kept open
34424 # by configure, so config.status won't be able to write to it; its
34425 # output is simply discarded. So we exec the FD to /dev/null,
34426 # effectively closing config.log, so it can be properly (re)opened and
34427 # appended to by config.status. When coming back to configure, we
34428 # need to make the FD available again.
34429 if test "$no_create" != yes; then
34430 ac_cs_success=:
34431 ac_config_status_args=
34432 test "$silent" = yes &&
34433 ac_config_status_args="$ac_config_status_args --quiet"
34434 exec 5>/dev/null
34435 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34436 exec 5>>config.log
34437 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34438 # would make configure fail if this is the last instruction.
34439 $ac_cs_success || as_fn_exit 1
34440 fi
34441 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34443 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34444 fi
34445
This page took 1.683626 seconds and 6 git commands to generate.